1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/AppPlus-CHDEHPvq.js","assets/ForgotPassword-BqRhIn67.js","assets/Parameter-DD2b9kxf.js","assets/index-CeTPcGzX.js","assets/index-SviPHZzR.css","assets/Parameter-GM3-JXgb.css","assets/useQuery-Dya-hda-.js","assets/Policy-f9gWPn8K.js","assets/Root-DJ5wBsfL.js","assets/useMobile-D8fDk965.js","assets/AppWebsiteV2-ClyCSvQD.js","assets/Support-BHZo4W1C.js","assets/Support-Bdvlxltu.css","assets/types-0x_1vaZr.js","assets/useAudioPosition-CPloxytS.js","assets/sanitizeCss-DDeV3a_4.js","assets/ThemeEditor-WHlrAEfK.js","assets/types-C-48g5o1.js","assets/AppWebsiteV2-CMAjWrZe.css","assets/index-Cu4DO8L0.js","assets/motion-j9FxiGRE.js","assets/Popup-CI8dlaUY.js","assets/installPages-Cna00ltZ.js","assets/Step-C8C3963e.js","assets/TwoFactorBanner-D4WjVwWR.js","assets/AuthUtilsHook-CYZym16x.js","assets/freePlan-6P4u8eWe.js","assets/StripeDataHandler-7dQUdFN5.js","assets/freePlan-DQGcFTjZ.css","assets/ApplicationContext-CgvY33Jd.js","assets/Root-DqH90pPP.css","assets/LoginOAuth2-DxTRCgki.js","assets/Logout-BBWwnCP8.js","assets/ConfirmEmail-DS2DhK6W.js","assets/ParallaxEngine-DMKwpMiL.js","assets/use-transform-n5dcjMB3.js","assets/AudioRecordingPublic-BU_wehFX.js","assets/outputActions-FyfPcXwd.js","assets/PodcastLatestEpisode-CfI7X7Sd.js","assets/imageResize-BSgDhDs_.js","assets/MailingList-DYDdBp4u.js","assets/Playlist-DYoV_nez.js","assets/_commonjs-dynamic-modules-TDtrdbi3.js","assets/ParallaxEngine-Dkf1bfY3.css","assets/Login-BlZwUDEx.js","assets/Login-C2Vy3ThW.css","assets/Signup-CI61Crvw.js","assets/TransactionCompleteMessage-CDZVllLt.js","assets/StripeCheckoutFailure-_M5CpkEM.js","assets/Container-Cx8AwJqT.js","assets/supportConfig-BlIowMX3.js","assets/SupportFromConfig-DiiNQ-fT.js","assets/Tabbed-CIt3vIkV.js","assets/Dashboard-D6aWkt-D.js","assets/useCredentialReports-xrk7mg-r.js","assets/applications-4-Xsf5u6.js","assets/ParameterBuilder-D6MDV4qs.js","assets/index-Bq1GzDBn.js","assets/ace-Dlf-vt7D.js","assets/SelectOptions-CX_-i7or.js","assets/SelectOptions-C4wsj7iT.css","assets/StreamSelectorV2-CMYzFjhf.js","assets/Card-cLjeqwtT.js","assets/ValidationsEditor-9eUU24Dk.js","assets/ParameterBuilder-COngnc8h.css","assets/Dashboard-BQQAX2MJ.js","assets/Dashboard-9OCESHVt.css","assets/AppMenu-BKz22tte.js","assets/Placeholder-BfICVJLU.js","assets/AppMenu-DrqAYQje.css","assets/PlusScriptView-CbHSws3c.js","assets/style-BRPsycUQ.js","assets/style-B5DZHykP.css","assets/StreamTriggerDataHandler-Cs0IsTmf.js","assets/PlusScriptView-BYkh_Wh7.css","assets/Parameter-D-2E5g6H.js","assets/useDebounce-D6bLFlxb.js","assets/Dashboard-B0dPyskg.css","assets/ObjectExplorer-Bl-zkk46.js","assets/SplitPaneLayout-CYe7S9cP.js","assets/SplitPaneLayout-CBDMVGfO.css","assets/ItemActionButtonsRunner-BhCzVyIt.js","assets/SpreadsheetViewer-0aBpyk4X.js","assets/SpreadsheetViewer-DrD078zl.css","assets/ReceiptViewerModal-DXJRO76Y.js","assets/JobViewerModal-CKTjHPHi.js","assets/JobDetailView-BZ4JBm31.js","assets/mode-json-DGKgiNOd.js","assets/mode-text-owca_3Io.js","assets/CustomTemplateModal-Ds-_T8OI.js","assets/mode-css-ZyOVlraq.js","assets/useNavigationBlocker-DIfVhHY3.js","assets/ObjectExplorer-Dqh_35m_.css","assets/Streams-40ciSb3w.js","assets/StreamViewer-DTrl6OAL.js","assets/StreamEChart-xITwTqqn.js","assets/ReactECharts-BtHj0bXP.js","assets/FileViewer-vY3FOqMN.js","assets/Tab-UZsBiH8e.js","assets/JSONViewer-Bu0_hIJH.js","assets/papaparse.min-D6Gm67i-.js","assets/FileViewer-eLp6Tput.css","assets/StreamViewer-CV4P0Y33.css","assets/leaflet-CoeUjYat.js","assets/index-BpoLgcEt.js","assets/leaflet-CIGW-MKW.css","assets/prism-DhdOSkyD.js","assets/toConsumableArray-u9GFSwrg.js","assets/ActionRunnerMain-q0XID2wW.js","assets/ActionInfo-BIM1zBnI.js","assets/vis-network-BHjj1H0E.js","assets/theme-monokai-KobNCr1x.js","assets/YouTube.esm-CeHaenUX.js","assets/Streams-CzacdLoy.css","assets/katex-CT0VjEgY.css","assets/Parallax-B1e3rbLe.js","assets/Parallax-BonPPx5k.css","assets/Tabbed-BHeKG7-j.css","assets/TermsAndConditions-KHRm2a9d.js","assets/AppPlus-DPmjopwO.css","assets/AppPlus-BoBMR0nL.css","assets/AppDashboard-jDO_JDpw.js","assets/PublicDashboard-D9gXor-J.js","assets/AppStore-BMqVZfBp.js","assets/Checkout-DvH4Eagu.js","assets/AppStore-CxQyY5sI.css","assets/AppWebsite-e3LRCs47.js","assets/Slider-CSXdfpaA.js","assets/Slider-Bm3CEarM.css","assets/AudioFileViewer-q2LNITxm.js","assets/AudioFileViewer-Bxl78QV0.css","assets/PodcastEpisodeDetail-DY-xbI_H.js","assets/useVisNetwork-XXF79L9w.js","assets/PodcastEpisodeDetail-CIczT_Id.css","assets/AppWebsite-B2ACa_mx.css","assets/AppRadioactiveMosquito-7cMreJR9.js","assets/SysAdminApp-BiecOwVC.js","assets/SiteConfigurationPane-Bx7Ab4
vendor: 6,750 bytes, lines 1-10
1y4.js","assets/usePrompt-B0EunRfp.js","assets/OptimizerPane-CgzJuXhG.js","assets/AdminEditActionModal-DqdnxGQG.js","assets/OptimizerPane-x-42T9_v.css","assets/CssAiChat-BvsiERFR.js","assets/CssAiChat-CfzP9EfC.css","assets/SiteConfigurationPane-Cfe43_rl.css","assets/CustomCssEditor-BPygWII1.css","assets/SysAdminApp-CYKZuz8C.css"])))=>i.map(i=>d[i]); 2var zB=Object.defineProperty;var jB=(t,e,r)=>e in t?zB(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var dr=(t,e,r)=>jB(t,typeof e!="symbol"?e+"":e,r);function HB(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const s=Object.getOwnPropertyDescriptor(n,i);s&&Object.defineProperty(t,i,s.get?s:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(i){if(i.ep)return;i.ep=!0;const s=r(i);fetch(i.href,s)}})();var Kn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ai(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function vue(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var Px={exports:{}},c1={},Lx={exports:{}},nr={};/** 3 * @license React 4 * react.production.min.js 5 * 6 * Copyright (c) Facebook, Inc. and its affiliates. 7 * 8 * This source code is licensed under the MIT license found in the 9 * LICENSE file in the root directory of this source tree. 10 */var rd=Symbol.for("react.element"),WB=Symbol.for("react.portal"),GB=Symbol.for("react.fragment"),$B=Symbol.for("react.strict_mode"),qB=Symbol.for("react.profiler"),VB=Symbol.for("react.provider"),YB=Symbol.for("react.context"),KB=Symbol.for("react.forward_ref"),XB=Symbol.for("react.suspense"),QB=Symbol.for("react.memo"),JB=Symbol.for("react.lazy"),$5=Symbol.iterator;function ZB(t){return t===null||typeof t!="object"?null:(t=$5&&t[$5]||t["@@iterator"],typeof t=="function"?t:null)}var Bx={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ux=Object.assign,zx={};function W0(t,e,r){this.props=t,this.context=e,this.refs=zx,this.updater=r||Bx}W0.prototype.isReactComponent={};W0.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};W0.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function jx(){}jx.prototype=W0.prototype;function _4(t,e,r){this.props=t,this.context=e,this.refs=zx,this.updater=r||Bx}var y4=_4.prototype=new jx;y4.constructor=_4;Ux(y4,W0.prototype);y4.isPureReactComponent=!0;var q5=Array.isArray,Hx=Object.prototype.hasOwnProperty,v4={current:null},Wx={key:!0,ref:!0,__self:!0,__source:!0};function Gx(t,e,r){var n,i={},s=null,a=null;if(e!=null)for(n in e.ref!==void 0&&(a=e.ref),e.key!==void 0&&(s=""+e.key),e)Hx.call(e,n)&&!Wx.hasOwnProperty(n)&&(i[n]=e[n]);var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){for(var u=Array(l),p=0;p<l;p++)u[p]=arguments[p+2];i.children=u}if(t&&t.defaultProps)for(n in l=t.defaultProps,l)i[n]===void 0&&(i[n]=l[n]);return{$$typeof:rd,type:t,key:s,ref:a,props:i,_owner:v4.current}}function eU(t,e){return{$$typeof:rd,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}function b4(t){return typeof t=="object"&&t!==null&&t.$$typeof===rd}function tU(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var V5=/\/+/g;function Oy(t,e){return typeof t=="object"&&t!==null&&t.key!=null?tU(""+t.key):e.toString(36)}function om(t,e,r,n,i){var s=typeof t;(s==="undefined"||s==="boolean")&&(t=null);var a=!1;if(t===null)a=!0;else switch(s){case"string":case"number":a=!0;break;case"object":switch(t.$$typeof){case rd:case WB:a=!0}}if(a)return a=t,i=i(a),t=n===""?"."+Oy(a,0):n,q5(i)?(r="",t!=null&&(r=t.replace(V5,"$&/")+"/"),om(i,e,r,"",function(p){return p})):i!=null&&(b4(i)&&(i=eU(i,r+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(V5,"$&/")+"/")+t)),e.push(i)),1;if(a=0,n=n===""?".":n+":",q5(t))for(var l=0;l<t.length;l++){s=t[l];var u=n+Oy(s,l);a+=om(s,e,r,u,i)}else if(u=ZB(t),typeof u=="function")for(t=u.call(t),l=0;!(s=t.next()).done;)s=s.value,u=n+Oy(s,l++),a+=om(s,e,r,u,i);else if(s==="object")throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return a}function Tp(t,e,r){if(t==null)return t;var n=[],i=0;return om(t,n,"","",function(s){return e.call(r,s,i++)}),n}function rU(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(r){(t._status===0||t._status===-1)&&(t._status=1,t._result=r)},function(r){(t._status===0||t._status===-1)&&(t._status=2,t._result=r)}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var ui={current:null},lm={transition:null},nU={ReactCurrentDispatcher:ui,ReactCurrentBatchConfig:lm,ReactCurrentOwner:v4};function $x(){throw Error("act(...) is not supported in production builds of React.")}nr.Children={map:Tp,forEach:function(t,e,r){Tp(t,function(){e.apply(this,arguments)},r)},count:function(t){var e=0;return Tp(t,function(){e++}),e},toArray:function(t){return Tp(t,function(e){return e})||[]},only:function(t){if(!b4(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};nr.Component=W0;nr.Fragment=GB;nr.Profiler=qB;nr.PureComponent=_4;nr.StrictMode=$B;nr.Suspense=XB;
vendor: 4,859 bytes, lines 10-26
10nr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nU;nr.act=$x;nr.cloneElement=function(t,e,r){if(t==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var n=Ux({},t.props),i=t.key,s=t.ref,a=t._owner;if(e!=null){if(e.ref!==void 0&&(s=e.ref,a=v4.current),e.key!==void 0&&(i=""+e.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(u in e)Hx.call(e,u)&&!Wx.hasOwnProperty(u)&&(n[u]=e[u]===void 0&&l!==void 0?l[u]:e[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){l=Array(u);for(var p=0;p<u;p++)l[p]=arguments[p+2];n.children=l}return{$$typeof:rd,type:t.type,key:i,ref:s,props:n,_owner:a}};nr.createContext=function(t){return t={$$typeof:YB,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},t.Provider={$$typeof:VB,_context:t},t.Consumer=t};nr.createElement=Gx;nr.createFactory=function(t){var e=Gx.bind(null,t);return e.type=t,e};nr.createRef=function(){return{current:null}};nr.forwardRef=function(t){return{$$typeof:KB,render:t}};nr.isValidElement=b4;nr.lazy=function(t){return{$$typeof:JB,_payload:{_status:-1,_result:t},_init:rU}};nr.memo=function(t,e){return{$$typeof:QB,type:t,compare:e===void 0?null:e}};nr.startTransition=function(t){var e=lm.transition;lm.transition={};try{t()}finally{lm.transition=e}};nr.unstable_act=$x;nr.useCallback=function(t,e){return ui.current.useCallback(t,e)};nr.useContext=function(t){return ui.current.useContext(t)};nr.useDebugValue=function(){};nr.useDeferredValue=function(t){return ui.current.useDeferredValue(t)};nr.useEffect=function(t,e){return ui.current.useEffect(t,e)};nr.useId=function(){return ui.current.useId()};nr.useImperativeHandle=function(t,e,r){return ui.current.useImperativeHandle(t,e,r)};nr.useInsertionEffect=function(t,e){return ui.current.useInsertionEffect(t,e)};nr.useLayoutEffect=function(t,e){return ui.current.useLayoutEffect(t,e)};nr.useMemo=function(t,e){return ui.current.useMemo(t,e)};nr.useReducer=function(t,e,r){return ui.current.useReducer(t,e,r)};nr.useRef=function(t){return ui.current.useRef(t)};nr.useState=function(t){return ui.current.useState(t)};nr.useSyncExternalStore=function(t,e,r){return ui.current.useSyncExternalStore(t,e,r)};nr.useTransition=function(){return ui.current.useTransition()};nr.version="18.3.1";Lx.exports=nr;var $=Lx.exports;const si=Ai($),iU=HB({__proto__:null,default:si},[$]);/** 11 * @license React 12 * react-jsx-runtime.production.min.js 13 * 14 * Copyright (c) Facebook, Inc. and its affiliates. 15 * 16 * This source code is licensed under the MIT license found in the 17 * LICENSE file in the root directory of this source tree. 18 */var sU=$,aU=Symbol.for("react.element"),oU=Symbol.for("react.fragment"),lU=Object.prototype.hasOwnProperty,uU=sU.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,cU={key:!0,ref:!0,__self:!0,__source:!0};function qx(t,e,r){var n,i={},s=null,a=null;r!==void 0&&(s=""+r),e.key!==void 0&&(s=""+e.key),e.ref!==void 0&&(a=e.ref);for(n in e)lU.call(e,n)&&!cU.hasOwnProperty(n)&&(i[n]=e[n]);if(t&&t.defaultProps)for(n in e=t.defaultProps,e)i[n]===void 0&&(i[n]=e[n]);return{$$typeof:aU,type:t,key:s,ref:a,props:i,_owner:uU.current}}c1.Fragment=oU;c1.jsx=qx;c1.jsxs=qx;Px.exports=c1;var Re=Px.exports;typeof window<"u"&&(window.global=window);var Yv={},Vx={exports:{}},Ji={},Yx={exports:{}},Kx={};/** 19 * @license React 20 * scheduler.production.min.js 21 * 22 * Copyright (c) Facebook, Inc. and its affiliates. 23 * 24 * This source code is licensed under the MIT license found in the 25 * LICENSE file in the root directory of this source tree. 26 */(function(t){function e(xe,Ye){var B=xe.length;xe.push(Ye);e:for(;0<B;){var Ce=B-1>>>1,Pe=xe[Ce];if(0<i(Pe,Ye))xe[Ce]=Ye,xe[B]=Pe,B=Ce;else break e}}function r(xe){return xe.length===0?null:xe[0]}function n(xe){if(xe.length===0)return null;var Ye=xe[0],B=xe.pop();if(B!==Ye){xe[0]=B;e:for(var Ce=0,Pe=xe.length,le=Pe>>>1;Ce<le;){var Lt=2*(Ce+1)-1,Ht=xe[Lt],At=Lt+1,Ke=xe[At];if(0>i(Ht,B))At<Pe&&0>i(Ke,Ht)?(xe[Ce]=Ke,xe[At]=B,Ce=At):(xe[Ce]=Ht,xe[Lt]=B,Ce=Lt);else if(At<Pe&&0>i(Ke,B))xe[Ce]=Ke,xe[At]=B,Ce=At;else break e}}return Ye}function i(xe,Ye){var B=xe.sortIndex-Ye.sortIndex;return B!==0?B:xe.id-Ye.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;t.unstable_now=function(){return s.now()}}else{var a=Date,l=a.now();t.unstable_now=function(){return a.now()-l}}var u=[],p=[],d=1,g=null,_=3,v=!1,k=!1,O=!1,N=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function F(xe){for(var Ye=r(p);Ye!==null;){if(Ye.callback===null)n(p);
vendor: 9,586 bytes, lines 26-35
26else if(Ye.startTime<=xe)n(p),Ye.sortIndex=Ye.expirationTime,e(u,Ye);else break;Ye=r(p)}}function G(xe){if(O=!1,F(xe),!k)if(r(u)!==null)k=!0,Te(X);else{var Ye=r(p);Ye!==null&&ve(G,Ye.startTime-xe)}}function X(xe,Ye){k=!1,O&&(O=!1,S(H),H=-1),v=!0;var B=_;try{for(F(Ye),g=r(u);g!==null&&(!(g.expirationTime>Ye)||xe&&!q());){var Ce=g.callback;if(typeof Ce=="function"){g.callback=null,_=g.priorityLevel;var Pe=Ce(g.expirationTime<=Ye);Ye=t.unstable_now(),typeof Pe=="function"?g.callback=Pe:g===r(u)&&n(u),F(Ye)}else n(u);g=r(u)}if(g!==null)var le=!0;else{var Lt=r(p);Lt!==null&&ve(G,Lt.startTime-Ye),le=!1}return le}finally{g=null,_=B,v=!1}}var z=!1,R=null,H=-1,re=5,ie=-1;function q(){return!(t.unstable_now()-ie<re)}function Y(){if(R!==null){var xe=t.unstable_now();ie=xe;var Ye=!0;try{Ye=R(!0,xe)}finally{Ye?Q():(z=!1,R=null)}}else z=!1}var Q;if(typeof M=="function")Q=function(){M(Y)};else if(typeof MessageChannel<"u"){var fe=new MessageChannel,pe=fe.port2;fe.port1.onmessage=Y,Q=function(){pe.postMessage(null)}}else Q=function(){N(Y,0)};function Te(xe){R=xe,z||(z=!0,Q())}function ve(xe,Ye){H=N(function(){xe(t.unstable_now())},Ye)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(xe){xe.callback=null},t.unstable_continueExecution=function(){k||v||(k=!0,Te(X))},t.unstable_forceFrameRate=function(xe){0>xe||125<xe?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):re=0<xe?Math.floor(1e3/xe):5},t.unstable_getCurrentPriorityLevel=function(){return _},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(xe){switch(_){case 1:case 2:case 3:var Ye=3;break;default:Ye=_}var B=_;_=Ye;try{return xe()}finally{_=B}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(xe,Ye){switch(xe){case 1:case 2:case 3:case 4:case 5:break;default:xe=3}var B=_;_=xe;try{return Ye()}finally{_=B}},t.unstable_scheduleCallback=function(xe,Ye,B){var Ce=t.unstable_now();switch(typeof B=="object"&&B!==null?(B=B.delay,B=typeof B=="number"&&0<B?Ce+B:Ce):B=Ce,xe){case 1:var Pe=-1;break;case 2:Pe=250;break;case 5:Pe=1073741823;break;case 4:Pe=1e4;break;default:Pe=5e3}return Pe=B+Pe,xe={id:d++,callback:Ye,priorityLevel:xe,startTime:B,expirationTime:Pe,sortIndex:-1},B>Ce?(xe.sortIndex=B,e(p,xe),r(u)===null&&xe===r(p)&&(O?(S(H),H=-1):O=!0,ve(G,B-Ce))):(xe.sortIndex=Pe,e(u,xe),k||v||(k=!0,Te(X))),xe},t.unstable_shouldYield=q,t.unstable_wrapCallback=function(xe){var Ye=_;return function(){var B=_;_=Ye;try{return xe.apply(this,arguments)}finally{_=B}}}})(Kx);Yx.exports=Kx;var hU=Yx.exports;/** 27 * @license React 28 * react-dom.production.min.js 29 * 30 * Copyright (c) Facebook, Inc. and its affiliates. 31 * 32 * This source code is licensed under the MIT license found in the 33 * LICENSE file in the root directory of this source tree. 34 */var fU=$,Qi=hU;function Ze(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r<arguments.length;r++)e+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Xx=new Set,kf={};function Vu(t,e){D0(t,e),D0(t+"Capture",e)}function D0(t,e){for(kf[t]=e,t=0;t<e.length;t++)Xx.add(e[t])}var wo=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Kv=Object.prototype.hasOwnProperty,dU=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Y5={},K5={};function pU(t){return Kv.call(K5,t)?!0:Kv.call(Y5,t)?!1:dU.test(t)?K5[t]=!0:(Y5[t]=!0,!1)}function mU(t,e,r,n){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function gU(t,e,r,n){if(e===null||typeof e>"u"||mU(t,e,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function ci(t,e,r,n,i,s,a){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=s,this.removeEmptyString=a}var zn={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){zn[t]=new ci(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];zn[e]=new ci(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){zn[t]=new ci(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){zn[t]=new ci(t,2,!1,t,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(t){zn[t]=new ci(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){zn[t]=new ci(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){zn[t]=new ci(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){zn[t]=new ci(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){zn[t]=new ci(t,5,!1,t.toLowerCase(),null,!1,!1)});var w4=/[\-:]([a-z])/g;function E4(t){return t[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(t){var e=t.replace(w4,E4);zn[e]=new ci(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(w4,E4);zn[e]=new ci(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(w4,E4);zn[e]=new ci(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){zn[t]=new ci(t,1,!1,t.toLowerCase(),null,!1,!1)});zn.xlinkHref=new ci("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){zn[t]=new ci(t,1,!1,t.toLowerCase(),null,!0,!0)});function S4(t,e,r,n){var i=zn.hasOwnProperty(e)?zn[e]:null;(i!==null?i.type!==0:n||!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")&&(gU(e,r,i,n)&&(r=null),n||i===null?pU(e)&&(r===null?t.removeAttribute(e):t.setAttribute(e,""+r)):i.mustUseProperty?t[i.propertyName]=r===null?i.type===3?!1:"":r:(e=i.attributeName,n=i.attributeNamespace,r===null?t.removeAttribute(e):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?t.setAttributeNS(n,e,r):t.setAttribute(e,r))))}var Ro=fU.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xp=Symbol.for("react.element"),Jc=Symbol.for("react.portal"),Zc=Symbol.for("react.fragment"),T4=Symbol.for("react.strict_mode"),Xv=Symbol.for("react.profiler"),Qx=Symbol.for("react.provider"),Jx=Symbol.for("react.context"),x4=Symbol.for("react.forward_ref"),Qv=Symbol.for("react.suspense"),Jv=Symbol.for("react.suspense_list"),k4=Symbol.for("react.memo"),pl=Symbol.for("react.lazy"),Zx=Symbol.for("react.offscreen"),X5=Symbol.iterator;function Sh(t){return t===null||typeof t!="object"?null:(t=X5&&t[X5]||t["@@iterator"],typeof t=="function"?t:null)}var Qr=Object.assign,Iy;function qh(t){if(Iy===void 0)try{throw Error()}catch(r){var e=r.stack.trim().match(/\n( *(at )?)/);Iy=e&&e[1]||""}return` 35`+Iy+t}var Ry=!1;function Fy(t,e){if(!t||Ry)return"";Ry=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(e,[])}catch(p){var n=p}Reflect.construct(t,[],e)}else{try{e.call()}catch(p){n=p}t.call(e.prototype)}else{try{throw Error()}catch(p){n=p}t()}}
vendor: 7,488 bytes, lines 35-38
35catch(p){if(p&&n&&typeof p.stack=="string"){for(var i=p.stack.split(` 36`),s=n.stack.split(` 37`),a=i.length-1,l=s.length-1;1<=a&&0<=l&&i[a]!==s[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==s[l]){if(a!==1||l!==1)do if(a--,l--,0>l||i[a]!==s[l]){var u=` 38`+i[a].replace(" at new "," at ");return t.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",t.displayName)),u}while(1<=a&&0<=l);break}}}finally{Ry=!1,Error.prepareStackTrace=r}return(t=t?t.displayName||t.name:"")?qh(t):""}function _U(t){switch(t.tag){case 5:return qh(t.type);case 16:return qh("Lazy");case 13:return qh("Suspense");case 19:return qh("SuspenseList");case 0:case 2:case 15:return t=Fy(t.type,!1),t;case 11:return t=Fy(t.type.render,!1),t;case 1:return t=Fy(t.type,!0),t;default:return""}}function Zv(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Zc:return"Fragment";case Jc:return"Portal";case Xv:return"Profiler";case T4:return"StrictMode";case Qv:return"Suspense";case Jv:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case Jx:return(t.displayName||"Context")+".Consumer";case Qx:return(t._context.displayName||"Context")+".Provider";case x4:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case k4:return e=t.displayName||null,e!==null?e:Zv(t.type)||"Memo";case pl:e=t._payload,t=t._init;try{return Zv(t(e))}catch{}}return null}function yU(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=e.render,t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Zv(e);case 8:return e===T4?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e}return null}function Pl(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function e9(t){var e=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(e==="checkbox"||e==="radio")}function vU(t){var e=e9(t)?"checked":"value",r=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),n=""+t[e];if(!t.hasOwnProperty(e)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,s=r.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,s.call(this,a)}}),Object.defineProperty(t,e,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}function kp(t){t._valueTracker||(t._valueTracker=vU(t))}function t9(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var r=e.getValue(),n="";return t&&(n=e9(t)?t.checked?"true":"false":t.value),t=n,t!==r?(e.setValue(t),!0):!1}function mg(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function eb(t,e){var r=e.checked;return Qr({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??t._wrapperState.initialChecked})}function Q5(t,e){var r=e.defaultValue==null?"":e.defaultValue,n=e.checked!=null?e.checked:e.defaultChecked;r=Pl(e.value!=null?e.value:r),t._wrapperState={initialChecked:n,initialValue:r,controlled:e.type==="checkbox"||e.type==="radio"?e.checked!=null:e.value!=null}}function r9(t,e){e=e.checked,e!=null&&S4(t,"checked",e,!1)}function tb(t,e){r9(t,e);var r=Pl(e.value),n=e.type;if(r!=null)n==="number"?(r===0&&t.value===""||t.value!=r)&&(t.value=""+r):t.value!==""+r&&(t.value=""+r);else if(n==="submit"||n==="reset"){t.removeAttribute("value");return}e.hasOwnProperty("value")?rb(t,e.type,r):e.hasOwnProperty("defaultValue")&&rb(t,e.type,Pl(e.defaultValue)),e.checked==null&&e.defaultChecked!=null&&(t.defaultChecked=!!e.defaultChecked)}function J5(t,e,r){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var n=e.type;if(!(n!=="submit"&&n!=="reset"||e.value!==void 0&&e.value!==null))return;e=""+t._wrapperState.initialValue,r||e===t.value||(t.value=e),t.defaultValue=e}r=t.name,r!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,r!==""&&(t.name=r)}function rb(t,e,r){(e!=="number"||mg(t.ownerDocument)!==t)&&(r==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+r&&(t.defaultValue=""+r))}var Vh=Array.isArray;function y0(t,e,r,n){if(t=t.options,e){e={};for(var i=0;i<r.length;i++)e["$"+r[i]]=!0;for(r=0;r<t.length;r++)i=e.hasOwnProperty("$"+t[r].value),t[r].selected!==i&&(t[r].selected=i),i&&n&&(t[r].defaultSelected=!0)}else{for(r=""+Pl(r),e=null,i=0;i<t.length;i++){if(t[i].value===r){t[i].selected=!0,n&&(t[i].defaultSelected=!0);return}e!==null||t[i].disabled||(e=t[i])}e!==null&&(e.selected=!0)}}function nb(t,e){if(e.dangerouslySetInnerHTML!=null)throw Error(Ze(91));return Qr({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function Z5(t,e){var r=e.value;if(r==null){if(r=e.children,e=e.defaultValue,r!=null){if(e!=null)throw Error(Ze(92));if(Vh(r)){if(1<r.length)throw Error(Ze(93));r=r[0]}e=r}e==null&&(e=""),r=e}t._wrapperState={initialValue:Pl(r)}}function n9(t,e){var r=Pl(e.value),n=Pl(e.defaultValue);r!=null&&(r=""+r,r!==t.value&&(t.value=r),e.defaultValue==null&&t.defaultValue!==r&&(t.defaultValue=r)),n!=null&&(t.defaultValue=""+n)}function eE(t){var e=t.textContent;e===t._wrapperState.initialValue&&e!==""&&e!==null&&(t.value=e)}function i9(t){switch(t){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 ib(t,e){return t==null||t==="http://www.w3.org/1999/xhtml"?i9(e):t==="http://www.w3.org/2000/svg"&&e==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var Ap,s9=function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,r,n,i){MSApp.execUnsafeLocalFunction(function(){return t(e,r,n,i)})}:t}(function(t,e){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=e;else{for(Ap=Ap||document.createElement("div"),Ap.innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=Ap.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}});function Af(t,e){if(e){var r=t.firstChild;if(r&&r===t.lastChild&&r.nodeType===3){r.nodeValue=e;return}}t.textContent=e}var tf={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},bU=["Webkit","ms","Moz","O"];
vendor: 1,590 bytes, line 38
38Object.keys(tf).forEach(function(t){bU.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),tf[e]=tf[t]})});function a9(t,e,r){return e==null||typeof e=="boolean"||e===""?"":r||typeof e!="number"||e===0||tf.hasOwnProperty(t)&&tf[t]?(""+e).trim():e+"px"}function o9(t,e){t=t.style;for(var r in e)if(e.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=a9(r,e[r],n);r==="float"&&(r="cssFloat"),n?t.setProperty(r,i):t[r]=i}}var wU=Qr({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 sb(t,e){if(e){if(wU[t]&&(e.children!=null||e.dangerouslySetInnerHTML!=null))throw Error(Ze(137,t));if(e.dangerouslySetInnerHTML!=null){if(e.children!=null)throw Error(Ze(60));if(typeof e.dangerouslySetInnerHTML!="object"||!("__html"in e.dangerouslySetInnerHTML))throw Error(Ze(61))}if(e.style!=null&&typeof e.style!="object")throw Error(Ze(62))}}function ab(t,e){if(t.indexOf("-")===-1)return typeof e.is=="string";switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ob=null;function A4(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var lb=null,v0=null,b0=null;function tE(t){if(t=sd(t)){if(typeof lb!="function")throw Error(Ze(280));var e=t.stateNode;e&&(e=m1(e),lb(t.stateNode,t.type,e))}}function l9(t){v0?b0?b0.push(t):b0=[t]:v0=t}function u9(){if(v0){var t=v0,e=b0;
vendor: 5,028 bytes, line 38
38if(b0=v0=null,tE(t),e)for(t=0;t<e.length;t++)tE(e[t])}}function c9(t,e){return t(e)}function h9(){}var Dy=!1;function f9(t,e,r){if(Dy)return t(e,r);Dy=!0;try{return c9(t,e,r)}finally{Dy=!1,(v0!==null||b0!==null)&&(h9(),u9())}}function Mf(t,e){var r=t.stateNode;if(r===null)return null;var n=m1(r);if(n===null)return null;r=n[e];e:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(t=t.type,n=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!n;break e;default:t=!1}if(t)return null;if(r&&typeof r!="function")throw Error(Ze(231,e,typeof r));return r}var ub=!1;if(wo)try{var Th={};Object.defineProperty(Th,"passive",{get:function(){ub=!0}}),window.addEventListener("test",Th,Th),window.removeEventListener("test",Th,Th)}catch{ub=!1}function EU(t,e,r,n,i,s,a,l,u){var p=Array.prototype.slice.call(arguments,3);try{e.apply(r,p)}catch(d){this.onError(d)}}var rf=!1,gg=null,_g=!1,cb=null,SU={onError:function(t){rf=!0,gg=t}};function TU(t,e,r,n,i,s,a,l,u){rf=!1,gg=null,EU.apply(SU,arguments)}function xU(t,e,r,n,i,s,a,l,u){if(TU.apply(this,arguments),rf){if(rf){var p=gg;rf=!1,gg=null}else throw Error(Ze(198));_g||(_g=!0,cb=p)}}function Yu(t){var e=t,r=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(r=e.return),t=e.return;while(t)}return e.tag===3?r:null}function d9(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function rE(t){if(Yu(t)!==t)throw Error(Ze(188))}function kU(t){var e=t.alternate;if(!e){if(e=Yu(t),e===null)throw Error(Ze(188));return e!==t?null:t}for(var r=t,n=e;;){var i=r.return;if(i===null)break;var s=i.alternate;if(s===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===r)return rE(i),t;if(s===n)return rE(i),e;s=s.sibling}throw Error(Ze(188))}if(r.return!==n.return)r=i,n=s;else{for(var a=!1,l=i.child;l;){if(l===r){a=!0,r=i,n=s;break}if(l===n){a=!0,n=i,r=s;break}l=l.sibling}if(!a){for(l=s.child;l;){if(l===r){a=!0,r=s,n=i;break}if(l===n){a=!0,n=s,r=i;break}l=l.sibling}if(!a)throw Error(Ze(189))}}if(r.alternate!==n)throw Error(Ze(190))}if(r.tag!==3)throw Error(Ze(188));return r.stateNode.current===r?t:e}function p9(t){return t=kU(t),t!==null?m9(t):null}function m9(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var e=m9(t);if(e!==null)return e;t=t.sibling}return null}var g9=Qi.unstable_scheduleCallback,nE=Qi.unstable_cancelCallback,AU=Qi.unstable_shouldYield,MU=Qi.unstable_requestPaint,an=Qi.unstable_now,CU=Qi.unstable_getCurrentPriorityLevel,M4=Qi.unstable_ImmediatePriority,_9=Qi.unstable_UserBlockingPriority,yg=Qi.unstable_NormalPriority,OU=Qi.unstable_LowPriority,y9=Qi.unstable_IdlePriority,h1=null,Fa=null;function IU(t){if(Fa&&typeof Fa.onCommitFiberRoot=="function")try{Fa.onCommitFiberRoot(h1,t,void 0,(t.current.flags&128)===128)}catch{}}var ea=Math.clz32?Math.clz32:DU,RU=Math.log,FU=Math.LN2;function DU(t){return t>>>=0,t===0?32:31-(RU(t)/FU|0)|0}var Mp=64,Cp=4194304;function Yh(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function vg(t,e){var r=t.pendingLanes;if(r===0)return 0;var n=0,i=t.suspendedLanes,s=t.pingedLanes,a=r&268435455;if(a!==0){var l=a&~i;l!==0?n=Yh(l):(s&=a,s!==0&&(n=Yh(s)))}else a=r&~i,a!==0?n=Yh(a):s!==0&&(n=Yh(s));if(n===0)return 0;if(e!==0&&e!==n&&!(e&i)&&(i=n&-n,s=e&-e,i>=s||i===16&&(s&4194240)!==0))return e;if(n&4&&(n|=r&16),e=t.entangledLanes,e!==0)for(t=t.entanglements,e&=n;0<e;)r=31-ea(e),i=1<<r,n|=t[r],e&=~i;return n}function NU(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function PU(t,e){for(var r=t.suspendedLanes,n=t.pingedLanes,i=t.expirationTimes,s=t.pendingLanes;0<s;){var a=31-ea(s),l=1<<a,u=i[a];u===-1?(!(l&r)||l&n)&&(i[a]=NU(l,e)):u<=e&&(t.expiredLanes|=l),s&=~l}}function hb(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function v9(){var t=Mp;return Mp<<=1,!(Mp&4194240)&&(Mp=64),t}function Ny(t){for(var e=[],r=0;31>r;r++)e.push(t);return e}
vendor: 4,087 bytes, line 38
38function nd(t,e,r){t.pendingLanes|=e,e!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,e=31-ea(e),t[e]=r}function LU(t,e){var r=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var n=t.eventTimes;for(t=t.expirationTimes;0<r;){var i=31-ea(r),s=1<<i;e[i]=0,n[i]=-1,t[i]=-1,r&=~s}}function C4(t,e){var r=t.entangledLanes|=e;for(t=t.entanglements;r;){var n=31-ea(r),i=1<<n;i&e|t[n]&e&&(t[n]|=e),r&=~i}}var yr=0;function b9(t){return t&=-t,1<t?4<t?t&268435455?16:536870912:4:1}var w9,O4,E9,S9,T9,fb=!1,Op=[],Al=null,Ml=null,Cl=null,Cf=new Map,Of=new Map,vl=[],BU="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function iE(t,e){switch(t){case"focusin":case"focusout":Al=null;break;case"dragenter":case"dragleave":Ml=null;break;case"mouseover":case"mouseout":Cl=null;break;case"pointerover":case"pointerout":Cf.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Of.delete(e.pointerId)}}function xh(t,e,r,n,i,s){return t===null||t.nativeEvent!==s?(t={blockedOn:e,domEventName:r,eventSystemFlags:n,nativeEvent:s,targetContainers:[i]},e!==null&&(e=sd(e),e!==null&&O4(e)),t):(t.eventSystemFlags|=n,e=t.targetContainers,i!==null&&e.indexOf(i)===-1&&e.push(i),t)}function UU(t,e,r,n,i){switch(e){case"focusin":return Al=xh(Al,t,e,r,n,i),!0;case"dragenter":return Ml=xh(Ml,t,e,r,n,i),!0;case"mouseover":return Cl=xh(Cl,t,e,r,n,i),!0;case"pointerover":var s=i.pointerId;return Cf.set(s,xh(Cf.get(s)||null,t,e,r,n,i)),!0;case"gotpointercapture":return s=i.pointerId,Of.set(s,xh(Of.get(s)||null,t,e,r,n,i)),!0}return!1}function x9(t){var e=Mu(t.target);if(e!==null){var r=Yu(e);if(r!==null){if(e=r.tag,e===13){if(e=d9(r),e!==null){t.blockedOn=e,T9(t.priority,function(){E9(r)});return}}else if(e===3&&r.stateNode.current.memoizedState.isDehydrated){t.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}t.blockedOn=null}function um(t){if(t.blockedOn!==null)return!1;for(var e=t.targetContainers;0<e.length;){var r=db(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(r===null){r=t.nativeEvent;var n=new r.constructor(r.type,r);ob=n,r.target.dispatchEvent(n),ob=null}else return e=sd(r),e!==null&&O4(e),t.blockedOn=r,!1;e.shift()}return!0}function sE(t,e,r){um(t)&&r.delete(e)}function zU(){fb=!1,Al!==null&&um(Al)&&(Al=null),Ml!==null&&um(Ml)&&(Ml=null),Cl!==null&&um(Cl)&&(Cl=null),Cf.forEach(sE),Of.forEach(sE)}function kh(t,e){t.blockedOn===e&&(t.blockedOn=null,fb||(fb=!0,Qi.unstable_scheduleCallback(Qi.unstable_NormalPriority,zU)))}function If(t){function e(i){return kh(i,t)}if(0<Op.length){kh(Op[0],t);for(var r=1;r<Op.length;r++){var n=Op[r];n.blockedOn===t&&(n.blockedOn=null)}}for(Al!==null&&kh(Al,t),Ml!==null&&kh(Ml,t),Cl!==null&&kh(Cl,t),Cf.forEach(e),Of.forEach(e),r=0;r<vl.length;r++)n=vl[r],n.blockedOn===t&&(n.blockedOn=null);for(;0<vl.length&&(r=vl[0],r.blockedOn===null);)x9(r),r.blockedOn===null&&vl.shift()}var w0=Ro.ReactCurrentBatchConfig,bg=!0;function jU(t,e,r,n){var i=yr,s=w0.transition;w0.transition=null;try{yr=1,I4(t,e,r,n)}finally{yr=i,w0.transition=s}}function HU(t,e,r,n){var i=yr,s=w0.transition;w0.transition=null;try{yr=4,I4(t,e,r,n)}finally{yr=i,w0.transition=s}}function I4(t,e,r,n){if(bg){var i=db(t,e,r,n);if(i===null)$y(t,e,n,wg,r),iE(t,n);else if(UU(i,t,e,r,n))n.stopPropagation();else if(iE(t,n),e&4&&-1<BU.indexOf(t)){for(;i!==null;){var s=sd(i);if(s!==null&&w9(s),s=db(t,e,r,n),s===null&&$y(t,e,n,wg,r),s===i)break;i=s}i!==null&&n.stopPropagation()}else $y(t,e,n,null,r)}}var wg=null;function db(t,e,r,n){if(wg=null,t=A4(n),t=Mu(t),t!==null)if(e=Yu(t),e===null)t=null;else if(r=e.tag,r===13){if(t=d9(e),t!==null)return t;t=null}else if(r===3){if(e.stateNode.current.memoizedState.isDehydrated)return e.tag===3?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return wg=t,null}
vendor: 10,401 bytes, line 38
38function k9(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(CU()){case M4:return 1;case _9:return 4;case yg:case OU:return 16;case y9:return 536870912;default:return 16}default:return 16}}var El=null,R4=null,cm=null;function A9(){if(cm)return cm;var t,e=R4,r=e.length,n,i="value"in El?El.value:El.textContent,s=i.length;for(t=0;t<r&&e[t]===i[t];t++);var a=r-t;for(n=1;n<=a&&e[r-n]===i[s-n];n++);return cm=i.slice(t,1<n?1-n:void 0)}function hm(t){var e=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&e===13&&(t=13)):t=e,t===10&&(t=13),32<=t||t===13?t:0}function Ip(){return!0}function aE(){return!1}function Zi(t){function e(r,n,i,s,a){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=s,this.target=a,this.currentTarget=null;for(var l in t)t.hasOwnProperty(l)&&(r=t[l],this[l]=r?r(s):s[l]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?Ip:aE,this.isPropagationStopped=aE,this}return Qr(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Ip)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Ip)},persist:function(){},isPersistent:Ip}),e}var G0={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},F4=Zi(G0),id=Qr({},G0,{view:0,detail:0}),WU=Zi(id),Py,Ly,Ah,f1=Qr({},id,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:D4,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==Ah&&(Ah&&t.type==="mousemove"?(Py=t.screenX-Ah.screenX,Ly=t.screenY-Ah.screenY):Ly=Py=0,Ah=t),Py)},movementY:function(t){return"movementY"in t?t.movementY:Ly}}),oE=Zi(f1),GU=Qr({},f1,{dataTransfer:0}),$U=Zi(GU),qU=Qr({},id,{relatedTarget:0}),By=Zi(qU),VU=Qr({},G0,{animationName:0,elapsedTime:0,pseudoElement:0}),YU=Zi(VU),KU=Qr({},G0,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),XU=Zi(KU),QU=Qr({},G0,{data:0}),lE=Zi(QU),JU={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ZU={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ez={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function tz(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):(t=ez[t])?!!e[t]:!1}function D4(){return tz}var rz=Qr({},id,{key:function(t){if(t.key){var e=JU[t.key]||t.key;if(e!=="Unidentified")return e}return t.type==="keypress"?(t=hm(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?ZU[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:D4,charCode:function(t){return t.type==="keypress"?hm(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?hm(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),nz=Zi(rz),iz=Qr({},f1,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),uE=Zi(iz),sz=Qr({},id,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:D4}),az=Zi(sz),oz=Qr({},G0,{propertyName:0,elapsedTime:0,pseudoElement:0}),lz=Zi(oz),uz=Qr({},f1,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),cz=Zi(uz),hz=[9,13,27,32],N4=wo&&"CompositionEvent"in window,nf=null;wo&&"documentMode"in document&&(nf=document.documentMode);var fz=wo&&"TextEvent"in window&&!nf,M9=wo&&(!N4||nf&&8<nf&&11>=nf),cE=" ",hE=!1;function C9(t,e){switch(t){case"keyup":return hz.indexOf(e.keyCode)!==-1;case"keydown":return e.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function O9(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var e0=!1;function dz(t,e){switch(t){case"compositionend":return O9(e);case"keypress":return e.which!==32?null:(hE=!0,cE);case"textInput":return t=e.data,t===cE&&hE?null:t;default:return null}}function pz(t,e){if(e0)return t==="compositionend"||!N4&&C9(t,e)?(t=A9(),cm=R4=El=null,e0=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return M9&&e.locale!=="ko"?null:e.data;default:return null}}var mz={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function fE(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e==="input"?!!mz[t.type]:e==="textarea"}function I9(t,e,r,n){l9(n),e=Eg(e,"onChange"),0<e.length&&(r=new F4("onChange","change",null,r,n),t.push({event:r,listeners:e}))}var sf=null,Rf=null;function gz(t){H9(t,0)}function d1(t){var e=n0(t);if(t9(e))return t}function _z(t,e){if(t==="change")return e}var R9=!1;if(wo){var Uy;if(wo){var zy="oninput"in document;if(!zy){var dE=document.createElement("div");dE.setAttribute("oninput","return;"),zy=typeof dE.oninput=="function"}Uy=zy}else Uy=!1;R9=Uy&&(!document.documentMode||9<document.documentMode)}function pE(){sf&&(sf.detachEvent("onpropertychange",F9),Rf=sf=null)}function F9(t){if(t.propertyName==="value"&&d1(Rf)){var e=[];I9(e,Rf,t,A4(t)),f9(gz,e)}}function yz(t,e,r){t==="focusin"?(pE(),sf=e,Rf=r,sf.attachEvent("onpropertychange",F9)):t==="focusout"&&pE()}function vz(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return d1(Rf)}function bz(t,e){if(t==="click")return d1(e)}function wz(t,e){if(t==="input"||t==="change")return d1(e)}function Ez(t,e){return t===e&&(t!==0||1/t===1/e)||t!==t&&e!==e}var na=typeof Object.is=="function"?Object.is:Ez;function Ff(t,e){if(na(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;var r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var i=r[n];if(!Kv.call(e,i)||!na(t[i],e[i]))return!1}return!0}function mE(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function gE(t,e){var r=mE(t);t=0;for(var n;r;){if(r.nodeType===3){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=mE(r)}}function D9(t,e){return t&&e?t===e?!0:t&&t.nodeType===3?!1:e&&e.nodeType===3?D9(t,e.parentNode):"contains"in t?t.contains(e):t.compareDocumentPosition?!!(t.compareDocumentPosition(e)&16):!1:!1}function N9(){for(var t=window,e=mg();e instanceof t.HTMLIFrameElement;){try{var r=typeof e.contentWindow.location.href=="string"}catch{r=!1}if(r)t=e.contentWindow;else break;e=mg(t.document)}return e}function P4(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&(e==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||e==="textarea"||t.contentEditable==="true")}function Sz(t){var e=N9(),r=t.focusedElem,n=t.selectionRange;if(e!==r&&r&&r.ownerDocument&&D9(r.ownerDocument.documentElement,r)){if(n!==null&&P4(r)){if(e=n.start,t=n.end,t===void 0&&(t=e),"selectionStart"in r)r.selectionStart=e,r.selectionEnd=Math.min(t,r.value.length);else if(t=(e=r.ownerDocument||document)&&e.defaultView||window,t.getSelection){t=t.getSelection();var i=r.textContent.length,s=Math.min(n.start,i);n=n.end===void 0?s:Math.min(n.end,i),!t.extend&&s>n&&(i=n,n=s,s=i),i=gE(r,s);var a=gE(r,n);i&&a&&(t.rangeCount!==1||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==a.node||t.focusOffset!==a.offset)&&(e=e.createRange(),e.setStart(i.node,i.offset),t.removeAllRanges(),s>n?(t.addRange(e),t.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),t.addRange(e)))}}for(e=[],t=r;t=t.parentNode;)t.nodeType===1&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r<e.length;r++)t=e[r],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var Tz=wo&&"documentMode"in document&&11>=document.documentMode,t0=null,pb=null,af=null,mb=!1;function _E(t,e,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;mb||t0==null||t0!==mg(n)||(n=t0,"selectionStart"in n&&P4(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focu
vendor: 4,383 bytes, line 38
38sNode:n.focusNode,focusOffset:n.focusOffset}),af&&Ff(af,n)||(af=n,n=Eg(pb,"onSelect"),0<n.length&&(e=new F4("onSelect","select",null,e,r),t.push({event:e,listeners:n}),e.target=t0)))}function Rp(t,e){var r={};return r[t.toLowerCase()]=e.toLowerCase(),r["Webkit"+t]="webkit"+e,r["Moz"+t]="moz"+e,r}var r0={animationend:Rp("Animation","AnimationEnd"),animationiteration:Rp("Animation","AnimationIteration"),animationstart:Rp("Animation","AnimationStart"),transitionend:Rp("Transition","TransitionEnd")},jy={},P9={};wo&&(P9=document.createElement("div").style,"AnimationEvent"in window||(delete r0.animationend.animation,delete r0.animationiteration.animation,delete r0.animationstart.animation),"TransitionEvent"in window||delete r0.transitionend.transition);function p1(t){if(jy[t])return jy[t];if(!r0[t])return t;var e=r0[t],r;for(r in e)if(e.hasOwnProperty(r)&&r in P9)return jy[t]=e[r];return t}var L9=p1("animationend"),B9=p1("animationiteration"),U9=p1("animationstart"),z9=p1("transitionend"),j9=new Map,yE="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Vl(t,e){j9.set(t,e),Vu(e,[t])}for(var Hy=0;Hy<yE.length;Hy++){var Wy=yE[Hy],xz=Wy.toLowerCase(),kz=Wy[0].toUpperCase()+Wy.slice(1);Vl(xz,"on"+kz)}Vl(L9,"onAnimationEnd");Vl(B9,"onAnimationIteration");Vl(U9,"onAnimationStart");Vl("dblclick","onDoubleClick");Vl("focusin","onFocus");Vl("focusout","onBlur");Vl(z9,"onTransitionEnd");D0("onMouseEnter",["mouseout","mouseover"]);D0("onMouseLeave",["mouseout","mouseover"]);D0("onPointerEnter",["pointerout","pointerover"]);D0("onPointerLeave",["pointerout","pointerover"]);Vu("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Vu("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Vu("onBeforeInput",["compositionend","keypress","textInput","paste"]);Vu("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Vu("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Vu("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Kh="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Az=new Set("cancel close invalid load scroll toggle".split(" ").concat(Kh));function vE(t,e,r){var n=t.type||"unknown-event";t.currentTarget=r,xU(n,e,void 0,t),t.currentTarget=null}function H9(t,e){e=(e&4)!==0;for(var r=0;r<t.length;r++){var n=t[r],i=n.event;n=n.listeners;e:{var s=void 0;if(e)for(var a=n.length-1;0<=a;a--){var l=n[a],u=l.instance,p=l.currentTarget;if(l=l.listener,u!==s&&i.isPropagationStopped())break e;vE(i,l,p),s=u}else for(a=0;a<n.length;a++){if(l=n[a],u=l.instance,p=l.currentTarget,l=l.listener,u!==s&&i.isPropagationStopped())break e;vE(i,l,p),s=u}}}if(_g)throw t=cb,_g=!1,cb=null,t}function Lr(t,e){var r=e[bb];r===void 0&&(r=e[bb]=new Set);var n=t+"__bubble";r.has(n)||(W9(e,t,2,!1),r.add(n))}function Gy(t,e,r){var n=0;e&&(n|=4),W9(r,t,n,e)}var Fp="_reactListening"+Math.random().toString(36).slice(2);function Df(t){if(!t[Fp]){t[Fp]=!0,Xx.forEach(function(r){r!=="selectionchange"&&(Az.has(r)||Gy(r,!1,t),Gy(r,!0,t))});var e=t.nodeType===9?t:t.ownerDocument;e===null||e[Fp]||(e[Fp]=!0,Gy("selectionchange",!1,e))}}function W9(t,e,r,n){switch(k9(e)){case 1:var i=jU;break;case 4:i=HU;break;default:i=I4}r=i.bind(null,e,r,t),i=void 0,!ub||e!=="touchstart"&&e!=="touchmove"&&e!=="wheel"||(i=!0),n?i!==void 0?t.addEventListener(e,r,{capture:!0,passive:i}):t.addEventListener(e,r,!0):i!==void 0?t.addEventListener(e,r,{passive:i}):t.addEventListener(e,r,!1)}function $y(t,e,r,n,i){var s=n;
vendor: 2,645 bytes, line 38
38if(!(e&1)&&!(e&2)&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(a===4)for(a=n.return;a!==null;){var u=a.tag;if((u===3||u===4)&&(u=a.stateNode.containerInfo,u===i||u.nodeType===8&&u.parentNode===i))return;a=a.return}for(;l!==null;){if(a=Mu(l),a===null)return;if(u=a.tag,u===5||u===6){n=s=a;continue e}l=l.parentNode}}n=n.return}f9(function(){var p=s,d=A4(r),g=[];e:{var _=j9.get(t);if(_!==void 0){var v=F4,k=t;switch(t){case"keypress":if(hm(r)===0)break e;case"keydown":case"keyup":v=nz;break;case"focusin":k="focus",v=By;break;case"focusout":k="blur",v=By;break;case"beforeblur":case"afterblur":v=By;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":v=oE;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":v=$U;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":v=az;break;case L9:case B9:case U9:v=YU;break;case z9:v=lz;break;case"scroll":v=WU;break;case"wheel":v=cz;break;case"copy":case"cut":case"paste":v=XU;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":v=uE}var O=(e&4)!==0,N=!O&&t==="scroll",S=O?_!==null?_+"Capture":null:_;O=[];for(var M=p,F;M!==null;){F=M;var G=F.stateNode;if(F.tag===5&&G!==null&&(F=G,S!==null&&(G=Mf(M,S),G!=null&&O.push(Nf(M,G,F)))),N)break;M=M.return}0<O.length&&(_=new v(_,k,null,r,d),g.push({event:_,listeners:O}))}}if(!(e&7)){e:{if(_=t==="mouseover"||t==="pointerover",v=t==="mouseout"||t==="pointerout",_&&r!==ob&&(k=r.relatedTarget||r.fromElement)&&(Mu(k)||k[Eo]))break e;if((v||_)&&(_=d.window===d?d:(_=d.ownerDocument)?_.defaultView||_.parentWindow:window,v?(k=r.relatedTarget||r.toElement,v=p,k=k?Mu(k):null,k!==null&&(N=Yu(k),k!==N||k.tag!==5&&k.tag!==6)&&(k=null)):(v=null,k=p),v!==k)){if(O=oE,G="onMouseLeave",S="onMouseEnter",M="mouse",(t==="pointerout"||t==="pointerover")&&(O=uE,G="onPointerLeave",S="onPointerEnter",M="pointer"),N=v==null?_:n0(v),F=k==null?_:n0(k),_=new O(G,M+"leave",v,r,d),_.target=N,_.relatedTarget=F,G=null,Mu(d)===p&&(O=new O(S,M+"enter",k,r,d),O.target=F,O.relatedTarget=N,G=O),N=G,v&&k)t:{for(O=v,S=k,M=0,F=O;F;F=Ic(F))M++;for(F=0,G=S;G;G=Ic(G))F++;for(;0<M-F;)O=Ic(O),M--;for(;0<F-M;)S=Ic(S),F--;for(;M--;){if(O===S||S!==null&&O===S.alternate)break t;O=Ic(O),S=Ic(S)}O=null}else O=null;v!==null&&bE(g,_,v,O,!1),k!==null&&N!==null&&bE(g,N,k,O,!0)}}
vendor: 5,746 bytes, lines 38-39
38e:{if(_=p?n0(p):window,v=_.nodeName&&_.nodeName.toLowerCase(),v==="select"||v==="input"&&_.type==="file")var X=_z;else if(fE(_))if(R9)X=wz;else{X=vz;var z=yz}else(v=_.nodeName)&&v.toLowerCase()==="input"&&(_.type==="checkbox"||_.type==="radio")&&(X=bz);if(X&&(X=X(t,p))){I9(g,X,r,d);break e}z&&z(t,_,p),t==="focusout"&&(z=_._wrapperState)&&z.controlled&&_.type==="number"&&rb(_,"number",_.value)}switch(z=p?n0(p):window,t){case"focusin":(fE(z)||z.contentEditable==="true")&&(t0=z,pb=p,af=null);break;case"focusout":af=pb=t0=null;break;case"mousedown":mb=!0;break;case"contextmenu":case"mouseup":case"dragend":mb=!1,_E(g,r,d);break;case"selectionchange":if(Tz)break;case"keydown":case"keyup":_E(g,r,d)}var R;if(N4)e:{switch(t){case"compositionstart":var H="onCompositionStart";break e;case"compositionend":H="onCompositionEnd";break e;case"compositionupdate":H="onCompositionUpdate";break e}H=void 0}else e0?C9(t,r)&&(H="onCompositionEnd"):t==="keydown"&&r.keyCode===229&&(H="onCompositionStart");H&&(M9&&r.locale!=="ko"&&(e0||H!=="onCompositionStart"?H==="onCompositionEnd"&&e0&&(R=A9()):(El=d,R4="value"in El?El.value:El.textContent,e0=!0)),z=Eg(p,H),0<z.length&&(H=new lE(H,t,null,r,d),g.push({event:H,listeners:z}),R?H.data=R:(R=O9(r),R!==null&&(H.data=R)))),(R=fz?dz(t,r):pz(t,r))&&(p=Eg(p,"onBeforeInput"),0<p.length&&(d=new lE("onBeforeInput","beforeinput",null,r,d),g.push({event:d,listeners:p}),d.data=R))}H9(g,e)})}function Nf(t,e,r){return{instance:t,listener:e,currentTarget:r}}function Eg(t,e){for(var r=e+"Capture",n=[];t!==null;){var i=t,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=Mf(t,r),s!=null&&n.unshift(Nf(t,s,i)),s=Mf(t,e),s!=null&&n.push(Nf(t,s,i))),t=t.return}return n}function Ic(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function bE(t,e,r,n,i){for(var s=e._reactName,a=[];r!==null&&r!==n;){var l=r,u=l.alternate,p=l.stateNode;if(u!==null&&u===n)break;l.tag===5&&p!==null&&(l=p,i?(u=Mf(r,s),u!=null&&a.unshift(Nf(r,u,l))):i||(u=Mf(r,s),u!=null&&a.push(Nf(r,u,l)))),r=r.return}a.length!==0&&t.push({event:e,listeners:a})}var Mz=/\r\n?/g,Cz=/\u0000|\uFFFD/g;function wE(t){return(typeof t=="string"?t:""+t).replace(Mz,` 39`).replace(Cz,"")}function Dp(t,e,r){if(e=wE(e),wE(t)!==e&&r)throw Error(Ze(425))}function Sg(){}var gb=null,_b=null;function yb(t,e){return t==="textarea"||t==="noscript"||typeof e.children=="string"||typeof e.children=="number"||typeof e.dangerouslySetInnerHTML=="object"&&e.dangerouslySetInnerHTML!==null&&e.dangerouslySetInnerHTML.__html!=null}var vb=typeof setTimeout=="function"?setTimeout:void 0,Oz=typeof clearTimeout=="function"?clearTimeout:void 0,EE=typeof Promise=="function"?Promise:void 0,Iz=typeof queueMicrotask=="function"?queueMicrotask:typeof EE<"u"?function(t){return EE.resolve(null).then(t).catch(Rz)}:vb;function Rz(t){setTimeout(function(){throw t})}function qy(t,e){var r=e,n=0;do{var i=r.nextSibling;if(t.removeChild(r),i&&i.nodeType===8)if(r=i.data,r==="/$"){if(n===0){t.removeChild(i),If(e);return}n--}else r!=="$"&&r!=="$?"&&r!=="$!"||n++;r=i}while(r);If(e)}function Ol(t){for(;t!=null;t=t.nextSibling){var e=t.nodeType;if(e===1||e===3)break;if(e===8){if(e=t.data,e==="$"||e==="$!"||e==="$?")break;if(e==="/$")return null}}return t}function SE(t){t=t.previousSibling;for(var e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="$"||r==="$!"||r==="$?"){if(e===0)return t;e--}else r==="/$"&&e++}t=t.previousSibling}return null}var $0=Math.random().toString(36).slice(2),Aa="__reactFiber$"+$0,Pf="__reactProps$"+$0,Eo="__reactContainer$"+$0,bb="__reactEvents$"+$0,Fz="__reactListeners$"+$0,Dz="__reactHandles$"+$0;function Mu(t){var e=t[Aa];if(e)return e;for(var r=t.parentNode;r;){if(e=r[Eo]||r[Aa]){if(r=e.alternate,e.child!==null||r!==null&&r.child!==null)for(t=SE(t);t!==null;){if(r=t[Aa])return r;t=SE(t)}return e}t=r,r=t.parentNode}return null}function sd(t){return t=t[Aa]||t[Eo],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function n0(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(Ze(33))}function m1(t){return t[Pf]||null}var wb=[],i0=-1;function Yl(t){return{current:t}}function Ur(t){0>i0||(t.current=wb[i0],wb[i0]=null,i0--)}function Fr(t,e){i0++,wb[i0]=t.current,t.current=e}var Ll={},Qn=Yl(Ll),Ei=Yl(!1),Bu=Ll;function N0(t,e){var r=t.type.contextTypes;if(!r)return Ll;var n=t.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===e)return n.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in r)i[s]=e[s];return n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Si(t){return t=t.childContextTypes,t!=null}function Tg(){Ur(Ei),Ur(Qn)}function TE(t,e,r){if(Qn.current!==Ll)throw Error(Ze(168));Fr(Qn,e),Fr(Ei,r)}function G9(t,e,r){var n=t.stateNode;if(e=e.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(Ze(108,yU(t)||"Unknown",i));return Qr({},r,n)}function xg(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Ll,Bu=Qn.current,Fr(Qn,t),Fr(Ei,Ei.current),!0}function xE(t,e,r){var n=t.stateNode;if(!n)throw Error(Ze(169));r?(t=G9(t,e,Bu),n.__reactInternalMemoizedMergedChildContext=t,Ur(Ei),Ur(Qn),Fr(Qn,t)):Ur(Ei),Fr(Ei,r)}var oo=null,g1=!1,Vy=!1;function $9(t){oo===null?oo=[t]:oo.push(t)}function Nz(t){g1=!0,$9(t)}function Kl(){if(!Vy&&oo!==null){Vy=!0;var t=0,e=yr;try{var r=oo;for(yr=1;t<r.length;t++){var n=r[t];do n=n(!0);while(n!==null)}oo=null,g1=!1}catch(i){throw oo!==null&&(oo=oo.slice(t+1)),g9(M4,Kl),i}finally{yr=e,Vy=!1}}return null}var s0=[],a0=0,kg=null,Ag=0,ms=[],gs=0,Uu=null,po=1,mo="";function Su(t,e){s0[a0++]=Ag,s0[a0++]=kg,kg=t,Ag=e}function q9(t,e,r){ms[gs++]=po,ms[gs++]=mo,ms[gs++]=Uu,Uu=t;
vendor: 14,420 bytes, line 39
39var n=po;t=mo;var i=32-ea(n)-1;n&=~(1<<i),r+=1;var s=32-ea(e)+i;if(30<s){var a=i-i%5;s=(n&(1<<a)-1).toString(32),n>>=a,i-=a,po=1<<32-ea(e)+i|r<<i|n,mo=s+t}else po=1<<s|r<<i|n,mo=t}function L4(t){t.return!==null&&(Su(t,1),q9(t,1,0))}function B4(t){for(;t===kg;)kg=s0[--a0],s0[a0]=null,Ag=s0[--a0],s0[a0]=null;for(;t===Uu;)Uu=ms[--gs],ms[gs]=null,mo=ms[--gs],ms[gs]=null,po=ms[--gs],ms[gs]=null}var Xi=null,Ki=null,Hr=!1,Ys=null;function V9(t,e){var r=ws(5,null,null,0);r.elementType="DELETED",r.stateNode=e,r.return=t,e=t.deletions,e===null?(t.deletions=[r],t.flags|=16):e.push(r)}function kE(t,e){switch(t.tag){case 5:var r=t.type;return e=e.nodeType!==1||r.toLowerCase()!==e.nodeName.toLowerCase()?null:e,e!==null?(t.stateNode=e,Xi=t,Ki=Ol(e.firstChild),!0):!1;case 6:return e=t.pendingProps===""||e.nodeType!==3?null:e,e!==null?(t.stateNode=e,Xi=t,Ki=null,!0):!1;case 13:return e=e.nodeType!==8?null:e,e!==null?(r=Uu!==null?{id:po,overflow:mo}:null,t.memoizedState={dehydrated:e,treeContext:r,retryLane:1073741824},r=ws(18,null,null,0),r.stateNode=e,r.return=t,t.child=r,Xi=t,Ki=null,!0):!1;default:return!1}}function Eb(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Sb(t){if(Hr){var e=Ki;if(e){var r=e;if(!kE(t,e)){if(Eb(t))throw Error(Ze(418));e=Ol(r.nextSibling);var n=Xi;e&&kE(t,e)?V9(n,r):(t.flags=t.flags&-4097|2,Hr=!1,Xi=t)}}else{if(Eb(t))throw Error(Ze(418));t.flags=t.flags&-4097|2,Hr=!1,Xi=t}}}function AE(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Xi=t}function Np(t){if(t!==Xi)return!1;if(!Hr)return AE(t),Hr=!0,!1;var e;if((e=t.tag!==3)&&!(e=t.tag!==5)&&(e=t.type,e=e!=="head"&&e!=="body"&&!yb(t.type,t.memoizedProps)),e&&(e=Ki)){if(Eb(t))throw Y9(),Error(Ze(418));for(;e;)V9(t,e),e=Ol(e.nextSibling)}if(AE(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(Ze(317));e:{for(t=t.nextSibling,e=0;t;){if(t.nodeType===8){var r=t.data;if(r==="/$"){if(e===0){Ki=Ol(t.nextSibling);break e}e--}else r!=="$"&&r!=="$!"&&r!=="$?"||e++}t=t.nextSibling}Ki=null}}else Ki=Xi?Ol(t.stateNode.nextSibling):null;return!0}function Y9(){for(var t=Ki;t;)t=Ol(t.nextSibling)}function P0(){Ki=Xi=null,Hr=!1}function U4(t){Ys===null?Ys=[t]:Ys.push(t)}var Pz=Ro.ReactCurrentBatchConfig;function Mh(t,e,r){if(t=r.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(Ze(309));var n=r.stateNode}if(!n)throw Error(Ze(147,t));var i=n,s=""+t;return e!==null&&e.ref!==null&&typeof e.ref=="function"&&e.ref._stringRef===s?e.ref:(e=function(a){var l=i.refs;a===null?delete l[s]:l[s]=a},e._stringRef=s,e)}if(typeof t!="string")throw Error(Ze(284));if(!r._owner)throw Error(Ze(290,t))}return t}function Pp(t,e){throw t=Object.prototype.toString.call(e),Error(Ze(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function ME(t){var e=t._init;return e(t._payload)}function K9(t){function e(S,M){if(t){var F=S.deletions;F===null?(S.deletions=[M],S.flags|=16):F.push(M)}}function r(S,M){if(!t)return null;for(;M!==null;)e(S,M),M=M.sibling;return null}function n(S,M){for(S=new Map;M!==null;)M.key!==null?S.set(M.key,M):S.set(M.index,M),M=M.sibling;return S}function i(S,M){return S=Dl(S,M),S.index=0,S.sibling=null,S}function s(S,M,F){return S.index=F,t?(F=S.alternate,F!==null?(F=F.index,F<M?(S.flags|=2,M):F):(S.flags|=2,M)):(S.flags|=1048576,M)}function a(S){return t&&S.alternate===null&&(S.flags|=2),S}function l(S,M,F,G){return M===null||M.tag!==6?(M=ev(F,S.mode,G),M.return=S,M):(M=i(M,F),M.return=S,M)}function u(S,M,F,G){var X=F.type;return X===Zc?d(S,M,F.props.children,G,F.key):M!==null&&(M.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===pl&&ME(X)===M.type)?(G=i(M,F.props),G.ref=Mh(S,M,F),G.return=S,G):(G=ym(F.type,F.key,F.props,null,S.mode,G),G.ref=Mh(S,M,F),G.return=S,G)}function p(S,M,F,G){return M===null||M.tag!==4||M.stateNode.containerInfo!==F.containerInfo||M.stateNode.implementation!==F.implementation?(M=tv(F,S.mode,G),M.return=S,M):(M=i(M,F.children||[]),M.return=S,M)}function d(S,M,F,G,X){return M===null||M.tag!==7?(M=Nu(F,S.mode,G,X),M.return=S,M):(M=i(M,F),M.return=S,M)}function g(S,M,F){if(typeof M=="string"&&M!==""||typeof M=="number")return M=ev(""+M,S.mode,F),M.return=S,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case xp:return F=ym(M.type,M.key,M.props,null,S.mode,F),F.ref=Mh(S,null,M),F.return=S,F;case Jc:return M=tv(M,S.mode,F),M.return=S,M;case pl:var G=M._init;return g(S,G(M._payload),F)}if(Vh(M)||Sh(M))return M=Nu(M,S.mode,F,null),M.return=S,M;Pp(S,M)}return null}function _(S,M,F,G){var X=M!==null?M.key:null;if(typeof F=="string"&&F!==""||typeof F=="number")return X!==null?null:l(S,M,""+F,G);if(typeof F=="object"&&F!==null){switch(F.$$typeof){case xp:return F.key===X?u(S,M,F,G):null;case Jc:return F.key===X?p(S,M,F,G):null;case pl:return X=F._init,_(S,M,X(F._payload),G)}if(Vh(F)||Sh(F))return X!==null?null:d(S,M,F,G,null);Pp(S,F)}return null}function v(S,M,F,G,X){if(typeof G=="string"&&G!==""||typeof G=="number")return S=S.get(F)||null,l(M,S,""+G,X);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case xp:return S=S.get(G.key===null?F:G.key)||null,u(M,S,G,X);case Jc:return S=S.get(G.key===null?F:G.key)||null,p(M,S,G,X);case pl:var z=G._init;return v(S,M,F,z(G._payload),X)}if(Vh(G)||Sh(G))return S=S.get(F)||null,d(M,S,G,X,null);Pp(M,G)}return null}function k(S,M,F,G){for(var X=null,z=null,R=M,H=M=0,re=null;R!==null&&H<F.length;H++){R.index>H?(re=R,R=null):re=R.sibling;var ie=_(S,R,F[H],G);if(ie===null){R===null&&(R=re);break}t&&R&&ie.alternate===null&&e(S,R),M=s(ie,M,H),z===null?X=ie:z.sibling=ie,z=ie,R=re}if(H===F.length)return r(S,R),Hr&&Su(S,H),X;if(R===null){for(;H<F.length;H++)R=g(S,F[H],G),R!==null&&(M=s(R,M,H),z===null?X=R:z.sibling=R,z=R);return Hr&&Su(S,H),X}for(R=n(S,R);H<F.length;H++)re=v(R,S,H,F[H],G),re!==null&&(t&&re.alternate!==null&&R.delete(re.key===null?H:re.key),M=s(re,M,H),z===null?X=re:z.sibling=re,z=re);return t&&R.forEach(function(q){return e(S,q)}),Hr&&Su(S,H),X}function O(S,M,F,G){var X=Sh(F);if(typeof X!="function")throw Error(Ze(150));if(F=X.call(F),F==null)throw Error(Ze(151));for(var z=X=null,R=M,H=M=0,re=null,ie=F.next();R!==null&&!ie.done;H++,ie=F.next()){R.index>H?(re=R,R=null):re=R.sibling;var q=_(S,R,ie.value,G);if(q===null){R===null&&(R=re);break}t&&R&&q.alternate===null&&e(S,R),M=s(q,M,H),z===null?X=q:z.sibling=q,z=q,R=re}if(ie.done)return r(S,R),Hr&&Su(S,H),X;if(R===null){for(;!ie.done;H++,ie=F.next())ie=g(S,ie.value,G),ie!==null&&(M=s(ie,M,H),z===null?X=ie:z.sibling=ie,z=ie);return Hr&&Su(S,H),X}for(R=n(S,R);!ie.done;H++,ie=F.next())ie=v(R,S,H,ie.value,G),ie!==null&&(t&&ie.alternate!==null&&R.delete(ie.key===null?H:ie.key),M=s(ie,M,H),z===null?X=ie:z.sibling=ie,z=ie);return t&&R.forEach(function(Y){return e(S,Y)}),Hr&&Su(S,H),X}function N(S,M,F,G){if(typeof F=="object"&&F!==null&&F.type===Zc&&F.key===null&&(F=F.props.children),typeof F=="object"&&F!==null){switch(F.$$typeof){case xp:e:{for(var X=F.key,z=M;z!==null;){if(z.key===X){if(X=F.type,X===Zc){if(z.tag===7){r(S,z.sibling),M=i(z,F.props.children),M.return=S,S=M;break e}}else if(z.elementType===X||typeof X=="object"&&X!==null&&X.$$typeof===pl&&ME(X)===z.type){r(S,z.sibling),M=i(z,F.props),M.ref=Mh(S,z,F),M.return=S,S=M;break e}r(S,z);break}else e(S,z);z=z.sibling}F.type===Zc?(M=Nu(F.props.children,S.mode,G,F.key),M.return=S,S=M):(G=ym(F.type,F.key,F.props,null,S.mode,G),G.ref=Mh(S,M,F),G.return=S,S=G)}return a(S);case Jc:e:{for(z=F.key;M!==null;){if(M.key===z)if(M.tag===4&&M.stateNode.containerInfo===F.containerInfo&&M.stateNode.implementation===F.implementation){r(S,M.sibling),M=i(M,F.children||[]),M.return=S,S=M;break e}else{r(S,M);break}else e(S,M);M=M.sibling}M=tv(F,S.mode,G),M.return=S,S=M}return a(S);case pl:return z=F._init,N(S,M,z(F._payload),G)}if(Vh(F))return k(S,M,F,G);if(Sh(F))return O(S,M,F,G);Pp(S,F)}return typeof F=="string"&&F!==""||typeof F=="number"?(F=""+F,M!==null&&M.tag===6?(r(S,M.sibling),M=i(M,F),M.return=S,S=M):(r(S,M),M=ev(F,S.mode,G),M.return=S,S=M),a(S)):r(S,M)}return N}var L0=K9(!0),X9=K9(!1),Mg=Yl(null),Cg=null,o0=null,z4=null;function j4(){z4=o0=Cg=null}function H4(t){var e=Mg.current;Ur(Mg),t._currentValue=e}function Tb(t,e,r){for(;t!==null;){var n=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,n!==null&&(n.childLanes|=e)):n!==null&&(n.childLanes&e)!==e&&(n.childLanes|=e),t===r)break;t=t.return}}function E0(t,e){Cg=t,z4=o0=null,t=t.dependencies,t!==null&&t.firstContext!==null&&(t.lanes&e&&(wi=!0),t.firstContext=null)}function Cs(t){var e=t._currentValue;if(z4!==t)if(t={context:t,memoizedValue:e,next:null},o0===null){if(Cg===null)throw Error(Ze(308));o0=t,Cg.dependencies={lanes:0,firstContext:t}}else o0=o0.next=t;return e}var Cu=null;function W4(t){Cu===null?Cu=[t]:Cu.push(t)}function Q9(t,e,r,n){var i=e.interleaved;return i===null?(r.next=r,W4(e)):(r.next=i.next,i.next=r),e.interleaved=r,So(t,n)}function So(t,e){t.lanes|=e;var r=t.alternate;for(r!==null&&(r.lanes|=e),r=t,t=t.return;t!==null;)t.childLanes|=e,r=t.alternate,r!==null&&(r.childLanes|=e),r=t,t=t.return;return r.tag===3?r.stateNode:null}var ml=!1;function G4(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function J9(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function _o(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Il(t,e,r){var n=t.updateQueue;if(n===null)return null;if(n=n.shared,lr&2){var i=n.pending;return i===null?e.next=e:(e.next=i.next,i.next=e),n.pending=e,So(t,r)}return i=n.interleaved,i===null?(e.next=e,W4(n)):(e.next=i.next,i.next=e),n.interleaved=e,So(t,r)}function fm(t,e,r){if(e=e.updateQueue,e!==null&&(e=e.shared,(r&4194240)!==0)){var n=e.lanes;n&=t.pendingLanes,r|=n,e.lanes=r,C4(t,r)}}function CE(t,e){var r=t.updateQueue,n=t.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,s=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};s===null?i=s=a:s=s.next=a,r=r.next}while(r!==null);s===null?i=s=e:s=s.next=e}else i=s=e;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:s,shared:n.shared,effects:n.effects},t.updateQueue=r;return}t=r.lastBaseUpdate,t===null?r.firstBaseUpdate=e:t.next=e,r.lastBaseUpdate=e}function Og(t,e,r,n){var i=t.updateQueue;ml=!1;var s=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var u=l,p=u.next;u.next=null,a===null?s=p:a.next=p,a=u;var d=t.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==a&&(l===null?d.firstBaseUpdate=p:l.next=p,d.lastBaseUpdate=u))}if(s!==null){var g=i.baseState;a=0,d=p=u=null,l=s;do{var _=l.lane,v=l.eventTime;if((n&_)===_){d!==null&&(d=d.next={eventTime:v,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var k=t,O=l;switch(_=e,v=r,O.tag){case 1:if(k=O.payload,typeof k=="function"){g=k.call(v,g,_);break e}g=k;break e;case 3:k.flags=k.flags&-65537|128;case 0:if(k=O.payload,_=typeof k=="function"?k.call(v,g,_):k,_==null)break e;g=Qr({},g,_);break e;case 2:ml=!0}}l.callback!==null&&l.lane!==0&&(t.flags|=64,_=i.effects,_===null?i.effects=[l]:_.push(l))}else v={eventTime:v,lane:_,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(p=d=v,u=g):d=d.next=v,a|=_;if(l=l.next,l===null){if(l=i.shared.pending,l===null)break;_=l,l=_.next,_.next=null,i.lastBaseUpdate=_,i.shared.pending=null}}while(!0);if(d===null&&(u=g),i.baseState=u,i.firstBaseUpdate=p,i.lastBaseUpdate=d,e=i.shared.interleaved,e!==null){i=e;do a|=i.lane,i=i.next;while(i!==e)}else s===null&&(i.shared.lanes=0);ju|=a,t.lanes=a,t.memoizedState=g}}function OE(t,e,r){if(t=e.effects,e.effects=null,t!==null)for(e=0;e<t.length;e++){var n=t[e],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(Ze(191,i));i.call(n)}}}var ad={},Da=Yl(ad),Lf=Yl(ad),Bf=Yl(ad);function Ou(t){if(t===ad)throw Error(Ze(174));return t}function $4(t,e){switch(Fr(Bf,e),Fr(Lf,t),Fr(Da,ad),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:ib(null,"");break;default:t=t===8?e.parentNode:e,e=t.namespaceURI||null,t=t.tagName,e=ib(e,t)}Ur(Da),Fr(Da,e)}function B0(){Ur(Da),Ur(Lf),Ur(Bf)}function Z9(t){Ou(Bf.current);var e=Ou(Da.current),r=ib(e,t.type);e!==r&&(Fr(Lf,t),Fr(Da,r))}function q4(t){Lf.current===t&&(Ur(Da),Ur(Lf))}var Yr=Yl(0);function Ig(t){for(var e=t;e!==null;){if(e.tag===13){var r=e.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return e}else if(e.tag===19&&e.memoizedProps.revealOrder!==void 0){if(e.flags&128)return e}else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var Yy=[];function V4(){for(var t=0;t<Yy.length;t++)Yy[t]._workInProgressVersionPrimary=null;Yy.length=0}var dm=Ro.ReactCurrentDispatcher,Ky=Ro.ReactCurrentBatchConfig,zu=0,Xr=null,En=null,Cn=null,Rg=!1,of=!1,Uf=0,Lz=0;function $n(){throw Error(Ze(321))}function Y4(t,e){if(e===null)return!1;for(var r=0;r<e.length&&r<t.length;r++)if(!na(t[r],e[r]))return!1;return!0}function K4(t,e,r,n,i,s){if(zu=s,Xr=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,dm.current=t===null||t.memoizedState===null?jz:Hz,t=r(n,i),of){s=0;do{if(of=!1,Uf=0,25<=s)throw Error(Ze(301));s+=1,Cn=En=null,e.updateQueue=null,dm.current=Wz,t=r(n,i)}while(of)}if(dm.current=Fg,e=En!==null&&En.next!==null,zu=0,Cn=En=Xr=null,Rg=!1,e)throw Error(Ze(300));return t}function X4(){var t=Uf!==0;return Uf=0,t}function Sa(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Cn===null?Xr.memoizedState=Cn=t:Cn=Cn.next=t,Cn}function Os(){if(En===null){var t=Xr.alternate;t=t!==null?t.memoizedState:null}else t=En.next;var e=Cn===null?Xr.memoizedState:Cn.next;if(e!==null)Cn=e,En=t;else{if(t===null)throw Error(Ze(310));En=t,t={memoizedState:En.memoizedState,baseState:En.baseState,baseQueue:En.baseQueue,queue:En.queue,next:null},Cn===null?Xr.memoizedState=Cn=t:Cn=Cn.next=t}return Cn}function zf(t,e){return typeof e=="function"?e(t):e}function Xy(t){var e=Os(),r=e.queue;if(r===null)throw Error(Ze(311));r.lastRenderedReducer=t;
vendor: 4,651 bytes, line 39
39var n=En,i=n.baseQueue,s=r.pending;if(s!==null){if(i!==null){var a=i.next;i.next=s.next,s.next=a}n.baseQueue=i=s,r.pending=null}if(i!==null){s=i.next,n=n.baseState;var l=a=null,u=null,p=s;do{var d=p.lane;if((zu&d)===d)u!==null&&(u=u.next={lane:0,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null}),n=p.hasEagerState?p.eagerState:t(n,p.action);else{var g={lane:d,action:p.action,hasEagerState:p.hasEagerState,eagerState:p.eagerState,next:null};u===null?(l=u=g,a=n):u=u.next=g,Xr.lanes|=d,ju|=d}p=p.next}while(p!==null&&p!==s);u===null?a=n:u.next=l,na(n,e.memoizedState)||(wi=!0),e.memoizedState=n,e.baseState=a,e.baseQueue=u,r.lastRenderedState=n}if(t=r.interleaved,t!==null){i=t;do s=i.lane,Xr.lanes|=s,ju|=s,i=i.next;while(i!==t)}else i===null&&(r.lanes=0);return[e.memoizedState,r.dispatch]}function Qy(t){var e=Os(),r=e.queue;if(r===null)throw Error(Ze(311));r.lastRenderedReducer=t;var n=r.dispatch,i=r.pending,s=e.memoizedState;if(i!==null){r.pending=null;var a=i=i.next;do s=t(s,a.action),a=a.next;while(a!==i);na(s,e.memoizedState)||(wi=!0),e.memoizedState=s,e.baseQueue===null&&(e.baseState=s),r.lastRenderedState=s}return[s,n]}function ek(){}function tk(t,e){var r=Xr,n=Os(),i=e(),s=!na(n.memoizedState,i);if(s&&(n.memoizedState=i,wi=!0),n=n.queue,Q4(ik.bind(null,r,n,t),[t]),n.getSnapshot!==e||s||Cn!==null&&Cn.memoizedState.tag&1){if(r.flags|=2048,jf(9,nk.bind(null,r,n,i,e),void 0,null),In===null)throw Error(Ze(349));zu&30||rk(r,e,i)}return i}function rk(t,e,r){t.flags|=16384,t={getSnapshot:e,value:r},e=Xr.updateQueue,e===null?(e={lastEffect:null,stores:null},Xr.updateQueue=e,e.stores=[t]):(r=e.stores,r===null?e.stores=[t]:r.push(t))}function nk(t,e,r,n){e.value=r,e.getSnapshot=n,sk(e)&&ak(t)}function ik(t,e,r){return r(function(){sk(e)&&ak(t)})}function sk(t){var e=t.getSnapshot;t=t.value;try{var r=e();return!na(t,r)}catch{return!0}}function ak(t){var e=So(t,1);e!==null&&ta(e,t,1,-1)}function IE(t){var e=Sa();return typeof t=="function"&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:zf,lastRenderedState:t},e.queue=t,t=t.dispatch=zz.bind(null,Xr,t),[e.memoizedState,t]}function jf(t,e,r,n){return t={tag:t,create:e,destroy:r,deps:n,next:null},e=Xr.updateQueue,e===null?(e={lastEffect:null,stores:null},Xr.updateQueue=e,e.lastEffect=t.next=t):(r=e.lastEffect,r===null?e.lastEffect=t.next=t:(n=r.next,r.next=t,t.next=n,e.lastEffect=t)),t}function ok(){return Os().memoizedState}function pm(t,e,r,n){var i=Sa();Xr.flags|=t,i.memoizedState=jf(1|e,r,void 0,n===void 0?null:n)}function _1(t,e,r,n){var i=Os();n=n===void 0?null:n;var s=void 0;if(En!==null){var a=En.memoizedState;if(s=a.destroy,n!==null&&Y4(n,a.deps)){i.memoizedState=jf(e,r,s,n);return}}Xr.flags|=t,i.memoizedState=jf(1|e,r,s,n)}function RE(t,e){return pm(8390656,8,t,e)}function Q4(t,e){return _1(2048,8,t,e)}function lk(t,e){return _1(4,2,t,e)}function uk(t,e){return _1(4,4,t,e)}function ck(t,e){if(typeof e=="function")return t=t(),e(t),function(){e(null)};if(e!=null)return t=t(),e.current=t,function(){e.current=null}}function hk(t,e,r){return r=r!=null?r.concat([t]):null,_1(4,4,ck.bind(null,e,t),r)}function J4(){}function fk(t,e){var r=Os();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&Y4(e,n[1])?n[0]:(r.memoizedState=[t,e],t)}function dk(t,e){var r=Os();e=e===void 0?null:e;var n=r.memoizedState;return n!==null&&e!==null&&Y4(e,n[1])?n[0]:(t=t(),r.memoizedState=[t,e],t)}function pk(t,e,r){return zu&21?(na(r,e)||(r=v9(),Xr.lanes|=r,ju|=r,t.baseState=!0),e):(t.baseState&&(t.baseState=!1,wi=!0),t.memoizedState=r)}function Bz(t,e){var r=yr;yr=r!==0&&4>r?r:4,t(!0);var n=Ky.transition;Ky.transition={};try{t(!1),e()}finally{yr=r,Ky.transition=n}}function mk(){return Os().memoizedState}function Uz(t,e,r){var n=Fl(t);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},gk(t))_k(e,r);else if(r=Q9(t,e,r,n),r!==null){var i=oi();ta(r,t,n,i),yk(r,e,n)}}function zz(t,e,r){var n=Fl(t),i={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(gk(t))_k(e,i);else{var s=t.alternate;if(t.lanes===0&&(s===null||s.lanes===0)&&(s=e.lastRenderedReducer,s!==null))try{var a=e.lastRenderedState,l=s(a,r);if(i.hasEagerState=!0,i.eagerState=l,na(l,a)){var u=e.interleaved;u===null?(i.next=i,W4(e)):(i.next=u.next,u.next=i),e.interleaved=i;return}}catch{}finally{}r=Q9(t,e,i,n),r!==null&&(i=oi(),ta(r,t,n,i),yk(r,e,n))}}function gk(t){var e=t.alternate;return t===Xr||e!==null&&e===Xr}function _k(t,e){of=Rg=!0;var r=t.pending;r===null?e.next=e:(e.next=r.next,r.next=e),t.pending=e}function yk(t,e,r){if(r&4194240){var n=e.lanes;
vendor: 6,094 bytes, lines 39-41
39n&=t.pendingLanes,r|=n,e.lanes=r,C4(t,r)}}var Fg={readContext:Cs,useCallback:$n,useContext:$n,useEffect:$n,useImperativeHandle:$n,useInsertionEffect:$n,useLayoutEffect:$n,useMemo:$n,useReducer:$n,useRef:$n,useState:$n,useDebugValue:$n,useDeferredValue:$n,useTransition:$n,useMutableSource:$n,useSyncExternalStore:$n,useId:$n,unstable_isNewReconciler:!1},jz={readContext:Cs,useCallback:function(t,e){return Sa().memoizedState=[t,e===void 0?null:e],t},useContext:Cs,useEffect:RE,useImperativeHandle:function(t,e,r){return r=r!=null?r.concat([t]):null,pm(4194308,4,ck.bind(null,e,t),r)},useLayoutEffect:function(t,e){return pm(4194308,4,t,e)},useInsertionEffect:function(t,e){return pm(4,2,t,e)},useMemo:function(t,e){var r=Sa();return e=e===void 0?null:e,t=t(),r.memoizedState=[t,e],t},useReducer:function(t,e,r){var n=Sa();return e=r!==void 0?r(e):e,n.memoizedState=n.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},n.queue=t,t=t.dispatch=Uz.bind(null,Xr,t),[n.memoizedState,t]},useRef:function(t){var e=Sa();return t={current:t},e.memoizedState=t},useState:IE,useDebugValue:J4,useDeferredValue:function(t){return Sa().memoizedState=t},useTransition:function(){var t=IE(!1),e=t[0];return t=Bz.bind(null,t[1]),Sa().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,r){var n=Xr,i=Sa();if(Hr){if(r===void 0)throw Error(Ze(407));r=r()}else{if(r=e(),In===null)throw Error(Ze(349));zu&30||rk(n,e,r)}i.memoizedState=r;var s={value:r,getSnapshot:e};return i.queue=s,RE(ik.bind(null,n,s,t),[t]),n.flags|=2048,jf(9,nk.bind(null,n,s,r,e),void 0,null),r},useId:function(){var t=Sa(),e=In.identifierPrefix;if(Hr){var r=mo,n=po;r=(n&~(1<<32-ea(n)-1)).toString(32)+r,e=":"+e+"R"+r,r=Uf++,0<r&&(e+="H"+r.toString(32)),e+=":"}else r=Lz++,e=":"+e+"r"+r.toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},Hz={readContext:Cs,useCallback:fk,useContext:Cs,useEffect:Q4,useImperativeHandle:hk,useInsertionEffect:lk,useLayoutEffect:uk,useMemo:dk,useReducer:Xy,useRef:ok,useState:function(){return Xy(zf)},useDebugValue:J4,useDeferredValue:function(t){var e=Os();return pk(e,En.memoizedState,t)},useTransition:function(){var t=Xy(zf)[0],e=Os().memoizedState;return[t,e]},useMutableSource:ek,useSyncExternalStore:tk,useId:mk,unstable_isNewReconciler:!1},Wz={readContext:Cs,useCallback:fk,useContext:Cs,useEffect:Q4,useImperativeHandle:hk,useInsertionEffect:lk,useLayoutEffect:uk,useMemo:dk,useReducer:Qy,useRef:ok,useState:function(){return Qy(zf)},useDebugValue:J4,useDeferredValue:function(t){var e=Os();return En===null?e.memoizedState=t:pk(e,En.memoizedState,t)},useTransition:function(){var t=Qy(zf)[0],e=Os().memoizedState;return[t,e]},useMutableSource:ek,useSyncExternalStore:tk,useId:mk,unstable_isNewReconciler:!1};function Gs(t,e){if(t&&t.defaultProps){e=Qr({},e),t=t.defaultProps;for(var r in t)e[r]===void 0&&(e[r]=t[r]);return e}return e}function xb(t,e,r,n){e=t.memoizedState,r=r(n,e),r=r==null?e:Qr({},e,r),t.memoizedState=r,t.lanes===0&&(t.updateQueue.baseState=r)}var y1={isMounted:function(t){return(t=t._reactInternals)?Yu(t)===t:!1},enqueueSetState:function(t,e,r){t=t._reactInternals;var n=oi(),i=Fl(t),s=_o(n,i);s.payload=e,r!=null&&(s.callback=r),e=Il(t,s,i),e!==null&&(ta(e,t,i,n),fm(e,t,i))},enqueueReplaceState:function(t,e,r){t=t._reactInternals;var n=oi(),i=Fl(t),s=_o(n,i);s.tag=1,s.payload=e,r!=null&&(s.callback=r),e=Il(t,s,i),e!==null&&(ta(e,t,i,n),fm(e,t,i))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var r=oi(),n=Fl(t),i=_o(r,n);i.tag=2,e!=null&&(i.callback=e),e=Il(t,i,n),e!==null&&(ta(e,t,n,r),fm(e,t,n))}};function FE(t,e,r,n,i,s,a){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(n,s,a):e.prototype&&e.prototype.isPureReactComponent?!Ff(r,n)||!Ff(i,s):!0}function vk(t,e,r){var n=!1,i=Ll,s=e.contextType;return typeof s=="object"&&s!==null?s=Cs(s):(i=Si(e)?Bu:Qn.current,n=e.contextTypes,s=(n=n!=null)?N0(t,i):Ll),e=new e(r,s),t.memoizedState=e.state!==null&&e.state!==void 0?e.state:null,e.updater=y1,t.stateNode=e,e._reactInternals=t,n&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=s),e}function DE(t,e,r,n){t=e.state,typeof e.componentWillReceiveProps=="function"&&e.componentWillReceiveProps(r,n),typeof e.UNSAFE_componentWillReceiveProps=="function"&&e.UNSAFE_componentWillReceiveProps(r,n),e.state!==t&&y1.enqueueReplaceState(e,e.state,null)}function kb(t,e,r,n){var i=t.stateNode;i.props=r,i.state=t.memoizedState,i.refs={},G4(t);var s=e.contextType;typeof s=="object"&&s!==null?i.context=Cs(s):(s=Si(e)?Bu:Qn.current,i.context=N0(t,s)),i.state=t.memoizedState,s=e.getDerivedStateFromProps,typeof s=="function"&&(xb(t,e,s,r),i.state=t.memoizedState),typeof e.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(e=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),e!==i.state&&y1.enqueueReplaceState(i,i.state,null),Og(t,r,i,n),i.state=t.memoizedState),typeof i.componentDidMount=="function"&&(t.flags|=4194308)}function U0(t,e){try{var r="",n=e;do r+=_U(n),n=n.return;while(n);var i=r}catch(s){i=` 40Error generating stack: `+s.message+` 41`+s.stack}return{value:t,source:e,stack:i,digest:null}}function Jy(t,e,r){return{value:t,source:null,stack:r??null,digest:e??null}}function Ab(t,e){try{console.error(e.value)}catch(r){setTimeout(function(){throw r})}}var Gz=typeof WeakMap=="function"?WeakMap:Map;function bk(t,e,r){r=_o(-1,r),r.tag=3,r.payload={element:null};var n=e.value;return r.callback=function(){Ng||(Ng=!0,Lb=n),Ab(t,e)},r}function wk(t,e,r){r=_o(-1,r),r.tag=3;var n=t.type.getDerivedStateFromError;if(typeof n=="function"){var i=e.value;r.payload=function(){return n(i)},r.callback=function(){Ab(t,e)}}var s=t.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){Ab(t,e),t
vendor: 7,089 bytes, line 41
41ypeof n!="function"&&(Rl===null?Rl=new Set([this]):Rl.add(this));var a=e.stack;this.componentDidCatch(e.value,{componentStack:a!==null?a:""})}),r}function NE(t,e,r){var n=t.pingCache;if(n===null){n=t.pingCache=new Gz;var i=new Set;n.set(e,i)}else i=n.get(e),i===void 0&&(i=new Set,n.set(e,i));i.has(r)||(i.add(r),t=ij.bind(null,t,e,r),e.then(t,t))}function PE(t){do{var e;if((e=t.tag===13)&&(e=t.memoizedState,e=e!==null?e.dehydrated!==null:!0),e)return t;t=t.return}while(t!==null);return null}function LE(t,e,r,n,i){return t.mode&1?(t.flags|=65536,t.lanes=i,t):(t===e?t.flags|=65536:(t.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(e=_o(-1,1),e.tag=2,Il(r,e,1))),r.lanes|=1),t)}var $z=Ro.ReactCurrentOwner,wi=!1;function ii(t,e,r,n){e.child=t===null?X9(e,null,r,n):L0(e,t.child,r,n)}function BE(t,e,r,n,i){r=r.render;var s=e.ref;return E0(e,i),n=K4(t,e,r,n,s,i),r=X4(),t!==null&&!wi?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,To(t,e,i)):(Hr&&r&&L4(e),e.flags|=1,ii(t,e,n,i),e.child)}function UE(t,e,r,n,i){if(t===null){var s=r.type;return typeof s=="function"&&!a3(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(e.tag=15,e.type=s,Ek(t,e,s,n,i)):(t=ym(r.type,null,n,e,e.mode,i),t.ref=e.ref,t.return=e,e.child=t)}if(s=t.child,!(t.lanes&i)){var a=s.memoizedProps;if(r=r.compare,r=r!==null?r:Ff,r(a,n)&&t.ref===e.ref)return To(t,e,i)}return e.flags|=1,t=Dl(s,n),t.ref=e.ref,t.return=e,e.child=t}function Ek(t,e,r,n,i){if(t!==null){var s=t.memoizedProps;if(Ff(s,n)&&t.ref===e.ref)if(wi=!1,e.pendingProps=n=s,(t.lanes&i)!==0)t.flags&131072&&(wi=!0);else return e.lanes=t.lanes,To(t,e,i)}return Mb(t,e,r,n,i)}function Sk(t,e,r){var n=e.pendingProps,i=n.children,s=t!==null?t.memoizedState:null;if(n.mode==="hidden")if(!(e.mode&1))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Fr(u0,Vi),Vi|=r;else{if(!(r&1073741824))return t=s!==null?s.baseLanes|r:r,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Fr(u0,Vi),Vi|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=s!==null?s.baseLanes:r,Fr(u0,Vi),Vi|=n}else s!==null?(n=s.baseLanes|r,e.memoizedState=null):n=r,Fr(u0,Vi),Vi|=n;return ii(t,e,i,r),e.child}function Tk(t,e){var r=e.ref;(t===null&&r!==null||t!==null&&t.ref!==r)&&(e.flags|=512,e.flags|=2097152)}function Mb(t,e,r,n,i){var s=Si(r)?Bu:Qn.current;return s=N0(e,s),E0(e,i),r=K4(t,e,r,n,s,i),n=X4(),t!==null&&!wi?(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,To(t,e,i)):(Hr&&n&&L4(e),e.flags|=1,ii(t,e,r,i),e.child)}function zE(t,e,r,n,i){if(Si(r)){var s=!0;xg(e)}else s=!1;if(E0(e,i),e.stateNode===null)mm(t,e),vk(e,r,n),kb(e,r,n,i),n=!0;else if(t===null){var a=e.stateNode,l=e.memoizedProps;a.props=l;var u=a.context,p=r.contextType;typeof p=="object"&&p!==null?p=Cs(p):(p=Si(r)?Bu:Qn.current,p=N0(e,p));var d=r.getDerivedStateFromProps,g=typeof d=="function"||typeof a.getSnapshotBeforeUpdate=="function";g||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==n||u!==p)&&DE(e,a,n,p),ml=!1;var _=e.memoizedState;a.state=_,Og(e,n,a,i),u=e.memoizedState,l!==n||_!==u||Ei.current||ml?(typeof d=="function"&&(xb(e,r,d,n),u=e.memoizedState),(l=ml||FE(e,r,l,n,_,u,p))?(g||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(e.flags|=4194308)):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),e.memoizedProps=n,e.memoizedState=u),a.props=n,a.state=u,a.context=p,n=l):(typeof a.componentDidMount=="function"&&(e.flags|=4194308),n=!1)}else{a=e.stateNode,J9(t,e),l=e.memoizedProps,p=e.type===e.elementType?l:Gs(e.type,l),a.props=p,g=e.pendingProps,_=a.context,u=r.contextType,typeof u=="object"&&u!==null?u=Cs(u):(u=Si(r)?Bu:Qn.current,u=N0(e,u));var v=r.getDerivedStateFromProps;(d=typeof v=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==g||_!==u)&&DE(e,a,n,u),ml=!1,_=e.memoizedState,a.state=_,Og(e,n,a,i);var k=e.memoizedState;l!==g||_!==k||Ei.current||ml?(typeof v=="function"&&(xb(e,r,v,n),k=e.memoizedState),(p=ml||FE(e,r,p,n,_,k,u)||!1)?(d||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,k,u),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,k,u)),typeof a.componentDidUpdate=="function"&&(e.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(e.flags|=1024)):(typeof a.componentDidUpdate!="function"||l===t.memoizedProps&&_===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&_===t.memoizedState||(e.flags|=1024),e.memoizedProps=n,e.memoizedState=k),a.props=n,a.state=k,a.context=u,n=p):(typeof a.componentDidUpdate!="function"||l===t.memoizedProps&&_===t.memoizedState||(e.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===t.memoizedProps&&_===t.memoizedState||(e.flags|=1024),n=!1)}return Cb(t,e,r,n,s,i)}function Cb(t,e,r,n,i,s){Tk(t,e);var a=(e.flags&128)!==0;if(!n&&!a)return i&&xE(e,r,!1),To(t,e,s);n=e.stateNode,$z.current=e;var l=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return e.flags|=1,t!==null&&a?(e.child=L0(e,t.child,null,s),e.child=L0(e,null,l,s)):ii(t,e,l,s),e.memoizedState=n.state,i&&xE(e,r,!0),e.child}function xk(t){var e=t.stateNode;e.pendingContext?TE(t,e.pendingContext,e.pendingContext!==e.context):e.context&&TE(t,e.context,!1),$4(t,e.containerInfo)}function jE(t,e,r,n,i){return P0(),U4(i),e.flags|=256,ii(t,e,r,n),e.child}var Ob={dehydrated:null,treeContext:null,retryLane:0};function Ib(t){return{baseLanes:t,cachePool:null,transitions:null}}function kk(t,e,r){var n=e.pendingProps,i=Yr.current,s=!1,a=(e.flags&128)!==0,l;if((l=a)||(l=t!==null&&t.memoizedState===null?!1:(i&2)!==0),l?(s=!0,e.flags&=-129):(t===null||t.memoizedState!==null)&&(i|=1),Fr(Yr,i&1),t===null)return Sb(e),t=e.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?(e.mode&1?t.data==="$!"?e.lanes=8:e.lanes=1073741824:e.lanes=1,null):(a=n.children,t=n.fallback,s?(n=e.mode,s=e.child,a={mode:"hidden",children:a},!(n&1)&&s!==null?(s.childLanes=0,s.pendingProps=a):s=w1(a,n,0,null),t=Nu(t,n,r,null),s.return=e,t.return=e,s.sibling=t,e.child=s,e.child.memoizedState=Ib(r),e.memoizedState=Ob,t):Z4(e,a));if(i=t.memoizedState,i!==null&&(l=i.dehydrated,l!==null))return qz(t,e,a,n,l,i,r);if(s){s=n.fallback,a=e.mode,i=t.child,l=i.sibling;var u={mode:"hidden",children:n.children};return!(a&1)&&e.child!==i?(n=e.child,n.childLanes=0,n.pendingProps=u,e.deletions=null):(n=Dl(i,u),n.subtreeFlags=i.subtreeFlags&14680064),l!==null?s=Dl(l,s):(s=Nu(s,a,r,null),s.flags|=2),s.return=e,n.return=e,n.sibling=s,e.child=n,n=s,s=e.child,a=t.child.memoizedState,a=a===null?Ib(r):{base
vendor: 7,079 bytes, line 41
41Lanes:a.baseLanes|r,cachePool:null,transitions:a.transitions},s.memoizedState=a,s.childLanes=t.childLanes&~r,e.memoizedState=Ob,n}return s=t.child,t=s.sibling,n=Dl(s,{mode:"visible",children:n.children}),!(e.mode&1)&&(n.lanes=r),n.return=e,n.sibling=null,t!==null&&(r=e.deletions,r===null?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n,e.memoizedState=null,n}function Z4(t,e){return e=w1({mode:"visible",children:e},t.mode,0,null),e.return=t,t.child=e}function Lp(t,e,r,n){return n!==null&&U4(n),L0(e,t.child,null,r),t=Z4(e,e.pendingProps.children),t.flags|=2,e.memoizedState=null,t}function qz(t,e,r,n,i,s,a){if(r)return e.flags&256?(e.flags&=-257,n=Jy(Error(Ze(422))),Lp(t,e,a,n)):e.memoizedState!==null?(e.child=t.child,e.flags|=128,null):(s=n.fallback,i=e.mode,n=w1({mode:"visible",children:n.children},i,0,null),s=Nu(s,i,a,null),s.flags|=2,n.return=e,s.return=e,n.sibling=s,e.child=n,e.mode&1&&L0(e,t.child,null,a),e.child.memoizedState=Ib(a),e.memoizedState=Ob,s);if(!(e.mode&1))return Lp(t,e,a,null);if(i.data==="$!"){if(n=i.nextSibling&&i.nextSibling.dataset,n)var l=n.dgst;return n=l,s=Error(Ze(419)),n=Jy(s,n,void 0),Lp(t,e,a,n)}if(l=(a&t.childLanes)!==0,wi||l){if(n=In,n!==null){switch(a&-a){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(n.suspendedLanes|a)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,So(t,i),ta(n,t,i,-1))}return s3(),n=Jy(Error(Ze(421))),Lp(t,e,a,n)}return i.data==="$?"?(e.flags|=128,e.child=t.child,e=sj.bind(null,t),i._reactRetry=e,null):(t=s.treeContext,Ki=Ol(i.nextSibling),Xi=e,Hr=!0,Ys=null,t!==null&&(ms[gs++]=po,ms[gs++]=mo,ms[gs++]=Uu,po=t.id,mo=t.overflow,Uu=e),e=Z4(e,n.children),e.flags|=4096,e)}function HE(t,e,r){t.lanes|=e;var n=t.alternate;n!==null&&(n.lanes|=e),Tb(t.return,e,r)}function Zy(t,e,r,n,i){var s=t.memoizedState;s===null?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i}:(s.isBackwards=e,s.rendering=null,s.renderingStartTime=0,s.last=n,s.tail=r,s.tailMode=i)}function Ak(t,e,r){var n=e.pendingProps,i=n.revealOrder,s=n.tail;if(ii(t,e,n.children,r),n=Yr.current,n&2)n=n&1|2,e.flags|=128;else{if(t!==null&&t.flags&128)e:for(t=e.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&HE(t,r,e);else if(t.tag===19)HE(t,r,e);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}n&=1}if(Fr(Yr,n),!(e.mode&1))e.memoizedState=null;else switch(i){case"forwards":for(r=e.child,i=null;r!==null;)t=r.alternate,t!==null&&Ig(t)===null&&(i=r),r=r.sibling;r=i,r===null?(i=e.child,e.child=null):(i=r.sibling,r.sibling=null),Zy(e,!1,i,r,s);break;case"backwards":for(r=null,i=e.child,e.child=null;i!==null;){if(t=i.alternate,t!==null&&Ig(t)===null){e.child=i;break}t=i.sibling,i.sibling=r,r=i,i=t}Zy(e,!0,r,null,s);break;case"together":Zy(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function mm(t,e){!(e.mode&1)&&t!==null&&(t.alternate=null,e.alternate=null,e.flags|=2)}function To(t,e,r){if(t!==null&&(e.dependencies=t.dependencies),ju|=e.lanes,!(r&e.childLanes))return null;if(t!==null&&e.child!==t.child)throw Error(Ze(153));if(e.child!==null){for(t=e.child,r=Dl(t,t.pendingProps),e.child=r,r.return=e;t.sibling!==null;)t=t.sibling,r=r.sibling=Dl(t,t.pendingProps),r.return=e;r.sibling=null}return e.child}function Vz(t,e,r){switch(e.tag){case 3:xk(e),P0();break;case 5:Z9(e);break;case 1:Si(e.type)&&xg(e);break;case 4:$4(e,e.stateNode.containerInfo);break;case 10:var n=e.type._context,i=e.memoizedProps.value;Fr(Mg,n._currentValue),n._currentValue=i;break;case 13:if(n=e.memoizedState,n!==null)return n.dehydrated!==null?(Fr(Yr,Yr.current&1),e.flags|=128,null):r&e.child.childLanes?kk(t,e,r):(Fr(Yr,Yr.current&1),t=To(t,e,r),t!==null?t.sibling:null);Fr(Yr,Yr.current&1);break;case 19:if(n=(r&e.childLanes)!==0,t.flags&128){if(n)return Ak(t,e,r);e.flags|=128}if(i=e.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),Fr(Yr,Yr.current),n)break;return null;case 22:case 23:return e.lanes=0,Sk(t,e,r)}return To(t,e,r)}var Mk,Rb,Ck,Ok;Mk=function(t,e){for(var r=e.child;r!==null;){if(r.tag===5||r.tag===6)t.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Rb=function(){};Ck=function(t,e,r,n){var i=t.memoizedProps;if(i!==n){t=e.stateNode,Ou(Da.current);var s=null;switch(r){case"input":i=eb(t,i),n=eb(t,n),s=[];break;case"select":i=Qr({},i,{value:void 0}),n=Qr({},n,{value:void 0}),s=[];break;case"textarea":i=nb(t,i),n=nb(t,n),s=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(t.onclick=Sg)}sb(r,n);var a;r=null;for(p in i)if(!n.hasOwnProperty(p)&&i.hasOwnProperty(p)&&i[p]!=null)if(p==="style"){var l=i[p];for(a in l)l.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else p!=="dangerouslySetInnerHTML"&&p!=="children"&&p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&p!=="autoFocus"&&(kf.hasOwnProperty(p)?s||(s=[]):(s=s||[]).push(p,null));for(p in n){var u=n[p];if(l=i!=null?i[p]:void 0,n.hasOwnProperty(p)&&u!==l&&(u!=null||l!=null))if(p==="style")if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(r||(r={}),r[a]=u[a])}else r||(s||(s=[]),s.push(p,r)),r=u;else p==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,l=l?l.__html:void 0,u!=null&&l!==u&&(s=s||[]).push(p,u)):p==="children"?typeof u!="string"&&typeof u!="number"||(s=s||[]).push(p,""+u):p!=="suppressContentEditableWarning"&&p!=="suppressHydrationWarning"&&(kf.hasOwnProperty(p)?(u!=null&&p==="onScroll"&&Lr("scroll",t),s||l===u||(s=[])):(s=s||[]).push(p,u))}r&&(s=s||[]).push("style",r);var p=s;(e.updateQueue=p)&&(e.flags|=4)}};Ok=function(t,e,r,n){r!==n&&(e.flags|=4)};function Ch(t,e){if(!Hr)switch(t.tailMode){case"hidden":e=t.tail;for(var r=null;e!==null;)e.alternate!==null&&(r=e),e=e.sibling;r===null?t.tail=null:r.sibling=null;break;case"collapsed":r=t.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?e||t.tail===null?t.tail=null:t.tail.sibling=null:n.sibling=null}}function qn(t){var e=t.alternate!==null&&t.alternate.child===t.child,r=0,n=0;if(e)for(var i=t.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags&14680064,n|=i.flags&14680064,i.return=t,i=i.sibling;else for(i=t.child;i!==null;)r|=i.lanes|i.childLanes,n|=i.subtreeFlags,n|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=n,t.childLanes=r,e}function Yz(t,e,r){var n=e.pendingProps;switch(B4(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return qn(e),null;case 1:return Si(e.type)&&Tg(),qn(e),null;
vendor: 35,906 bytes, line 41
41case 3:return n=e.stateNode,B0(),Ur(Ei),Ur(Qn),V4(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(t===null||t.child===null)&&(Np(e)?e.flags|=4:t===null||t.memoizedState.isDehydrated&&!(e.flags&256)||(e.flags|=1024,Ys!==null&&(zb(Ys),Ys=null))),Rb(t,e),qn(e),null;case 5:q4(e);var i=Ou(Bf.current);if(r=e.type,t!==null&&e.stateNode!=null)Ck(t,e,r,n,i),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!n){if(e.stateNode===null)throw Error(Ze(166));return qn(e),null}if(t=Ou(Da.current),Np(e)){n=e.stateNode,r=e.type;var s=e.memoizedProps;switch(n[Aa]=e,n[Pf]=s,t=(e.mode&1)!==0,r){case"dialog":Lr("cancel",n),Lr("close",n);break;case"iframe":case"object":case"embed":Lr("load",n);break;case"video":case"audio":for(i=0;i<Kh.length;i++)Lr(Kh[i],n);break;case"source":Lr("error",n);break;case"img":case"image":case"link":Lr("error",n),Lr("load",n);break;case"details":Lr("toggle",n);break;case"input":Q5(n,s),Lr("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!s.multiple},Lr("invalid",n);break;case"textarea":Z5(n,s),Lr("invalid",n)}sb(r,s),i=null;for(var a in s)if(s.hasOwnProperty(a)){var l=s[a];a==="children"?typeof l=="string"?n.textContent!==l&&(s.suppressHydrationWarning!==!0&&Dp(n.textContent,l,t),i=["children",l]):typeof l=="number"&&n.textContent!==""+l&&(s.suppressHydrationWarning!==!0&&Dp(n.textContent,l,t),i=["children",""+l]):kf.hasOwnProperty(a)&&l!=null&&a==="onScroll"&&Lr("scroll",n)}switch(r){case"input":kp(n),J5(n,s,!0);break;case"textarea":kp(n),eE(n);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(n.onclick=Sg)}n=i,e.updateQueue=n,n!==null&&(e.flags|=4)}else{a=i.nodeType===9?i:i.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=i9(r)),t==="http://www.w3.org/1999/xhtml"?r==="script"?(t=a.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof n.is=="string"?t=a.createElement(r,{is:n.is}):(t=a.createElement(r),r==="select"&&(a=t,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):t=a.createElementNS(t,r),t[Aa]=e,t[Pf]=n,Mk(t,e,!1,!1),e.stateNode=t;e:{switch(a=ab(r,n),r){case"dialog":Lr("cancel",t),Lr("close",t),i=n;break;case"iframe":case"object":case"embed":Lr("load",t),i=n;break;case"video":case"audio":for(i=0;i<Kh.length;i++)Lr(Kh[i],t);i=n;break;case"source":Lr("error",t),i=n;break;case"img":case"image":case"link":Lr("error",t),Lr("load",t),i=n;break;case"details":Lr("toggle",t),i=n;break;case"input":Q5(t,n),i=eb(t,n),Lr("invalid",t);break;case"option":i=n;break;case"select":t._wrapperState={wasMultiple:!!n.multiple},i=Qr({},n,{value:void 0}),Lr("invalid",t);break;case"textarea":Z5(t,n),i=nb(t,n),Lr("invalid",t);break;default:i=n}sb(r,i),l=i;for(s in l)if(l.hasOwnProperty(s)){var u=l[s];s==="style"?o9(t,u):s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&s9(t,u)):s==="children"?typeof u=="string"?(r!=="textarea"||u!=="")&&Af(t,u):typeof u=="number"&&Af(t,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(kf.hasOwnProperty(s)?u!=null&&s==="onScroll"&&Lr("scroll",t):u!=null&&S4(t,s,u,a))}switch(r){case"input":kp(t),J5(t,n,!1);break;case"textarea":kp(t),eE(t);break;case"option":n.value!=null&&t.setAttribute("value",""+Pl(n.value));break;case"select":t.multiple=!!n.multiple,s=n.value,s!=null?y0(t,!!n.multiple,s,!1):n.defaultValue!=null&&y0(t,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(t.onclick=Sg)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(e.flags|=4)}e.ref!==null&&(e.flags|=512,e.flags|=2097152)}return qn(e),null;case 6:if(t&&e.stateNode!=null)Ok(t,e,t.memoizedProps,n);else{if(typeof n!="string"&&e.stateNode===null)throw Error(Ze(166));if(r=Ou(Bf.current),Ou(Da.current),Np(e)){if(n=e.stateNode,r=e.memoizedProps,n[Aa]=e,(s=n.nodeValue!==r)&&(t=Xi,t!==null))switch(t.tag){case 3:Dp(n.nodeValue,r,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&Dp(n.nodeValue,r,(t.mode&1)!==0)}s&&(e.flags|=4)}else n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[Aa]=e,e.stateNode=n}return qn(e),null;case 13:if(Ur(Yr),n=e.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Hr&&Ki!==null&&e.mode&1&&!(e.flags&128))Y9(),P0(),e.flags|=98560,s=!1;else if(s=Np(e),n!==null&&n.dehydrated!==null){if(t===null){if(!s)throw Error(Ze(318));if(s=e.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(Ze(317));s[Aa]=e}else P0(),!(e.flags&128)&&(e.memoizedState=null),e.flags|=4;qn(e),s=!1}else Ys!==null&&(zb(Ys),Ys=null),s=!0;if(!s)return e.flags&65536?e:null}return e.flags&128?(e.lanes=r,e):(n=n!==null,n!==(t!==null&&t.memoizedState!==null)&&n&&(e.child.flags|=8192,e.mode&1&&(t===null||Yr.current&1?Sn===0&&(Sn=3):s3())),e.updateQueue!==null&&(e.flags|=4),qn(e),null);case 4:return B0(),Rb(t,e),t===null&&Df(e.stateNode.containerInfo),qn(e),null;case 10:return H4(e.type._context),qn(e),null;case 17:return Si(e.type)&&Tg(),qn(e),null;case 19:if(Ur(Yr),s=e.memoizedState,s===null)return qn(e),null;if(n=(e.flags&128)!==0,a=s.rendering,a===null)if(n)Ch(s,!1);else{if(Sn!==0||t!==null&&t.flags&128)for(t=e.child;t!==null;){if(a=Ig(t),a!==null){for(e.flags|=128,Ch(s,!1),n=a.updateQueue,n!==null&&(e.updateQueue=n,e.flags|=4),e.subtreeFlags=0,n=r,r=e.child;r!==null;)s=r,t=n,s.flags&=14680066,a=s.alternate,a===null?(s.childLanes=0,s.lanes=t,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=a.childLanes,s.lanes=a.lanes,s.child=a.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=a.memoizedProps,s.memoizedState=a.memoizedState,s.updateQueue=a.updateQueue,s.type=a.type,t=a.dependencies,s.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),r=r.sibling;return Fr(Yr,Yr.current&1|2),e.child}t=t.sibling}s.tail!==null&&an()>z0&&(e.flags|=128,n=!0,Ch(s,!1),e.lanes=4194304)}else{if(!n)if(t=Ig(a),t!==null){if(e.flags|=128,n=!0,r=t.updateQueue,r!==null&&(e.updateQueue=r,e.flags|=4),Ch(s,!0),s.tail===null&&s.tailMode==="hidden"&&!a.alternate&&!Hr)return qn(e),null}else 2*an()-s.renderingStartTime>z0&&r!==1073741824&&(e.flags|=128,n=!0,Ch(s,!1),e.lanes=4194304);s.isBackwards?(a.sibling=e.child,e.child=a):(r=s.last,r!==null?r.sibling=a:e.child=a,s.last=a)}return s.tail!==null?(e=s.tail,s.rendering=e,s.tail=e.sibling,s.renderingStartTime=an(),e.sibling=null,r=Yr.current,Fr(Yr,n?r&1|2:r&1),e):(qn(e),null);case 22:case 23:return i3(),n=e.memoizedState!==null,t!==null&&t.memoizedState!==null!==n&&(e.flags|=8192),n&&e.mode&1?Vi&1073741824&&(qn(e),e.subtreeFlags&6&&(e.flags|=8192)):qn(e),null;case 24:return null;case 25:return null}throw Error(Ze(156,e.tag))}function Kz(t,e){switch(B4(e),e.tag){case 1:return Si(e.type)&&Tg(),t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 3:return B0(),Ur(Ei),Ur(Qn),V4(),t=e.flags,t&65536&&!(t&128)?(e.flags=t&-65537|128,e):null;case 5:return q4(e),null;case 13:if(Ur(Yr),t=e.memoizedState,t!==null&&t.dehydrated!==null){if(e.alternate===null)throw Error(Ze(340));P0()}return t=e.flags,t&65536?(e.flags=t&-65537|128,e):null;case 19:return Ur(Yr),null;case 4:return B0(),null;case 10:return H4(e.type._context),null;case 22:case 23:return i3(),null;case 24:return null;default:return null}}var Bp=!1,Xn=!1,Xz=typeof WeakSet=="function"?WeakSet:Set,_t=null;function l0(t,e){var r=t.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){tn(t,e,n)}else r.current=null}function Fb(t,e,r){try{r()}catch(n){tn(t,e,n)}}var WE=!1;function Qz(t,e){if(gb=bg,t=N9(),P4(t)){if("selectionStart"in t)var r={start:t.selectionStart,end:t.selectionEnd};else e:{r=(r=t.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var i=n.anchorOffset,s=n.focusNode;n=n.focusOffset;try{r.nodeType,s.nodeType}catch{r=null;break e}var a=0,l=-1,u=-1,p=0,d=0,g=t,_=null;t:for(;;){for(var v;g!==r||i!==0&&g.nodeType!==3||(l=a+i),g!==s||n!==0&&g.nodeType!==3||(u=a+n),g.nodeType===3&&(a+=g.nodeValue.length),(v=g.firstChild)!==null;)_=g,g=v;for(;;){if(g===t)break t;if(_===r&&++p===i&&(l=a),_===s&&++d===n&&(u=a),(v=g.nextSibling)!==null)break;g=_,_=g.parentNode}g=v}r=l===-1||u===-1?null:{start:l,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(_b={focusedElem:t,selectionRange:r},bg=!1,_t=e;_t!==null;)if(e=_t,t=e.child,(e.subtreeFlags&1028)!==0&&t!==null)t.return=e,_t=t;else for(;_t!==null;){e=_t;try{var k=e.alternate;if(e.flags&1024)switch(e.tag){case 0:case 11:case 15:break;case 1:if(k!==null){var O=k.memoizedProps,N=k.memoizedState,S=e.stateNode,M=S.getSnapshotBeforeUpdate(e.elementType===e.type?O:Gs(e.type,O),N);S.__reactInternalSnapshotBeforeUpdate=M}break;case 3:var F=e.stateNode.containerInfo;F.nodeType===1?F.textContent="":F.nodeType===9&&F.documentElement&&F.removeChild(F.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(Ze(163))}}catch(G){tn(e,e.return,G)}if(t=e.sibling,t!==null){t.return=e.return,_t=t;break}_t=e.return}return k=WE,WE=!1,k}function lf(t,e,r){var n=e.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&t)===t){var s=i.destroy;i.destroy=void 0,s!==void 0&&Fb(e,r,s)}i=i.next}while(i!==n)}}function v1(t,e){if(e=e.updateQueue,e=e!==null?e.lastEffect:null,e!==null){var r=e=e.next;do{if((r.tag&t)===t){var n=r.create;r.destroy=n()}r=r.next}while(r!==e)}}function Db(t){var e=t.ref;if(e!==null){var r=t.stateNode;switch(t.tag){case 5:t=r;break;default:t=r}typeof e=="function"?e(t):e.current=t}}function Ik(t){var e=t.alternate;e!==null&&(t.alternate=null,Ik(e)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(e=t.stateNode,e!==null&&(delete e[Aa],delete e[Pf],delete e[bb],delete e[Fz],delete e[Dz])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Rk(t){return t.tag===5||t.tag===3||t.tag===4}function GE(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Rk(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function Nb(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.nodeType===8?r.parentNode.insertBefore(t,e):r.insertBefore(t,e):(r.nodeType===8?(e=r.parentNode,e.insertBefore(t,r)):(e=r,e.appendChild(t)),r=r._reactRootContainer,r!=null||e.onclick!==null||(e.onclick=Sg));else if(n!==4&&(t=t.child,t!==null))for(Nb(t,e,r),t=t.sibling;t!==null;)Nb(t,e,r),t=t.sibling}function Pb(t,e,r){var n=t.tag;if(n===5||n===6)t=t.stateNode,e?r.insertBefore(t,e):r.appendChild(t);else if(n!==4&&(t=t.child,t!==null))for(Pb(t,e,r),t=t.sibling;t!==null;)Pb(t,e,r),t=t.sibling}var Pn=null,qs=!1;function Qo(t,e,r){for(r=r.child;r!==null;)Fk(t,e,r),r=r.sibling}function Fk(t,e,r){if(Fa&&typeof Fa.onCommitFiberUnmount=="function")try{Fa.onCommitFiberUnmount(h1,r)}catch{}switch(r.tag){case 5:Xn||l0(r,e);case 6:var n=Pn,i=qs;Pn=null,Qo(t,e,r),Pn=n,qs=i,Pn!==null&&(qs?(t=Pn,r=r.stateNode,t.nodeType===8?t.parentNode.removeChild(r):t.removeChild(r)):Pn.removeChild(r.stateNode));break;case 18:Pn!==null&&(qs?(t=Pn,r=r.stateNode,t.nodeType===8?qy(t.parentNode,r):t.nodeType===1&&qy(t,r),If(t)):qy(Pn,r.stateNode));break;case 4:n=Pn,i=qs,Pn=r.stateNode.containerInfo,qs=!0,Qo(t,e,r),Pn=n,qs=i;break;case 0:case 11:case 14:case 15:if(!Xn&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){i=n=n.next;do{var s=i,a=s.destroy;s=s.tag,a!==void 0&&(s&2||s&4)&&Fb(r,e,a),i=i.next}while(i!==n)}Qo(t,e,r);break;case 1:if(!Xn&&(l0(r,e),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(l){tn(r,e,l)}Qo(t,e,r);break;case 21:Qo(t,e,r);break;case 22:r.mode&1?(Xn=(n=Xn)||r.memoizedState!==null,Qo(t,e,r),Xn=n):Qo(t,e,r);break;default:Qo(t,e,r)}}function $E(t){var e=t.updateQueue;if(e!==null){t.updateQueue=null;var r=t.stateNode;r===null&&(r=t.stateNode=new Xz),e.forEach(function(n){var i=aj.bind(null,t,n);r.has(n)||(r.add(n),n.then(i,i))})}}function Hs(t,e){var r=e.deletions;if(r!==null)for(var n=0;n<r.length;n++){var i=r[n];try{var s=t,a=e,l=a;e:for(;l!==null;){switch(l.tag){case 5:Pn=l.stateNode,qs=!1;break e;case 3:Pn=l.stateNode.containerInfo,qs=!0;break e;case 4:Pn=l.stateNode.containerInfo,qs=!0;break e}l=l.return}if(Pn===null)throw Error(Ze(160));Fk(s,a,i),Pn=null,qs=!1;var u=i.alternate;u!==null&&(u.return=null),i.return=null}catch(p){tn(i,e,p)}}if(e.subtreeFlags&12854)for(e=e.child;e!==null;)Dk(e,t),e=e.sibling}function Dk(t,e){var r=t.alternate,n=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(Hs(e,t),ga(t),n&4){try{lf(3,t,t.return),v1(3,t)}catch(O){tn(t,t.return,O)}try{lf(5,t,t.return)}catch(O){tn(t,t.return,O)}}break;case 1:Hs(e,t),ga(t),n&512&&r!==null&&l0(r,r.return);break;case 5:if(Hs(e,t),ga(t),n&512&&r!==null&&l0(r,r.return),t.flags&32){var i=t.stateNode;try{Af(i,"")}catch(O){tn(t,t.return,O)}}if(n&4&&(i=t.stateNode,i!=null)){var s=t.memoizedProps,a=r!==null?r.memoizedProps:s,l=t.type,u=t.updateQueue;if(t.updateQueue=null,u!==null)try{l==="input"&&s.type==="radio"&&s.name!=null&&r9(i,s),ab(l,a);var p=ab(l,s);for(a=0;a<u.length;a+=2){var d=u[a],g=u[a+1];d==="style"?o9(i,g):d==="dangerouslySetInnerHTML"?s9(i,g):d==="children"?Af(i,g):S4(i,d,g,p)}switch(l){case"input":tb(i,s);break;case"textarea":n9(i,s);break;case"select":var _=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var v=s.value;v!=null?y0(i,!!s.multiple,v,!1):_!==!!s.multiple&&(s.defaultValue!=null?y0(i,!!s.multiple,s.defaultValue,!0):y0(i,!!s.multiple,s.multiple?[]:"",!1))}i[Pf]=s}catch(O){tn(t,t.return,O)}}break;case 6:if(Hs(e,t),ga(t),n&4){if(t.stateNode===null)throw Error(Ze(162));i=t.stateNode,s=t.memoizedProps;try{i.nodeValue=s}catch(O){tn(t,t.return,O)}}break;case 3:if(Hs(e,t),ga(t),n&4&&r!==null&&r.memoizedState.isDehydrated)try{If(e.containerInfo)}catch(O){tn(t,t.return,O)}break;case 4:Hs(e,t),ga(t);break;case 13:Hs(e,t),ga(t),i=t.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(r3=an())),n&4&&$E(t);break;case 22:if(d=r!==null&&r.memoizedState!==null,t.mode&1?(Xn=(p=Xn)||d,Hs(e,t),Xn=p):Hs(e,t),ga(t),n&8192){if(p=t.memoizedState!==null,(t.stateNode.isHidden=p)&&!d&&t.mode&1)for(_t=t,d=t.child;d!==null;){for(g=_t=d;_t!==null;){switch(_=_t,v=_.child,_.tag){case 0:case 11:case 14:case 15:lf(4,_,_.return);break;case 1:l0(_,_.return);var k=_.stateNode;if(typeof k.componentWillUnmount=="function"){n=_,r=_.return;try{e=n,k.props=e.memoizedProps,k.state=e.memoizedState,k.componentWillUnmount()}catch(O){tn(n,r,O)}}break;case 5:l0(_,_.return);break;case 22:if(_.memoizedState!==null){VE(g);continue}}v!==null?(v.return=_,_t=v):VE(g)}d=d.sibling}e:for(d=null,g=t;;){if(g.tag===5){if(d===null){d=g;try{i=g.stateNode,p?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(l=g.stateNode,u=g.memoizedProps.style,a=u!=null&&u.hasOwnProperty("display")?u.display:null,l.style.display=a9("display",a))}catch(O){tn(t,t.return,O)}}}else if(g.tag===6){if(d===null)try{g.stateNode.nodeValue=p?"":g.memoizedProps}catch(O){tn(t,t.return,O)}}else if((g.tag!==22&&g.tag!==23||g.memoizedState===null||g===t)&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===t)break e;for(;g.sibling===null;){if(g.return===null||g.return===t)break e;d===g&&(d=null),g=g.return}d===g&&(d=null),g.sibling.return=g.return,g=g.sibling}}break;case 19:Hs(e,t),ga(t),n&4&&$E(t);break;case 21:break;default:Hs(e,t),ga(t)}}function ga(t){var e=t.flags;if(e&2){try{e:{for(var r=t.return;r!==null;){if(Rk(r)){var n=r;break e}r=r.return}throw Error(Ze(160))}switch(n.tag){case 5:var i=n.stateNode;n.flags&32&&(Af(i,""),n.flags&=-33);var s=GE(t);Pb(t,s,i);break;case 3:case 4:var a=n.stateNode.containerInfo,l=GE(t);Nb(t,l,a);break;default:throw Error(Ze(161))}}catch(u){tn(t,t.return,u)}t.flags&=-3}e&4096&&(t.flags&=-4097)}function Jz(t,e,r){_t=t,Nk(t)}function Nk(t,e,r){for(var n=(t.mode&1)!==0;_t!==null;){var i=_t,s=i.child;if(i.tag===22&&n){var a=i.memoizedState!==null||Bp;if(!a){var l=i.alternate,u=l!==null&&l.memoizedState!==null||Xn;l=Bp;var p=Xn;if(Bp=a,(Xn=u)&&!p)for(_t=i;_t!==null;)a=_t,u=a.child,a.tag===22&&a.memoizedState!==null?YE(i):u!==null?(u.return=a,_t=u):YE(i);for(;s!==null;)_t=s,Nk(s),s=s.sibling;_t=i,Bp=l,Xn=p}qE(t)}else i.subtreeFlags&8772&&s!==null?(s.return=i,_t=s):qE(t)}}function qE(t){for(;_t!==null;){var e=_t;if(e.flags&8772){var r=e.alternate;try{if(e.flags&8772)switch(e.tag){case 0:case 11:case 15:Xn||v1(5,e);break;case 1:var n=e.stateNode;if(e.flags&4&&!Xn)if(r===null)n.componentDidMount();else{var i=e.elementType===e.type?r.memoizedProps:Gs(e.type,r.memoizedProps);n.componentDidUpdate(i,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var s=e.updateQueue;s!==null&&OE(e,s,n);break;case 3:var a=e.updateQueue;if(a!==null){if(r=null,e.child!==null)switch(e.child.tag){case 5:r=e.child.stateNode;break;case 1:r=e.child.stateNode}OE(e,a,r)}break;case 5:var l=e.stateNode;if(r===null&&e.flags&4){r=l;var u=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(e.memoizedState===null){var p=e.alternate;if(p!==null){var d=p.memoizedState;if(d!==null){var g=d.dehydrated;g!==null&&If(g)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(Ze(163))}Xn||e.flags&512&&Db(e)}catch(_){tn(e,e.return,_)}}if(e===t){_t=null;break}if(r=e.sibling,r!==null){r.return=e.return,_t=r;break}_t=e.return}}function VE(t){for(;_t!==null;){var e=_t;if(e===t){_t=null;break}var r=e.sibling;if(r!==null){r.return=e.return,_t=r;break}_t=e.return}}function YE(t){for(;_t!==null;){var e=_t;try{switch(e.tag){case 0:case 11:case 15:var r=e.return;try{v1(4,e)}catch(u){tn(e,r,u)}break;case 1:var n=e.stateNode;if(typeof n.componentDidMount=="function"){var i=e.return;try{n.componentDidMount()}catch(u){tn(e,i,u)}}var s=e.return;try{Db(e)}catch(u){tn(e,s,u)}break;case 5:var a=e.return;try{Db(e)}catch(u){tn(e,a,u)}}}catch(u){tn(e,e.return,u)}if(e===t){_t=null;break}var l=e.sibling;if(l!==null){l.return=e.return,_t=l;break}_t=e.return}}var Zz=Math.ceil,Dg=Ro.ReactCurrentDispatcher,e3=Ro.ReactCurrentOwner,ks=Ro.ReactCurrentBatchConfig,lr=0,In=null,gn=null,Un=0,Vi=0,u0=Yl(0),Sn=0,Hf=null,ju=0,b1=0,t3=0,uf=null,bi=null,r3=0,z0=1/0,ao=null,Ng=!1,Lb=null,Rl=null,Up=!1,Sl=null,Pg=0,cf=0,Bb=null,gm=-1,_m=0;function oi(){return lr&6?an():gm!==-1?gm:gm=an()}function Fl(t){return t.mode&1?lr&2&&Un!==0?Un&-Un:Pz.transition!==null?(_m===0&&(_m=v9()),_m):(t=yr,t!==0||(t=window.event,t=t===void 0?16:k9(t.type)),t):1}function ta(t,e,r,n){if(50<cf)throw cf=0,Bb=null,Error(Ze(185));nd(t,r,n),(!(lr&2)||t!==In)&&(t===In&&(!(lr&2)&&(b1|=r),Sn===4&&bl(t,Un)),Ti(t,n),r===1&&lr===0&&!(e.mode&1)&&(z0=an()+500,g1&&Kl()))}function Ti(t,e){var r=t.callbackNode;PU(t,e);var n=vg(t,t===In?Un:0);if(n===0)r!==null&&nE(r),t.callbackNode=null,t.callbackPriority=0;else if(e=n&-n,t.callbackPriority!==e){if(r!=null&&nE(r),e===1)t.tag===0?Nz(KE.bind(null,t)):$9(KE.bind(null,t)),Iz(function(){!(lr&6)&&Kl()}),r=null;else{switch(b9(n)){case 1:r=M4;break;case 4:r=_9;break;case 16:r=yg;break;case 536870912:r=y9;break;default:r=yg}r=Wk(r,Pk.bind(null,t))}t.callbackPriority=e,t.callbackNode=r}}function Pk(t,e){if(gm=-1,_m=0,lr&6)throw Error(Ze(327));var r=t.callbackNode;if(S0()&&t.callbackNode!==r)return null;var n=vg(t,t===In?Un:0);if(n===0)return null;if(n&30||n&t.expiredLanes||e)e=Lg(t,n);else{e=n;var i=lr;lr|=2;var s=Bk();(In!==t||Un!==e)&&(ao=null,z0=an()+500,Du(t,e));do try{rj();break}catch(l){Lk(t,l)}while(!0);j4(),Dg.current=s,lr=i,gn!==null?e=0:(In=null,Un=0,e=Sn)}if(e!==0){if(e===2&&(i=hb(t),i!==0&&(n=i,e=Ub(t,i))),e===1)throw r=Hf,Du(t,0),bl(t,n),Ti(t,an()),r;if(e===6)bl(t,n);else{if(i=t.current.alternate,!(n&30)&&!ej(i)&&(e=Lg(t,n),e===2&&(s=hb(t),s!==0&&(n=s,e=Ub(t,s))),e===1))throw r=Hf,Du(t,0),bl(t,n),Ti(t,an()),r;switch(t.finishedWork=i,t.finishedLanes=n,e){case 0:case 1:throw Error(Ze(345));case 2:Tu(t,bi,ao);break;case 3:if(bl(t,n),(n&130023424)===n&&(e=r3+500-an(),10<e)){if(vg(t,0)!==0)break;if(i=t.suspendedLanes,(i&n)!==n){oi(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=vb(Tu.bind(null,t,bi,ao),e);break}Tu(t,bi,ao);break;case 4:if(bl(t,n),(n&4194240)===n)break;for(e=t.eventTimes,i=-1;0<n;){var a=31-ea(n);s=1<<a,a=e[a],a>i&&(i=a),n&=~s}if(n=i,n=an()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Zz(n/1960))-n,10<n){t.timeoutHandle=vb(Tu.bind(null,t,bi,ao),n);break}Tu(t,bi,ao);break;case 5:Tu(t,bi,ao);break;default:throw Error(Ze(329))}}}return Ti(t,an()),t.callbackNode===r?Pk.bind(null,t):null}function Ub(t,e){var r=uf;return t.current.memoizedState.isDehydrated&&(Du(t,e).flags|=256),t=Lg(t,e),t!==2&&(e=bi,bi=r,e!==null&&zb(e)),t}function zb(t){bi===null?bi=t:bi.push.apply(bi,t)}function ej(t){for(var e=t;;){if(e.flags&16384){var r=e.updateQueue;if(r!==null&&(r=r.stores,r!==null))for(var n=0;n<r.length;n++){var i=r[n],s=i.getSnapshot;i=i.value;try{if(!na(s(),i))return!1}catch{return!1}}}if(r=e.child,e.subtreeFlags&16384&&r!==null)r.return=e,e=r;else{if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}function bl(t,e){for(e&=~t3,e&=~b1,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var r=31-ea(e),n=1<<r;t[r]=-1,e&=~n}}function KE(t){if(lr&6)throw Error(Ze(327));S0();var e=vg(t,0);if(!(e&1))return Ti(t,an()),null;var r=Lg(t,e);if(t.tag!==0&&r===2){var n=hb(t);n!==0&&(e=n,r=Ub(t,n))}if(r===1)throw r=Hf,Du(t,0),bl(t,e),Ti(t,an()),r;if(r===6)throw Error(Ze(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,Tu(t,bi,ao),Ti(t,an()),null}function n3(t,e){var r=lr;lr|=1;try{return t(e)}finally{lr=r,lr===0&&(z0=an()+500,g1&&Kl())}}function Hu(t){Sl!==null&&Sl.tag===0&&!(lr&6)&&S0();var e=lr;lr|=1;var r=ks.transition,n=yr;try{if(ks.transition=null,yr=1,t)return t()}finally{yr=n,ks.transition=r,lr=e,!(lr&6)&&Kl()}}function i3(){Vi=u0.current,Ur(u0)}function Du(t,e){t.finishedWork=null,t.finishedLanes=0;var r=t.timeoutHandle;if(r!==-1&&(t.timeoutHandle=-1,Oz(r)),gn!==null)for(r=gn.return;r!==null;){var n=r;switch(B4(n),n.tag){case 1:n=n.type.childContextTypes,n!=null&&Tg();break;case 3:B0(),Ur(Ei),Ur(Qn),V4();break;case 5:q4(n);break;case 4:B0();break;case 13:Ur(Yr);break;case 19:Ur(Yr);break;case 10:H4(n.type._context);break;case 22:case 23:i3()}r=r.return}if(In=t,gn=t=Dl(t.current,null),Un=Vi=e,Sn=0,Hf=null,t3=b1=ju=0,bi=uf=null,Cu!==null){for(e=0;e<Cu.length;e++)if(r=Cu[e],n=r.interleaved,n!==null){r.interleaved=null;var i=n.next,s=r.pending;if(s!==null){var a=s.next;s.next=i,n.next=a}r.pending=n}Cu=null}return t}function Lk(t,e){do{var r=gn;try{if(j4(),dm.current=Fg,Rg){for(var n=Xr.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}Rg=!1}if(zu=0,Cn=En=Xr=null,of=!1,Uf=0,e3.current=null,r===null||r.return===null){Sn=1,Hf=e,gn=null;break}e:{var s=t,a=r.return,l=r,u=e;if(e=Un,l.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){var p=u,d=l,g=d.tag;if(!(d.mode&1)&&(g===0||g===11||g===15)){var _=d.alternate;_?(d.updateQueue=_.updateQueue,d.memoizedState=_.memoizedState,d.lanes=_.lanes):(d.updateQueue=null,d.memoizedState=null)}var v=PE(a);if(v!==null){v.flags&=-257,LE(v,a,l,s,e),v.mode&1&&NE(s,p,e),e=v,u=p;var k=e.updateQueue;if(k===null){var O=new Set;O.add(u),e.updateQueue=O}else k.add(u);break e}else{if(!(e&1)){NE(s,p,e),s3();break e}u=Error(Ze(426))}}else if(Hr&&l.mode&1){var N=PE(a);if(N!==null){!(N.flags&65536)&&(N.flags|=256),LE(N,a,l,s,e),U4(U0(u,l));break e}}s=u=U0(u,l),Sn!==4&&(Sn=2),uf===null?uf=[s]:uf.push(s),s=a;do{switch(s.tag){case 3:s.flags|=65536,e&=-e,s.lanes|=e;var S=bk(s,u,e);CE(s,S);break e;case 1:l=u;var M=s.type,F=s.stateNode;if(!(s.flags&128)&&(typeof M.getDerivedStateFromError=="function"||F!==null&&typeof F.componentDidCatch=="function"&&(Rl===null||!Rl.has(F)))){s.flags|=65536,e&=-e,s.lanes|=e;var G=wk(s,l,e);CE(s,G);break e}}s=s.return}while(s!==null)}zk(r)}catch(X){e=X,gn===r&&r!==null&&(gn=r=r.return);continue}break}while(!0)}function Bk(){var t=Dg.current;return Dg.current=Fg,t===null?Fg:t}function s3(){(Sn===0||Sn===3||Sn===2)&&(Sn=4),In===null||!(ju&268435455)&&!(b1&268435455)||bl(In,Un)}function Lg(t,e){var r=lr;lr|=2;var n=Bk();(In!==t||Un!==e)&&(ao=null,Du(t,e));do try{tj();break}catch(i){Lk(t,i)}while(!0);if(j4(),lr=r,Dg.current=n,gn!==null)throw Error(Ze(261));return In=null,Un=0,Sn}function tj(){for(;gn!==null;)Uk(gn)}function rj(){for(;gn!==null&&!AU();)Uk(gn)}function Uk(t){var e=Hk(t.alternate,t,Vi);t.memoizedProps=t.pendingProps,e===null?zk(t):gn=e,e3.current=null}function zk(t){var e=t;do{var r=e.alternate;if(t=e.return,e.flags&32768){if(r=Kz(r,e),r!==null){r.flags&=32767,gn=r;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{Sn=6,gn=null;return}}else if(r=Yz(r,e,Vi),r!==null){gn=r;return}if(e=e.sibling,e!==null){gn=e;return}gn=e=t}while(e!==null);Sn===0&&(Sn=5)}function Tu(t,e,r){var n=yr,i=ks.transition;try{ks.transition=null,yr=1,nj(t,e,r,n)}finally{ks.transition=i,yr=n}return null}function nj(t,e,r,n){do S0();while(Sl!==null);if(lr&6)throw Error(Ze(327));r=t.finishedWork;var i=t.finishedLanes;if(r===null)return null;if(t.finishedWork=null,t.finishedLanes=0,r===t.current)throw Error(Ze(177));t.callbackNode=null,t.callbackPriority=0;var s=r.lanes|r.childLanes;if(LU(t,s),t===In&&(gn=In=null,Un=0),!(r.subtreeFlags&2064)&&!(r.flags&2064)||Up||(Up=!0,Wk(yg,function(){return S0(),null})),s=(r.flags&15990)!==0,r.subtreeFlags&15990||s){s=ks.transition,ks.transition=null;var a=yr;yr=1;var l=lr;lr|=4,e3.current=null,Qz(t,r),Dk(r,t),Sz(_b),bg=!!gb,_b=gb=null,t.current=r,Jz(r),MU(),lr=l,yr=a,ks.transition=s}else t.current=r;if(Up&&(Up=!1,Sl=t,Pg=i),s=t.pendingLanes,s===0&&(Rl=null),IU(r.stateNode),Ti(t,an()),e!==null)for(n=t.onRecoverableError,r=0;r<e.length;r++)i=e[r],n(i.value,{componentStack:i.stack,digest:i.digest});if(Ng)throw Ng=!1,t=Lb,Lb=null,t;return Pg&1&&t.tag!==0&&S0(),s=t.pendingLanes,s&1?t===Bb?cf++:(cf=0,Bb=t):cf=0,Kl(),null}function S0(){if(Sl!==null){var t=b9(Pg),e=ks.transition,r=yr;try{if(ks.transition=null,yr=16>t?16:t,Sl===null)var n=!1;else{if(t=Sl,Sl=null,Pg=0,lr&6)throw Error(Ze(331));var i=lr;for(lr|=4,_t=t.current;_t!==null;){var s=_t,a=s.child;if(_t.flags&16){var l=s.deletions;if(l!==null){for(var u=0;u<l.length;u++){var p=l[u];for(_t=p;_t!==null;){var d=_t;switch(d.tag){case 0:case 11:case 15:lf(8,d,s)}var g=d.child;if(g!==null)g.return=d,_t=g;else for(;_t!==null;){d=_t;var _=d.sibling,v=d.return;if(Ik(d),d===p){_t=null;break}if(_!==null){_.return=v,_t=_;break}_t=v}}}var k=s.alternate;if(k!==null){var O=k.child;if(O!==null){k.child=null;do{var N=O.sibling;O.sibling=null,O=N}while(O!==null)}}_t=s}}if(s.subtreeFlags&2064&&a!==null)a.return=s,_t=a;else e:for(;_t!==null;){if(s=_t,s.flags&2048)switch(s.tag){case 0:case 11:case 15:lf(9,s,s.return)}var S=s.sibling;if(S!==null){S.return=s.return,_t=S;break e}_t=s.return}}var M=t.current;for(_t=M;_t!==null;){a=_t;var F=a.child;if(a.subtreeFlags&2064&&F!==null)F.return=a,_t=F;else e:for(a=M;_t!==null;){if(l=_t,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:v1(9,l)}}catch(X){tn(l,l.return,X)}if(l===a){_t=null;break e}var G=l.sibling;if(G!==null){G.return=l.return,_t=G;break e}_t=l.return}}if(lr=i,Kl(),Fa&&typeof Fa.onPostCommitFiberRoot=="function")try{Fa.onPostCommitFiberRoot(h1,t)}catch{}n=!0}return n}finally{yr=r,ks.transition=e}}return!1}function XE(t,e,r){e=U0(r,e),e=bk(t,e,1),t=Il(t,e,1),e=oi(),t!==null&&(nd(t,1,e),Ti(t,e))}function tn(t,e,r){if(t.tag===3)XE(t,t,r);else for(;e!==null;){if(e.tag===3){XE(e,t,r);break}else if(e.tag===1){var n=e.stateNode;if(typeof e.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Rl===null||!Rl.has(n))){t=U0(r,t),t=wk(e,t,1),e=Il(e,t,1),t=oi(),e!==null&&(nd(e,1,t),Ti(e,t));break}}e=e.return}}function ij(t,e,r){var n=t.pingCache;n!==null&&n.delete(e),e=oi(),t.pingedLanes|=t.suspendedLanes&r,In===t&&(Un&r)===r&&(Sn===4||Sn===3&&(Un&130023424)===Un&&500>an()-r3?Du(t,0):t3|=r),Ti(t,e)}function jk(t,e){e===0&&(t.mode&1?(e=Cp,Cp<<=1,!(Cp&130023424)&&(Cp=4194304)):e=1);var r=oi();t=So(t,e),t!==null&&(nd(t,e,r),Ti(t,r))}function sj(t){var e=t.memoizedState,r=0;e!==null&&(r=e.retryLane),jk(t,r)}function aj(t,e){var r=0;switch(t.tag){case 13:var n=t.stateNode,i=t.memoizedState;i!==null&&(r=i.retryLane);break;case 19:n=t.stateNode;break;default:throw Error(Ze(314))}n!==null&&n.delete(e),jk(t,r)}var Hk;Hk=function(t,e,r){if(t!==null)if(t.memoizedProps!==e.pendingProps||Ei.current)wi=!0;else{if(!(t.lanes&r)&&!(e.flags&128))return wi=!1,Vz(t,e,r);wi=!!(t.flags&131072)}else wi=!1,Hr&&e.flags&1048576&&q9(e,Ag,e.index);switch(e.lanes=0,e.tag){case 2:var n=e.type;mm(t,e),t=e.pendingProps;var i=N0(e,Qn.current);E0(e,r),i=K4(null,e,n,t,i,r);var s=X4();return e.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Si(n)?(s=!0,xg(e)):s=!1,e.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,G4(e),i.updater=y1,e.stateNode=i,i._reactInternals=e,kb(e,n,t,r),e=Cb(null,e,n,!0,s,r)):(e.tag=0,Hr&&s&&L4(e),ii(null,e,i,r),e=e.child),e;case 16:n=e.elementType;e:{switch(mm(t,e),t=e.pendingProps,i=n._init,n=i(n._payload),e.type=n,i=e.tag=lj(n),t=Gs(n,t),i){case 0:e=Mb(null,e,n,t,r);break e;case 1:e=zE(null,e,n,t,r);break e;case 11:e=BE(null,e,n,t,r);break e;case 14:e=UE(null,e,n,Gs(n.type,t),r);break e}throw Error(Ze(306,n,""))}return e;case 0:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Gs(n,i),Mb(t,e,n,i,r);case 1:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Gs(n,i),zE(t,e,n,i,r);case 3:e:{if(xk(e),t===null)throw Error(Ze(387));n=e.pendingProps,s=e.memoizedState,i=s.element,J9(t,e),Og(e,n,null,r);var a=e.memoizedState;if(n=a.element,s.isDehydrated)if(s={element:n,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},e.updateQueue.baseState=s,e.memoizedState=s,e.flags&256){i=U0(Error(Ze(423)),e),e=jE(t,e,n,r,i);break e}else if(n!==i){i=U0(Error(Ze(424)),e),e=jE(t,e,n,r,i);break e}else for(Ki=Ol(e.stateNode.containerInfo.firstChild),Xi=e,Hr=!0,Ys=null,r=X9(e,null,n,r),e.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(P0(),n===i){e=To(t,e,r);break e}ii(t,e,n,r)}e=e.child}return e;case 5:return Z9(e),t===null&&Sb(e),n=e.type,i=e.pendingProps,s=t!==null?t.memoizedProps:null,a=i.children,yb(n,i)?a=null:s!==null&&yb(n,s)&&(e.flags|=32),Tk(t,e),ii(t,e,a,r),e.child;case 6:return t===null&&Sb(e),null;case 13:return kk(t,e,r);case 4:return $4(e,e.stateNode.containerInfo),n=e.pendingProps,t===null?e.child=L0(e,null,n,r):ii(t,e,n,r),e.child;case 11:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Gs(n,i),BE(t,e,n,i,r);case 7:return ii(t,e,e.pendingProps,r),e.child;case 8:return ii(t,e,e.pendingProps.children,r),e.child;case 12:return ii(t,e,e.pendingProps.children,r),e.child;case 10:e:{if(n=e.type._context,i=e.pendingProps,s=e.memoizedProps,a=i.value,Fr(Mg,n._currentValue),n._currentValue=a,s!==null)if(na(s.value,a)){if(s.children===i.children&&!Ei.current){e=To(t,e,r);break e}}else for(s=e.child,s!==null&&(s.return=e);s!==null;){var l=s.dependencies;if(l!==null){a=s.child;for(var u=l.firstContext;u!==null;){if(u.context===n){if(s.tag===1){u=_o(-1,r&-r),u.tag=2;var p=s.updateQueue;if(p!==null){p=p.shared;var d=p.pending;d===null?u.next=u:(u.next=d.next,d.next=u),p.pending=u}}s.lanes|=r,u=s.alternate,u!==null&&(u.lanes|=r),Tb(s.return,r,e),l.lanes|=r;break}u=u.next}}else if(s.tag===10)a=s.type===e.type?null:s.child;else if(s.tag===18){if(a=s.return,a===null)throw Error(Ze(341));a.lanes|=r,l=a.alternate,l!==null&&(l.lanes|=r),Tb(a,r,e),a=s.sibling}else a=s.child;if(a!==null)a.return=s;else for(a=s;a!==null;){if(a===e){a=null;break}if(s=a.sibling,s!==null){s.return=a.return,a=s;break}a=a.return}s=a}ii(t,e,i.children,r),e=e.child}return e;case 9:return i=e.type,n=e.pendingProps.children,E0(e,r),i=Cs(i),n=n(i),e.flags|=1,ii(t,e,n,r),e.child;case 14:return n=e.type,i=Gs(n,e.pendingProps),i=Gs(n.type,i),UE(t,e,n,i,r);case 15:return Ek(t,e,e.type,e.pendingProps,r);case 17:return n=e.type,i=e.pendingProps,i=e.elementType===n?i:Gs(n,i),mm(t,e),e.tag=1,Si(n)?(t=!0,xg(e)):t=!1,E0(e,r),vk(e,n,i),kb(e,n,i,r),Cb(null,e,n,!0,t,r);case 19:return Ak(t,e,r);case 22:return Sk(t,e,r)}throw Error(Ze(156,e.tag))};function Wk(t,e){return g9(t,e)}function oj(t,e,r,n){this.tag=t,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ws(t,e,r,n){return new oj(t,e,r,n)}function a3(t){return t=t.prototype,!(!t||!t.isReactComponent)}function lj(t){if(typeof t=="function")return a3(t)?1:0;if(t!=null){if(t=t.$$typeof,t===x4)return 11;if(t===k4)return 14}return 2}function Dl(t,e){var r=t.alternate;return r===null?(r=ws(t.tag,e,t.key,t.mode),r.elementType=t.elementType,r.type=t.type,r.stateNode=t.stateNode,r.alternate=t,t.alternate=r):(r.pendingProps=e,r.type=t.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=t.flags&14680064,r.childLanes=t.childLanes,r.lanes=t.lanes,r.child=t.child,r.memoizedProps=t.memoizedProps,r.memoizedState=t.memoizedState,r.updateQueue=t.updateQueue,e=t.dependencies,r.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext},r.sibling=t.sibling,r.index=t.index,r.ref=t.ref,r}function ym(t,e,r,n,i,s){var a=2;if(n=t,typeof t=="function")a3(t)&&(a=1);else if(typeof t=="string")a=5;else e:switch(t){case Zc:return Nu(r.children,i,s,e);case T4:a=8,i|=8;break;case Xv:return t=ws(12,r,e,i|2),t.elementType=Xv,t.lanes=s,t;case Qv:return t=ws(13,r,e,i),t.elementType=Qv,t.lanes=s,t;case Jv:return t=ws(19,r,e,i),t.elementType=Jv,t.lanes=s,t;case Zx:return w1(r,i,s,e);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case Qx:a=10;break e;case Jx:a=9;break e;case x4:a=11;break e;case k4:a=14;break e;case pl:a=16,n=null;break e}throw Error(Ze(130,t==null?t:typeof t,""))}return e=ws(a,r,e,i),e.elementType=t,e.type=n,e.lanes=s,e}function Nu(t,e,r,n){return t=ws(7,t,n,e),t.lanes=r,t}function w1(t,e,r,n){return t=ws(22,t,n,e),t.elementType=Zx,t.lanes=r,t.stateNode={isHidden:!1},t}function ev(t,e,r){return t=ws(6,t,null,e),t.lanes=r,t}function tv(t,e,r){return e=ws(4,t.children!==null?t.children:[],t.key,e),e.lanes=r,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function uj(t,e,r,n,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ny(0),this.expirationTimes=Ny(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ny(0),this.identifierPrefix=n,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function o3(t,e,r,n,i,s,a,l,u){return t=new uj(t,e,r,l,u),e===1?(e=1,s===!0&&(e|=8)):e=0,s=ws(3,null,null,e),t.current=s,s.stateNode=t,s.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},G4(s),t}function cj(t,e,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;
vendor: 4,595 bytes, line 41
41return{$$typeof:Jc,key:n==null?null:""+n,children:t,containerInfo:e,implementation:r}}function Gk(t){if(!t)return Ll;t=t._reactInternals;e:{if(Yu(t)!==t||t.tag!==1)throw Error(Ze(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break e;case 1:if(Si(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break e}}e=e.return}while(e!==null);throw Error(Ze(171))}if(t.tag===1){var r=t.type;if(Si(r))return G9(t,r,e)}return e}function $k(t,e,r,n,i,s,a,l,u){return t=o3(r,n,!0,t,i,s,a,l,u),t.context=Gk(null),r=t.current,n=oi(),i=Fl(r),s=_o(n,i),s.callback=e??null,Il(r,s,i),t.current.lanes=i,nd(t,i,n),Ti(t,n),t}function E1(t,e,r,n){var i=e.current,s=oi(),a=Fl(i);return r=Gk(r),e.context===null?e.context=r:e.pendingContext=r,e=_o(s,a),e.payload={element:t},n=n===void 0?null:n,n!==null&&(e.callback=n),t=Il(i,e,a),t!==null&&(ta(t,i,a,s),fm(t,i,a)),a}function Bg(t){if(t=t.current,!t.child)return null;switch(t.child.tag){case 5:return t.child.stateNode;default:return t.child.stateNode}}function QE(t,e){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var r=t.retryLane;t.retryLane=r!==0&&r<e?r:e}}function l3(t,e){QE(t,e),(t=t.alternate)&&QE(t,e)}function hj(){return null}var qk=typeof reportError=="function"?reportError:function(t){console.error(t)};function u3(t){this._internalRoot=t}S1.prototype.render=u3.prototype.render=function(t){var e=this._internalRoot;if(e===null)throw Error(Ze(409));E1(t,e,null,null)};S1.prototype.unmount=u3.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var e=t.containerInfo;Hu(function(){E1(null,t,null,null)}),e[Eo]=null}};function S1(t){this._internalRoot=t}S1.prototype.unstable_scheduleHydration=function(t){if(t){var e=S9();t={blockedOn:null,target:t,priority:e};for(var r=0;r<vl.length&&e!==0&&e<vl[r].priority;r++);vl.splice(r,0,t),r===0&&x9(t)}};function c3(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function T1(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function JE(){}function fj(t,e,r,n,i){if(i){if(typeof n=="function"){var s=n;n=function(){var p=Bg(a);s.call(p)}}var a=$k(e,n,t,0,null,!1,!1,"",JE);return t._reactRootContainer=a,t[Eo]=a.current,Df(t.nodeType===8?t.parentNode:t),Hu(),a}for(;i=t.lastChild;)t.removeChild(i);if(typeof n=="function"){var l=n;n=function(){var p=Bg(u);l.call(p)}}var u=o3(t,0,!1,null,null,!1,!1,"",JE);return t._reactRootContainer=u,t[Eo]=u.current,Df(t.nodeType===8?t.parentNode:t),Hu(function(){E1(e,u,r,n)}),u}function x1(t,e,r,n,i){var s=r._reactRootContainer;if(s){var a=s;if(typeof i=="function"){var l=i;i=function(){var u=Bg(a);l.call(u)}}E1(e,a,t,i)}else a=fj(r,e,t,i,n);return Bg(a)}w9=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var r=Yh(e.pendingLanes);r!==0&&(C4(e,r|1),Ti(e,an()),!(lr&6)&&(z0=an()+500,Kl()))}break;case 13:Hu(function(){var n=So(t,1);if(n!==null){var i=oi();ta(n,t,1,i)}}),l3(t,1)}};O4=function(t){if(t.tag===13){var e=So(t,134217728);if(e!==null){var r=oi();ta(e,t,134217728,r)}l3(t,134217728)}};E9=function(t){if(t.tag===13){var e=Fl(t),r=So(t,e);if(r!==null){var n=oi();ta(r,t,e,n)}l3(t,e)}};S9=function(){return yr};T9=function(t,e){var r=yr;try{return yr=t,e()}finally{yr=r}};lb=function(t,e,r){switch(e){case"input":if(tb(t,r),e=r.name,r.type==="radio"&&e!=null){for(r=t;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<r.length;e++){var n=r[e];if(n!==t&&n.form===t.form){var i=m1(n);if(!i)throw Error(Ze(90));t9(n),tb(n,i)}}}break;case"textarea":n9(t,r);break;case"select":e=r.value,e!=null&&y0(t,!!r.multiple,e,!1)}};c9=n3;h9=Hu;var dj={usingClientEntryPoint:!1,Events:[sd,n0,m1,l9,u9,n3]},Oh={findFiberByHostInstance:Mu,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},pj={bundleType:Oh.bundleType,version:Oh.version,rendererPackageName:Oh.rendererPackageName,rendererConfig:Oh.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ro.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=p9(t),t===null?null:t.stateNode},findFiberByHostInstance:Oh.findFiberByHostInstance||hj,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
41if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zp.isDisabled&&zp.supportsFiber)try{h1=zp.inject(pj),Fa=zp}catch{}}Ji.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=dj;Ji.createPortal=function(t,e){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!c3(e))throw Error(Ze(200));return cj(t,e,null,r)};Ji.createRoot=function(t,e){if(!c3(t))throw Error(Ze(299));var r=!1,n="",i=qk;return e!=null&&(e.unstable_strictMode===!0&&(r=!0),e.identifierPrefix!==void 0&&(n=e.identifierPrefix),e.onRecoverableError!==void 0&&(i=e.onRecoverableError)),e=o3(t,1,!1,null,null,r,!1,n,i),t[Eo]=e.current,Df(t.nodeType===8?t.parentNode:t),new u3(e)};Ji.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var e=t._reactInternals;if(e===void 0)throw typeof t.render=="function"?Error(Ze(188)):(t=Object.keys(t).join(","),Error(Ze(268,t)));return t=p9(e),t=t===null?null:t.stateNode,t};Ji.flushSync=function(t){return Hu(t)};Ji.hydrate=function(t,e,r){if(!T1(e))throw Error(Ze(200));return x1(null,t,e,!0,r)};Ji.hydrateRoot=function(t,e,r){if(!c3(t))throw Error(Ze(405));var n=r!=null&&r.hydratedSources||null,i=!1,s="",a=qk;if(r!=null&&(r.unstable_strictMode===!0&&(i=!0),r.identifierPrefix!==void 0&&(s=r.identifierPrefix),r.onRecoverableError!==void 0&&(a=r.onRecoverableError)),e=$k(e,null,t,1,r??null,i,!1,s,a),t[Eo]=e.current,Df(t),n)for(t=0;t<n.length;t++)r=n[t],i=r._getVersion,i=i(r._source),e.mutableSourceEagerHydrationData==null?e.mutableSourceEagerHydrationData=[r,i]:e.mutableSourceEagerHydrationData.push(r,i);return new S1(e)};Ji.render=function(t,e,r){if(!T1(e))throw Error(Ze(200));return x1(null,t,e,!1,r)};Ji.unmountComponentAtNode=function(t){if(!T1(t))throw Error(Ze(40));return t._reactRootContainer?(Hu(function(){x1(null,null,t,!1,function(){t._reactRootContainer=null,t[Eo]=null})}),!0):!1};Ji.unstable_batchedUpdates=n3;Ji.unstable_renderSubtreeIntoContainer=function(t,e,r,n){if(!T1(r))throw Error(Ze(200));if(t==null||t._reactInternals===void 0)throw Error(Ze(38));return x1(t,e,r,!1,n)};Ji.version="18.3.1-next-f1338f8080-20240426";function Vk(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Vk)}catch(t){console.error(t)}}Vk(),Vx.exports=Ji;var h3=Vx.exports;const bue=Ai(h3);var ZE=h3;Yv.createRoot=ZE.createRoot,Yv.hydrateRoot=ZE.hydrateRoot;function Rn(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}var mj=Rn;Rn.EventEmitter=Rn;Rn.prototype._events=void 0;Rn.prototype._maxListeners=void 0;Rn.defaultMaxListeners=10;Rn.prototype.setMaxListeners=function(t){if(!gj(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this};Rn.prototype.emit=function(t){var e,r,n,i,s,a;if(this._events||(this._events={}),t==="error"&&(!this._events.error||Wf(this._events.error)&&!this._events.error.length)){if(e=arguments[1],e instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}if(r=this._events[t],Yk(r))return!1;if(xo(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),r.apply(this,i)}else if(Wf(r))for(i=Array.prototype.slice.call(arguments,1),a=r.slice(),n=a.length,s=0;s<n;s++)a[s].apply(this,i);return!0};Rn.prototype.addListener=function(t,e){var r;if(!xo(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,xo(e.listener)?e.listener:e),this._events[t]?Wf(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,Wf(this._events[t])&&!this._events[t].warned&&(Yk(this._maxListeners)?r=Rn.defaultMaxListeners:r=this._maxListeners,r&&r>0&&this._events[t].length>r&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),typeof console.trace=="function"&&console.trace())),this};Rn.prototype.on=Rn.prototype.addListener;Rn.prototype.once=function(t,e){if(!xo(e))throw TypeError("listener must be a function");var r=!1;function n(){this.removeListener(t,n),r||(r=!0,e.apply(this,arguments))}return n.listener=e,this.on(t,n),this};Rn.prototype.removeListener=function(t,e){var r,n,i,s;if(!xo(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(r=this._events[t],i=r.length,n=-1,r===e||xo(r.listener)&&r.listener===e)delete this._events[t],this._events.removeListener&&this.emit
41("removeListener",t,e);else if(Wf(r)){for(s=i;s-- >0;)if(r[s]===e||r[s].listener&&r[s].listener===e){n=s;break}if(n<0)return this;r.length===1?(r.length=0,delete this._events[t]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this};Rn.prototype.removeAllListeners=function(t){var e,r;if(!this._events)return this;if(!this._events.removeListener)return arguments.length===0?this._events={}:this._events[t]&&delete this._events[t],this;if(arguments.length===0){for(e in this._events)e!=="removeListener"&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],xo(r))this.removeListener(t,r);else if(r)for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this};Rn.prototype.listeners=function(t){var e;return!this._events||!this._events[t]?e=[]:xo(this._events[t])?e=[this._events[t]]:e=this._events[t].slice(),e};Rn.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(xo(e))return 1;if(e)return e.length}return 0};Rn.listenerCount=function(t,e){return t.listenerCount(e)};function xo(t){return typeof t=="function"}function gj(t){return typeof t=="number"}function Wf(t){return typeof t=="object"&&t!==null}function Yk(t){return t===void 0}const _j=Ai(mj);function Kk(){throw new Error("setTimeout has not been defined")}function Xk(){throw new Error("clearTimeout has not been defined")}var tl=Kk,rl=Xk;typeof global.setTimeout=="function"&&(tl=setTimeout);typeof global.clearTimeout=="function"&&(rl=clearTimeout);function Qk(t){if(tl===setTimeout)return setTimeout(t,0);if((tl===Kk||!tl)&&setTimeout)return tl=setTimeout,setTimeout(t,0);try{return tl(t,0)}catch{try{return tl.call(null,t,0)}catch{return tl.call(this,t,0)}}}function yj(t){if(rl===clearTimeout)return clearTimeout(t);if((rl===Xk||!rl)&&clearTimeout)return rl=clearTimeout,clearTimeout(t);try{return rl(t)}catch{try{return rl.call(null,t)}catch{return rl.call(this,t)}}}var go=[],T0=!1,Iu,vm=-1;function vj(){!T0||!Iu||(T0=!1,Iu.length?go=Iu.concat(go):vm=-1,go.length&&Jk())}function Jk(){if(!T0){var t=Qk(vj);T0=!0;for(var e=go.length;e;){for(Iu=go,go=[];++vm<e;)Iu&&Iu[vm].run();vm=-1,e=go.length}Iu=null,T0=!1,yj(t)}}function bj(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];go.push(new Zk(t,e)),go.length===1&&!T0&&Qk(Jk)}function Zk(t,e){this.fun=t,this.array=e}Zk.prototype.run=function(){this.fun.apply(null,this.array)};var wj="browser",Ej="browser",Sj=!0,Tj={},xj=[],kj="",Aj={},Mj={},Cj={};function Ku(){}var Oj=Ku,Ij=Ku,Rj=Ku,Fj=Ku,Dj=Ku,Nj=Ku,Pj=Ku;function Lj(t){throw new Error("process.binding is not supported")}function Bj(){return"/"}function Uj(t){throw new Error("process.chdir is not supported")}function zj(){return 0}var Uc=global.performance||{},jj=Uc.now||Uc.mozNow||Uc.msNow||Uc.oNow||Uc.webkitNow||function(){return new Date().getTime()};function Hj(t){var e=jj.call(Uc)*.001,r=Math.floor(e),n=Math.floor(e%1*1e9);return t&&(r=r-t[0],n=n-t[1],n<0&&(r--,n+=1e9)),[r,n]}var Wj=new Date;function Gj(){var t=new Date,e=t-Wj;return e/1e3}const $j={nextTick:bj,title:wj,browser:Sj,env:Tj,argv:xj,version:kj,versions:Aj,on:Oj,addListener:Ij,once:Rj,off:Fj,removeListener:Dj,removeAllListeners:Nj,emit:Pj,binding:Lj,cwd:Bj,chdir:Uj,umask:zj,hrtime:Hj,platform:Ej,release:Mj,config:Cj,uptime:Gj};var k1={},A1={};A1.byteLength=Yj;A1.toByteArray=Xj;A1.fromByteArray=Zj;var Ma=[],ds=[],qj=typeof Uint8Array<"u"?Uint8Array:Array,rv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var Rc=0,Vj=rv.length;Rc<Vj;++Rc)Ma[Rc]=rv[Rc],ds[rv.charCodeAt(Rc)]=Rc;ds[45]=62;ds[95]=63;function eA(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function Yj(t){var e=eA(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Kj(t,e,r){return(e+r)*3/4-r}function Xj(t){var e,r=eA(t),n=r[0],i=r[1],s=new qj(Kj(t,n,i)),a=0,l=i>0?n-4:n,u;for(u=0;
vendor: 20,468 bytes, lines 41-46
41u<l;u+=4)e=ds[t.charCodeAt(u)]<<18|ds[t.charCodeAt(u+1)]<<12|ds[t.charCodeAt(u+2)]<<6|ds[t.charCodeAt(u+3)],s[a++]=e>>16&255,s[a++]=e>>8&255,s[a++]=e&255;return i===2&&(e=ds[t.charCodeAt(u)]<<2|ds[t.charCodeAt(u+1)]>>4,s[a++]=e&255),i===1&&(e=ds[t.charCodeAt(u)]<<10|ds[t.charCodeAt(u+1)]<<4|ds[t.charCodeAt(u+2)]>>2,s[a++]=e>>8&255,s[a++]=e&255),s}function Qj(t){return Ma[t>>18&63]+Ma[t>>12&63]+Ma[t>>6&63]+Ma[t&63]}function Jj(t,e,r){for(var n,i=[],s=e;s<r;s+=3)n=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(t[s+2]&255),i.push(Qj(n));return i.join("")}function Zj(t){for(var e,r=t.length,n=r%3,i=[],s=16383,a=0,l=r-n;a<l;a+=s)i.push(Jj(t,a,a+s>l?l:a+s));return n===1?(e=t[r-1],i.push(Ma[e>>2]+Ma[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(Ma[e>>10]+Ma[e>>4&63]+Ma[e<<2&63]+"=")),i.join("")}var f3={};f3.read=function(t,e,r,n,i){var s,a,l=i*8-n-1,u=(1<<l)-1,p=u>>1,d=-7,g=r?i-1:0,_=r?-1:1,v=t[e+g];for(g+=_,s=v&(1<<-d)-1,v>>=-d,d+=l;d>0;s=s*256+t[e+g],g+=_,d-=8);for(a=s&(1<<-d)-1,s>>=-d,d+=n;d>0;a=a*256+t[e+g],g+=_,d-=8);if(s===0)s=1-p;else{if(s===u)return a?NaN:(v?-1:1)*(1/0);a=a+Math.pow(2,n),s=s-p}return(v?-1:1)*a*Math.pow(2,s-n)};f3.write=function(t,e,r,n,i,s){var a,l,u,p=s*8-i-1,d=(1<<p)-1,g=d>>1,_=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:s-1,k=n?1:-1,O=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(l=isNaN(e)?1:0,a=d):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+g>=1?e+=_/u:e+=_*Math.pow(2,1-g),e*u>=2&&(a++,u/=2),a+g>=d?(l=0,a=d):a+g>=1?(l=(e*u-1)*Math.pow(2,i),a=a+g):(l=e*Math.pow(2,g-1)*Math.pow(2,i),a=0));i>=8;t[r+v]=l&255,v+=k,l/=256,i-=8);for(a=a<<i|l,p+=i;p>0;t[r+v]=a&255,v+=k,a/=256,p-=8);t[r+v-k]|=O*128};var eH={}.toString,tH=Array.isArray||function(t){return eH.call(t)=="[object Array]"};/*! 42 * The buffer module from node.js, for the browser. 43 * 44 * @author Feross Aboukhadijeh <http://feross.org> 45 * @license MIT 46 */(function(t){var e=A1,r=f3,n=tH;t.Buffer=l,t.SlowBuffer=S,t.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=Kn.TYPED_ARRAY_SUPPORT!==void 0?Kn.TYPED_ARRAY_SUPPORT:i(),t.kMaxLength=s();function i(){try{var U=new Uint8Array(1);return U.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},U.foo()===42&&typeof U.subarray=="function"&&U.subarray(1,1).byteLength===0}catch{return!1}}function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(U,C){if(s()<C)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(U=new Uint8Array(C),U.__proto__=l.prototype):(U===null&&(U=new l(C)),U.length=C),U}function l(U,C,I){if(!l.TYPED_ARRAY_SUPPORT&&!(this instanceof l))return new l(U,C,I);if(typeof U=="number"){if(typeof C=="string")throw new Error("If encoding is specified then the first argument must be a string");return g(this,U)}return u(this,U,C,I)}l.poolSize=8192,l._augment=function(U){return U.__proto__=l.prototype,U};function u(U,C,I,te){if(typeof C=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&C instanceof ArrayBuffer?k(U,C,I,te):typeof C=="string"?_(U,C,I):O(U,C)}l.from=function(U,C,I){return u(null,U,C,I)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,typeof Symbol<"u"&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0}));function p(U){if(typeof U!="number")throw new TypeError('"size" argument must be a number');if(U<0)throw new RangeError('"size" argument must not be negative')}function d(U,C,I,te){return p(C),C<=0?a(U,C):I!==void 0?typeof te=="string"?a(U,C).fill(I,te):a(U,C).fill(I):a(U,C)}l.alloc=function(U,C,I){return d(null,U,C,I)};function g(U,C){if(p(C),U=a(U,C<0?0:N(C)|0),!l.TYPED_ARRAY_SUPPORT)for(var I=0;I<C;++I)U[I]=0;return U}l.allocUnsafe=function(U){return g(null,U)},l.allocUnsafeSlow=function(U){return g(null,U)};function _(U,C,I){if((typeof I!="string"||I==="")&&(I="utf8"),!l.isEncoding(I))throw new TypeError('"encoding" must be a valid string encoding');var te=M(C,I)|0;U=a(U,te);var be=U.write(C,I);return be!==te&&(U=U.slice(0,be)),U}function v(U,C){var I=C.length<0?0:N(C.length)|0;U=a(U,I);for(var te=0;te<I;te+=1)U[te]=C[te]&255;return U}function k(U,C,I,te){if(C.byteLength,I<0||C.byteLength<I)throw new RangeError("'offset' is out of bounds");if(C.byteLength<I+(te||0))throw new RangeError("'length' is out of bounds");return I===void 0&&te===void 0?C=new Uint8Array(C):te===void 0?C=new Uint8Array(C,I):C=new Uint8Array(C,I,te),l.TYPED_ARRAY_SUPPORT?(U=C,U.__proto__=l.prototype):U=v(U,C),U}function O(U,C){if(l.isBuffer(C)){var I=N(C.length)|0;return U=a(U,I),U.length===0||C.copy(U,0,0,I),U}if(C){if(typeof ArrayBuffer<"u"&&C.buffer instanceof ArrayBuffer||"length"in C)return typeof C.length!="number"||Oe(C.length)?a(U,0):v(U,C);if(C.type==="Buffer"&&n(C.data))return v(U,C.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function N(U){if(U>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return U|0}function S(U){return+U!=U&&(U=0),l.alloc(+U)}l.isBuffer=function(C){return!!(C!=null&&C._isBuffer)},l.compare=function(C,I){if(!l.isBuffer(C)||!l.isBuffer(I))throw new TypeError("Arguments must be Buffers");if(C===I)return 0;for(var te=C.length,be=I.length,Le=0,ze=Math.min(te,be);Le<ze;++Le)if(C[Le]!==I[Le]){te=C[Le],be=I[Le];break}return te<be?-1:be<te?1:0},l.isEncoding=function(C){switch(String(C).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(C,I){if(!n(C))throw new TypeError('"list" argument must be an Array of Buffers');if(C.length===0)return l.alloc(0);var te;if(I===void 0)for(I=0,te=0;te<C.length;++te)I+=C[te].length;var be=l.allocUnsafe(I),Le=0;for(te=0;te<C.length;++te){var ze=C[te];if(!l.isBuffer(ze))throw new TypeError('"list" argument must be an Array of Buffers');ze.copy(be,Le),Le+=ze.length}return be};function M(U,C){if(l.isBuffer(U))return U.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(U)||U instanceof ArrayBuffer))return U.byteLength;typeof U!="string"&&(U=""+U);var I=U.length;if(I===0)return 0;for(var te=!1;;)switch(C){case"ascii":case"latin1":case"binary":return I;case"utf8":case"utf-8":case void 0:return Ne(U).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I*2;case"hex":return I>>>1;case"base64":return oe(U).length;default:if(te)return Ne(U).length;C=(""+C).toLowerCase(),te=!0}}l.byteLength=M;function F(U,C,I){var te=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((I===void 0||I>this.length)&&(I=this.length),I<=0)||(I>>>=0,C>>>=0,I<=C))return"";for(U||(U="utf8");;)switch(U){case"hex":return Ye(this,C,I);case"utf8":case"utf-8":return fe(this,C,I);case"ascii":return ve(this,C,I);case"latin1":case"binary":return xe(this,C,I);case"base64":return Q(this,C,I);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,C,I);default:if(te)throw new TypeError("Unknown encoding: "+U);U=(U+"").toLowerCase(),te=!0}}l.prototype._isBuffer=!0;function G(U,C,I){var te=U[C];U[C]=U[I],U[I]=te}l.prototype.swap16=function(){var C=this.length;if(C%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var I=0;I<C;I+=2)G(this,I,I+1);return this},l.prototype.swap32=function(){var C=this.length;if(C%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var I=0;I<C;I+=4)G(this,I,I+3),G(this,I+1,I+2);return this},l.prototype.swap64=function(){var C=this.length;if(C%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var I=0;I<C;I+=8)G(this,I,I+7),G(this,I+1,I+6),G(this,I+2,I+5),G(this,I+3,I+4);return this},l.prototype.toString=function(){var C=this.length|0;return C===0?"":arguments.length===0?fe(this,0,C):F.apply(this,arguments)},l.prototype.equals=function(C){if(!l.isBuffer(C))throw new TypeError("Argument must be a Buffer");return this===C?!0:l.compare(this,C)===0},l.prototype.inspect=function(){var C="",I=t.INSPECT_MAX_BYTES;return this.length>0&&(C=this.toString("hex",0,I).match(/.{2}/g).join(" "),this.length>I&&(C+=" ... ")),"<Buffer "+C+">"},l.prototype.compare=function(C,I,te,be,Le){if(!l.isBuffer(C))throw new TypeError("Argument must be a Buffer");if(I===void 0&&(I=0),te===void 0&&(te=C?C.length:0),be===void 0&&(be=0),Le===void 0&&(Le=this.length),I<0||te>C.length||be<0||Le>this.length)throw new RangeError("out of range index");if(be>=Le&&I>=te)return 0;if(be>=Le)return-1;if(I>=te)return 1;if(I>>>=0,te>>>=0,be>>>=0,Le>>>=0,this===C)return 0;for(var ze=Le-be,Ft=te-I,Yt=Math.min(ze,Ft),Ae=this.slice(be,Le),We=C.slice(I,te),ht=0;ht<Yt;++ht)if(Ae[ht]!==We[ht]){ze=Ae[ht],Ft=We[ht];break}return ze<Ft?-1:Ft<ze?1:0};function X(U,C,I,te,be){if(U.length===0)return-1;if(typeof I=="string"?(te=I,I=0):I>2147483647?I=2147483647:I<-2147483648&&(I=-2147483648),I=+I,isNaN(I)&&(I=be?0:U.length-1),I<0&&(I=U.length+I),I>=U.length){if(be)return-1;I=U.length-1}else if(I<0)if(be)I=0;else return-1;if(typeof C=="string"&&(C=l.from(C,te)),l.isBuffer(C))return C.length===0?-1:z(U,C,I,te,be);if(typeof C=="number")return C=C&255,l.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?be?Uint8Array.prototype.indexOf.call(U,C,I):Uint8Array.prototype.lastIndexOf.call(U,C,I):z(U,[C],I,te,be);throw new TypeError("val must be string, number or Buffer")}function z(U,C,I,te,be){var Le=1,ze=U.length,Ft=C.length;if(te!==void 0&&(te=String(te).toLowerCase(),te==="ucs2"||te==="ucs-2"||te==="utf16le"||te==="utf-16le")){if(U.length<2||C.length<2)return-1;Le=2,ze/=2,Ft/=2,I/=2}function Yt(ye,kr){return Le===1?ye[kr]:ye.readUInt16BE(kr*Le)}var Ae;if(be){var We=-1;for(Ae=I;Ae<ze;Ae++)if(Yt(U,Ae)===Yt(C,We===-1?0:Ae-We)){if(We===-1&&(We=Ae),Ae-We+1===Ft)return We*Le}else We!==-1&&(Ae-=Ae-We),We=-1}else for(I+Ft>ze&&(I=ze-Ft),Ae=I;Ae>=0;Ae--){for(var ht=!0,Bt=0;Bt<Ft;Bt++)if(Yt(U,Ae+Bt)!==Yt(C,Bt)){ht=!1;break}if(ht)return Ae}return-1}l.prototype.includes=function(C,I,te){return this.indexOf(C,I,te)!==-1},l.prototype.indexOf=function(C,I,te){return X(this,C,I,te,!0)},l.prototype.lastIndexOf=function(C,I,te){return X(this,C,I,te,!1)};function R(U,C,I,te){I=Number(I)||0;var be=U.length-I;te?(te=Number(te),te>be&&(te=be)):te=be;var Le=C.length;if(Le%2!==0)throw new TypeError("Invalid hex string");te>Le/2&&(te=Le/2);for(var ze=0;ze<te;++ze){var Ft=parseInt(C.substr(ze*2,2),16);if(isNaN(Ft))return ze;U[I+ze]=Ft}return ze}function H(U,C,I,te){return ge(Ne(C,U.length-I),U,I,te)}function re(U,C,I,te){return ge(K(C),U,I,te)}function ie(U,C,I,te){return re(U,C,I,te)}function q(U,C,I,te){return ge(oe(C),U,I,te)}function Y(U,C,I,te){return ge(ee(C,U.length-I),U,I,te)}l.prototype.write=function(C,I,te,be){if(I===void 0)be="utf8",te=this.length,I=0;else if(te===void 0&&typeof I=="string")be=I,te=this.length,I=0;else if(isFinite(I))I=I|0,isFinite(te)?(te=te|0,be===void 0&&(be="utf8")):(be=te,te=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var Le=this.length-I;if((te===void 0||te>Le)&&(te=Le),C.length>0&&(te<0||I<0)||I>this.length)throw new RangeError("Attempt to write outside buffer bounds");be||(be="utf8");for(var ze=!1;;)switch(be){case"hex":return R(this,C,I,te);case"utf8":case"utf-8":return H(this,C,I,te);case"ascii":return re(this,C,I,te);case"latin1":case"binary":return ie(this,C,I,te);case"base64":return q(this,C,I,te);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,I,te);default:if(ze)throw new TypeError("Unknown encoding: "+be);be=(""+be).toLowerCase(),ze=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Q(U,C,I){return C===0&&I===U.length?e.fromByteArray(U):e.fromByteArray(U.slice(C,I))}function fe(U,C,I){I=Math.min(U.length,I);for(var te=[],be=C;be<I;){var Le=U[be],ze=null,Ft=Le>239?4:Le>223?3:Le>191?2:1;if(be+Ft<=I){var Yt,Ae,We,ht;switch(Ft){case 1:Le<128&&(ze=Le);break;case 2:Yt=U[be+1],(Yt&192)===128&&(ht=(Le&31)<<6|Yt&63,ht>127&&(ze=ht));break;case 3:Yt=U[be+1],Ae=U[be+2],(Yt&192)===128&&(Ae&192)===128&&(ht=(Le&15)<<12|(Yt&63)<<6|Ae&63,ht>2047&&(ht<55296||ht>57343)&&(ze=ht));break;case 4:Yt=U[be+1],Ae=U[be+2],We=U[be+3],(Yt&192)===128&&(Ae&192)===128&&(We&192)===128&&(ht=(Le&15)<<18|(Yt&63)<<12|(Ae&63)<<6|We&63,ht>65535&&ht<1114112&&(ze=ht))}}ze===null?(ze=65533,Ft=1):ze>65535&&(ze-=65536,te.push(ze>>>10&1023|55296),ze=56320|ze&1023),te.push(ze),be+=Ft}return Te(te)}var pe=4096;function Te(U){var C=U.length;if(C<=pe)return String.fromCharCode.apply(String,U);for(var I="",te=0;te<C;)I+=String.fromCharCode.apply(String,U.slice(te,te+=pe));return I}function ve(U,C,I){var te="";I=Math.min(U.length,I);for(var be=C;be<I;++be)te+=String.fromCharCode(U[be]&127);return te}function xe(U,C,I){var te="";I=Math.min(U.length,I);for(var be=C;be<I;++be)te+=String.fromCharCode(U[be]);return te}function Ye(U,C,I){var te=U.length;(!C||C<0)&&(C=0),(!I||I<0||I>te)&&(I=te);for(var be="",Le=C;Le<I;++Le)be+=Fe(U[Le]);return be}function B(U,C,I){for(var te=U.slice(C,I),be="",Le=0;Le<te.length;Le+=2)be+=String.fromCharCode(te[Le]+te[Le+1]*256);return be}l.prototype.slice=function(C,I){var te=this.length;C=~~C,I=I===void 0?te:~~I,C<0?(C+=te,C<0&&(C=0)):C>te&&(C=te),I<0?(I+=te,I<0&&(I=0)):I>te&&(I=te),I<C&&(I=C);var be;if(l.TYPED_ARRAY_SUPPORT)be=this.subarray(C,I),be.__proto__=l.prototype;else{var Le=I-C;be=new l(Le,void 0);for(var ze=0;ze<Le;++ze)be[ze]=this[ze+C]}return be};function Ce(U,C,I){if(U%1!==0||U<0)throw new RangeError("offset is not uint");if(U+C>I)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUIntLE=function(C,I,te){C=C|0,I=I|0,te||Ce(C,I,this.length);for(var be=this[C],Le=1,ze=0;++ze<I&&(Le*=256);)be+=this[C+ze]*Le;return be},l.prototype.readUIntBE=function(C,I,te){C=C|0,I=I|0,te||Ce(C,I,this.length);for(var be=this[C+--I],Le=1;I>0&&(Le*=256);)be+=this[C+--I]*Le;return be},l.prototype.readUInt8=function(C,I){return I||Ce(C,1,this.length),this[C]},l.prototype.readUInt16LE=function(C,I){return I||Ce(C,2,this.length),this[C]|this[C+1]<<8},l.prototype.readUInt16BE=function(C,I){return I||Ce(C,2,this.length),this[C]<<8|this[C+1]},l.prototype.readUInt32LE=function(C,I){return I||Ce(C,4,this.length),(this[C]|this[C+1]<<8|this[C+2]<<16)+this[C+3]*16777216},l.prototype.readUInt32BE=function(C,I){return I||Ce(C,4,this.length),this[C]*16777216+(this[C+1]<<16|this[C+2]<<8|this[C+3])},l.prototype.readIntLE=function(C,I,te){C=C|0,I=I|0,te||Ce(C,I,this.length);for(var be=this[C],Le=1,ze=0;++ze<I&&(Le*=256);)be+=this[C+ze]*Le;return Le*=128,be>=Le&&(be-=Math.pow(2,8*I)),be},l.prototype.readIntBE=function(C,I,te){C=C|0,I=I|0,te||Ce(C,I,this.length);for(var be=I,Le=1,ze=this[C+--be];be>0&&(Le*=256);)ze+=this[C+--be]*Le;return Le*=128,ze>=Le&&(ze-=Math.pow(2,8*I)),ze},l.prototype.readInt8=function(C,I){return I||Ce(C,1,this.length),this[C]&128?(255-this[C]+1)*-1:this[C]},l.prototype.readInt16LE=function(C,I){I||Ce(C,2,this.length);var te=this[C]|this[C+1]<<8;return te&32768?te|4294901760:te},l.prototype.readInt16BE=function(C,I){I||Ce(C,2,this.length);var te=this[C+1]|this[C]<<8;return te&32768?te|4294901760:te},l.prototype.readInt32LE=function(C,I){return I||Ce(C,4,this.length),this[C]|this[C+1]<<8|this[C+2]<<16|this[C+3]<<24},l.prototype.readInt32BE=function(C,I){return I||Ce(C,4,this.length),this[C]<<24|this[C+1]<<16|this[C+2]<<8|this[C+3]},l.prototype.readFloatLE=function(C,I){return I||Ce(C,4,this.length),r.read(this,C,!0,23,4)},l.prototype.readFloatBE=function(C,I){return I||Ce(C,4,this.length),r.read(this,C,!1,23,4)},l.prototype.readDoubleLE=function(C,I){return I||Ce(C,8,this.length),r.read(this,C,!0,52,8)},l.prototype.readDoubleBE=function(C,I){return I||Ce(C,8,this.length),r.read(this,C,!1,52,8)};function Pe(U,C,I,te,be,Le){if(!l.isBuffer(U))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>be||C<Le)throw new RangeError('"value" argument is out of bounds');if(I+te>U.length)throw new RangeError("Index out of range")}l.prototype.writeUIntLE=function(C,I,te,be){if(C=+C,I=I|0,te=te|0,!be){var Le=Math.pow(2,8*te)-1;Pe(this,C,I,te,Le,0)}var ze=1,Ft=0;for(this[I]=C&255;++Ft<te&&(ze*=256);)this[I+Ft]=C/ze&255;return I+te},l.prototype.writeUIntBE=function(C,I,te,be){if(C=+C,I=I|0,te=te|0,!be){var Le=Math.pow(2,8*te)-1;Pe(this,C,I,te,Le,0)}var ze=te-1,Ft=1;for(this[I+ze]=C&255;--ze>=0&&(Ft*=256);)this[I+ze]=C/Ft&255;return I+te},l.prototype.writeUInt8=function(C,I,te){return C=+C,I=I|0,te||Pe(this,C,I,1,255,0),l.TYPED_ARRAY_SUPPORT||(C=Math.floor(C)),this[I]=C&255,I+1};function le(U,C,I,te){C<0&&(C=65535+C+1);for(var be=0,Le=Math.min(U.length-I,2);be<Le;++be)U[I+be]=(C&255<<8*(te?be:1-be))>>>(te?be:1-be)*8}l.prototype.writeUInt16LE=function(C,I,te){return C=+C,I=I|0,te||Pe(this,C,I,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[I]=C&255,this[I+1]=C>>>8):le(this,C,I,!0),I+2},l.prototype.writeUInt16BE=function(C,I,te){return C=+C,I=I|0,te||Pe(this,C,I,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[I]=C>>>8,this[I+1]=C&255):le(this,C,I,!1),I+2};function Lt(U,C,I,te){C<0&&(C=4294967295+C+1);for(var be=0,Le=Math.min(U.length-I,4);be<Le;++be)U[I+be]=C>>>(te?be:3-be)*8&255}l.prototype.writeUInt32LE=function(C,I,te){return C=+C,I=I|0,te||Pe(this,C,I,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[I+3]=C>>>24,this[I+2]=C>>>16,this[I+1]=C>>>8,this[I]=C&255):Lt(this,C,I,!0),I+4},l.prototype.writeUInt32BE=function(C,I,te){return C=+C,I=I|0,te||Pe(this,C,I,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[I]=C>>>24,this[I+1]=C>>>16,this[I+2]=C>>>8,this[I+3]=C&255):Lt(this,C,I,!1),I+4},l.prototype.writeIntLE=function(C,I,te,be){if(C=+C,I=I|0,!be){var Le=Math.pow(2,8*te-1);Pe(this,C,I,te,Le-1,-Le)}var ze=0,Ft=1,Yt=0;for(this[I]=C&255;++ze<te&&(Ft*=256);)C<0&&Yt===0&&this[I+ze-1]!==0&&(Yt=1),this[I+ze]=(C/Ft>>0)-Yt&255;return I+te},l.prototype.writeIntBE=function(C,I,te,be){if(C=+C,I=I|0,!be){var Le=Math.pow(2,8*te-1);Pe(this,C,I,te,Le-1,-Le)}var ze=te-1,Ft=1,Yt=0;for(this[I+ze]=C&255;--ze>=0&&(Ft*=256);)C<0&&Yt===0&&this[I+ze+1]!==0&&(Yt=1),this[I+ze]=(C/Ft>>0)-Yt&255;return I+te},l.prototype.writeInt8=function(C,I,te){return C=+C,I=I|0,te||Pe(this,C,I,1,127,-128),l.TYPED_ARRAY_SUPPORT||(C=Math.floor(C)),C<0&&(C=255+C+1),this[I]=C&255,I+1},l.prototype.writeInt16LE=function(C,I,te){return C=+C,I=I|0,te||Pe(this,C,I,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[I]=C&255,this[I+1]=C>>>8):le(this,C,I,!0),I+2},l.prototype.writeInt16BE=function(C,I,te){return C=+C,I=I|0,te||Pe(this,C,I,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[I]=C>>>8,this[I+1]=C&255):le(this,C,I,!1),I+2},l.prototype.writeInt32LE=function(C,I,te){return C=+C,I=I|0,te||Pe(this,C,I,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[I]=C&255,this[I+1]=C>>>8,this[I+2]=C>>>16,this[I+3]=C>>>24):Lt(this,C,I,!0),I+4},l.prototype.writeInt32BE=function(C,I,te){return C=+C,I=I|0,te||Pe(this,C,I,4,2147483647,-2147483648),C<0&&(C=4294967295+C+1),l.TYPED_ARRAY_SUPPORT?(this[I]=C>>>24,this[I+1]=C>>>16,this[I+2]=C>>>8,this[I+3]=C&255):Lt(this,C,I,!1),I+4};function Ht(U,C,I,te,be,Le){if(I+te>U.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("Index out of range")}function At(U,C,I,te,be){return be||Ht(U,C,I,4),r.write(U,C,I,te,23,4),I+4}l.prototype.writeFloatLE=function(C,I,te){return At(this,C,I,!0,te)},l.prototype.writeFloatBE=function(C,I,te){return At(this,C,I,!1,te)};function Ke(U,C,I,te,be){return be||Ht(U,C,I,8),r.write(U,C,I,te,52,8),I+8}l.prototype.writeDoubleLE=function(C,I,te){return Ke(this,C,I,!0,te)},l.prototype.writeDoubleBE=function(C,I,te){return Ke(this,C,I,!1,te)},l.prototype.copy=function(C,I,te,be){if(te||(te=0),!be&&be!==0&&(be=this.length),I>=C.length&&(I=C.length),I||(I=0),be>0&&be<te&&(be=te),be===te||C.length===0||this.length===0)return 0;if(I<0)throw new RangeError("targetStart out of bounds");if(te<0||te>=this.length)throw new RangeError("sourceStart out of bounds");if(be<0)throw new RangeError("sourceEnd out of bounds");be>this.length&&(be=this.length),C.length-I<be-te&&(be=C.length-I+te);var Le=be-te,ze;if(this===C&&te<I&&I<be)for(ze=Le-1;ze>=0;--ze)C[ze+I]=this[ze+te];else if(Le<1e3||!l.TYPED_ARRAY_SUPPORT)for(ze=0;ze<Le;++ze)C[ze+I]=this[ze+te];else Uint8Array.prototype.set.call(C,this.subarray(te,te+Le),I);return Le},l.prototype.fill=function(C,I,te,be){if(typeof C=="string"){if(typeof I=="str
46ing"?(be=I,I=0,te=this.length):typeof te=="string"&&(be=te,te=this.length),C.length===1){var Le=C.charCodeAt(0);Le<256&&(C=Le)}if(be!==void 0&&typeof be!="string")throw new TypeError("encoding must be a string");if(typeof be=="string"&&!l.isEncoding(be))throw new TypeError("Unknown encoding: "+be)}else typeof C=="number"&&(C=C&255);if(I<0||this.length<I||this.length<te)throw new RangeError("Out of range index");if(te<=I)return this;I=I>>>0,te=te===void 0?this.length:te>>>0,C||(C=0);var ze;if(typeof C=="number")for(ze=I;ze<te;++ze)this[ze]=C;else{var Ft=l.isBuffer(C)?C:Ne(new l(C,be).toString()),Yt=Ft.length;for(ze=0;ze<te-I;++ze)this[ze+I]=Ft[ze%Yt]}return this};var Ve=/[^+\/0-9A-Za-z-_]/g;function wt(U){if(U=Dt(U).replace(Ve,""),U.length<2)return"";for(;U.length%4!==0;)U=U+"=";return U}function Dt(U){return U.trim?U.trim():U.replace(/^\s+|\s+$/g,"")}function Fe(U){return U<16?"0"+U.toString(16):U.toString(16)}function Ne(U,C){C=C||1/0;for(var I,te=U.length,be=null,Le=[],ze=0;ze<te;++ze){if(I=U.charCodeAt(ze),I>55295&&I<57344){if(!be){if(I>56319){(C-=3)>-1&&Le.push(239,191,189);continue}else if(ze+1===te){(C-=3)>-1&&Le.push(239,191,189);continue}be=I;continue}if(I<56320){(C-=3)>-1&&Le.push(239,191,189),be=I;continue}I=(be-55296<<10|I-56320)+65536}else be&&(C-=3)>-1&&Le.push(239,191,189);if(be=null,I<128){if((C-=1)<0)break;Le.push(I)}else if(I<2048){if((C-=2)<0)break;Le.push(I>>6|192,I&63|128)}else if(I<65536){if((C-=3)<0)break;Le.push(I>>12|224,I>>6&63|128,I&63|128)}else if(I<1114112){if((C-=4)<0)break;Le.push(I>>18|240,I>>12&63|128,I>>6&63|128,I&63|128)}else throw new Error("Invalid code point")}return Le}function K(U){for(var C=[],I=0;I<U.length;++I)C.push(U.charCodeAt(I)&255);return C}function ee(U,C){for(var I,te,be,Le=[],ze=0;ze<U.length&&!((C-=2)<0);++ze)I=U.charCodeAt(ze),te=I>>8,be=I%256,Le.push(be),Le.push(te);return Le}function oe(U){return e.toByteArray(wt(U))}function ge(U,C,I,te){for(var be=0;be<te&&!(be+I>=C.length||be>=U.length);++be)C[be+I]=U[be];return be}function Oe(U){return U!==U}})(k1);const rH="modulepreload",nH=function(t){return"/"+t},e8={},q0=function(e,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));i=Promise.allSettled(r.map(u=>{if(u=nH(u),u in e8)return;e8[u]=!0;const p=u.endsWith(".css"),d=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const g=document.createElement("link");if(g.rel=p?"stylesheet":rH,p||(g.as="script"),g.crossOrigin="",g.href=u,l&&g.setAttribute("nonce",l),document.head.appendChild(g),p)return new Promise((_,v)=>{g.addEventListener("load",_),g.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${u}`)))})}))}function s(a){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=a,window.dispatchEvent(l),!l.defaultPrevented)throw a}return i.then(a=>{for(const l of a||[])l.status==="rejected"&&s(l.reason);return e().catch(s)})};/** 47 * @remix-run/router v1.23.2 48 * 49 * Copyright (c) Remix Software Inc. 50 * 51 * This source code is licensed under the MIT license found in the 52 * LICENSE.md file in the root directory of this source tree. 53 * 54 * @license MIT 55 */function jb(){return jb=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},jb.apply(this,arguments)}var Ug;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(Ug||(Ug={}));function _n(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function d3(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function t8(t){let{pathname:e="/",search:r="",hash:n=""}=t;return r&&r!=="?"&&(e+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function od(t){let e={};if(t){let r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));let n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}var r8;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(r8||(r8={}));function iH(t,e,r){return r===void 0&&(r="/"),sH(t,e,r)}function sH(t,e,r,n){let i=typeof e=="string"?od(e):e,s=p3(i.pathname||"/",r);if(s==null)return null;let a=tA(t);aH(a);let l=null;for(let u=0;l==null&&u<a.length;++u){let p=yH(s);l=mH(a[u],p)}return l}function tA(t,e,r,n){e===void 0&&(e=[]),r===void 0&&(r=[]),n===void 0&&(n="");let i=(s,a,l)=>{let u={relativePath:l===void 0?s.path||"":l,caseSensitive:s.caseSensitive===!0,childrenIndex:a,route:s};u.relativePath.startsWith("/")&&(_n(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not val
55id. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let p=Nl([n,u.relativePath]),d=r.concat(u);s.children&&s.children.length>0&&(_n(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+p+'".')),tA(s.children,e,d,p)),!(s.path==null&&!s.index)&&e.push({path:p,score:dH(p,s.index),routesMeta:d})};return t.forEach((s,a)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))i(s,a);else for(let u of rA(s.path))i(s,a,u)}),e}function rA(t){let e=t.split("/");if(e.length===0)return[];let[r,...n]=e,i=r.endsWith("?"),s=r.replace(/\?$/,"");if(n.length===0)return i?[s,""]:[s];let a=rA(n.join("/")),l=[];return l.push(...a.map(u=>u===""?s:[s,u].join("/"))),i&&l.push(...a),l.map(u=>t.startsWith("/")&&u===""?"/":u)}function aH(t){t.sort((e,r)=>e.score!==r.score?r.score-e.score:pH(e.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const oH=/^:[\w-]+$/,lH=3,uH=2,cH=1,hH=10,fH=-2,n8=t=>t==="*";function dH(t,e){let r=t.split("/"),n=r.length;return r.some(n8)&&(n+=fH),e&&(n+=uH),r.filter(i=>!n8(i)).reduce((i,s)=>i+(oH.test(s)?lH:s===""?cH:hH),n)}function pH(t,e){return t.length===e.length&&t.slice(0,-1).every((n,i)=>n===e[i])?t[t.length-1]-e[e.length-1]:0}function mH(t,e,r){let{routesMeta:n}=t,i={},s="/",a=[];for(let l=0;l<n.length;++l){let u=n[l],p=l===n.length-1,d=s==="/"?e:e.slice(s.length)||"/",g=gH({path:u.relativePath,caseSensitive:u.caseSensitive,end:p},d),_=u.route;if(!g)return null;
vendor: 4,204 bytes, lines 55-63
55Object.assign(i,g.params),a.push({params:i,pathname:Nl([s,g.pathname]),pathnameBase:SH(Nl([s,g.pathnameBase])),route:_}),g.pathnameBase!=="/"&&(s=Nl([s,g.pathnameBase]))}return a}function gH(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,n]=_H(t.path,t.caseSensitive,t.end),i=e.match(r);if(!i)return null;let s=i[0],a=s.replace(/(.)\/+$/,"$1"),l=i.slice(1);return{params:n.reduce((p,d,g)=>{let{paramName:_,isOptional:v}=d;if(_==="*"){let O=l[g]||"";a=s.slice(0,s.length-O.length).replace(/(.)\/+$/,"$1")}const k=l[g];return v&&!k?p[_]=void 0:p[_]=(k||"").replace(/%2F/g,"/"),p},{}),pathname:s,pathnameBase:a,pattern:t}}function _H(t,e,r){e===void 0&&(e=!1),r===void 0&&(r=!0),d3(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let n=[],i="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,l,u)=>(n.push({paramName:l,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(n.push({paramName:"*"}),i+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":t!==""&&t!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,e?void 0:"i"),n]}function yH(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return d3(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function p3(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let r=e.endsWith("/")?e.length-1:e.length,n=t.charAt(r);return n&&n!=="/"?null:t.slice(r)||"/"}const vH=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,bH=t=>vH.test(t);function wH(t,e){e===void 0&&(e="/");let{pathname:r,search:n="",hash:i=""}=typeof t=="string"?od(t):t,s;if(r)if(bH(r))s=r;else{if(r.includes("//")){let a=r;r=r.replace(/\/\/+/g,"/"),d3(!1,"Pathnames cannot have embedded double slashes - normalizing "+(a+" -> "+r))}r.startsWith("/")?s=i8(r.substring(1),"/"):s=i8(r,e)}else s=e;return{pathname:s,search:TH(n),hash:xH(i)}}function i8(t,e){let r=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function nv(t,e,r,n){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function EH(t){return t.filter((e,r)=>r===0||e.route.path&&e.route.path.length>0)}function m3(t,e){let r=EH(t);return e?r.map((n,i)=>i===r.length-1?n.pathname:n.pathnameBase):r.map(n=>n.pathnameBase)}function g3(t,e,r,n){n===void 0&&(n=!1);let i;typeof t=="string"?i=od(t):(i=jb({},t),_n(!i.pathname||!i.pathname.includes("?"),nv("?","pathname","search",i)),_n(!i.pathname||!i.pathname.includes("#"),nv("#","pathname","hash",i)),_n(!i.search||!i.search.includes("#"),nv("#","search","hash",i)));let s=t===""||i.pathname==="",a=s?"/":i.pathname,l;if(a==null)l=r;else{let g=e.length-1;if(!n&&a.startsWith("..")){let _=a.split("/");for(;_[0]==="..";)_.shift(),g-=1;i.pathname=_.join("/")}l=g>=0?e[g]:"/"}let u=wH(i,l),p=a&&a!=="/"&&a.endsWith("/"),d=(s||a===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(p||d)&&(u.pathname+="/"),u}const Nl=t=>t.join("/").replace(/\/\/+/g,"/"),SH=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),TH=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,xH=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;function kH(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const nA=["post","put","patch","delete"];new Set(nA);const AH=["get",...nA];new Set(AH);/** 56 * React Router v6.30.3 57 * 58 * Copyright (c) Remix Software Inc. 59 * 60 * This source code is licensed under the MIT license found in the 61 * LICENSE.md file in the root directory of this source tree. 62 * 63 * @license MIT
64 */function Gf(){return Gf=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Gf.apply(this,arguments)}const _3=$.createContext(null),MH=$.createContext(null),Xl=$.createContext(null),M1=$.createContext(null),Ua=$.createContext({outlet:null,matches:[],isDataRoute:!1}),iA=$.createContext(null);function CH(t,e){let{relative:r}=e===void 0?{}:e;V0()||_n(!1);let{basename:n,navigator:i}=$.useContext(Xl),{hash:s,pathname:a,search:l}=aA(t,{relative:r}),u=a;return n!=="/"&&(u=a==="/"?n:Nl([n,a])),i.createHref({pathname:u,search:l,hash:s})}function V0(){return $.useContext(M1)!=null}function Ql(){return V0()||_n(!1),$.useContext(M1).location}function sA(t){$.useContext(Xl).static||$.useLayoutEffect(t)}function ld(){let{isDataRoute:t}=$.useContext(Ua);return t?GH():OH()}function OH(){V0()||_n(!1);let t=$.useContext(_3),{basename:e,future:r,navigator:n}=$.useContext(Xl),{matches:i}=$.useContext(Ua),{pathname:s}=Ql(),a=JSON.stringify(m3(i,r.v7_relativeSplatPath)),l=$.useRef(!1);return sA(()=>{l.current=!0}),$.useCallback(function(p,d){if(d===void 0&&(d={}),!l.current)return;if(typeof p=="number"){n.go(p);return}let g=g3(p,JSON.parse(a),s,d.relative==="path");t==null&&e!=="/"&&(g.pathname=g.pathname==="/"?e:Nl([e,g.pathname])),(d.replace?n.replace:n.push)(g,d.state,d)},[e,n,a,s,t])}const IH=$.createContext(null);function RH(t){let e=$.useContext(Ua).outlet;return e&&$.createElement(IH.Provider,{value:t},e)}function wue(){let{matches:t}=$.useContext(Ua),e=t[t.length-1];return e?e.params:{}}function aA(t,e){let{relative:r}=e===void 0?{}:e,{future:n}=$.useContext(Xl),{matches:i}=$.useContext(Ua),{pathname:s}=Ql(),a=JSON.stringify(m3(i,n.v7_relativeSplatPath));return $.useMemo(()=>g3(t,JSON.parse(a),s,r==="path"),[t,a,s,r])}function FH(t,e){return DH(t,e)}function DH(t,e,r,n){V0()||_n(!1);let{navigator:i}=$.useContext(Xl),{matches:s}=$.useContext(Ua),a=s[s.length-1],l=a?a.params:{};a&&a.pathname;let u=a?a.pathnameBase:"/";a&&a.route;let p=Ql(),d;if(e){var g;let N=typeof e=="string"?od(e):e;u==="/"||(g=N.pathname)!=null&&g.startsWith(u)||_n(!1),d=N}else d=p;let _=d.pathname||"/",v=_;if(u!=="/"){let N=u.replace(/^\//,"").split("/");v="/"+_.replace(/^\//,"").split("/").slice(N.length).join("/")}let k=iH(t,{pathname:v}),O=UH(k&&k.map(N=>Object.assign({},N,{params:Object.assign({},l,N.params),pathname:Nl([u,i.encodeLocation?i.encodeLocation(N.pathname).pathname:N.pathname]),pathnameBase:N.pathnameBase==="/"?u:Nl([u,i.encodeLocation?i.encodeLocation(N.pathnameBase).pathname:N.pathnameBase])})),s,r,n);return e&&O?$.createElement(M1.Provider,{value:{location:Gf({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Ug.Pop}},O):O}function NH(){let t=WH(),e=kH(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return $.createElement($.Fragment,null,$.createElement("h2",null,"Unexpected Application Error!"),$.createElement("h3",{style:{fontStyle:"italic"}},e),r?$.createElement("pre",{style:i},r):null,null)}const PH=$.createElement(NH,null);class LH extends $.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,r){return r.location!==e.location||r.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:r.error,location:r.location,revalidation:e.revalidation||r.revalidation}}componentDidCatch(e,r){console.error("React Router caught the following error during render",e,r)}render(){return this.state.error!==void 0?$.createElement(Ua.Provider,{value:this.props.routeContext},$.createElement(iA.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function BH(t){let{routeContext:e,match:r,children:n}=t,i=$.useContext(_3);return i&&i.static&&i.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=r.route.id),$.createElement(Ua.Provider,{value:e},n)}function UH(t,e,r,n){var i;if(e===void 0&&(e=[]),r===void 0&&(r=null),n===void 0&&(n=null),t==null){var s;if(!r)return null;if(r.errors)t=r.matches;else if((s=n)!=null&&s.v7_partialHydration&&e.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let a=t,l=(i=r)==null?void 0:i.errors;if(l!=null){let d=a.findIndex(g=>g.route.id&&(l==null?void 0:l[g.route.id])!==void 0);d>=0||_n(!1),a=a.slice(0,Math.min(a.length,d+1))}let u=!1,p=-1;if(r&&n&&n.v7_partialHydration)for(let d=0;d<a.length;d++){let g=a[d];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(p=d),g.route.id){let{loaderData:_,errors:v}=r,k=g.route.loader&&_[g.route.id]===void 0&&(!v||v[g.route.id]===void 0);if(g.route.lazy||k){u=!0,p>=0?a=a.slice(0,p+1):a=[a[0]];break}}}return a.reduceRight((d,g,_)=>{let v,k=!1,O=null,N=null;r&&(v=l&&g.route.id?l[g.route.id]:void 0,O=g.route.errorElement||PH,u&&(p<0&&_===0?($H("route-fallback"),k=!0,N=null):p===_&&(k=!0,N=g.route.hydrateFallbackElement||null)));let S=e.concat(a.slice(0,_+1)),M=()=>{let F;return v?F=O:k?F=N:g.route.Component?F=$.createElement(g.route.Component,null):g.route.element?F=g.route.element:F=d,$.createElement(BH,{match:g,routeContext:{outlet:d,matches:S,isDataRoute:r!=null},children:F})};return r&&(g.route.ErrorBoundary||g.route.errorElement||_===0)?$.createElement(LH,{location:r.location,revalidation:r.revalidation,component:O,error:v,children:M(),routeC
64ontext:{outlet:null,matches:S,isDataRoute:!0}}):M()},null)}var oA=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(oA||{}),lA=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(lA||{});function zH(t){let e=$.useContext(_3);return e||_n(!1),e}function jH(t){let e=$.useContext(MH);return e||_n(!1),e}function HH(t){let e=$.useContext(Ua);return e||_n(!1),e}function uA(t){let e=HH(),r=e.matches[e.matches.length-1];return r.route.id||_n(!1),r.route.id}function WH(){var t;let e=$.useContext(iA),r=jH(),n=uA();return e!==void 0?e:(t=r.errors)==null?void 0:t[n]}function GH(){let{router:t}=zH(oA.UseNavigateStable),e=uA(lA.UseNavigateStable),r=$.useRef(!1);return sA(()=>{r.current=!0}),$.useCallback(function(i,s){s===void 0&&(s={}),r.current&&(typeof i=="number"?t.navigate(i):t.navigate(i,Gf({fromRouteId:e},s)))},[t,e])}const s8={};function $H(t,e,r){s8[t]||(s8[t]=!0)}function qH(t,e){t==null||t.v7_startTransition,t==null||t.v7_relativeSplatPath}function VH(t){let{to:e,replace:r,state:n,relative:i}=t;V0()||_n(!1);let{future:s,static:a}=$.useContext(Xl),{matches:l}=$.useContext(Ua),{pathname:u}=Ql(),p=ld(),d=g3(e,m3(l,s.v7_relativeSplatPath),u,i==="path"),g=JSON.stringify(d);return $.useEffect(()=>p(JSON.parse(g),{replace:r,state:n,relative:i}),[p,g,i,r,n]),null}function YH(t){return RH(t.context)}function cA(t){_n(!1)}function KH(t){let{basename:e="/",children:r=null,location:n,navigationType:i=Ug.Pop,navigator:s,static:a=!1,future:l}=t;V0()&&_n(!1);let u=e.replace(/^\/*/,"/"),p=$.useMemo(()=>({basename:u,navigator:s,static:a,future:Gf({v7_relativeSplatPath:!1},l)}),[u,l,s,a]);typeof n=="string"&&(n=od(n));let{pathname:d="/",search:g="",hash:_="",state:v=null,key:k="default"}=n,O=$.useMemo(()=>{let N=p3(d,u);return N==null?null:{location:{pathname:N,search:g,hash:_,state:v,key:k},navigationType:i}},[u,d,g,_,v,k,i]);return O==null?null:$.createElement(Xl.Provider,{value:p},$.createElement(M1.Provider,{children:r,value:O}))}function XH(t){let{children:e,location:r}=t;return FH(Hb(e),r)}new Promise(()=>{});function Hb(t,e){e===void 0&&(e=[]);let r=[];return $.Children.forEach(t,(n,i)=>{if(!$.isValidElement(n))return;let s=[...e,i];if(n.type===$.Fragment){r.push.apply(r,Hb(n.props.children,s));return}n.type!==cA&&_n(!1),!n.props.index||!n.props.children||_n(!1);let a={id:n.props.id||s.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,loader:n.props.loader,action:n.props.action,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(a.children=Hb(n.props.children,s)),r.push(a)}),r}/** 65 * React Router DOM v6.30.3 66 * 67 * Copyright (c) Remix Software Inc. 68 * 69 * This source code is licensed under the MIT license found in the 70 * LICENSE.md file in the root directory of this source tree. 71 * 72 * @license MIT 73 */function Wb(){return Wb=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Wb.apply(this,arguments)}function QH(t,e){if(t==null)return{};var r={},n=Object.keys(t),i,s;for(s=0;s<n.length;s++)i=n[s],!(e.indexOf(i)>=0)&&(r[i]=t[i]);return r}function JH(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function ZH(t,e){return t.button===0&&(!e||e==="_self")&&!JH(t)}function Gb(t){return t===void 0&&(t=""),new URLSearchParams(typeof t=="string"||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,r)=>{let n=t[r];return e.concat(Array.isArray(n)?n.map(i=>[r,i]):[[r,n]])},[]))}function eW(t,e){let r=Gb(t);return e&&e.forEach((n,i)=>
73{r.has(i)||e.getAll(i).forEach(s=>{r.append(i,s)})}),r}const tW=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],rW="6";try{window.__reactRouterVersion=rW}catch{}const nW="startTransition",a8=iU[nW];function iW(t){let{basename:e,children:r,future:n,history:i}=t,[s,a]=$.useState({action:i.action,location:i.location}),{v7_startTransition:l}=n||{},u=$.useCallback(p=>{l&&a8?a8(()=>a(p)):a(p)},[a,l]);return $.useLayoutEffect(()=>i.listen(u),[i,u]),$.useEffect(()=>qH(n),[n]),$.createElement(KH,{basename:e,children:r,location:s.location,navigationType:s.action,navigator:i,future:n})}const sW=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",aW=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Eue=$.forwardRef(function(e,r){let{onClick:n,relative:i,reloadDocument:s,replace:a,state:l,target:u,to:p,preventScrollReset:d,viewTransition:g}=e,_=QH(e,tW),{basename:v}=$.useContext(Xl),k,O=!1;if(typeof p=="string"&&aW.test(p)&&(k=p,sW))try{let F=new URL(window.location.href),G=p.startsWith("//")?new URL(F.protocol+p):new URL(p),X=p3(G.pathname,v);G.origin===F.origin&&X!=null?p=X+G.search+G.hash:O=!0}catch{}let N=CH(p,{relative:i}),S=oW(p,{replace:a,state:l,target:u,preventScrollReset:d,relative:i,viewTransition:g});function M(F){n&&n(F),F.defaultPrevented||S(F)}return $.createElement("a",Wb({},_,{href:k||N,onClick:O||s?n:M,ref:r,target:u}))});var o8;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(o8||(o8={}));var l8;(function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"})(l8||(l8={}));function oW(t,e){let{target:r,replace:n,state:i,preventScrollReset:s,relative:a,viewTransition:l}=e===void 0?{}:e,u=ld(),p=Ql(),d=aA(t,{relative:a});return $.useCallback(g=>{if(ZH(g,r)){g.preventDefault();let _=n!==void 0?n:t8(p)===t8(d);u(t,{replace:_,state:i,preventScrollReset:s,relative:a,viewTransition:l})}},[p,u,d,n,i,r,t,s,a,l])}function Sue(t){let e=$.useRef(Gb(t)),r=$.useRef(!1),n=Ql(),i=$.useMemo(()=>eW(n.search,r.current?null:e.current),[n.search]),s=ld(),a=$.useCallback((l,u)=>{const p=Gb(typeof l=="function"?l(i):l);r.current=!0,s("?"+p,u)},[s,i]);return[i,a]}function bt(){return bt=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},bt.apply(null,arguments)}var c0;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(c0||(c0={}));var u8=function(t){return t},c8="beforeunload",lW="popstate";function uW(t){t===void 0&&(t={});var e=t,r=e.window,n=r===void 0?document.defaultView:r,i=n.history;function s(){var R=n.location,H=R.pathname,re=R.search,ie=R.hash,q=i.state||{};return[q.idx,u8({pathname:H,search:re,hash:ie,state:q.usr||null,key:q.key||"default"})]}var a=null;function l(){if(a)v.call(a),a=null;else{var R=c0.Pop,H=s(),re=H[0],ie=H[1];if(v.length){if(re!=null){var q=d-re;q&&(a={action:R,location:ie,retry:function(){X(q*-1)}},X(q))}}else M(R)}}n.addEventListener(lW,l);var u=c0.Pop,p=s(),d=p[0],g=p[1],_=f8(),v=f8();d==null&&(d=0,i.replaceState(bt({},i.state,{idx:d}),""));function k(R){return typeof R=="string"?R:hW(R)}function O(R,H){return H===void 0&&(H=null),u8(bt({pathname:g.pathname,hash:"",search:""},typeof R=="string"?fW(R):R,{state:H,key:cW()}))}function N(R,H){return[{usr:R.state,key:R.key,idx:H},k(R)]}function S(R,H,re){return!v.length||(v.call({action:R,location:H,retry:re}),!1)}function M(R){u=R;var H=s();d=H[0],g=H[1],_.call({action:u,location:g})}function F(R,H){var re=c0.Push,ie=O(R,H);function q(){F(R,H)}if(S(re,ie,q)){var Y=N(ie,d+1),Q=Y[0],fe=Y[1];try{i.pushState(Q,"",fe)}catch{n.location.assign(fe)}M(re)}}function G(R,H){var re=c0.Replace,ie=O(R,H);function q(){G(R,H)}if(S(re,ie,q)){var Y=N(ie,d),Q=Y[0],fe=Y[1];i.replaceState(Q,"",fe),M(re)}}function X(R){i.go(R)}var z={get action(){return u},get location(){return g},createHref:k,push:F,replace:G,go:X,back:function(){X(-1)},forward:function(){X(1)},listen:function(H){return _.push(H)},block:function(H){var re=v.push(H);return v.length===1&&n.addEventListener(c8,h8),function(){re(),v.length||n.removeEventListener(c8,h8)}}};return z}function h8(t){t.preventDefault(),t.returnValue=""}function f8(){var t=[];return{get length(){return t.length},push:function(r){return t.push(r),function(){t=t.filter(function(n){return n!==r})}},call:function(r){t.forEach(function(n){return n&&n(r)})}}}function cW(){return Math.random().toString(36).substr(2,8)}function hW(t){var e=t.pathname,r=e===void 0?"/":e,n=t.search,i=n===void 0?"":n,s=t.hash,a=s===void 0?"":s;return i&&i!=="?"&&(r+=i.charAt(0)==="?"?i:"?"+i),a&&a!=="#"&&(r+=a.charAt(0)==="#"?a:"#"+a),r}function fW(t){var e={};if(t){var r=t.indexOf("#");r>=0&&(e.hash=t.substr(r),t=t.substr(0,r));var n=t.indexOf("?");n>=0&&(e.search=t.substr(n),t=t.substr(0,n)),t&&(e.pathname=t)}return e}let dW={data:""},pW=t=>{if(typeof window=="object"){let e=(t?t.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return e.nonce=window.__nonce__,e.parentNode||(t||document.head).appendChild(e),e.firstChild}return t||dW},mW=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,gW=/\/\*[^]*?\*\/| +/g,d8=/\n+/g,wl=(t,e)=>{let r="",n="",i="";for(let s in t){let a=t[s];s[0]=="@"?s[1]=="i"?r=s+" "+a+";":n+=s[1]=="f"?wl(a,s):s+"{"+wl(a,s[1]=="k"?"":e)+"}":typeof a=="object"?n+=wl(a,e?e.replace(/([^,])+/g,l=>s.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,u=>/&/.test(u)?u.replace(/&/g,l):l?l+" "+u:u)):s):a!=null&&(s=/^--/.test(s)?s:s.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=wl.p?wl.p(s,a):s+":"+a+";")}return r+(e&&i?e+"{"+i+"}":i)+n},to={},hA=t=>{if(typeof t=="object"){let e="";for(let r in t)e+=r+hA(t[r]);return e}return t},_W=(t,e,r,n,i)=>{let s=hA(t),a=to[s]||(to[s]=(u=>{let p=0,d=11;for(;p<u.length;)d=101*d+u.charCodeAt(p++)>>>0;return"go"+d})(s));if(!to[a]){let u=s!==t?t:(p=>{let d,g,_=[{}];for(;d=mW.exec(p.replace(gW,""));)d[4]?_.shift():d[3]?(g=d[3].replace(d8," ").trim(),_.unshift(_[0][g]=_[0][g]||{})):_[0][d[1]]=d[2].replace(d8," ").trim();return _[0]})(t);to[a]=wl(i?{["@keyframes "+a]:u}:u,r?"":"."+a)}let l=r&&to.g?to.g:null;return r&&(to.g=to[a]),((u,p,d,g)=>{g?p.data=p.data.replace(g,u):p.data.indexOf(u)===-1&&(p.data=d?u+p.data:p.data+u)})(to[a],e,n,l),a},yW=(t,e,r)=>t.reduce((n,i,s)=>{let a=e[s];if(a&&a.call){let l=a(r),u=l&&l.props&&l.props.className||/^go/.test(l)&&l;a=u?"."+u:l&&typeof l=="object"?l.props?"":wl(l,""):l===!1?"":l}return n+i+(a??"")},"");function C1(t){let e=this||{},r=t.call?t(e.p):t;
73return _W(r.unshift?r.raw?yW(r,[].slice.call(arguments,1),e.p):r.reduce((n,i)=>Object.assign(n,i&&i.call?i(e.p):i),{}):r,pW(e.target),e.g,e.o,e.k)}let fA,$b,qb;C1.bind({g:1});let ko=C1.bind({k:1});function vW(t,e,r,n){wl.p=e,fA=t,$b=r,qb=n}function Jl(t,e){let r=this||{};return function(){let n=arguments;function i(s,a){let l=Object.assign({},s),u=l.className||i.className;r.p=Object.assign({theme:$b&&$b()},l),r.o=/ *go\d+/.test(u),l.className=C1.apply(r,n)+(u?" "+u:"");let p=t;return t[0]&&(p=l.as||t,delete l.as),qb&&p[0]&&qb(l),fA(p,l)}return i}}var bW=t=>typeof t=="function",zg=(t,e)=>bW(t)?t(e):t,wW=(()=>{let t=0;return()=>(++t).toString()})(),dA=(()=>{let t;return()=>{if(t===void 0&&typeof window<"u"){let e=matchMedia("(prefers-reduced-motion: reduce)");t=!e||e.matches}return t}})(),EW=20,y3="default",pA=(t,e)=>{let{toastLimit:r}=t.settings;switch(e.type){case 0:return{...t,toasts:[e.toast,...t.toasts].slice(0,r)};case 1:return{...t,toasts:t.toasts.map(a=>a.id===e.toast.id?{...a,...e.toast}:a)};case 2:let{toast:n}=e;return pA(t,{type:t.toasts.find(a=>a.id===n.id)?1:0,toast:n});case 3:let{toastId:i}=e;return{...t,toasts:t.toasts.map(a=>a.id===i||i===void 0?{...a,dismissed:!0,visible:!1}:a)};case 4:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(a=>a.id!==e.toastId)};case 5:return{...t,pausedAt:e.time};case 6:let s=e.time-(t.pausedAt||0);return{...t,pausedAt:void 0,toasts:t.toasts.map(a=>({...a,pauseDuration:a.pauseDuration+s}))}}},bm=[],mA={toasts:[],pausedAt:void 0,settings:{toastLimit:EW}},Oa={},gA=(t,e=y3)=>{Oa[e]=pA(Oa[e]||mA,t),bm.forEach(([r,n])=>{r===e&&n(Oa[e])})},_A=t=>Object.keys(Oa).forEach(e=>gA(t,e)),SW=t=>Object.keys(Oa).find(e=>Oa[e].toasts.some(r=>r.id===t)),O1=(t=y3)=>e=>{gA(e,t)},TW={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},xW=(t={},e=y3)=>{let[r,n]=$.useState(Oa[e]||mA),i=$.useRef(Oa[e]);$.useEffect(()=>(i.current!==Oa[e]&&n(Oa[e]),bm.push([e,n]),()=>{let a=bm.findIndex(([l])=>l===e);a>-1&&bm.splice(a,1)}),[e]);let s=r.toasts.map(a=>{var l,u,p;return{...t,...t[a.type],...a,removeDelay:a.removeDelay||((l=t[a.type])==null?void 0:l.removeDelay)||(t==null?void 0:t.removeDelay),duration:a.duration||((u=t[a.type])==null?void 0:u.duration)||(t==null?void 0:t.duration)||TW[a.type],style:{...t.style,...(p=t[a.type])==null?void 0:p.style,...a.style}}});return{...r,toasts:s}},kW=(t,e="blank",r)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:e,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0,...r,id:(r==null?void 0:r.id)||wW()}),ud=t=>(e,r)=>{let n=kW(e,t,r);return O1(n.toasterId||SW(n.id))({type:2,toast:n}),n.id},mn=(t,e)=>ud("blank")(t,e);mn.error=ud("error");mn.success=ud("success");mn.loading=ud("loading");mn.custom=ud("custom");mn.dismiss=(t,e)=>{let r={type:3,toastId:t};e?O1(e)(r):_A(r)};mn.dismissAll=t=>mn.dismiss(void 0,t);mn.remove=(t,e)=>{let r={type:4,toastId:t};e?O1(e)(r):_A(r)};mn.removeAll=t=>mn.remove(void 0,t);mn.promise=(t,e,r)=>{let n=mn.loading(e.loading,{...r,...r==null?void 0:r.loading});return typeof t=="function"&&(t=t()),t.then(i=>{let s=e.success?zg(e.success,i):void 0;return s?mn.success(s,{id:n,...r,...r==null?void 0:r.success}):mn.dismiss(n),i}).catch(i=>{let s=e.error?zg(e.error,i):void 0;s?mn.error(s,{id:n,...r,...r==null?void 0:r.error}):mn.dismiss(n)}),t};var AW=1e3,MW=(t,e="default")=>{let{toasts:r,pausedAt:n}=xW(t,e),i=$.useRef(new Map).current,s=$.useCallback((g,_=AW)=>{if(i.has(g))return;let v=setTimeout(()=>{i.delete(g),a({type:4,toastId:g})},_);i.set(g,v)},[]);$.useEffect(()=>{if(n)return;let g=Date.now(),_=r.map(v=>{if(v.duration===1/0)return;let k=(v.duration||0)+v.pauseDuration-(g-v.createdAt);if(k<0){v.visible&&mn.dismiss(v.id);return}return setTimeout(()=>mn.dismiss(v.id,e),k)});return()=>{_.forEach(v=>v&&clearTimeout(v))}},[r,n,e]);let a=$.useCallback(O1(e),[e]),l=$.useCallback(()=>{a({type:5,time:Date.now()})},[a]),u=$.useCallback((g,_)=>{a({type:1,toast:{id:g,height:_}})},[a]),p=$.useCallback(()=>{n&&a({type:6,time:Date.now()})},[n,a]),d=$.useCallback((g,_)=>{let{reverseOrder:v=!1,gutter:k=8,defaultPosition:O}=_||{},N=r.filter(F=>(F.position||O)===(g.position||O)&&F.height),S=N.findIndex(F=>F.id===g.id),M=N.filter((F,G)=>G<S&&F.visible).length;return N.filter(F=>F.visible).slice(...v?[M+1]:[0,M]).reduce((F,G)=>F+(G.height||0)+k,0)},[r]);return $.useEffect(()=>{r.forEach(g=>{if(g.dismissed)s(g.id,g.removeDelay);else{let _=i.get(g.id);_&&(clearTimeout(_),i.delete(g.id))}})},[r,s]),{toasts:r,handlers:{updateHeight:u,startPause:l,endPause:p,calculateOffset:d}}},CW=ko` 74from { 75 transform: scale(0) rotate(45deg); 76 opacity: 0; 77} 78to { 79 transform: scale(1) rotate(45deg); 80 opacity: 1; 81}`,OW=ko` 82from { 83 transform: scale(0); 84 opacity: 0; 85} 86to { 87 transform: scale(1); 88 opacity: 1; 89}`,IW=ko` 90from { 91 transform: scale(0) rotate(90deg); 92 opacity: 0; 93} 94to { 95 transform: scale(1) rotate(90deg); 96 opacity: 1; 97}`,RW=Jl("div")`
98 width: 20px; 99 opacity: 0; 100 height: 20px; 101 border-radius: 10px; 102 background: ${t=>t.primary||"#ff4b4b"}; 103 position: relative; 104 transform: rotate(45deg); 105 106 animation: ${CW} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 107 forwards; 108 animation-delay: 100ms; 109 110 &:after, 111 &:before { 112 content: ''; 113 animation: ${OW} 0.15s ease-out forwards; 114 animation-delay: 150ms; 115 position: absolute; 116 border-radius: 3px; 117 opacity: 0; 118 background: ${t=>t.secondary||"#fff"}; 119 bottom: 9px; 120 left: 4px; 121 height: 2px; 122 width: 12px; 123 } 124 125 &:before { 126 animation: ${IW} 0.15s ease-out forwards; 127 animation-delay: 180ms; 128 transform: rotate(90deg); 129 } 130`,FW=ko` 131 from { 132 transform: rotate(0deg); 133 } 134 to { 135 transform: rotate(360deg); 136 } 137`,DW=Jl("div")` 138 width: 12px; 139 height: 12px; 140 box-sizing: border-box; 141 border: 2px solid; 142 border-radius: 100%; 143 border-color: ${t=>t.secondary||"#e0e0e0"}; 144 border-right-color: ${t=>t.primary||"#616161"}; 145 animation: ${FW} 1s linear infinite; 146`,NW=ko` 147from { 148 transform: scale(0) rotate(45deg); 149 opacity: 0; 150} 151to { 152 transform: scale(1) rotate(45deg); 153 opacity: 1; 154}`,PW=ko` 1550% { 156 height: 0; 157 width: 0; 158 opacity: 0; 159} 16040% { 161 height: 0; 162 width: 6px; 163 opacity: 1; 164} 165100% { 166 opacity: 1; 167 height: 10px; 168}`,yA=Jl("div")` 169 width: 20px; 170 opacity: 0; 171 height: 20px; 172 border-radius: 10px; 173 background: ${t=>t.primary||"#61d345"}; 174 position: relative; 175 transform: rotate(45deg); 176 177 animation: ${NW} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) 178 forwards; 179 animation-delay: 100ms; 180 &:after { 181 content: ''; 182 box-sizing: border-box; 183 animation: ${PW} 0.2s ease-out forwards; 184 opacity: 0; 185 animation-delay: 200ms; 186 position: absolute; 187 border-right: 2px solid; 188 border-bottom: 2px solid; 189 border-color: ${t=>t.secondary||"#fff"}; 190 bottom: 6px; 191 left: 6px; 192 height: 10px; 193 width: 6px; 194 } 195`,LW=Jl("div")` 196 position: absolute; 197`,BW=Jl("div")` 198 position: relative; 199 display: flex; 200 justify-content: center; 201 align-items: center; 202 min-width: 20px; 203 min-height: 20px; 204`,UW=ko` 205from { 206 transform: scale(0.6); 207 opacity: 0.4; 208} 209to { 210 transform: scale(1); 211 opacity: 1; 212}`,zW=Jl("div")` 213 position: relative; 214 transform: scale(0.6); 215 opacity: 0.4; 216 min-width: 20px; 217 animation: ${UW} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275) 218 forwards; 219`,jW=({toast:t})=>{let{icon:e,type:r,iconTheme:n}=t;return e!==void 0?typeof e=="string"?$.createElement(zW,null,e):e:r==="blank"?null:$.createElement(BW,null,$.createElement(DW,{...n}),r!=="loading"&&$.createElement(LW,null,r==="error"?$.createElement(RW,{...n}):$.createElement(yA,{...n})))},HW=t=>` 2200% {transform: translate3d(0,${t*-200}%,0) scale(.6); opacity:.5;} 221100% {transform: translate3d(0,0,0) scale(1); opacity:1;} 222`,WW=t=>` 2230% {transform: translate3d(0,0,-1px) scale(1); opacity:1;} 224100% {transform: translate3d(0,${t*-150}%,-1px) scale(.6); opacity:0;} 225`,GW="0%{opacity:0;} 100%{opacity:1;}",$W="0%{opacity:1;} 100%{opacity:0;}",qW=Jl("div")` 226 display: flex; 227 align-items: center; 228 background: #fff; 229 color: #363636; 230 line-height: 1.3; 231 will-change: transform; 232 box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05); 233 max-width: 350px; 234 pointer-events: auto; 235 padding: 8px 10px; 236 border-radius: 8px; 237`,VW=Jl("div")` 238 display: flex; 239 justify-content: center; 240 margin: 4px 10px; 241 color: inherit; 242 flex: 1 1 auto; 243 white-space: pre-line; 244`,YW=(t,e)=>{let r=t.includes("top")?1:-1,[n,i]=dA()?[GW,$W]:[HW(r),WW(r)];return{animation:e?`${ko(n)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${ko(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},vA=$.memo(({toast:t,position:e,style:r,children:n})=>{let i=t.height?YW(t.position||e||"top-center",t.visible):{opacity:0},s=$.createElement(jW,{toast:t}),a=$.createElement(VW,{...t.ariaProps},zg(t.message,t));return $.createElement(qW,{className:t.className,style:{...i,...r,...t.style}},typeof n=="function"?n({icon:s,message:a}):$.createElement($.Fragment,null,s,a))});vW($.createElement);
244var KW=({id:t,className:e,style:r,onHeightUpdate:n,children:i})=>{let s=$.useCallback(a=>{if(a){let l=()=>{let u=a.getBoundingClientRect().height;n(t,u)};l(),new MutationObserver(l).observe(a,{subtree:!0,childList:!0,characterData:!0})}},[t,n]);return $.createElement("div",{ref:s,className:e,style:r},i)},XW=(t,e)=>{let r=t.includes("top"),n=r?{top:0}:{bottom:0},i=t.includes("center")?{justifyContent:"center"}:t.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:dA()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${e*(r?1:-1)}px)`,...n,...i}},QW=C1` 245 z-index: 9999; 246 > * { 247 pointer-events: auto; 248 } 249`,jp=16,JW=({reverseOrder:t,position:e="top-center",toastOptions:r,gutter:n,children:i,toasterId:s,containerStyle:a,containerClassName:l})=>{let{toasts:u,handlers:p}=MW(r,s);return $.createElement("div",{"data-rht-toaster":s||"",style:{position:"fixed",zIndex:9999,top:jp,left:jp,right:jp,bottom:jp,pointerEvents:"none",...a},className:l,onMouseEnter:p.startPause,onMouseLeave:p.endPause},u.map(d=>{let g=d.position||e,_=p.calculateOffset(d,{reverseOrder:t,gutter:n,defaultPosition:e}),v=XW(g,_);return $.createElement(KW,{id:d.id,key:d.id,onHeightUpdate:p.updateHeight,className:d.visible?QW:"",style:v},d.type==="custom"?zg(d.message,d):i?i(d):$.createElement(vA,{toast:d,position:g}))}))},ZW=mn,eG=typeof Element<"u",tG=typeof Map=="function",rG=typeof Set=="function",nG=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function wm(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var r,n,i;if(Array.isArray(t)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(!wm(t[n],e[n]))return!1;return!0}var s;if(tG&&t instanceof Map&&e instanceof Map){if(t.size!==e.size)return!1;for(s=t.entries();!(n=s.next()).done;)if(!e.has(n.value[0]))return!1;for(s=t.entries();!(n=s.next()).done;)if(!wm(n.value[1],e.get(n.value[0])))return!1;return!0}if(rG&&t instanceof Set&&e instanceof Set){if(t.size!==e.size)return!1;for(s=t.entries();!(n=s.next()).done;)if(!e.has(n.value[0]))return!1;return!0}if(nG&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(e)){if(r=t.length,r!=e.length)return!1;for(n=r;n--!==0;)if(t[n]!==e[n])return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf&&typeof t.valueOf=="function"&&typeof e.valueOf=="function")return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString&&typeof t.toString=="function"&&typeof e.toString=="function")return t.toString()===e.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(e).length)return!1;for(n=r;n--!==0;)if(!Object.prototype.hasOwnProperty.call(e,i[n]))return!1;if(eG&&t instanceof Element)return!1;for(n=r;n--!==0;)if(!((i[n]==="_owner"||i[n]==="__v"||i[n]==="__o")&&t.$$typeof)&&!wm(t[i[n]],e[i[n]]))return!1;return!0}return t!==t&&e!==e}var iG=function(e,r){try{return wm(e,r)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}};const sG=Ai(iG);var aG=function(t,e,r,n,i,s,a,l){if(!t){var u;if(e===void 0)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var p=[r,n,i,s,a,l],d=0;u=new Error(e.replace(/%s/g,function(){return p[d++]})),u.name="Invariant Violation"}throw u.framesToPop=1,u}},oG=aG;const p8=Ai(oG);var lG=function(e,r,n,i){var s=n?n.call(i,e,r):void 0;if(s!==void 0)return!!s;if(e===r)return!0;if(typeof e!="object"||!e||typeof r!="object"||!r)return!1;var a=Object.keys(e),l=Object.keys(r);if(a.length!==l.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(r),p=0;p<a.length;p++){var d=a[p];if(!u(d))return!1;var g=e[d],_=r[d];if(s=n?n.call(i,g,_,d):void 0,s===!1||s===void 0&&g!==_)return!1}return!0};const uG=Ai(lG);var bA=(t=>(t.BASE="base",t.BODY="body",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t.FRAGMENT="Symbol(react.fragment)",t))(bA||{}),iv={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]}
249,meta:{charset:"",name:["generator","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"]}},m8=Object.values(bA),v3={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},cG=Object.entries(v3).reduce((t,[e,r])=>(t[r]=e,t),{}),Js="data-rh",x0={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},k0=(t,e)=>{for(let r=t.length-1;r>=0;r-=1){const n=t[r];if(Object.prototype.hasOwnProperty.call(n,e))return n[e]}return null},hG=t=>{let e=k0(t,"title");const r=k0(t,x0.TITLE_TEMPLATE);if(Array.isArray(e)&&(e=e.join("")),r&&e)return r.replace(/%s/g,()=>e);const n=k0(t,x0.DEFAULT_TITLE);return e||n||void 0},fG=t=>k0(t,x0.ON_CHANGE_CLIENT_STATE)||(()=>{}),sv=(t,e)=>e.filter(r=>typeof r[t]<"u").map(r=>r[t]).reduce((r,n)=>({...r,...n}),{}),dG=(t,e)=>e.filter(r=>typeof r.base<"u").map(r=>r.base).reverse().reduce((r,n)=>{if(!r.length){const i=Object.keys(n);for(let s=0;s<i.length;s+=1){const l=i[s].toLowerCase();if(t.indexOf(l)!==-1&&n[l])return r.concat(n)}}return r},[]),pG=t=>console&&typeof console.warn=="function"&&console.warn(t),Ih=(t,e,r)=>{const n={};return r.filter(i=>Array.isArray(i[t])?!0:(typeof i[t]<"u"&&pG(`Helmet: ${t} should be of type "Array". Instead found type "${typeof i[t]}"`),!1)).map(i=>i[t]).reverse().reduce((i,s)=>{const a={};s.filter(u=>{let p;const d=Object.keys(u);for(let _=0;_<d.length;_+=1){const v=d[_],k=v.toLowerCase();e.indexOf(k)!==-1&&!(p==="rel"&&u[p].toLowerCase()==="canonical")&&!(k==="rel"&&u[k].toLowerCase()==="stylesheet")&&(p=k),e.indexOf(v)!==-1&&(v==="innerHTML"||v==="cssText"||v==="itemprop")&&(p=v)}if(!p||!u[p])return!1;const g=u[p].toLowerCase();return n[p]||(n[p]={}),a[p]||(a[p]={}),n[p][g]?!1:(a[p][g]=!0,!0)}).reverse().forEach(u=>i.push(u));const l=Object.keys(a);for(let u=0;u<l.length;u+=1){const p=l[u],d={...n[p],...a[p]};n[p]=d}return i},[]).reverse()},mG=(t,e)=>{if(Array.isArray(t)&&t.length){for(let r=0;r<t.length;r+=1)if(t[r][e])return!0}return!1},gG=t=>({baseTag:dG(["href"],t),bodyAttributes:sv("bodyAttributes",t),defer:k0(t,x0.DEFER),encode:k0(t,x0.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:sv("htmlAttributes",t),linkTags:Ih("link",["rel","href"],t),metaTags:Ih("meta",["name","charset","http-equiv","property","itemprop"],t),noscriptTags:Ih("noscript",["innerHTML"],t),onChangeClientState:fG(t),scriptTags:Ih("script",["src","innerHTML"],t),styleTags:Ih("style",["cssText"],t),title:hG(t),titleAttributes:sv("titleAttributes",t),prioritizeSeoTags:mG(t,x0.PRIORITIZE_SEO_TAGS)}),wA=t=>Array.isArray(t)?t.join(""):t,_G=(t,e)=>{const r=Object.keys(t);for(let n=0;n<r.length;n+=1)if(e[r[n]]&&e[r[n]].includes(t[r[n]]))return!0;return!1},av=(t,e)=>Array.isArray(t)?t.reduce((r,n)=>(_G(n,e)?r.priority.push(n):r.default.push(n),r),{priority:[],default:[]}):{default:t,priority:[]},g8=(t,e)=>({...t,[e]:void 0}),yG=["noscript","script","style"],Vb=(t,e=!0)=>e===!1?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),EA=t=>Object.keys(t).reduce((e,r)=>{const n=typeof t[r]<"u"?`${r}="${t[r]}"`:`${r}`;return e?`${e} ${n}`:n},""),vG=(t,e,r,n)=>{const i=EA(r),s=wA(e);return i?`<${t} ${Js}="true" ${i}>${Vb(s,n)}</${t}>`:`<${t} ${Js}="true">${Vb(s,n)}</${t}>`},bG=(t,e,r=!0)=>e.reduce((n,i)=>{const s=i,a=Object.keys(s).filter(p=>!(p==="innerHTML"||p==="cssText")).reduce((p,d)=>{const g=typeof s[d]>"u"?d:`${d}="${Vb(s[d],r)}"`;return p?`${p} ${g}`:g},""),l=s.innerHTML||s.cssText||"",u=yG.indexOf(t)===-1;return`${n}<${t} ${Js}="true" ${a}${u?"/>":`>${l}</${t}>`}`},""),SA=(t,e={})=>Object.keys(t).reduce((r,n)=>{const i=v3[n];return r[i||n]=t[n],r},e),wG=(t,e,r)=>{const n={key:e,[Js]:!0},i=SA(r,n);return[si.createElement("title",i,e)]},Em=(t,e)=>e.map((r,n)=>{const i={key:n,[Js]:!0};return Object.keys(r).forEach(s=>{const l=v3[s]||s;if(l==="innerHTML"||l==="cssText"){const u=r.innerHTML||r.cssText;i.dangerouslySetInnerHTML={__html:u}}else i[l]=r[s]}),si.createElement(t,i)}),ps=(t,e,r=!0)=>{switch(t){case"title":return{toComponent:()=>wG(t,e.title,e.titleAttributes),toString:()=>vG(t,e.title,e.titleAttributes,r)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>SA(e),toString:()=>EA(e)};default:return{toComponent:()=>Em(t,e),toString:()=>bG(t,e,r)}}},EG=({metaTags:t,linkTags:e,scriptTags:r,encode:n})=>{const i=av(t,iv.meta),s=av(e,iv.link),a=av(r,iv.script);return{priorityMethods:{toComponent:()=>[...Em("meta",i.priority),...Em("link",s.priority),...Em("script",a.priority)],toString:()=>`${ps("meta",i.priority,n)} ${ps("link",s.priority,n)} ${ps("script",a.priority,n)}`},metaTags:i.default,linkTags:s.default,scriptTags:a.default}},SG=t=>{const{baseTag:e,bodyAttributes:r,encode:n=!0,htmlAttributes:i,noscriptTags:s,styleTags:a,title:l="",titleAttributes:u,prioritizeSeoTags:p}=t;let{linkTags:d,metaTags:g,scriptTags:_}=t,v={toComponent:()=>{},toString:()=>""};return p&&({priorityMethods:v,linkTags:d,metaTags:g,scriptTags:_}=EG(t)),{priority:v,base:ps("base",e,n),bodyAttributes:ps("bodyAttributes",r,n),htmlAttributes:ps("htmlAttributes",i,n),link:ps("link",d,n),meta:ps("meta",g,n),noscript:ps("noscript",s,n),script:ps("script",_,n),style:ps("style",a,n),title:ps("title",{title:l,titleAttributes:u},n)}},Yb=SG,Hp=[],TA=!!(typeof window<"u"&&window.document&&window.document.createElement),Kb=class{constructor(t,e){dr(this,"instances",[]);dr(this,"canUseDOM",TA);dr(this,"context");dr(this,"value",{setHelmet:t=>{this.context.helmet=t},helmetInstances:{get:()=>this.canUseDOM?Hp:this.instances,add:t=>{(this.canUseDOM?Hp:this.instances).push(t)},remove:t=>{const e=(this.canUseDOM?Hp:this.instances).indexOf(t);(this.canUseDOM?Hp:this.instances).splice(e,1)}}});this.context=t,this.canUseDOM=e||!1,e||(t.helmet=Yb({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},TG={},xA=si.createContext(TG),Fu,kA=(Fu=class extends $.Component{constructor(r){super(r);dr(this,"helmetData");this.helmetData=new Kb(this.props.context||{},Fu.canUseDOM)}render(){return si.createElement(xA.Provider,{value:this.helmetData.value},this.props.children)}},dr(Fu,"canUseDOM",TA),Fu),Fc=(t,e)=>{const r=document.head||document.querySelector("head"),n=r.querySelectorAll(`${t}[${Js}]`),i=[].slice.call(n),s=[];let a;return e&&e.length&&e.forEach(l=>{const u=document.createElement(t);for(const p in l)if(Object.prototype.hasOwnProperty.call(l,p))if(p==="innerHTML")u.innerHTML=l.innerHTML;else if(p==="cssText")u.styleSheet?u.styleSheet.cssText=l.cssText:u.appendChild(document.createTextNode(l.cssText));else{const d=p,g=typeof l[d]>"u"?"":l[d];
249u.setAttribute(p,g)}u.setAttribute(Js,"true"),i.some((p,d)=>(a=d,u.isEqualNode(p)))?i.splice(a,1):s.push(u)}),i.forEach(l=>{var u;return(u=l.parentNode)==null?void 0:u.removeChild(l)}),s.forEach(l=>r.appendChild(l)),{oldTags:i,newTags:s}},Xb=(t,e)=>{const r=document.getElementsByTagName(t)[0];if(!r)return;const n=r.getAttribute(Js),i=n?n.split(","):[],s=[...i],a=Object.keys(e);for(const l of a){const u=e[l]||"";r.getAttribute(l)!==u&&r.setAttribute(l,u),i.indexOf(l)===-1&&i.push(l);const p=s.indexOf(l);p!==-1&&s.splice(p,1)}for(let l=s.length-1;l>=0;l-=1)r.removeAttribute(s[l]);i.length===s.length?r.removeAttribute(Js):r.getAttribute(Js)!==a.join(",")&&r.setAttribute(Js,a.join(","))},xG=(t,e)=>{typeof t<"u"&&document.title!==t&&(document.title=wA(t)),Xb("title",e)},_8=(t,e)=>{const{baseTag:r,bodyAttributes:n,htmlAttributes:i,linkTags:s,metaTags:a,noscriptTags:l,onChangeClientState:u,scriptTags:p,styleTags:d,title:g,titleAttributes:_}=t;Xb("body",n),Xb("html",i),xG(g,_);const v={baseTag:Fc("base",r),linkTags:Fc("link",s),metaTags:Fc("meta",a),noscriptTags:Fc("noscript",l),scriptTags:Fc("script",p),styleTags:Fc("style",d)},k={},O={};Object.keys(v).forEach(N=>{const{newTags:S,oldTags:M}=v[N];S.length&&(k[N]=S),M.length&&(O[N]=v[N].oldTags)}),e&&e(),u(t,k,O)},Rh=null,kG=t=>{Rh&&cancelAnimationFrame(Rh),t.defer?Rh=requestAnimationFrame(()=>{_8(t,()=>{Rh=null})}):(_8(t),Rh=null)},AG=kG,y8=class extends $.Component{constructor(){super(...arguments);dr(this,"rendered",!1)}shouldComponentUpdate(e){return!uG(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){const{helmetInstances:e,setHelmet:r}=this.props.context;let n=null;const i=gG(e.get().map(s=>{const a={...s.props};return delete a.context,a}));kA.canUseDOM?AG(i):Yb&&(n=Yb(i)),r(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},Vv,MG=(Vv=class extends $.Component{shouldComponentUpdate(t){return!sG(g8(this.props,"helmetData"),g8(t,"helmetData"))}mapNestedChildrenToProps(t,e){if(!e)return null;switch(t.type){case"script":case"noscript":return{innerHTML:e};case"style":return{cssText:e};default:throw new Error(`<${t.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(t,e,r,n){return{...e,[t.type]:[...e[t.type]||[],{...r,...this.mapNestedChildrenToProps(t,n)}]}}mapObjectTypeChildren(t,e,r,n){switch(t.type){case"title":return{...e,[t.type]:n,titleAttributes:{...r}};case"body":return{...e,bodyAttributes:{...r}};case"html":return{...e,htmlAttributes:{...r}};default:return{...e,[t.type]:{...r}}}}mapArrayTypeChildrenToProps(t,e){let r={...e};return Object.keys(t).forEach(n=>{r={...r,[n]:t[n]}}),r}warnOnInvalidChildren(t,e){return p8(m8.some(r=>t.type===r),typeof t.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${m8.join(", ")} are allowed. Helmet does not support rendering <${t.type}> elements. Refer to our API for more information.`),p8(!e||typeof e=="string"||Array.isArray(e)&&!e.some(r=>typeof r!="string"),`Helmet expects a string as a child of <${t.type}>. Did you forget to wrap your children in braces? ( <${t.type}>{\`\`}</${t.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(t,e){let r={};return si.Children.forEach(t,n=>{if(!n||!n.props)return;const{children:i,...s}=n.props,a=Object.keys(s).reduce((u,p)=>(u[cG[p]||p]=s[p],u),{});let{type:l}=n;
249switch(typeof l=="symbol"?l=l.toString():this.warnOnInvalidChildren(n,i),l){case"Symbol(react.fragment)":e=this.mapChildrenToProps(i,e);break;case"link":case"meta":case"noscript":case"script":case"style":r=this.flattenArrayTypeChildren(n,r,a,i);break;default:e=this.mapObjectTypeChildren(n,e,a,i);break}}),this.mapArrayTypeChildrenToProps(r,e)}render(){const{children:t,...e}=this.props;let r={...e},{helmetData:n}=e;if(t&&(r=this.mapChildrenToProps(t,r)),n&&!(n instanceof Kb)){const i=n;n=new Kb(i.context,!0),delete r.helmetData}return n?si.createElement(y8,{...r,context:n.value}):si.createElement(xA.Consumer,null,i=>si.createElement(y8,{...r,context:i}))}},dr(Vv,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),Vv),ki=Array.isArray,AA=typeof global=="object"&&global&&global.Object===Object&&global,CG=typeof self=="object"&&self&&self.Object===Object&&self,Fo=AA||CG||Function("return this")(),Bl=Fo.Symbol,MA=Object.prototype,OG=MA.hasOwnProperty,IG=MA.toString,Fh=Bl?Bl.toStringTag:void 0;function RG(t){var e=OG.call(t,Fh),r=t[Fh];try{t[Fh]=void 0;var n=!0}catch{}var i=IG.call(t);return n&&(e?t[Fh]=r:delete t[Fh]),i}var FG=Object.prototype,DG=FG.toString;function NG(t){return DG.call(t)}var PG="[object Null]",LG="[object Undefined]",v8=Bl?Bl.toStringTag:void 0;function za(t){return t==null?t===void 0?LG:PG:v8&&v8 in Object(t)?RG(t):NG(t)}function Na(t){return t!=null&&typeof t=="object"}var BG="[object Symbol]";function I1(t){return typeof t=="symbol"||Na(t)&&za(t)==BG}var UG=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zG=/^\w*$/;function b3(t,e){if(ki(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||I1(t)?!0:zG.test(t)||!UG.test(t)||e!=null&&t in Object(e)}function $f(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var jG="[object AsyncFunction]",HG="[object Function]",WG="[object GeneratorFunction]",GG="[object Proxy]";function jg(t){if(!$f(t))return!1;var e=za(t);return e==HG||e==WG||e==jG||e==GG}var ov=Fo["__core-js_shared__"],b8=function(){var t=/[^.]+$/.exec(ov&&ov.keys&&ov.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function $G(t){return!!b8&&b8 in t}var qG=Function.prototype,VG=qG.toString;function Xu(t){if(t!=null){try{return VG.call(t)}catch{}try{return t+""}catch{}}return""}var YG=/[\\^$.*+?()[\]{}|]/g,KG=/^\[object .+?Constructor\]$/,XG=Function.prototype,QG=Object.prototype,JG=XG.toString,ZG=QG.hasOwnProperty,e$=RegExp("^"+JG.call(ZG).replace(YG,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function t$(t){if(!$f(t)||$G(t))return!1;var e=jg(t)?e$:KG;return e.test(Xu(t))}function r$(t,e){return t==null?void 0:t[e]}function Qu(t,e){var r=r$(t,e);return t$(r)?r:void 0}var qf=Qu(Object,"create");function n$(){this.__data__=qf?qf(null):{},this.size=0}function i$(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var s$="__lodash_hash_undefined__",a$=Object.prototype,o$=a$.hasOwnProperty;function l$(t){var e=this.__data__;if(qf){var r=e[t];return r===s$?void 0:r}return o$.call(e,t)?e[t]:void 0}var u$=Object.prototype,c$=u$.hasOwnProperty;function h$(t){var e=this.__data__;return qf?e[t]!==void 0:c$.call(e,t)}var f$="__lodash_hash_undefined__";function d$(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=qf&&e===void 0?f$:e,this}function Wu(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Wu.prototype.clear=n$;Wu.prototype.delete=i$;Wu.prototype.get=l$;Wu.prototype.has=h$;Wu.prototype.set=d$;function p$(){this.__data__=[],this.size=0}function CA(t,e){return t===e||t!==t&&e!==e}function R1(t,e){for(var r=t.length;r--;)if(CA(t[r][0],e))return r;return-1}var m$=Array.prototype,g$=m$.splice;function _$(t){var e=this.__data__,r=R1(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():g$.call(e,r,1),--this.size,!0}function y$(t){var e=this.__data__,r=R1(e,t);return r<0?void 0:e[r][1]}function v$(t){return R1(this.__data__,t)>-1}function b$(t,e){var r=this.__data__,n=R1(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this}function Do(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Do.prototype.clear=p$;Do.prototype.delete=_$;Do.prototype.get=y$;Do.prototype.has=v$;Do.prototype.set=b$;var Vf=Qu(Fo,"Map");function w$(){this.size=0,this.__data__={hash:new Wu,map:new(Vf||Do),string:new Wu}}function E$(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function F1(t,e){var r=t.__data__;return E$(e)?r[typeof e=="string"?"string":"hash"]:r.map}function S$(t){var e=F1(this,t).delete(t);return this.size-=e?1:0,e}function T$(t){return F1(this,t).get(t)}function x$(t){return F1(this,t).has(t)}function k$(t,e){var r=F1(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this}function No(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}No.prototype.clear=w$;No.prototype.delete=S$;No.prototype.get=T$;No.prototype.has=x$;No.prototype.set=k$;var A$="Expected a function";function w3(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(A$);var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],s=r.cache;if(s.has(i))return s.get(i);
249var a=t.apply(this,n);return r.cache=s.set(i,a)||s,a};return r.cache=new(w3.Cache||No),r}w3.Cache=No;var M$=500;function C$(t){var e=w3(t,function(n){return r.size===M$&&r.clear(),n}),r=e.cache;return e}var O$=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,I$=/\\(\\)?/g,R$=C$(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(O$,function(r,n,i,s){e.push(i?s.replace(I$,"$1"):n||r)}),e});function E3(t,e){for(var r=-1,n=t==null?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i}var w8=Bl?Bl.prototype:void 0,E8=w8?w8.toString:void 0;function OA(t){if(typeof t=="string")return t;if(ki(t))return E3(t,OA)+"";if(I1(t))return E8?E8.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function F$(t){return t==null?"":OA(t)}function S3(t,e){return ki(t)?t:b3(t,e)?[t]:R$(F$(t))}var D$="[object Arguments]";function S8(t){return Na(t)&&za(t)==D$}var IA=Object.prototype,N$=IA.hasOwnProperty,P$=IA.propertyIsEnumerable,RA=S8(function(){return arguments}())?S8:function(t){return Na(t)&&N$.call(t,"callee")&&!P$.call(t,"callee")},L$=9007199254740991,B$=/^(?:0|[1-9]\d*)$/;function FA(t,e){var r=typeof t;return e=e??L$,!!e&&(r=="number"||r!="symbol"&&B$.test(t))&&t>-1&&t%1==0&&t<e}var U$=9007199254740991;function T3(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=U$}function cd(t){if(typeof t=="string"||I1(t))return t;var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function z$(t,e,r){e=S3(e,t);for(var n=-1,i=e.length,s=!1;++n<i;){var a=cd(e[n]);if(!(s=t!=null&&r(t,a)))break;t=t[a]}return s||++n!=i?s:(i=t==null?0:t.length,!!i&&T3(i)&&FA(a,i)&&(ki(t)||RA(t)))}function DA(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function j$(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}function x3(t,e){e=S3(e,t);for(var r=0,n=e.length;t!=null&&r<n;)t=t[cd(e[r++])];return r&&r==n?t:void 0}function H$(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var s=Array(i);++n<i;)s[n]=t[n+e];return s}function W$(t,e){return e.length<2?t:x3(t,H$(e,0,-1))}function G$(t,e,r){e=S3(e,t),t=W$(t,e);var n=t==null?t:t[cd(j$(e))];return n==null?void 0:DA(n,t,r)}function D1(t){return t}var T8=Math.max;function $$(t,e,r){return e=T8(e===void 0?t.length-1:e,0),function(){for(var n=arguments,i=-1,s=T8(n.length-e,0),a=Array(s);++i<s;)a[i]=n[e+i];i=-1;for(var l=Array(e+1);++i<e;)l[i]=n[i];return l[e]=r(a),DA(t,this,l)}}function q$(t){return function(){return t}}var x8=function(){try{var t=Qu(Object,"defineProperty");return t({},"",{}),t}catch{}}(),V$=x8?function(t,e){return x8(t,"toString",{configurable:!0,enumerable:!1,value:q$(e),writable:!0})}:D1,Y$=800,K$=16,X$=Date.now;function Q$(t){var e=0,r=0;return function(){var n=X$(),i=K$-(n-r);if(r=n,i>0){if(++e>=Y$)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var J$=Q$(V$);function Z$(t,e){return J$($$(t,e,D1),t+"")}var Vr=Z$(G$),NA={exports:{}},eq="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",tq=eq,rq=tq;function PA(){}function LA(){}LA.resetWarningCache=PA;var nq=function(){function t(n,i,s,a,l,u){if(u!==rq){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}t.isRequired=t;function e(){return t}var r={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:LA,resetWarningCache:PA};return r.PropTypes=r,r};NA.exports=nq();var iq=NA.exports;const at=Ai(iq);function sq(t){return t===void 0}var aq=/\s/;function oq(t){for(var e=t.length;e--&&aq.test(t.charAt(e)););return e}var lq=/^\s+/;function uq(t){return t&&t.slice(0,oq(t)+1).replace(lq,"")}var k8=NaN,cq=/^[-+]0x[0-9a-f]+$/i,hq=/^0b[01]+$/i,fq=/^0o[0-7]+$/i,dq=parseInt;function BA(t){if(typeof t=="number")return t;if(I1(t))return k8;if($f(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=$f(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=uq(t);var r=hq.test(t);return r||fq.test(t)?dq(t.slice(2),r?2:8):cq.test(t)?k8:+t}var A8=1/0,pq=17976931348623157e292;function Qb(t){if(!t)return t===0?t:0;if(t=BA(t),t===A8||t===-A8){var e=t<0?-1:1;return e*pq}return t===t?t:0}function mq(t){var e=Qb(t),r=e%1;return e===e?r?e-r:e:0}function gq(t,e){for(var r=-1,n=t==null?0:t.length,i=0,s=[];++r<n;){var a=t[r];e(a,r,t)&&(s[i++]=a)}return s}function _q(t){return function(e,r,n){for(var i=-1,s=Object(e),a=n(e),l=a.length;l--;){var u=a[++i];if(r(s[u],u,s)===!1)break}return e}}var yq=_q();function vq(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n}function bq(){return!1}var UA=typeof exports=="object"&&exports&&!exports.nodeType&&exports,M8=UA&&typeof module=="object"&&module&&!module.nodeType&&module,wq=M8&&M8.exports===UA,C8=wq?Fo.Buffer:void 0,Eq=C8?C8.isBuffer:void 0,Jb=Eq||bq,Sq="[object Arguments]",Tq="[object Array]",xq="[object Boolean]",kq="[object Date]",Aq="[object Error]",Mq="[object Function]",Cq="[object Map]",Oq="[object Number]",Iq="[object Object]",Rq="[object RegExp]",Fq="[object Set]",Dq="[object String]",Nq="[object WeakMap]",Pq="[object ArrayBuffer]",Lq="[object DataView]",Bq="[object Float32Array]",Uq="[object Float64Array
249]",zq="[object Int8Array]",jq="[object Int16Array]",Hq="[object Int32Array]",Wq="[object Uint8Array]",Gq="[object Uint8ClampedArray]",$q="[object Uint16Array]",qq="[object Uint32Array]",Br={};Br[Bq]=Br[Uq]=Br[zq]=Br[jq]=Br[Hq]=Br[Wq]=Br[Gq]=Br[$q]=Br[qq]=!0;Br[Sq]=Br[Tq]=Br[Pq]=Br[xq]=Br[Lq]=Br[kq]=Br[Aq]=Br[Mq]=Br[Cq]=Br[Oq]=Br[Iq]=Br[Rq]=Br[Fq]=Br[Dq]=Br[Nq]=!1;function Vq(t){return Na(t)&&T3(t.length)&&!!Br[za(t)]}function Yq(t){return function(e){return t(e)}}var zA=typeof exports=="object"&&exports&&!exports.nodeType&&exports,hf=zA&&typeof module=="object"&&module&&!module.nodeType&&module,Kq=hf&&hf.exports===zA,lv=Kq&&AA.process,O8=function(){try{var t=hf&&hf.require&&hf.require("util").types;return t||lv&&lv.binding&&lv.binding("util")}catch{}}(),I8=O8&&O8.isTypedArray,jA=I8?Yq(I8):Vq,Xq=Object.prototype,Qq=Xq.hasOwnProperty;function Jq(t,e){var r=ki(t),n=!r&&RA(t),i=!r&&!n&&Jb(t),s=!r&&!n&&!i&&jA(t),a=r||n||i||s,l=a?vq(t.length,String):[],u=l.length;for(var p in t)Qq.call(t,p)&&!(a&&(p=="length"||i&&(p=="offset"||p=="parent")||s&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||FA(p,u)))&&l.push(p);return l}var Zq=Object.prototype;function eV(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||Zq;return t===r}function HA(t,e){return function(r){return t(e(r))}}var tV=HA(Object.keys,Object),rV=Object.prototype,nV=rV.hasOwnProperty;function iV(t){if(!eV(t))return tV(t);var e=[];for(var r in Object(t))nV.call(t,r)&&r!="constructor"&&e.push(r);return e}function N1(t){return t!=null&&T3(t.length)&&!jg(t)}function P1(t){return N1(t)?Jq(t):iV(t)}function sV(t,e){return t&&yq(t,e,P1)}function aV(t,e){return function(r,n){if(r==null)return r;if(!N1(r))return t(r,n);for(var i=r.length,s=-1,a=Object(r);++s<i&&n(a[s],s,a)!==!1;);return r}}var k3=aV(sV);function oV(){this.__data__=new Do,this.size=0}function lV(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function uV(t){return this.__data__.get(t)}function cV(t){return this.__data__.has(t)}var hV=200;function fV(t,e){var r=this.__data__;if(r instanceof Do){var n=r.__data__;if(!Vf||n.length<hV-1)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new No(n)}return r.set(t,e),this.size=r.size,this}function yo(t){var e=this.__data__=new Do(t);this.size=e.size}yo.prototype.clear=oV;yo.prototype.delete=lV;yo.prototype.get=uV;yo.prototype.has=cV;yo.prototype.set=fV;var dV="__lodash_hash_undefined__";function pV(t){return this.__data__.set(t,dV),this}function mV(t){return this.__data__.has(t)}function Yf(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new No;++e<r;)this.add(t[e])}Yf.prototype.add=Yf.prototype.push=pV;Yf.prototype.has=mV;function WA(t,e){for(var r=-1,n=t==null?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1}function GA(t,e){return t.has(e)}var gV=1,_V=2;function $A(t,e,r,n,i,s){var a=r&gV,l=t.length,u=e.length;if(l!=u&&!(a&&u>l))return!1;var p=s.get(t),d=s.get(e);if(p&&d)return p==e&&d==t;var g=-1,_=!0,v=r&_V?new Yf:void 0;for(s.set(t,e),s.set(e,t);++g<l;){var k=t[g],O=e[g];if(n)var N=a?n(O,k,g,e,t,s):n(k,O,g,t,e,s);if(N!==void 0){if(N)continue;_=!1;break}if(v){if(!WA(e,function(S,M){if(!GA(v,M)&&(k===S||i(k,S,r,n,s)))return v.push(M)})){_=!1;break}}else if(!(k===O||i(k,O,r,n,s))){_=!1;break}}return s.delete(t),s.delete(e),_}var R8=Fo.Uint8Array;function yV(t){var e=-1,r=Array(t.size);return t.forEach(function(n,i){r[++e]=[i,n]}),r}function A3(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var vV=1,bV=2,wV="[object Boolean]",EV="[object Date]",SV="[object Error]",TV="[object Map]",xV="[object Number]",kV="[object RegExp]",AV="[object Set]",MV="[object String]",CV="[object Symbol]",OV="[object ArrayBuffer]",IV="[object DataView]",F8=Bl?Bl.prototype:void 0,uv=F8?F8.valueOf:void 0;function RV(t,e,r,n,i,s,a){switch(r){case IV:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case OV:return!(t.byteLength!=e.byteLength||!s(new R8(t),new R8(e)));case wV:case EV:case xV:return CA(+t,+e);case SV:return t.name==e.name&&t.message==e.message;case kV:case MV:return t==e+"";case TV:var l=yV;case AV:var u=n&vV;if(l||(l=A3),t.size!=e.size&&!u)return!1;var p=a.get(t);if(p)return p==e;n|=bV,a.set(t,e);var d=$A(l(t),l(e),n,i,s,a);return a.delete(t),d;case CV:if(uv)return uv.call(t)==uv.call(e)}return!1}function FV(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t}function DV(t,e,r){var n=e(t);return ki(t)?n:FV(n,r(t))}function NV(){return[]}var PV=Object.prototype,LV=PV.propertyIsEnumerable,D8=Object.getOwnPropertySymbols,BV=D8?function(t){return t==null?[]:(t=Object(t),gq(D8(t),function(e){return LV.call(t,e)}))}:NV;function N8(t){return DV(t,P1,BV)}var UV=1,zV=Object.prototype,jV=zV.hasOwnProperty;function HV(t,e,r,n,i,s){var a=r&UV,l=N8(t),u=l.length,p=N8(e),d=p.length;if(u!=d&&!a)return!1;for(var g=u;g--;){var _=l[g];if(!(a?_ in e:jV.call(e,_)))return!1}var v=s.get(t),k=s.get(e);if(v&&k)return v==e&&k==t;var O=!0;s.set(t,e),s.set(e,t);for(var N=a;++g<u;){_=l[g];var S=t[_],M=e[_];
vendor: 1,332 bytes, line 249
249if(n)var F=a?n(M,S,_,e,t,s):n(S,M,_,t,e,s);if(!(F===void 0?S===M||i(S,M,r,n,s):F)){O=!1;break}N||(N=_=="constructor")}if(O&&!N){var G=t.constructor,X=e.constructor;G!=X&&"constructor"in t&&"constructor"in e&&!(typeof G=="function"&&G instanceof G&&typeof X=="function"&&X instanceof X)&&(O=!1)}return s.delete(t),s.delete(e),O}var Zb=Qu(Fo,"DataView"),e2=Qu(Fo,"Promise"),A0=Qu(Fo,"Set"),t2=Qu(Fo,"WeakMap"),P8="[object Map]",WV="[object Object]",L8="[object Promise]",B8="[object Set]",U8="[object WeakMap]",z8="[object DataView]",GV=Xu(Zb),$V=Xu(Vf),qV=Xu(e2),VV=Xu(A0),YV=Xu(t2),gl=za;(Zb&&gl(new Zb(new ArrayBuffer(1)))!=z8||Vf&&gl(new Vf)!=P8||e2&&gl(e2.resolve())!=L8||A0&&gl(new A0)!=B8||t2&&gl(new t2)!=U8)&&(gl=function(t){var e=za(t),r=e==WV?t.constructor:void 0,n=r?Xu(r):"";if(n)switch(n){case GV:return z8;case $V:return P8;case qV:return L8;case VV:return B8;case YV:return U8}return e});var KV=1,j8="[object Arguments]",H8="[object Array]",Wp="[object Object]",XV=Object.prototype,W8=XV.hasOwnProperty;function QV(t,e,r,n,i,s){var a=ki(t),l=ki(e),u=a?H8:gl(t),p=l?H8:gl(e);u=u==j8?Wp:u,p=p==j8?Wp:p;var d=u==Wp,g=p==Wp,_=u==p;if(_&&Jb(t)){if(!Jb(e))return!1;a=!0,d=!1}if(_&&!d)return s||(s=new yo),a||jA(t)?$A(t,e,r,n,i,s):RV(t,e,u,r,n,i,s);if(!(r&KV)){var v=d&&W8.call(t,"__wrapped__"),k=g&&W8.call(e,"__wrapped__");
249if(v||k){var O=v?t.value():t,N=k?e.value():e;return s||(s=new yo),i(O,N,r,n,s)}}return _?(s||(s=new yo),HV(t,e,r,n,i,s)):!1}function M3(t,e,r,n,i){return t===e?!0:t==null||e==null||!Na(t)&&!Na(e)?t!==t&&e!==e:QV(t,e,r,n,M3,i)}var JV=1,ZV=2;function eY(t,e,r,n){var i=r.length,s=i;if(t==null)return!s;for(t=Object(t);i--;){var a=r[i];if(a[2]?a[1]!==t[a[0]]:!(a[0]in t))return!1}for(;++i<s;){a=r[i];var l=a[0],u=t[l],p=a[1];if(a[2]){if(u===void 0&&!(l in t))return!1}else{var d=new yo,g;if(!(g===void 0?M3(p,u,JV|ZV,n,d):g))return!1}}return!0}function qA(t){return t===t&&!$f(t)}function tY(t){for(var e=P1(t),r=e.length;r--;){var n=e[r],i=t[n];e[r]=[n,i,qA(i)]}return e}function VA(t,e){return function(r){return r==null?!1:r[t]===e&&(e!==void 0||t in Object(r))}}function rY(t){var e=tY(t);return e.length==1&&e[0][2]?VA(e[0][0],e[0][1]):function(r){return r===t||eY(r,t,e)}}function YA(t,e,r){var n=t==null?void 0:x3(t,e);return n===void 0?r:n}function nY(t,e){return t!=null&&e in Object(t)}function iY(t,e){return t!=null&&z$(t,e,nY)}var sY=1,aY=2;function oY(t,e){return b3(t)&&qA(e)?VA(cd(t),e):function(r){var n=YA(r,t);return n===void 0&&n===e?iY(r,t):M3(e,n,sY|aY)}}function lY(t){return function(e){return e==null?void 0:e[t]}}function uY(t){return function(e){return x3(e,t)}}function cY(t){return b3(t)?lY(cd(t)):uY(t)}function KA(t){return typeof t=="function"?t:t==null?D1:typeof t=="object"?ki(t)?oY(t[0],t[1]):rY(t):cY(t)}function hY(t,e,r,n){for(var i=t.length,s=r+-1;++s<i;)if(e(t[s],s,t))return s;return-1}function fY(t){return t!==t}function dY(t,e,r){for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}function XA(t,e,r){return e===e?dY(t,e,r):hY(t,fY,r)}function pY(t,e){var r=t==null?0:t.length;return!!r&&XA(t,e,0)>-1}function mY(t,e){for(var r=-1,n=t==null?0:t.length;++r<n&&e(t[r],r,t)!==!1;);return t}function gY(t){return typeof t=="function"?t:D1}function _Y(t,e){var r=ki(t)?mY:k3;return r(t,gY(e))}function yY(t,e){var r;return k3(t,function(n,i,s){return r=e(n,i,s),!r}),!!r}function Sm(t,e,r){var n=ki(t)?WA:yY;return n(t,KA(e))}var Tue=function(e,r){return Sm($.Children.toArray(e),{type:r})},Tr=function(e){return e==null||Array.isArray(e)&&e.length===0},vY={1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",16:"sixteen"};function G8(t){var e=typeof t;return e==="string"||e==="number"?vY[t]||t:""}var Be=function(e,r){return e&&r},xi=function(e,r){return e&&e!==!0&&e+" "+r},Bn=function(e,r){return e&&(e===!0?r:e+" "+r)},Hg=function(e,r){return!e||e===!0?null:e.replace("large screen","large-screen").replace(/ vertically/g,"-vertically").split(" ").map(function(n){return n.replace("-"," ")+" "+r}).join(" ")},hd=function(e){return e==="justified"?"justified":xi(e,"aligned")},fd=function(e){return xi(e,"aligned")},lo=function(e,r,n){if(r===void 0&&(r=""),n===void 0&&(n=!1),n&&e==="equal")return"equal width";var i=typeof e;return(i==="string"||i==="number")&&r?G8(e)+" "+r:G8(e)},bY=HA(Object.getPrototypeOf,Object),wY="[object Object]",EY=Function.prototype,SY=Object.prototype,QA=EY.toString,TY=SY.hasOwnProperty,xY=QA.call(Object);function kY(t){if(!Na(t)||za(t)!=wY)return!1;var e=bY(t);if(e===null)return!0;var r=TY.call(e,"constructor")&&e.constructor;return typeof r=="function"&&r instanceof r&&QA.call(r)==xY}function Wr(t){return t==null}function AY(t,e){var r=-1,n=N1(t)?Array(t.length):[];return k3(t,function(i,s,a){n[++r]=e(i,s,a)}),n}function C3(t,e){var r=ki(t)?E3:AY;return r(t,KA(e))}var O3={exports:{}},Wg={},JA={exports:{}};/*! 250 Copyright (c) 2015 Jed Watson. 251 Based on code that is Copyright 2013-2015, Facebook, Inc. 252 All rights reserved. 253*/(function(t){(function(){var e=!!(typeof window<"u"&&window.document&&window.document.createElement),r={canUseDOM:e,canUseWorkers:typeof Worker<"u",canUseEventListeners:e&&!!(window.addEventListener||window.attachEvent),canUseViewport:e&&!!window.screen};t.exports?t.exports=r:window.ExecutionEnvironment=r})()})(JA);var MY=JA.exports;Object.defineProperty(Wg,"__esModule",{value:!0});var $8=MY,CY=$;function ZA(t){return(ZA=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function dd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function OY(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function pd(t,e,r){return e&&OY(t.prototype,e),t}function Es(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function IY(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tM(t,e)}
253function eM(t){return(eM=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(t)}function tM(t,e){return(tM=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r})(t,e)}function RY(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FY(t,e){return!e||typeof e!="object"&&typeof e!="function"?RY(t):e}var rM=function(){function t(e){dd(this,t),Es(this,"handlers",void 0),this.handlers=e.slice(0)}return pd(t,[{key:"addHandlers",value:function(e){for(var r=this.handlers.slice(0),n=e.length,i=0;i<n;i+=1)r.push(e[i]);return new t(r)}},{key:"dispatchEvent",value:function(e,r){var n=this.handlers.length-1;if(r){for(var i=n;i>=0;i-=1)this.handlers[i].called||(this.handlers[i].called=!0,this.handlers[i](e));for(var s=n;s>=0;s-=1)this.handlers[s].called=!1}else(0,this.handlers[n])(e)}},{key:"hasHandlers",value:function(){return this.handlers.length>0}},{key:"removeHandlers",value:function(e){for(var r=[],n=this.handlers.length,i=0;i<n;i+=1){var s=this.handlers[i];e.indexOf(s)===-1&&r.push(s)}return new t(r)}}]),t}();function q8(t){var e=new Map;return t.forEach(function(r,n){e.set(n,r)}),e}function V8(t){return Array.isArray(t)?t:[t]}var DY=function(t){return t!==null&&ZA(t)==="object"&&t.hasOwnProperty("current")};function Y8(t){return t==="document"?document:t==="window"?window:DY(t)?t.current||document:t||document}var r2=function(){function t(e,r){dd(this,t),Es(this,"handlerSets",void 0),Es(this,"poolName",void 0),this.handlerSets=r,this.poolName=e}return pd(t,[{key:"addHandlers",value:function(e,r){var n=q8(this.handlerSets);if(n.has(e)){var i=n.get(e);n.set(e,i.addHandlers(r))}else n.set(e,new rM(r));return new t(this.poolName,n)}},{key:"dispatchEvent",value:function(e,r){var n=this.handlerSets.get(e),i=this.poolName==="default";n&&n.dispatchEvent(r,i)}},{key:"hasHandlers",value:function(e){if(!e)return this.handlerSets.size>0;var r=this.handlerSets.get(e);return!!r&&r.hasHandlers()}},{key:"removeHandlers",value:function(e,r){var n=q8(this.handlerSets);if(!n.has(e))return new t(this.poolName,n);var i=n.get(e).removeHandlers(r);return i.hasHandlers()?n.set(e,i):n.delete(e),new t(this.poolName,n)}}]),t}();Es(r2,"createByType",function(t,e,r){var n=new Map;return n.set(e,new rM(r)),new r2(t,n)});var NY=function(){function t(e){var r=this;dd(this,t),Es(this,"handlers",new Map),Es(this,"pools",new Map),Es(this,"target",void 0),Es(this,"createEmitter",function(n){return function(i){r.pools.forEach(function(s){s.dispatchEvent(n,i)})}}),this.target=e}return pd(t,[{key:"addHandlers",value:function(e,r,n){if(this.pools.has(e)){var i=this.pools.get(e);this.pools.set(e,i.addHandlers(r,n))}else this.pools.set(e,r2.createByType(e,r,n));this.handlers.has(r)||this.addTargetHandler(r)}},{key:"hasHandlers",value:function(){return this.handlers.size>0}},{key:"removeHandlers",value:function(e,r,n){if(this.pools.has(e)){var i=this.pools.get(e).removeHandlers(r,n);i.hasHandlers()?this.pools.set(e,i):this.pools.delete(e);var s=!1;this.pools.forEach(function(a){return s=s||a.hasHandlers(r)}),s||this.removeTargetHandler(r)}}},{key:"addTargetHandler",value:function(e){var r=this.createEmitter(e);this.handlers.set(e,r),this.target.addEventListener(e,r,!0)}},{key:"removeTargetHandler",value:function(e){this.handlers.has(e)&&(this.target.removeEventListener(e,this.handlers.get(e),!0),this.handlers.delete(e))}}]),t}(),PY=function(){function t(){var e=this;dd(this,t),Es(this,"targets",new Map),Es(this,"getTarget",function(r){var n=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],i=Y8(r);if(e.targets.has(i))return e.targets.get(i);if(!n)return null;var s=new NY(i);return e.targets.set(i,s),s}),Es(this,"removeTarget",function(r){e.targets.delete(Y8(r))})}return pd(t,[{key:"sub",value:function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if($8.canUseDOM){var i=n.target,s=i===void 0?document:i,a=n.pool,l=a===void 0?"default":a;this.getTarget(s).addHandlers(l,e,V8(r))}}},{key:"unsub",value:function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if($8.canUseDOM){var i=n.target,s=i===void 0?document:i,a=n.pool,l=a===void 0?"default":a,u=this.getTarget(s,!1);u&&(u.removeHandlers(l,e,V8(r)),u.hasHandlers()||this.removeTarget(s))}}}]),t}(),n2=new PY,cv=function(t){function e(){return dd(this,e),FY(this,eM(e).apply(this,arguments))}
253return IY(e,CY.PureComponent),pd(e,[{key:"componentDidMount",value:function(){this.subscribe(this.props)}},{key:"componentDidUpdate",value:function(r){this.unsubscribe(r),this.subscribe(this.props)}},{key:"componentWillUnmount",value:function(){this.unsubscribe(this.props)}},{key:"subscribe",value:function(r){var n=r.name,i=r.on,s=r.pool,a=r.target;n2.sub(n,i,{pool:s,target:a})}},{key:"unsubscribe",value:function(r){var n=r.name,i=r.on,s=r.pool,a=r.target;n2.unsub(n,i,{pool:s,target:a})}},{key:"render",value:function(){return null}}]),e}();Es(cv,"defaultProps",{pool:"default",target:"document"}),cv.propTypes={},Wg.instance=n2,Wg.default=cv;var I3;I3=Wg;O3.exports=I3.default;var xue=O3.exports.instance=I3.instance,LY=O3.exports;const Dh=Ai(LY);function BY(){}var UY=1/0,zY=A0&&1/A3(new A0([,-0]))[1]==UY?function(t){return new A0(t)}:BY,jY=200;function HY(t,e,r){var n=-1,i=pY,s=t.length,a=!0,l=[],u=l;if(s>=jY){var p=zY(t);if(p)return A3(p);a=!1,i=GA,u=new Yf}else u=l;e:for(;++n<s;){var d=t[n],g=d;if(d=d!==0?d:0,a&&g===g){for(var _=u.length;_--;)if(u[_]===g)continue e;l.push(d)}else i(u,g,r)||(u!==l&&u.push(g),l.push(d))}return l}function WY(t){return t&&t.length?HY(t):[]}var GY="[object Number]";function $Y(t){return typeof t=="number"||Na(t)&&za(t)==GY}var qY="[object String]";function nM(t){return typeof t=="string"||!ki(t)&&Na(t)&&za(t)==qY}var VY="[object Boolean]";
253function YY(t){return t===!0||t===!1||Na(t)&&za(t)==VY}function iM(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=iM(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function ar(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=iM(t))&&(n&&(n+=" "),n+=e);return n}var sM={exports:{}},vr={};/** 254 * @license React 255 * react-is.production.min.js 256 * 257 * Copyright (c) Facebook, Inc. and its affiliates. 258 * 259 * This source code is licensed under the MIT license found in the 260 * LICENSE file in the root directory of this source tree. 261 */var R3=Symbol.for("react.element"),F3=Symbol.for("react.portal"),L1=Symbol.for("react.fragment"),B1=Symbol.for("react.strict_mode"),U1=Symbol.for("react.profiler"),z1=Symbol.for("react.provider"),j1=Symbol.for("react.context"),KY=Symbol.for("react.server_context"),H1=Symbol.for("react.forward_ref"),W1=Symbol.for("react.suspense"),G1=Symbol.for("react.suspense_list"),$1=Symbol.for("react.memo"),q1=Symbol.for("react.lazy"),XY=Symbol.for("react.offscreen"),aM;aM=Symbol.for("react.module.reference");function Fs(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case R3:switch(t=t.type,t){case L1:case U1:case B1:case W1:case G1:return t;default:switch(t=t&&t.$$typeof,t){case KY:case j1:case H1:case q1:case $1:case z1:return t;default:return e}}case F3:return e}}}vr.ContextConsumer=j1;vr.ContextProvider=z1;vr.Element=R3;vr.ForwardRef=H1;vr.Fragment=L1;vr.Lazy=q1;vr.Memo=$1;vr.Portal=F3;vr.Profiler=U1;vr.StrictMode=B1;vr.Suspense=W1;vr.SuspenseList=G1;vr.isAsyncMode=function(){return!1};vr.isConcurrentMode=function(){return!1};vr.isContextConsumer=function(t){return Fs(t)===j1};vr.isContextProvider=function(t){return Fs(t)===z1};vr.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===R3};vr.isForwardRef=function(t){return Fs(t)===H1};vr.isFragment=function(t){return Fs(t)===L1};vr.isLazy=function(t){return Fs(t)===q1};vr.isMemo=function(t){return Fs(t)===$1};vr.isPortal=function(t){return Fs(t)===F3};vr.isProfiler=function(t){return Fs(t)===U1};vr.isStrictMode=function(t){return Fs(t)===B1};vr.isSuspense=function(t){return Fs(t)===W1};vr.isSuspenseList=function(t){return Fs(t)===G1};vr.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===L1||t===U1||t===B1||t===W1||t===G1||t===XY||typeof t=="object"&&t!==null&&(t.$$typeof===q1||t.$$typeof===$1||t.$$typeof===z1||t.$$typeof===j1||t.$$typeof===H1||t.$$typeof===aM||t.getModuleId!==void 0)};vr.typeOf=Fs;sM.exports=vr;var D3=sM.exports;const QY=Ai(D3);function JY(t,e,r,n){if(n===void 0&&(n={}),!D3.isValidElementType(t))throw new Error("createShorthand(): Component should be a valid element type.");if(Wr(r)||YY(r))return null;var i=nM(r),s=$Y(r),a=jg(r),l=$.isValidElement(r),u=kY(r),p=i||s||ki(r);if(!a&&!l&&!u&&!p)return null;var d=n,g=d.defaultProps,_=g===void 0?{}:g,v=l&&r.props||u&&r||p&&e(r),k=n,O=k.overrideProps,N=O===void 0?{}:O;N=jg(N)?N(bt({},_,v)):N;var S=bt({},_,v,N);if(_.className||N.className||v.className){var M=ar(_.className,N.className,v.className);S.className=WY(M.split(" ")).join(" ")}if((_.style||N.style||v.style)&&(S.style=bt({},_.style,v.style,N.style)),Wr(S.key)){var F=S.childKey,G=n,X=G.autoGenerateKey,z=X===void 0?!0:X;Wr(F)?z&&(i||s)&&(S.key=r):(S.key=typeof F=="function"?F(S):F,delete S.childKey)}if(l)return $.cloneElement(r,S);if(typeof S.children=="function")return S.children(t,bt({},S,{children:void 0}));if(p||u)return $.createElement(t,S);if(a)return r(t,S,S.children)}function Jn(t,e){if(!D3.isValidElementType(t))throw new Error("createShorthandFactory(): Component should be a valid element type.");return function(r,n){return JY(t,e,r,n)}}var kue=Jn("div",function(t){return{children:t}}),ZY=Jn("input",function(t){return{type:t}}),Aue=Jn("label",function(t){return{children:t}}),eK=Jn("p",function(t){return{children:t}});function br(t,e){e===void 0&&(e={});var r=e,n=r.defaultAs,i=r.getDefault;if(t.as&&t.as!==n)return t.as;if(i){var s=i();if(s)return s}return t.href?"a":n||"div"}var mr=function(e,r){var n=e.handledProps,i=n===void 0?[]:n;return Object.keys(r).reduce(function(s,a){return a==="childKey"||a==="innerRef"||i.indexOf(a)===-1&&(s[a]=r[a]),s},{})};function tK(t,e){return E3(e,function(r){return t[r]})}function rK(t){return t==null?[]:tK(t,P1(t))}var nK=Math.max;function oM(t,e,r,n){t=N1(t)?t:rK(t),r=r?mq(r):0;var i=t.length;return r<0&&(r=nK(i+r,0)),nM(t)?r<=i&&t.indexOf(e,r)>-1:!!i&&XA(t,e,r)>-1}var iK=["selected","defaultValue","defaultChecked","accept","autoCapitalize","autoComplete","autoCorrect","autoF
261ocus","checked","disabled","enterKeyHint","form","id","inputMode","lang","list","max","maxLength","min","minLength","multiple","name","pattern","placeholder","readOnly","required","step","title","type","value"],sK=["onKeyDown","onKeyPress","onKeyUp","onFocus","onBlur","onChange","onInput","onClick","onContextMenu","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onSelect","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],aK=[].concat(iK,sK),oK=["alt","height","src","srcSet","width","loading"],lM=function(e,r){r===void 0&&(r={});var n=r,i=n.htmlProps,s=i===void 0?aK:i,a=n.includeAria,l=a===void 0?!0:a,u={},p={};return _Y(e,function(d,g){var _=l&&(/^aria-.*$/.test(g)||g==="role"),v=oM(s,g)||_?u:p;v[g]=d}),[u,p]},lK=typeof document=="object"&&document!==null,uK=typeof window=="object"&&window!==null&&window.self===window,Gg=function t(){return Wr(t.override)?lK&&uK:t.override},cK=Math.max,hK=Math.min;function fK(t,e,r){return t>=hK(e,r)&&t<cK(e,r)}function K8(t,e,r){return e=Qb(e),r===void 0?(r=e,e=0):r=Qb(r),t=BA(t),fK(t,e,r)}function dK(t){return t&&t.length?t[0]:void 0}var Tm=function(e,r){if(Sm([r,e],Wr))return!1;if(r.target&&(Vr(r.target,"setAttribute","data-suir-click-target",!0),document.querySelector("[data-suir-click-target=true]")&&(Vr(r.target,"removeAttribute","data-suir-click-target"),typeof e.contains=="function")))return e.contains(r.target);var n=r.clientX,i=r.clientY;if(Sm([n,i],Wr)||typeof e.getClientRects!="function")return!1;var s=e.getClientRects();if(!e.offsetWidth||!e.offsetHeight||!s||!s.length)return!1;var a=dK(s),l=a.top,u=a.bottom,p=a.left,d=a.right;return Sm([l,u,p,d],Wr)?!1:K8(i,l,u+.001)&&K8(n,p,d+.001)};function pK(t){var e=typeof t.defaultState>"u"?t.initialState:t.defaultState,r=$.useState(e),n=r[0],i=r[1],s=typeof t.state>"u"?n:t.state,a=$.useRef(s);$.useEffect(function(){a.current=s},[s]);var l=$.useCallback(function(u){typeof u=="function"?a.current=u(a.current):a.current=u,i(a.current)},[]);return[s,l]}var uM=Gg()?$.useLayoutEffect:$.useEffect;function Kf(t){var e=$.useRef(function(){});return uM(function(){e.current=t},[t]),$.useCallback(function(){var r=e.current;return r.apply(void 0,arguments)},[e])}function $g(t,e){typeof t=="function"?t(e):t&&(t.current=e)}function V1(t,e){var r=$.useCallback(function(n){r.current=n,$g(t,n),$g(e,n)},[t,e]);return r}var md=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.content,s=t.size,a=ar(s,"icons",n),l=mr(md,t),u=br(t,{defaultAs:"i"});return $.createElement(u,bt({},l,{className:a,ref:e}),Tr(r)?i:r)});md.handledProps=["as","children","className","content","size"];md.displayName="IconGroup";md.propTypes={};function mK(t){var e={},r=t["aria-label"],n=t["aria-hidden"];return Wr(r)?e["aria-hidden"]="true":e["aria-label"]=r,Wr(n)||(e["aria-hidden"]=n),e}var gd=$.forwardRef(function(t,e){var r=t.bordered,n=t.circular,i=t.className,s=t.color,a=t.corner,l=t.disabled,u=t.fitted,p=t.flipped,d=t.inverted,g=t.link,_=t.loading,v=t.name,k=t.rotated,O=t.size,N=ar(s,v,O,Be(r,"bordered"),Be(n,"circular"),Be(l,"disabled"),Be(u,"fitted"),Be(d,"inverted"),Be(g,"link"),Be(_,"loading"),Bn(a,"corner"),xi(p,"flipped"),xi(k,"rotated"),"icon",i),S=mr(gd,t),M=br(t,{defaultAs:"i"}),F=mK(t),G=Kf(function(X){if(l){X.preventDefault();return}Vr(t,"onClick",X,t)});return $.createElement(M,bt({},S,F,{className:N,onClick:G,ref:e}))});gd.handledProps=["aria-hidden","aria-label","as","bordered","circular","className","color","corner","disabled","fitted","flipped","inverted","link","loading","name","rotated","size"];gd.displayName="Icon";gd.propTypes={};var ia=$.memo(gd);ia.Group=md;ia.create=Jn(ia,function(t){return{name:t}});var X8=function(e){return e!==null&&!Array.isArray(e)&&typeof e=="object"},qg={3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"};for(var Gp=0;Gp<24;Gp+=1)qg[112+Gp]="F"+(Gp+1);for(var hv=0;hv<26;hv+=1){var fv=hv+65;qg[fv]=[String.fromCharCode(fv+32),String.fromCharCode(fv)]}var ct={codes:qg,getCode:function(e){return X8(e)?e.keyCode||e.which||this[e.key]:this[e]},getKey:function(e){var r=X8(e);if(r&&e.key)return e.key;var n=qg[r?e.keyCode||e.which:e];return Array.isArray(n)&&(r?n=n[e.shiftKey?1:0]:n=n[0]),n},Cancel:3,Help:6,Backspace:8,Tab:9,Clear:12,Enter:13,Shift:16,Control:17,Alt:18,Pause:19,CapsLock:20,Escape:27,Convert:28,NonConvert:29,Accept:30,ModeChange:31," ":32,PageUp:33,PageDown:34,End:35,Home:36,ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Select:41,Print:42,Execute:43,PrintScreen:44,Insert:45,Delete:46,0:48,")":48,1:49,"!":49,2:50,"@":50,3:51,"#":51,4:52,$:52,5:53,"%":53,6:54,"^":54,7:55,"&":55,8:56,"*":56,9:57,"(":57,a:65,A:65,b:66,B:66,c:67,C:67,d:68,D:68,e:69,E:69,f:70,F:70,g:71,G:71,h:72,H:72,i:73,I:73,j:74,J:74,k:75,K:75,l:76,L:76,m:77,M:77,n:78,N:78,o:79,O:79,p:80,P:80,q:81,Q:81,r:82,R:82,s:83,S:83,t:84,T:84,u:85,U:85,v:86,V:86,w:87,W:87,x:88,X:88,y:89,Y:89,z:90,Z:90,OS:91,ContextMenu:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,F13:124,F14:125,F15:126,F16:127,F17:128,F18:129,F19:130,F20:131,F21:132,F22:133,F23:134,F24:135,NumLock:144,ScrollLock:145,VolumeMute:181,VolumeDown:182,VolumeUp:183,";":186,":":186,"=":187,"+":187,",":188,"<":188,"-":189,_:189,".":190,">":190,"/":191,"?":191,"`":192,"~":192,"[":219,"{":219,"\\":220,"|":220,"]":221,"}":221,"'":222,'"':222,Meta:224,AltGraph:225,Attn:246,CrSel:247,ExSel:248,EraseEof:249,Play:250,ZoomOut:251};ct.Spacebar=ct[" "];ct.Digit0=ct[0];ct.Digit1=ct[1];ct.Digit2=ct[2];ct.Digit3=ct[3];ct.Digit4=ct[4];ct.Digit5=ct[5];ct.Digit6=ct[6];ct.Digit7=ct[7];ct.Digit8=ct[8];ct.Digit9=ct[9];ct.Tilde=ct["~"];ct.GraveAccent=ct["`"];ct.ExclamationPoint=ct["!"];
261ct.AtSign=ct["@"];ct.PoundSign=ct["#"];ct.PercentSign=ct["%"];ct.Caret=ct["^"];ct.Ampersand=ct["&"];ct.PlusSign=ct["+"];ct.MinusSign=ct["-"];ct.EqualsSign=ct["="];ct.DivisionSign=ct["/"];ct.MultiplicationSign=ct["*"];ct.Comma=ct[","];ct.Decimal=ct["."];ct.Colon=ct[":"];ct.Semicolon=ct[";"];ct.Pipe=ct["|"];ct.BackSlash=ct["\\"];ct.QuestionMark=ct["?"];ct.SingleQuote=ct["'"];ct.DoubleQuote=ct['"'];ct.LeftCurlyBrace=ct["{"];ct.RightCurlyBrace=ct["}"];ct.LeftParenthesis=ct["("];ct.RightParenthesis=ct[")"];ct.LeftAngleBracket=ct["<"];ct.RightAngleBracket=ct[">"];ct.LeftSquareBracket=ct["["];ct.RightSquareBracket=ct["]"];var gK=ct;const Q8=Ai(gK);function _K(t,e){var r=V1(t==null?void 0:t.ref,e);return t?[r,$.cloneElement(t,{ref:r})]:[r,null]}function cM(t,e){var r=V1(t.ref,e);if($.isValidElement(t)){if(QY.isForwardRef(t))return $.cloneElement(t,{ref:r});if(typeof t.type=="string")return $.cloneElement(t,{ref:r})}return $.createElement("div",{"data-suir-portal":"true",ref:r},t)}cM.handledProps=[];var _d=$.forwardRef(function(t,e){var r=Kf(function(){return Vr(t,"onMount",null,t)}),n=Kf(function(){return Vr(t,"onUnmount",null,t)}),i=cM(t.children,e);return $.useEffect(function(){return r(),function(){n()}},[]),Gg()?h3.createPortal(i,t.mountNode||document.body):null});_d.handledProps=["children","mountNode","onMount","onUnmount"];_d.displayName="PortalInner";_d.propTypes={children:at.node.isRequired,mountNode:at.any,onMount:at.func,onUnmount:at.func};function yd(t){var e=t.children,r=t.closeOnDocumentClick,n=r===void 0?!0:r,i=t.closeOnEscape,s=i===void 0?!0:i,a=t.closeOnPortalMouseLeave,l=t.closeOnTriggerBlur,u=t.closeOnTriggerClick,p=t.closeOnTriggerMouseLeave,d=t.eventPool,g=d===void 0?"default":d,_=t.mountNode,v=t.mouseEnterDelay,k=t.mouseLeaveDelay,O=t.openOnTriggerClick,N=O===void 0?!0:O,S=t.openOnTriggerFocus,M=t.openOnTriggerMouseEnter,F=pK({state:t.open,defaultState:t.defaultOpen,initialState:!1}),G=F[0],X=F[1],z=$.useRef(),R=_K(t.trigger,t.triggerRef),H=R[0],re=R[1],ie=$.useRef(),q=$.useRef(),Y=$.useRef(),Q=function(Ve){X(!0),Vr(t,"onOpen",Ve,bt({},t,{open:!0}))},fe=function(Ve,wt){var Dt=bt({},Ve);return setTimeout(function(){return Q(Dt)},wt||0)},pe=function(Ve){X(!1),Vr(t,"onClose",Ve,bt({},t,{open:!1}))},Te=function(Ve,wt){var Dt=bt({},Ve);return setTimeout(function(){return pe(Dt)},wt||0)};$.useEffect(function(){clearTimeout(ie.current),clearTimeout(q.current)},[]);var ve=function(Ve){Y.current=Ve},xe=function(Ve){var wt,Dt=Y.current;Y.current=null;var Fe=Tm(H.current,Ve),Ne=Dt&&Tm(z.current,Dt),K=Tm(z.current,Ve);!((wt=z.current)!=null&&wt.contains)||Fe||Ne||K||n&&pe(Ve)},Ye=function(Ve){s&&Q8.getCode(Ve)===Q8.Escape&&pe(Ve)},B=function(Ve){a&&Ve.target===z.current&&(q.current=Te(Ve,k))},Ce=function(){a&&clearTimeout(q.current)},Pe=function(Ve){for(var wt=arguments.length,Dt=new Array(wt>1?wt-1:0),Fe=1;Fe<wt;Fe++)Dt[Fe-1]=arguments[Fe];Vr.apply(void 0,[re,"props.onBlur",Ve].concat(Dt));var Ne=Ve.relatedTarget||document.activeElement,K=Vr(z.current,"contains",Ne);!l||K||pe(Ve)},le=function(Ve){for(var wt=arguments.length,Dt=new Array(wt>1?wt-1:0),Fe=1;Fe<wt;Fe++)Dt[Fe-1]=arguments[Fe];Vr.apply(void 0,[re,"props.onClick",Ve].concat(Dt)),G&&u?pe(Ve):!G&&N&&Q(Ve)},Lt=function(Ve){for(var wt=arguments.length,Dt=new Array(wt>1?wt-1:0),Fe=1;Fe<wt;Fe++)Dt[Fe-1]=arguments[Fe];Vr.apply(void 0,[re,"props.onFocus",Ve].concat(Dt)),S&&Q(Ve)},Ht=function(Ve){clearTimeout(ie.current);for(var wt=arguments.length,Dt=new Array(wt>1?wt-1:0),Fe=1;Fe<wt;Fe++)Dt[Fe-1]=arguments[Fe];Vr.apply(void 0,[re,"props.onMouseLeave",Ve].concat(Dt)),p&&(q.current=Te(Ve,k))},At=function(Ve){clearTimeout(q.current);for(var wt=arguments.length,Dt=new Array(wt>1?wt-1:0),Fe=1;Fe<wt;Fe++)Dt[Fe-1]=arguments[Fe];Vr.apply(void 0,[re,"props.onMouseEnter",Ve].concat(Dt)),M&&(ie.current=fe(Ve,v))};return $.createElement($.Fragment,null,G&&$.createElement($.Fragment,null,$.createElement(_d,{mountNode:_,onMount:function(){return Vr(t,"onMount",null,t)},onUnmount:function(){return Vr(t,"onUnmount",null,t)},ref:z},e),$.createElement(Dh,{name:"mouseleave",on:B,pool:g,target:z}),$.createElement(Dh,{name:"mouseenter",on:Ce,pool:g,target:z}),$.createElement(Dh,{name:"mousedown",on:ve,pool:g}),$.createElement(Dh,{name:"click",on:xe,pool:g}),$.createElement(Dh,{name:"keydown",on:Ye,pool:g}
261)),re&&$.cloneElement(re,{onBlur:Pe,onClick:le,onFocus:Lt,onMouseLeave:Ht,onMouseEnter:At,ref:H}))}yd.handledProps=["children","closeOnDocumentClick","closeOnEscape","closeOnPortalMouseLeave","closeOnTriggerBlur","closeOnTriggerClick","closeOnTriggerMouseLeave","defaultOpen","eventPool","mountNode","mouseEnterDelay","mouseLeaveDelay","onClose","onMount","onOpen","onUnmount","open","openOnTriggerClick","openOnTriggerFocus","openOnTriggerMouseEnter","trigger","triggerRef"];yd.displayName="Portal";yd.propTypes={};yd.Inner=_d;var vd=$.forwardRef(function(t,e){var r=t.blurring,n=t.className,i=t.children,s=t.content,a=t.dimmed,l=ar(Be(r,"blurring"),Be(a,"dimmed"),"dimmable",n),u=mr(vd,t),p=br(t);return $.createElement(p,bt({},u,{className:l,ref:e}),Tr(i)?s:i)});vd.handledProps=["as","blurring","children","className","content","dimmed"];vd.displayName="DimmerDimmable";vd.propTypes={};var Gu=$.forwardRef(function(t,e){var r=t.active,n=t.children,i=t.className,s=t.content,a=t.disabled,l=t.inverted,u=t.page,p=t.simple,d=t.verticalAlign,g=V1(e,$.useRef()),_=$.useRef();uM(function(){var M;(M=g.current)!=null&&M.style&&(r?g.current.style.setProperty("display","flex","important"):g.current.style.removeProperty("display"))},[r]);var v=function(F){Vr(t,"onClick",F,t),!(_.current!==F.target&&Tm(_.current,F))&&Vr(t,"onClickOutside",F,t)},k=ar("ui",Be(r,"active transition visible"),Be(a,"disabled"),Be(l,"inverted"),Be(u,"page"),Be(p,"simple"),fd(d),"dimmer",i),O=mr(Gu,t),N=br(t),S=Tr(n)?s:n;return $.createElement(N,bt({},O,{className:k,onClick:v,ref:g}),S&&$.createElement("div",{className:"content",ref:_},S))});Gu.handledProps=["active","as","children","className","content","disabled","inverted","onClick","onClickOutside","page","simple","verticalAlign"];Gu.displayName="DimmerInner";Gu.propTypes={};var Pa=$.forwardRef(function(t,e){var r=t.active,n=t.page,i=mr(Pa,t);if(n){var s=function(){Gg()&&(document.body.classList.add("dimmed"),document.body.classList.add("dimmable"))},a=function(){Gg()&&(document.body.classList.remove("dimmed"),document.body.classList.remove("dimmable"))};return $.createElement(yd,{closeOnEscape:!1,closeOnDocumentClick:!1,onMount:s,onUnmount:a,open:r,openOnTriggerClick:!1},$.createElement(Gu,bt({},i,{active:r,page:n,ref:e})))}return $.createElement(Gu,bt({},i,{active:r,page:n,ref:e}))});Pa.handledProps=["active","page"];Pa.displayName="Dimmer";Pa.propTypes={};Pa.Dimmable=vd;Pa.Inner=Gu;Pa.create=Jn(Pa,function(t){return{content:t}});var bd=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.content,s=t.size,a=ar("ui",s,n,"images"),l=mr(bd,t),u=br(t);return $.createElement(u,bt({},l,{className:a,ref:e}),Tr(r)?i:r)});bd.handledProps=["as","children","className","content","size"];bd.displayName="ImageGroup";bd.propTypes={};var Ao=$.forwardRef(function(t,e){var r=t.avatar,n=t.bordered,i=t.centered,s=t.children,a=t.circular,l=t.className,u=t.content,p=t.dimmer,d=t.disabled,g=t.floated,_=t.fluid,v=t.hidden,k=t.href,O=t.inline,N=t.label,S=t.rounded,M=t.size,F=t.spaced,G=t.verticalAlign,X=t.wrapped,z=t.ui,R=z===void 0?!0:z,H=ar(Be(R,"ui"),M,Be(r,"avatar"),Be(n,"bordered"),Be(a,"circular"),Be(i,"centered"),Be(d,"disabled"),Be(_,"fluid"),Be(v,"hidden"),Be(O,"inline"),Be(S,"rounded"),Bn(F,"spaced"),xi(g,"floated"),fd(G),"image",l),re=mr(Ao,t),ie=lM(re,{htmlProps:oK}),q=ie[0],Y=ie[1],Q=br(t,{defaultAs:"img",getDefault:function(){if(!Wr(p)||!Wr(N)||!Wr(X)||!Tr(s))return"div"}});return Tr(s)?Tr(u)?Q==="img"?$.createElement(Q,bt({},Y,q,{className:H,ref:e})):$.createElement(Q,bt({},Y,{className:H,href:k}),Pa.create(p,{autoGenerateKey:!1}),sa.create(N,{autoGenerateKey:!1}),$.createElement("img",bt({},q,{ref:e}))):$.createElement(Q,bt({},re,{className:H,ref:e}),u):$.createElement(Q,bt({},re,{className:H,ref:e}),s)});Ao.handledProps=["as","avatar","bordered","centered","children","circular","className","content","dimmer","disabled","floated","fluid","hidden","href","inline","label","rounded","size","spaced","ui","verticalAlign","wrapped"];Ao.Group=bd;Ao.displayName="Image";Ao.propTypes={};Ao.create=Jn(Ao,function(t){return{src:t}}
261);var Ul=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.content,s=ar("detail",n),a=mr(Ul,t),l=br(t);return $.createElement(l,bt({},a,{className:s,ref:e}),Tr(r)?i:r)});Ul.handledProps=["as","children","className","content"];Ul.displayName="LabelDetail";Ul.propTypes={};Ul.create=Jn(Ul,function(t){return{content:t}});var wd=$.forwardRef(function(t,e){var r=t.children,n=t.circular,i=t.className,s=t.color,a=t.content,l=t.size,u=t.tag,p=ar("ui",s,l,Be(n,"circular"),Be(u,"tag"),"labels",i),d=mr(wd,t),g=br(t);return $.createElement(g,bt({},d,{className:p,ref:e}),Tr(r)?a:r)});wd.handledProps=["as","children","circular","className","color","content","size","tag"];wd.displayName="LabelGroup";wd.propTypes={};var sa=$.forwardRef(function(t,e){var r=t.active,n=t.attached,i=t.basic,s=t.children,a=t.circular,l=t.className,u=t.color,p=t.content,d=t.corner,g=t.detail,_=t.empty,v=t.floating,k=t.horizontal,O=t.icon,N=t.image,S=t.onRemove,M=t.pointing,F=t.prompt,G=t.removeIcon,X=t.ribbon,z=t.size,R=t.tag,H=M===!0&&"pointing"||(M==="left"||M==="right")&&M+" pointing"||(M==="above"||M==="below")&&"pointing "+M,re=ar("ui",u,H,z,Be(r,"active"),Be(i,"basic"),Be(a,"circular"),Be(_,"empty"),Be(v,"floating"),Be(k,"horizontal"),Be(N===!0,"image"),Be(F,"prompt"),Be(R,"tag"),Bn(d,"corner"),Bn(X,"ribbon"),xi(n,"attached"),"label",l),ie=mr(sa,t),q=br(t),Y=Kf(function(fe){Vr(t,"onClick",fe,t)});if(!Tr(s))return $.createElement(q,bt({},ie,{className:re,onClick:Y,ref:e}),s);var Q=sq(G)?"delete":G;return $.createElement(q,bt({},ie,{className:re,onClick:Y,ref:e}),ia.create(O,{autoGenerateKey:!1}),typeof N!="boolean"&&Ao.create(N,{autoGenerateKey:!1}),p,Ul.create(g,{autoGenerateKey:!1}),S&&ia.create(Q,{autoGenerateKey:!1,overrideProps:function(pe){return{onClick:function(ve){Vr(pe,"onClick",ve),Vr(t,"onRemove",ve,t)}}}}))});sa.handledProps=["active","as","attached","basic","children","circular","className","color","content","corner","detail","empty","floating","horizontal","icon","image","onClick","onRemove","pointing","prompt","removeIcon","ribbon","size","tag"];sa.displayName="Label";sa.propTypes={};sa.Detail=Ul;sa.Group=wd;sa.create=Jn(sa,function(t){return{content:t}});var Ed=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.content,s=t.hidden,a=t.visible,l=ar(Be(a,"visible"),Be(s,"hidden"),"content",n),u=mr(Ed,t),p=br(t);return $.createElement(p,bt({},u,{className:l,ref:e}),Tr(r)?i:r)});Ed.handledProps=["as","children","className","content","hidden","visible"];Ed.displayName="ButtonContent";Ed.propTypes={};var Sd=$.forwardRef(function(t,e){var r=t.attached,n=t.basic,i=t.buttons,s=t.children,a=t.className,l=t.color,u=t.compact,p=t.content,d=t.floated,g=t.fluid,_=t.icon,v=t.inverted,k=t.labeled,O=t.negative,N=t.positive,S=t.primary,M=t.secondary,F=t.size,G=t.toggle,X=t.vertical,z=t.widths,R=ar("ui",l,F,Be(n,"basic"),Be(u,"compact"),Be(g,"fluid"),Be(_,"icon"),Be(v,"inverted"),Be(k,"labeled"),Be(O,"negative"),Be(N,"positive"),Be(S,"primary"),Be(M,"secondary"),Be(G,"toggle"),Be(X,"vertical"),Bn(r,"attached"),xi(d,"floated"),lo(z),"buttons",a),H=mr(Sd,t),re=br(t);return Wr(i)?$.createElement(re,bt({},H,{className:R,ref:e}),Tr(s)?p:s):$.createElement(re,bt({},H,{className:R,ref:e}),C3(i,function(ie){return li.create(ie)}))});Sd.handledProps=["as","attached","basic","buttons","children","className","color","compact","content","floated","fluid","icon","inverted","labeled","negative","positive","primary","secondary","size","toggle","vertical","widths"];Sd.displayName="ButtonGroup";Sd.propTypes={};var Td=$.forwardRef(function(t,e){var r=t.className,n=t.text,i=ar("or",r),s=mr(Td,t),a=br(t);return $.createElement(a,bt({},s,{className:i,"data-text":n,ref:e}))});Td.handledProps=["as","className","text"];Td.displayName="ButtonOr";Td.propTypes={};function yK(t,e){if(!Wr(e))return e;if(t!=="button")return"button"}function vK(t,e,r){if(!Wr(r))return r;if(e)return-1;if(t==="div")return 0}function bK(t){var e=t.children,r=t.content,n=t.icon,i=t.labelPosition;if(n===!0)return!0;if(n)return i||Tr(e)&&Wr(r)}var li=$.forwardRef(function(t,e){var r=t.active,n=t.animated,i=t.attached,s=t.basic,a=t.children,l=t.circular,u=t.className,p=t.color,d=t.compact,g=t.content,_=t.disabled,v=t.floated,k=t.fluid,O=t.icon,N=t.inverted,S=t.label,M=t.labelPosition,F=t.loading,G=t.negative,X=t.positive,z=t.primary,R=t.secondary,H=t.size,re=t.toggle,ie=t.type,q=V1(e,$.useRef()),Y=ar(p,H,Be(r,"active"),Be(s,"basic"),Be(l,"circular"),Be(d,"compact"),Be(k,"fluid"),Be(bK(t),"icon"),Be(N,"inverted"),Be(F,"loading"),Be(G,"negative"),Be(X,"positive"),Be(z,"primary"),Be(R,"secondary"),Be(re,"toggle"),Bn(n,"animated"),Bn(i,"attached")),Q=ar(Bn(M||!!S,"labeled")),fe=ar(Be(_,"disabled"),xi(v,"floated")),pe=mr(li,t),Te=br(t,{defaultAs:"button",getDefault:function(){if(!Wr(i)||!Wr(S))return"div"}}),ve=vK(Te,_,t.tabIndex),xe=function(At){if(_){At.preventDefault();return}Vr(t,"onClick",At,t)};if(!Wr(S)){var Ye=ar("ui",Y,"button",u),B=ar("ui",Q,"button",u,fe),Ce=sa.create(S,{defaultProps:{basic:!0,pointing:M==="left"?"right":"left"},autoGenerateKey:!1});return $.createElement(Te,bt({},pe,{className:B,onClick:xe}),M==="left"&&Ce,$.createElement("button",{className:Ye,"aria-pressed":re?!!r:void 0,disabled:_,tabIndex:ve,type:ie,ref:q},ia.create(O,{autoGenerateKey:!1})," ",g),(M==="right"||!M)&&Ce)}var Pe=ar("ui",Y,fe,Q,"button",u),le=!Tr(a),Lt=yK(Te,t.role);return $.createElement(Te,bt({},pe,{className:Pe,"aria-pressed":re?!!r:void 0,disabled:_&&Te==="button"||void 0,onClick:xe,role:Lt,tabIndex:ve,type:ie,ref:q}),le&&a,!le&&ia.create(O,{autoGenerateKey:!1}),!le&&g)});li.handledProps=["active","animated","as","attached","basic","children","circular","className","color","compact","content","disabled","floated","fluid","icon","inverted","label","labelPosition","loading","negative","onClick","positive","primary","role","secondary","size","tabIndex","toggle","type"];li.displayName="Button";li.propTypes={};li.Content=Ed;li.Group=Sd;li.Or=Td;li.create=Jn(li,function(t){return{content:t}});var $u=$.forwardRef(function(t,e){var r=t.action,n=t.actionPosition,i=t.children,s=t.className,a=t.disabled,l=t.error,u=t.fluid,p=t.focus,d=t.icon,g=t.iconPosition,_=t.input,v=t.inverted,k=t.label,O=t.labelPosition,N=t.loading,S=t.size,M=t.tabIndex,F=t.transparent,G=t.type,X=G===void 0?"text":G,z=function(){if(!Wr(d))return d;if(N)return"spinner"},R=function(){if(!Wr(M))return M;if(a)return-1},H=function(Ye){var B=YA(Ye,"target.value");Vr(t,"onChange",Ye,bt({},t,{value:B}))},re=function(){var Ye=mr($u,t),B=lM(Ye),Ce=B[0],Pe=B[1];return[bt({},Ce,{disabled:a,type:X,tabIndex:R(),onChange:H,ref:e}),Pe]},ie=ar("ui",S,Be(a,"disabled"),Be(l,"error"),Be(u,"fluid"),Be(p,"focus"),Be(v,"inverted"),Be(N,"loading"),Be(F,"transparent"),xi(n,"action")||Be(r,"action"),xi(g,"icon")||Be(d||N,"icon"),xi(O,"labeled")||Be(k,"labeled"),"input",s),q=br(t),Y=re(),Q=Y[0],fe=Y[1];if(!Tr(i)){var pe=C3($.Children.toArray(i),function(xe){return xe.type==="input"?$.cloneElement(xe,bt({},Q,xe.props,{ref:function(B){$g(xe.ref,B),$g(e,B)}})):xe});return $.createElement(q,bt({},fe,{className:ie}),pe)}var Te=li.create(r,{autoGenerateKey:!1}),ve=sa.create(k,{defaultProps:{className:ar("label",oM(O,"corner")&&O)},autoGenerateKey:!1});return $.createElement(q,bt({},fe,{className:ie}),n==="left"&&Te,O!=="right"&&ve,ZY(_||X,{defaultProps:Q,autoGenerateKey:!1}),ia.create(z(),{autoGenerateKey:!1}),n!=="left"&&Te,O==="right"&&ve)});$u.handledProps=["action","actionPosition","as","children","className","disabled","error","fluid","focus","icon","iconPosition","input","inverted","label","labelPosition","loading","onChange","size","tabIndex","transparent","type"];$u.displayName="Input";$u.propTypes={};$u.create=Jn($u,function(t){return{type:t}});var qu=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.computer,s=t.color,a=t.floated,l=t.largeScreen,u=t.mobile,p=t.only,d=t.stretched,g=t.tablet,_=t.textAlign,v=t.verticalAlign,k=t.widescreen,O=t.width,N=ar(s,Be(d,"stretched"),Hg(p,"only"),hd(_),xi(a,"floated"),fd(v),lo(i,"wide computer"),lo(l,"wide large screen"),lo(u,"wide mobile"),lo(g,"wide tablet"),lo(k,"wide widescreen"),lo(O,"wide"),"column",n),S=mr(qu,t),M=br(t);return $.createElement(M,bt({},S,{className:N,ref:e}),r)});qu.handledProps=["as","children","className","color","computer","floated","largeScreen","mobile","only","stretched","tablet","textAlign","verticalAlign","widescreen","width"];qu.displayName="GridColumn";qu.propTypes={};qu.create=Jn(qu,function(t){return{children:t}});var xd=$.forwardRef(function(t,e){var r=t.centered,n=t.children,i=t.className,s=t.color,a=t.columns,l=t.divided,u=t.only,p=t.reversed,d=t.stretched,g=t.textAlign,_=t.verticalAlign,v=ar(s,Be(r,"centered"),Be(l,"divided"),Be(d,"stretched"),Hg(u,"only"),Hg(p,"reversed"),hd(g),fd(_),lo(a,"column",!0),"row",i),k=mr(xd,t),O=br(t);return $.createElement(O,bt({},k,{className:v,ref:e}),n)});xd.handledProps=["as","centered","children","className","color","columns","divided","only","reversed","stretched","textAlign","verticalAlign"];xd.displayName="GridRow";xd.propTypes={};var La=$.forwardRef(function(t,e){var r=t.celled,n=t.centered,i=t.children,s=t.className,a=t.columns,l=t.container,u=t.divided,p=t.doubling,d=t.inverted,g=t.padded,_=t.relaxed,v=t.reversed,k=t.stackable,O=t.stretched,N=t.textAlign,S=t.verticalAlign,M=ar("ui",Be(n,"centered"),Be(l,"container"),Be(p,"doubling"),Be(d,"inverted"),Be(k,"stackable"),Be(O,"stretched"),Bn(r,"celled"),Bn(u,"divided"),Bn(g,"padded"),Bn(_,"relaxed"),Hg(v,"reversed"),hd(N),fd(S),lo(a,"column",!0),"grid",s),F=mr(La,t),G=br(t);return $.createElement(G,bt({},F,{className:M,ref:e}),i)});La.handledProps=["as","celled","centered","children","className","columns","container","divided","doubling","inverted","padded","relaxed","reversed","stackable","stretched","textAlign","verticalAlign"];La.Column=qu;La.Row=xd;La.displayName="Grid";La.propTypes={};var Y0=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.content,s=ar("content",n),a=mr(Y0,t),l=br(t);return $.createElement(l,bt({},a,{className:s,ref:e}),Tr(r)?i:r)});Y0.handledProps=["as","children","className","content"];Y0.displayName="MessageContent";Y0.propTypes={};var zl=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.content,s=ar("header",n),a=mr(zl,t),l=br(t);return $.createElement(l,bt({},a,{className:s,ref:e}),Tr(r)?i:r)});zl.handledProps=["as","children","className","content"];zl.displayName="MessageHeader";zl.propTypes={};zl.create=Jn(zl,function(t){return{content:t}});var jl=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.content,s=ar("content",n),a=mr(jl,t),l=br(t,{defaultAs:"li"});return $.createElement(l,bt({},a,{className:s,ref:e}),Tr(r)?i:r)});jl.handledProps=["as","children","className","content"];jl.displayName="MessageItem";
261jl.propTypes={};jl.create=Jn(jl,function(t){return{content:t}});var Hl=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.items,s=ar("list",n),a=mr(Hl,t),l=br(t,{defaultAs:"ul"});return $.createElement(l,bt({},a,{className:s,ref:e}),Tr(r)?C3(i,jl.create):r)});Hl.handledProps=["as","children","className","items"];Hl.displayName="MessageList";Hl.propTypes={};Hl.create=Jn(Hl,function(t){return{items:t}});var ra=$.forwardRef(function(t,e){var r=t.attached,n=t.children,i=t.className,s=t.color,a=t.compact,l=t.content,u=t.error,p=t.floating,d=t.header,g=t.hidden,_=t.icon,v=t.info,k=t.list,O=t.negative,N=t.onDismiss,S=t.positive,M=t.size,F=t.success,G=t.visible,X=t.warning,z=ar("ui",s,M,Be(a,"compact"),Be(u,"error"),Be(p,"floating"),Be(g,"hidden"),Be(_,"icon"),Be(v,"info"),Be(O,"negative"),Be(S,"positive"),Be(F,"success"),Be(G,"visible"),Be(X,"warning"),Bn(r,"attached"),"message",i),R=mr(ra,t),H=br(t),re=Kf(function(q){Vr(t,"onDismiss",q,t)}),ie=N&&$.createElement(ia,{name:"close",onClick:re});return Tr(n)?$.createElement(H,bt({},R,{className:z,ref:e}),ie,ia.create(_,{autoGenerateKey:!1}),(!Wr(d)||!Wr(l)||!Wr(k))&&$.createElement(Y0,null,zl.create(d,{autoGenerateKey:!1}),Hl.create(k,{autoGenerateKey:!1}),eK(l,{autoGenerateKey:!1}))):$.createElement(H,bt({},R,{className:z,ref:e}),ie,n)});ra.handledProps=["as","attached","children","className","color","compact","content","error","floating","header","hidden","icon","info","list","negative","onDismiss","positive","size","success","visible","warning"];ra.displayName="Message";ra.propTypes={};ra.Content=Y0;ra.Header=zl;ra.List=Hl;ra.Item=jl;var Wl=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.content,s=ar("sub header",n),a=mr(Wl,t),l=br(t);return $.createElement(l,bt({},a,{className:s,ref:e}),Tr(r)?i:r)});Wl.handledProps=["as","children","className","content"];Wl.displayName="HeaderSubheader";Wl.propTypes={};Wl.create=Jn(Wl,function(t){return{content:t}});var K0=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.content,s=ar("content",n),a=mr(K0,t),l=br(t);return $.createElement(l,bt({},a,{className:s,ref:e}),Tr(r)?i:r)});K0.handledProps=["as","children","className","content"];K0.displayName="HeaderContent";K0.propTypes={};var Ju=$.forwardRef(function(t,e){var r=t.attached,n=t.block,i=t.children,s=t.className,a=t.color,l=t.content,u=t.disabled,p=t.dividing,d=t.floated,g=t.icon,_=t.image,v=t.inverted,k=t.size,O=t.sub,N=t.subheader,S=t.textAlign,M=ar("ui",a,k,Be(n,"block"),Be(u,"disabled"),Be(p,"dividing"),xi(d,"floated"),Be(g===!0,"icon"),Be(_===!0,"image"),Be(v,"inverted"),Be(O,"sub"),Bn(r,"attached"),hd(S),"header",s),F=mr(Ju,t),G=br(t);if(!Tr(i))return $.createElement(G,bt({},F,{className:M,ref:e}),i);var X=ia.create(g,{autoGenerateKey:!1}),z=Ao.create(_,{autoGenerateKey:!1}),R=Wl.create(N,{autoGenerateKey:!1});return X||z?$.createElement(G,bt({},F,{className:M,ref:e}),X||z,(l||R)&&$.createElement(K0,null,l,R)):$.createElement(G,bt({},F,{className:M,ref:e}),l,R)});Ju.handledProps=["as","attached","block","children","className","color","content","disabled","dividing","floated","icon","image","inverted","size","sub","subheader","textAlign"];Ju.displayName="Header";Ju.propTypes={};Ju.Content=K0;Ju.Subheader=Wl;var kd=$.forwardRef(function(t,e){var r=t.active,n=t.children,i=t.className,s=t.content,a=t.disabled,l=t.indeterminate,u=t.inline,p=t.inverted,d=t.size,g=ar("ui",d,Be(r,"active"),Be(a,"disabled"),Be(l,"indeterminate"),Be(p,"inverted"),Be(n||s,"text"),Bn(u,"inline"),"loader",i),_=mr(kd,t),v=br(t);return $.createElement(v,bt({},_,{className:g,ref:e}),Tr(n)?s:n)});kd.handledProps=["active","as","children","className","content","disabled","indeterminate","inline","inverted","size"];kd.displayName="Loader";kd.propTypes={};var Ad=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.compact,s=t.content,a=t.horizontal,l=t.piled,u=t.raised,p=t.size,d=t.stacked,g=ar("ui",p,Be(i,"compact"),Be(a,"horizontal"),Be(l,"piled"),Be(u,"raised"),Be(d,"stacked"),"segments",n),_=mr(Ad,t),v=br(t);return $.createElement(v,bt({},_,{className:g,ref:e}),Tr(r)?s:r)});Ad.handledProps=["as","children","className","compact","content","horizontal","piled","raised","size","stacked"];Ad.displayName="SegmentGroup";Ad.propTypes={};var Md=$.forwardRef(function(t,e){var r=t.children,n=t.className,i=t.content,s=ar("inline",n),a=mr(Md,t),l=br(t);return $.createElement(l,bt({},a,{className:s,ref:e}),Tr(r)?i:r)});Md.handledProps=["as","children","className","content"];Md.displayName="SegmentInline";Md.propTypes={};var Zl=$.forwardRef(function(t,e){var r=t.attached,n=t.basic,i=t.children,s=t.circular,a=t.className,l=t.clearing,u=t.color,p=t.compact,d=t.content,g=t.disabled,_=t.floated,v=t.inverted,k=t.loading,O=t.placeholder,N=t.padded,S=t.piled,M=t.raised,F=t.secondary,G=t.size,X=t.stacked,z=t.tertiary,R=t.textAlign,H=t.vertical,re=ar("ui",u,G,Be(n,"basic"),Be(s,"circular"),Be(l,"clearing"),Be(p,"compact"),Be(g,"disabled"),Be(v,"inverted"),Be(k,"loading"),Be(O,"placeholder"),Be(S,"piled"),Be(M,"raised"),Be(F,"secondary"),Be(X,"stacked"),Be(z,"tertiary"),Be(H,"vertical"),Bn(r,"attached"),Bn(N,"padded"),hd(R),xi(_,"floated"),"segment",a),ie=mr(Zl,t),q=br(t);return $.createElement(q,bt({},ie,{className:re,ref:e}),Tr(i)?d:i)});Zl.handledProps=["as","attached","basic","children","circular","className","clearing","color","compact","content","disabled","floated","inverted","loading","padded","piled","placeholder","raised","secondary","size","stacked","tert
261iary","textAlign","vertical"];Zl.Group=Ad;Zl.Inline=Md;Zl.displayName="Segment";Zl.propTypes={};const wK=(t,e)=>{const r=$.useRef();$.useEffect(()=>{r.current=t},[t]),$.useEffect(()=>{const n=function(){r.current&&r.current()};if(e!==null){const i=setInterval(n,e);return()=>clearInterval(i)}},[e])},EK=[{domain:"localhost",hostname:"plus_dataskeptic_com",_comment_app_type:"To switch app modes: swap 'app_type' and '_app_type'. Use 'plus' for AppPlus (dashboard, files, etc). Use 'website' for AppWebsiteV2 (public site with /podcast, /store, etc like dataskeptic.com)",app_type:"plus",_app_type:"website",version:2,_website_object_id:"plus_dataskeptic_com/[email protected]/website.www",_oauth2_client_id:"908201091415-cpelh911i9avir4hbuovte4t8s0o6mrt.apps.googleusercontent.com",website_object_id:"plus_dataskeptic_com/[email protected]/website.plus_dataskeptic_com",oauth2_client_id:"908201091415-cpelh911i9avir4hbuovte4t8s0o6mrt.apps.googleusercontent.com",title:"Data Skeptic- (Local Dev)",metadata:{description:"The staging version of Data Skeptic+",keywords:"podcast, data"},secure:!1,origins:["http://localhost:5173","http://localhost:5001"],api_url:"http://localhost:5173/api/v1",support_email:"[email protected]",prefs:{allow_google_oauth:!0,allow_email_signup:!0,allow_account_creation:!0,allow_password_reset:!0,allow_tutorials:!0,allow_2fa:!0,require_2fa:!1,require_confirmation_code:!1},initial_user_groups:[],ga_measurement_id:"G-2DHBC97SGW",script_library_owner:"plus_dataskeptic_com/[email protected]/collection.saved_scripts",schema_library_owner:"plus_dataskeptic_com/[email protected]/collection.saved_schemas",cached_collections:[{owner:"plus_dataskeptic_com/[email protected]/collection.podcast_episode",keep_for_sec:3600},{owner:"plus_dataskeptic_com/[email protected]/collection.podcast_guests",keep_for_sec:3600},{owner:"plus_dataskeptic_com/[email protected]/collection.podcast_season",keep_for_sec:3600},{owner:"plus_dataskeptic_com/[email protected]/collection.podcast_sponsor",keep_for_sec:3600},{owner:"plus_dataskeptic_com/[email protected]/collection.website",keep_for_sec:3600}],available_apis:[{server_id:"plus-engine",name:"Plus Engine API (prod â local api writes to prod DDB so we point at prod plus-engine to read the same table)",description:"New Plus Engine API for PlusScript execution",url:"https://wt4hgo2ej1.execute-api.us-east-1.amazonaws.com/api"}]},{domain:"192.168.1.142",hostname:"plus_dataskeptic_com",app_type:"plus",version:2,website_object_id:"plus_dataskeptic_com/[email protected]/website.www",oauth2_client_id:"908201091415-cpelh911i9avir4hbuovte4t8s0o6mrt.apps.googleusercontent.com",title:"Data Skeptic- (Mobile Dev)",metadata:{description:"The staging version of Data Skeptic+",keywords:"podcast, data"},secure:!1,origins:["http://192.168.1.142:5173","http://192.168.1.142:5001"],api_url:"http://192.168.1.142:5001/api/v1",support_email:"[email protected]",prefs:{allow_google_oauth:!0,allow_email_signup:!0,allow_account_creation:!0,allow_password_reset:!0,allow_tutorials:!0,allow_2fa:!0,require_2fa:!1,require_confirmation_code:!1},initial_user_groups:[],ga_measurement_id:"G-2DHBC97SGW",script_library_owner:"plus_dataskeptic_com/[email protected]/collection.saved_scripts",schema_library_owner:"plus_dataskeptic_com/[email protected]/collection.saved_schemas",cached_collections:[{owner:"plus_dataskeptic_com/[email protected]/collection.podcast_episode",keep_for_sec:3600},{owner:"plus_dataskeptic_com/[email protected]/collection.podcast_guests",keep_for_sec:3600},{owner:"plus_dataskeptic_com/[email protected]/collection.podcast_season",keep_for_sec:3600},{owner:"plus_dataskeptic_com/[email protected]/collection.podcast_sponsor",keep_for_sec:3600},{owner:"plus_dataskeptic_com/[email protected]/collection.website",keep_for_sec:3600}],available_apis:[{server_id:"plus-engine",name:"Staging Plus Engine API",description:"New Plus Engine API for PlusScript execution",url:"https://3hb16onry3.execute-api.us-east-1.amazonaws.com/api/"}]},{domain:"chicagoska.com",hostname:"www_chicagoska_com",app_type:"redirect",title:"Chicago Ska",secure:!0,origins:["https://chicagoska.com"],api_url:"https://chicagoska.com/api/v1",support_email:"[email protected]",redirect:{status_code:307,destination_url:"https://midwestskafest.org"}},{domain:"18f9-95-86-49-92.ngrok-free.app",hostname:"www_future-search-engine_com",app_type:"redirect",title:"Local Dev Plus",secure:!1,origins:["http://18f9-95-86-49-92.ngrok-free.app:5173","http://18f9-95-86-49-92.ngrok-free.app:5001"],api_url:"http://18f9-95-86-49-92.ngrok-free.app:5001/api/v1",support_email:"[email protected]",redirect:{status_code:307,destination_url:"https://google.com"}},{domain:"127.0.0.1",hostname:"app_neonpixel_co",app_type:"neonpixel",title:"NeonPixel dev",metadata:{description:"Data Skeptic+ is the premium version of our podcast with bonus features such as a course and AI tools. Free accounts are available with limited features. $5/month gets your access.",keywords:"data science, podcast, graph theory course, serverless ai tools",ogImage:"https://s3.amazonaws.com/dataskeptic.com/seo/open-graph/data-skeptic.jpg",twitterImage:"https://s3.amazonaws.com/dataskeptic.com/seo/twitter/data-skeptic.jpg"},secure:!0,origins:["https://plus.dataskeptic.com"],api_url:"https://plus.dataskeptic.com/api/v1",support_email:"[email protected]",prefs:{allow_google_oauth:!0,allow_email_signup:!0,allow_account_creation:!0,allow_password_reset:!0,allow_tutorials:!1,allow_2fa:!1,require_2fa:!1,require_confirmation_code:!0},initial_user_groups:["sys.plus_dataskeptic_com.users.groups.plus_free"],ga_measurement_id:"G-CMHTRLQZFR",tooltip_owner:"app_neonpixel_co
261/[email protected]/collection.tooltip_cms",advertisers_owner:"app_neonpixel_co/[email protected]/collection.advertisers",primary_api_object_id:"app_neonpixel_co/[email protected]/api.np_api"},{domain:"plus.dataskeptic.com",hostname:"plus_dataskeptic_com",app_type:"plus",website_object_id:"plus_dataskeptic_com/[email protected]/website.plus_dataskeptic_com",version:2,oauth2_client_id:"999804140103-qmpi9sphuc8ha0jhdqjrqmcm2447bebe.apps.googleusercontent.com",title:"Data Skeptic+",secure:!0,origins:["https://plus.dataskeptic.com"],api_url:"https://plus.dataskeptic.com/api/v1",support_email:"[email protected]",metadata:{description:"DataSkeptic+ is ad-free listening to the podcast, our graphs course, and more.",keywords:"data science, network science",ogImage:"https://s3.amazonaws.com/dataskeptic.com/ogimages/plusdscom--ogimage-fb.jpg",twitterImage:"https://s3.amazonaws.com/dataskeptic.com/ogimages/plusdscom--ogimage-x-linkedin.jpg"},prefs:{allow_google_oauth:!0,allow_email_signup:!0,allow_account_creation:!0,allow_password_reset:!0,allow_tutorials:!1,allow_2fa:!1,require_2fa:!1,require_confirmation_code:!0},initial_user_groups:["sys.plus_dataskeptic_com.users.groups.plus_free"],ga_measurement_id:"G-CMHTRLQZFR",available_apis:[{server_id:"plus-engine",name:"Plus Engine API",description:"New Plus Engine API for PlusScript execution",url:"https://wt4hgo2ej1.execute-api.us-east-1.amazonaws.com/api/"}]},{domain:"minus.dataskeptic.com",hostname:"plus_dataskeptic_com",app_type:"plus",website_object_id:"plus_dataskeptic_com/[email protected]/website.plus_dataskeptic_com",version:2,oauth2_client_id:"908201091415-cpelh911i9avir4hbuovte4t8s0o6mrt.apps.googleusercontent.com",title:"Data Skeptic-",metadata:{description:"The staging version of Data Skeptic+",keywords:"podcast, data"},secure:!0,origins:["https://minus.dataskeptic.com"],api_url:"https://minus.dataskeptic.com/api/v1",support_email:"[email protected]",prefs:{allow_google_oauth:!0,allow_email_signup:!0,allow_account_creation:!0,allow_password_reset:!0,allow_tutorials:!0,allow_2fa:!0,require_2fa:!1,require_confirmation_code:!0},initial_user_groups:[],ga_measurement_id:"G-2DHBC97SGW",available_apis:[{server_id:"plus-engine",name:"Staging Plus Engine API",description:"New Plus Engine API for PlusScript execution",url:"https://3hb16onry3.execute-api.us-east-1.amazonaws.com/api/"}]},{domain:"minus-dataskeptic-com.herokuapp.com",hostname:"plus_dataskeptic_com",app_type:"plus",oauth2_client_id:"908201091415-cpelh911i9avir4hbuovte4t8s0o6mrt.apps.googleusercontent.com",title:"Data Skeptic-",secure:!0,origins:["https://minus-dataskeptic-com.herokuapp.com"],api_url:"https://minus-dataskeptic-com.herokuapp.com/api/v1",support_email:"[email protected]",prefs:{allow_google_oauth:!0,allow_email_signup:!0,allow_account_creation:!0,allow_password_reset:!0,allow_tutorials:!0,allow_2fa:!0,require_2fa:!1,require_confirmation_code:!1},initial_user_groups:[]},{domain:"radioactivemosquito.com",hostname:"www_radioactivemosquito_com",app_type:"website",website_object_id:"www_radioactivemosquito_com/config",title:"Radioactive Mosquito",secure:!0,origins:["https://radioactivemosquito.com"],api_url:"https://radioactivemosquito.com/api/v1",support_email:"[email protected]",prefs:{allow_google_oauth:!1,allow_email_signup:!0,allow_account_creation:!0,allow_password_reset:!0,allow_tutorials:!1,allow_2fa:!1,require_2fa:!1,require_confirmation_code:!0},ga_measurement_id:"",initial_user_groups:[]},{domain:"www.radioactivemosquito.com",hostname:"www_radioactivemosquito_com",app_type:"website",website_object_id:"www_radioactivemosquito_com/config",title:"Radioactive Mosquito",secure:!0,origins:["https://www.radioactivemosquito.com"],api_url:"https://www.radioactivemosquito.com/api/v1",support_email:"[email protected]",prefs:{allow_google_oauth:!1,allow_email_signup:!0,allow_account_creation:!0,allow_password_reset:!0,allow_tutorials:!1,allow_2fa:!1,require_2fa:!1,require_confirmation_code:!0},ga_measurement_id:"",initial_user_groups:[]},{domain:"login.radioactivemosquito.com",hostname:"login_radioactivemosquito_com",app_type:"radmosq",title:"Radioactive Mosquito",secure:!0,origins:["https://login.radioactivemosquito.com"],api_url:"https://login.radioactivemosquito.com/api/v1",support_email:"[email protected]",prefs:{allow_google_oauth:!1,allow_email_signup:!0,allow_account_creation:!0,allow_password_reset:!0,allow_tutorials:!1,allow_2fa:!1,require_2fa:!1,require_confirmation_code:!0},ga_measurement_id:"",initial_user_groups:[]},{domain:"chicagoska.com",hostname:"www_chicagoska_com",app_type:"redirect",title:"Chicago Ska",secure:!0,origins:["https://chicagoska.com"],api_url:"https://chicagoska.com/api/v1",support_email:"[email protected]",redirect:{status_code:307,destination_url:"https://midwestskafest.org"}},{domain:"www.buenaparkproductions.com",hostname:"www_buenaparkproductions_com",app_type:"website",website_username:"[email protected]",website_object_id:"www_buenaparkproductions_com/config",title:"Buena Park Productions",secure:!0,origins:["https://www.buenaparkproductions.com"],api_url:"https://www.buenaparkproductions.com/api/v1",support_email:"[email protected]",ga_measurement_id:"",initial_user_groups:[]},{domain:"buenaparkproductions.com",hostname:"www_buenaparkproductions_com",app_type:"website",website_object_id:"www_buenaparkproductions_com/config",title:"Buena Park Productions",secure:!0,origins:["https://buenaparkproductions.com"],api_url:"https://buenaparkproductions.com/api/v1",support_email:"[email protected]",ga_measurement_id:"",initial_user_groups:[]}],SK={};var J8,Z8,e7;(J8=void 0)==null||J8.toLowerCase();const TK=(Z8=void 0)!=null?Z8:"/api/v1",xK=(e7=void 0)!=null?e7:"http://localhost:5173",Xh=EK,Nh={domain:"localhost",hostname:"error",app_type:"plus",title:"Ap
261plication",metadata:{description:"Multitenant Web Application",keywords:"Application",stylesheets:[]},secure:!1,origins:[xK],api_url:TK,support_email:"[email protected]",prefs:{allow_google_oauth:!1,allow_email_signup:!1,allow_account_creation:!1,allow_password_reset:!1,allow_tutorials:!1,allow_2fa:!1,require_2fa:!1,require_confirmation_code:!0},ga_measurement_id:void 0,oauth2_client_id:void 0,dashboard_object_id:void 0,presentation_object_id:void 0,website_object_id:void 0,website_username:void 0,store_object_id:void 0,initial_user_groups:[],tooltip_owner:void 0,advertisers_owner:void 0,script_library_owner:void 0,schema_library_owner:void 0,primary_api_object_id:void 0,redirect:void 0,cached_collections:void 0,available_apis:void 0};function hM(t){return!t||t==="localhost"||t.endsWith(".localhost")?!1:!Xh.find(r=>r.domain===t)}function kK(){return typeof window<"u"&&window.__SERVER_CONFIG__?window.__SERVER_CONFIG__:null}function AK(){if(window&&window.location){const t=window.location.hostname,e=kK();if(e&&e.isCustomDomain&&e.website_object_id){const r=window.location.protocol,n=window.location.host;return{...Nh,domain:t,hostname:e.hostname||"plus_dataskeptic_com",app_type:"website",title:t,website_object_id:e.website_object_id,api_url:"".concat(r,"//").concat(n,"/api/v1"),...e.support_email?{support_email:e.support_email}:{},version:2,oauth2_client_id:e.oauth2_client_id||void 0,prefs:{...Nh.prefs,allow_google_oauth:!!e.allow_google_oauth,allow_email_signup:!!e.allow_email_signup,allow_account_creation:!!e.allow_account_creation}}}if(Xh&&Xh.length&&Xh.length>0){const r=Xh.find(n=>n.domain===t);if(r){const n={...Nh,...r};if(r.domain==="localhost"){const i=SK||{};i.REACT_APP_DEV_WEBSITE_OBJECT_ID&&(n.website_object_id=i.REACT_APP_DEV_WEBSITE_OBJECT_ID),i.REACT_APP_DEV_APP_TYPE&&(n.app_type=i.REACT_APP_DEV_APP_TYPE),i.REACT_APP_DEV_TENANT_HOSTNAME&&(n.hostname=i.REACT_APP_DEV_TENANT_HOSTNAME)}return n}}if(hM(t)){const r=window.location.protocol,n=window.location.host;return{...Nh,domain:t,hostname:"custom_domain_pending",app_type:"website",title:t,api_url:"".concat(r,"//").concat(n,"/api/v1")}}}return Nh}const Mo=AK();var xm=(t,e=!0)=>{if(t==null)return"null";if(typeof t=="string")return JSON.stringify(e&&t.startsWith(":")?`:${t}`:t);if(k1.Buffer.isBuffer(t))return JSON.stringify(`:base64:${t.toString("base64")}`);if(t!=null&&t.toJSON&&(t=t.toJSON()),typeof t=="object"){let r="";const n=Array.isArray(t);r=n?"[":"{";let i=!0;for(const s in t){const a=typeof t[s]=="function"||!n&&t[s]===void 0;!Object.hasOwn(t,s)||a||(i||(r+=","),i=!1,n?r+=xm(t[s],e):t[s]!==void 0&&(r+=`${xm(s,!1)}:${xm(t[s],e)}`))}return r+=n?"]":"}",r}return JSON.stringify(t)},t7=t=>xm(t,!0),r7=t=>JSON.parse(t,(e,r)=>typeof r=="string"?r.startsWith(":base64:")?k1.Buffer.from(r.slice(8),"base64"):r.startsWith(":")?r.slice(1):r:r),MK=class{constructor(){dr(this,"_eventListeners");dr(this,"_maxListeners");this._eventListeners=new Map,this._maxListeners=100}maxListeners(){return this._maxListeners}addListener(t,e){this.on(t,e)}on(t,e){this._eventListeners.has(t)||this._eventListeners.set(t,[]);const r=this._eventListeners.get(t);return r&&(r.length>=this._maxListeners&&console.warn(`MaxListenersExceededWarning: Possible event memory leak detected. ${r.length+1} ${t} listeners added. Use setMaxListeners() to increase limit.`),r.push(e)),this}removeListener(t,e){this.off(t,e)}off(t,e){const r=this._eventListeners.get(t)??[],n=r.indexOf(e);n!==-1&&r.splice(n,1),r.length===0&&this._eventListeners.delete(t)}once(t,e){const r=(...n)=>{e(...n),this.off(t,r)};this.on(t,r)}emit(t,...e){const r=this._eventListeners.get(t);if(r&&r.length>0)for(const n of r)n(...e)}listeners(t){return this._eventListeners.get(t)??[]}removeAllListeners(t){t?this._eventListeners.delete(t):this._eventListeners.clear()}setMaxListeners(t){this._maxListeners=t}},N3=MK,CK=class extends N3{constructor(){super();dr(this,"_hookHandlers");this._hookHandlers=new Map}addHandler(e,r){const n=this._hookHandlers.get(e);n?n.push(r):this._hookHandlers.set(e,[r])}removeHandler(e,r){const n=this._hookHandlers.get(e);if(n){const i=n.indexOf(r);i!==-1&&n.splice(i,1)}}trigger(e,r){const n=this._hookHandlers.get(e);if(n)for(const i of n)try{i(r)}
261catch(s){this.emit("error",new Error(`Error in hook handler for event "${e}": ${s.message}`))}}get handlers(){return new Map(this._hookHandlers)}},OK=CK,IK=class extends N3{constructor(e){super();dr(this,"enabled",!0);dr(this,"hits",0);dr(this,"misses",0);dr(this,"sets",0);dr(this,"deletes",0);dr(this,"errors",0);e!==void 0&&(this.enabled=e),this.reset()}hit(){this.enabled&&this.hits++}miss(){this.enabled&&this.misses++}set(){this.enabled&&this.sets++}delete(){this.enabled&&this.deletes++}hitsOrMisses(e){for(const r of e)r===void 0?this.miss():this.hit()}reset(){this.hits=0,this.misses=0,this.sets=0,this.deletes=0,this.errors=0}},RK=IK,n7=["sqlite","postgres","mysql","mongo","redis","valkey","etcd"],FK=class extends N3{constructor(e,r){super();dr(this,"opts");dr(this,"iterator");dr(this,"hooks",new OK);dr(this,"stats",new RK(!1));dr(this,"_ttl");dr(this,"_namespace");dr(this,"_store",new Map);dr(this,"_serialize",t7);dr(this,"_deserialize",r7);dr(this,"_compression");dr(this,"_useKeyPrefix",!0);dr(this,"_throwOnErrors",!1);if(r??(r={}),e??(e={}),this.opts={namespace:"keyv",serialize:t7,deserialize:r7,emitErrors:!0,store:new Map,...r},e&&e.get?this.opts.store=e:this.opts={...this.opts,...e},this._store=this.opts.store??new Map,this._compression=this.opts.compression,this._serialize=this.opts.serialize,this._deserialize=this.opts.deserialize,this.opts.namespace&&(this._namespace=this.opts.namespace),this._store){if(!this._isValidStorageAdapter(this._store))throw new Error("Invalid storage adapter");typeof this._store.on=="function"&&this._store.on("error",n=>
261this.emit("error",n)),this._store.namespace=this._namespace,typeof this._store[Symbol.iterator]=="function"&&this._store instanceof Map?this.iterator=this.generateIterator(this._store):"iterator"in this._store&&this._store.opts&&this._checkIterableAdapter()&&(this.iterator=this.generateIterator(this._store.iterator.bind(this._store)))}this.opts.stats&&(this.stats.enabled=this.opts.stats),this.opts.ttl&&(this._ttl=this.opts.ttl),this.opts.useKeyPrefix!==void 0&&(this._useKeyPrefix=this.opts.useKeyPrefix),this.opts.throwOnErrors!==void 0&&(this._throwOnErrors=this.opts.throwOnErrors)}get store(){return this._store}set store(e){var r;if(this._isValidStorageAdapter(e))this._store=e,this.opts.store=e,typeof e.on=="function"&&e.on("error",n=>this.emit("error",n)),this._namespace&&(this._store.namespace=this._namespace),typeof e[Symbol.iterator]=="function"&&e instanceof Map?this.iterator=this.generateIterator(e):"iterator"in e&&e.opts&&this._checkIterableAdapter()&&(this.iterator=this.generateIterator((r=e.iterator)==null?void 0:r.bind(e)));else throw new Error("Invalid storage adapter")}get compression(){return this._compression}set compression(e){this._compression=e}get namespace(){return this._namespace}set namespace(e){this._namespace=e,this.opts.namespace=e,this._store.namespace=e,this.opts.store&&(this.opts.store.namespace=e)}get ttl(){return this._ttl}set ttl(e){this.opts.ttl=e,this._ttl=e}get serialize(){return this._serialize}set serialize(e){this.opts.serialize=e,this._serialize=e}get deserialize(){return this._deserialize}set deserialize(e){this.opts.deserialize=e,this._deserialize=e}get useKeyPrefix(){return this._useKeyPrefix}set useKeyPrefix(e){this._useKeyPrefix=e,this.opts.useKeyPrefix=e}get throwOnErrors(){return this._throwOnErrors}set throwOnErrors(e){this._throwOnErrors=e,this.opts.throwOnErrors=e}generateIterator(e){return(async function*(){for await(const[n,i]of typeof e=="function"?e(this._store.namespace):e){const s=await this.deserializeData(i);if(!(this._useKeyPrefix&&this._store.namespace&&!n.includes(this._store.namespace))){if(typeof s.expires=="number"&&Date.now()>s.expires){this.delete(n);continue}yield[this._getKeyUnprefix(n),s.value]}}}).bind(this)}_checkIterableAdapter(){return n7.includes(this._store.opts.dialect)||n7.some(e=>this._store.opts.url.includes(e))}_getKeyPrefix(e){return!this._useKeyPrefix||!this._namespace?e:`${this._namespace}:${e}`}_getKeyPrefixArray(e){return!this._useKeyPrefix||!this._namespace?e:e.map(r=>`${this._namespace}:${r}`)}_getKeyUnprefix(e){return this._useKeyPrefix?e.split(":").splice(1).join(":"):e}_isValidStorageAdapter(e){return e instanceof Map||typeof e.get=="function"&&typeof e.set=="function"&&typeof e.delete=="function"&&typeof e.clear=="function"}async get(e,r){const{store:n}=this.opts,i=Array.isArray(e),s=i?this._getKeyPrefixArray(e):this._getKeyPrefix(e),a=p=>typeof p.expires=="number"&&Date.now()>p.expires;if(i)return(r==null?void 0:r.raw)===!0?this.getMany(e,{raw:!0}):this.getMany(e,{raw:!1});this.hooks.trigger("preGet",{key:s});let l;try{l=await n.get(s)}catch(p){if(this.throwOnErrors)throw p}const u=typeof l=="string"||this.opts.compression?await this.deserializeData(l):l;if(u==null){this.hooks.trigger("postGet",{key:s,value:void 0}),this.stats.miss();return}if(a(u)){await this.delete(e),this.hooks.trigger("postGet",{key:s,value:void 0}),this.stats.miss();return}return this.hooks.trigger("postGet",{key:s,value:u}),this.stats.hit(),r!=null&&r.raw?u:u.value}async getMany(e,r){const{store:n}=this.opts,i=this._getKeyPrefixArray(e),s=p=>typeof p.expires=="number"&&Date.now()>p.expires;if(this.hooks.trigger("preGetMany",{keys:i}),n.getMany===void 0){const p=i.map(async _=>{const v=await n.get(_),k=typeof v=="string"||this.opts.compression?await this.deserializeData(v):v;if(k!=null){if(s(k)){await this.delete(_);return}return r!=null&&r.raw?k:k.value}}),g=(await Promise.allSettled(p)).map(_=>_.value);return this.hooks.trigger("postGetMany",g),g.length>0&&this.stats.hit(),g}const a=await n.getMany(i),l=[],u=[];for(const p in a){let d=a[p];if(typeof d=="string"&&(d=await this.deserializeData(d)),d==null){l.push(void 0);continue}if(s(d)){u.push(e[p]),l.push(void 0);continue}const g=r!=null&&r.raw?d:d.value;l.push(g)}return u.length>0&&await this.deleteMany(u),this.hooks.trigger("postGetMany",l),l.length>0&&this.stats.hit(),l}async getRaw(e){const{store:r}=this.opts,n=this._getKeyPrefix(e);this.hooks.trigger("preGetRaw",{key:n});const i=await r.get(n);if(i==null){this.hooks.trigger("postGetRaw",{key:n,value:void 0}),this.stats.miss();return}const s=typeof i=="string"||this.opts.compression?await this.deserializeData(i):i;if(s!==void 0&&s.expires!==void 0&&s.expires!==null&&s.expires<Date.now()){this.hooks.trigger("postGetRaw",{key:n,value:void 0}),this.stats.miss(),await this.delete(e);return}return this.stats.hit(),this.hooks.trigger("postGetRaw",{key:n,value:s}),s}async getManyRaw(e){const{store:r}=this.opts,n=this._getKeyPrefixArray(e);if(e.length===0){const l=Array.from({length:e.length}).fill(void 0);return this.stats.misses+=e.length,this.hooks.trigger("postGetManyRaw",{keys:n,values:l}),l}let i=[];if(r.getMany===void 0){const l=n.map(async p=>{const d=await r.get(p);if(d!=null)return this.deserializeData(d)});i=(await Promise.allSettled(l)).map(p=>p.value)}else{const l=await r.getMany(n);for(const u of l)u!=null?i.push(await this.deserializeData(u)):i.push(void 0)}const s=[],a=l=>typeof l.expires=="number"&&Date.now()>l.expires;for(const[l,u]of i.entries())u!==void 0&&a(u)&&(s.push(n[l]),i[l]=void 0);return s.length>0&&await this.deleteMany(s),this.stats.hitsOrMisses(i),this.hooks.trigger("postGetManyRaw",{keys:n,values:i}),i}async set(e,r,n){const i={key:e,value:r,ttl:n};this.hooks.trigger("preSet",i);const s=this._getKeyPrefix(i.key);i.ttl??(i.ttl=this._ttl),i.ttl===0&&(i.ttl=void 0);const{store:a}=this.opts,l=typeof i.ttl=="number"?Date.now()+i.ttl:void 0;
261if(typeof i.value=="symbol")throw this.emit("error","symbol cannot be serialized"),new Error("symbol cannot be serialized");const u={value:i.value,expires:l},p=await this.serializeData(u);let d=!0;try{const g=await a.set(s,p,i.ttl);typeof g=="boolean"&&(d=g)}catch(g){if(d=!1,this.emit("error",g),this._throwOnErrors)throw g}return this.hooks.trigger("postSet",{key:s,value:p,ttl:n}),this.stats.set(),d}async setMany(e){let r=[];try{if(this._store.setMany===void 0){const n=[];for(const s of e)n.push(this.set(s.key,s.value,s.ttl));r=await Promise.all(n)}else{const n=await Promise.all(e.map(async({key:i,value:s,ttl:a})=>{a??(a=this._ttl),a===0&&(a=void 0);const l=typeof a=="number"?Date.now()+a:void 0;if(typeof s=="symbol")throw this.emit("error","symbol cannot be serialized"),new Error("symbol cannot be serialized");const u={value:s,expires:l},p=await this.serializeData(u);return{key:this._getKeyPrefix(i),value:p,ttl:a}}));r=await this._store.setMany(n)}}catch(n){if(this.emit("error",n),this._throwOnErrors)throw n;r=e.map(()=>!1)}return r}async delete(e){const{store:r}=this.opts;if(Array.isArray(e))return this.deleteMany(e);const n=this._getKeyPrefix(e);this.hooks.trigger("preDelete",{key:n});let i=!0;try{const s=await r.delete(n);typeof s=="boolean"&&(i=s)}catch(s){if(i=!1,this.emit("error",s),this._throwOnErrors)throw s}return this.hooks.trigger("postDelete",{key:n,value:i}),this.stats.delete(),i}async deleteMany(e){try{const{store:r}=this.opts,n=this._getKeyPrefixArray(e);if(this.hooks.trigger("preDelete",{key:n}),r.deleteMany!==void 0)return await r.deleteMany(n);const i=n.map(async l=>r.delete(l)),a=(await Promise.all(i)).every(Boolean);return this.hooks.trigger("postDelete",{key:n,value:a}),a}catch(r){if(this.emit("error",r),this._throwOnErrors)throw r;return!1}}async clear(){this.emit("clear");const{store:e}=this.opts;try{await e.clear()}catch(r){if(this.emit("error",r),this._throwOnErrors)throw r}}async has(e){if(Array.isArray(e))return this.hasMany(e);const r=this._getKeyPrefix(e),{store:n}=this.opts;if(n.has!==void 0&&!(n instanceof Map))return n.has(r);let i;try{i=await n.get(r)}catch(s){if(this.emit("error",s),this._throwOnErrors)throw s;return!1}if(i){const s=await this.deserializeData(i);if(s)return s.expires===void 0||s.expires===null?!0:s.expires>Date.now()}return!1}async hasMany(e){const r=this._getKeyPrefixArray(e),{store:n}=this.opts;if(n.hasMany!==void 0)return n.hasMany(r);const i=[];for(const s of e)i.push(await this.has(s));return i}async disconnect(){const{store:e}=this.opts;if(this.emit("disconnect"),typeof e.disconnect=="function")return e.disconnect()}emit(e,...r){e==="error"&&!this.opts.emitErrors||super.emit(e,...r)}async serializeData(e){var r;return this._serialize?(r=this._compression)!=null&&r.compress?this._serialize({value:await this._compression.compress(e.value),expires:e.expires}):this._serialize(e):e}async deserializeData(e){var r;if(!this._deserialize)return e;if((r=this._compression)!=null&&r.decompress&&typeof e=="string"){const n=await this._deserialize(e);return{value:await this._compression.decompress(n==null?void 0:n.value),expires:n==null?void 0:n.expires}}if(typeof e=="string")return this._deserialize(e)}},DK=FK;/* v8 ignore next -- @preserve */var i7;const fM=((i7=void 0)==null?void 0:i7.toLowerCase())==="true";fM&&console.log("Creating a new Keyv cache...");const dM=new DK({namespace:"cache"}),pM=$.createContext({cache:dM});function mM(){return $.useContext(pM)}function NK({children:t}){return fM&&console.log("Creating GlobalCacheProvider..."),Re.jsx(pM.Provider,{value:{cache:dM},children:t})}var s7,a7,o7,l7;const u7=((s7=void 0)==null?void 0:s7.toLowerCase())==="true",PK=(a7=void 0)!=null?a7:"/api/v1",i2=(l7=(o7=Mo)==null?void 0:o7.api_url)!=null?l7:PK;class ur extends Error{constructor(e,r,n){super(r),this.status=500,this.name="ServerError",this.status=e,this.data=n,Object.setPrototypeOf(this,ur.prototype)}}async function LK(t,e){var r;t===void 0&&console.error("Undefined endpoint");const n=new URL("".concat(i2).concat(t));if(e.params){const l=new URLSearchParams;
261Object.entries(e.params).forEach(([u,p])=>{Array.isArray(p)?p.forEach(d=>l.append(u,d.toString())):p!=null&&l.append(u,p.toString())}),n.search=l.toString()}const i=await fetch(n,{method:e.method,credentials:"include",cache:"no-store",mode:"cors",headers:Object.assign(e.token?{"Content-Type":"application/json",Authorization:"Bearer "+e.token}:{"Content-Type":"application/json"},e.headers),body:e.body instanceof Blob||e.body instanceof ArrayBuffer||e.body instanceof FormData||e.body instanceof ReadableStream?e.body:JSON.stringify(e.body),signal:e.signal}),s=(r=i.headers.get("Content-Type"))!=null?r:"";if(s.indexOf("application/json")==-1)throw new ur(500,"API returned wrong content type: ".concat(s,", ").concat(n));if(!i.ok){const l=await i.json();throw l.error?new ur(i.status,l.error,l):new ur(i.status,i.statusText,l)}return await i.json()}async function es(t,e){var r;u7&&console.log("Requesting JSON API ".concat(i2).concat(t," with payload")),u7&&console.log(e);const n=await fetch("".concat(i2).concat(t),{method:"POST",credentials:"include",mode:"cors",headers:e&&e.token?{"Content-Type":"application/json",Authorization:"Bearer "+e.token}:{"Content-Type":"application/json"},body:JSON.stringify(e)}),i=(r=n.headers.get("Content-Type"))!=null?r:"";if(i.indexOf("application/json")==-1)throw new ur(500,"API returned wrong content type: ".concat(i));if(!n.ok){const a=await n.json();throw a.error?new ur(n.status,a.error):new ur(n.status,n.statusText)}const s=await n.json();if(!s.result)throw new ur(500,"API returned no result");return s.result}const Dc={fetchApi:LK,fetchJsonApi:es};var c7,h7,f7,d7;const _a=((c7=void 0)==null?void 0:c7.toLowerCase())==="true",BK=(h7=void 0)!=null?h7:"/api/v1";(d7=(f7=Mo)==null?void 0:f7.api_url)!=null;function Y1(){const{token:t,isRefreshing:e,refresh:r}=aa(),n=$.useRef(null);return{fetchApi:async(u,p)=>Dc.fetchApi(u,p),fetchJsonApi:async(u,p)=>Dc.fetchJsonApi(u,p),fetchSecureApi:async(u,p)=>{try{return await Dc.fetchApi(u,{...p,token:t})}catch(d){if(_l)return new Promise(()=>{});if((d instanceof ur?d.status:400)===401){_a&&console.log("fetchSecureApi: Status 401 received"),!e||!n.current?(_a&&console.log("fetchSecureApi: Initiating refresh"),_a&&console.log({isRefreshing:e,globalRefreshPromise:n}),n.current=r()):_a&&console.log("fetchSecureApi: Waiting for refresh in progress");const{token:_}=await n.current;return _a&&console.log("fetchSecureApi: Second try"),Dc.fetchApi(u,{...p,token:_})}throw d}},fetchSecureJsonApi:async(u,p)=>{_a&&console.log("fetchSecureJsonApi: Starting");try{return await Dc.fetchJsonApi(u,{...p,token:t})}catch(d){if(_l)return new Promise(()=>{});if((d instanceof ur?d.status:400)===401){_a&&console.log("fetchSecureJsonApi: Status 401 received"),!e||!n.current?(_a&&console.log("fetchSecureJsonApi: Initiating refresh"),n.current=r()):_a&&console.log("fetchSecureJsonApi: Waiting for refresh in progress");const{token:_}=await n.current;return _a&&console.log("fetchSecureJsonApi: Second try"),Dc.fetchJsonApi(u,{...p,token:_})}throw d}}}}var c={};(function(t){var e=typeof Object.defineProperties=="function"?Object.defineProperty:function(f,m,w){f!=Array.prototype&&f!=Object.prototype&&(f[m]=w.value)},r=(typeof window<"u"&&window===Kn||typeof Kn<"u"&&Kn!=null,Kn);function n(f,m){if(m){var w=r;f=f.split(".");for(var x=0;x<f.length-1;x++){var D=f[x];D in w||(w[D]={}),w=w[D]}f=f[f.length-1],x=w[f],m=m(x),m!=x&&m!=null&&e(w,f,{configurable:!0,writable:!0,value:m})}}function i(f){var m=0;return function(){return m<f.length?{done:!1,value:f[m++]}:{done:!0}}}function s(){s=function(){},r.Symbol||(r.Symbol=l)}function a(f,m){this.a=f,e(this,"description",{configurable:!0,writable:!0,value:m})}a.prototype.toString=function(){return this.a};var l=function(){function f(w){if(this instanceof f)throw new TypeError("Symbol is not a constructor");return new a("jscomp_symbol_"+(w||"")+"_"+m++,w)}var m=0;return f}();function u(){s();var f=r.Symbol.iterator;f||(f=r.Symbol.iterator=r.Symbol("Symbol.iterator")),typeof Array.prototype[f]!="function"&&e(Array.prototype,f,{configurable:!0,writable:!0,value:function(){return p(i(this))}}),u=function(){}}function p(f){return u(),f={next:f},f[r.Symbol.iterator]=function(){return this},f}function d(f,m){u(),f instanceof String&&(f+="");var w=0,x={next:function(){if(w<f.length){var D=w++;return{value:m(D,f[D]),done:!1}}return x.next=function(){return{done:!0,value:void 0}},x.next()}};return x[Symbol.iterator]=function(){return x},x}n("Array.prototype.entries",function(f){return f||function(){return d(this,function(m,w){return[m,w]})}});var g=Kn||self;function _(f,m,w){f=f.split("."),w=w||g,f[0]in w||typeof w.execScript>"u"||w.execScript("var "+f[0]);for(var x;f.length&&(x=f.shift());)f.length||m===void 0?w[x]&&w[x]!==Object.prototype[x]?w=w[x]:w=w[x]={}:w[x]=m}function v(f){var m=typeof f;if(m=="object")if(f){if(f instanceof Array)return"array";if(f instanceof Object)return m;var w=Object.prototype.toString.call(f);if(w=="[object Window]")return"object";if(w=="[object Array]"||typeof f.length=="number"&&typeof f.splice<"u"&&typeof f.propertyIsEnumerable<"u"&&!f.propertyIsEnumerable("splice"))return"array";if(w=="[object Function]"||typeof f.call<"u"&&typeof f.propertyIsEnumerable<"u"&&!f.propertyIsEnumerable("call"))return"function"}else return"null";else if(m=="function"&&typeof f.call>"u")return"object";return m}function k(f){var m=typeof f;return m=="object"&&f!=null||m=="function"}
261function O(f,m,w){_(f,m,w)}function N(f,m){function w(){}w.prototype=m.prototype,f.prototype=new w,f.prototype.constructor=f}var S="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function M(f,m){for(var w,x,D=1;D<arguments.length;D++){x=arguments[D];for(w in x)f[w]=x[w];for(var ne=0;ne<S.length;ne++)w=S[ne],Object.prototype.hasOwnProperty.call(x,w)&&(f[w]=x[w])}}var F=Array.prototype.forEach?function(f,m){Array.prototype.forEach.call(f,m,void 0)}:function(f,m){for(var w=f.length,x=typeof f=="string"?f.split(""):f,D=0;D<w;D++)D in x&&m.call(void 0,x[D],D,f)},G=Array.prototype.map?function(f,m){return Array.prototype.map.call(f,m,void 0)}:function(f,m){for(var w=f.length,x=Array(w),D=typeof f=="string"?f.split(""):f,ne=0;ne<w;ne++)ne in D&&(x[ne]=m.call(void 0,D[ne],ne,f));return x};function X(f,m,w){return 2>=arguments.length?Array.prototype.slice.call(f,m):Array.prototype.slice.call(f,m,w)}function z(f,m,w,x){var D="Assertion failed";if(w){D+=": "+w;var ne=x}else f&&(D+=": "+f,ne=m);throw Error(D,ne||[])}function R(f,m,w){for(var x=[],D=2;D<arguments.length;++D)x[D-2]=arguments[D];return f||z("",null,m,x),f}function H(f,m,w){for(var x=[],D=2;D<arguments.length;++D)x[D-2]=arguments[D];typeof f!="string"&&z("Expected string but got %s: %s.",[v(f),f],m,x)}function re(f,m,w){for(var x=[],D=2;D<arguments.length;++D)x[D-2]=arguments[D];Array.isArray(f)||z("Expected array but got %s: %s.",[v(f),f],m,x)}function ie(f,m){for(var w=[],x=1;x<arguments.length;++x)w[x-1]=arguments[x];throw Error("Failure"+(f?": "+f:""),w)}function q(f,m,w,x){for(var D=[],ne=3;ne<arguments.length;++ne)D[ne-3]=arguments[ne];f instanceof m||z("Expected instanceof %s but got %s.",[Y(m),Y(f)],w,D)}function Y(f){return f instanceof Function?f.displayName||f.name||"unknown type name":f instanceof Object?f.constructor.displayName||f.constructor.name||Object.prototype.toString.call(f):f===null?"null":typeof f}function Q(f,m){if(this.c=f,this.b=m,this.a={},this.arrClean=!0,0<this.c.length){for(f=0;f<this.c.length;f++){m=this.c[f];var w=m[0];this.a[w.toString()]=new ve(w,m[1])}this.arrClean=!0}}_("jspb.Map",Q,void 0),Q.prototype.g=function(){if(this.arrClean){if(this.b){var f=this.a,m;for(m in f)if(Object.prototype.hasOwnProperty.call(f,m)){var w=f[m].a;w&&w.g()}}}else{for(this.c.length=0,f=Te(this),f.sort(),m=0;m<f.length;m++){var x=this.a[f[m]];(w=x.a)&&w.g(),this.c.push([x.key,x.value])}this.arrClean=!0}return this.c},Q.prototype.toArray=Q.prototype.g,Q.prototype.Mc=function(f,m){for(var w=this.g(),x=[],D=0;D<w.length;D++){var ne=this.a[w[D][0].toString()];pe(this,ne);var Ee=ne.a;Ee?(R(m),x.push([ne.key,m(f,Ee)])):x.push([ne.key,ne.value])}return x},Q.prototype.toObject=Q.prototype.Mc,Q.fromObject=function(f,m,w){m=new Q([],m);for(var x=0;x<f.length;x++){var D=f[x][0],ne=w(f[x][1]);m.set(D,ne)}return m};function fe(f){this.a=0,this.b=f}fe.prototype.next=function(){return this.a<this.b.length?{done:!1,value:this.b[this.a++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(fe.prototype[Symbol.iterator]=function(){return this}),Q.prototype.Jb=function(){return Te(this).length},Q.prototype.getLength=Q.prototype.Jb,Q.prototype.clear=function(){this.a={},this.arrClean=!1},Q.prototype.clear=Q.prototype.clear,Q.prototype.Cb=function(f){f=f.toString();var m=this.a.hasOwnProperty(f);return delete this.a[f],this.arrClean=!1,m},Q.prototype.del=Q.prototype.Cb,Q.prototype.Eb=function(){var f=[],m=Te(this);m.sort();for(var w=0;w<m.length;w++){var x=this.a[m[w]];f.push([x.key,x.value])}return f},Q.prototype.getEntryList=Q.prototype.Eb,Q.prototype.entries=function(){var f=[],m=Te(this);m.sort();for(var w=0;w<m.length;w++){var x=this.a[m[w]];f.push([x.key,pe(this,x)])}return new fe(f)},Q.prototype.entries=Q.prototype.entries,Q.prototype.keys=function(){var f=[],m=Te(this);m.sort();for(var w=0;w<m.length;w++)f.push(this.a[m[w]].key);return new fe(f)},Q.prototype.keys=Q.prototype.keys,Q.prototype.values=function(){var f=[],m=Te(this);m.sort();for(var w=0;w<m.length;w++)f.push(pe(this,this.a[m[w]]));return new fe(f)},Q.prototype.values=Q.prototype.values,Q.prototype.forEach=function(f,m){var w=Te
261(this);w.sort();for(var x=0;x<w.length;x++){var D=this.a[w[x]];f.call(m,pe(this,D),D.key,this)}},Q.prototype.forEach=Q.prototype.forEach,Q.prototype.set=function(f,m){var w=new ve(f);return this.b?(w.a=m,w.value=m.g()):w.value=m,this.a[f.toString()]=w,this.arrClean=!1,this},Q.prototype.set=Q.prototype.set;function pe(f,m){return f.b?(m.a||(m.a=new f.b(m.value)),m.a):m.value}Q.prototype.get=function(f){if(f=this.a[f.toString()])return pe(this,f)},Q.prototype.get=Q.prototype.get,Q.prototype.has=function(f){return f.toString()in this.a},Q.prototype.has=Q.prototype.has,Q.prototype.Jc=function(f,m,w,x,D){var ne=Te(this);ne.sort();for(var Ee=0;Ee<ne.length;Ee++){var et=this.a[ne[Ee]];m.Va(f),w.call(m,1,et.key),this.b?x.call(m,2,pe(this,et),D):x.call(m,2,et.value),m.Ya()}},Q.prototype.serializeBinary=Q.prototype.Jc,Q.deserializeBinary=function(f,m,w,x,D,ne,Ee){for(;m.oa()&&!m.bb();){var et=m.c;et==1?ne=w.call(m):et==2&&(f.b?(R(D),Ee||(Ee=new f.b),x.call(m,Ee,D)):Ee=x.call(m))}R(ne!=null),R(Ee!=null),f.set(ne,Ee)};function Te(f){f=f.a;var m=[],w;for(w in f)Object.prototype.hasOwnProperty.call(f,w)&&m.push(w);return m}function ve(f,m){this.key=f,this.value=m,this.a=void 0}function xe(f){if(8192>=f.length)return String.fromCharCode.apply(null,f);for(var m="",w=0;w<f.length;w+=8192)m+=String.fromCharCode.apply(null,X(f,w,w+8192));return m}var Ye={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},B={"'":"\\'"},Ce={},Pe=null;function le(f,m){m===void 0&&(m=0),At(),m=Ce[m];for(var w=[],x=0;x<f.length;x+=3){var D=f[x],ne=x+1<f.length,Ee=ne?f[x+1]:0,et=x+2<f.length,Qt=et?f[x+2]:0,cn=D>>2;D=(D&3)<<4|Ee>>4,Ee=(Ee&15)<<2|Qt>>6,Qt&=63,et||(Qt=64,ne||(Ee=64)),w.push(m[cn],m[D],m[Ee]||"",m[Qt]||"")}return w.join("")}function Lt(f){var m=f.length,w=3*m/4;w%3?w=Math.floor(w):"=.".indexOf(f[m-1])!=-1&&(w="=.".indexOf(f[m-2])!=-1?w-2:w-1);var x=new Uint8Array(w),D=0;return Ht(f,function(ne){x[D++]=ne}),x.subarray(0,D)}function Ht(f,m){function w(Qt){for(;x<f.length;){var cn=f.charAt(x++),ca=Pe[cn];if(ca!=null)return ca;if(!/^[\s\xa0]*$/.test(cn))throw Error("Unknown base64 encoding at char: "+cn)}return Qt}At();for(var x=0;;){var D=w(-1),ne=w(0),Ee=w(64),et=w(64);if(et===64&&D===-1)break;m(D<<2|ne>>4),Ee!=64&&(m(ne<<4&240|Ee>>2),et!=64&&m(Ee<<6&192|et))}}function At(){if(!Pe){Pe={};for(var f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),m=["+/=","+/","-_=","-_.","-_"],w=0;5>w;w++){var x=f.concat(m[w].split(""));Ce[w]=x;for(var D=0;D<x.length;D++){var ne=x[D];Pe[ne]===void 0&&(Pe[ne]=D)}}}}_("jspb.ConstBinaryMessage",function(){},void 0),_("jspb.BinaryMessage",function(){},void 0),_("jspb.BinaryConstants.FieldType",{yb:-1,ee:1,FLOAT:2,ke:3,te:4,je:5,xb:6,wb:7,BOOL:8,re:9,ie:10,le:11,ce:12,se:13,ge:14,me:15,ne:16,oe:17,pe:18,he:30,ve:31},void 0),_("jspb.BinaryConstants.WireType",{yb:-1,ue:0,xb:1,de:2,qe:3,fe:4,wb:5},void 0),_("jspb.BinaryConstants.FieldTypeToWireType",function(f){switch(f){case 5:case 3:case 13:case 4:case 17:case 18:case 8:case 14:case 31:return 0;case 1:case 6:case 16:case 30:return 1;case 9:case 11:case 12:return 2;case 2:case 7:case 15:return 5;default:return-1}},void 0),_("jspb.BinaryConstants.INVALID_FIELD_NUMBER",-1,void 0),_("jspb.BinaryConstants.FLOAT32_EPS",1401298464324817e-60,void 0),_("jspb.BinaryConstants.FLOAT32_MIN",11754943508222875e-54,void 0),_("jspb.BinaryConstants.FLOAT32_MAX",34028234663852886e22,void 0),_("jspb.BinaryConstants.FLOAT64_EPS",5e-324,void 0),_("jspb.BinaryConstants.FLOAT64_MIN",22250738585072014e-324,void 0),_("jspb.BinaryConstants.FLOAT64_MAX",17976931348623157e292,void 0),_("jspb.BinaryConstants.TWO_TO_20",1048576,void 0),_("jspb.BinaryConstants.TWO_TO_23",8388608,void 0),_("jspb.BinaryConstants.TWO_TO_31",2147483648,void 0),_("jspb.BinaryConstants.TWO_TO_32",4294967296,void 0),_("jspb.BinaryConstants.TWO_TO_52",4503599627370496,void 0),_("jspb.BinaryConstants.TWO_TO_63",9223372036854776e3,void 0),_("jspb.BinaryConstants.TWO_TO_64",18446744073709552e3,void 0),_("jspb.BinaryConstants.ZERO_HASH","\0\0\0\0\0\0\0\0",void 0);var Ke=0,Ve=0;_("jspb.utils.getSplit64Low",function(){return Ke},void 0),_("jspb.utils.getSplit64High",function(){return Ve},void 0);function wt(f){var m=f>>>0;f=Math.floor((f-m)/4294967296)>>>0,Ke=m,Ve=f}_("jspb.utils.splitUint64",wt,void 0);function Dt(f){var m=0>f;f=Math.abs(f);var w=f>>>0;f=Math.floor((f-w)/4294967296),f>>>=0,m&&(f=~f>>>0,w=(~w>>>0)+1,4294967295<w&&(w=0,f++,4294967295<f&&(f=0))),Ke=w,Ve=f}_("jspb.utils.splitInt64",Dt,void 0);function Fe(f){var m=0>f;f=2*Math.abs(f),wt(f),f=Ke;var w=Ve;m&&(f==0?w==0?w=f=4294967295:(w--,f=4294967295):f--),Ke=f,Ve=w}_("jspb.utils.splitZigzag64",Fe,void 0);function Ne(f){var m=0>f?1:0;if(f=m?-f:f,f===0)0<1/f?Ke=Ve=0:(Ve=0,Ke=2147483648);else if(isNaN(f))Ve=0,Ke=2147483647;else if(34028234663852886e22<f)Ve=0,Ke=(m<<31|2139095040)>>>0;else if(11754943508222875e-54>f)f=Math.round(f/Math.pow(2,-149)),Ve=0,Ke=(m<<31|f)>>>0;else{var w=Math.floor(Math.log(f)/Math.LN2);
261f*=Math.pow(2,-w),f=Math.round(8388608*f),16777216<=f&&++w,Ve=0,Ke=(m<<31|w+127<<23|f&8388607)>>>0}}_("jspb.utils.splitFloat32",Ne,void 0);function K(f){var m=0>f?1:0;if(f=m?-f:f,f===0)Ve=0<1/f?0:2147483648,Ke=0;else if(isNaN(f))Ve=2147483647,Ke=4294967295;else if(17976931348623157e292<f)Ve=(m<<31|2146435072)>>>0,Ke=0;else if(22250738585072014e-324>f)f/=Math.pow(2,-1074),Ve=(m<<31|f/4294967296)>>>0,Ke=f>>>0;else{var w=f,x=0;if(2<=w)for(;2<=w&&1023>x;)x++,w/=2;else for(;1>w&&-1022<x;)w*=2,x--;f*=Math.pow(2,-x),Ve=(m<<31|x+1023<<20|1048576*f&1048575)>>>0,Ke=4503599627370496*f>>>0}}_("jspb.utils.splitFloat64",K,void 0);function ee(f){var m=f.charCodeAt(4),w=f.charCodeAt(5),x=f.charCodeAt(6),D=f.charCodeAt(7);Ke=f.charCodeAt(0)+(f.charCodeAt(1)<<8)+(f.charCodeAt(2)<<16)+(f.charCodeAt(3)<<24)>>>0,Ve=m+(w<<8)+(x<<16)+(D<<24)>>>0}_("jspb.utils.splitHash64",ee,void 0);function oe(f,m){return 4294967296*m+(f>>>0)}_("jspb.utils.joinUint64",oe,void 0);function ge(f,m){var w=m&2147483648;return w&&(f=~f+1>>>0,m=~m>>>0,f==0&&(m=m+1>>>0)),f=oe(f,m),w?-f:f}_("jspb.utils.joinInt64",ge,void 0);function Oe(f,m,w){var x=m>>31;return w(f<<1^x,(m<<1|f>>>31)^x)}_("jspb.utils.toZigzag64",Oe,void 0);function U(f,m){return C(f,m,ge)}_("jspb.utils.joinZigzag64",U,void 0);function C(f,m,w){var x=-(f&1);return w((f>>>1|m<<31)^x,m>>>1^x)}_("jspb.utils.fromZigzag64",C,void 0);function I(f){var m=2*(f>>31)+1,w=f>>>23&255;return f&=8388607,w==255?f?NaN:1/0*m:w==0?m*Math.pow(2,-149)*f:m*Math.pow(2,w-150)*(f+Math.pow(2,23))}_("jspb.utils.joinFloat32",I,void 0);function te(f,m){var w=2*(m>>31)+1,x=m>>>20&2047;return f=4294967296*(m&1048575)+f,x==2047?f?NaN:1/0*w:x==0?w*Math.pow(2,-1074)*f:w*Math.pow(2,x-1075)*(f+4503599627370496)}_("jspb.utils.joinFloat64",te,void 0);function be(f,m){return String.fromCharCode(f>>>0&255,f>>>8&255,f>>>16&255,f>>>24&255,m>>>0&255,m>>>8&255,m>>>16&255,m>>>24&255)}_("jspb.utils.joinHash64",be,void 0),_("jspb.utils.DIGITS","0123456789abcdef".split(""),void 0);function Le(f,m){function w(D,ne){return D=D?String(D):"",ne?"0000000".slice(D.length)+D:D}if(2097151>=m)return""+oe(f,m);var x=(f>>>24|m<<8)>>>0&16777215;return m=m>>16&65535,f=(f&16777215)+6777216*x+6710656*m,x+=8147497*m,m*=2,1e7<=f&&(x+=Math.floor(f/1e7),f%=1e7),1e7<=x&&(m+=Math.floor(x/1e7),x%=1e7),w(m,0)+w(x,m)+w(f,1)}_("jspb.utils.joinUnsignedDecimalString",Le,void 0);function ze(f,m){var w=m&2147483648;return w&&(f=~f+1>>>0,m=~m+(f==0?1:0)>>>0),f=Le(f,m),w?"-"+f:f}_("jspb.utils.joinSignedDecimalString",ze,void 0);function Ft(f,m){ee(f),f=Ke;var w=Ve;return m?ze(f,w):Le(f,w)}_("jspb.utils.hash64ToDecimalString",Ft,void 0),_("jspb.utils.hash64ArrayToDecimalStrings",function(f,m){for(var w=Array(f.length),x=0;x<f.length;x++)w[x]=Ft(f[x],m);return w},void 0);function Yt(f){function m(Ee,et){for(var Qt=0;8>Qt&&(Ee!==1||0<et);Qt++)et=Ee*D[Qt]+et,D[Qt]=et&255,et>>>=8}function w(){for(var Ee=0;8>Ee;Ee++)D[Ee]=~D[Ee]&255}R(0<f.length);var x=!1;f[0]==="-"&&(x=!0,f=f.slice(1));for(var D=[0,0,0,0,0,0,0,0],ne=0;ne<f.length;ne++)m(10,f.charCodeAt(ne)-48);return x&&(w(),m(1,1)),xe(D)}_("jspb.utils.decimalStringToHash64",Yt,void 0),_("jspb.utils.splitDecimalString",function(f){ee(Yt(f))},void 0);function Ae(f){return String.fromCharCode(10>f?48+f:87+f)}function We(f){return 97<=f?f-97+10:f-48}_("jspb.utils.hash64ToHexString",function(f){var m=Array(18);m[0]="0",m[1]="x";for(var w=0;8>w;w++){var x=f.charCodeAt(7-w);m[2*w+2]=Ae(x>>4),m[2*w+3]=Ae(x&15)}return m.join("")},void 0),_("jspb.utils.hexStringToHash64",function(f){f=f.toLowerCase(),R(f.length==18),R(f[0]=="0"),R(f[1]=="x");for(var m="",w=0;8>w;w++)m=String.fromCharCode(16*We(f.charCodeAt(2*w+2))+We(f.charCodeAt(2*w+3)))+m;return m},void 0),_("jspb.utils.hash64ToNumber",function(f,m){ee(f),f=Ke;var w=Ve;return m?ge(f,w):oe(f,w)},void 0),_("jspb.utils.numberToHash64",function(f){return Dt(f),be(Ke,Ve)},void 0),_("jspb.utils.countVarints",function(f,m,w){for(var x=0,D=m;D<w;D++)x+=f[D]>>7;return w-m-x},void 0),_("jspb.utils.countVarintFields",function(f,m,w,x){var D=0;if(x*=8,128>x)for(;m<w&&f[m++]==x;)for(D++;;){var ne=f[m++];if(!(ne&128))break}else for(;m<w;){for(ne=x;128<ne;){if(f[m]!=(ne&127|128))return D;m++,ne>>=7}if(f[m++]!=ne)break;for(D++;ne=f[m++],(ne&128)!=0;);}return D},void 0);function ht(f,m,w,x,D){var ne=0;if(128>x)for(;m<w&&f[m++]==x;)ne++,m+=D;else for(;m<w;){for(var Ee=x;128<Ee;){if(f[m++]!=(Ee&127|128))return ne;Ee>>=7}if(f[m++]!=Ee)break;ne++,m+=D}return ne}_("jspb.utils.countFixed32Fields",function(f,m,w,x){return ht(f,m,w,8*x+5,4)},void 0),_("jspb.utils.countFixed64Fields",function(f,m,w,x){return ht(f,m,w,8*x+1,8)},void 0),_("jspb.utils.countDelimitedFields",function(f,m,w,x){var D=0;for(x=8*x+2;m<w;){for(var ne=x;128<ne;){if(f[m++]!=(ne&127|128))return D;
261ne>>=7}if(f[m++]!=ne)break;D++;for(var Ee=0,et=1;ne=f[m++],Ee+=(ne&127)*et,et*=128,(ne&128)!=0;);m+=Ee}return D},void 0),_("jspb.utils.debugBytesToTextFormat",function(f){var m='"';if(f){f=Bt(f);for(var w=0;w<f.length;w++)m+="\\x",16>f[w]&&(m+="0"),m+=f[w].toString(16)}return m+'"'},void 0),_("jspb.utils.debugScalarToTextFormat",function(f){if(typeof f=="string"){f=String(f);for(var m=['"'],w=0;w<f.length;w++){var x=f.charAt(w),D=x.charCodeAt(0),ne=w+1,Ee;(Ee=Ye[x])||(31<D&&127>D||(D=x,D in B?x=B[D]:D in Ye?x=B[D]=Ye[D]:(Ee=D.charCodeAt(0),31<Ee&&127>Ee?x=D:(256>Ee?(x="\\x",(16>Ee||256<Ee)&&(x+="0")):(x="\\u",4096>Ee&&(x+="0")),x+=Ee.toString(16).toUpperCase()),x=B[D]=x)),Ee=x),m[ne]=Ee}m.push('"'),f=m.join("")}else f=f.toString();return f},void 0),_("jspb.utils.stringToByteArray",function(f){for(var m=new Uint8Array(f.length),w=0;w<f.length;w++){var x=f.charCodeAt(w);if(255<x)throw Error("Conversion error: string contains codepoint outside of byte range");m[w]=x}return m},void 0);function Bt(f){return f.constructor===Uint8Array?f:f.constructor===ArrayBuffer?new Uint8Array(f):f.constructor===Array?new Uint8Array(f):f.constructor===String?Lt(f):f instanceof Uint8Array?new Uint8Array(f.buffer,f.byteOffset,f.byteLength):(ie("Type not convertible to Uint8Array."),new Uint8Array(0))}_("jspb.utils.byteSourceToUint8Array",Bt,void 0);function ye(f,m,w){this.b=null,this.a=this.c=this.h=0,this.v=!1,f&&this.H(f,m,w)}_("jspb.BinaryDecoder",ye,void 0);var kr=[];ye.getInstanceCacheLength=function(){return kr.length};function vn(f,m,w){if(kr.length){var x=kr.pop();return f&&x.H(f,m,w),x}return new ye(f,m,w)}ye.alloc=vn,ye.prototype.Ca=function(){this.clear(),100>kr.length&&kr.push(this)},ye.prototype.free=ye.prototype.Ca,ye.prototype.clone=function(){return vn(this.b,this.h,this.c-this.h)},ye.prototype.clone=ye.prototype.clone,ye.prototype.clear=function(){this.b=null,this.a=this.c=this.h=0,this.v=!1},ye.prototype.clear=ye.prototype.clear,ye.prototype.Y=function(){return this.b},ye.prototype.getBuffer=ye.prototype.Y,ye.prototype.H=function(f,m,w){this.b=Bt(f),this.h=m!==void 0?m:0,this.c=w!==void 0?this.h+w:this.b.length,this.a=this.h},ye.prototype.setBlock=ye.prototype.H,ye.prototype.Db=function(){return this.c},ye.prototype.getEnd=ye.prototype.Db,ye.prototype.setEnd=function(f){this.c=f},ye.prototype.setEnd=ye.prototype.setEnd,ye.prototype.reset=function(){this.a=this.h},ye.prototype.reset=ye.prototype.reset,ye.prototype.B=function(){return this.a},ye.prototype.getCursor=ye.prototype.B,ye.prototype.Ma=function(f){this.a=f},ye.prototype.setCursor=ye.prototype.Ma,ye.prototype.advance=function(f){this.a+=f,R(this.a<=this.c)},ye.prototype.advance=ye.prototype.advance,ye.prototype.ya=function(){return this.a==this.c},ye.prototype.atEnd=ye.prototype.ya,ye.prototype.Qb=function(){return this.a>this.c},ye.prototype.pastEnd=ye.prototype.Qb,ye.prototype.getError=function(){return this.v||0>this.a||this.a>this.c},ye.prototype.getError=ye.prototype.getError,ye.prototype.w=function(f){for(var m=128,w=0,x=0,D=0;4>D&&128<=m;D++)m=this.b[this.a++],w|=(m&127)<<7*D;if(128<=m&&(m=this.b[this.a++],w|=(m&127)<<28,x|=(m&127)>>4),128<=m)for(D=0;5>D&&128<=m;D++)m=this.b[this.a++],x|=(m&127)<<7*D+3;if(128>m)return f(w>>>0,x>>>0);ie("Failed to read varint, encoding is invalid."),this.v=!0},ye.prototype.readSplitVarint64=ye.prototype.w,ye.prototype.ea=function(f){return this.w(function(m,w){return C(m,w,f)})},ye.prototype.readSplitZigzagVarint64=ye.prototype.ea,ye.prototype.ta=function(f){var m=this.b,w=this.a;this.a+=8;for(var x=0,D=0,ne=w+7;ne>=w;ne--)x=x<<8|m[ne],D=D<<8|m[ne+4];return f(x,D)},ye.prototype.readSplitFixed64=ye.prototype.ta,ye.prototype.kb=function(){for(;this.b[this.a]&128;)this.a++;this.a++},ye.prototype.skipVarint=ye.prototype.kb,ye.prototype.mb=function(f){for(;128<f;)this.a--,f>>>=7;this.a--},ye.prototype.unskipVarint=ye.prototype.mb,ye.prototype.o=function(){var f=this.b,m=f[this.a],w=m&127;return 128>m?(this.a+=1,R(this.a<=this.c),w):(m=f[this.a+1],w|=(m&127)<<7,128>m?(this.a+=2,R(this.a<=this.c),w):(m=f[this.a+2],w|=(m&127)<<14,128>m?(this.a+=3,R(this.a<=this.c),w):(m=f[this.a+3],w|=(m&127)<<21,128>m?(this.a+=4,R(this.a<=this.c),w):(m=f[this.a+4],w|=(m&15)<<28,128>m?(this.a+=5,R(this.a<=this.c),w>>>0):(this.a+=5,128<=f[this.a++]&&128<=f[this.a++]&&128<=f[this.a++]&&128<=f[this.a++]&&128<=f[this.a++]&&R(!1),R(this.a<=this.c),w)))))},ye.prototype.readUnsignedVarint32=ye.prototype.o,ye.prototype.da=function(){return~~this.o()},ye.prototype.readSignedVarint32=ye.prototype.da,ye.prototype.O=function(){return this.o().toString()},ye.prototype.Ea=function(){return this.da().toString()},ye.prototype.readSignedVarint32String=ye.prototype.Ea,ye.prototype.Ia=function(){var f=this.o();return f>>>1^-(f&1)},ye.prototype.readZigzagVarint32=ye.prototype.Ia,ye.prototype.Ga=function(){return this.w(oe)},ye.prototype.readUnsignedVarint64=ye.prototype.Ga,ye.prototype.Ha=function(){return this.w(Le)},ye.prototype.readUnsignedVarint64String=ye.prototype.Ha,ye.prototype.sa=function(){return this.w(ge)},ye.prototype.readSignedVarint64=ye.prototype.sa,ye.prototype.Fa=function(){return this.w(ze)},ye.prototype.readSignedVarint64String=ye.prototype.Fa,ye.prototype.Ja=function(){return this.w(U)},ye.prototype.readZigzagVarint64=ye.prototype.Ja,ye.prototype.fb=function(){return this.ea(be)},ye.prototype.readZigzagVarintHash64=ye.prototype.fb,ye.prototype.Ka=function(){return this.ea(ze)},ye.prototype.readZigzagVarint64String=ye.prototype.Ka,ye.prototype.Gc=function(){var f=this.b[this.a];return this.a+=1,R(this.a<=this.c),f},ye.prototype.readUint8=ye.prototype.Gc,ye.prototype.Ec=function(){var f=this.b[this.a],m=this.b[this.a+1];return this.a+=2,R(this.a<=this.c),f<<0|m<<8},ye.prototype.readUint16=ye.prototype.Ec,ye.prototype.m=function(){var f=this.b[this.a],m=this.b[this.a+1],w=this.b[this.a+2],x=this.b[this.a+3];return this.a+=4,R(this.a<=this.c),(f<<0|m<<8|w<<16|x<<24)>>>0},ye.prototype.readUint32=ye.prototype.m,ye.prototype.ga=function(){var f=this.m(),m=this.m();return oe(f,m)},ye.prototype.readUint64=ye.prototype.ga,ye.prototype.ha=function(){var f=this.m(),m=this.m();return Le(f,m)},ye.prototype.readUint64String=ye.prototype.ha,ye.prototype.Xb=function(){var f=this.b[this.a];return this.a+=1,R(this.a<=this.c),f<<24>>24},ye.prototype.readInt8=ye.prototype.Xb,ye.prototype.Vb=function(){var f=this.b[this.a],m=this.b[this.a+1];return this.a+=2,R(this.a<=this.c),(f<<0|m<<8)<<16>>16},ye.prototype.readInt16=ye.prototype.Vb,ye.prototype.P=function(){var f=this.b[this.a],m=this.b[this.a+1],w=this.b[this.a+2],x=this.b[this.a+3];return this.a+=4,R(this.a<=this.c),f<<0|m<<8|w<<16|x<<24},ye.prototype.readInt32=ye.prototype.P,ye.prototype.ba=function(){var f=this.m(),m=this.m();return ge(f,m)},ye.prototype.readInt64=ye.prototype.ba,ye.prototype.ca=function(){var f=this.m(),m=this.m();return ze(f,m)},ye.prototype.readInt64String=ye.prototype.ca,ye.prototype.aa=function(){var f=this.m();return I(f)},ye.prototype.readFloat=ye.prototype.aa,ye.prototype.Z=function(){var f=this.m(),m=this.m();return te(f,m)},ye.prototype.readDouble=ye.prototype.Z,ye.prototype.pa=function(){return!!this.b[this.a++]},ye.prototype.readBool=ye.prototype.pa,ye.prototype.ra=function(){return this.da()},ye.prototype.readEnum=ye.prototype.ra,ye.prototype.fa=function(f){var m=this.b,w=this.a;f=w+f;for(var x=[],D="";w<f;){var ne=m[w++];if(128>ne)x.push(ne);else{if(192>ne)continue;if(224>ne){var Ee=m[w++];x.push((ne&31)<<6|Ee&63)}else if(240>ne){Ee=m[w++];var et=m[w++];
261x.push((ne&15)<<12|(Ee&63)<<6|et&63)}else if(248>ne){Ee=m[w++],et=m[w++];var Qt=m[w++];ne=(ne&7)<<18|(Ee&63)<<12|(et&63)<<6|Qt&63,ne-=65536,x.push((ne>>10&1023)+55296,(ne&1023)+56320)}}8192<=x.length&&(D+=String.fromCharCode.apply(null,x),x.length=0)}return D+=xe(x),this.a=w,D},ye.prototype.readString=ye.prototype.fa,ye.prototype.Dc=function(){var f=this.o();return this.fa(f)},ye.prototype.readStringWithLength=ye.prototype.Dc,ye.prototype.qa=function(f){if(0>f||this.a+f>this.b.length)return this.v=!0,ie("Invalid byte length!"),new Uint8Array(0);var m=this.b.subarray(this.a,this.a+f);return this.a+=f,R(this.a<=this.c),m},ye.prototype.readBytes=ye.prototype.qa,ye.prototype.ia=function(){return this.w(be)},ye.prototype.readVarintHash64=ye.prototype.ia,ye.prototype.$=function(){var f=this.b,m=this.a,w=f[m],x=f[m+1],D=f[m+2],ne=f[m+3],Ee=f[m+4],et=f[m+5],Qt=f[m+6];return f=f[m+7],this.a+=8,String.fromCharCode(w,x,D,ne,Ee,et,Qt,f)},ye.prototype.readFixedHash64=ye.prototype.$;function ae(f,m,w){this.a=vn(f,m,w),this.O=this.a.B(),this.b=this.c=-1,this.h=!1,this.v=null}_("jspb.BinaryReader",ae,void 0);var xn=[];ae.clearInstanceCache=function(){xn=[]},ae.getInstanceCacheLength=function(){return xn.length};function fi(f,m,w){if(xn.length){var x=xn.pop();return f&&x.a.H(f,m,w),x}return new ae(f,m,w)}ae.alloc=fi,ae.prototype.zb=fi,ae.prototype.alloc=ae.prototype.zb,ae.prototype.Ca=function(){this.a.clear(),this.b=this.c=-1,this.h=!1,this.v=null,100>xn.length&&xn.push(this)},ae.prototype.free=ae.prototype.Ca,ae.prototype.Fb=function(){return this.O},ae.prototype.getFieldCursor=ae.prototype.Fb,ae.prototype.B=function(){return this.a.B()},ae.prototype.getCursor=ae.prototype.B,ae.prototype.Y=function(){return this.a.Y()},ae.prototype.getBuffer=ae.prototype.Y,ae.prototype.Hb=function(){return this.c},ae.prototype.getFieldNumber=ae.prototype.Hb,ae.prototype.Lb=function(){return this.b},ae.prototype.getWireType=ae.prototype.Lb,ae.prototype.Mb=function(){return this.b==2},ae.prototype.isDelimited=ae.prototype.Mb,ae.prototype.bb=function(){return this.b==4},ae.prototype.isEndGroup=ae.prototype.bb,ae.prototype.getError=function(){return this.h||this.a.getError()},ae.prototype.getError=ae.prototype.getError,ae.prototype.H=function(f,m,w){this.a.H(f,m,w),this.b=this.c=-1},ae.prototype.setBlock=ae.prototype.H,ae.prototype.reset=function(){this.a.reset(),this.b=this.c=-1},ae.prototype.reset=ae.prototype.reset,ae.prototype.advance=function(f){this.a.advance(f)},ae.prototype.advance=ae.prototype.advance,ae.prototype.oa=function(){if(this.a.ya())return!1;if(this.getError())return ie("Decoder hit an error"),!1;this.O=this.a.B();var f=this.a.o(),m=f>>>3;return f&=7,f!=0&&f!=5&&f!=1&&f!=2&&f!=3&&f!=4?(ie("Invalid wire type: %s (at position %s)",f,this.O),this.h=!0,!1):(this.c=m,this.b=f,!0)},ae.prototype.nextField=ae.prototype.oa,ae.prototype.Oa=function(){this.a.mb(this.c<<3|this.b)},ae.prototype.unskipHeader=ae.prototype.Oa,ae.prototype.Lc=function(){var f=this.c;for(this.Oa();this.oa()&&this.c==f;)this.C();this.a.ya()||this.Oa()},ae.prototype.skipMatchingFields=ae.prototype.Lc,ae.prototype.lb=function(){this.b!=0?(ie("Invalid wire type for skipVarintField"),this.C()):this.a.kb()},ae.prototype.skipVarintField=ae.prototype.lb,ae.prototype.gb=function(){if(this.b!=2)ie("Invalid wire type for skipDelimitedField"),this.C();else{var f=this.a.o();this.a.advance(f)}},ae.prototype.skipDelimitedField=ae.prototype.gb,ae.prototype.hb=function(){this.b!=5?(ie("Invalid wire type for skipFixed32Field"),this.C()):this.a.advance(4)},ae.prototype.skipFixed32Field=ae.prototype.hb,ae.prototype.ib=function(){this.b!=1?(ie("Invalid wire type for skipFixed64Field"),this.C()):this.a.advance(8)},ae.prototype.skipFixed64Field=ae.prototype.ib,ae.prototype.jb=function(){var f=this.c;do{if(!this.oa()){ie("Unmatched start-group tag: stream EOF"),this.h=!0;break}if(this.b==4){this.c!=f&&(ie("Unmatched end-group tag"),this.h=!0);break}this.C()}while(!0)},ae.prototype.skipGroup=ae.prototype.jb,ae.prototype.C=function(){switch(this.b){case 0:this.lb();break;case 1:this.ib();break;case 2:this.gb();break;case 5:this.hb();break;case 3:this.jb();break;default:ie("Invalid wire encoding for field.")}},ae.prototype.skipField=ae.prototype.C,ae.prototype.Hc=function(f,m){this.v===null&&(this.v={}),R(!this.v[f]),this.v[f]=m},ae.prototype.registerReadCallback=ae.prototype.Hc,ae.prototype.Ic=function(f){return R(this.v!==null),f=this.v[f],R(f),f(this)},ae.prototype.runReadCallback=ae.prototype.Ic,ae.prototype.Yb=function(f,m){R(this.b==2);var w=this.a.c,x=this.a.o();x=this.a.B()+x,this.a.setEnd(x),m(f,this),this.a.Ma(x),this.a.setEnd(w)},ae.prototype.readMessage=ae.prototype.Yb,ae.prototype.Ub=function(f,m,w){R(this.b==3),R(this.c==f),w(m,this),this.h||this.b==4||(ie("Group submessage did n
261ot end with an END_GROUP tag"),this.h=!0)},ae.prototype.readGroup=ae.prototype.Ub,ae.prototype.Gb=function(){R(this.b==2);var f=this.a.o(),m=this.a.B(),w=m+f;return f=vn(this.a.Y(),m,f),this.a.Ma(w),f},ae.prototype.getFieldDecoder=ae.prototype.Gb,ae.prototype.P=function(){return R(this.b==0),this.a.da()},ae.prototype.readInt32=ae.prototype.P,ae.prototype.Wb=function(){return R(this.b==0),this.a.Ea()},ae.prototype.readInt32String=ae.prototype.Wb,ae.prototype.ba=function(){return R(this.b==0),this.a.sa()},ae.prototype.readInt64=ae.prototype.ba,ae.prototype.ca=function(){return R(this.b==0),this.a.Fa()},ae.prototype.readInt64String=ae.prototype.ca,ae.prototype.m=function(){return R(this.b==0),this.a.o()},ae.prototype.readUint32=ae.prototype.m,ae.prototype.Fc=function(){return R(this.b==0),this.a.O()},ae.prototype.readUint32String=ae.prototype.Fc,ae.prototype.ga=function(){return R(this.b==0),this.a.Ga()},ae.prototype.readUint64=ae.prototype.ga,ae.prototype.ha=function(){return R(this.b==0),this.a.Ha()},ae.prototype.readUint64String=ae.prototype.ha,ae.prototype.zc=function(){return R(this.b==0),this.a.Ia()},ae.prototype.readSint32=ae.prototype.zc,ae.prototype.Ac=function(){return R(this.b==0),this.a.Ja()},ae.prototype.readSint64=ae.prototype.Ac,ae.prototype.Bc=function(){return R(this.b==0),this.a.Ka()},ae.prototype.readSint64String=ae.prototype.Bc,ae.prototype.Rb=function(){return R(this.b==5),this.a.m()},ae.prototype.readFixed32=ae.prototype.Rb,ae.prototype.Sb=function(){return R(this.b==1),this.a.ga()},ae.prototype.readFixed64=ae.prototype.Sb,ae.prototype.Tb=function(){return R(this.b==1),this.a.ha()},ae.prototype.readFixed64String=ae.prototype.Tb,ae.prototype.vc=function(){return R(this.b==5),this.a.P()},ae.prototype.readSfixed32=ae.prototype.vc,ae.prototype.wc=function(){return R(this.b==5),this.a.P().toString()},ae.prototype.readSfixed32String=ae.prototype.wc,ae.prototype.xc=function(){return R(this.b==1),this.a.ba()},ae.prototype.readSfixed64=ae.prototype.xc,ae.prototype.yc=function(){return R(this.b==1),this.a.ca()},ae.prototype.readSfixed64String=ae.prototype.yc,ae.prototype.aa=function(){return R(this.b==5),this.a.aa()},ae.prototype.readFloat=ae.prototype.aa,ae.prototype.Z=function(){return R(this.b==1),this.a.Z()},ae.prototype.readDouble=ae.prototype.Z,ae.prototype.pa=function(){return R(this.b==0),!!this.a.o()},ae.prototype.readBool=ae.prototype.pa,ae.prototype.ra=function(){return R(this.b==0),this.a.sa()},ae.prototype.readEnum=ae.prototype.ra,ae.prototype.fa=function(){R(this.b==2);var f=this.a.o();return this.a.fa(f)},ae.prototype.readString=ae.prototype.fa,ae.prototype.qa=function(){R(this.b==2);var f=this.a.o();return this.a.qa(f)},ae.prototype.readBytes=ae.prototype.qa,ae.prototype.ia=function(){return R(this.b==0),this.a.ia()},ae.prototype.readVarintHash64=ae.prototype.ia,ae.prototype.Cc=function(){return R(this.b==0),this.a.fb()},ae.prototype.readSintHash64=ae.prototype.Cc,ae.prototype.w=function(f){return R(this.b==0),this.a.w(f)},ae.prototype.readSplitVarint64=ae.prototype.w,ae.prototype.ea=function(f){return R(this.b==0),this.a.w(function(m,w){return C(m,w,f)})},ae.prototype.readSplitZigzagVarint64=ae.prototype.ea,ae.prototype.$=function(){return R(this.b==1),this.a.$()},ae.prototype.readFixedHash64=ae.prototype.$,ae.prototype.ta=function(f){return R(this.b==1),this.a.ta(f)},ae.prototype.readSplitFixed64=ae.prototype.ta;function Mt(f,m){R(f.b==2);var w=f.a.o();w=f.a.B()+w;for(var x=[];f.a.B()<w;)x.push(m.call(f.a));return x}ae.prototype.gc=function(){return Mt(this,this.a.da)},ae.prototype.readPackedInt32=ae.prototype.gc,ae.prototype.hc=function(){return Mt(this,this.a.Ea)},ae.prototype.readPackedInt32String=ae.prototype.hc,ae.prototype.ic=function(){return Mt(this,this.a.sa)},ae.prototype.readPackedInt64=ae.prototype.ic,ae.prototype.jc=function(){return Mt(this,this.a.Fa)},ae.prototype.readPackedInt64String=ae.prototype.jc,ae.prototype.qc=function(){return Mt(this,this.a.o)},ae.prototype.readPackedUint32=ae.prototype.qc,ae.prototype.rc=function(){return Mt(this,this.a.O)},ae.prototype.readPackedUint32String=ae.prototype.rc,ae.prototype.sc=function(){return Mt(this,this.a.Ga)},ae.prototype.readPackedUint64=ae.prototype.sc,ae.prototype.tc=function(){return Mt(this,this.a.Ha)},ae.prototype.readPackedUint64String=ae.prototype.tc,ae.prototype.nc=function(){return Mt(this,this.a.Ia)},ae.prototype.readPackedSint32=ae.prototype.nc,ae.prototype.oc=function(){return Mt(this,this.a.Ja)},ae.prototype.readPackedSint64=ae.prototype.oc,ae.prototype.pc=function(){return Mt(this,this.a.Ka)},ae.prototype.readPackedSint64String=ae.prototype.pc,ae.prototype.bc=function(){return Mt(this,this.a.m)},ae.prototype.readPackedFixed32=ae.prototype.bc,ae.prototype.cc=function(){return Mt(this,this.a.ga)},ae.prototype.readPackedFixed64=ae.prototype.cc,ae.prototype.dc=function(){return Mt(this,this.a.ha)},ae.prototype.readPackedFixed64String=ae.prototype.dc,ae.prototype.kc=function(){return Mt(this,this.a.P)},ae.prototype.readPackedSfixed32=ae.prototype.kc,ae.prototype.lc=function(){return Mt(this,this.a.ba)},ae.prototype.readPackedSfixed64=ae.prototype.lc,ae.prototype.mc=function(){return Mt(this,this.a.ca)},ae.prototype.readPackedSfixed64String=ae.prototype.mc,ae.prototype.fc=function(){return Mt(this,this.a.aa)},ae.prototype.readPackedFloat=ae.prototype.fc,ae.prototype.$b=function(){return Mt(this,this.a.Z)},ae.prototype.readPackedDouble=ae.prototype.$b,ae.prototype.Zb=function(){return Mt(this,this.a.pa)},ae.prototype.readPackedBool=ae.prototype.Zb,ae.prototype.ac=function(){return Mt(this,this.a.ra)},ae.prototype.readPackedEnum=ae.prototype.ac,ae.prototype.uc=function(){return Mt(this,this.a.ia)},ae.prototype.readPackedVarintHash64=ae.prototype.uc,ae.prototype.ec=function(){return Mt(this,this.a.$)},ae.prototype.readPackedFixedHash64=ae.prototype.ec;function Ri(f,m,w,x,D){this.ma=f,this.Ba=m,this.la=w,this.Na=x,this.na=D}_("jspb.ExtensionFieldInfo",Ri,void 0);function jn(f,m,w,x,D,ne){this.Za=f,this.za=m,this.Aa=w,this.Wa=x,this.Ab=D,this.Nb=ne}
261_("jspb.ExtensionFieldBinaryInfo",jn,void 0),Ri.prototype.F=function(){return!!this.la},Ri.prototype.isMessageType=Ri.prototype.F;function lt(){}_("jspb.Message",lt,void 0),lt.GENERATE_TO_OBJECT=!0,lt.GENERATE_FROM_OBJECT=!0;var Ga=typeof Uint8Array=="function";lt.prototype.Ib=function(){return this.b},lt.prototype.getJsPbMessageId=lt.prototype.Ib,lt.initialize=function(f,m,w,x,D,ne){f.f=null,m||(m=w?[w]:[]),f.b=w?String(w):void 0,f.D=w===0?-1:0,f.u=m;e:{if(w=f.u.length,m=-1,w&&(m=w-1,w=f.u[m],!(w===null||typeof w!="object"||Array.isArray(w)||Ga&&w instanceof Uint8Array))){f.G=m-f.D,f.i=w;break e}-1<x?(f.G=Math.max(x,m+1-f.D),f.i=null):f.G=Number.MAX_VALUE}if(f.a={},D)for(x=0;x<D.length;x++)m=D[x],m<f.G?(m+=f.D,f.u[m]=f.u[m]||la):(Lo(f),f.i[m]=f.i[m]||la);if(ne&&ne.length)for(x=0;x<ne.length;x++)nu(f,ne[x])};var la=Object.freeze?Object.freeze([]):[];function Lo(f){var m=f.G+f.D;f.u[m]||(f.i=f.u[m]={})}function ac(f,m,w){for(var x=[],D=0;D<f.length;D++)x[D]=m.call(f[D],w,f[D]);return x}lt.toObjectList=ac,lt.toObjectExtension=function(f,m,w,x,D){for(var ne in w){var Ee=w[ne],et=x.call(f,Ee);if(et!=null){for(var Qt in Ee.Ba)if(Ee.Ba.hasOwnProperty(Qt))break;m[Qt]=Ee.Na?Ee.na?ac(et,Ee.Na,D):Ee.Na(D,et):et}}},lt.serializeBinaryExtensions=function(f,m,w,x){for(var D in w){var ne=w[D],Ee=ne.Za;if(!ne.Aa)throw Error("Message extension present that was generated
261without binary serialization support");var et=x.call(f,Ee);if(et!=null)if(Ee.F())if(ne.Wa)ne.Aa.call(m,Ee.ma,et,ne.Wa);else throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");else ne.Aa.call(m,Ee.ma,et)}},lt.readBinaryExtension=function(f,m,w,x,D){var ne=w[m.c];if(ne){if(w=ne.Za,!ne.za)throw Error("Deserializing extension whose generated code does not support binary format");if(w.F()){var Ee=new w.la;ne.za.call(m,Ee,ne.Ab)}else Ee=ne.za.call(m);w.na&&!ne.Nb?(m=x.call(f,w))?m.push(Ee):D.call(f,w,[Ee]):D.call(f,w,Ee)}else m.C()};function Fn(f,m){if(m<f.G){m+=f.D;var w=f.u[m];return w===la?f.u[m]=[]:w}if(f.i)return w=f.i[m],w===la?f.i[m]=[]:w}lt.getField=Fn,lt.getRepeatedField=function(f,m){return Fn(f,m)};function oc(f,m){return f=Fn(f,m),f==null?f:+f}lt.getOptionalFloatingPointField=oc;function ru(f,m){return f=Fn(f,m),f==null?f:!!f}lt.getBooleanField=ru,lt.getRepeatedFloatingPointField=function(f,m){var w=Fn(f,m);if(f.a||(f.a={}),!f.a[m]){for(var x=0;x<w.length;x++)w[x]=+w[x];f.a[m]=!0}return w},lt.getRepeatedBooleanField=function(f,m){var w=Fn(f,m);if(f.a||(f.a={}),!f.a[m]){for(var x=0;x<w.length;x++)w[x]=!!w[x];f.a[m]=!0}return w};function lc(f){return f==null||typeof f=="string"?f:Ga&&f instanceof Uint8Array?le(f):(ie("Cannot coerce to b64 string: "+v(f)),null)}lt.bytesAsB64=lc;function uc(f){return f==null||f instanceof Uint8Array?f:typeof f=="string"?Lt(f):(ie("Cannot coerce to Uint8Array: "+v(f)),null)}lt.bytesAsU8=uc,lt.bytesListAsB64=function(f){return cc(f),f.length&&typeof f[0]!="string"?G(f,lc):f},lt.bytesListAsU8=function(f){return cc(f),!f.length||f[0]instanceof Uint8Array?f:G(f,uc)};function cc(f){if(f&&1<f.length){var m=v(f[0]);F(f,function(w){v(w)!=m&&ie("Inconsistent type in JSPB repeated field array. Got "+v(w)+" expected "+m)})}}function Bo(f,m,w){return f=Fn(f,m),f??w}lt.getFieldWithDefault=Bo,lt.getBooleanFieldWithDefault=function(f,m,w){return f=ru(f,m),f??w},lt.getFloatingPointFieldWithDefault=function(f,m,w){return f=oc(f,m),f??w},lt.getFieldProto3=Bo,lt.getMapField=function(f,m,w,x){if(f.f||(f.f={}),m in f.f)return f.f[m];var D=Fn(f,m);if(!D){if(w)return;D=[],Fi(f,m,D)}return f.f[m]=new Q(D,x)};function Fi(f,m,w){return q(f,lt),m<f.G?f.u[m+f.D]=w:(Lo(f),f.i[m]=w),f}lt.setField=Fi,lt.setProto3IntField=function(f,m,w){return Di(f,m,w,0)},lt.setProto3FloatField=function(f,m,w){return Di(f,m,w,0)},lt.setProto3BooleanField=function(f,m,w){return Di(f,m,w,!1)},lt.setProto3StringField=function(f,m,w){return Di(f,m,w,"")},lt.setProto3BytesField=function(f,m,w){return Di(f,m,w,"")},lt.setProto3EnumField=function(f,m,w){return Di(f,m,w,0)},lt.setProto3StringIntField=function(f,m,w){return Di(f,m,w,"0")};function Di(f,m,w,x){return q(f,lt),w!==x?Fi(f,m,w):m<f.G?f.u[m+f.D]=null:(Lo(f),delete f.i[m]),f}lt.addToRepeatedField=function(f,m,w,x){return q(f,lt),m=Fn(f,m),x!=null?m.splice(x,0,w):m.push(w),f};function hc(f,m,w,x){return q(f,lt),(w=nu(f,w))&&w!==m&&x!==void 0&&(f.f&&w in f.f&&(f.f[w]=void 0),Fi(f,w,void 0)),Fi(f,m,x)}lt.setOneofField=hc;function nu(f,m){for(var w,x,D=0;D<m.length;D++){var ne=m[D],Ee=Fn(f,ne);Ee!=null&&(w=ne,x=Ee,Fi(f,ne,void 0))}return w?(Fi(f,w,x),w):0}lt.computeOneofCase=nu,lt.getWrapperField=function(f,m,w,x){if(f.f||(f.f={}),!f.f[w]){var D=Fn(f,w);(x||D)&&(f.f[w]=new m(D))}return f.f[w]},lt.getRepeatedWrapperField=function(f,m,w){return fc(f,m,w),m=f.f[w],m==la&&(m=f.f[w]=[]),m};function fc(f,m,w){if(f.f||(f.f={}),!f.f[w]){for(var x=Fn(f,w),D=[],ne=0;ne<x.length;ne++)D[ne]=new m(x[ne]);f.f[w]=D}}lt.setWrapperField=function(f,m,w){q(f,lt),f.f||(f.f={});var x=w&&w.g();return f.f[m]=w,Fi(f,m,x)},lt.setOneofWrapperField=function(f,m,w,x){q(f,lt),f.f||(f.f={});var D=x&&x.g();return f.f[m]=x,hc(f,m,w,D)},lt.setRepeatedWrapperField=function(f,m,w){q(f,lt),f.f||(f.f={}),w=w||[];for(var x=[],D=0;D<w.length;D++)x[D]=w[D].g();return f.f[m]=w,Fi(f,m,x)},lt.addToRepeatedWrapperField=function(f,m,w,x,D){fc(f,x,m);var ne=f.f[m];return ne||(ne=f.f[m]=[]),w=w||new x,f=Fn(f,m),D!=null?(ne.splice(D,0,w),f.splice(D,0,w.g())):(ne.push(w),f.push(w.g())),w},lt.toMap=function(f,m,w,x){for(var D={},ne=0;ne<f.length;ne++)D[m.call(f[ne])]=w?w.call(f[ne],x,f[ne]):f[ne];return D};function dc(f){if(f.f)for(var m in f.f){var w=f.f[m];if(Array.isArray(w))for(var x=0;x<w.length;x++)w[x]&&w[x].g();else w&&w.g()}}lt.prototype.g=function(){return dc(this),this.u},lt.prototype.toArray=lt.prototype.g,lt.prototype.toString=function(){return dc(this),this.u.toString()},lt.prototype.getExtension=function(f){if(this.i){this.f||(this.f={});var m=f.ma;if(f.na){if(f.F())return this.f[m]||(this.f[m]=G(this.i[m]||[],function(w){return new f.la(w)})),this.f[m]}else if(f.F())return!this.f[m]&&this.i[m]&&(this.f[m]=new f.la(this.i[m])),this.f[m];return this.i[m]}},lt.prototype.getExtension=lt.prototype.getExtension,lt.prototype.Kc=function(f,m){this.f||(this.f={}),Lo(this);var w=f.ma;return f.na?(m=m||[],f.F()?(this.f[w]=m,this.i[w]=G(m,function(x){return x.g()})):this.i[w]=m):f.F()?(this.f[w]=m,this.i[w]=m&&m.g()):this.i[w]=m,this},lt.prototype.setExtension=lt.prototype.Kc,lt.difference=function(f,m){if(!(f instanceof m.constructor))throw Error("Messages have different types.");var w=f.g();m=m.g();var x=[],D=0,ne=w.length>m.length?w.length:m.length;for(f.b&&(x[0]=f.b,D=1);D<ne;D++)$a(w[D],m[D])||(x[D]=m[D]);
261return new f.constructor(x)},lt.equals=function(f,m){return f==m||!(!f||!m)&&f instanceof m.constructor&&$a(f.g(),m.g())};function iu(f,m){f=f||{},m=m||{};var w={},x;for(x in f)w[x]=0;for(x in m)w[x]=0;for(x in w)if(!$a(f[x],m[x]))return!1;return!0}lt.compareExtensions=iu;function $a(f,m){if(f==m)return!0;if(!k(f)||!k(m))return typeof f=="number"&&isNaN(f)||typeof m=="number"&&isNaN(m)?String(f)==String(m):!1;if(f.constructor!=m.constructor)return!1;if(Ga&&f.constructor===Uint8Array){if(f.length!=m.length)return!1;for(var w=0;w<f.length;w++)if(f[w]!=m[w])return!1;return!0}if(f.constructor===Array){var x=void 0,D=void 0,ne=Math.max(f.length,m.length);for(w=0;w<ne;w++){var Ee=f[w],et=m[w];if(Ee&&Ee.constructor==Object&&(R(x===void 0),R(w===f.length-1),x=Ee,Ee=void 0),et&&et.constructor==Object&&(R(D===void 0),R(w===m.length-1),D=et,et=void 0),!$a(Ee,et))return!1}return x||D?(x=x||{},D=D||{},iu(x,D)):!0}if(f.constructor===Object)return iu(f,m);throw Error("Invalid type in JSPB array")}lt.compareFields=$a,lt.prototype.Bb=function(){return Uo(this)},lt.prototype.cloneMessage=lt.prototype.Bb,lt.prototype.clone=function(){return Uo(this)},lt.prototype.clone=lt.prototype.clone,lt.clone=function(f){return Uo(f)};function Uo(f){return new f.constructor(su(f.g()))}lt.copyInto=function(f,m){q(f,lt),q(m,lt),R(f.constructor==m.constructor,"Copy source and target message should have the same type."),f=Uo(f);for(var w=m.g(),x=f.g(),D=w.length=0;D<x.length;D++)w[D]=x[D];m.f=f.f,m.i=f.i};function su(f){if(Array.isArray(f)){for(var m=Array(f.length),w=0;w<f.length;w++){var x=f[w];x!=null&&(m[w]=typeof x=="object"?su(R(x)):x)}return m}if(Ga&&f instanceof Uint8Array)return new Uint8Array(f);m={};for(w in f)x=f[w],x!=null&&(m[w]=typeof x=="object"?su(R(x)):x);return m}lt.registerMessageType=function(f,m){m.we=f};var Hn={dump:function(f){return q(f,lt,"jspb.Message instance expected"),R(f.getExtension,"Only unobfuscated and unoptimized compilation modes supported."),Hn.X(f)}};_("jspb.debug.dump",Hn.dump,void 0),Hn.X=function(f){var m=v(f);if(m=="number"||m=="string"||m=="boolean"||m=="null"||m=="undefined"||typeof Uint8Array<"u"&&f instanceof Uint8Array)return f;if(m=="array")return re(f),G(f,Hn.X);if(f instanceof Q){var w={};f=f.entries();for(var x=f.next();!x.done;x=f.next())w[x.value[0]]=Hn.X(x.value[1]);return w}q(f,lt,"Only messages expected: "+f),m=f.constructor;var D={$name:m.name||m.displayName};for(et in m.prototype){var ne=/^get([A-Z]\w*)/.exec(et);if(ne&&et!="getExtension"&&et!="getJsPbMessageId"){var Ee="has"+ne[1];(!f[Ee]||f[Ee]())&&(Ee=f[et](),D[Hn.$a(ne[1])]=Hn.X(Ee))}}if(f.extensionObject_)return D.$extensions="Recursive dumping of extensions not supported in compiled code. Switch to uncompiled or dump extension object directly",D;for(x in m.extensions)if(/^\d+$/.test(x)){Ee=m.extensions[x];var et=f.getExtension(Ee);ne=void 0,Ee=Ee.Ba;var Qt=[],cn=0;for(ne in Ee)Qt[cn++]=ne;ne=Qt[0],et!=null&&(w||(w=D.$extensions={}),w[Hn.$a(ne)]=Hn.X(et))}return D},Hn.$a=function(f){return f.replace(/^[A-Z]/,function(m){return m.toLowerCase()})};function Je(){this.a=[]}_("jspb.BinaryEncoder",Je,void 0),Je.prototype.length=function(){return this.a.length},Je.prototype.length=Je.prototype.length,Je.prototype.end=function(){var f=this.a;return this.a=[],f},Je.prototype.end=Je.prototype.end,Je.prototype.l=function(f,m){for(R(f==Math.floor(f)),R(m==Math.floor(m)),R(0<=f&&4294967296>f),R(0<=m&&4294967296>m);0<m||127<f;)this.a.push(f&127|128),f=(f>>>7|m<<25)>>>0,m>>>=7;this.a.push(f)},Je.prototype.writeSplitVarint64=Je.prototype.l,Je.prototype.A=function(f,m){R(f==Math.floor(f)),R(m==Math.floor(m)),R(0<=f&&4294967296>f),R(0<=m&&4294967296>m),this.s(f),this.s(m)},Je.prototype.writeSplitFixed64=Je.prototype.A,Je.prototype.j=function(f){for(R(f==Math.floor(f)),R(0<=f&&4294967296>f);127<f;)this.a.push(f&127|128),f>>>=7;this.a.push(f)},Je.prototype.writeUnsignedVarint32=Je.prototype.j,Je.prototype.M=function(f){if(R(f==Math.floor(f)),R(-2147483648<=f&&2147483648>f),0<=f)this.j(f);else{for(var m=0;9>m;m++)this.a.push(f&127|128),f>>=7;this.a.push(1)}},Je.prototype.writeSignedVarint32=Je.prototype.M,Je.prototype.va=function(f){R(f==Math.floor(f)),R(0<=f&&18446744073709552e3>f),Dt(f),this.l(Ke,Ve)},Je.prototype.writeUnsignedVarint64=Je.prototype.va,Je.prototype.ua=function(f){R(f==Math.floor(f)),R(-9223372036854776e3<=f&&9223372036854776e3>f),Dt(f),this.l(Ke,Ve)},Je.prototype.writeSignedVarint64=Je.prototype.ua,Je.prototype.wa=function(f){R(f==Math.floor(f)),R(-2147483648<=f&&2147483648>f),this.j((f<<1^f>>31)>>>0)},Je.prototype.writeZigzagVarint32=Je.prototype.wa,Je.prototype.xa=function(f){R(f==Math.floor(f)),R(-9223372036854776e3<=f&&9223372036854776e3>f),Fe(f),this.l(Ke,Ve)},Je.prototype.writeZigzagVarint64=Je.prototype.xa,Je.prototype.Ta=function(f){this.W(Yt(f))},Je.prototype.writeZigzagVarint64String=Je.prototype.Ta,Je.prototype.W=function(f){var m=this;ee(f),Oe(Ke,Ve,function(w,x){m.l(w>>>0,x>>>0)})},Je.prototype.writeZigzagVarintHash64=Je.prototype.W,Je.prototype.be=function(f){R(f==Math.floor(f)),R(0<=f&&256>f),this.a.push(f>>>0&255)},Je.prototype.writeUint8=Je.prototype.be,Je.prototype.ae=function(f){R(f==Math.floor(f)),R(0<=f&&65536>f),this.a.push(f>>>0&255),this.a.push(f>>>8&255)},Je.prototype.writeUint16=Je.prototype.ae,Je.prototype.s=function(f){R(f==Math.floor(f)),R(0<=f&&4294967296>f),this.a.push(f>>>0&255),this.a.push(f>>>8&255),this.a.push(f>>>16&255),this.a.push(f>>>24&255)},Je.prototype.writeUint32=Je.prototype.s,Je.prototype.V=function(f){R(f==Math.floor(f)),R(0<=f&&18446744073709552e3>f),wt(f),this.s(Ke),this.s(Ve)},Je.prototype.writeUint64=Je.prototype.V,Je.prototype.Qc=function(f){R(f==Math.floor(f)),R(-128<=f&&128>f),this.a.push(f>>>0&255)},Je.prototype.writeInt8=Je.prototype.Qc,Je.prototype.Pc=function(f){R(f==Math.floor(f)),R(-32768<=f&&32768>f),this.a.push(f>>>0&255),this.a.push(f>>>8&255)},Je.prototype.writeInt16=Je.prototype.Pc,Je.prototype.S=function(f){R(f==Math.floor(f)),R(-2147483648<=f&&2147483648>f),this.a.push(f>>>0&255),this.a.push(f>>>8&255),this.a.push(f>>>16&255),this.a.push(f>>>24&255)},Je.prototype.writeInt32=Je.prototype.S,Je.prototype.T=function(f){R(f==Math.floor(f)),R(-9223372036854776e3<=f&&9223372036854776e3>f),Dt(f),this.A(Ke,Ve)},Je.prototype.writeInt64=Je.prototype.T,Je.prototype.ka=function(f){R(f==Math.floor(f)),R(-9223372036854776e3<=+f&&9223372036854776e3>+f),ee(Yt(f)),this.A(Ke,Ve)},Je.prototype.writeInt64String=Je.prototype.ka,Je.prototype.L=function(f){R(f===1/0||f===-1/0||isNaN(f)||-34028234663852886e22<=f&&34028234663852886e22>=f),Ne(f),this.s(Ke)},Je.prototype.writeFloat=Je.prototype.L,Je.prototype.J=function(f){R(f===1/0||f===-1/0||isNaN(f)||-17976931348623157e292<=f&&17976931348623157e292>=f),K(f),this.s(Ke),this.s(Ve)},Je.prototype.writeDouble=Je.prototype.J,Je.prototype.I=function(f){R(typeof f=="boolean"||typeof f=="number"),this.a.push(f?1:0)},Je.prototype.writeBool=Je.prototype.I,Je.prototype.R=function(f){R(f==Math.floor(f)),R(-2147483648<=f&&2147483648>f),this.M(f)},Je.prototype.writeEnum=Je.prototype.R,Je.prototype.ja=function(f){this.a.push.apply(this.a,f)},Je.prototype.writeBytes=Je.prototype.ja,Je.prototype.N=function(f){ee(f),this.l(Ke,Ve)},Je.prototype.writeVarintHash64=Je.prototype.N,Je.prototype.K=function(f){ee(f),this.s(Ke),this.s(Ve)},Je.prototype.writeFixedHash64=Je.prototype.K,Je.prototype.U=function(f){var m=this.a.length;H(f);for(var w=0;w<f.length;w++){var x=f.charCodeAt(w);if(128>x)this.a.push(x);else if(2048>x)this.a.push(x>>6|192),this.a.push(x&63|128);else if(65536>x)if(55296<=x&&56319>=x&&w+1<f.length){var D=f.charCodeAt(w+1);56320<=D&&57343>=D&&(x=1024*(x-55296)+D-56320+65536,this.a.push(x>>18|240),this.a.push(x>>12&63|128),this.a.push(x>>6&63|128),this.a.push(x&63|128),w++)}else this.a.push(x>>12|224),this.a.push(x>>6&63|128),this.a.push(x&63|128)}return this.a.length-m},Je.prototype.writeString=Je.prototype.U;function vt(f,m){this.lo=f,this.hi=m}_("jspb.arith.UInt64",vt,void 0),vt.prototype.cmp=function(f){return this.hi<f.hi||this.hi==f.hi&&this.lo<f.lo?-1:this.hi==f.hi&&this.lo==f.lo?0:1},vt.prototype.cmp=vt.prototype.cmp,vt.prototype.La=function(){return new vt((this.lo>>>1|(this.hi&1)<<31)>>>0,this.hi>>>1>>>0)},vt.prototype.rightShift=vt.prototype.La,vt.prototype.Da=function(){return new vt(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},vt.prototype.leftShift=vt.prototype.Da,vt.prototype.cb=function(){return!!(this.hi&2147483648)},vt.prototype.msb=vt.prototype.cb,vt.prototype.Ob=function(){return!!(this.lo&1)},vt.prototype.lsb=vt.prototype.Ob,vt.prototype.Ua=function(){return this.lo==0&&this.hi==0},vt.prototype.zero=vt.prototype.Ua,vt.prototype.add=function(f){return new vt((this.lo+f.lo&4294967295)>>>0>>>0,((this.hi+f.hi&4294967295)>>>0)+(4294967296<=this.lo+f.lo?1:0)>>>0)},vt.prototype.add=vt.prototype.add,vt.prototype.sub=function(f){return new vt((this.lo-f.lo&4294967295)>>>0>>>0,((this.hi-f.hi&4294967295)>>>0)-(0>this.lo-f.lo?1:0)>>>0)},vt.prototype.sub=vt.prototype.sub;function au(f,m){var w=f&65535;f>>>=16;var x=m&65535,D=m>>>16;for(m=w*x+65536*(w*D&65535)+65536*(f*x&65535),w=f*D+(w*D>>>16)+(f*x>>>16);4294967296<=m;)m-=4294967296,w+=1;return new vt(m>>>0,w>>>0)}vt.mul32x32=au,vt.prototype.eb=function(f){var m=au(this.lo,f);return f=au(this.hi,f),f.hi=f.lo,f.lo=0,m.add(f)},vt.prototype.mul=vt.prototype.eb,vt.prototype.Xa=function(f){if(f==0)return[];var m=new vt(0,0),w=new vt(this.lo,this.hi);f=new vt(f,0);for(var x=new vt(1,0);!f.cb();)f=f.Da(),x=x.Da();for(;!x.Ua();)0>=f.cmp(w)&&(m=m.add(x),w=w.sub(f)),f=f.La(),x=x.La();return[m,w]},vt.prototype.div=vt.prototype.Xa,vt.prototype.toString=function(){for(var f="",m=this;!m.Ua();){m=m.Xa(10);var w=m[0];f=m[1].lo+f,m=w}return f==""&&(f="0"),f},vt.prototype.toString=vt.prototype.toString;function ua(f){for(var m=new vt(0,0),w=new vt(0,0),x=0;x<f.length;x++){if("0">f[x]||"9"<f[x])return null;w.lo=parseInt(f[x],10),m=m.eb(10).add(w)}return m}vt.fromString=ua,vt.prototype.clone=function(){return new vt(this.lo,this.hi)},vt.prototype.clone=vt.prototype.clone;function Jr(f,m){this.lo=f,this.hi=m}_("jspb.arith.Int64",Jr,void 0),Jr.prototype.add=function(f){return new Jr((this.lo+f.lo&4294967295)>>>0>>>0,((this.hi+f.hi&4294967295)>>>0)+(4294967296<=this.lo+f.lo?1:0)>>>0)},Jr.prototype.add=Jr.prototype.add,Jr.prototype.sub=function(f){return new Jr((this.lo-f.lo&4294967295)>>>0>>>0,((this.hi-f.hi&4294967295)>>>0)-(0>this.lo-f.lo?1:0)>>>0)},Jr.prototype.sub=Jr.prototype.sub,Jr.prototype.clone=function(){return new Jr(this.lo,this.hi)},Jr.prototype.clone=Jr.prototype.clone,Jr.prototype.toString=function(){var f=(this.hi&2147483648)!=0,m=new vt(this.lo,this.hi);return f&&(m=new vt(0,0).sub(m)),(f?"-":"")+m.toString()},Jr.prototype.toString=Jr.prototype.toString;function zo(f){var m=0<f.length&&f[0]=="-";return m&&(f=f.substring(1)),f=ua(f),f===null?null:(m&&(f=new vt(0,0).sub(f)),new Jr(f.lo,f.hi))}Jr.fromString=zo;function J(){this.c=[],this.b=0,this.a=new Je,this.h=[]}_("jspb.BinaryWriter",J,void 0);function pc(f,m){var w=f.a.end();f.c.push(w),f.c.push(m),f.b+=w.length+m.length}function gr(f,m){return St(f,m,2),m=f.a.end(),f.c.push(m),f.b+=m.length,m.push(f.b),m}function Ar(f,m){var w=m.pop();for(w=f.b+f.a.length()-w,R(0<=w);127<w;)m.push(w&127|128),w>>>=7,f.b++;m.push(w),f.b++}J.prototype.pb=function(f,m,w){pc(this,f.subarray(m,w))},J.prototype.writeSerializedMessage=J.prototype.pb,J.prototype.Pb=function(f,m,w){f!=null&&m!=null&&w!=null&&this.pb(f,m,w)},J.prototype.maybeWriteSerializedMessage=J.prototype.Pb,J.prototype.reset=function(){this.c=[],this.a.end(),this.b=0,this.h=[]},J.prototype.reset=J.prototype.reset,J.prototype.ab=function(){R(this.h.length==0);for(var f=new Uint8Array(this.b+this.a.length()),m=this.c,w=m.length,x=0,D=0;D<w;D++){var ne=m[D];f.set(ne,x),x+=ne.length}return m=this.a.end(),f.set(m,x),x+=m.length,R(x==f.length),this.c=[f],f},J.prototype.getResultBuffer=J.prototype.ab,J.prototype.Kb=function(f){return le(this.ab(),f)},J.prototype.getResultBase64String=J.prototype.Kb,J.prototype.Va=function(f){this.h.push(gr(this,f))},J.prototype.beginSubMessage=J.prototype.Va,J.prototype.Ya=function(){R(0<=this.h.length),Ar(this,this.h.pop())},J.prototype.endSubMessage=J.prototype.Ya;function St(f,m,w){R(1<=m&&m==Math.floor(m)),f.a.j(8*m+w)}
261J.prototype.Nc=function(f,m,w){switch(f){case 1:this.J(m,w);break;case 2:this.L(m,w);break;case 3:this.T(m,w);break;case 4:this.V(m,w);break;case 5:this.S(m,w);break;case 6:this.Qa(m,w);break;case 7:this.Pa(m,w);break;case 8:this.I(m,w);break;case 9:this.U(m,w);break;case 10:ie("Group field type not supported in writeAny()");break;case 11:ie("Message field type not supported in writeAny()");break;case 12:this.ja(m,w);break;case 13:this.s(m,w);break;case 14:this.R(m,w);break;case 15:this.Ra(m,w);break;case 16:this.Sa(m,w);break;case 17:this.rb(m,w);break;case 18:this.sb(m,w);break;case 30:this.K(m,w);break;case 31:this.N(m,w);break;default:ie("Invalid field type in writeAny()")}},J.prototype.writeAny=J.prototype.Nc;function ou(f,m,w){w!=null&&(St(f,m,0),f.a.j(w))}function jo(f,m,w){w!=null&&(St(f,m,0),f.a.M(w))}J.prototype.S=function(f,m){m!=null&&(R(-2147483648<=m&&2147483648>m),jo(this,f,m))},J.prototype.writeInt32=J.prototype.S,J.prototype.ob=function(f,m){m!=null&&(m=parseInt(m,10),R(-2147483648<=m&&2147483648>m),jo(this,f,m))},J.prototype.writeInt32String=J.prototype.ob,J.prototype.T=function(f,m){m!=null&&(R(-9223372036854776e3<=m&&9223372036854776e3>m),m!=null&&(St(this,f,0),this.a.ua(m)))},J.prototype.writeInt64=J.prototype.T,J.prototype.ka=function(f,m){m!=null&&(m=zo(m),St(this,f,0),this.a.l(m.lo,m.hi))},J.prototype.writeInt64String=J.prototype.ka,J.prototype.s=function(f,m){m!=null&&(R(0<=m&&4294967296>m),ou(this,f,m))},J.prototype.writeUint32=J.prototype.s,J.prototype.ub=function(f,m){m!=null&&(m=parseInt(m,10),R(0<=m&&4294967296>m),ou(this,f,m))},J.prototype.writeUint32String=J.prototype.ub,J.prototype.V=function(f,m){m!=null&&(R(0<=m&&18446744073709552e3>m),m!=null&&(St(this,f,0),this.a.va(m)))},J.prototype.writeUint64=J.prototype.V,J.prototype.vb=function(f,m){m!=null&&(m=ua(m),St(this,f,0),this.a.l(m.lo,m.hi))},J.prototype.writeUint64String=J.prototype.vb,J.prototype.rb=function(f,m){m!=null&&(R(-2147483648<=m&&2147483648>m),m!=null&&(St(this,f,0),this.a.wa(m)))},J.prototype.writeSint32=J.prototype.rb,J.prototype.sb=function(f,m){m!=null&&(R(-9223372036854776e3<=m&&9223372036854776e3>m),m!=null&&(St(this,f,0),this.a.xa(m)))},J.prototype.writeSint64=J.prototype.sb,J.prototype.$d=function(f,m){m!=null&&m!=null&&(St(this,f,0),this.a.W(m))},J.prototype.writeSintHash64=J.prototype.$d,J.prototype.Zd=function(f,m){m!=null&&m!=null&&(St(this,f,0),this.a.Ta(m))},J.prototype.writeSint64String=J.prototype.Zd,J.prototype.Pa=function(f,m){m!=null&&(R(0<=m&&4294967296>m),St(this,f,5),this.a.s(m))},J.prototype.writeFixed32=J.prototype.Pa,J.prototype.Qa=function(f,m){m!=null&&(R(0<=m&&18446744073709552e3>m),St(this,f,1),this.a.V(m))},J.prototype.writeFixed64=J.prototype.Qa,J.prototype.nb=function(f,m){m!=null&&(m=ua(m),St(this,f,1),this.a.A(m.lo,m.hi))},J.prototype.writeFixed64String=J.prototype.nb,J.prototype.Ra=function(f,m){m!=null&&(R(-2147483648<=m&&2147483648>m),St(this,f,5),this.a.S(m))},J.prototype.writeSfixed32=J.prototype.Ra,J.prototype.Sa=function(f,m){m!=null&&(R(-9223372036854776e3<=m&&9223372036854776e3>m),St(this,f,1),this.a.T(m))},J.prototype.writeSfixed64=J.prototype.Sa,J.prototype.qb=function(f,m){m!=null&&(m=zo(m),St(this,f,1),this.a.A(m.lo,m.hi))},J.prototype.writeSfixed64String=J.prototype.qb,J.prototype.L=function(f,m){m!=null&&(St(this,f,5),this.a.L(m))},J.prototype.writeFloat=J.prototype.L,J.prototype.J=function(f,m){m!=null&&(St(this,f,1),this.a.J(m))},J.prototype.writeDouble=J.prototype.J,J.prototype.I=function(f,m){m!=null&&(R(typeof m=="boolean"||typeof m=="number"),St(this,f,0),this.a.I(m))},J.prototype.writeBool=J.prototype.I,J.prototype.R=function(f,m){m!=null&&(R(-2147483648<=m&&2147483648>m),St(this,f,0),this.a.M(m))},J.prototype.writeEnum=J.prototype.R,J.prototype.U=function(f,m){m!=null&&(f=gr(this,f),this.a.U(m),Ar(this,f))},J.prototype.writeString=J.prototype.U,J.prototype.ja=function(f,m){m!=null&&(m=Bt(m),St(this,f,2),this.a.j(m.length),pc(this,m))},J.prototype.writeBytes=J.prototype.ja,J.prototype.Rc=function(f,m,w){m!=null&&(f=gr(this,f),w(m,this),Ar(this,f))},J.prototype.writeMessage=J.prototype.Rc,J.prototype.Sc=function(f,m,w){m!=null&&(St(this,1,3),St(this,2,0),this.a.M(f),f=gr(this,3),w(m,this),Ar(this,f),St(this,1,4))},J.prototype.writeMessageSet=J.prototype.Sc,J.prototype.Oc=function(f,m,w){m!=null&&(St(this,f,3),w(m,this),St(this,f,4))},J.prototype.writeGroup=J.prototype.Oc,J.prototype.K=function(f,m){m!=null&&(R(m.length==8),St(this,f,1),this.a.K(m))},J.prototype.writeFixedHash64=J.prototype.K,J.prototype.N=function(f,m){m!=null&&(R(m.length==8),St(this,f,0),this.a.N(m))},J.prototype.writeVarintHash64=J.prototype.N,J.prototype.A=function(f,m,w){St(this,f,1),this.a.A(m,w
261)},J.prototype.writeSplitFixed64=J.prototype.A,J.prototype.l=function(f,m,w){St(this,f,0),this.a.l(m,w)},J.prototype.writeSplitVarint64=J.prototype.l,J.prototype.tb=function(f,m,w){St(this,f,0);var x=this.a;Oe(m,w,function(D,ne){x.l(D>>>0,ne>>>0)})},J.prototype.writeSplitZigzagVarint64=J.prototype.tb,J.prototype.Ed=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)jo(this,f,m[w])},J.prototype.writeRepeatedInt32=J.prototype.Ed,J.prototype.Fd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.ob(f,m[w])},J.prototype.writeRepeatedInt32String=J.prototype.Fd,J.prototype.Gd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++){var x=m[w];x!=null&&(St(this,f,0),this.a.ua(x))}},J.prototype.writeRepeatedInt64=J.prototype.Gd,J.prototype.Qd=function(f,m,w,x){if(m!=null)for(var D=0;D<m.length;D++)this.A(f,w(m[D]),x(m[D]))},J.prototype.writeRepeatedSplitFixed64=J.prototype.Qd,J.prototype.Rd=function(f,m,w,x){if(m!=null)for(var D=0;D<m.length;D++)this.l(f,w(m[D]),x(m[D]))},J.prototype.writeRepeatedSplitVarint64=J.prototype.Rd,J.prototype.Sd=function(f,m,w,x){if(m!=null)for(var D=0;D<m.length;D++)this.tb(f,w(m[D]),x(m[D]))},J.prototype.writeRepeatedSplitZigzagVarint64=J.prototype.Sd,J.prototype.Hd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.ka(f,m[w])},J.prototype.writeRepeatedInt64String=J.prototype.Hd,J.prototype.Ud=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)ou(this,f,m[w])},J.prototype.writeRepeatedUint32=J.prototype.Ud,J.prototype.Vd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.ub(f,m[w])},J.prototype.writeRepeatedUint32String=J.prototype.Vd,J.prototype.Wd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++){var x=m[w];x!=null&&(St(this,f,0),this.a.va(x))}},J.prototype.writeRepeatedUint64=J.prototype.Wd,J.prototype.Xd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.vb(f,m[w])},J.prototype.writeRepeatedUint64String=J.prototype.Xd,J.prototype.Md=function(f,m){if(m!=null)for(var w=0;w<m.length;w++){var x=m[w];x!=null&&(St(this,f,0),this.a.wa(x))}},J.prototype.writeRepeatedSint32=J.prototype.Md,J.prototype.Nd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++){var x=m[w];x!=null&&(St(this,f,0),this.a.xa(x))}},J.prototype.writeRepeatedSint64=J.prototype.Nd,J.prototype.Od=function(f,m){if(m!=null)for(var w=0;w<m.length;w++){var x=m[w];x!=null&&(St(this,f,0),this.a.Ta(x))}},J.prototype.writeRepeatedSint64String=J.prototype.Od,J.prototype.Pd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++){var x=m[w];x!=null&&(St(this,f,0),this.a.W(x))}},J.prototype.writeRepeatedSintHash64=J.prototype.Pd,J.prototype.yd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.Pa(f,m[w])},J.prototype.writeRepeatedFixed32=J.prototype.yd,J.prototype.zd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.Qa(f,m[w])},J.prototype.writeRepeatedFixed64=J.prototype.zd,J.prototype.Ad=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.nb(f,m[w])},J.prototype.writeRepeatedFixed64String=J.prototype.Ad,J.prototype.Jd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.Ra(f,m[w])},J.prototype.writeRepeatedSfixed32=J.prototype.Jd,J.prototype.Kd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.Sa(f,m[w])},J.prototype.writeRepeatedSfixed64=J.prototype.Kd,J.prototype.Ld=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.qb(f,m[w])},J.prototype.writeRepeatedSfixed64String=J.prototype.Ld,J.prototype.Cd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.L(f,m[w])},J.prototype.writeRepeatedFloat=J.prototype.Cd,J.prototype.wd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.J(f,m[w])},J.prototype.writeRepeatedDouble=J.prototype.wd,J.prototype.ud=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.I(f,m[w])},J.prototype.writeRepeatedBool=J.prototype.ud,J.prototype.xd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.R(f,m[w])},J.prototype.writeRepeatedEnum=J.prototype.xd,J.prototype.Td=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.U(f,m[w])},J.prototype.writeRepeatedString=J.prototype.Td,J.prototype.vd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.ja(f,m[w])},J.prototype.writeRepeatedBytes=J.prototype.vd,J.prototype.Id=function(f,m,w){if(m!=null)for(var x=0;x<m.length;x++){var D=gr(this,f);w(m[x],this),Ar(this,D)}},J.prototype.writeRepeatedMessage=J.prototype.Id,J.prototype.Dd=function(f,m,w){if(m!=null)for(var x=0;x<m.length;x++)St(this,f,3),w(m[x],this),St(this,f,4)},J.prototype.writeRepeatedGroup=J.prototype.Dd,J.prototype.Bd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.K(f,m[w])},J.prototype.writeRepeatedFixedHash64=J.prototype.Bd,J.prototype.Yd=function(f,m){if(m!=null)for(var w=0;w<m.length;w++)this.N(f,m[w])},J.prototype.writeRepeatedVarintHash64=J.prototype.Yd,J.prototype.ad=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.M(m[w]);Ar(this,f)}},J.prototype.writePackedInt32=J.prototype.ad,J.prototype.bd=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;
261w++)this.a.M(parseInt(m[w],10));Ar(this,f)}},J.prototype.writePackedInt32String=J.prototype.bd,J.prototype.cd=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.ua(m[w]);Ar(this,f)}},J.prototype.writePackedInt64=J.prototype.cd,J.prototype.md=function(f,m,w,x){if(m!=null){f=gr(this,f);for(var D=0;D<m.length;D++)this.a.A(w(m[D]),x(m[D]));Ar(this,f)}},J.prototype.writePackedSplitFixed64=J.prototype.md,J.prototype.nd=function(f,m,w,x){if(m!=null){f=gr(this,f);for(var D=0;D<m.length;D++)this.a.l(w(m[D]),x(m[D]));Ar(this,f)}},J.prototype.writePackedSplitVarint64=J.prototype.nd,J.prototype.od=function(f,m,w,x){if(m!=null){f=gr(this,f);for(var D=this.a,ne=0;ne<m.length;ne++)Oe(w(m[ne]),x(m[ne]),function(Ee,et){D.l(Ee>>>0,et>>>0)});Ar(this,f)}},J.prototype.writePackedSplitZigzagVarint64=J.prototype.od,J.prototype.dd=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++){var x=zo(m[w]);this.a.l(x.lo,x.hi)}Ar(this,f)}},J.prototype.writePackedInt64String=J.prototype.dd,J.prototype.pd=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.j(m[w]);Ar(this,f)}},J.prototype.writePackedUint32=J.prototype.pd,J.prototype.qd=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.j(parseInt(m[w],10));Ar(this,f)}},J.prototype.writePackedUint32String=J.prototype.qd,J.prototype.rd=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.va(m[w]);Ar(this,f)}},J.prototype.writePackedUint64=J.prototype.rd,J.prototype.sd=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++){var x=ua(m[w]);this.a.l(x.lo,x.hi)}Ar(this,f)}},J.prototype.writePackedUint64String=J.prototype.sd,J.prototype.hd=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.wa(m[w]);Ar(this,f)}},J.prototype.writePackedSint32=J.prototype.hd,J.prototype.jd=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.xa(m[w]);Ar(this,f)}},J.prototype.writePackedSint64=J.prototype.jd,J.prototype.kd=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.W(Yt(m[w]));Ar(this,f)}},J.prototype.writePackedSint64String=J.prototype.kd,J.prototype.ld=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.W(m[w]);Ar(this,f)}},J.prototype.writePackedSintHash64=J.prototype.ld,J.prototype.Wc=function(f,m){if(m!=null&&m.length)for(St(this,f,2),this.a.j(4*m.length),f=0;f<m.length;f++)this.a.s(m[f])},J.prototype.writePackedFixed32=J.prototype.Wc,J.prototype.Xc=function(f,m){if(m!=null&&m.length)for(St(this,f,2),this.a.j(8*m.length),f=0;f<m.length;f++)this.a.V(m[f])},J.prototype.writePackedFixed64=J.prototype.Xc,J.prototype.Yc=function(f,m){if(m!=null&&m.length)for(St(this,f,2),this.a.j(8*m.length),f=0;f<m.length;f++){var w=ua(m[f]);this.a.A(w.lo,w.hi)}},J.prototype.writePackedFixed64String=J.prototype.Yc,J.prototype.ed=function(f,m){if(m!=null&&m.length)for(St(this,f,2),this.a.j(4*m.length),f=0;f<m.length;f++)this.a.S(m[f])},J.prototype.writePackedSfixed32=J.prototype.ed,J.prototype.fd=function(f,m){if(m!=null&&m.length)for(St(this,f,2),this.a.j(8*m.length),f=0;f<m.length;f++)this.a.T(m[f])},J.prototype.writePackedSfixed64=J.prototype.fd,J.prototype.gd=function(f,m){if(m!=null&&m.length)for(St(this,f,2),this.a.j(8*m.length),f=0;f<m.length;f++)this.a.ka(m[f])},J.prototype.writePackedSfixed64String=J.prototype.gd,J.prototype.$c=function(f,m){if(m!=null&&m.length)for(St(this,f,2),this.a.j(4*m.length),f=0;f<m.length;f++)this.a.L(m[f])},J.prototype.writePackedFloat=J.prototype.$c,J.prototype.Uc=function(f,m){if(m!=null&&m.length)for(St(this,f,2),this.a.j(8*m.length),f=0;f<m.length;f++)this.a.J(m[f])},J.prototype.writePackedDouble=J.prototype.Uc,J.prototype.Tc=function(f,m){if(m!=null&&m.length)for(St(this,f,2),this.a.j(m.length),f=0;f<m.length;f++)this.a.I(m[f])},J.prototype.writePackedBool=J.prototype.Tc,J.prototype.Vc=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.R(m[w]);Ar(this,f)}},J.prototype.writePackedEnum=J.prototype.Vc,J.prototype.Zc=function(f,m){if(m!=null&&m.length)for(St(this,f,2),this.a.j(8*m.length),f=0;f<m.length;f++)this.a.K(m[f])},J.prototype.writePackedFixedHash64=J.prototype.Zc,J.prototype.td=function(f,m){if(m!=null&&m.length){f=gr(this,f);for(var w=0;w<m.length;w++)this.a.N(m[w]);Ar(this,f)}},J.prototype.writePackedVarintHash64=J.prototype.td,t.debug=Hn,t.Map=Q,t.Message=lt,t.BinaryReader=ae,t.BinaryWriter=J,t.ExtensionFieldInfo=Ri,t.ExtensionFieldBinaryInfo=jn,t.exportSymbol=O,t.inherits=N,t.object={extend:M},t.typeOf=v})(c);var gM=t=>{throw TypeError(t)},UK=(t,e,r)=>e.has(t)||gM("Cannot "+r),ro=(t,e,r)=>(UK(t,e,"read from private field"),r?r.call(t):e.get(t)),dv=(t,e,r)=>e.has(t)?gM("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),ff;(t=>{(e=>{var r,n,i;(g=>{g[g.NULL_VALUE=0]="NULL_VALUE"})(e.NullValue||(e.NullValue={}));const s=class km extends c.Message{constructor(_){super(),dv(this,r,[]),c.Message.initialize(this,Array.isArray(_)?_:[],0,-1,[],ro(this,r)),!Array.isArray(_)&&typeof _=="object"&&"fields"in _&&_.fields!=null&&(this.fields=_.fields),this.fields||(this.fields=new Map)}get fields(){return c.Message.getField(this,1)}set fields(_){c.Message.setField(this,1,_)}static fromObject(_){const v=new km({});return typeof _.fields=="object"&&(v.fields=new Map(Object.entries(_.fields).map(([k,O])=>[k,u.fromObject(O)]))),v}toObject(){const _={};return this.fields!=null&&(_.fields=Object.fromEntries(Array.from(this.fields).map(([v,k])=>[v,k.toObject()]))),_}serialize(_){const v=_||new c.BinaryWriter;
261for(const[k,O]of this.fields)v.writeMessage(1,this.fields,()=>{v.writeString(1,k),v.writeMessage(2,O,()=>O.serialize(v))});if(!_)return v.getResultBuffer()}static deserialize(_){const v=_ instanceof c.BinaryReader?_:new c.BinaryReader(_),k=new km;for(;v.nextField()&&!v.isEndGroup();)switch(v.getFieldNumber()){case 1:v.readMessage(k,()=>c.Map.deserializeBinary(k.fields,v,v.readString,()=>{let O;return v.readMessage(k,()=>O=u.deserialize(v)),O}));break;default:v.skipField()}return k}serializeBinary(){return this.serialize()}static deserializeBinary(_){return km.deserialize(_)}};r=new WeakMap;let a=s;e.Struct=s;const l=class Am extends c.Message{constructor(_){super(),dv(this,n,[[1,2,3,4,5,6]]),c.Message.initialize(this,Array.isArray(_)?_:[],0,-1,[],ro(this,n)),!Array.isArray(_)&&typeof _=="object"&&("null_value"in _&&_.null_value!=null&&(this.null_value=_.null_value),"number_value"in _&&_.number_value!=null&&(this.number_value=_.number_value),"string_value"in _&&_.string_value!=null&&(this.string_value=_.string_value),"bool_value"in _&&_.bool_value!=null&&(this.bool_value=_.bool_value),"struct_value"in _&&_.struct_value!=null&&(this.struct_value=_.struct_value),"list_value"in _&&_.list_value!=null&&(this.list_value=_.list_value))}get null_value(){return c.Message.getFieldWithDefault(this,1,0)}set null_value(_){c.Message.setOneofField(this,1,ro(this,n)[0],_)}get has_null_value(){return c.Message.getField(this,1)!=null}get number_value(){return c.Message.getFieldWithDefault(this,2,0)}set number_value(_){c.Message.setOneofField(this,2,ro(this,n)[0],_)}get has_number_value(){return c.Message.getField(this,2)!=null}
261get string_value(){return c.Message.getFieldWithDefault(this,3,"")}set string_value(_){c.Message.setOneofField(this,3,ro(this,n)[0],_)}get has_string_value(){return c.Message.getField(this,3)!=null}get bool_value(){return c.Message.getFieldWithDefault(this,4,!1)}set bool_value(_){c.Message.setOneofField(this,4,ro(this,n)[0],_)}get has_bool_value(){return c.Message.getField(this,4)!=null}get struct_value(){return c.Message.getWrapperField(this,a,5)}set struct_value(_){c.Message.setOneofWrapperField(this,5,ro(this,n)[0],_)}get has_struct_value(){return c.Message.getField(this,5)!=null}get list_value(){return c.Message.getWrapperField(this,d,6)}set list_value(_){c.Message.setOneofWrapperField(this,6,ro(this,n)[0],_)}get has_list_value(){return c.Message.getField(this,6)!=null}get kind(){return{0:"none",1:"null_value",2:"number_value",3:"string_value",4:"bool_value",5:"struct_value",6:"list_value"}[c.Message.computeOneofCase(this,[1,2,3,4,5,6])]}static fromObject(_){const v=new Am({});return _.null_value!=null&&(v.null_value=_.null_value),_.number_value!=null&&(v.number_value=_.number_value),_.string_value!=null&&(v.string_value=_.string_value),_.bool_value!=null&&(v.bool_value=_.bool_value),_.struct_value!=null&&(v.struct_value=a.fromObject(_.struct_value)),_.list_value!=null&&(v.list_value=d.fromObject(_.list_value)),v}toObject(){const _={};return this.null_value!=null&&(_.null_value=this.null_value),this.number_value!=null&&(_.number_value=this.number_value),this.string_value!=null&&(_.string_value=this.string_value),this.bool_value!=null&&(_.bool_value=this.bool_value),this.struct_value!=null&&(_.struct_value=this.struct_value.toObject()),this.list_value!=null&&(_.list_value=this.list_value.toObject()),_}serialize(_){const v=_||new c.BinaryWriter;if(this.has_null_value&&v.writeEnum(1,this.null_value),this.has_number_value&&v.writeDouble(2,this.number_value),this.has_string_value&&v.writeString(3,this.string_value),this.has_bool_value&&v.writeBool(4,this.bool_value),this.has_struct_value&&v.writeMessage(5,this.struct_value,()=>this.struct_value.serialize(v)),this.has_list_value&&v.writeMessage(6,this.list_value,()=>this.list_value.serialize(v)),!_)return v.getResultBuffer()}static deserialize(_){const v=_ instanceof c.BinaryReader?_:new c.BinaryReader(_),k=new Am;for(;v.nextField()&&!v.isEndGroup();)switch(v.getFieldNumber()){case 1:k.null_value=v.readEnum();break;case 2:k.number_value=v.readDouble();break;case 3:k.string_value=v.readString();break;case 4:k.bool_value=v.readBool();break;case 5:v.readMessage(k.struct_value,()=>k.struct_value=a.deserialize(v));break;case 6:v.readMessage(k.list_value,()=>k.list_value=d.deserialize(v));break;default:v.skipField()}return k}serializeBinary(){return this.serialize()}static deserializeBinary(_){return Am.deserialize(_)}};n=new WeakMap;let u=l;e.Value=l;const p=class Mm extends c.Message{constructor(_){super(),dv(this,i,[]),c.Message.initialize(this,Array.isArray(_)?_:[],0,-1,[1],ro(this,i)),!Array.isArray(_)&&typeof _=="object"&&"values"in _&&_.values!=null&&(this.values=_.values)}get values(){return c.Message.getRepeatedWrapperField(this,u,1)}set values(_){c.Message.setRepeatedWrapperField(this,1,_)}static fromObject(_){const v=new Mm({});return _.values!=null&&(v.values=_.values.map(k=>u.fromObject(k))),v}toObject(){const _={};return this.values!=null&&(_.values=this.values.map(v=>v.toObject())),_}serialize(_){const v=_||new c.BinaryWriter;if(this.values.length&&v.writeRepeatedMessage(1,this.values,k=>k.serialize(v)),!_)return v.getResultBuffer()}static deserialize(_){const v=_ instanceof c.BinaryReader?_:new c.BinaryReader(_),k=new Mm;for(;v.nextField()&&!v.isEndGroup();)switch(v.getFieldNumber()){case 1:v.readMessage(k.values,()=>c.Message.addToRepeatedWrapperField(k,1,u.deserialize(v),u));break;default:v.skipField()}return k}serializeBinary(){return this.serialize()}static deserializeBinary(_){return Mm.deserialize(_)}};i=new WeakMap;let d=p;e.ListValue=p})(t.protobuf||(t.protobuf={}))})(ff||(ff={}));var _M=t=>{throw TypeError(t)},zK=(t,e,r)=>e.has(t)||_M("Cannot "+r),ot=(t,e,r)=>(zK(t,e,"read from private field"),r?r.call(t):e.get(t)),Et=(t,e,r)=>e.has(t)?_M("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r),s2,a2,Cm,o2,l2,u2,c2,h2,f2,d2,p2,m2,g2,_2,y2,v2,b2,w2,E2,S2,va,T2,nl,ba,x2,k2,A2,M2,C2,Om,Im,Rm,O2,I2,R2,F2,zc,D2,N2,P2=(t=>(t[t.GENERAL_SCHEMA=0]="GENERAL_SCHEMA",t[t.COLLECTION_SCHEMA=1]="COLLECTION_SCHEMA",t[t.STREAM_SCHEMA=2]="STREAM_SCHEMA",t))(P2||{}),L2=(t=>(t[t.GENERAL=0]="GENERAL",t[t.SCHEDULER=1]="SCHEDULER",t[t.DASHBOARD=2]="DASHBOARD",t[t.DISCORD=3]="DISCORD",t[t.GATEWAY=4]="GATEWAY",t[t.FILE_TRIGGER=5]="FILE_TRIGGER",t[t.STREAM_TRIGGER=6]="STREAM_TRIGGER",t[t.COLLECTION_TRIGGER=7]="COLLECTION_TRIGGER",t[t.CHATBOT=8]="CHATBOT",t[t.COLLECTION_RUN_ALL=9]="COLLECTION_RUN_ALL",t[t.STREAM_RUN_ALL=10]="STREAM_RUN_ALL",t[t.GLOBAL_CHATBOT=11]="GLOBAL_CHATBOT",t[t.WEBSITE_FORM=12]="WEBSITE_FORM",t[t.JSON_ITEM_BUTTON=13]="JSON_ITEM_BUTTON",t[t.EMAIL_TRIGGER=14]="EMAIL_TRIGGER",t))(L2||{}),Qh=(t=>(t[t.INITIALIZING=0]="INITIALIZING",t[t.RUNNING=1]="RUNNING",t[t.FAILED=2]="FAILED",t[t.SUCCEEDED=3]="SUCCEEDED",t))(Qh||{}),jK=(t=>
261(t[t.INVALID=0]="INVALID",t[t.COLLECTIONS=1]="COLLECTIONS",t[t.STREAM=2]="STREAM",t[t.SINGLETON=3]="SINGLETON",t))(jK||{}),HK=(t=>(t[t.TEST=0]="TEST",t[t.ACTION=1]="ACTION",t[t.STATIC=2]="STATIC",t[t.INPUT=3]="INPUT",t[t.OUTPUT=4]="OUTPUT",t[t.WRITER=5]="WRITER",t[t.COALESCE=6]="COALESCE",t[t.RECEIPT_META=7]="RECEIPT_META",t[t.BUNDLER=8]="BUNDLER",t[t.UI_FEEDBACK=9]="UI_FEEDBACK",t[t.UPDATE_VALUES=10]="UPDATE_VALUES",t[t.CONDITIONAL=11]="CONDITIONAL",t[t.CLOCK=12]="CLOCK",t[t.SCHEDULER_OUTPUT=13]="SCHEDULER_OUTPUT",t[t.UNBUNDLER=14]="UNBUNDLER",t[t.SUPPORT_EMAIL=15]="SUPPORT_EMAIL",t))(HK||{}),yM=(t=>(t[t.SYNCHRONOUS=0]="SYNCHRONOUS",t[t.JOB=1]="JOB",t))(yM||{}),WK=(t=>(t[t.FILE_APP_ACTION_TAB=0]="FILE_APP_ACTION_TAB",t[t.FILE_APP_CONTEXT_MENU=1]="FILE_APP_CONTEXT_MENU",t[t.FILE_APP_BLOB_TRIGGER=2]="FILE_APP_BLOB_TRIGGER",t[t.STREAM_APP_STREAM_TRIGGER=3]="STREAM_APP_STREAM_TRIGGER",t[t.SCHEDULER_APP=4]="SCHEDULER_APP",t[t.COLLECTIONS_RUN_ON_ITEM=5]="COLLECTIONS_RUN_ON_ITEM",t[t.COLLECTIONS_RUN_ON_ALL=6]="COLLECTIONS_RUN_ON_ALL",t[t.API_GATEWAY=7]="API_GATEWAY",t[t.CHATBOT_APP=8]="CHATBOT_APP",t[t.AA_DASHBOARD=9]="AA_DASHBOARD",t[t.ADMINISTRATIVE_TASKS=10]="ADMINISTRATIVE_TASKS",t[t.AA_HIDDEN=11]="AA_HIDDEN",t[t.AA_DROPDOWN_ITEMS=12]="AA_DROPDOWN_ITEMS",t[t.AA_WEBSITE_FORM=13]="AA_WEBSITE_FORM",t[t.AA_TEMPLATE_DESIGNER=14]="AA_TEMPLATE_DESIGNER",t[t.AA_CHART_DATA_SOURCE=15]="AA_CHART_DATA_SOURCE",t[t.AA_FILES_ADD_NEW=16]="AA_FILES_ADD_NEW",t[t.AA_IMAGE_MANIPULATION=17]="AA_IMAGE_MANIPULATION",t))(WK||{}),Ks=(t=>(t[t.STRING=0]="STRING",t[t.ACE=106]="ACE",t[t.BYTES=34]="BYTES",t[t.BOOLEAN=1]="BOOLEAN",t[t.INTEGER=2]="INTEGER",t[t.FLOAT=3]="FLOAT",t[t.KEY=4]="KEY",t[t.PREFIX=5]="PREFIX",t[t.FIXED_LIST_SINGLE_SELECT=6]="FIXED_LIST_SINGLE_SELECT",t[t.FIXED_LIST_MULTI_SELECT=7]="FIXED_LIST_MULTI_SELECT",t[t.URL=8]="URL",t[t.US_CURRENCY_AMT=9]="US_CURRENCY_AMT",t[t.IP_ADDRESS=10]="IP_ADDRESS",t[t.LIST=11]="LIST",t[t.STREAM_RECORD=108]="STREAM_RECORD",t[t.CRON=12]="CRON",t[t.OBJECT_ID=13]="OBJECT_ID",t[t.UNIQUE_ID=14]="UNIQUE_ID",t[t.JOB_ID=16]="JOB_ID",t[t.VECTOR=17]="VECTOR",t[t.DATETIME=20]="DATETIME",t[t.FEED_ID=18]="FEED_ID",t[t.CURRENT_FEED_ID=21]="CURRENT_FEED_ID",t[t.STREAM_PARAM=107]="STREAM_PARAM",t[t.STREAM_PARAMS=110]="STREAM_PARAMS",t[t.DASHBOARD_PARAMS=114]="DASHBOARD_PARAMS",t[t.COPY=30]="COPY",t[t.STRING_MAP=31]="STRING_MAP",t[t.INTEGER_MAP=37]="INTEGER_MAP",t[t.USERNAME=32]="USERNAME",t[t.CSV_COLUMN=35]="CSV_COLUMN",t[t.CSV_COLUMNS=116]="CSV_COLUMNS",t[t.HIDDEN=36]="HIDDEN",t[t.COLOR_PICKER=140]="COLOR_PICKER",t[t.OWNER=141]="OWNER",t[t.COLLECTION_PARAM=142]="COLLECTION_PARAM",t[t.COLLECTION_PARAMS=143]="COLLECTION_PARAMS",t[t.TIMESTAMP=144]="TIMESTAMP",t[t.OBJECT_IDS=145]="OBJECT_IDS",t[t.RECEIPT=146]="RECEIPT",t[t.UNDEFINED=147]="UNDEFINED",t[t.HOSTNAME=148]="HOSTNAME",t[t.DATERANGE=149]="DATERANGE",t[t.MAILING_ADDRESS=150]="MAILING_ADDRESS",t[t.ICON_PICKER=151]="ICON_PICKER",t[t.JSON=152]="JSON",t[t.REQUEST_BODY=153]="REQUEST_BODY",t[t.RESPONSE_BODY=154]="RESPONSE_BODY",t[t.ACTION_ID=19]="ACTION_ID",t[t.DISPLAY_ONLY=121]="DISPLAY_ONLY",t[t.NESTED_OBJECT=155]="NESTED_OBJECT",t[t.NESTED_OBJECTS=156]="NESTED_OBJECTS",t[t.DROPDOWN_ITEMS=157]="DROPDOWN_ITEMS",t[t.GROUPS_MAX_SIZES=158]="GROUPS_MAX_SIZES",t[t.STREAM_ID=159]="STREAM_ID",t[t.PHONE=160]="PHONE",t[t.ANY_TYPE_MAP=15]="ANY_TYPE_MAP",t[t.SCREENSHOT=161]="SCREENSHOT",t[t.PAGE_CONTENT=162]="PAGE_CONTENT",t[t.CHROME_CONNECTION=163]="CHROME_CONNECTION",t[t.GROUPS_CRUD_PERMS=164]="GROUPS_CRUD_PERMS",t[t.LINKED_PHONE=165]="LINKED_PHONE",t[t.AUDIO_PLAYER=126]="AUDIO_PLAYER",t[t.AUDIO_RECORDING=128]="AUDIO_RECORDING",t[t.VIDEO_RECORDING=129]="VIDEO_RECORDING",t))(Ks||{}),GK=(t=>(t[t.UNUSED=0]="UNUSED",t[t.ENDS_WITH=3]="ENDS_WITH",t[t.VALID_URL=4]="VALID_URL",t[t.MIN_LENGTH=5]="MIN_LENGTH",t[t.MAX_LENGTH=6]="MAX_LENGTH",t[t.GREATER_THAN=7]="GREATER_THAN",t[t.LESS_THAN=8]="LESS_THAN",t[t.GREATER_THAN_OR_EQUAL=9]="GREATER_THAN_OR_EQUAL",t[t.LESS_THAN_OR_EQUAL=10]="LESS_THAN_OR_EQUAL",t[t.EMAIL=12]="EMAIL",t[t.STARTS_WITH=15]="STARTS_WITH",t[t.TIME_ZONE=16]="TIME_ZONE",t[t.EQUALS=17]="EQUALS",t[t.CONTAINS=18]="CONTAINS",t[t.MATCHES=19]="MATCHES",t))(GK||{});const $K=class so extends c.Message{constructor(e){super(),Et(this,s2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[9,10,14,23,29],ot(this,s2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"created_at"in e&&e.created_at!=null&&(this.created_at=e.created_at),"last_updated_at"in e&&e.last_updated_at!=null&&(this.last_updated_at=e.last_updated_at),"label"in e&&e.label!=null&&(this.label=e.label),"atype"
261in e&&e.atype!=null&&(this.atype=e.atype),"desc"in e&&e.desc!=null&&(this.desc=e.desc),"icon"in e&&e.icon!=null&&(this.icon=e.icon),"install_params"in e&&e.install_params!=null&&(this.install_params=e.install_params),"settings_params"in e&&e.settings_params!=null&&(this.settings_params=e.settings_params),"param_values"in e&&e.param_values!=null&&(this.param_values=e.param_values),"sort_order"in e&&e.sort_order!=null&&(this.sort_order=e.sort_order),"action_object_ids"in e&&e.action_object_ids!=null&&(this.action_object_ids=e.action_object_ids),"properties"in e&&e.properties!=null&&(this.properties=e.properties),"importance"in e&&e.importance!=null&&(this.importance=e.importance),"alert_message"in e&&e.alert_message!=null&&(this.alert_message=e.alert_message),"alert_icon"in e&&e.alert_icon!=null&&(this.alert_icon=e.alert_icon),"app_id"in e&&e.app_id!=null&&(this.app_id=e.app_id),"prefs"in e&&e.prefs!=null&&(this.prefs=e.prefs),"admin_params"in e&&e.admin_params!=null&&(this.admin_params=e.admin_params),"admin_settings"in e&&e.admin_settings!=null&&(this.admin_settings=e.admin_settings),"version"in e&&e.version!=null&&(this.version=e.version),"draft_version"in e&&e.draft_version!=null&&(this.draft_version=e.draft_version),"installed_version"in e&&e.installed_version!=null&&(this.installed_version=e.installed_version),"install_pages"in e&&e.install_pages!=null&&(this.install_pages=e.install_pages)),this.param_values||(this.param_values=new Map),this.properties||(this.properties=new Map),this.admin_settings||(this.admin_settings=new Map)}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get created_at(){return c.Message.getFieldWithDefault(this,3,0)}set created_at(e){c.Message.setField(this,3,e)}get last_updated_at(){return c.Message.getFieldWithDefault(this,4,0)}set last_updated_at(e){c.Message.setField(this,4,e)}get label(){return c.Message.getFieldWithDefault(this,5,"")}set label(e){c.Message.setField(this,5,e)}get atype(){return c.Message.getFieldWithDefault(this,6,so.ApplicationType.HOME)}set atype(e){c.Message.setField(this,6,e)}get desc(){return c.Message.getFieldWithDefault(this,7,"")}set desc(e){c.Message.setField(this,7,e)}get icon(){return c.Message.getFieldWithDefault(this,8,"")}set icon(e){c.Message.setField(this,8,e)}get install_params(){return c.Message.getRepeatedWrapperField(this,ft,9)}set install_params(e){c.Message.setRepeatedWrapperField(this,9,e)}get settings_params(){return c.Message.getRepeatedWrapperField(this,ft,10)}set settings_params(e){c.Message.setRepeatedWrapperField(this,10,e)}get param_values(){return c.Message.getField(this,11)}set param_values(e){c.Message.setField(this,11,e)}get sort_order(){return c.Message.getFieldWithDefault(this,12,0)}set sort_order(e){c.Message.setField(this,12,e)}get action_object_ids(){return c.Message.getFieldWithDefault(this,14,[])}set action_object_ids(e){c.Message.setField(this,14,e)}get properties(){return c.Message.getField(this,17)}set properties(e){c.Message.setField(this,17,e)}get importance(){return c.Message.getFieldWithDefault(this,18,0)}set importance(e){c.Message.setField(this,18,e)}get alert_message(){return c.Message.getFieldWithDefault(this,19,"")}set alert_message(e){c.Message.setField(this,19,e)}get alert_icon(){return c.Message.getFieldWithDefault(this,20,"")}set alert_icon(e){c.Message.setField(this,20,e)}get app_id(){return c.Message.getFieldWithDefault(this,21,"")}set app_id(e){c.Message.setField(this,21,e)}get prefs(){return c.Message.getWrapperField(this,so.Preferences,22)}set prefs(e){c.Message.setWrapperField(this,22,e)}get has_prefs(){return c.Message.getField(this,22)!=null}get admin_params(){return c.Message.getRepeatedWrapperField(this,ft,23)}set admin_params(e){c.Message.setRepeatedWrapperField(this,23,e)}get admin_settings(){return c.Message.getField(this,24)}set admin_settings(e){c.Message.setField(this,24,e)}get version(){return c.Message.getFieldWithDefault(this,26,"")}set version(e){c.Message.setField(this,26,e)}get draft_version(){return c.Message.getFieldWithDefault(this,27,"")}set draft_version(e){c.Message.setField(this,27,e)}
261get installed_version(){return c.Message.getFieldWithDefault(this,28,"")}set installed_version(e){c.Message.setField(this,28,e)}get install_pages(){return c.Message.getRepeatedWrapperField(this,Ts,29)}set install_pages(e){c.Message.setRepeatedWrapperField(this,29,e)}static fromObject(e){const r=new so({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.created_at!=null&&(r.created_at=e.created_at),e.last_updated_at!=null&&(r.last_updated_at=e.last_updated_at),e.label!=null&&(r.label=e.label),e.atype!=null&&(r.atype=e.atype),e.desc!=null&&(r.desc=e.desc),e.icon!=null&&(r.icon=e.icon),e.install_params!=null&&(r.install_params=e.install_params.map(n=>ft.fromObject(n))),e.settings_params!=null&&(r.settings_params=e.settings_params.map(n=>ft.fromObject(n))),typeof e.param_values=="object"&&(r.param_values=new Map(Object.entries(e.param_values).map(([n,i])=>[n,Ot.fromObject(i)]))),e.sort_order!=null&&(r.sort_order=e.sort_order),e.action_object_ids!=null&&(r.action_object_ids=e.action_object_ids),typeof e.properties=="object"&&(r.properties=new Map(Object.entries(e.properties))),e.importance!=null&&(r.importance=e.importance),e.alert_message!=null&&(r.alert_message=e.alert_message),e.alert_icon!=null&&(r.alert_icon=e.alert_icon),e.app_id!=null&&(r.app_id=e.app_id),e.prefs!=null&&(r.prefs=so.Preferences.fromObject(e.prefs)),e.admin_params!=null&&(r.admin_params=e.admin_params.map(n=>ft.fromObject(n))),typeof e.admin_settings=="object"&&(r.admin_settings=new Map(Object.entries(e.admin_settings).map(([n,i])=>[n,Ot.fromObject(i)]))),e.version!=null&&(r.version=e.version),e.draft_version!=null&&(r.draft_version=e.draft_version),e.installed_version!=null&&(r.installed_version=e.installed_version),e.install_pages!=null&&(r.install_pages=e.install_pages.map(n=>Ts.fromObject(n))),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.created_at!=null&&(e.created_at=this.created_at),this.last_updated_at!=null&&(e.last_updated_at=this.last_updated_at),this.label!=null&&(e.label=this.label),this.atype!=null&&(e.atype=this.atype),this.desc!=null&&(e.desc=this.desc),this.icon!=null&&(e.icon=this.icon),this.install_params!=null&&(e.install_params=this.install_params.map(r=>r.toObject())),this.settings_params!=null&&(e.settings_params=this.settings_params.map(r=>r.toObject())),this.param_values!=null&&(e.param_values=Object.fromEntries(Array.from(this.param_values).map(([r,n])=>[r,n.toObject()]))),this.sort_order!=null&&(e.sort_order=this.sort_order),this.action_object_ids!=null&&(e.action_object_ids=this.action_object_ids),this.properties!=null&&(e.properties=Object.fromEntries(this.properties)),this.importance!=null&&(e.importance=this.importance),this.alert_message!=null&&(e.alert_message=this.alert_message),this.alert_icon!=null&&(e.alert_icon=this.alert_icon),this.app_id!=null&&(e.app_id=this.app_id),this.prefs!=null&&(e.prefs=this.prefs.toObject()),this.admin_params!=null&&(e.admin_params=this.admin_params.map(r=>r.toObject())),this.admin_settings!=null&&(e.admin_settings=Object.fromEntries(Array.from(this.admin_settings).map(([r,n])=>[r,n.toObject()]))),this.version!=null&&(e.version=this.version),this.draft_version!=null&&(e.draft_version=this.draft_version),this.installed_version!=null&&(e.installed_version=this.installed_version),this.install_pages!=null&&(e.install_pages=this.install_pages.map(r=>r.toObject())),e}serialize(e){const r=e||new c.BinaryWriter;this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.created_at!=0&&r.writeInt32(3,this.created_at),this.last_updated_at!=0&&r.writeInt32(4,this.last_updated_at),this.label.length&&r.writeString(5,this.label),this.atype!=so.ApplicationType.HOME&&r.writeEnum(6,this.atype),this.desc.length&&r.writeString(7,this.desc),this.icon.length&&r.writeString(8,this.icon),this.install_params.length&&r.writeRepeatedMessage(9,this.install_params,n=>n.serialize(r)),this.settings_params.length&&r.writeRepeatedMessage(10,this.settings_params,n=>
261n.serialize(r));for(const[n,i]of this.param_values)r.writeMessage(11,this.param_values,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});this.sort_order!=0&&r.writeInt32(12,this.sort_order),this.action_object_ids.length&&r.writeRepeatedString(14,this.action_object_ids);for(const[n,i]of this.properties)r.writeMessage(17,this.properties,()=>{r.writeString(1,n),r.writeString(2,i)});this.importance!=0&&r.writeInt32(18,this.importance),this.alert_message.length&&r.writeString(19,this.alert_message),this.alert_icon.length&&r.writeString(20,this.alert_icon),this.app_id.length&&r.writeString(21,this.app_id),this.has_prefs&&r.writeMessage(22,this.prefs,()=>this.prefs.serialize(r)),this.admin_params.length&&r.writeRepeatedMessage(23,this.admin_params,n=>n.serialize(r));for(const[n,i]of this.admin_settings)r.writeMessage(24,this.admin_settings,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.version.length&&r.writeString(26,this.version),this.draft_version.length&&r.writeString(27,this.draft_version),this.installed_version.length&&r.writeString(28,this.installed_version),this.install_pages.length&&r.writeRepeatedMessage(29,this.install_pages,n=>n.serialize(r)),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new so;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.created_at=r.readInt32();break;case 4:n.last_updated_at=r.readInt32();break;case 5:n.label=r.readString();break;case 6:n.atype=r.readEnum();break;case 7:n.desc=r.readString();break;case 8:n.icon=r.readString();break;case 9:r.readMessage(n.install_params,()=>c.Message.addToRepeatedWrapperField(n,9,ft.deserialize(r),ft));break;case 10:r.readMessage(n.settings_params,()=>c.Message.addToRepeatedWrapperField(n,10,ft.deserialize(r),ft));break;case 11:r.readMessage(n,()=>c.Map.deserializeBinary(n.param_values,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 12:n.sort_order=r.readInt32();break;case 14:c.Message.addToRepeatedField(n,14,r.readString());break;case 17:r.readMessage(n,()=>c.Map.deserializeBinary(n.properties,r,r.readString,r.readString));break;case 18:n.importance=r.readInt32();break;case 19:n.alert_message=r.readString();break;case 20:n.alert_icon=r.readString();break;case 21:n.app_id=r.readString();break;case 22:r.readMessage(n.prefs,()=>n.prefs=so.Preferences.deserialize(r));break;case 23:r.readMessage(n.admin_params,()=>c.Message.addToRepeatedWrapperField(n,23,ft.deserialize(r),ft));break;case 24:r.readMessage(n,()=>c.Map.deserializeBinary(n.admin_settings,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 26:n.version=r.readString();break;case 27:n.draft_version=r.readString();break;case 28:n.installed_version=r.readString();break;case 29:r.readMessage(n.install_pages,()=>c.Message.addToRepeatedWrapperField(n,29,Ts.deserialize(r),Ts));break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return so.deserialize(e)}};s2=new WeakMap;let uo=$K;(t=>{var e;(n=>{n[n.HOME=0]="HOME",n[n.ACTION_RUNNER=1]="ACTION_RUNNER",n[n.ADMIN=2]="ADMIN",n[n.PODCAST=3]="PODCAST",n[n.SUPPORT=4]="SUPPORT",n[n.COLLECTIONS=5]="COLLECTIONS",n[n.SCHEDULER=6]="SCHEDULER",n[n.STREAMS=7]="STREAMS",n[n.NEONPIXEL=8]="NEONPIXEL",n[n.FORMBUILDER=9]="FORMBUILDER",n[n.MAILINGLIST=10]="MAILINGLIST",n[n.FILES=11]="FILES",n[n.DASHBOARD=13]="DASHBOARD",n[n.ROUTER=15]="ROUTER",n[n.MARKDOWN=17]="MARKDOWN",n[n.AWS=18]="AWS",n[n.STORE=19]="STORE",n[n.API_GATEWAY=20]="API_GATEWAY",n[n.DATABASES=21]="DATABASES",n[n.MY_ACCOUNT=22]="MY_ACCOUNT",n[n.COURSE=23]="COURSE",n[n.ALERTS=24]="ALERTS",n[n.REPORT_CENTER=25]="REPORT_CENTER",n[n.UPLOAD=26]="UPLOAD",n[n.PERFORMANCE_REPORT=29]="PERFORMANCE_REPORT",n[n.WIKI_VIEWER=30]="WIKI_VIEWER",n[n.S3FILES=31]="S3FILES",n[n.RECENT_UPLOADS=32]="RECENT_UPLOADS",n[n.PIVOT_REPORTS=33]="PIVOT_REPORTS",n[n.ACTION=34]="ACTION",n[n.AUDIO_EDITOR=35]="AUDIO_EDITOR",n[n.LABELLING=36]="LABELLING",n[n.PRESENTATION=37]="PRESENTATION",n[n.PRESENTATION_BUILDER=38]="PRESENTATION_BUILDER",n[n.TICKETING=39]="TICKETING",n[n.NP_RAW_REPORTING=40]="NP_RAW_REPORTING",n[n.EMAIL=42]="E
261MAIL",n[n.WALLET=43]="WALLET",n[n.CHATBOT=44]="CHATBOT",n[n.NP_AUDIENCE_REPORT=100]="NP_AUDIENCE_REPORT",n[n.NP_DAY_ZERO_REPORT=101]="NP_DAY_ZERO_REPORT",n[n.API_USER=102]="API_USER",n[n.DISCORD=103]="DISCORD",n[n.NP_COMPARE_TIME_RANGE=104]="NP_COMPARE_TIME_RANGE",n[n.TABBED=105]="TABBED",n[n.WEB_BUILDER=106]="WEB_BUILDER",n[n.PARALLAX=107]="PARALLAX",n[n.USER_MANAGEMENT=108]="USER_MANAGEMENT",n[n.DOMAIN_MANAGER=109]="DOMAIN_MANAGER",n[n.SURVEY=110]="SURVEY",n[n.CHROME_INTEGRATION=111]="CHROME_INTEGRATION",n[n.CALENDAR=112]="CALENDAR",n[n.MIDI=113]="MIDI",n[n.PAPER_SEARCH=114]="PAPER_SEARCH",n[n.LLM_REVIEWER=116]="LLM_REVIEWER",n[n.ORCHESTRATOR=117]="ORCHESTRATOR",n[n.AGENTS=118]="AGENTS",n[n.APPOINTMENTS=119]="APPOINTMENTS",n[n.VIDEO_EDITOR=120]="VIDEO_EDITOR"})(t.ApplicationType||(t.ApplicationType={}));const r=class Fm extends c.Message{constructor(i){super(),Et(this,e,[]),c.Message.initialize(this,Array.isArray(i)?i:[],0,-1,[],ot(this,e)),!Array.isArray(i)&&typeof i=="object"&&("singleton"in i&&i.singleton!=null&&(this.singleton=i.singleton),"allow_configure"in i&&i.allow_configure!=null&&(this.allow_configure=i.allow_configure),"allow_change_label"in i&&i.allow_change_label!=null&&(this.allow_change_label=i.allow_change_label),"allow_delete"in i&&i.allow_delete!=null&&(this.allow_delete=i.allow_delete),"allow_share"in i&&i.allow_share!=null&&(this.allow_share=i.allow_share))}get singleton(){return c.Message.getFieldWithDefault(this,1,!1)}set singleton(i){c.Message.setField(this,1,i)}get allow_configure(){return c.Message.getFieldWithDefault(this,2,!1)}set allow_configure(i){c.Message.setField(this,2,i)}get allow_change_label(){return c.Message.getFieldWithDefault(this,3,!1)}set allow_change_label(i){c.Message.setField(this,3,i)}get allow_delete(){return c.Message.getFieldWithDefault(this,4,!1)}set allow_delete(i){c.Message.setField(this,4,i)}get allow_share(){return c.Message.getFieldWithDefault(this,5,!1)}set allow_share(i){c.Message.setField(this,5,i)}static fromObject(i){const s=new Fm({});return i.singleton!=null&&(s.singleton=i.singleton),i.allow_configure!=null&&(s.allow_configure=i.allow_configure),i.allow_change_label!=null&&(s.allow_change_label=i.allow_change_label),i.allow_delete!=null&&(s.allow_delete=i.allow_delete),i.allow_share!=null&&(s.allow_share=i.allow_share),s}toObject(){const i={};return this.singleton!=null&&(i.singleton=this.singleton),this.allow_configure!=null&&(i.allow_configure=this.allow_configure),this.allow_change_label!=null&&(i.allow_change_label=this.allow_change_label),this.allow_delete!=null&&(i.allow_delete=this.allow_delete),this.allow_share!=null&&(i.allow_share=this.allow_share),i}serialize(i){const s=i||new c.BinaryWriter;if(this.singleton!=!1&&s.writeBool(1,this.singleton),this.allow_configure!=!1&&s.writeBool(2,this.allow_configure),this.allow_change_label!=!1&&s.writeBool(3,this.allow_change_label),this.allow_delete!=!1&&s.writeBool(4,this.allow_delete),this.allow_share!=!1&&s.writeBool(5,this.allow_share),!i)return s.getResultBuffer()}static deserialize(i){const s=i instanceof c.BinaryReader?i:new c.BinaryReader(i),a=new Fm;for(;s.nextField()&&!s.isEndGroup();)switch(s.getFieldNumber()){case 1:a.singleton=s.readBool();break;case 2:a.allow_configure=s.readBool();break;case 3:a.allow_change_label=s.readBool();break;case 4:a.allow_delete=s.readBool();break;case 5:a.allow_share=s.readBool();break;default:s.skipField()}return a}serializeBinary(){return this.serialize()}static deserializeBinary(i){return Fm.deserialize(i)}};e=new WeakMap,t.Preferences=r})(uo||(uo={}));const qK=class Dm extends c.Message{constructor(e){super(),Et(this,a2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[9],ot(this,a2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"created_at"in e&&e.created_at!=null&&(this.created_at=e.created_at),"last_updated_at"in e&&e.last_updated_at!=null&&(this.last_updated_at=e.last_updated_at),"label"in e&&e.label!=null&&(this.label=e.label),"desc"in e&&e.desc!=null&&(this.desc=e.desc),"slug"in e&&e.slug!=null&&(this.slug=e.slug),"icon"in e&&e.
261icon!=null&&(this.icon=e.icon),"params"in e&&e.params!=null&&(this.params=e.params))}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get created_at(){return c.Message.getFieldWithDefault(this,3,0)}set created_at(e){c.Message.setField(this,3,e)}get last_updated_at(){return c.Message.getFieldWithDefault(this,4,0)}set last_updated_at(e){c.Message.setField(this,4,e)}get label(){return c.Message.getFieldWithDefault(this,5,"")}set label(e){c.Message.setField(this,5,e)}get desc(){return c.Message.getFieldWithDefault(this,6,"")}set desc(e){c.Message.setField(this,6,e)}get slug(){return c.Message.getFieldWithDefault(this,7,"")}set slug(e){c.Message.setField(this,7,e)}get icon(){return c.Message.getFieldWithDefault(this,8,"")}set icon(e){c.Message.setField(this,8,e)}get params(){return c.Message.getRepeatedWrapperField(this,ft,9)}set params(e){c.Message.setRepeatedWrapperField(this,9,e)}static fromObject(e){const r=new Dm({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.created_at!=null&&(r.created_at=e.created_at),e.last_updated_at!=null&&(r.last_updated_at=e.last_updated_at),e.label!=null&&(r.label=e.label),e.desc!=null&&(r.desc=e.desc),e.slug!=null&&(r.slug=e.slug),e.icon!=null&&(r.icon=e.icon),e.params!=null&&(r.params=e.params.map(n=>ft.fromObject(n))),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.created_at!=null&&(e.created_at=this.created_at),this.last_updated_at!=null&&(e.last_updated_at=this.last_updated_at),this.label!=null&&(e.label=this.label),this.desc!=null&&(e.desc=this.desc),this.slug!=null&&(e.slug=this.slug),this.icon!=null&&(e.icon=this.icon),this.params!=null&&(e.params=this.params.map(r=>r.toObject())),e}serialize(e){const r=e||new c.BinaryWriter;if(this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.created_at!=0&&r.writeInt32(3,this.created_at),this.last_updated_at!=0&&r.writeInt32(4,this.last_updated_at),this.label.length&&r.writeString(5,this.label),this.desc.length&&r.writeString(6,this.desc),this.slug.length&&r.writeString(7,this.slug),this.icon.length&&r.writeString(8,this.icon),this.params.length&&r.writeRepeatedMessage(9,this.params,n=>n.serialize(r)),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Dm;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.created_at=r.readInt32();break;case 4:n.last_updated_at=r.readInt32();break;case 5:n.label=r.readString();break;case 6:n.desc=r.readString();break;case 7:n.slug=r.readString();break;case 8:n.icon=r.readString();break;
261case 9:r.readMessage(n.params,()=>c.Message.addToRepeatedWrapperField(n,9,ft.deserialize(r),ft));break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Dm.deserialize(e)}};a2=new WeakMap;let p7=qK;const VK=class Nm extends c.Message{constructor(e){super(),Et(this,Cm,[[2]]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,Cm)),!Array.isArray(e)&&typeof e=="object"&&("success"in e&&e.success!=null&&(this.success=e.success),"error_message"in e&&e.error_message!=null&&(this.error_message=e.error_message),"outputs"in e&&e.outputs!=null&&(this.outputs=e.outputs),"primary_output"in e&&e.primary_output!=null&&(this.primary_output=e.primary_output),"timestamp"in e&&e.timestamp!=null&&(this.timestamp=e.timestamp),"cost"in e&&e.cost!=null&&(this.cost=e.cost),"binary_data"in e&&e.binary_data!=null&&(this.binary_data=e.binary_data),"binary_mime_type"in e&&e.binary_mime_type!=null&&(this.binary_mime_type=e.binary_mime_type)),this.outputs||(this.outputs=new Map)}get success(){return c.Message.getFieldWithDefault(this,1,!1)}set success(e){c.Message.setField(this,1,e)}get error_message(){return c.Message.getFieldWithDefault(this,2,"")}set error_message(e){c.Message.setOneofField(this,2,ot(this,Cm)[0],e)}get has_error_message(){return c.Message.getField(this,2)!=null}get outputs(){return c.Message.getField(this,3)}set outputs(e){c.Message.setField(this,3,e)}get primary_output(){return c.Message.getFieldWithDefault(this,4,"")}set primary_output(e){c.Message.setField(this,4,e)}get timestamp(){return c.Message.getFieldWithDefault(this,5,0)}set timestamp(e){c.Message.setField(this,5,e)}get cost(){return c.Message.getFieldWithDefault(this,6,0)}set cost(e){c.Message.setField(this,6,e)}get binary_data(){return c.Message.getFieldWithDefault(this,7,new Uint8Array(0))}set binary_data(e){c.Message.setField(this,7,e)}get binary_mime_type(){return c.Message.getFieldWithDefault(this,8,"")}set binary_mime_type(e){c.Message.setField(this,8,e)}get _error_message(){return{0:"none",2:"error_message"}[c.Message.computeOneofCase(this,[2])]}static fromObject(e){const r=new Nm({});return e.success!=null&&(r.success=e.success),e.error_message!=null&&(r.error_message=e.error_message),typeof e.outputs=="object"&&(r.outputs=new Map(Object.entries(e.outputs).map(([n,i])=>[n,Ot.fromObject(i)]))),e.primary_output!=null&&(r.primary_output=e.primary_output),e.timestamp!=null&&(r.timestamp=e.timestamp),e.cost!=null&&(r.cost=e.cost),e.binary_data!=null&&(r.binary_data=e.binary_data),e.binary_mime_type!=null&&(r.binary_mime_type=e.binary_mime_type),r}toObject(){const e={};return this.success!=null&&(e.success=this.success),this.error_message!=null&&(e.error_message=this.error_message),this.outputs!=null&&(e.outputs=Object.fromEntries(Array.from(this.outputs).map(([r,n])=>[r,n.toObject()]))),this.primary_output!=null&&(e.primary_output=this.primary_output),this.timestamp!=null&&(e.timestamp=this.timestamp),this.cost!=null&&(e.cost=this.cost),this.binary_data!=null&&(e.binary_data=this.binary_data),this.binary_mime_type!=null&&(e.binary_mime_type=this.binary_mime_type),e}serialize(e){const r=e||new c.BinaryWriter;this.success!=!1&&r.writeBool(1,this.success),this.has_error_message&&r.writeString(2,this.error_message);for(const[n,i]of this.outputs)r.writeMessage(3,this.outputs,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.primary_output.length&&r.writeString(4,this.primary_output),this.timestamp!=0&&r.writeInt64(5,this.timestamp),this.cost!=0&&r.writeFloat(6,this.cost),this.binary_data.length&&r.writeBytes(7,this.binary_data),this.binary_mime_type.length&&r.writeString(8,this.binary_mime_type),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Nm;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.success=r.readBool();break;case 2:n.error_message=r.readString();break;case 3:r.readMessage(n,()=>c.Map.deserializeBinary(n.outputs,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 4:n.primary_output=r.readString();break;case 5:n.timestamp=r.readInt64();break;case 6:n.cost=r.readFloat();break;case 7:n.binary_data=r.readBytes();break;case 8:n.binary_mime_type=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Nm.deserialize(e)}};Cm=new WeakMap;let un=VK;const YK=class Pm extends c.Message{constructor(e){super(),Et(this,o2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[6,7,8,12,13,14],ot(this,o2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"created_at"in e&&e.created_at!=null&&(this.created_at=e.created_at),"last_updated_at"in e&&e.last_updated_at!=null&&(this.last_updated_at=e.last_updated_at),"label"in e&&e.label!=null&&(this.label=e.label),"app_object_ids"in e&&e.app_object_ids!=null&&(this.app_object_ids=e.app_object_ids),"action_object_ids"in e&&e.action_object_ids!=null&&(this.action_object_ids=e.action_object_ids),"features"in e&&e.features!=null&&(this.features=e.features),"is_admin"in e&&e.
261is_admin!=null&&(this.is_admin=e.is_admin),"add_to_user_on_signup"in e&&e.add_to_user_on_signup!=null&&(this.add_to_user_on_signup=e.add_to_user_on_signup),"email_regex_match"in e&&e.email_regex_match!=null&&(this.email_regex_match=e.email_regex_match),"allowed_credential_types"in e&&e.allowed_credential_types!=null&&(this.allowed_credential_types=e.allowed_credential_types),"stream_object_ids"in e&&e.stream_object_ids!=null&&(this.stream_object_ids=e.stream_object_ids),"params"in e&&e.params!=null&&(this.params=e.params),"param_values"in e&&e.param_values!=null&&(this.param_values=e.param_values),"allow_credential_sharing"in e&&e.allow_credential_sharing!=null&&(this.allow_credential_sharing=e.allow_credential_sharing)),this.param_values||(this.param_values=new Map)}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get created_at(){return c.Message.getFieldWithDefault(this,3,0)}set created_at(e){c.Message.setField(this,3,e)}get last_updated_at(){return c.Message.getFieldWithDefault(this,4,0)}set last_updated_at(e){c.Message.setField(this,4,e)}get label(){return c.Message.getFieldWithDefault(this,5,"")}set label(e){c.Message.setField(this,5,e)}get app_object_ids(){return c.Message.getFieldWithDefault(this,6,[])}set app_object_ids(e){c.Message.setField(this,6,e)}get action_object_ids(){return c.Message.getFieldWithDefault(this,7,[])}set action_object_ids(e){c.Message.setField(this,7,e)}get features(){return c.Message.getFieldWithDefault(this,8,[])}set features(e){c.Message.setField(this,8,e)}get is_admin(){return c.Message.getFieldWithDefault(this,9,!1)}set is_admin(e){c.Message.setField(this,9,e)}get add_to_user_on_signup(){return c.Message.getFieldWithDefault(this,10,!1)}set add_to_user_on_signup(e){c.Message.setField(this,10,e)}get email_regex_match(){return c.Message.getFieldWithDefault(this,11,"")}set email_regex_match(e){c.Message.setField(this,11,e)}get allowed_credential_types(){return c.Message.getFieldWithDefault(this,12,[])}set allowed_credential_types(e){c.Message.setField(this,12,e)}get stream_object_ids(){return c.Message.getFieldWithDefault(this,13,[])}set stream_object_ids(e){c.Message.setField(this,13,e)}get params(){return c.Message.getRepeatedWrapperField(this,ft,14)}set params(e){c.Message.setRepeatedWrapperField(this,14,e)}get param_values(){return c.Message.getField(this,15)}set param_values(e){c.Message.setField(this,15,e)}get allow_credential_sharing(){return c.Message.getFieldWithDefault(this,16,!1)}set allow_credential_sharing(e){c.Message.setField(this,16,e)}static fromObject(e){const r=new Pm({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.created_at!=null&&(r.created_at=e.created_at),e.last_updated_at!=null&&(r.last_updated_at=e.last_updated_at),e.label!=null&&(r.label=e.label),e.app_object_ids!=null&&(r.app_object_ids=e.app_object_ids),e.action_object_ids!=null&&(r.action_object_ids=e.action_object_ids),e.features!=null&&(r.features=e.features),e.is_admin!=null&&(r.is_admin=e.is_admin),e.add_to_user_on_signup!=null&&(r.add_to_user_on_signup=e.add_to_user_on_signup),e.email_regex_match!=null&&(r.email_regex_match=e.email_regex_match),e.allowed_credential_types!=null&&(r.allowed_credential_types=e.allowed_credential_types),e.stream_object_ids!=null&&(r.stream_object_ids=e.stream_object_ids),e.params!=null&&(r.params=e.params.map(n=>ft.fromObject(n))),typeof e.param_values=="object"&&(r.param_values=new Map(Object.entries(e.param_values).map(([n,i])=>[n,Ot.fromObject(i)]))),e.allow_credential_sharing!=null&&(r.allow_credential_sharing=e.allow_credential_sharing),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.created_at!=null&&(e.created_at=this.created_at),this.last_updated_at!=null&&(e.last_updated_at=this.last_updated_at),this.label!=null&&(e.label=this.label),this.app_object_ids!=null&&(e.app_object_ids=this.app_object_ids),this.action_object_ids!=null&&(e.action_object_ids=this.action_object_ids),this.features!=null&&(e.features=this.features),this.is_admin!=null&&(e.is_admin=this.is_admin),this.add_to_user_on_signup!=null&&(e.add_to_user_on_signup=this.add_to_user_on_signup),this.email_regex_match!=null&&(e.email_regex_match=this.email_regex_match),this.allowed_credential_types!=null&&(e.allowed_credential_types=this.allowed_credential_types),this.stream_object_ids!=null&&(e.stream_object_ids=this.stream_object_ids),this.params!=null&&(e.params=this.params.map(r=>r.toObject())),this.param_values!=null&&(e.param_values=Object.fromEntries(Array.from(this.param_values).map(([r,n])=>[r,n.toObject()]))),this.allow_credential_sharing!=null&&(e.allow_credential_sharing=this.allow_credential_sharing),e}serialize(e){const r=e||new c.BinaryWriter;this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.created_at!=0&&r.writeInt32(3,this.created_at),this.last_updated_at!=0&&r.writeInt32(4,this.last_updated_at),this.label.length&&r.writeString(5,this.label),this.app_object_ids.length&&r.writeRepeatedString(6,this.app_object_ids),this.action_object_ids.length&&r.writeRepeatedString(7,this.action_object_ids),this.features.length&&r.writeRepeatedString(8,this.features),this.is_admin!=!1&&r.writeBool(9,this.is_admin),this.add_to_user_on_signup!=!1&&r.writeBool(10,this.add_to_user_on_signup),this.email_regex_match.length&&r.writeString(11,this.email_regex_match),this.allowed_credential_types.length&&r.writePackedEnum(12,this.allowed_credential_types),this.stream_object_ids.length&&r.writeRepeatedString(13,this.stream_object_ids),this.params.length&&r.writeRepeatedMessage(14,this.params,n=>
261n.serialize(r));for(const[n,i]of this.param_values)r.writeMessage(15,this.param_values,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.allow_credential_sharing!=!1&&r.writeBool(16,this.allow_credential_sharing),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Pm;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.created_at=r.readInt32();break;case 4:n.last_updated_at=r.readInt32();break;case 5:n.label=r.readString();break;case 6:c.Message.addToRepeatedField(n,6,r.readString());break;case 7:c.Message.addToRepeatedField(n,7,r.readString());break;case 8:c.Message.addToRepeatedField(n,8,r.readString());break;case 9:n.is_admin=r.readBool();break;case 10:n.add_to_user_on_signup=r.readBool();break;case 11:n.email_regex_match=r.readString();break;case 12:n.allowed_credential_types=r.readPackedEnum();break;case 13:c.Message.addToRepeatedField(n,13,r.readString());break;
261case 14:r.readMessage(n.params,()=>c.Message.addToRepeatedWrapperField(n,14,ft.deserialize(r),ft));break;case 15:r.readMessage(n,()=>c.Map.deserializeBinary(n.param_values,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 16:n.allow_credential_sharing=r.readBool();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Pm.deserialize(e)}};o2=new WeakMap;let Ln=YK;const KK=class jc extends c.Message{constructor(e){super(),Et(this,l2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,l2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"atype"in e&&e.atype!=null&&(this.atype=e.atype),"script_object_id"in e&&e.script_object_id!=null&&(this.script_object_id=e.script_object_id),"action_id"in e&&e.action_id!=null&&(this.action_id=e.action_id),"cron"in e&&e.cron!=null&&(this.cron=e.cron),"title"in e&&e.title!=null&&(this.title=e.title),"sublabel"in e&&e.sublabel!=null&&(this.sublabel=e.sublabel),"icon"in e&&e.icon!=null&&(this.icon=e.icon),"error_count"in e&&e.error_count!=null&&(this.error_count=e.error_count),"run_count"in e&&e.run_count!=null&&(this.run_count=e.run_count),"last_compute_ms"in e&&e.last_compute_ms!=null&&(this.last_compute_ms=e.last_compute_ms),"last_err_at"in e&&e.last_err_at!=null&&(this.last_err_at=e.last_err_at),"last_err_message"in e&&e.last_err_message!=null&&(this.last_err_message=e.last_err_message),"last_receipt"in e&&e.last_receipt!=null&&(this.last_receipt=e.last_receipt),"last_run_at"in e&&e.last_run_at!=null&&(this.last_run_at=e.last_run_at),"paramValues"in e&&e.paramValues!=null&&(this.paramValues=e.paramValues),"last_updated_at"in e&&e.last_updated_at!=null&&(this.last_updated_at=e.last_updated_at)),this.paramValues||(this.paramValues=new Map)}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get atype(){return c.Message.getFieldWithDefault(this,17,jc.ActionType.ACTION)}set atype(e){c.Message.setField(this,17,e)}get script_object_id(){return c.Message.getFieldWithDefault(this,18,"")}set script_object_id(e){c.Message.setField(this,18,e)}get action_id(){return c.Message.getFieldWithDefault(this,3,"")}set action_id(e){c.Message.setField(this,3,e)}get cron(){return c.Message.getFieldWithDefault(this,4,"")}set cron(e){c.Message.setField(this,4,e)}get title(){return c.Message.getFieldWithDefault(this,5,"")}set title(e){c.Message.setField(this,5,e)}get sublabel(){return c.Message.getFieldWithDefault(this,6,"")}set sublabel(e){c.Message.setField(this,6,e)}get icon(){return c.Message.getFieldWithDefault(this,7,"")}set icon(e){c.Message.setField(this,7,e)}get error_count(){return c.Message.getFieldWithDefault(this,8,0)}set error_count(e){c.Message.setField(this,8,e)}get run_count(){return c.Message.getFieldWithDefault(this,9,0)}set run_count(e){c.Message.setField(this,9,e)}get last_compute_ms(){return c.Message.getFieldWithDefault(this,10,0)}set last_compute_ms(e){c.Message.setField(this,10,e)}get last_err_at(){return c.Message.getFieldWithDefault(this,11,0)}set last_err_at(e){c.Message.setField(this,11,e)}get last_err_message(){return c.Message.getFieldWithDefault(this,12,"")}set last_err_message(e){c.Message.setField(this,12,e)}get last_receipt(){return c.Message.getWrapperField(this,un,13)}set last_receipt(e){c.Message.setWrapperField(this,13,e)}get has_last_receipt(){return c.Message.getField(this,13)!=null}get last_run_at(){return c.Message.getFieldWithDefault(this,14,0)}set last_run_at(e){c.Message.setField(this,14,e)}get paramValues(){return c.Message.getField(this,15)}set paramValues(e){c.Message.setField(this,15,e)}get last_updated_at(){return c.Message.getFieldWithDefault(this,16,0)}set last_updated_at(e){c.Message.setField(this,16,e)}static fromObject(e){const r=new jc({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.atype!=null&&(r.atype=e.atype),e.script_object_id!=null&&(r.script_object_id=e.script_object_id),e.action_id!=null&&(r.action_id=e.action_id),e.cron!=null&&(r.cron=e.cron),e.title!=null&&(r.title=e.title),e.sublabel!=null&&(r.sublabel=e.sublabel),e.icon!=null&&(r.icon=e.icon),e.error_count!=null&&(r.error_count=e.error_count),e.run_count!=null&&(r.run_count=e.run_count),e.last_compute_ms!=null&&(r.last_compute_ms=e.last_compute_ms),e.last_err_at!=null&&(r.last_err_at=e.last_err_at),e.last_err_message!=null&&(r.last_err_message=e.last_err_message),e.last_receipt!=null&&(r.last_receipt=un.fromObject(e.last_receipt)),e.last_run_at!=null&&(r.last_run_at=e.last_run_at),typeof e.paramValues=="object"&&(r.paramValues=new Map(Object.entries(e.paramValues).map(([n,i])=>[n,Ot.fromObject(i)]))),e.last_updated_at!=null&&(r.last_updated_at=e.last_updated_at),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.atype!=null&&(e.atype=this.atype),this.script_object_id!=null&&(e.script_object_id=this.script_object_id),this.action_id!=null&&(e.action_id=this.action_id),this.cron!=null&&(e.cron=this.cron),this.title!=null&&(e.title=this.title),this.sublabel!=null&&(e.sublabel=this.sublabel),this.icon!=null&&(e.icon=this.icon),this.error_count!=null&&(e.error_count=this.error_count),this.run_count!=null&&(e.run_count=this.run_count),this.last_compute_ms!=null&&(e.last_compute_ms=this.last_compute_ms),this.last_err_at!=null&&(e.last_err_at=this.last_err_at),this.last_err_message!=null&&(e.last_err_message=this.last_err_message),this.last_receipt!=null&&(e.last_receipt=this.last_receipt.toObject()),this.last_run_at!=null&&(e.last_run_at=this.last_run_at),this.paramValues!=null&&(e.paramValues=Object.fromEntries(Array.from(this.paramValues).map(([r,n])=>[r,n.toObject()]))),this.last_updated_at!=null&&(e.last_updated_at=this.last_updated_at),e}serialize(e){const r=e||new c.BinaryWriter;this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.atype!=jc.ActionType.ACTION&&r.writeEnum(17,this.atype),this.script_object_id.length&&r.writeString(18,this.script_object_id),this.action_id.length&&r.writeString(3,this.action_id),this.cron.length&&r.writeString(4,this.cron),this.title.length&&r.writeString(5,this.title),this.sublabel.length&&r.writeString(6,this.sublabel),this.icon.length&&r.writeString(7,this.icon),this.error_count!=0&&r.writeInt32(8,this.error_count),this.run_count!=0&&r.writeInt32(9,this.run_count),this.last_compute_ms!=0&&r.writeInt32(10,this.last_compute_ms),this.last_err_at!=0&&r.writeInt32(11,this.last_err_at),this.last_err_message.length&&r.writeString(12,this.last_err_message),this.has_last_receipt&&r.writeMessage(13,this.last_receipt,()=>this.last_receipt.serialize(r)),this.last_run_at!=0&&r.writeInt32(14,this.last_run_at);for(const[n,i]of this.paramValues)r.writeMessage(15,this.paramValues,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>
261i.serialize(r))});if(this.last_updated_at!=0&&r.writeInt32(16,this.last_updated_at),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new jc;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 17:n.atype=r.readEnum();break;case 18:n.script_object_id=r.readString();break;case 3:n.action_id=r.readString();break;case 4:n.cron=r.readString();break;case 5:n.title=r.readString();break;case 6:n.sublabel=r.readString();break;case 7:n.icon=r.readString();break;case 8:n.error_count=r.readInt32();break;case 9:n.run_count=r.readInt32();break;case 10:n.last_compute_ms=r.readInt32();break;case 11:n.last_err_at=r.readInt32();break;case 12:n.last_err_message=r.readString();break;case 13:r.readMessage(n.last_receipt,()=>n.last_receipt=un.deserialize(r));break;case 14:n.last_run_at=r.readInt32();break;case 15:r.readMessage(n,()=>c.Map.deserializeBinary(n.paramValues,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 16:n.last_updated_at=r.readInt32();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return jc.deserialize(e)}};l2=new WeakMap;let m7=KK;(t=>{(e=>{e[e.ACTION=0]="ACTION",e[e.PLUS_SCRIPT=1]="PLUS_SCRIPT"})(t.ActionType||(t.ActionType={}))})(m7||(m7={}));const XK=class il extends c.Message{constructor(e){super(),Et(this,u2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[10],ot(this,u2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"created_at"in e&&e.created_at!=null&&(this.created_at=e.created_at),"label"in e&&e.label!=null&&(this.label=e.label),"item_name"in e&&e.item_name!=null&&(this.item_name=e.item_name),"label_formula"in e&&e.label_formula!=null&&(this.label_formula=e.label_formula),"shared"in e&&e.shared!=null&&(this.shared=e.shared),"readonly"in e&&e.readonly!=null&&(this.readonly=e.readonly),"trigger_object_id"in e&&e.trigger_object_id!=null&&(this.trigger_object_id=e.trigger_object_id),"buttons"in e&&e.buttons!=null&&(this.buttons=e.buttons),"run_all_script_object_id"in e&&e.run_all_script_object_id!=null&&(this.run_all_script_object_id=e.run_all_script_object_id))}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get created_at(){return c.Message.getFieldWithDefault(this,3,0)}set created_at(e){c.Message.setField(this,3,e)}get label(){return c.Message.getFieldWithDefault(this,4,"")}set label(e){c.Message.setField(this,4,e)}get item_name(){return c.Message.getFieldWithDefault(this,5,"")}set item_name(e){c.Message.setField(this,5,e)}get label_formula(){return c.Message.getFieldWithDefault(this,6,"")}set label_formula(e){c.Message.setField(this,6,e)}get shared(){return c.Message.getFieldWithDefault(this,7,!1)}set shared(e){c.Message.setField(this,7,e)}get readonly(){return c.Message.getFieldWithDefault(this,8,!1)}set readonly(e){c.Message.setField(this,8,e)}get trigger_object_id(){return c.Message.getFieldWithDefault(this,9,"")}set trigger_object_id(e){c.Message.setField(this,9,e)}get buttons(){return c.Message.getRepeatedWrapperField(this,il.Button,10)}set buttons(e){c.Message.setRepeatedWrapperField(this,10,e)}get run_all_script_object_id(){return c.Message.getFieldWithDefault(this,11,"")}set run_all_script_object_id(e){c.Message.setField(this,11,e)}static fromObject(e){const r=new il({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.created_at!=null&&(r.created_at=e.created_at),e.label!=null&&(r.label=e.label),e.item_name!=null&&(r.item_name=e.item_name),e.label_formula!=null&&(r.label_formula=e.label_formula),e.shared!=null&&(r.shared=e.shared),e.readonly!=null&&(r.readonly=e.readonly),e.trigger_object_id!=null&&(r.trigger_object_id=e.trigger_object_id),e.buttons!=null&&(r.buttons=e.buttons.map(n=>il.Button.fromObject(n))),e.run_all_script_object_id!=null&&(r.run_all_script_object_id=e.run_all_script_object_id),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.created_at!=null&&(e.created_at=this.created_at),this.label!=null&&(e.label=this.label),this.item_name!=null&&(e.item_name=this.item_name),this.label_formula!=null&&(e.label_formula=this.label_formula),this.shared!=null&&(e.shared=this.shared),this.readonly!=null&&(e.readonly=this.readonly),this.trigger_object_id!=null&&(e.trigger_object_id=this.trigger_object_id),this.buttons!=null&&(e.buttons=this.buttons.map(r=>r.toObject())),this.run_all_script_object_id!=null&&(e.run_all_script_object_id=this.run_all_script_object_id),e}serialize(e){const r=e||new c.BinaryWriter;if(this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.created_at!=0&&r.writeInt64(3,this.created_at),this.label.length&&r.writeString(4,this.label),this.item_name.length&&r.writeString(5,this.item_name),this.label_formula.length&&r.writeString(6,this.label_formula),this.shared!=!1&&r.writeBool(7,this.shared),this.readonly!=!1&&r.writeBool(8,this.readonly),this.trigger_object_id.length&&r.writeString(9,this.trigger_object_id),this.buttons.length&&r.writeRepeatedMessage(10,this.buttons,n=>
261n.serialize(r)),this.run_all_script_object_id.length&&r.writeString(11,this.run_all_script_object_id),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new il;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.created_at=r.readInt64();break;case 4:n.label=r.readString();break;case 5:n.item_name=r.readString();break;case 6:n.label_formula=r.readString();break;case 7:n.shared=r.readBool();break;case 8:n.readonly=r.readBool();break;case 9:n.trigger_object_id=r.readString();break;case 10:r.readMessage(n.buttons,()=>c.Message.addToRepeatedWrapperField(n,10,il.Button.deserialize(r),il.Button));break;case 11:n.run_all_script_object_id=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return il.deserialize(e)}};u2=new WeakMap;let g7=XK;(t=>{var e;const r=class Lm extends c.Message{constructor(i){super(),Et(this,e,[]),c.Message.initialize(this,Array.isArray(i)?i:[],0,-1,[],ot(this,e)),!Array.isArray(i)&&typeof i=="object"&&("uid"in i&&i.uid!=null&&(this.uid=i.uid),"label"in i&&i.label!=null&&(this.label=i.label),"icon"in i&&i.icon!=null&&(this.icon=i.icon),"disabled"in i&&i.disabled!=null&&(this.disabled=i.disabled),"script_id"in i&&i.script_id!=null&&(this.script_id=i.script_id))}get uid(){return c.Message.getFieldWithDefault(this,1,"")}set uid(i){c.Message.setField(this,1,i)}get label(){return c.Message.getFieldWithDefault(this,2,"")}set label(i){c.Message.setField(this,2,i)}get icon(){return c.Message.getFieldWithDefault(this,3,"")}set icon(i){c.Message.setField(this,3,i)}get disabled(){return c.Message.getFieldWithDefault(this,4,!1)}set disabled(i){c.Message.setField(this,4,i)}get script_id(){return c.Message.getFieldWithDefault(this,5,"")}set script_id(i){c.Message.setField(this,5,i)}static fromObject(i){const s=new Lm({});return i.uid!=null&&(s.uid=i.uid),i.label!=null&&(s.label=i.label),i.icon!=null&&(s.icon=i.icon),i.disabled!=null&&(s.disabled=i.disabled),i.script_id!=null&&(s.script_id=i.script_id),s}toObject(){const i={};return this.uid!=null&&(i.uid=this.uid),this.label!=null&&(i.label=this.label),this.icon!=null&&(i.icon=this.icon),this.disabled!=null&&(i.disabled=this.disabled),this.script_id!=null&&(i.script_id=this.script_id),i}serialize(i){const s=i||new c.BinaryWriter;if(this.uid.length&&s.writeString(1,this.uid),this.label.length&&s.writeString(2,this.label),this.icon.length&&s.writeString(3,this.icon),this.disabled!=!1&&s.writeBool(4,this.disabled),this.script_id.length&&s.writeString(5,this.script_id),!i)return s.getResultBuffer()}static deserialize(i){const s=i instanceof c.BinaryReader?i:new c.BinaryReader(i),a=new Lm;for(;s.nextField()&&!s.isEndGroup();)switch(s.getFieldNumber()){case 1:a.uid=s.readString();break;case 2:a.label=s.readString();break;case 3:a.icon=s.readString();break;case 4:a.disabled=s.readBool();break;case 5:a.script_id=s.readString();break;default:s.skipField()}return a}serializeBinary(){return this.serialize()}static deserializeBinary(i){return Lm.deserialize(i)}};e=new WeakMap,t.Button=r})(g7||(g7={}));const QK=class wa extends c.Message{constructor(e){super(),Et(this,c2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[3],ot(this,c2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"elements"in e&&e.elements!=null&&(this.elements=e.elements),"dashboard_parameter_values"in e&&e.dashboard_parameter_values!=null&&(this.dashboard_parameter_values=e.dashboard_parameter_values),"destination"in e&&e.destination!=null&&(this.destination=e.destination),"dest_prefix"in e&&e.dest_prefix!=null&&(this.dest_prefix=e.dest_prefix),"dest_owner"in e&&e.dest_owner!=null&&(this.dest_owner=e.dest_owner),"dest_stream_id"in e&&e.dest_stream_id!=null&&(this.dest_stream_id=e.dest_stream_id),"dest_action_id"in e&&e.dest_action_id!=null&&(this.dest_action_id=e.dest_action_id),"dest_script"in e&&e.dest_script!=null&&(this.dest_script=e.dest_script),"is_public"in e&&e.
261is_public!=null&&(this.is_public=e.is_public),"action_output_destination"in e&&e.action_output_destination!=null&&(this.action_output_destination=e.action_output_destination),"action_in_map"in e&&e.action_in_map!=null&&(this.action_in_map=e.action_in_map),"title"in e&&e.title!=null&&(this.title=e.title),"refresh_interval_seconds"in e&&e.refresh_interval_seconds!=null&&(this.refresh_interval_seconds=e.refresh_interval_seconds)),this.dashboard_parameter_values||(this.dashboard_parameter_values=new Map),this.action_output_destination||(this.action_output_destination=new Map),this.action_in_map||(this.action_in_map=new Map)}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get elements(){return c.Message.getRepeatedWrapperField(this,h0,3)}set elements(e){c.Message.setRepeatedWrapperField(this,3,e)}get dashboard_parameter_values(){return c.Message.getField(this,4)}set dashboard_parameter_values(e){c.Message.setField(this,4,e)}get destination(){return c.Message.getFieldWithDefault(this,5,wa.Destination.INACTIVE)}set destination(e){c.Message.setField(this,5,e)}get dest_prefix(){return c.Message.getFieldWithDefault(this,6,"")}set dest_prefix(e){c.Message.setField(this,6,e)}get dest_owner(){return c.Message.getFieldWithDefault(this,7,"")}set dest_owner(e){c.Message.setField(this,7,e)}get dest_stream_id(){return c.Message.getFieldWithDefault(this,8,"")}set dest_stream_id(e){c.Message.setField(this,8,e)}get dest_action_id(){return c.Message.getFieldWithDefault(this,9,"")}set dest_action_id(e){c.Message.setField(this,9,e)}get dest_script(){return c.Message.getWrapperField(this,sr,10)}set dest_script(e){c.Message.setWrapperField(this,10,e)}get has_dest_script(){return c.Message.getField(this,10)!=null}get is_public(){return c.Message.getFieldWithDefault(this,11,!1)}set is_public(e){c.Message.setField(this,11,e)}get action_output_destination(){return c.Message.getField(this,12)}set action_output_destination(e){c.Message.setField(this,12,e)}get action_in_map(){return c.Message.getField(this,13)}set action_in_map(e){c.Message.setField(this,13,e)}get title(){return c.Message.getFieldWithDefault(this,14,"")}set title(e){c.Message.setField(this,14,e)}get refresh_interval_seconds(){return c.Message.getFieldWithDefault(this,15,0)}set refresh_interval_seconds(e){c.Message.setField(this,15,e)}static fromObject(e){const r=new wa({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.elements!=null&&(r.elements=e.elements.map(n=>h0.fromObject(n))),typeof e.dashboard_parameter_values=="object"&&(r.dashboard_parameter_values=new Map(Object.entries(e.dashboard_parameter_values).map(([n,i])=>[n,Ot.fromObject(i)]))),e.destination!=null&&(r.destination=e.destination),e.dest_prefix!=null&&(r.dest_prefix=e.dest_prefix),e.dest_owner!=null&&(r.dest_owner=e.dest_owner),e.dest_stream_id!=null&&(r.dest_stream_id=e.dest_stream_id),e.dest_action_id!=null&&(r.dest_action_id=e.dest_action_id),e.dest_script!=null&&(r.dest_script=sr.fromObject(e.dest_script)),e.is_public!=null&&(r.is_public=e.is_public),typeof e.action_output_destination=="object"&&(r.action_output_destination=new Map(Object.entries(e.action_output_destination).map(([n,i])=>[n,wa.OutputDestination.fromObject(i)]))),typeof e.action_in_map=="object"&&(r.action_in_map=new Map(Object.entries(e.action_in_map).map(([n,i])=>[n,wa.InputMapping.fromObject(i)]))),e.title!=null&&(r.title=e.title),e.refresh_interval_seconds!=null&&(r.refresh_interval_seconds=e.refresh_interval_seconds),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.elements!=null&&(e.elements=this.elements.map(r=>r.toObject())),this.dashboard_parameter_values!=null&&(e.dashboard_parameter_values=Object.fromEntries(Array.from(this.dashboard_parameter_values).map(([r,n])=>[r,n.toObject()]))),this.destination!=null&&(e.destination=this.destination),this.dest_prefix!=null&&(e.dest_prefix=this.dest_prefix),this.dest_owner!=null&&(e.dest_owner=this.dest_owner),this.dest_stream_id!=null&&(e.dest_stream_id=this.dest_stream_id),this.dest_action_id!=null&&(e.dest_action_id=this.dest_action_id),this.dest_script!=null&&(e.dest_script=this.dest_script.toObject()),this.is_public!=null&&(e.is_public=this.is_public),this.action_output_destination!=null&&(e.action_output_destination=Object.fromEntries(Array.from(this.action_output_destination).map(([r,n])=>[r,n.toObject()]))),this.action_in_map!=null&&(e.action_in_map=Object.fromEntries(Array.from(this.action_in_map).map(([r,n])=>[r,n.toObject()]))),this.title!=null&&(e.title=this.title),this.refresh_interval_seconds!=null&&(e.refresh_interval_seconds=this.refresh_interval_seconds),e}serialize(e){const r=e||new c.BinaryWriter;this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.elements.length&&r.writeRepeatedMessage(3,this.elements,n=>
261n.serialize(r));for(const[n,i]of this.dashboard_parameter_values)r.writeMessage(4,this.dashboard_parameter_values,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});this.destination!=wa.Destination.INACTIVE&&r.writeEnum(5,this.destination),this.dest_prefix.length&&r.writeString(6,this.dest_prefix),this.dest_owner.length&&r.writeString(7,this.dest_owner),this.dest_stream_id.length&&r.writeString(8,this.dest_stream_id),this.dest_action_id.length&&r.writeString(9,this.dest_action_id),this.has_dest_script&&r.writeMessage(10,this.dest_script,()=>this.dest_script.serialize(r)),this.is_public!=!1&&r.writeBool(11,this.is_public);for(const[n,i]of this.action_output_destination)r.writeMessage(12,this.action_output_destination,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});for(const[n,i]of this.action_in_map)r.writeMessage(13,this.action_in_map,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.title.length&&r.writeString(14,this.title),this.refresh_interval_seconds!=0&&r.writeInt32(15,this.refresh_interval_seconds),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new wa;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:r.readMessage(n.elements,()=>c.Message.addToRepeatedWrapperField(n,3,h0.deserialize(r),h0));break;case 4:r.readMessage(n,()=>c.Map.deserializeBinary(n.dashboard_parameter_values,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 5:n.destination=r.readEnum();break;case 6:n.dest_prefix=r.readString();break;case 7:n.dest_owner=r.readString();break;case 8:n.dest_stream_id=r.readString();break;case 9:n.dest_action_id=r.readString();break;case 10:r.readMessage(n.dest_script,()=>n.dest_script=sr.deserialize(r));break;case 11:n.is_public=r.readBool();break;case 12:r.readMessage(n,()=>c.Map.deserializeBinary(n.action_output_destination,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=wa.OutputDestination.deserialize(r)),i}));break;case 13:r.readMessage(n,()=>c.Map.deserializeBinary(n.action_in_map,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=wa.InputMapping.deserialize(r)),i}));break;case 14:n.title=r.readString();break;case 15:n.refresh_interval_seconds=r.readInt32();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return wa.deserialize(e)}};c2=new WeakMap;let _7=QK;(t=>{var e,r;(s=>{s[s.INACTIVE=0]="INACTIVE",s[s.FILE=1]="FILE",s[s.COLLECTION=2]="COLLECTION",s[s.STREAM=3]="STREAM",s[s.ACTION=4]="ACTION",s[s.PLUS_SCRIPT=5]="PLUS_SCRIPT"})(t.Destination||(t.Destination={}));const n=class Bm extends c.Message{constructor(a){super(),Et(this,e,[]),c.Message.initialize(this,Array.isArray(a)?a:[],0,-1,[],ot(this,e)),!Array.isArray(a)&&typeof a=="object"&&("name"in a&&a.name!=null&&(this.name=a.name),"keep"in a&&a.keep!=null&&(this.keep=a.keep))}get name(){return c.Message.getFieldWithDefault(this,1,"")}set name(a){c.Message.setField(this,1,a)}get keep(){return c.Message.getFieldWithDefault(this,2,!1)}set keep(a){c.Message.setField(this,2,a)}static fromObject(a){const l=new Bm({});return a.name!=null&&(l.name=a.name),a.keep!=null&&(l.keep=a.keep),l}toObject(){const a={};return this.name!=null&&(a.name=this.name),this.keep!=null&&(a.keep=this.keep),a}serialize(a){const l=a||new c.BinaryWriter;if(this.name.length&&l.writeString(1,this.name),this.keep!=!1&&l.writeBool(2,this.keep),!a)return l.getResultBuffer()}static deserialize(a){const l=a instanceof c.BinaryReader?a:new c.BinaryReader(a),u=new Bm;for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:u.name=l.readString();break;case 2:u.keep=l.readBool();break;default:l.skipField()}return u}serializeBinary(){return this.serialize()}static deserializeBinary(a){return Bm.deserialize(a)}};e=new WeakMap,t.OutputDestination=n;const i=class Um extends c.Message{constructor(a){super(),Et(this,r,[[3]]),c.Message.initialize(this,Array.isArray(a)?a:[],0,-1,[],ot(this,r)),!Array.isArray(a)&&typeof a=="object"&&("name"in a&&a.name!=null&&(this.name=a.name),"is_static"in a&&a.is_static!=null&&(this.is_static=a.is_static),"static_val"in a&&a.static_val!=null&&(this.static_val=a.static_val),"on_demand"in a&&a.on_demand!=null&&(this.on_demand=a.on_demand))}get name(){return c.Message.getFieldWithDefault(this,1,"")}set name(a){c.Message.setField(this,1,a)}get is_static(){return c.Message.getFieldWithDefault(this,2,!1)}set is_static(a){c.Message.setField(this,2,a)}get static_val(){return c.Message.getWrapperField(this,Ot,3)}set static_val(a){c.Message.setOneofWrapperField(this,3,ot(this,r)[0],a)}get has_static_val(){return c.Message.getField(this,3)!=null}get on_demand(){return c.Message.getFieldWithDefault(this,4,!1)}set on_demand(a){c.Message.setField(this,4,a)}get _static_val(){return{0:"none",3:"static_val"}[c.Message.computeOneofCase(this,[3])]}static fromObject(a){const l=new Um({});return a.name!=null&&(l.name=a.name),a.is_static!=null&&(l.is_static=a.is_static),a.static_val!=null&&(l.static_val=Ot.fromObject(a.static_val)),a.on_demand!=null&&(l.on_demand=a.on_demand),l}toObject(){const a={};return this.name!=null&&(a.name=this.name),this.is_static!=null&&(a.is_static=this.is_static),this.static_val!=null&&(a.static_val=this.static_val.toObject()),this.on_demand!=null&&(a.on_demand=this.on_demand),a}serialize(a){const l=a||new c.BinaryWriter;if(this.name.length&&l.writeString(1,this.name),this.is_static!=!1&&l.writeBool(2,this.is_static),this.has_static_val&&l.writeMessage(3,this.static_val,()=>this.static_val.serialize(l)),this.on_demand!=!1&&l.writeBool(4,this.on_demand),!a)return l.getResultBuffer()}static deserialize(a){const l=a instanceof c.BinaryReader?a:new c.BinaryReader(a),u=new Um;for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:u.name=l.readString();break;case 2:u.is_static=l.readBool();break;case 3:l.readMessage(u.static_val,()=>u.static_val=Ot.deserialize(l));break;case 4:u.on_demand=l.readBool();break;default:l.skipField()}return u}serializeBinary(){return this.serialize()}static deserializeBinary(a){return Um.deserialize(a)}};r=new WeakMap,t.InputMapping=i})(_7||(_7={}));const JK=class ji extends c.Message{constructor(e){super(),Et(this,h2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,h2)),!Array.isArray(e)&&typeof e=="object"&&("source"in e&&e.source!=null&&(this.source=e.source),"transform"in e&&e.transform!=null&&(this.transform=e.transform),"format"in e&&e.format!=null&&(this.format=e.format))}get source(){return c.Message.getWrapperField(this,ji.Source,1)}set source(e){c.Message.setWrapperField(this,1,e)}get has_source(){return c.Message.getField(this,1)!=null}get transform(){return c.Message.getWrapperField(this,ji.Transform,2)}set transform(e){c.Message.setWrapperField(this,2,e)}get has_transform(){return c.Message.getField(this,2)!=null}get format(){return c.Message.getWrapperField(this,ji.Format,3)}set format(e){c.Message.setWrapperField(this,3,e)}get has_format(){return c.Message.getField(this,3)!=null}static fromObject(e){const r=new ji({});return e.source!=null&&(r.source=ji.Source.fromObject(e.source)),e.transform!=null&&(r.transform=ji.Transform.fromObject(e.transform)),e.format!=null&&(r.format=ji.Format.fromObject(e.format)),r}toObject(){const e={};return this.source!=null&&(e.source=this.source.toObject()),this.transform!=null&&(e.transform=this.transform.toObject()),this.format!=null&&(e.format=this.format.toObject()),e}serialize(e){const r=e||new c.BinaryWriter;if(this.has_source&&r.writeMessage(1,this.source,()=>this.source.serialize(r)),this.has_transform&&r.writeMessage(2,this.transform,()=>this.transform.serialize(r)),this.has_format&&r.writeMessage(3,this.format,()=>this.format.serialize(r)),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new ji;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:r.readMessage(n.source,()=>n.source=ji.Source.deserialize(r));break;case 2:r.readMessage(n.transform,()=>n.transform=ji.Transform.deserialize(r));break;case 3:r.readMessage(n.format,()=>n.format=ji.Format.deserialize(r));break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return ji.deserialize(e)}};h2=new WeakMap;let df=JK;(t=>{var e,r,n,i;(p=>{p[p.SOURCE_UNSET=0]="SOURCE_UNSET",p[p.STREAM=1]="STREAM",p[p.COUNTER=2]="COUNTER",p[p.COLLECTION=3]="COLLECTION",p[p.ACTION=4]="ACTION",p[p.HANDLER_OUTPUT=5]="HANDLER_OUTPUT",p[p.CSV=6]="CSV"})(t.SourceType||(t.SourceType={}));const s=class zm extends c.Message{constructor(d){super(),Et(this,e,[]),c.Message.initialize(this,Array.isArray(d)?d:[],0,-1,[],ot(this,e)),!Array.isArray(d)&&typeof d=="object"&&("field"in d&&d.field!=null&&(this.field=d.field),"op"in d&&d.op!=null&&(this.op=d.op),"value"in d&&d.value!=null&&(this.value=d.value))}get field(){return c.Message.getFieldWithDefault(this,1,"")}set field(d){c.Message.setField(this,1,d)}get op(){return c.Message.getFieldWithDefault(this,2,"")}set op(d){c.Message.setField(this,2,d)}get value(){return c.Message.getFieldWithDefault(this,3,"")}set value(d){c.Message.setField(this,3,d)}static fromObject(d){const g=new zm({});return d.field!=null&&(g.field=d.field),d.op!=null&&(g.op=d.op),d.value!=null&&(g.value=d.value),g}toObject(){const d={};return this.field!=null&&(d.field=this.field),this.op!=null&&(d.op=this.op),this.value!=null&&(d.value=this.value),d}serialize(d){const g=d||new c.BinaryWriter;if(this.field.length&&g.writeString(1,this.field),this.op.length&&g.writeString(2,this.op),this.value.length&&g.writeString(3,this.value),!d)return g.getResultBuffer()}static deserialize(d){const g=d instanceof c.BinaryReader?d:new c.BinaryReader(d),_=new zm;for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:_.field=g.readString();break;case 2:_.op=g.readString();break;case 3:_.value=g.readString();break;default:g.skipField()}return _}serializeBinary(){return this.serialize()}static deserializeBinary(d){return zm.deserialize(d)}};e=new WeakMap,t.Filter=s;const a=class jm extends c.Message{constructor(d){super(),Et(this,r,[]),c.Message.initialize(this,Array.isArray(d)?d:[],0,-1,[4],ot(this,r)),!Array.isArray(d)&&typeof d=="object"&&("stype"in d&&d.stype!=null&&(this.stype=d.stype),"ref"in d&&d.ref!=null&&(this.ref=d.ref),"window_days"in d&&d.window_days!=null&&(this.window_days=d.window_days),"filters"in d&&d.filters!=null&&(this.filters=d.filters))}get stype(){return c.Message.getFieldWithDefault(this,1,0)}set stype(d){c.Message.setField(this,1,d)}get ref(){return c.Message.getFieldWithDefault(this,2,"")}set ref(d){c.Message.setField(this,2,d)}get window_days(){return c.Message.getFieldWithDefault(this,3,0)}set window_days(d){c.Message.setField(this,3,d)}get filters(){return c.Message.getRepeatedWrapperField(this,t.Filter,4)}set filters(d){c.Message.setRepeatedWrapperField(this,4,d)}static fromObject(d){const g=new jm({});return d.stype!=null&&(g.stype=d.stype),d.ref!=null&&(g.ref=d.ref),d.window_days!=null&&(g.window_days=d.window_days),d.filters!=null&&(g.filters=d.filters.map(_=>t.Filter.fromObject(_))),g}toObject(){const d={};return this.stype!=null&&(d.stype=this.stype),this.ref!=null&&(d.ref=this.ref),this.window_days!=null&&(d.window_days=this.window_days),this.filters!=null&&(d.filters=this.filters.map(g=>g.toObject())),d}serialize(d){const g=d||new c.BinaryWriter;if(this.stype!=0&&g.writeEnum(1,this.stype),this.ref.length&&g.writeString(2,this.ref),this.window_days!=0&&g.writeInt32(3,this.window_days),this.filters.length&&g.writeRepeatedMessage(4,this.filters,_=>_.serialize(g)),!d)return g.getResultBuffer()}static deserialize(d){const g=d instanceof c.BinaryReader?d:new c.BinaryReader(d),_=new jm;for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:_.stype=g.readEnum();break;case 2:_.ref=g.readString();break;case 3:_.window_days=g.readInt32();break;case 4:g.readMessage(_.filters,()=>c.Message.addToRepeatedWrapperField(_,4,t.Filter.deserialize(g),t.Filter));break;default:g.skipField()}return _}serializeBinary(){return this.serialize()}static deserializeBinary(d){return jm.deserialize(d)}};r=new WeakMap,t.Source=a;const l=class Hm extends c.Message{constructor(d){super(),Et(this,n,[]),c.Message.initialize(this,Array.isArray(d)?d:[],0,-1,[],ot(this,n)),!Array.isArray(d)&&typeof d=="object"&&("bucket"in d&&d.bucket!=null&&(this.bucket=d.bucket),"agg"in d&&d.agg!=null&&(this.agg=d.agg),"field"in d&&d.field!=null&&(this.field=d.field),"timezone"in d&&d.timezone!=null&&(this.timezone=d.timezone),"fill"in d&&d.fill!=null&&(this.fill=d.fill),"compare"in d&&d.compare!=null&&(this.compare=d.compare))}get bucket(){return c.Message.getFieldWithDefault(this,1,"")}set bucket(d){c.Message.setField(this,1,d)}get agg(){return c.Message.getFieldWithDefault(this,2,"")}set agg(d){c.Message.setField(this,2,d)}get field(){return c.Message.getFieldWithDefault(this,3,"")}set field(d){c.Message.setField(this,3,d)}get timezone(){return c.Message.getFieldWithDefault(this,4,"")}set timezone(d){c.Message.setField(this,4,d)}get fill(){return c.Message.getFieldWithDefault(this,5,"")}set fill(d){c.Message.setField(this,5,d)}get compare(){return c.Message.getFieldWithDefault(this,6,"")}set compare(d){c.Message.setField(this,6,d)}static fromObject(d){const g=new Hm({});return d.bucket!=null&&(g.bucket=d.bucket),d.agg!=null&&(g.agg=d.agg),d.field!=null&&(g.field=d.field),d.timezone!=null&&(g.timezone=d.timezone),d.fill!=null&&(g.fill=d.fill),d.compare!=null&&(g.compare=d.compare),g}toObject(){const d={};return this.bucket!=null&&(d.bucket=this.bucket),this.agg!=null&&(d.agg=this.agg),this.field!=null&&(d.field=this.field),this.timezone!=null&&(d.timezone=this.timezone),this.fill!=null&&(d.fill=this.fill),this.compare!=null&&(d.compare=this.compare),d}serialize(d){const g=d||new c.BinaryWriter;if(this.bucket.length&&g.writeString(1,this.bucket),this.agg.length&&g.writeString(2,this.agg),this.field.length&&g.writeString(3,this.field),this.timezone.length&&g.writeString(4,this.timezone),this.fill.length&&g.writeString(5,this.fill),this.compare.length&&g.writeString(6,this.compare),!d)return g.getResultBuffer()}static deserialize(d){const g=d instanceof c.BinaryReader?d:new c.BinaryReader(d),_=new Hm;for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:_.bucket=g.readString();break;case 2:_.agg=g.readString();break;case 3:_.field=g.readString();break;case 4:_.timezone=g.readString();break;case 5:_.fill=g.readString();break;case 6:_.compare=g.readString();break;default:g.skipField()}return _}serializeBinary(){return this.serialize()}static deserializeBinary(d){return Hm.deserialize(d)}};n=new WeakMap,t.Transform=l;const u=class Wm extends c.Message{constructor(d){super(),Et(this,i,[]),c.Message.initialize(this,Array.isArray(d)?d:[],0,-1,[],ot(this,i)),!Array.isArray(d)&&typeof d=="object"&&("prefix"in d&&d.prefix!=null&&(this.prefix=d.prefix),"suffix"in d&&d.suffix!=null&&(this.suffix=d.suffix),"decimals"in d&&d.decimals!=null&&(this.decimals=d.decimals),"compact"in d&&d.compact!=null&&(this.compact=d.compact))}get prefix(){return c.Message.getFieldWithDefault(this,1,"")}set prefix(d){c.Message.setField(this,1,d)}get suffix(){return c.Message.getFieldWithDefault(this,2,"")}set suffix(d){c.Message.setField(this,2,d)}get decimals(){return c.Message.getFieldWithDefault(this,3,0)}set decimals(d){c.Message.setField(this,3,d)}get compact(){return c.Message.getFieldWithDefault(this,4,!1)}set compact(d){c.Message.setField(this,4,d)}static fromObject(d){const g=new Wm({});return d.prefix!=null&&(g.prefix=d.prefix),d.suffix!=null&&(g.suffix=d.suffix),d.decimals!=null&&(g.decimals=d.decimals),d.compact!=null&&(g.compact=d.compact),g}toObject(){const d={};return this.prefix!=null&&(d.prefix=this.prefix),this.suffix!=null&&(d.suffix=this.suffix
261),this.decimals!=null&&(d.decimals=this.decimals),this.compact!=null&&(d.compact=this.compact),d}serialize(d){const g=d||new c.BinaryWriter;if(this.prefix.length&&g.writeString(1,this.prefix),this.suffix.length&&g.writeString(2,this.suffix),this.decimals!=0&&g.writeInt32(3,this.decimals),this.compact!=!1&&g.writeBool(4,this.compact),!d)return g.getResultBuffer()}static deserialize(d){const g=d instanceof c.BinaryReader?d:new c.BinaryReader(d),_=new Wm;for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:_.prefix=g.readString();break;case 2:_.suffix=g.readString();break;case 3:_.decimals=g.readInt32();break;case 4:_.compact=g.readBool();break;default:g.skipField()}return _}serializeBinary(){return this.serialize()}static deserializeBinary(d){return Wm.deserialize(d)}};i=new WeakMap,t.Format=u})(df||(df={}));const ZK=class cs extends c.Message{constructor(e){super(),Et(this,f2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[17],ot(this,f2)),!Array.isArray(e)&&typeof e=="object"&&("dtype"in e&&e.dtype!=null&&(this.dtype=e.dtype),"uid"in e&&e.uid!=null&&(this.uid=e.uid),"layouts"in e&&e.layouts!=null&&(this.layouts=e.layouts),"file_key"in e&&e.file_key!=null&&(this.file_key=e.file_key),"file_prefix"in e&&e.file_prefix!=null&&(this.file_prefix=e.file_prefix),"stream_id"in e&&e.stream_id!=null&&(this.stream_id=e.stream_id),"url"in e&&e.url!=null&&(this.url=e.url),"action_id"in e&&e.action_id!=null&&(this.action_id=e.action_id),"icon"in e&&e.icon!=null&&(this.icon=e.icon),"title"in e&&e.title!=null&&(this.title=e.title),"param_map"in e&&e.param_map!=null&&(this.param_map=e.param_map),"text"in e&&e.text!=null&&(this.text=e.text),"var_name"in e&&e.var_name!=null&&(this.var_name=e.var_name),"param"in e&&e.param!=null&&(this.param=e.param),"extra"in e&&e.extra!=null&&(this.extra=e.extra),"script_id"in e&&e.script_id!=null&&(this.script_id=e.script_id),"elements"in e&&e.elements!=null&&(this.elements=e.elements),"num_elements"in e&&e.num_elements!=null&&(this.num_elements=e.num_elements),"auto_refresh"in e&&e.auto_refresh!=null&&(this.auto_refresh=e.auto_refresh),"binding"in e&&e.binding!=null&&(this.binding=e.binding)),this.layouts||(this.layouts=new Map),this.param_map||(this.param_map=new Map),this.extra||(this.extra=new Map)}get dtype(){return c.Message.getFieldWithDefault(this,1,cs.Type.UNUSED)}set dtype(e){c.Message.setField(this,1,e)}get uid(){return c.Message.getFieldWithDefault(this,2,"")}set uid(e){c.Message.setField(this,2,e)}get layouts(){return c.Message.getField(this,3)}set layouts(e){c.Message.setField(this,3,e)}get file_key(){return c.Message.getFieldWithDefault(this,4,"")}set file_key(e){c.Message.setField(this,4,e)}get file_prefix(){return c.Message.getFieldWithDefault(this,5,"")}set file_prefix(e){c.Message.setField(this,5,e)}get stream_id(){return c.Message.getFieldWithDefault(this,6,"")}set stream_id(e){c.Message.setField(this,6,e)}get url(){return c.Message.getFieldWithDefault(this,7,"")}set url(e){c.Message.setField(this,7,e)}get action_id(){return c.Message.getFieldWithDefault(this,8,"")}set action_id(e){c.Message.setField(this,8,e)}get icon(){return c.Message.getFieldWithDefault(this,9,"")}set icon(e){c.Message.setField(this,9,e)}get title(){return c.Message.getFieldWithDefault(this,10,"")}set title(e){c.Message.setField(this,10,e)}get param_map(){return c.Message.getField(this,11)}set param_map(e){c.Message.setField(this,11,e)}get text(){return c.Message.getFieldWithDefault(this,12,"")}set text(e){c.Message.setField(this,12,e)}get var_name(){return c.Message.getFieldWithDefault(this,13,"")}set var_name(e){c.Message.setField(this,13,e)}get param(){return c.Message.getWrapperField(this,ft,14)}set param(e){c.Message.setWrapperField(this,14,e)}get has_param(){return c.Message.getField(this,14)!=null}get extra(){return c.Message.getField(this,15)}set extra(e){c.Message.setField(this,15,e)}get script_id(){return c.Message.getFieldWithDefault(this,16,"")}set script_id(e){c.Message.setField(this,16,e)}get elements(){return c.Message.getRepeatedWrapperField(this,cs,17)}set elements(e){c.Message.setRepeatedWrapperField(this,17,e)}get num_elements(){return c.Message.getFieldWithDefault(this,18,0)}set num_elements(e){c.Message.setField(this,18,e)}get auto_refresh(){return c.Message.getFieldWithDefault(this,19,!1)}set auto_refresh(e){c.Message.setField(this,19,e)}get binding(){return c.Message.getWrapperField(this,df,20)}set binding(e){c.Message.setWrapperField(this,20,e)}get has_binding(){return c.Message.getField(this,20)!=null}static fromObject(e){const r=new cs({});return e.dtype!=null&&(r.dtype=e.dtype),e.uid!=null&&(r.uid=e.uid),typeof e.layouts=="object"&&(r.layouts=new Map(Object.entries(e.layouts).map(([n,i])=>[n,cs.Layout.fromObject(i)]))),e.file_key!=null&&(r.file_key=e.file_key),e.file_prefix!=null&&(r.file_prefix=e.file_prefix),e.stream_id!=null&&(r.stream_id=e.stream_id),e.url!=null&&(r.url=e.url),e.action_id!=null&&(r.action_id=e.action_id),e.icon!=null&&(r.icon=e.icon),e.title!=null&&(r.title=e.title),typeof e.param_map=="object"&&(r.param_map=new Map(Object.entries(e.param_map))),e.text!=null&&(r.text=e.text),e.var_name!=null&&(r.var_name=e.var_name),e.param!=null&&(r.param=ft.fromObject(e.param)),typeof e.extra=="object"&&(r.extra=new Map(Object.entries(e.extra).map(([n,i])=>[n,Ot.fromObject(i)]))),e.script_id!=null&&(r.script_id=e.script_id),e.elements!=null&&(r.elements=e.elements.map(n=>cs.fromObject(n))),e.num_elements!=null&&(r.num_elements=e.num_elements),e.auto_refresh!=null&&(r.auto_refresh=e.auto_refresh),e.binding!=null&&(r.binding=df.fromObject(e.binding)),r}toObject(){const e={};return this.dtype!=null&&(e.dtype=this.dtype),this.uid!=null&&(e.uid=this.uid),this.layouts!=null&&(e.layouts=Object.fromEntries(Array.from(this.layouts).map(([r,n])=>[r,n.toObject()]))),this.file_key!=null&&(e.file_key=this.file_key),this.file_prefix!=null&&(e.file_prefix=this.file_prefix),this.stream_id!=null&&(e.stream_id=this.stream_id),this.url!=null&&(e.url=this.url),this.action_id!=null&&(e.action_id=this.action_id),this.icon!=null&&(e.icon=this.icon),this.title!=null&&(e.title=this.title),this.param_map!=null&&(e.param_map=Object.fromEntries(this.param_map)),this.text!=null&&(e.text=this.text),this.var_name!=null&&(e.var_name=this.var_name),this.param!=null&&(e.param=this.param.toObject()),this.extra!=null&&(e.extra=Object.fromEntries(Array.from(this.extra).map(([r,n])=>[r,n.toObject()]))),this.script_id!=null&&(e.script_id=this.script_id),this.elements!=null&&(e.elements=this.elements.map(r=>r.toObject())),this.num_elements!=null&&(e.num_elements=this.num_elements),this.auto_refresh!=null&&(e.auto_refresh=this.auto_refresh),this.binding!=null&&(e.binding=this.binding.toObject()),e}serialize(e){const r=e||new c.BinaryWriter;this.dtype!=cs.Type.UNUSED&&r.writeEnum(1,this.dtype),this.uid.length&&r.writeString(2,this.uid);for(const[n,i]of this.layouts)r.writeMessage(3,this.layouts,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>
261i.serialize(r))});this.file_key.length&&r.writeString(4,this.file_key),this.file_prefix.length&&r.writeString(5,this.file_prefix),this.stream_id.length&&r.writeString(6,this.stream_id),this.url.length&&r.writeString(7,this.url),this.action_id.length&&r.writeString(8,this.action_id),this.icon.length&&r.writeString(9,this.icon),this.title.length&&r.writeString(10,this.title);for(const[n,i]of this.param_map)r.writeMessage(11,this.param_map,()=>{r.writeString(1,n),r.writeString(2,i)});this.text.length&&r.writeString(12,this.text),this.var_name.length&&r.writeString(13,this.var_name),this.has_param&&r.writeMessage(14,this.param,()=>this.param.serialize(r));for(const[n,i]of this.extra)r.writeMessage(15,this.extra,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.script_id.length&&r.writeString(16,this.script_id),this.elements.length&&r.writeRepeatedMessage(17,this.elements,n=>n.serialize(r)),this.num_elements!=0&&r.writeInt32(18,this.num_elements),this.auto_refresh!=!1&&r.writeBool(19,this.auto_refresh),this.has_binding&&r.writeMessage(20,this.binding,()=>this.binding.serialize(r)),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new cs;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.dtype=r.readEnum();break;case 2:n.uid=r.readString();break;case 3:r.readMessage(n,()=>c.Map.deserializeBinary(n.layouts,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=cs.Layout.deserialize(r)),i}));break;case 4:n.file_key=r.readString();break;case 5:n.file_prefix=r.readString();break;case 6:n.stream_id=r.readString();break;case 7:n.url=r.readString();break;case 8:n.action_id=r.readString();break;case 9:n.icon=r.readString();break;case 10:n.title=r.readString();break;case 11:r.readMessage(n,()=>c.Map.deserializeBinary(n.param_map,r,r.readString,r.readString));break;case 12:n.text=r.readString();break;case 13:n.var_name=r.readString();break;case 14:r.readMessage(n.param,()=>n.param=ft.deserialize(r));break;case 15:r.readMessage(n,()=>c.Map.deserializeBinary(n.extra,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 16:n.script_id=r.readString();break;case 17:r.readMessage(n.elements,()=>c.Message.addToRepeatedWrapperField(n,17,cs.deserialize(r),cs));break;case 18:n.num_elements=r.readInt32();break;case 19:n.auto_refresh=r.readBool();break;case 20:r.readMessage(n.binding,()=>n.binding=df.deserialize(r));break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return cs.deserialize(e)}};f2=new WeakMap;let h0=ZK;(t=>{var e;(n=>{n[n.UNUSED=0]="UNUSED",n[n.FILE=1]="FILE",n[n.STREAM=2]="STREAM",n[n.YOUTUBE_VIDEO=3]="YOUTUBE_VIDEO",n[n.SUBMIT_BUTTON=4]="SUBMIT_BUTTON",n[n.UPLOAD=5]="UPLOAD",n[n.ECHART=6]="ECHART",n[n.DASHBOARD_PARAMETER=7]="DASHBOARD_PARAMETER",n[n.MARKDOWN=8]="MARKDOWN",n[n.CHATBOT=9]="CHATBOT",n[n.DASHBOARD_GROUP=10]="DASHBOARD_GROUP",n[n.DASHBOARD_STUB=11]="DASHBOARD_STUB",n[n.JSON_VIEWER=12]="JSON_VIEWER",n[n.SCHEDULER_RECEIPT=13]="SCHEDULER_RECEIPT",n[n.LATEST_STREAM_RECORD=14]="LATEST_STREAM_RECORD",n[n.TYPEAHEAD_PARAMETER=15]="TYPEAHEAD_PARAMETER",n[n.CALLOUT=16]="CALLOUT",n[n.REPORT=17]="REPORT"})(t.Type||(t.Type={}));const r=class Gm extends c.Message{constructor(i){super(),Et(this,e,[]),c.Message.initialize(this,Array.isArray(i)?i:[],0,-1,[],ot(this,e)),!Array.isArray(i)&&typeof i=="object"&&("x"in i&&i.x!=null&&(this.x=i.x),"y"in i&&i.y!=null&&(this.y=i.y),"w"in i&&i.w!=null&&(this.w=i.w),"h"in i&&i.h!=null&&(this.h=i.h))}get x(){return c.Message.getFieldWithDefault(this,1,0)}set x(i){c.Message.setField(this,1,i)}get y(){return c.Message.getFieldWithDefault(this,2,0)}set y(i){c.Message.setField(this,2,i)}get w(){return c.Message.getFieldWithDefault(this,3,0)}set w(i){c.Message.setField(this,3,i)}get h(){return c.Message.getFieldWithDefault(this,4,0)}set h(i){c.Message.setField(this,4,i)}static fromObject(i){const s=new Gm({});return i.x!=null&&(s.x=i.x),i.y!=null&&(s.y=i.y),i.w!=null&&(s.w=i.w),i.h!=null&&(s.h=i.h),s}toObject(){const i={};return this.x!=null&&(i.x=this.x),this.y!=null&&(i.y=this.y),this.w!=null&&(i.w=this.w),this.h!=null&&(i.h=this.h),i}serialize(i){const s=i||new c.BinaryWriter;if(this.x!=0&&s.writeInt64(1,this.x),this.y!=0&&s.writeInt64(2,this.y),this.w!=0&&s.writeInt64(3,this.w),this.h!=0&&s.writeInt64(4,this.h),!i)return s.getResultBuffer()}static deserialize(i){const s=i instanceof c.BinaryReader?i:new c.BinaryReader(i),a=new Gm;for(;s.nextField()&&!s.isEndGroup();)switch(s.getFieldNumber()){case 1:a.x=s.readInt64();break;case 2:a.y=s.readInt64();break;case 3:a.w=s.readInt64();break;case 4:a.h=s.readInt64();break;default:s.skipField()}return a}serializeBinary(){return this.serialize()}static deserializeBinary(i){return Gm.deserialize(i)}};e=new WeakMap,t.Layout=r})(h0||(h0={}));const eX=class $m extends c.Message{constructor(e){super(),Et(this,d2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,d2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"created_at"in e&&e.created_at!=null&&(this.created_at=e.created_at),"label"in e&&e.label!=null&&(this.label=e.label),"short_desc"in e&&e.short_desc!=null&&(this.short_desc=e.short_desc),"icon"in e&&e.
261icon!=null&&(this.icon=e.icon),"action_id"in e&&e.action_id!=null&&(this.action_id=e.action_id))}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get created_at(){return c.Message.getFieldWithDefault(this,3,0)}set created_at(e){c.Message.setField(this,3,e)}get label(){return c.Message.getFieldWithDefault(this,4,"")}set label(e){c.Message.setField(this,4,e)}get short_desc(){return c.Message.getFieldWithDefault(this,5,"")}set short_desc(e){c.Message.setField(this,5,e)}get icon(){return c.Message.getFieldWithDefault(this,6,"")}set icon(e){c.Message.setField(this,6,e)}get action_id(){return c.Message.getFieldWithDefault(this,7,"")}set action_id(e){c.Message.setField(this,7,e)}static fromObject(e){const r=new $m({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.created_at!=null&&(r.created_at=e.created_at),e.label!=null&&(r.label=e.label),e.short_desc!=null&&(r.short_desc=e.short_desc),e.icon!=null&&(r.icon=e.icon),e.action_id!=null&&(r.action_id=e.action_id),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.created_at!=null&&(e.created_at=this.created_at),this.label!=null&&(e.label=this.label),this.short_desc!=null&&(e.short_desc=this.short_desc),this.icon!=null&&(e.icon=this.icon),this.action_id!=null&&(e.action_id=this.action_id),e}serialize(e){const r=e||new c.BinaryWriter;if(this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.created_at!=0&&r.writeInt64(3,this.created_at),this.label.length&&r.writeString(4,this.label),this.short_desc.length&&r.writeString(5,this.short_desc),this.icon.length&&r.writeString(6,this.icon),this.action_id.length&&r.writeString(7,this.action_id),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new $m;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.created_at=r.readInt64();break;case 4:n.label=r.readString();break;case 5:n.short_desc=r.readString();break;case 6:n.icon=r.readString();break;case 7:n.action_id=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return $m.deserialize(e)}};d2=new WeakMap;let f0=eX;(t=>{(e=>{e[e.TEST=0]="TEST",e[e.ACTION=1]="ACTION"})(t.RouterType||(t.RouterType={}))})(f0||(f0={}));const tX=class qm extends c.Message{constructor(e){super(),Et(this,p2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,p2)),!Array.isArray(e)&&typeof e=="object"&&("timestamp"in e&&e.timestamp!=null&&(this.timestamp=e.timestamp),"text"in e&&e.text!=null&&(this.text=e.text),"error"in e&&e.error!=null&&(this.error=e.error))}get timestamp(){return c.Message.getFieldWithDefault(this,1,0)}set timestamp(e){c.Message.setField(this,1,e)}get text(){return c.Message.getFieldWithDefault(this,2,"")}set text(e){c.Message.setField(this,2,e)}get error(){return c.Message.getFieldWithDefault(this,3,"")}set error(e){c.Message.setField(this,3,e)}static fromObject(e){const r=new qm({});return e.timestamp!=null&&(r.timestamp=e.timestamp),e.text!=null&&(r.text=e.text),e.error!=null&&(r.error=e.error),r}toObject(){const e={};return this.timestamp!=null&&(e.timestamp=this.timestamp),this.text!=null&&(e.text=this.text),this.error!=null&&(e.error=this.error),e}serialize(e){const r=e||new c.BinaryWriter;if(this.timestamp!=0&&r.writeInt32(1,this.timestamp),this.text.length&&r.writeString(2,this.text),this.error.length&&r.writeString(3,this.error),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new qm;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.timestamp=r.readInt32();break;case 2:n.text=r.readString();break;case 3:n.error=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return qm.deserialize(e)}};p2=new WeakMap;let rX=tX;const nX=class sl extends c.Message{constructor(e){super(),Et(this,m2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[7,8,9,10],ot(this,m2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"version"in e&&e.version!=null&&(this.version=e.version),"label"in e&&e.label!=null&&(this.label=e.label),"short_desc"in e&&e.short_desc!=null&&(this.short_desc=e.short_desc),"icon"in e&&e.
261icon!=null&&(this.icon=e.icon),"inputs"in e&&e.inputs!=null&&(this.inputs=e.inputs),"nodes"in e&&e.nodes!=null&&(this.nodes=e.nodes),"outputs"in e&&e.outputs!=null&&(this.outputs=e.outputs),"links"in e&&e.links!=null&&(this.links=e.links),"input_layout"in e&&e.input_layout!=null&&(this.input_layout=e.input_layout),"output_layout"in e&&e.output_layout!=null&&(this.output_layout=e.output_layout),"presumed_deleted"in e&&e.presumed_deleted!=null&&(this.presumed_deleted=e.presumed_deleted),"kit_install_id"in e&&e.kit_install_id!=null&&(this.kit_install_id=e.kit_install_id))}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get version(){return c.Message.getFieldWithDefault(this,3,"")}set version(e){c.Message.setField(this,3,e)}get label(){return c.Message.getFieldWithDefault(this,4,"")}set label(e){c.Message.setField(this,4,e)}get short_desc(){return c.Message.getFieldWithDefault(this,5,"")}set short_desc(e){c.Message.setField(this,5,e)}get icon(){return c.Message.getFieldWithDefault(this,6,"")}set icon(e){c.Message.setField(this,6,e)}get inputs(){return c.Message.getRepeatedWrapperField(this,ft,7)}set inputs(e){c.Message.setRepeatedWrapperField(this,7,e)}get nodes(){return c.Message.getRepeatedWrapperField(this,fs,8)}set nodes(e){c.Message.setRepeatedWrapperField(this,8,e)}get outputs(){return c.Message.getRepeatedWrapperField(this,ft,9)}set outputs(e){c.Message.setRepeatedWrapperField(this,9,e)}get links(){return c.Message.getRepeatedWrapperField(this,sl.Link,10)}set links(e){c.Message.setRepeatedWrapperField(this,10,e)}get input_layout(){return c.Message.getWrapperField(this,fs.Layout,11)}set input_layout(e){c.Message.setWrapperField(this,11,e)}get has_input_layout(){return c.Message.getField(this,11)!=null}get output_layout(){return c.Message.getWrapperField(this,fs.Layout,12)}set output_layout(e){c.Message.setWrapperField(this,12,e)}get has_output_layout(){return c.Message.getField(this,12)!=null}get presumed_deleted(){return c.Message.getFieldWithDefault(this,13,!1)}set presumed_deleted(e){c.Message.setField(this,13,e)}get kit_install_id(){return c.Message.getFieldWithDefault(this,14,"")}set kit_install_id(e){c.Message.setField(this,14,e)}static fromObject(e){const r=new sl({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.version!=null&&(r.version=e.version),e.label!=null&&(r.label=e.label),e.short_desc!=null&&(r.short_desc=e.short_desc),e.icon!=null&&(r.icon=e.icon),e.inputs!=null&&(r.inputs=e.inputs.map(n=>ft.fromObject(n))),e.nodes!=null&&(r.nodes=e.nodes.map(n=>fs.fromObject(n))),e.outputs!=null&&(r.outputs=e.outputs.map(n=>ft.fromObject(n))),e.links!=null&&(r.links=e.links.map(n=>sl.Link.fromObject(n))),e.input_layout!=null&&(r.input_layout=fs.Layout.fromObject(e.input_layout)),e.output_layout!=null&&(r.output_layout=fs.Layout.fromObject(e.output_layout)),e.presumed_deleted!=null&&(r.presumed_deleted=e.presumed_deleted),e.kit_install_id!=null&&(r.kit_install_id=e.kit_install_id),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.version!=null&&(e.version=this.version),this.label!=null&&(e.label=this.label),this.short_desc!=null&&(e.short_desc=this.short_desc),this.icon!=null&&(e.icon=this.icon),this.inputs!=null&&(e.inputs=this.inputs.map(r=>r.toObject())),this.nodes!=null&&(e.nodes=this.nodes.map(r=>r.toObject())),this.outputs!=null&&(e.outputs=this.outputs.map(r=>r.toObject())),this.links!=null&&(e.links=this.links.map(r=>r.toObject())),this.input_layout!=null&&(e.input_layout=this.input_layout.toObject()),this.output_layout!=null&&(e.output_layout=this.output_layout.toObject()),this.presumed_deleted!=null&&(e.presumed_deleted=this.presumed_deleted),this.kit_install_id!=null&&(e.kit_install_id=this.kit_install_id),e}serialize(e){const r=e||new c.BinaryWriter;if(this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.version.length&&r.writeString(3,this.version),this.label.length&&r.writeString(4,this.label),this.short_desc.length&&r.writeString(5,this.short_desc),this.icon.length&&r.writeString(6,this.icon),this.inputs.length&&r.writeRepeatedMessage(7,this.inputs,n=>
261n.serialize(r)),this.nodes.length&&r.writeRepeatedMessage(8,this.nodes,n=>n.serialize(r)),this.outputs.length&&r.writeRepeatedMessage(9,this.outputs,n=>n.serialize(r)),this.links.length&&r.writeRepeatedMessage(10,this.links,n=>n.serialize(r)),this.has_input_layout&&r.writeMessage(11,this.input_layout,()=>this.input_layout.serialize(r)),this.has_output_layout&&r.writeMessage(12,this.output_layout,()=>this.output_layout.serialize(r)),this.presumed_deleted!=!1&&r.writeBool(13,this.presumed_deleted),this.kit_install_id.length&&r.writeString(14,this.kit_install_id),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new sl;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.version=r.readString();break;case 4:n.label=r.readString();break;case 5:n.short_desc=r.readString();break;case 6:n.icon=r.readString();break;case 7:r.readMessage(n.inputs,()=>c.Message.addToRepeatedWrapperField(n,7,ft.deserialize(r),ft));break;case 8:r.readMessage(n.nodes,()=>c.Message.addToRepeatedWrapperField(n,8,fs.deserialize(r),fs));break;case 9:r.readMessage(n.outputs,()=>c.Message.addToRepeatedWrapperField(n,9,ft.deserialize(r),ft));break;case 10:r.readMessage(n.links,()=>c.Message.addToRepeatedWrapperField(n,10,sl.Link.deserialize(r),sl.Link));break;case 11:r.readMessage(n.input_layout,()=>n.input_layout=fs.Layout.deserialize(r));break;case 12:r.readMessage(n.output_layout,()=>n.output_layout=fs.Layout.deserialize(r));break;case 13:n.presumed_deleted=r.readBool();break;case 14:n.kit_install_id=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return sl.deserialize(e)}};m2=new WeakMap;let sr=nX;(t=>{var e;const r=class Vm extends c.Message{constructor(i){super(),Et(this,e,[]),c.Message.initialize(this,Array.isArray(i)?i:[],0,-1,[],ot(this,e)),!Array.isArray(i)&&typeof i=="object"&&("source"in i&&i.source!=null&&(this.source=i.source),"sourceHandle"in i&&i.sourceHandle!=null&&(this.sourceHandle=i.sourceHandle),"target"in i&&i.target!=null&&(this.target=i.target),"targetHandle"in i&&i.targetHandle!=null&&(this.targetHandle=i.targetHandle))}get source(){return c.Message.getFieldWithDefault(this,1,"")}set source(i){c.Message.setField(this,1,i)}get sourceHandle(){return c.Message.getFieldWithDefault(this,2,"")}set sourceHandle(i){c.Message.setField(this,2,i)}get target(){return c.Message.getFieldWithDefault(this,3,"")}set target(i){c.Message.setField(this,3,i)}get targetHandle(){return c.Message.getFieldWithDefault(this,4,"")}set targetHandle(i){c.Message.setField(this,4,i)}static fromObject(i){const s=new Vm({});return i.source!=null&&(s.source=i.source),i.sourceHandle!=null&&(s.sourceHandle=i.sourceHandle),i.target!=null&&(s.target=i.target),i.targetHandle!=null&&(s.targetHandle=i.targetHandle),s}toObject(){const i={};return this.source!=null&&(i.source=this.source),this.sourceHandle!=null&&(i.sourceHandle=this.sourceHandle),this.target!=null&&(i.target=this.target),this.targetHandle!=null&&(i.targetHandle=this.targetHandle),i}serialize(i){const s=i||new c.BinaryWriter;if(this.source.length&&s.writeString(1,this.source),this.sourceHandle.length&&s.writeString(2,this.sourceHandle),this.target.length&&s.writeString(3,this.target),this.targetHandle.length&&s.writeString(4,this.targetHandle),!i)return s.getResultBuffer()}static deserialize(i){const s=i instanceof c.BinaryReader?i:new c.BinaryReader(i),a=new Vm;for(;s.nextField()&&!s.isEndGroup();)switch(s.getFieldNumber()){case 1:a.source=s.readString();break;case 2:a.sourceHandle=s.readString();break;case 3:a.target=s.readString();break;case 4:a.targetHandle=s.readString();break;default:s.skipField()}return a}serializeBinary(){return this.serialize()}static deserializeBinary(i){return Vm.deserialize(i)}};e=new WeakMap,t.Link=r})(sr||(sr={}));const iX=class Ym extends c.Message{constructor(e){super(),Et(this,g2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,g2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"label"in e&&e.label!=null&&(this.label=e.label),"username"in e&&e.username!=null&&(this.username=e.username),"script"in e&&e.script!=null&&(this.script=e.script),"status"in e&&e.status!=null&&(this.status=e.status),"created_at"in e&&e.created_at!=null&&(this.created_at=e.created_at),"started_at"in e&&e.started_at!=null&&(this.started_at=e.started_at),"completed_at"in e&&e.completed_at!=null&&(this.completed_at=e.completed_at),"updated_at"in e&&e.updated_at!=null&&(this.updated_at=e.updated_at),"registers"in e&&e.registers!=null&&(this.registers=e.registers),"receipts"in e&&e.receipts!=null&&(this.receipts=e.receipts),"output"in e&&e.output!=null&&(this.output=e.output),"action_count"in e&&e.action_count!=null&&(this.action_count=e.action_count),"request_cancel"in e&&e.request_cancel!=null&&(this.request_cancel=e.request_cancel),"error_message"in e&&e.error_message!=null&&(this.error_message=e.error_message),"fargate_task_arn"in e&&e.fargate_task_arn!=null&&(this.fargate_task_arn=e.fargate_task_arn),"percent"in e&&e.percent!=null&&(this.percent=e.percent),"success_count"in e&&e.success_count!=null&&(this.success_count=e.success_count),"error_count"in e&&e.error_count!=null&&(this.error_count=e.error_count),"iteration"in e&&e.
261iteration!=null&&(this.iteration=e.iteration),"collection_id"in e&&e.collection_id!=null&&(this.collection_id=e.collection_id),"stream_id"in e&&e.stream_id!=null&&(this.stream_id=e.stream_id)),this.registers||(this.registers=new Map),this.receipts||(this.receipts=new Map),this.output||(this.output=new Map)}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get label(){return c.Message.getFieldWithDefault(this,3,"")}set label(e){c.Message.setField(this,3,e)}get username(){return c.Message.getFieldWithDefault(this,4,"")}set username(e){c.Message.setField(this,4,e)}get script(){return c.Message.getWrapperField(this,sr,5)}set script(e){c.Message.setWrapperField(this,5,e)}get has_script(){return c.Message.getField(this,5)!=null}get status(){return c.Message.getFieldWithDefault(this,6,0)}set status(e){c.Message.setField(this,6,e)}get created_at(){return c.Message.getFieldWithDefault(this,7,0)}set created_at(e){c.Message.setField(this,7,e)}get started_at(){return c.Message.getFieldWithDefault(this,8,0)}set started_at(e){c.Message.setField(this,8,e)}get completed_at(){return c.Message.getFieldWithDefault(this,9,0)}set completed_at(e){c.Message.setField(this,9,e)}get updated_at(){return c.Message.getFieldWithDefault(this,10,0)}set updated_at(e){c.Message.setField(this,10,e)}get registers(){return c.Message.getField(this,11)}set registers(e){c.Message.setField(this,11,e)}get receipts(){return c.Message.getField(this,12)}set receipts(e){c.Message.setField(this,12,e)}get output(){return c.Message.getField(this,13)}set output(e){c.Message.setField(this,13,e)}get action_count(){return c.Message.getFieldWithDefault(this,14,0)}set action_count(e){c.Message.setField(this,14,e)}get request_cancel(){return c.Message.getFieldWithDefault(this,15,!1)}set request_cancel(e){c.Message.setField(this,15,e)}get error_message(){return c.Message.getFieldWithDefault(this,16,"")}set error_message(e){c.Message.setField(this,16,e)}get fargate_task_arn(){return c.Message.getFieldWithDefault(this,17,"")}set fargate_task_arn(e){c.Message.setField(this,17,e)}get percent(){return c.Message.getFieldWithDefault(this,18,0)}set percent(e){c.Message.setField(this,18,e)}get success_count(){return c.Message.getFieldWithDefault(this,19,0)}set success_count(e){c.Message.setField(this,19,e)}get error_count(){return c.Message.getFieldWithDefault(this,20,0)}set error_count(e){c.Message.setField(this,20,e)}get iteration(){return c.Message.getFieldWithDefault(this,21,0)}set iteration(e){c.Message.setField(this,21,e)}get collection_id(){return c.Message.getFieldWithDefault(this,22,"")}set collection_id(e){c.Message.setField(this,22,e)}get stream_id(){return c.Message.getFieldWithDefault(this,23,"")}set stream_id(e){c.Message.setField(this,23,e)}static fromObject(e){const r=new Ym({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.label!=null&&(r.label=e.label),e.username!=null&&(r.username=e.username),e.script!=null&&(r.script=sr.fromObject(e.script)),e.status!=null&&(r.status=e.status),e.created_at!=null&&(r.created_at=e.created_at),e.started_at!=null&&(r.started_at=e.started_at),e.completed_at!=null&&(r.completed_at=e.completed_at),e.updated_at!=null&&(r.updated_at=e.updated_at),typeof e.registers=="object"&&(r.registers=new Map(Object.entries(e.registers).map(([n,i])=>[n,Ot.fromObject(i)]))),typeof e.receipts=="object"&&(r.receipts=new Map(Object.entries(e.receipts).map(([n,i])=>[n,un.fromObject(i)]))),typeof e.output=="object"&&(r.output=new Map(Object.entries(e.output).map(([n,i])=>[n,Ot.fromObject(i)]))),e.action_count!=null&&(r.action_count=e.action_count),e.request_cancel!=null&&(r.request_cancel=e.request_cancel),e.error_message!=null&&(r.error_message=e.error_message),e.fargate_task_arn!=null&&(r.fargate_task_arn=e.fargate_task_arn),e.percent!=null&&(r.percent=e.percent),e.success_count!=null&&(r.success_count=e.success_count),e.error_count!=null&&(r.error_count=e.error_count),e.iteration!=null&&(r.iteration=e.iteration),e.collection_id!=null&&(r.collection_id=e.collection_id),e.stream_id!=null&&(r.stream_id=e.stream_id),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.label!=null&&(e.label=this.label),this.username!=null&&(e.username=this.username),this.script!=null&&(e.script=this.script.toObject()),this.status!=null&&(e.status=this.status),this.created_at!=null&&(e.created_at=this.created_at),this.started_at!=null&&(e.started_at=this.started_at),this.completed_at!=null&&(e.completed_at=this.completed_at),this.updated_at!=null&&(e.updated_at=this.updated_at),this.registers!=null&&(e.registers=Object.fromEntries(Array.from(this.registers).map(([r,n])=>[r,n.toObject()]))),this.receipts!=null&&(e.receipts=Object.fromEntries(Array.from(this.receipts).map(([r,n])=>[r,n.toObject()]))),this.output!=null&&(e.output=Object.fromEntries(Array.from(this.output).map(([r,n])=>[r,n.toObject()]))),this.action_count!=null&&(e.action_count=this.action_count),this.request_cancel!=null&&(e.request_cancel=this.request_cancel),this.error_message!=null&&(e.error_message=this.error_message),this.fargate_task_arn!=null&&(e.fargate_task_arn=this.fargate_task_arn),this.percent!=null&&(e.percent=this.percent),this.success_count!=null&&(e.success_count=this.success_count),this.error_count!=null&&(e.error_count=this.error_count),this.iteration!=null&&(e.iteration=this.iteration),this.collection_id!=null&&(e.collection_id=this.collection_id),this.stream_id!=null&&(e.stream_id=this.stream_id),e}serialize(e){const r=e||new c.BinaryWriter;this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.label.length&&r.writeString(3,this.label),this.username.length&&r.writeString(4,this.username),this.has_script&&r.writeMessage(5,this.script,()=>this.script.serialize(r)),this.status!=0&&r.writeEnum(6,this.status),this.created_at!=0&&r.writeInt64(7,this.created_at),this.started_at!=0&&r.writeInt64(8,this.started_at),this.completed_at!=0&&r.writeInt64(9,this.completed_at),this.updated_at!=0&&r.writeInt64(10,this.updated_at);for(const[n,i]of this.registers)r.writeMessage(11,this.registers,(
261)=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});for(const[n,i]of this.receipts)r.writeMessage(12,this.receipts,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});for(const[n,i]of this.output)r.writeMessage(13,this.output,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.action_count!=0&&r.writeInt32(14,this.action_count),this.request_cancel!=!1&&r.writeBool(15,this.request_cancel),this.error_message.length&&r.writeString(16,this.error_message),this.fargate_task_arn.length&&r.writeString(17,this.fargate_task_arn),this.percent!=0&&r.writeInt32(18,this.percent),this.success_count!=0&&r.writeInt32(19,this.success_count),this.error_count!=0&&r.writeInt32(20,this.error_count),this.iteration!=0&&r.writeInt32(21,this.iteration),this.collection_id.length&&r.writeString(22,this.collection_id),this.stream_id.length&&r.writeString(23,this.stream_id),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Ym;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.label=r.readString();break;case 4:n.username=r.readString();break;case 5:r.readMessage(n.script,()=>n.script=sr.deserialize(r));break;case 6:n.status=r.readEnum();break;case 7:n.created_at=r.readInt64();break;case 8:n.started_at=r.readInt64();break;case 9:n.completed_at=r.readInt64();break;case 10:n.updated_at=r.readInt64();break;case 11:r.readMessage(n,()=>c.Map.deserializeBinary(n.registers,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 12:r.readMessage(n,()=>c.Map.deserializeBinary(n.receipts,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=un.deserialize(r)),i}));break;case 13:r.readMessage(n,()=>c.Map.deserializeBinary(n.output,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 14:n.action_count=r.readInt32();break;case 15:n.request_cancel=r.readBool();break;case 16:n.error_message=r.readString();break;case 17:n.fargate_task_arn=r.readString();break;case 18:n.percent=r.readInt32();break;case 19:n.success_count=r.readInt32();break;case 20:n.error_count=r.readInt32();break;case 21:n.iteration=r.readInt32();break;case 22:n.collection_id=r.readString();break;case 23:n.stream_id=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Ym.deserialize(e)}};g2=new WeakMap;let Mue=iX;const sX=class hs extends c.Message{constructor(e){super(),Et(this,_2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[7,8],ot(this,_2)),!Array.isArray(e)&&typeof e=="object"&&("ntype"in e&&e.ntype!=null&&(this.ntype=e.ntype),"unique_id"in e&&e.unique_id!=null&&(this.unique_id=e.unique_id),"label"in e&&e.label!=null&&(this.label=e.label),"action_id"in e&&e.action_id!=null&&(this.action_id=e.action_id),"value"in e&&e.value!=null&&(this.value=e.value),"layout"in e&&e.layout!=null&&(this.layout=e.layout),"inputs"in e&&e.inputs!=null&&(this.inputs=e.inputs),"outputs"in e&&e.outputs!=null&&(this.outputs=e.outputs),"dest_destination"in e&&e.dest_destination!=null&&(this.dest_destination=e.dest_destination),"dest_stream_id"in e&&e.dest_stream_id!=null&&(this.dest_stream_id=e.dest_stream_id),"dest_owner"in e&&e.dest_owner!=null&&(this.dest_owner=e.dest_owner),"dest_prefix"in e&&e.dest_prefix!=null&&(this.dest_prefix=e.dest_prefix),"dest_extension"in e&&e.dest_extension!=null&&(this.dest_extension=e.dest_extension),"readonly"in e&&e.readonly!=null&&(this.readonly=e.readonly),"conditional"in e&&e.conditional!=null&&(this.conditional=e.conditional),"scripts"in e&&e.scripts!=null&&(this.scripts=e.scripts)),this.scripts||(this.scripts=new Map)}get ntype(){return c.Message.getFieldWithDefault(this,1,0)}set ntype(e){c.Message.setField(this,1,e)}get unique_id(){return c.Message.getFieldWithDefault(this,2,"")}set unique_id(e){c.Message.setField(this,2,e)}get label(){return c.Message.getFieldWithDefault(this,3,"")}set label(e){c.Message.setField(this,3,e)}get action_id(){return c.Message.getFieldWithDefault(this,4,"")}set action_id(e){c.Message.setField(this,4,e)}get value(){return c.Message.getWrapperField(this,Ot,5)}set value(e){c.Message.setWrapperField(this,5,e)}get has_value(){return c.Message.getField(this,5)!=null}get layout(){return c.Message.getWrapperField(this,hs.Layout,6)}set layout(e){c.Message.setWrapperField(this,6,e)}get has_layout(){return c.Message.getField(this,6)!=null}get inputs(){return c.Message.getRepeatedWrapperField(this,ft,7)}set inputs(e){c.Message.setRepeatedWrapperField(this,7,e)}get outputs(){return c.Message.getRepeatedWrapperField(this,ft,8)}set outputs(e){c.Message.setRepeatedWrapperField(this,8,e)}get dest_destination(){return c.Message.getFieldWithDefault(this,9,hs.Destination.NULL)}set dest_destination(e){c.Message.setField(this,9,e)}get dest_stream_id(){return c.Message.getFieldWithDefault(this,10,"")}set dest_stream_id(e){c.Message.setField(this,10,e)}get dest_owner(){return c.Message.getFieldWithDefault(this,11,"")}set dest_owner(e){c.Message.setField(this,11,e)}get dest_prefix(){return c.Message.getFieldWithDefault(this,12,"")}set dest_prefix(e){c.Message.setField(this,12,e)}get dest_extension(){return c.Message.getFieldWithDefault(this,13,"")}set dest_extension(e){c.Message.setField(this,13,e)}get readonly(){return c.Message.getFieldWithDefault(this,14,!1)}set readonly(e){c.Message.setField(this,14,e)}get conditional(){return c.Message.getWrapperField(this,hs.Conditional,15)}set conditional(e){c.Message.setWrapperField(this,15,e)}get has_conditional(){return c.Message.getField(this,15)!=null}get scripts(){return c.Message.getField(this,16)}set scripts(e){c.Message.setField(this,16,e)}static fromObject(e){const r=new hs({});return e.ntype!=null&&(r.ntype=e.ntype),e.unique_id!=null&&(r.unique_id=e.unique_id),e.label!=null&&(r.label=e.label),e.action_id!=null&&(r.action_id=e.action_id),e.value!=null&&(r.value=Ot.fromObject(e.value)),e.layout!=null&&(r.layout=hs.Layout.fromObject(e.layout)),e.inputs!=null&&(r.inputs=e.inputs.map(n=>ft.fromObject(n))),e.outputs!=null&&(r.outputs=e.outputs.map(n=>ft.fromObject(n))),e.dest_destination!=null&&(r.dest_destination=e.dest_destination),e.dest_stream_id!=null&&(r.dest_stream_id=e.dest_stream_id),e.dest_owner!=null&&(r.dest_owner=e.dest_owner),e.dest_prefix!=null&&(r.dest_prefix=e.dest_prefix),e.dest_extension!=null&&(r.dest_extension=e.dest_extension),e.readonly!=null&&(r.readonly=e.readonly),e.conditional!=null&&(r.conditional=hs.Conditional.fromObject(e.conditional)),typeof e.scripts=="object"&&(r.scripts=new Map(Object.entries(e.scripts).map(([n,i])=>[n,sr.fromObject(i)]))),r}toObject(){const e={};return this.ntype!=null&&(e.ntype=this.ntype),this.unique_id!=null&&(e.unique_id=this.unique_id),this.label!=null&&(e.label=this.label),this.action_id!=null&&(e.action_id=this.action_id),this.value!=null&&(e.value=this.value.toObject()),this.layout!=null&&(e.layout=this.layout.toObject()),this.inputs!=null&&(e.input
261s=this.inputs.map(r=>r.toObject())),this.outputs!=null&&(e.outputs=this.outputs.map(r=>r.toObject())),this.dest_destination!=null&&(e.dest_destination=this.dest_destination),this.dest_stream_id!=null&&(e.dest_stream_id=this.dest_stream_id),this.dest_owner!=null&&(e.dest_owner=this.dest_owner),this.dest_prefix!=null&&(e.dest_prefix=this.dest_prefix),this.dest_extension!=null&&(e.dest_extension=this.dest_extension),this.readonly!=null&&(e.readonly=this.readonly),this.conditional!=null&&(e.conditional=this.conditional.toObject()),this.scripts!=null&&(e.scripts=Object.fromEntries(Array.from(this.scripts).map(([r,n])=>[r,n.toObject()]))),e}serialize(e){const r=e||new c.BinaryWriter;this.ntype!=0&&r.writeEnum(1,this.ntype),this.unique_id.length&&r.writeString(2,this.unique_id),this.label.length&&r.writeString(3,this.label),this.action_id.length&&r.writeString(4,this.action_id),this.has_value&&r.writeMessage(5,this.value,()=>this.value.serialize(r)),this.has_layout&&r.writeMessage(6,this.layout,()=>this.layout.serialize(r)),this.inputs.length&&r.writeRepeatedMessage(7,this.inputs,n=>n.serialize(r)),this.outputs.length&&r.writeRepeatedMessage(8,this.outputs,n=>n.serialize(r)),this.dest_destination!=hs.Destination.NULL&&r.writeEnum(9,this.dest_destination),this.dest_stream_id.length&&r.writeString(10,this.dest_stream_id),this.dest_owner.length&&r.writeString(11,this.dest_owner),this.dest_prefix.length&&r.writeString(12,this.dest_prefix),this.dest_extension.length&&r.writeString(13,this.dest_extension),this.readonly!=!1&&r.writeBool(14,this.readonly),this.has_conditional&&r.writeMessage(15,this.conditional,()=>this.conditional.serialize(r));for(const[n,i]of this.scripts)r.writeMessage(16,this.scripts,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new hs;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.ntype=r.readEnum();break;case 2:n.unique_id=r.readString();break;case 3:n.label=r.readString();break;case 4:n.action_id=r.readString();break;case 5:r.readMessage(n.value,()=>n.value=Ot.deserialize(r));break;case 6:r.readMessage(n.layout,()=>n.layout=hs.Layout.deserialize(r));break;case 7:r.readMessage(n.inputs,()=>c.Message.addToRepeatedWrapperField(n,7,ft.deserialize(r),ft));break;case 8:r.readMessage(n.outputs,()=>c.Message.addToRepeatedWrapperField(n,8,ft.deserialize(r),ft));break;case 9:n.dest_destination=r.readEnum();break;case 10:n.dest_stream_id=r.readString();break;case 11:n.dest_owner=r.readString();break;case 12:n.dest_prefix=r.readString();break;case 13:n.dest_extension=r.readString();break;case 14:n.readonly=r.readBool();break;case 15:r.readMessage(n.conditional,()=>n.conditional=hs.Conditional.deserialize(r));break;case 16:r.readMessage(n,()=>c.Map.deserializeBinary(n.scripts,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=sr.deserialize(r)),i}));break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return hs.deserialize(e)}};_2=new WeakMap;let fs=sX;(t=>{var e,r;(s=>{s[s.NULL=0]="NULL",s[s.FILE=1]="FILE",s[s.STREAM=2]="STREAM"})(t.Destination||(t.Destination={}));const n=class Km extends c.Message{constructor(a){super(),Et(this,e,[]),c.Message.initialize(this,Array.isArray(a)?a:[],0,-1,[],ot(this,e)),!Array.isArray(a)&&typeof a=="object"&&("x"in a&&a.x!=null&&(this.x=a.x),"y"in a&&a.y!=null&&(this.y=a.y),"w"in a&&a.w!=null&&(this.w=a.w),"h"in a&&a.h!=null&&(this.h=a.h))}get x(){return c.Message.getFieldWithDefault(this,1,0)}set x(a){c.Message.setField(this,1,a)}get y(){return c.Message.getFieldWithDefault(this,2,0)}set y(a){c.Message.setField(this,2,a)}get w(){return c.Message.getFieldWithDefault(this,3,0)}set w(a){c.Message.setField(this,3,a)}get h(){return c.Message.getFieldWithDefault(this,4,0)}set h(a){c.Message.setField(this,4,a)}static fromObject(a){const l=new Km({});return a.x!=null&&(l.x=a.x),a.y!=null&&(l.y=a.y),a.w!=null&&(l.w=a.w),a.h!=null&&(l.h=a.h),l}toObject(){const a={};return this.x!=null&&(a.x=this.x),this.y!=null&&(a.y=this.y),this.w!=null&&(a.w=this.w),this.h!=null&&(a.h=this.h),a}serialize(a){const l=a||new c.BinaryWriter;if(this.x!=0&&l.writeFloat(1,this.x),this.y!=0&&l.writeFloat(2,this.y),this.w!=0&&l.writeFloat(3,this.w),this.h!=0&&l.writeFloat(4,this.h),!a)return l.getResultBuffer()}static deserialize(a){const l=a instanceof c.BinaryReader?a:new c.BinaryReader(a),u=new Km;for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:u.x=l.readFloat();break;case 2:u.y=l.readFloat();break;case 3:u.w=l.readFloat();break;case 4:u.h=l.readFloat();break;default:l.skipField()}return u}serializeBinary(){return this.serialize()}static deserializeBinary(a){return Km.deserialize(a)}};e=new WeakMap,t.Layout=n;
261const i=class Xm extends c.Message{constructor(a){super(),Et(this,r,[]),c.Message.initialize(this,Array.isArray(a)?a:[],0,-1,[],ot(this,r)),!Array.isArray(a)&&typeof a=="object"&&("source"in a&&a.source!=null&&(this.source=a.source),"sourceHandle"in a&&a.sourceHandle!=null&&(this.sourceHandle=a.sourceHandle))}get source(){return c.Message.getFieldWithDefault(this,1,"")}set source(a){c.Message.setField(this,1,a)}get sourceHandle(){return c.Message.getFieldWithDefault(this,2,"")}set sourceHandle(a){c.Message.setField(this,2,a)}static fromObject(a){const l=new Xm({});return a.source!=null&&(l.source=a.source),a.sourceHandle!=null&&(l.sourceHandle=a.sourceHandle),l}toObject(){const a={};return this.source!=null&&(a.source=this.source),this.sourceHandle!=null&&(a.sourceHandle=this.sourceHandle),a}serialize(a){const l=a||new c.BinaryWriter;if(this.source.length&&l.writeString(1,this.source),this.sourceHandle.length&&l.writeString(2,this.sourceHandle),!a)return l.getResultBuffer()}static deserialize(a){const l=a instanceof c.BinaryReader?a:new c.BinaryReader(a),u=new Xm;for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:u.source=l.readString();break;case 2:u.sourceHandle=l.readString();break;default:l.skipField()}return u}serializeBinary(){return this.serialize()}static deserializeBinary(a){return Xm.deserialize(a)}};r=new WeakMap,t.Conditional=i})(fs||(fs={}));const aX=class Qm extends c.Message{constructor(e){super(),Et(this,y2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,y2)),!Array.isArray(e)&&typeof e=="object"&&("clear"in e&&e.clear!=null&&(this.clear=e.clear),"toast"in e&&e.toast!=null&&(this.toast=e.toast),"toast_success"in e&&e.toast_success!=null&&(this.toast_success=e.toast_success),"download_key"in e&&e.download_key!=null&&(this.download_key=e.download_key),"receipt"in e&&e.receipt!=null&&(this.receipt=e.receipt),"update_values"in e&&e.update_values!=null&&(this.update_values=e.update_values),"modal"in e&&e.modal!=null&&(this.modal=e.modal),"reply"in e&&e.reply!=null&&(this.reply=e.reply),"refresh"in e&&e.refresh!=null&&(this.refresh=e.refresh)),this.update_values||(this.update_values=new Map)}get clear(){return c.Message.getFieldWithDefault(this,1,!1)}set clear(e){c.Message.setField(this,1,e)}get toast(){return c.Message.getFieldWithDefault(this,2,"")}set toast(e){c.Message.setField(this,2,e)}get toast_success(){return c.Message.getFieldWithDefault(this,3,!1)}set toast_success(e){c.Message.setField(this,3,e)}get download_key(){return c.Message.getFieldWithDefault(this,4,"")}set download_key(e){c.Message.setField(this,4,e)}get receipt(){return c.Message.getWrapperField(this,un,5)}set receipt(e){c.Message.setWrapperField(this,5,e)}get has_receipt(){return c.Message.getField(this,5)!=null}get update_values(){return c.Message.getField(this,6)}set update_values(e){c.Message.setField(this,6,e)}get modal(){return c.Message.getFieldWithDefault(this,7,"")}set modal(e){c.Message.setField(this,7,e)}get reply(){return c.Message.getFieldWithDefault(this,8,"")}set reply(e){c.Message.setField(this,8,e)}get refresh(){return c.Message.getFieldWithDefault(this,9,!1)}set refresh(e){c.Message.setField(this,9,e)}static fromObject(e){const r=new Qm({});return e.clear!=null&&(r.clear=e.clear),e.toast!=null&&(r.toast=e.toast),e.toast_success!=null&&(r.toast_success=e.toast_success),e.download_key!=null&&(r.download_key=e.download_key),e.receipt!=null&&(r.receipt=un.fromObject(e.receipt)),typeof e.update_values=="object"&&(r.update_values=new Map(Object.entries(e.update_values).map(([n,i])=>[n,Ot.fromObject(i)]))),e.modal!=null&&(r.modal=e.modal),e.reply!=null&&(r.reply=e.reply),e.refresh!=null&&(r.refresh=e.refresh),r}toObject(){const e={};return this.clear!=null&&(e.clear=this.clear),this.toast!=null&&(e.toast=this.toast),this.toast_success!=null&&(e.toast_success=this.toast_success),this.download_key!=null&&(e.download_key=this.download_key),this.receipt!=null&&(e.receipt=this.receipt.toObject()),this.update_values!=null&&(e.update_values=Object.fromEntries(Array.from(this.update_values).map(([r,n])=>[r,n.toObject()]))),this.modal!=null&&(e.modal=this.modal),this.reply!=null&&(e.reply=this.reply),this.refresh!=null&&(e.refresh=this.refresh),e}serialize(e){const r=e||new c.BinaryWriter;this.clear!=!1&&r.writeBool(1,this.clear),this.toast.length&&r.writeString(2,this.toast),this.toast_success!=!1&&r.writeBool(3,this.toast_success),this.download_key.length&&r.writeString(4,this.download_key),this.has_receipt&&r.writeMessage(5,this.receipt,()=>this.receipt.serialize(r));for(const[n,i]of this.update_values)r.writeMessage(6,this.update_values,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>
261i.serialize(r))});if(this.modal.length&&r.writeString(7,this.modal),this.reply.length&&r.writeString(8,this.reply),this.refresh!=!1&&r.writeBool(9,this.refresh),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Qm;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.clear=r.readBool();break;case 2:n.toast=r.readString();break;case 3:n.toast_success=r.readBool();break;case 4:n.download_key=r.readString();break;case 5:r.readMessage(n.receipt,()=>n.receipt=un.deserialize(r));break;case 6:r.readMessage(n,()=>c.Map.deserializeBinary(n.update_values,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 7:n.modal=r.readString();break;case 8:n.reply=r.readString();break;case 9:n.refresh=r.readBool();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Qm.deserialize(e)}};y2=new WeakMap;let Cue=aX;const oX=class al extends c.Message{constructor(e){super(),Et(this,v2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[4],ot(this,v2)),!Array.isArray(e)&&typeof e=="object"&&("uid"in e&&e.uid!=null&&(this.uid=e.uid),"ctype"in e&&e.ctype!=null&&(this.ctype=e.ctype),"source"in e&&e.source!=null&&(this.source=e.source),"outputs"in e&&e.outputs!=null&&(this.outputs=e.outputs),"execution_count"in e&&e.execution_count!=null&&(this.execution_count=e.execution_count),"status"in e&&e.status!=null&&(this.status=e.status),"last_executed_at"in e&&e.last_executed_at!=null&&(this.last_executed_at=e.last_executed_at),"execution_duration_ms"in e&&e.execution_duration_ms!=null&&(this.execution_duration_ms=e.execution_duration_ms),"action_id"in e&&e.action_id!=null&&(this.action_id=e.action_id),"action_inputs"in e&&e.action_inputs!=null&&(this.action_inputs=e.action_inputs)),this.action_inputs||(this.action_inputs=new Map)}get uid(){return c.Message.getFieldWithDefault(this,1,"")}set uid(e){c.Message.setField(this,1,e)}get ctype(){return c.Message.getFieldWithDefault(this,2,al.CellType.CODE)}set ctype(e){c.Message.setField(this,2,e)}get source(){return c.Message.getFieldWithDefault(this,3,"")}set source(e){c.Message.setField(this,3,e)}get outputs(){return c.Message.getRepeatedWrapperField(this,d0,4)}set outputs(e){c.Message.setRepeatedWrapperField(this,4,e)}get execution_count(){return c.Message.getFieldWithDefault(this,5,0)}set execution_count(e){c.Message.setField(this,5,e)}get status(){return c.Message.getFieldWithDefault(this,6,al.CellStatus.IDLE)}set status(e){c.Message.setField(this,6,e)}get last_executed_at(){return c.Message.getFieldWithDefault(this,7,0)}set last_executed_at(e){c.Message.setField(this,7,e)}get execution_duration_ms(){return c.Message.getFieldWithDefault(this,8,0)}set execution_duration_ms(e){c.Message.setField(this,8,e)}get action_id(){return c.Message.getFieldWithDefault(this,9,"")}set action_id(e){c.Message.setField(this,9,e)}get action_inputs(){return c.Message.getField(this,10)}set action_inputs(e){c.Message.setField(this,10,e)}static fromObject(e){const r=new al({});return e.uid!=null&&(r.uid=e.uid),e.ctype!=null&&(r.ctype=e.ctype),e.source!=null&&(r.source=e.source),e.outputs!=null&&(r.outputs=e.outputs.map(n=>d0.fromObject(n))),e.execution_count!=null&&(r.execution_count=e.execution_count),e.status!=null&&(r.status=e.status),e.last_executed_at!=null&&(r.last_executed_at=e.last_executed_at),e.execution_duration_ms!=null&&(r.execution_duration_ms=e.execution_duration_ms),e.action_id!=null&&(r.action_id=e.action_id),typeof e.action_inputs=="object"&&(r.action_inputs=new Map(Object.entries(e.action_inputs).map(([n,i])=>[n,Ot.fromObject(i)]))),r}toObject(){const e={};return this.uid!=null&&(e.uid=this.uid),this.ctype!=null&&(e.ctype=this.ctype),this.source!=null&&(e.source=this.source),this.outputs!=null&&(e.outputs=this.outputs.map(r=>r.toObject())),this.execution_count!=null&&(e.execution_count=this.execution_count),this.status!=null&&(e.status=this.status),this.last_executed_at!=null&&(e.last_executed_at=this.last_executed_at),this.execution_duration_ms!=null&&(e.execution_duration_ms=this.execution_duration_ms),this.action_id!=null&&(e.action_id=this.action_id),this.action_inputs!=null&&(e.action_inputs=Object.fromEntries(Array.from(this.action_inputs).map(([r,n])=>[r,n.toObject()]))),e}serialize(e){const r=e||new c.BinaryWriter;this.uid.length&&r.writeString(1,this.uid),this.ctype!=al.CellType.CODE&&r.writeEnum(2,this.ctype),this.source.length&&r.writeString(3,this.source),this.outputs.length&&r.writeRepeatedMessage(4,this.outputs,n=>
261n.serialize(r)),this.execution_count!=0&&r.writeInt32(5,this.execution_count),this.status!=al.CellStatus.IDLE&&r.writeEnum(6,this.status),this.last_executed_at!=0&&r.writeInt64(7,this.last_executed_at),this.execution_duration_ms!=0&&r.writeInt32(8,this.execution_duration_ms),this.action_id.length&&r.writeString(9,this.action_id);for(const[n,i]of this.action_inputs)r.writeMessage(10,this.action_inputs,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new al;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.uid=r.readString();break;case 2:n.ctype=r.readEnum();break;case 3:n.source=r.readString();break;case 4:r.readMessage(n.outputs,()=>c.Message.addToRepeatedWrapperField(n,4,d0.deserialize(r),d0));break;case 5:n.execution_count=r.readInt32();break;case 6:n.status=r.readEnum();break;case 7:n.last_executed_at=r.readInt64();break;case 8:n.execution_duration_ms=r.readInt32();break;case 9:n.action_id=r.readString();break;case 10:r.readMessage(n,()=>c.Map.deserializeBinary(n.action_inputs,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return al.deserialize(e)}};v2=new WeakMap;let y7=oX;(t=>{(e=>{e[e.CODE=0]="CODE",e[e.MARKDOWN=1]="MARKDOWN",e[e.ACTION=2]="ACTION"})(t.CellType||(t.CellType={})),(e=>{e[e.IDLE=0]="IDLE",e[e.QUEUED=1]="QUEUED",e[e.RUNNING=2]="RUNNING",e[e.SUCCESS=3]="SUCCESS",e[e.ERROR=4]="ERROR"})(t.CellStatus||(t.CellStatus={}))})(y7||(y7={}));const lX=class ol extends c.Message{constructor(e){super(),Et(this,b2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,b2)),!Array.isArray(e)&&typeof e=="object"&&("otype"in e&&e.otype!=null&&(this.otype=e.otype),"text"in e&&e.text!=null&&(this.text=e.text),"image_key"in e&&e.image_key!=null&&(this.image_key=e.image_key),"image_base64"in e&&e.
261image_base64!=null&&(this.image_base64=e.image_base64),"mime_type"in e&&e.mime_type!=null&&(this.mime_type=e.mime_type),"data"in e&&e.data!=null&&(this.data=e.data),"receipt"in e&&e.receipt!=null&&(this.receipt=e.receipt),"stream_type"in e&&e.stream_type!=null&&(this.stream_type=e.stream_type))}get otype(){return c.Message.getFieldWithDefault(this,1,ol.OutputType.STREAM)}set otype(e){c.Message.setField(this,1,e)}get text(){return c.Message.getFieldWithDefault(this,2,"")}set text(e){c.Message.setField(this,2,e)}get image_key(){return c.Message.getFieldWithDefault(this,3,"")}set image_key(e){c.Message.setField(this,3,e)}get image_base64(){return c.Message.getFieldWithDefault(this,4,"")}set image_base64(e){c.Message.setField(this,4,e)}get mime_type(){return c.Message.getFieldWithDefault(this,5,"")}set mime_type(e){c.Message.setField(this,5,e)}get data(){return c.Message.getWrapperField(this,Ot,6)}set data(e){c.Message.setWrapperField(this,6,e)}get has_data(){return c.Message.getField(this,6)!=null}get receipt(){return c.Message.getWrapperField(this,un,7)}set receipt(e){c.Message.setWrapperField(this,7,e)}get has_receipt(){return c.Message.getField(this,7)!=null}get stream_type(){return c.Message.getFieldWithDefault(this,8,ol.StreamType.STDOUT)}set stream_type(e){c.Message.setField(this,8,e)}static fromObject(e){const r=new ol({});return e.otype!=null&&(r.otype=e.otype),e.text!=null&&(r.text=e.text),e.image_key!=null&&(r.image_key=e.image_key),e.image_base64!=null&&(r.image_base64=e.image_base64),e.mime_type!=null&&(r.mime_type=e.mime_type),e.data!=null&&(r.data=Ot.fromObject(e.data)),e.receipt!=null&&(r.receipt=un.fromObject(e.receipt)),e.stream_type!=null&&(r.stream_type=e.stream_type),r}toObject(){const e={};return this.otype!=null&&(e.otype=this.otype),this.text!=null&&(e.text=this.text),this.image_key!=null&&(e.image_key=this.image_key),this.image_base64!=null&&(e.image_base64=this.image_base64),this.mime_type!=null&&(e.mime_type=this.mime_type),this.data!=null&&(e.data=this.data.toObject()),this.receipt!=null&&(e.receipt=this.receipt.toObject()),this.stream_type!=null&&(e.stream_type=this.stream_type),e}serialize(e){const r=e||new c.BinaryWriter;if(this.otype!=ol.OutputType.STREAM&&r.writeEnum(1,this.otype),this.text.length&&r.writeString(2,this.text),this.image_key.length&&r.writeString(3,this.image_key),this.image_base64.length&&r.writeString(4,this.image_base64),this.mime_type.length&&r.writeString(5,this.mime_type),this.has_data&&r.writeMessage(6,this.data,()=>this.data.serialize(r)),this.has_receipt&&r.writeMessage(7,this.receipt,()=>this.receipt.serialize(r)),this.stream_type!=ol.StreamType.STDOUT&&r.writeEnum(8,this.stream_type),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new ol;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.otype=r.readEnum();break;case 2:n.text=r.readString();break;case 3:n.image_key=r.readString();break;case 4:n.image_base64=r.readString();break;case 5:n.mime_type=r.readString();break;case 6:r.readMessage(n.data,()=>n.data=Ot.deserialize(r));break;case 7:r.readMessage(n.receipt,()=>n.receipt=un.deserialize(r));break;case 8:n.stream_type=r.readEnum();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return ol.deserialize(e)}};b2=new WeakMap;let d0=lX;(t=>{(e=>{e[e.STREAM=0]="STREAM",e[e.TEXT=1]="TEXT",e[e.IMAGE=2]="IMAGE",e[e.HTML=3]="HTML",e[e.JSON=4]="JSON",e[e.ERROR=5]="ERROR",e[e.RECEIPT=6]="RECEIPT",e[e.CHART=7]="CHART"})(t.OutputType||(t.OutputType={})),(e=>{e[e.STDOUT=0]="STDOUT",e[e.STDERR=1]="STDERR"})(t.StreamType||(t.StreamType={}))})(d0||(d0={}));const uX=class ll extends c.Message{constructor(e){super(),Et(this,w2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[7],ot(this,w2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"resource_id"in e&&e.resource_id!=null&&(this.resource_id=e.resource_id),"resource_kind"in e&&e.resource_kind!=null&&(this.resource_kind=e.resource_kind),"grantee_type"in e&&e.grantee_type!=null&&(this.grantee_type=e.grantee_type),"grantee_id"in e&&e.grantee_id!=null&&(this.grantee_id=e.grantee_id),"capabilities"in e&&e.capabilities!=null&&(this.capabilities=e.capabilities),"preset"in e&&e.preset!=null&&(this.preset=e.preset),"expires_at"in e&&e.expires_at!=null&&(this.expires_at=e.expires_at),"granted_by"in e&&e.granted_by!=null&&(this.granted_by=e.granted_by),"granted_at"in e&&e.granted_at!=null&&(this.granted_at=e.granted_at),"state"in e&&e.state!=null&&(this.state=e.state),"constraints"in e&&e.constraints!=null&&(this.constraints=e.constraints),"label"in e&&e.label!=null&&(this.label=e.label)),this.constraints||(this.constraints=new Map)}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get resource_id(){return c.Message.getFieldWithDefault(this,3,"")}set resource_id(e){c.Message.setField(this,3,e)}get resource_kind(){return c.Message.getFieldWithDefault(this,4,"")}set resource_kind(e){c.Message.setField(this,4,e)}get grantee_type(){return c.Message.getFieldWithDefault(this,5,ll.GranteeType.USER)}set grantee_type(e){c.Message.setField(this,5,e)}get grantee_id(){return c.Message.getFieldWithDefault(this,6,"")}set grantee_id(e){c.Message.setField(this,6,e)}get capabilities(){return c.Message.getFieldWithDefault(this,7,[])}set capabilities(e){c.Message.setField(this,7,e)}get preset(){return c.Message.getFieldWithDefault(this,8,"")}set preset(e){c.Message.setField(this,8,e)}get expires_at(){return c.Message.getFieldWithDefault(this,9,0)}set expires_at(e){c.Message.setField(this,9,e)}get granted_by(){return c.Message.getFieldWithDefault(this,10,"")}set granted_by(e){c.Message.setField(this,10,e)}get granted_at(){return c.Message.getFieldWithDefault(this,11,0)}set granted_at(e){c.Message.setField(this,11,e)}get state(){return c.Message.getFieldWithDefault(this,12,ll.GrantState.ACTIVE)}set state(e){c.Message.setField(this,12,e)}get constraints(){return c.Message.getField(this,13)}set constraints(e){c.Message.setField(this,13,e)}get label(){return c.Message.getFieldWithDefault(this,14,"")}set label(e){c.Message.setField(this,14,e)}static fromObject(e){const r=new ll({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.resource_id!=null&&(r.resource_id=e.resource_id),e.resource_kind!=null&&(r.resource_kind=e.resource_kind),e.grantee_type!=null&&(r.grantee_type=e.grantee_type),e.grantee_id!=null&&(r.grantee_id=e.grantee_id),e.capabilities!=null&&(r.capabilities=e.capabilities),e.preset!=null&&(r.preset=e.preset),e.expires_at!=null&&(r.expires_at=e.expires_at),e.granted_by!=null&&(r.granted_by=e.granted_by),e.granted_at!=null&&(r.granted_at=e.granted_at),e.state!=null&&(r.state=e.state),typeof e.constraints=="object"&&(r.constraints=new Map(Object.entries(e.constraints))),e.label!=null&&(r.label=e.label),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.resource_id!=null&&(e.resource_id=this.resource_id),this.resource_kind!=null&&(e.resource_kind=this.resource_kind),this.grantee_type!=null&&(e.grantee_type=this.grantee_type),this.grantee_id!=null&&(e.grantee_id=this.grantee_id),this.capabilities!=null&&(e.capabilities=this.capabilities),this.preset!=null&&(e.preset=this.preset),this.expires_at!=null&&(e.expires_at=this.expires_at),this.granted_by!=null&&(e.granted_by=this.granted_by),this.granted_at!=null&&(e.granted_at=this.granted_at),this.state!=null&&(e.state=this.state),this.constraints!=null&&(e.constraints=Object.fromEntries(this.constraints)),this.label!=null&&(e.label=this.label),e}serialize(e){const r=e||new c.BinaryWriter;this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.resource_id.length&&r.writeString(3,this.resource_id),this.resource_kind.length&&r.writeString(4,this.resource_kind),this.grantee_type!=ll.GranteeType.USER&&r.writeEnum(5,this.grantee_type),this.grantee_id.length&&r.writeString(6,this.grantee_id),this.capabilities.length&&r.writeRepeatedString(7,this.capabilities),this.preset.length&&r.writeString(8,this.preset),this.expires_at!=0&&r.writeInt64(9,this.expires_at),this.granted_by.length&&r.writeString(10,this.granted_by),this.granted_at!=0&&r.writeInt64(11,this.granted_at),this.state!=ll.GrantState.ACTIVE&&r.writeEnum(12,this.state);for(const[n,i]of this.constraints)r.writeMessage(13,this.constraints,()=>{r.writeString(1,n),r.writeString(2,i)});if(this.label.length&&r.writeString(14,this.label),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new ll;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.resource_id=r.readString();break;case 4:n.resource_kind=r.readString();break;case 5:n.grantee_type=r.readEnum();break;case 6:n.grantee_id=r.readString();break;case 7:c.Message.addToRepeatedField(n,7,r.readString());break;case 8:n.preset=r.readString();break;case 9:n.expires_at=r.readInt64();break;case 10:n.granted_by=r.readString();break;case 11:n.granted_at=r.readInt64();break;case 12:n.state=r.readEnum();break;case 13:r.readMessage(n,()=>c.Map.deserializeBinary(n.constraints,r,r.readString,r.readString));break;case 14:n.label=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return ll.deserialize(e)}};w2=new WeakMap;let v7=uX;(t=>{(e=>{e[e.USER=0]="USER",e[e.GROUP=1]="GROUP",e[e.RESOURCE=2]="RESOURCE",e[e.LINK=3]="LINK",e[e.PUBLIC=4]="PUBLIC"})(t.GranteeType||(t.GranteeType={})),(e=>
261{e[e.ACTIVE=0]="ACTIVE",e[e.PENDING=1]="PENDING"})(t.GrantState||(t.GrantState={}))})(v7||(v7={}));const cX=class Hc extends c.Message{constructor(e){super(),Et(this,E2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[6],ot(this,E2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"label"in e&&e.label!=null&&(this.label=e.label),"credentialType"in e&&e.credentialType!=null&&(this.credentialType=e.credentialType),"values"in e&&e.values!=null&&(this.values=e.values),"group_object_ids"in e&&e.group_object_ids!=null&&(this.group_object_ids=e.group_object_ids)),this.values||(this.values=new Map)}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get label(){return c.Message.getFieldWithDefault(this,3,"")}set label(e){c.Message.setField(this,3,e)}get credentialType(){return c.Message.getFieldWithDefault(this,4,Hc.Type.AuraDB)}set credentialType(e){c.Message.setField(this,4,e)}get values(){return c.Message.getField(this,5)}set values(e){c.Message.setField(this,5,e)}get group_object_ids(){return c.Message.getFieldWithDefault(this,6,[])}set group_object_ids(e){c.Message.setField(this,6,e)}static fromObject(e){const r=new Hc({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.label!=null&&(r.label=e.label),e.credentialType!=null&&(r.credentialType=e.credentialType),typeof e.values=="object"&&(r.values=new Map(Object.entries(e.values).map(([n,i])=>[n,Ot.fromObject(i)]))),e.group_object_ids!=null&&(r.group_object_ids=e.group_object_ids),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.label!=null&&(e.label=this.label),this.credentialType!=null&&(e.credentialType=this.credentialType),this.values!=null&&(e.values=Object.fromEntries(Array.from(this.values).map(([r,n])=>[r,n.toObject()]))),this.group_object_ids!=null&&(e.group_object_ids=this.group_object_ids),e}serialize(e){const r=e||new c.BinaryWriter;this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.label.length&&r.writeString(3,this.label),this.credentialType!=Hc.Type.AuraDB&&r.writeEnum(4,this.credentialType);for(const[n,i]of this.values)r.writeMessage(5,this.values,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.group_object_ids.length&&r.writeRepeatedString(6,this.group_object_ids),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Hc;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.label=r.readString();break;case 4:n.credentialType=r.readEnum();break;case 5:r.readMessage(n,()=>c.Map.deserializeBinary(n.values,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 6:c.Message.addToRepeatedField(n,6,r.readString());break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Hc.deserialize(e)}};E2=new WeakMap;let b7=cX;(t=>{(e=>{e[e.AuraDB=0]="AuraDB",e[e.AWS=1]="AWS",e[e.ElasticSearch=2]="ElasticSearch",e[e.Neo4j=3]="Neo4j",e[e.OpenAI=4]="OpenAI",e[e.SendGrid=5]="SendGrid",e[e.Discord=6]="Discord",e[e.GCP=7]="GCP",e[e.Stripe=8]="Stripe",e[e.Telnyx=9]="Telnyx",e[e.Printful=10]="Printful",e[e.Anthropic=11]="Anthropic",e[e.Cloudflare=12]="Cloudflare",e[e.FlyIO=13]="FlyIO",e[e.Google=14]="Google",e[e.Slack=15]="Slack",e[e.Riverside=16]="Riverside",e[e.TelnyxTest=17]="TelnyxTest",e[e.GooglePay=18]="GooglePay",e[e.PayPal=19]="PayPal",e[e.HumeAI=20]="HumeAI",e[e.OrchestratorAgent=21]="OrchestratorAgent",e[e.AWS_CROSS_ACNT_S3=22]="AWS_CROSS_ACNT_S3",e[e.Postgres=23]="Postgres",e[e.MySQL=24]="MySQL"})(t.Type||(t.Type={}))})(b7||(b7={}));const hX=class Wc extends c.Message{constructor(e){super(),Et(this,S2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[10],ot(this,S2)),!Array.isArray(e)&&typeof e=="object"&&("dstype"
261in e&&e.dstype!=null&&(this.dstype=e.dstype),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"valueColumn"in e&&e.valueColumn!=null&&(this.valueColumn=e.valueColumn),"labelColumn"in e&&e.labelColumn!=null&&(this.labelColumn=e.labelColumn),"filterByColumn"in e&&e.filterByColumn!=null&&(this.filterByColumn=e.filterByColumn),"filterValueMatches"in e&&e.filterValueMatches!=null&&(this.filterValueMatches=e.filterValueMatches),"aws_cred_object_id"in e&&e.aws_cred_object_id!=null&&(this.aws_cred_object_id=e.aws_cred_object_id),"smap"in e&&e.smap!=null&&(this.smap=e.smap),"dependencyMap"in e&&e.dependencyMap!=null&&(this.dependencyMap=e.dependencyMap),"staticVals"in e&&e.staticVals!=null&&(this.staticVals=e.staticVals),"object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"use_label_formula"in e&&e.use_label_formula!=null&&(this.use_label_formula=e.use_label_formula),"action_id"in e&&e.action_id!=null&&(this.action_id=e.action_id)),this.smap||(this.smap=new Map),this.dependencyMap||(this.dependencyMap=new Map)}get dstype(){return c.Message.getFieldWithDefault(this,1,Wc.DataSourceType.UNUSED)}set dstype(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get valueColumn(){return c.Message.getFieldWithDefault(this,3,"")}set valueColumn(e){c.Message.setField(this,3,e)}get labelColumn(){return c.Message.getFieldWithDefault(this,4,"")}set labelColumn(e){c.Message.setField(this,4,e)}get filterByColumn(){return c.Message.getFieldWithDefault(this,5,"")}set filterByColumn(e){c.Message.setField(this,5,e)}get filterValueMatches(){return c.Message.getFieldWithDefault(this,6,"")}set filterValueMatches(e){c.Message.setField(this,6,e)}get aws_cred_object_id(){return c.Message.getFieldWithDefault(this,7,"")}set aws_cred_object_id(e){c.Message.setField(this,7,e)}get smap(){return c.Message.getField(this,8)}set smap(e){c.Message.setField(this,8,e)}get dependencyMap(){return c.Message.getField(this,9)}set dependencyMap(e){c.Message.setField(this,9,e)}get staticVals(){return c.Message.getRepeatedWrapperField(this,Tl,10)}set staticVals(e){c.Message.setRepeatedWrapperField(this,10,e)}get object_id(){return c.Message.getFieldWithDefault(this,11,"")}set object_id(e){c.Message.setField(this,11,e)}get use_label_formula(){return c.Message.getFieldWithDefault(this,12,!1)}set use_label_formula(e){c.Message.setField(this,12,e)}get action_id(){return c.Message.getFieldWithDefault(this,13,"")}set action_id(e){c.Message.setField(this,13,e)}static fromObject(e){const r=new Wc({});return e.dstype!=null&&(r.dstype=e.dstype),e.owner!=null&&(r.owner=e.owner),e.valueColumn!=null&&(r.valueColumn=e.valueColumn),e.labelColumn!=null&&(r.labelColumn=e.labelColumn),e.filterByColumn!=null&&(r.filterByColumn=e.filterByColumn),e.filterValueMatches!=null&&(r.filterValueMatches=e.filterValueMatches),e.aws_cred_object_id!=null&&(r.aws_cred_object_id=e.aws_cred_object_id),typeof e.smap=="object"&&(r.smap=new Map(Object.entries(e.smap))),typeof e.dependencyMap=="object"&&(r.dependencyMap=new Map(Object.entries(e.dependencyMap))),e.staticVals!=null&&(r.staticVals=e.staticVals.map(n=>Tl.fromObject(n))),e.object_id!=null&&(r.object_id=e.object_id),e.use_label_formula!=null&&(r.use_label_formula=e.use_label_formula),e.action_id!=null&&(r.action_id=e.action_id),r}toObject(){const e={};return this.dstype!=null&&(e.dstype=this.dstype),this.owner!=null&&(e.owner=this.owner),this.valueColumn!=null&&(e.valueColumn=this.valueColumn),this.labelColumn!=null&&(e.labelColumn=this.labelColumn),this.filterByColumn!=null&&(e.filterByColumn=this.filterByColumn),this.filterValueMatches!=null&&(e.filterValueMatches=this.filterValueMatches),this.aws_cred_object_id!=null&&(e.aws_cred_object_id=this.aws_cred_object_id),this.smap!=null&&(e.smap=Object.fromEntries(this.smap)),this.dependencyMap!=null&&(e.dependencyMap=Object.fromEntries(this.dependencyMap)),this.staticVals!=null&&(e.staticVals=this.staticVals.map(r=>r.toObject())),this.object_id!=null&&(e.object_id=this.object_id),this.use_label_formula!=null&&(e.use_label_formula=this.use_label_formula),this.action_id!=null&&(e.action_id=this.action_id),e}serialize(e){const r=e||new c.BinaryWriter;this.dstype!=Wc.DataSourceType.UNUSED&&r.writeEnum(1,this.dstype),this.owner.length&&r.writeString(2,this.owner),this.valueColumn.length&&r.writeString(3,this.valueColumn),this.labelColumn.length&&r.writeString(4,this.labelColumn),this.filterByColumn.length&&r.writeString(5,this.filterByColumn),this.filterValueMatches.length&&r.writeString(6,this.filterValueMatches),this.aws_cred_object_id.length&&r.writeString(7,this.aws_cred_object_id);for(const[n,i]of this.smap)r.writeMessage(8,this.smap,()=>{r.writeString(1,n),r.writeString(2,i)});for(const[n,i]of this.dependencyMap)r.writeMessage(9,this.dependencyMap,()=>{r.writeString(1,n),r.writeString(2,i)});if(this.staticVals.length&&r.writeRepeatedMessage(10,this.staticVals,n=>
261n.serialize(r)),this.object_id.length&&r.writeString(11,this.object_id),this.use_label_formula!=!1&&r.writeBool(12,this.use_label_formula),this.action_id.length&&r.writeString(13,this.action_id),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Wc;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.dstype=r.readEnum();break;case 2:n.owner=r.readString();break;case 3:n.valueColumn=r.readString();break;case 4:n.labelColumn=r.readString();break;case 5:n.filterByColumn=r.readString();break;case 6:n.filterValueMatches=r.readString();break;case 7:n.aws_cred_object_id=r.readString();break;case 8:r.readMessage(n,()=>c.Map.deserializeBinary(n.smap,r,r.readString,r.readString));break;case 9:r.readMessage(n,()=>c.Map.deserializeBinary(n.dependencyMap,r,r.readString,r.readString));break;case 10:r.readMessage(n.staticVals,()=>c.Message.addToRepeatedWrapperField(n,10,Tl.deserialize(r),Tl));break;case 11:n.object_id=r.readString();break;case 12:n.use_label_formula=r.readBool();break;case 13:n.action_id=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Wc.deserialize(e)}};S2=new WeakMap;let Ss=hX;(t=>{(e=>{e[e.UNUSED=0]="UNUSED",e[e.COLLECTIONS=1]="COLLECTIONS",e[e.AWS_S3_BUCKET=2]="AWS_S3_BUCKET",e[e.NEONPIXEL_METRICS=3]="NEONPIXEL_METRICS",e[e.MNTN_API=4]="MNTN_API",e[e.US_STATES=5]="US_STATES",e[e.NEONPIXEL_CAMPAIGN_GROUPS=6]="NEONPIXEL_CAMPAIGN_GROUPS",e[e.STATIC_VALUES=7]="STATIC_VALUES",e[e.USER_IN_GROUP=8]="USER_IN_GROUP",e[e.INVERTED_MAP=9]="INVERTED_MAP",e[e.NEONPIXEL_ADVERTISERS=10]="NEONPIXEL_ADVERTISERS",e[e.STREAM=11]="STREAM",e[e.STREAM_ITEM=12]="STREAM_ITEM",e[e.CREDENTIAL_WALLET=13]="CREDENTIAL_WALLET",e[e.ACTION=14]="ACTION",e[e.ACTION_INSERT=15]="ACTION_INSERT"})(t.DataSourceType||(t.DataSourceType={}))})(Ss||(Ss={}));const fX=class ul extends c.Message{constructor(e){super(),Et(this,va,[[7],[8],[11],[9],[18],[21],[23]]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[5,6,10,17,19,20,22],ot(this,va)),!Array.isArray(e)&&typeof e=="object"&&("optional"in e&&e.optional!=null&&(this.optional=e.optional),"var_name"in e&&e.var_name!=null&&(this.var_name=e.var_name),"label"in e&&e.label!=null&&(this.label=e.label),"ptype"in e&&e.ptype!=null&&(this.ptype=e.ptype),"validations"in e&&e.validations!=null&&(this.validations=e.validations),"svals"in e&&e.svals!=null&&(this.svals=e.svals),"sdefault"in e&&e.sdefault!=null&&(this.sdefault=e.sdefault),"idefault"in e&&e.idefault!=null&&(this.idefault=e.idefault),"ddefault"in e&&e.ddefault!=null&&(this.ddefault=e.ddefault),"bdefault"in e&&e.bdefault!=null&&(this.bdefault=e.bdefault),"smap"in e&&e.smap!=null&&(this.smap=e.smap),"imap"in e&&e.imap!=null&&(this.imap=e.imap),"src_owners"in e&&e.src_owners!=null&&(this.src_owners=e.src_owners),"extra"in e&&e.extra!=null&&(this.extra=e.extra),"conditionals"in e&&e.conditionals!=null&&(this.conditionals=e.conditionals),"conditional_match_all"in e&&e.conditional_match_all!=null&&(this.conditional_match_all=e.conditional_match_all),"dvals"in e&&e.dvals!=null&&(this.dvals=e.dvals),"hint"in e&&e.hint!=null&&(this.hint=e.hint),"data_sources"in e&&e.data_sources!=null&&(this.data_sources=e.data_sources),"sdefaults"in e&&e.sdefaults!=null&&(this.sdefaults=e.sdefaults),"immutable"in e&&e.immutable!=null&&(this.immutable=e.immutable),"params"in e&&e.params!=null&&(this.params=e.params),"poll"in e&&e.poll!=null&&(this.poll=e.poll)),this.smap||(this.smap=new Map),this.imap||(this.imap=new Map),this.extra||(this.extra=new Map),this.conditionals||(this.conditionals=new Map)}get optional(){return c.Message.getFieldWithDefault(this,1,!1)}set optional(e){c.Message.setField(this,1,e)}get var_name(){return c.Message.getFieldWithDefault(this,2,"")}set var_name(e){c.Message.setField(this,2,e)}get label(){return c.Message.getFieldWithDefault(this,3,"")}set label(e){c.Message.setField(this,3,e)}get ptype(){return c.Message.getFieldWithDefault(this,4,0)}set ptype(e){c.Message.setField(this,4,e)}get validations(){return c.Message.getRepeatedWrapperField(this,$p,5)}set validations(e){c.Message.setRepeatedWrapperField(this,5,e)}get svals(){return c.Message.getRepeatedWrapperField(this,Tl,6)}set svals(e){c.Message.setRepeatedWrapperField(this,6,e)}get sdefault(){return c.Message.getFieldWithDefault(this,7,"")}set sdefault(e){c.Message.setOneofField(this,7,ot(this,va)[0],e)}get has_sdefault(){return c.Message.getField(this,7)!=null}get idefault(){return c.Message.getFieldWithDefault(this,8,0)}set idefault(e){c.Message.setOneofField(this,8,ot(this,va)[1],e)}get has_idefault(){return c.Message.getField(this,8)!=null}get ddefault(){return c.Message.getFieldWithDefault(this,11,0)}set ddefault(e){c.Message.setOneofField(this,11,ot(this,va)[2],e)}get has_ddefault(){return c.Message.getField(this,11)!=null}get bdefault(){return c.Message.getFieldWithDefault(this,9,!1)}set bdefault(e){c.Message.setOneofField(this,9,ot(this,va)[3],e)}get has_bdefault(){return c.Message.getField(this,9)!=null}get smap(){return c.Message.getField(this,12)}set smap(e){c.Message.setField(this,12,e)}get imap(){return c.Message.getField(this,13)}set imap(e){c.Message.setField(this,13,e)}get src_owners(){return c.Message.getFieldWithDefault(this,10,[])}set src_owners(e){c.Message.setField(this,10,e)}get extra(){return c.Message.getField(this,14)}set extra(e){c.Message.setField(this,14,e)}get conditionals(){return c.Message.getField(this,15)}set conditionals(e){c.Message.setField(this,15,e)}get conditional_match_all(){return c.Message.getFieldWithDefault(this,16,!1)}set conditional_match_all(e){c.Message.setField(this,16,e)}get dvals(){return c.Message.getFieldWithDefault(this,17,[])}set dvals(e){c.Message.setField(this,17,e)}get hint(){return c.Message.getFieldWithDefault(this,18,"")}set hint(e){c.Message.setOneofField(this,18,ot(this,va)[4],e)}get has_hint(){return c.Message.getField(this,18)!=null}get data_sources(){return c.Message.getRepeatedWrapperField(this,Ss,19)}set data_sources(e){c.Message.setRepeatedWrapperField(this,19,e)}get sdefaults(){return c.Message.getFieldWithDefault(this,20,[])}set sdefaults(e){c.Message.setField(this,20,e)}get immutable(){return c.Message.getFieldWithDefault(this,21,!1)}set immutable(e){c.Message.setOneofField(this,21,ot(this,va)[5],e)}get has_immutable(){return c.Message.getField(this,21)!=null}get params(){return c.Message.getRepeatedWrapperField(this,ul,22)}set params(e){c.Message.setRepeatedWrapperField(this,22,e)}get poll(){return c.Message.getFieldWithDefault(this,23,!1)}set poll(e){c.Message.setOneofField(this,23,ot(this,va)[6],e)}get has_poll(){return c.Message.getField(this,23)!=null}get _sdefault(){return{0:"none",7:"sdefault"}[c.Message.computeOneofCase(this,[7])]}get _idefault(){return{0:"none",8:"idefault"}[c.Message.computeOneofCase(this,[8])]}get _ddefault(){return{0:"none",11:"ddefault"}[c.Message.computeOneofCase(this,[11])]}get _bdefault(){return{0:"none",9:"bdefault"}[c.Message.computeOneofCase(this,[9])]}get _hint(){return{0:"none",18:"hint"}[c.Message.computeOneofCase(this,[18])]}get _immutable(){return{0:"none",21:"immutable"}[c.Message.computeOneofCase(this,[21])]}get _poll(){return{0:"none",23:"poll"}[c.Message.computeOneofCase(this,[23])]}static fromObject(e){const r=new ul({});return e.optional!=null&&(r.optional=e.optional),e.var_name!=null&&(r.var_name=e.var_name),e.label!=null&&(r.label=e.label),e.ptype!=null&&(r.ptype=e.ptype),e.validations!=null&&(r.validations=e.validations.map(n=>$p.fromObject(n))),e.svals!=null&&(r.svals=e.svals.map(n=>Tl.fromObject(n))),e.sdefault!=null&&(r.sdefault=e.sdefault),e.idefault!=null&&(r.idefault=e.idefault),e.ddefault!=null&&(r.ddefault=e.ddefault),e.bdefault!=null&&(r.bdefault=e.bdefault),typeof e.smap=="object"&&(r.smap=new Map(Object.entries(e.smap))),typeof e.imap=="object"&&(r.imap=new Map(Object.entries(e.imap))),e.src_owners!=null&&(r.src_owners=e.src_owners),typeof e.extra=="object"&&(r.extra=new Map(Object.entries(e.extra).map(([n,i])=>[n,Ot.fromObject(i)]))),typeof e.conditionals=="object"&&(r.conditionals=new Map(Object.entries(e.conditionals).map(([n,i])=>[n,Ot.fromObject(i)]))),e.conditional_match_all!=null&&(r.conditional_match_all=e.conditional_match_all),e.dvals!=null&&(r.dvals=e.dvals),e.hint!=null&&(r.hint=e.hint),e.data_sources!=null&&(r.data_sources=e.data_sources.map(n=>Ss.fromObject(n))),e.sdefaults!=null&&(r.sdefaults=e.sdefaults),e.immutable!=null&&(r.immutable=e.immutable),e.params!=null&&(r.params=e.params.map(n=>ul.fromObject(n))),e.poll!=null&&(r.poll=e.poll),r}toObject(){const e={};return this.optional!=null&&(e.optional=this.optional),this.var_name!=null&&(e.var_name=this.var_name),this.label!=null&&(e.label=this.label),this.ptype!=null&&(e.ptype=this.ptype),this.validations!=null&&(e.validations=this.validations.map(r=>r.toObject())),this.svals!=null&&(e.svals=this.svals.map(r=>r.toObject())),this.sdefault!=null&&(e.sdefault=this.sdefault),this.idefault!=null&&(e.idefault=this.idefault),this.ddefault!=null&&(e.ddefault=this.ddefault),this.bdefault!=null&&(e.bdefault=this.bdefault),this.smap!=null&&(e.smap=Object.fromEntries(this.smap)),this.imap!=null&&(e.imap=Object.fromEntries(this.imap)),this.src_owners!=null&&(e.src_owners=this.src_owners),this.extra!=null&&(e.extra=Object.fromEntries(Array.from(this.extra).map(([r,n])=>[r,n.toObject()]))),this.conditionals!=null&&(e.conditionals=Object.fromEntries(Array.from(this.conditionals).map(([r,n])=>[r,n.toObject()]))),this.conditional_match_all!=null&&(e.conditional_match_all=this.conditional_match_all),this.dvals!=null&&(e.dvals=this.dvals),this.hint!=null&&(e.hint=this.hint),this.data_sources!=null&&(e.data_sources=this.data_sources.map(r=>r.toObject())),this.sdefaults!=null&&(e.sdefaults=this.sdefaults),this.immutable!=null&&(e.immutable=this.immutable),this.params!=null&&(e.params=this.params.map(r=>r.toObject())),this.poll!=null&&(e.poll=this.poll),e}serialize(e){const r=e||new c.BinaryWriter;this.optional!=!1&&r.writeBool(1,this.optional),this.var_name.length&&r.writeString(2,this.var_name),this.label.length&&r.writeString(3,this.label),this.ptype!=0&&r.writeEnum(4,this.ptype),this.validations.length&&r.writeRepeatedMessage(5,this.validations,n=>
261n.serialize(r)),this.svals.length&&r.writeRepeatedMessage(6,this.svals,n=>n.serialize(r)),this.has_sdefault&&r.writeString(7,this.sdefault),this.has_idefault&&r.writeInt64(8,this.idefault),this.has_ddefault&&r.writeFloat(11,this.ddefault),this.has_bdefault&&r.writeBool(9,this.bdefault);for(const[n,i]of this.smap)r.writeMessage(12,this.smap,()=>{r.writeString(1,n),r.writeString(2,i)});for(const[n,i]of this.imap)r.writeMessage(13,this.imap,()=>{r.writeString(1,n),r.writeInt64(2,i)});this.src_owners.length&&r.writeRepeatedString(10,this.src_owners);for(const[n,i]of this.extra)r.writeMessage(14,this.extra,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});for(const[n,i]of this.conditionals)r.writeMessage(15,this.conditionals,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.conditional_match_all!=!1&&r.writeBool(16,this.conditional_match_all),this.dvals.length&&r.writePackedFloat(17,this.dvals),this.has_hint&&r.writeString(18,this.hint),this.data_sources.length&&r.writeRepeatedMessage(19,this.data_sources,n=>n.serialize(r)),this.sdefaults.length&&r.writeRepeatedString(20,this.sdefaults),this.has_immutable&&r.writeBool(21,this.immutable),this.params.length&&r.writeRepeatedMessage(22,this.params,n=>n.serialize(r)),this.has_poll&&r.writeBool(23,this.poll),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new ul;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.optional=r.readBool();break;case 2:n.var_name=r.readString();break;case 3:n.label=r.readString();break;case 4:n.ptype=r.readEnum();break;case 5:r.readMessage(n.validations,()=>c.Message.addToRepeatedWrapperField(n,5,$p.deserialize(r),$p));break;case 6:r.readMessage(n.svals,()=>c.Message.addToRepeatedWrapperField(n,6,Tl.deserialize(r),Tl));break;case 7:n.sdefault=r.readString();break;case 8:n.idefault=r.readInt64();break;case 11:n.ddefault=r.readFloat();break;case 9:n.bdefault=r.readBool();break;case 12:r.readMessage(n,()=>c.Map.deserializeBinary(n.smap,r,r.readString,r.readString));break;case 13:r.readMessage(n,()=>c.Map.deserializeBinary(n.imap,r,r.readString,r.readInt64));break;case 10:c.Message.addToRepeatedField(n,10,r.readString());break;case 14:r.readMessage(n,()=>c.Map.deserializeBinary(n.extra,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 15:r.readMessage(n,()=>c.Map.deserializeBinary(n.conditionals,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 16:n.conditional_match_all=r.readBool();break;case 17:n.dvals=r.readPackedFloat();break;case 18:n.hint=r.readString();break;case 19:r.readMessage(n.data_sources,()=>c.Message.addToRepeatedWrapperField(n,19,Ss.deserialize(r),Ss));break;case 20:c.Message.addToRepeatedField(n,20,r.readString());break;case 21:n.immutable=r.readBool();break;
261case 22:r.readMessage(n.params,()=>c.Message.addToRepeatedWrapperField(n,22,ul.deserialize(r),ul));break;case 23:n.poll=r.readBool();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return ul.deserialize(e)}};va=new WeakMap;let ft=fX;const dX=class Gc extends c.Message{constructor(e){super(),Et(this,T2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[5,6,15,17],ot(this,T2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"sys_name"in e&&e.sys_name!=null&&(this.sys_name=e.sys_name),"sys_action_id"in e&&e.sys_action_id!=null&&(this.sys_action_id=e.sys_action_id),"params"in e&&e.params!=null&&(this.params=e.params),"outputs"in e&&e.outputs!=null&&(this.outputs=e.outputs),"unique_id"in e&&e.unique_id!=null&&(this.unique_id=e.unique_id),"public_action_id"in e&&e.public_action_id!=null&&(this.public_action_id=e.public_action_id),"label"in e&&e.label!=null&&(this.label=e.label),"icon"in e&&e.icon!=null&&(this.icon=e.icon),"short_desc"in e&&e.short_desc!=null&&(this.short_desc=e.short_desc),"long_desc"in e&&e.long_desc!=null&&(this.long_desc=e.long_desc),"run_mode"in e&&e.run_mode!=null&&(this.run_mode=e.run_mode),"image"in e&&e.image!=null&&(this.image=e.image),"availability"in e&&e.availability!=null&&(this.availability=e.availability),"display_format"in e&&e.display_format!=null&&(this.display_format=e.display_format),"job_outputs"in e&&e.job_outputs!=null&&(this.job_outputs=e.job_outputs),"is_nondeterministic"in e&&e.is_nondeterministic!=null&&(this.is_nondeterministic=e.is_nondeterministic),"match_pattern"in e&&e.match_pattern!=null&&(this.match_pattern=e.match_pattern),"folder"in e&&e.folder!=null&&(this.folder=e.folder))}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get sys_name(){return c.Message.getFieldWithDefault(this,3,"")}set sys_name(e){c.Message.setField(this,3,e)}get sys_action_id(){return c.Message.getFieldWithDefault(this,4,"")}set sys_action_id(e){c.Message.setField(this,4,e)}get params(){return c.Message.getRepeatedWrapperField(this,ft,5)}set params(e){c.Message.setRepeatedWrapperField(this,5,e)}get outputs(){return c.Message.getRepeatedWrapperField(this,ft,6)}set outputs(e){c.Message.setRepeatedWrapperField(this,6,e)}get unique_id(){return c.Message.getFieldWithDefault(this,7,"")}set unique_id(e){c.Message.setField(this,7,e)}get public_action_id(){return c.Message.getFieldWithDefault(this,8,"")}set public_action_id(e){c.Message.setField(this,8,e)}get label(){return c.Message.getFieldWithDefault(this,9,"")}set label(e){c.Message.setField(this,9,e)}get icon(){return c.Message.getFieldWithDefault(this,10,"")}set icon(e){c.Message.setField(this,10,e)}get short_desc(){return c.Message.getFieldWithDefault(this,11,"")}set short_desc(e){c.Message.setField(this,11,e)}get long_desc(){return c.Message.getFieldWithDefault(this,12,"")}set long_desc(e){c.Message.setField(this,12,e)}get run_mode(){return c.Message.getFieldWithDefault(this,13,0)}set run_mode(e){c.Message.setField(this,13,e)}get image(){return c.Message.getFieldWithDefault(this,14,"")}set image(e){c.Message.setField(this,14,e)}get availability(){return c.Message.getFieldWithDefault(this,15,[])}set availability(e){c.Message.setField(this,15,e)}get display_format(){return c.Message.getFieldWithDefault(this,16,Gc.DisplayFormat.FORM_AND_RECEIPTS)}set display_format(e){c.Message.setField(this,16,e)}get job_outputs(){return c.Message.getRepeatedWrapperField(this,ft,17)}set job_outputs(e){c.Message.setRepeatedWrapperField(this,17,e)}get is_nondeterministic(){return c.Message.getFieldWithDefault(this,18,!1)}set is_nondeterministic(e){c.Message.setField(this,18,e)}get match_pattern(){return c.Message.getFieldWithDefault(this,19,"")}set match_pattern(e){c.Message.setField(this,19,e)}get folder(){return c.Message.getFieldWithDefault(this,20,"")}set folder(e){c.Message.setField(this,20,e)}static fromObject(e){const r=new Gc({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.sys_name!=null&&(r.sys_name=e.sys_name),e.sys_action_id!=null&&(r.sys_action_id=e.sys_action_id),e.params!=null&&(r.params=e.params.map(n=>ft.fromObject(n))),e.outputs!=null&&(r.outputs=e.outputs.map(n=>ft.fromObject(n))),e.unique_id!=null&&(r.unique_id=e.unique_id),e.public_action_id!=null&&(r.public_action_id=e.public_action_id),e.label!=null&&(r.label=e.label),e.icon!=null&&(r.icon=e.icon),e.short_desc!=null&&(r.short_desc=e.short_desc),e.long_desc!=null&&(r.long_desc=e.long_desc),e.run_mode!=null&&(r.run_mode=e.run_mode),e.image!=null&&(r.image=e.image),e.availability!=null&&(r.availability=e.availability),e.display_format!=null&&(r.display_format=e.display_format),e.job_outputs!=null&&(r.job_outputs=e.job_outputs.map(n=>ft.fromObject(n))),e.is_nondeterministic!=null&&(r.is_nondeterministic=e.is_nondeterministic),e.match_pattern!=null&&(r.match_pattern=e.match_pattern),e.folder!=null&&(r.folder=e.folder),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.sys_name!=null&&(e.sys_name=this.sys_name),this.sys_action_id!=null&&(e.sys_action_id=this.sys_action_id),this.params!=null&&(e.params=this.params.map(r=>r.toObject())),this.outputs!=null&&(e.outputs=this.outputs.map(r=>r.toObject())),this.unique_id!=null&&(e.unique_id=this.unique_id),this.public_action_id!=null&&(e.public_action_id=this.public_action_id),this.label!=null&&(e.label=this.label),this.icon!=null&&(e.icon=this.icon),this.short_desc!=null&&(e.short_desc=this.short_desc),this.long_desc!=null&&(e.long_desc=this.long_desc),this.run_mode!=null&&(e.run_mode=this.run_mode),this.image!=null&&(e.image=this.image),this.availability!=null&&(e.availability=this.availability),this.display_format!=null&&(e.dis
261play_format=this.display_format),this.job_outputs!=null&&(e.job_outputs=this.job_outputs.map(r=>r.toObject())),this.is_nondeterministic!=null&&(e.is_nondeterministic=this.is_nondeterministic),this.match_pattern!=null&&(e.match_pattern=this.match_pattern),this.folder!=null&&(e.folder=this.folder),e}serialize(e){const r=e||new c.BinaryWriter;if(this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.sys_name.length&&r.writeString(3,this.sys_name),this.sys_action_id.length&&r.writeString(4,this.sys_action_id),this.params.length&&r.writeRepeatedMessage(5,this.params,n=>n.serialize(r)),this.outputs.length&&r.writeRepeatedMessage(6,this.outputs,n=>n.serialize(r)),this.unique_id.length&&r.writeString(7,this.unique_id),this.public_action_id.length&&r.writeString(8,this.public_action_id),this.label.length&&r.writeString(9,this.label),this.icon.length&&r.writeString(10,this.icon),this.short_desc.length&&r.writeString(11,this.short_desc),this.long_desc.length&&r.writeString(12,this.long_desc),this.run_mode!=0&&r.writeEnum(13,this.run_mode),this.image.length&&r.writeString(14,this.image),this.availability.length&&r.writePackedEnum(15,this.availability),this.display_format!=Gc.DisplayFormat.FORM_AND_RECEIPTS&&r.writeEnum(16,this.display_format),this.job_outputs.length&&r.writeRepeatedMessage(17,this.job_outputs,n=>n.serialize(r)),this.is_nondeterministic!=!1&&r.writeBool(18,this.is_nondeterministic),this.match_pattern.length&&r.writeString(19,this.match_pattern),this.folder.length&&r.writeString(20,this.folder),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Gc;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.sys_name=r.readString();break;case 4:n.sys_action_id=r.readString();break;
261case 5:r.readMessage(n.params,()=>c.Message.addToRepeatedWrapperField(n,5,ft.deserialize(r),ft));break;case 6:r.readMessage(n.outputs,()=>c.Message.addToRepeatedWrapperField(n,6,ft.deserialize(r),ft));break;case 7:n.unique_id=r.readString();break;case 8:n.public_action_id=r.readString();break;case 9:n.label=r.readString();break;case 10:n.icon=r.readString();break;case 11:n.short_desc=r.readString();break;case 12:n.long_desc=r.readString();break;case 13:n.run_mode=r.readEnum();break;case 14:n.image=r.readString();break;case 15:n.availability=r.readPackedEnum();break;case 16:n.display_format=r.readEnum();break;case 17:r.readMessage(n.job_outputs,()=>c.Message.addToRepeatedWrapperField(n,17,ft.deserialize(r),ft));break;case 18:n.is_nondeterministic=r.readBool();break;case 19:n.match_pattern=r.readString();break;case 20:n.folder=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Gc.deserialize(e)}};T2=new WeakMap;let Xs=dX;(t=>{(e=>{e[e.FORM_AND_RECEIPTS=0]="FORM_AND_RECEIPTS",e[e.CHATBOT=1]="CHATBOT",e[e.FORM_OR_RECEIPT=2]="FORM_OR_RECEIPT"})(t.DisplayFormat||(t.DisplayFormat={}))})(Xs||(Xs={}));const pX=class Jm extends c.Message{constructor(e){super(),Et(this,nl,[[2],[3],[4],[5],[9]]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[6,7,8],ot(this,nl)),!Array.isArray(e)&&typeof e=="object"&&("vtype"in e&&e.vtype!=null&&(this.vtype=e.vtype),"bval"in e&&e.bval!=null&&(this.bval=e.bval),"ival"in e&&e.ival!=null&&(this.ival=e.ival),"dval"in e&&e.dval!=null&&(this.dval=e.dval),"sval"in e&&e.sval!=null&&(this.sval=e.sval),"svals"in e&&e.svals!=null&&(this.svals=e.svals),"dvals"in e&&e.dvals!=null&&(this.dvals=e.dvals),"ivals"in e&&e.ivals!=null&&(this.ivals=e.ivals),"error_message"in e&&e.error_message!=null&&(this.error_message=e.error_message))}get vtype(){return c.Message.getFieldWithDefault(this,1,0)}set vtype(e){c.Message.setField(this,1,e)}get bval(){return c.Message.getFieldWithDefault(this,2,!1)}set bval(e){c.Message.setOneofField(this,2,ot(this,nl)[0],e)}get has_bval(){return c.Message.getField(this,2)!=null}get ival(){return c.Message.getFieldWithDefault(this,3,0)}set ival(e){c.Message.setOneofField(this,3,ot(this,nl)[1],e)}get has_ival(){return c.Message.getField(this,3)!=null}get dval(){return c.Message.getFieldWithDefault(this,4,0)}set dval(e){c.Message.setOneofField(this,4,ot(this,nl)[2],e)}get has_dval(){return c.Message.getField(this,4)!=null}get sval(){return c.Message.getFieldWithDefault(this,5,"")}set sval(e){c.Message.setOneofField(this,5,ot(this,nl)[3],e)}get has_sval(){return c.Message.getField(this,5)!=null}get svals(){return c.Message.getFieldWithDefault(this,6,[])}set svals(e){c.Message.setField(this,6,e)}get dvals(){return c.Message.getFieldWithDefault(this,7,[])}set dvals(e){c.Message.setField(this,7,e)}get ivals(){return c.Message.getFieldWithDefault(this,8,[])}set ivals(e){c.Message.setField(this,8,e)}get error_message(){return c.Message.getFieldWithDefault(this,9,"")}set error_message(e){c.Message.setOneofField(this,9,ot(this,nl)[4],e)}get has_error_message(){return c.Message.getField(this,9)!=null}get _bval(){return{0:"none",2:"bval"}[c.Message.computeOneofCase(this,[2])]}get _ival(){return{0:"none",3:"ival"}[c.Message.computeOneofCase(this,[3])]}get _dval(){return{0:"none",4:"dval"}[c.Message.computeOneofCase(this,[4])]}get _sval(){return{0:"none",5:"sval"}[c.Message.computeOneofCase(this,[5])]}get _error_message(){return{0:"none",9:"error_message"}[c.Message.computeOneofCase(this,[9])]}static fromObject(e){const r=new Jm({});return e.vtype!=null&&(r.vtype=e.vtype),e.bval!=null&&(r.bval=e.bval),e.ival!=null&&(r.ival=e.ival),e.dval!=null&&(r.dval=e.dval),e.sval!=null&&(r.sval=e.sval),e.svals!=null&&(r.svals=e.svals),e.dvals!=null&&(r.dvals=e.dvals),e.ivals!=null&&(r.ivals=e.ivals),e.error_message!=null&&(r.error_message=e.error_message),r}toObject(){const e={};return this.vtype!=null&&(e.vtype=this.vtype),this.bval!=null&&(e.bval=this.bval),this.ival!=null&&(e.ival=this.ival),this.dval!=null&&(e.dval=this.dval),this.sval!=null&&(e.sval=this.sval),this.svals!=null&&(e.svals=this.svals),this.dvals!=null&&(e.dvals=this.dvals),this.ivals!=null&&(e.ivals=this.ivals),this.error_message!=null&&(e.error_message=this.error_message),e}serialize(e){const r=e||new c.BinaryWriter;if(this.vtype!=0&&r.writeEnum(1,this.vtype),this.has_bval&&r.writeBool(2,this.bval),this.has_ival&&r.writeInt64(3,this.ival),this.has_dval&&r.writeDouble(4,this.dval),this.has_sval&&r.writeString(5,this.sval),this.svals.length&&r.writeRepeatedString(6,this.svals),this.dvals.length&&r.writePackedDouble(7,this.dvals),this.ivals.length&&r.writePackedInt64(8,this.ivals),this.has_error_message&&r.writeString(9,this.error_message),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Jm;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.vtype=r.readEnum();break;case 2:n.bval=r.readBool();break;case 3:n.ival=r.readInt64();break;case 4:n.dval=r.readDouble();break;case 5:n.sval=r.readString();break;case 6:c.Message.addToRepeatedField(n,6,r.readString());break;case 7:n.dvals=r.readPackedDouble();break;case 8:n.ivals=r.readPackedInt64();break;case 9:n.error_message=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Jm.deserialize(e)}};nl=new WeakMap;let $p=pX;const mX=class Ea extends c.Message{constructor(e){super(),Et(this,ba,[[2],[3],[4],[5],[9],[10],[13]]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[6,7,8,14],ot(this,ba)),!Array.isArray(e)&&typeof e=="object"&&("ptype"
261in e&&e.ptype!=null&&(this.ptype=e.ptype),"bval"in e&&e.bval!=null&&(this.bval=e.bval),"ival"in e&&e.ival!=null&&(this.ival=e.ival),"dval"in e&&e.dval!=null&&(this.dval=e.dval),"sval"in e&&e.sval!=null&&(this.sval=e.sval),"svals"in e&&e.svals!=null&&(this.svals=e.svals),"dvals"in e&&e.dvals!=null&&(this.dvals=e.dvals),"ivals"in e&&e.ivals!=null&&(this.ivals=e.ivals),"mapping"in e&&e.mapping!=null&&(this.mapping=e.mapping),"byval"in e&&e.byval!=null&&(this.byval=e.byval),"smap"in e&&e.smap!=null&&(this.smap=e.smap),"imap"in e&&e.imap!=null&&(this.imap=e.imap),"json_data"in e&&e.json_data!=null&&(this.json_data=e.json_data),"vals"in e&&e.vals!=null&&(this.vals=e.vals),"vmap"in e&&e.vmap!=null&&(this.vmap=e.vmap)),this.smap||(this.smap=new Map),this.imap||(this.imap=new Map),this.vmap||(this.vmap=new Map)}get ptype(){return c.Message.getFieldWithDefault(this,1,0)}set ptype(e){c.Message.setField(this,1,e)}get bval(){return c.Message.getFieldWithDefault(this,2,!1)}set bval(e){c.Message.setOneofField(this,2,ot(this,ba)[0],e)}get has_bval(){return c.Message.getField(this,2)!=null}get ival(){return c.Message.getFieldWithDefault(this,3,0)}set ival(e){c.Message.setOneofField(this,3,ot(this,ba)[1],e)}get has_ival(){return c.Message.getField(this,3)!=null}get dval(){return c.Message.getFieldWithDefault(this,4,0)}set dval(e){c.Message.setOneofField(this,4,ot(this,ba)[2],e)}get has_dval(){return c.Message.getField(this,4)!=null}get sval(){return c.Message.getFieldWithDefault(this,5,"")}set sval(e){c.Message.setOneofField(this,5,ot(this,ba)[3],e)}get has_sval(){return c.Message.getField(this,5)!=null}get svals(){return c.Message.getFieldWithDefault(this,6,[])}set svals(e){c.Message.setField(this,6,e)}get dvals(){return c.Message.getFieldWithDefault(this,7,[])}set dvals(e){c.Message.setField(this,7,e)}get ivals(){return c.Message.getFieldWithDefault(this,8,[])}set ivals(e){c.Message.setField(this,8,e)}get mapping(){return c.Message.getWrapperField(this,$s,9)}set mapping(e){c.Message.setOneofWrapperField(this,9,ot(this,ba)[4],e)}get has_mapping(){return c.Message.getField(this,9)!=null}get byval(){return c.Message.getFieldWithDefault(this,10,new Uint8Array(0))}set byval(e){c.Message.setOneofField(this,10,ot(this,ba)[5],e)}get has_byval(){return c.Message.getField(this,10)!=null}get smap(){return c.Message.getField(this,11)}set smap(e){c.Message.setField(this,11,e)}get imap(){return c.Message.getField(this,12)}set imap(e){c.Message.setField(this,12,e)}get json_data(){return c.Message.getWrapperField(this,ff.protobuf.Struct,13)}set json_data(e){c.Message.setOneofWrapperField(this,13,ot(this,ba)[6],e)}get has_json_data(){return c.Message.getField(this,13)!=null}get vals(){return c.Message.getRepeatedWrapperField(this,Ea,14)}set vals(e){c.Message.setRepeatedWrapperField(this,14,e)}get vmap(){return c.Message.getField(this,15)}set vmap(e){c.Message.setField(this,15,e)}get _bval(){return{0:"none",2:"bval"}[c.Message.computeOneofCase(this,[2])]}get _ival(){return{0:"none",3:"ival"}[c.Message.computeOneofCase(this,[3])]}get _dval(){return{0:"none",4:"dval"}[c.Message.computeOneofCase(this,[4])]}get _sval(){return{0:"none",5:"sval"}[c.Message.computeOneofCase(this,[5])]}get _mapping(){return{0:"none",9:"mapping"}[c.Message.computeOneofCase(this,[9])]}get _byval(){return{0:"none",10:"byval"}[c.Message.computeOneofCase(this,[10])]}get _json_data(){return{0:"none",13:"json_data"}[c.Message.computeOneofCase(this,[13])]}static fromObject(e){const r=new Ea({});return e.ptype!=null&&(r.ptype=e.ptype),e.bval!=null&&(r.bval=e.bval),e.ival!=null&&(r.ival=e.ival),e.dval!=null&&(r.dval=e.dval),e.sval!=null&&(r.sval=e.sval),e.svals!=null&&(r.svals=e.svals),e.dvals!=null&&(r.dvals=e.dvals),e.ivals!=null&&(r.ivals=e.ivals),e.mapping!=null&&(r.mapping=$s.fromObject(e.mapping)),e.byval!=null&&(r.byval=e.byval),typeof e.smap=="object"&&(r.smap=new Map(Object.entries(e.smap))),typeof e.imap=="object"&&(r.imap=new Map(Object.entries(e.imap))),e.json_data!=null&&(r.json_data=ff.protobuf.Struct.fromObject(e.json_data)),e.vals!=null&&(r.vals=e.vals.map(n=>Ea.fromObject(n))),typeof e.vmap=="object"&&(r.vmap=new Map(Object.entries(e.vmap).map(([n,i])=>[n,Ea.fromObject(i)]))),r}toObject(){const e={};return this.ptype!=null&&(e.ptype=this.ptype),this.bval!=null&&(e.bval=this.bval),this.ival!=null&&(e.ival=this.ival),this.dval!=null&&(e.dval=this.dval),this.sval!=null&&(e.sval=this.sval),this.svals!=null&&(e.svals=this.svals),this.dvals!=null&&(e.dvals=this.dvals),this.ivals!=null&&(e.ivals=this.ivals),this.mapping!=null&&(e.mapping=this.mapping.toObject()),this.byval!=null&&(e.byval=this.byval),this.smap!=null&&(e.smap=Object.fromEntries(this.smap)),this.imap!=null&&(e.imap=Object.fromEntries(this.imap)),this.json_data!=null&&(e.json_data=this.json_data.toObject()),this.vals!=null&&(e.vals=this.vals.map(r=>r.toObject())),this.vmap!=null&&(e.vmap=Object.fromEntries(Array.from(this.vmap).map(([r,n])=>[r,n.toObject()]))),e}serialize(e){const r=e||new c.BinaryWriter;this.ptype!=0&&r.writeEnum(1,this.ptype),this.has_bval&&r.writeBool(2,this.bval),this.has_ival&&r.writeInt64(3,this.ival),this.has_dval&&r.writeDouble(4,this.dval),this.has_sval&&r.writeString(5,this.sval),this.svals.length&&r.writeRepeatedString(6,this.svals),this.dvals.length&&r.writePackedDouble(7,this.dvals),this.ivals.length&&r.writePackedInt64(8,this.ivals),this.has_mapping&&r.writeMessage(9,this.mapping,()=>this.mapping.serialize(r)),this.has_byval&&r.writeBytes(10,this.byval);for(const[n,i]of this.smap)r.writeMessage(11,this.smap,()=>{r.writeString(1,n),r.writeString(2,i)});for(const[n,i]of this.imap)r.writeMessage(12,this.imap,()=>{r.writeString(1,n),r.writeInt64(2,i)});this.has_json_data&&r.writeMessage(13,this.json_data,()=>
261this.json_data.serialize(r)),this.vals.length&&r.writeRepeatedMessage(14,this.vals,n=>n.serialize(r));for(const[n,i]of this.vmap)r.writeMessage(15,this.vmap,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Ea;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.ptype=r.readEnum();break;case 2:n.bval=r.readBool();break;case 3:n.ival=r.readInt64();break;case 4:n.dval=r.readDouble();break;case 5:n.sval=r.readString();break;case 6:c.Message.addToRepeatedField(n,6,r.readString());break;case 7:n.dvals=r.readPackedDouble();break;case 8:n.ivals=r.readPackedInt64();break;case 9:r.readMessage(n.mapping,()=>n.mapping=$s.deserialize(r));break;case 10:n.byval=r.readBytes();break;case 11:r.readMessage(n,()=>c.Map.deserializeBinary(n.smap,r,r.readString,r.readString));break;case 12:r.readMessage(n,()=>c.Map.deserializeBinary(n.imap,r,r.readString,r.readInt64));break;case 13:r.readMessage(n.json_data,()=>n.json_data=ff.protobuf.Struct.deserialize(r));break;case 14:r.readMessage(n.vals,()=>c.Message.addToRepeatedWrapperField(n,14,Ea.deserialize(r),Ea));break;case 15:r.readMessage(n,()=>c.Map.deserializeBinary(n.vmap,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ea.deserialize(r)),i}));break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Ea.deserialize(e)}};ba=new WeakMap;let Ot=mX;const gX=class $c extends c.Message{constructor(e){super(),Et(this,x2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[5],ot(this,x2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"action_id"in e&&e.action_id!=null&&(this.action_id=e.action_id),"src_prefix"in e&&e.src_prefix!=null&&(this.src_prefix=e.src_prefix),"match_patterns"in e&&e.match_patterns!=null&&(this.match_patterns=e.match_patterns),"param_values"in e&&e.param_values!=null&&(this.param_values=e.param_values),"label"in e&&e.label!=null&&(this.label=e.label),"recursive"in e&&e.recursive!=null&&(this.recursive=e.recursive),"trigger_count"in e&&e.trigger_count!=null&&(this.trigger_count=e.trigger_count),"fail_count"in e&&e.fail_count!=null&&(this.fail_count=e.fail_count),"ttype"in e&&e.ttype!=null&&(this.ttype=e.ttype),"last_receipt"in e&&e.last_receipt!=null&&(this.last_receipt=e.last_receipt)),this.param_values||(this.param_values=new Map)}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get action_id(){return c.Message.getFieldWithDefault(this,3,"")}set action_id(e){c.Message.setField(this,3,e)}get src_prefix(){return c.Message.getFieldWithDefault(this,4,"")}set src_prefix(e){c.Message.setField(this,4,e)}get match_patterns(){return c.Message.getFieldWithDefault(this,5,[])}set match_patterns(e){c.Message.setField(this,5,e)}get param_values(){return c.Message.getField(this,6)}set param_values(e){c.Message.setField(this,6,e)}get label(){return c.Message.getFieldWithDefault(this,7,"")}set label(e){c.Message.setField(this,7,e)}get recursive(){return c.Message.getFieldWithDefault(this,8,!1)}set recursive(e){c.Message.setField(this,8,e)}get trigger_count(){return c.Message.getFieldWithDefault(this,9,0)}set trigger_count(e){c.Message.setField(this,9,e)}get fail_count(){return c.Message.getFieldWithDefault(this,10,0)}set fail_count(e){c.Message.setField(this,10,e)}get ttype(){return c.Message.getFieldWithDefault(this,11,$c.TriggerType.ACTION)}set ttype(e){c.Message.setField(this,11,e)}get last_receipt(){return c.Message.getWrapperField(this,un,12)}set last_receipt(e){c.Message.setWrapperField(this,12,e)}get has_last_receipt(){return c.Message.getField(this,12)!=null}static fromObject(e){const r=new $c({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.action_id!=null&&(r.action_id=e.action_id),e.src_prefix!=null&&(r.src_prefix=e.src_prefix),e.match_patterns!=null&&(r.match_patterns=e.match_patterns),typeof e.param_values=="object"&&(r.param_values=new Map(Object.entries(e.param_values).map(([n,i])=>[n,Ot.fromObject(i)]))),e.label!=null&&(r.label=e.label),e.recursive
261!=null&&(r.recursive=e.recursive),e.trigger_count!=null&&(r.trigger_count=e.trigger_count),e.fail_count!=null&&(r.fail_count=e.fail_count),e.ttype!=null&&(r.ttype=e.ttype),e.last_receipt!=null&&(r.last_receipt=un.fromObject(e.last_receipt)),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.action_id!=null&&(e.action_id=this.action_id),this.src_prefix!=null&&(e.src_prefix=this.src_prefix),this.match_patterns!=null&&(e.match_patterns=this.match_patterns),this.param_values!=null&&(e.param_values=Object.fromEntries(Array.from(this.param_values).map(([r,n])=>[r,n.toObject()]))),this.label!=null&&(e.label=this.label),this.recursive!=null&&(e.recursive=this.recursive),this.trigger_count!=null&&(e.trigger_count=this.trigger_count),this.fail_count!=null&&(e.fail_count=this.fail_count),this.ttype!=null&&(e.ttype=this.ttype),this.last_receipt!=null&&(e.last_receipt=this.last_receipt.toObject()),e}serialize(e){const r=e||new c.BinaryWriter;this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.action_id.length&&r.writeString(3,this.action_id),this.src_prefix.length&&r.writeString(4,this.src_prefix),this.match_patterns.length&&r.writeRepeatedString(5,this.match_patterns);for(const[n,i]of this.param_values)r.writeMessage(6,this.param_values,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.label.length&&r.writeString(7,this.label),this.recursive!=!1&&r.writeBool(8,this.recursive),this.trigger_count!=0&&r.writeInt64(9,this.trigger_count),this.fail_count!=0&&r.writeInt64(10,this.fail_count),this.ttype!=$c.TriggerType.ACTION&&r.writeEnum(11,this.ttype),this.has_last_receipt&&r.writeMessage(12,this.last_receipt,()=>this.last_receipt.serialize(r)),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new $c;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.action_id=r.readString();break;case 4:n.src_prefix=r.readString();break;case 5:c.Message.addToRepeatedField(n,5,r.readString());break;case 6:r.readMessage(n,()=>c.Map.deserializeBinary(n.param_values,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 7:n.label=r.readString();break;case 8:n.recursive=r.readBool();break;case 9:n.trigger_count=r.readInt64();break;case 10:n.fail_count=r.readInt64();break;case 11:n.ttype=r.readEnum();break;case 12:r.readMessage(n.last_receipt,()=>n.last_receipt=un.deserialize(r));break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return $c.deserialize(e)}};x2=new WeakMap;let Vg=gX;(t=>{(e=>{e[e.ACTION=0]="ACTION",e[e.PLUS_SCRIPT=1]="PLUS_SCRIPT"})(t.TriggerType||(t.TriggerType={}))})(Vg||(Vg={}));const _X=class qc extends c.Message{constructor(e){super(),Et(this,k2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[6,7],ot(this,k2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"label"in e&&e.label!=null&&(this.label=e.label),"action_id"in e&&e.action_id!=null&&(this.action_id=e.action_id),"in_map"in e&&e.in_map!=null&&(this.in_map=e.in_map),"out_map"in e&&e.out_map!=null&&(this.out_map=e.out_map),"ttype"in e&&e.ttype!=null&&(this.ttype=e.ttype))}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get label(){return c.Message.getFieldWithDefault(this,3,"")}set label(e){c.Message.setField(this,3,e)}get action_id(){return c.Message.getFieldWithDefault(this,4,"")}set action_id(e){c.Message.setField(this,4,e)}get in_map(){return c.Message.getRepeatedWrapperField(this,$s,6)}set in_map(e){c.Message.setRepeatedWrapperField(this,6,e)}get out_map(){return c.Message.getRepeatedWrapperField(this,$s,7)}set out_map(e){c.Message.setRepeatedWrapperField(this,7,e)}get ttype(){return c.Message.getFieldWithDefault(this,8,qc.TriggerType.ACTION)}set ttype(e){c.Message.setField(this,8,e)}static fromObject(e){const r=new qc({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.label!=null&&(r.label=e.label),e.action_id!=null&&(r.action_id=e.action_id),e.in_map!=null&&(r.in_map=e.in_map.map(n=>$s.fromObject(n))),e.out_map!=null&&(r.out_map=e.out_map.map(n=>$s.fromObject(n))),e.ttype!=null&&(r.ttype=e.ttype),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.label!=null&&(e.label=this.label),this.action_id!=null&&(e.action_id=this.action_id),this.in_map!=null&&(e.in_map=this.in_map.map(r=>r.toObject())),this.out_map!=null&&(e.out_map=this.out_map.map(r=>r.toObject())),this.ttype!=null&&(e.ttype=this.ttype),e}serialize(e){const r=e||new c.BinaryWriter;if(this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.label.length&&r.writeString(3,this.label),this.action_id.length&&r.writeString(4,this.action_id),this.in_map.length&&r.writeRepeatedMessage(6,this.in_map,n=>
261n.serialize(r)),this.out_map.length&&r.writeRepeatedMessage(7,this.out_map,n=>n.serialize(r)),this.ttype!=qc.TriggerType.ACTION&&r.writeEnum(8,this.ttype),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new qc;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.label=r.readString();break;case 4:n.action_id=r.readString();break;case 6:r.readMessage(n.in_map,()=>c.Message.addToRepeatedWrapperField(n,6,$s.deserialize(r),$s));break;case 7:r.readMessage(n.out_map,()=>c.Message.addToRepeatedWrapperField(n,7,$s.deserialize(r),$s));break;case 8:n.ttype=r.readEnum();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return qc.deserialize(e)}};k2=new WeakMap;let p0=_X;(t=>{(e=>{e[e.ACTION=0]="ACTION",e[e.PLUS_SCRIPT=1]="PLUS_SCRIPT"})(t.TriggerType||(t.TriggerType={}))})(p0||(p0={}));const yX=class Vc extends c.Message{constructor(e){super(),Et(this,A2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,A2)),!Array.isArray(e)&&typeof e=="object"&&("ttype"in e&&e.ttype!=null&&(this.ttype=e.ttype),"object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"label"in e&&e.label!=null&&(this.label=e.label),"action_id"in e&&e.action_id!=null&&(this.action_id=e.action_id),"script"in e&&e.script!=null&&(this.script=e.script))}get ttype(){return c.Message.getFieldWithDefault(this,1,Vc.TriggerType.INVALID)}set ttype(e){c.Message.setField(this,1,e)}get object_id(){return c.Message.getFieldWithDefault(this,2,"")}set object_id(e){c.Message.setField(this,2,e)}get owner(){return c.Message.getFieldWithDefault(this,3,"")}set owner(e){c.Message.setField(this,3,e)}get label(){return c.Message.getFieldWithDefault(this,4,"")}set label(e){c.Message.setField(this,4,e)}get action_id(){return c.Message.getFieldWithDefault(this,5,"")}set action_id(e){c.Message.setField(this,5,e)}get script(){return c.Message.getWrapperField(this,sr,6)}set script(e){c.Message.setWrapperField(this,6,e)}get has_script(){return c.Message.getField(this,6)!=null}static fromObject(e){const r=new Vc({});return e.ttype!=null&&(r.ttype=e.ttype),e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.label!=null&&(r.label=e.label),e.action_id!=null&&(r.action_id=e.action_id),e.script!=null&&(r.script=sr.fromObject(e.script)),r}toObject(){const e={};return this.ttype!=null&&(e.ttype=this.ttype),this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.label!=null&&(e.label=this.label),this.action_id!=null&&(e.action_id=this.action_id),this.script!=null&&(e.script=this.script.toObject()),e}serialize(e){const r=e||new c.BinaryWriter;if(this.ttype!=Vc.TriggerType.INVALID&&r.writeEnum(1,this.ttype),this.object_id.length&&r.writeString(2,this.object_id),this.owner.length&&r.writeString(3,this.owner),this.label.length&&r.writeString(4,this.label),this.action_id.length&&r.writeString(5,this.action_id),this.has_script&&r.writeMessage(6,this.script,()=>this.script.serialize(r)),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Vc;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.ttype=r.readEnum();break;case 2:n.object_id=r.readString();break;case 3:n.owner=r.readString();break;case 4:n.label=r.readString();break;case 5:n.action_id=r.readString();break;case 6:r.readMessage(n.script,()=>n.script=sr.deserialize(r));break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Vc.deserialize(e)}};A2=new WeakMap;let Yg=yX;(t=>{(e=>{e[e.INVALID=0]="INVALID",e[e.UPDATE=1]="UPDATE"})(t.TriggerType||(t.TriggerType={}))})(Yg||(Yg={}));const vX=class Zm extends c.Message{constructor(e){super(),Et(this,M2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[5],ot(this,M2)),!Array.isArray(e)&&typeof e=="object"&&("title"in e&&e.title!=null&&(this.title=e.title),"description"in e&&e.description!=null&&(this.description=e.description),"back_button_label"in e&&e.back_button_label!=null&&(this.back_button_label=e.back_button_label),"next_button_label"in e&&e.next_button_label!=null&&(this.next_button_label=e.next_button_label),"params"in e&&e.params!=null&&(this.params=e.params),"layout"in e&&e.layout!=null&&(this.layout=e.layout),"icon"in e&&e.
261icon!=null&&(this.icon=e.icon)),this.layout||(this.layout=new Map)}get title(){return c.Message.getFieldWithDefault(this,1,"")}set title(e){c.Message.setField(this,1,e)}get description(){return c.Message.getFieldWithDefault(this,2,"")}set description(e){c.Message.setField(this,2,e)}get back_button_label(){return c.Message.getFieldWithDefault(this,3,"")}set back_button_label(e){c.Message.setField(this,3,e)}get next_button_label(){return c.Message.getFieldWithDefault(this,4,"")}set next_button_label(e){c.Message.setField(this,4,e)}get params(){return c.Message.getRepeatedWrapperField(this,ft,5)}set params(e){c.Message.setRepeatedWrapperField(this,5,e)}get layout(){return c.Message.getField(this,6)}set layout(e){c.Message.setField(this,6,e)}get icon(){return c.Message.getFieldWithDefault(this,7,"")}set icon(e){c.Message.setField(this,7,e)}static fromObject(e){const r=new Zm({});return e.title!=null&&(r.title=e.title),e.description!=null&&(r.description=e.description),e.back_button_label!=null&&(r.back_button_label=e.back_button_label),e.next_button_label!=null&&(r.next_button_label=e.next_button_label),e.params!=null&&(r.params=e.params.map(n=>ft.fromObject(n))),typeof e.layout=="object"&&(r.layout=new Map(Object.entries(e.layout))),e.icon!=null&&(r.icon=e.icon),r}toObject(){const e={};return this.title!=null&&(e.title=this.title),this.description!=null&&(e.description=this.description),this.back_button_label!=null&&(e.back_button_label=this.back_button_label),this.next_button_label!=null&&(e.next_button_label=this.next_button_label),this.params!=null&&(e.params=this.params.map(r=>r.toObject())),this.layout!=null&&(e.layout=Object.fromEntries(this.layout)),this.icon!=null&&(e.icon=this.icon),e}serialize(e){const r=e||new c.BinaryWriter;this.title.length&&r.writeString(1,this.title),this.description.length&&r.writeString(2,this.description),this.back_button_label.length&&r.writeString(3,this.back_button_label),this.next_button_label.length&&r.writeString(4,this.next_button_label),this.params.length&&r.writeRepeatedMessage(5,this.params,n=>n.serialize(r));for(const[n,i]of this.layout)r.writeMessage(6,this.layout,()=>{r.writeString(1,n),r.writeString(2,i)});if(this.icon.length&&r.writeString(7,this.icon),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Zm;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.title=r.readString();break;case 2:n.description=r.readString();break;case 3:n.back_button_label=r.readString();break;case 4:n.next_button_label=r.readString();break;
261case 5:r.readMessage(n.params,()=>c.Message.addToRepeatedWrapperField(n,5,ft.deserialize(r),ft));break;case 6:r.readMessage(n,()=>c.Map.deserializeBinary(n.layout,r,r.readString,r.readString));break;case 7:n.icon=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Zm.deserialize(e)}};M2=new WeakMap;let Ts=vX;const bX=class eg extends c.Message{constructor(e){super(),Et(this,C2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,C2)),!Array.isArray(e)&&typeof e=="object"&&("label"in e&&e.label!=null&&(this.label=e.label),"value"in e&&e.value!=null&&(this.value=e.value),"icon"in e&&e.icon!=null&&(this.icon=e.icon),"description"in e&&e.description!=null&&(this.description=e.description),"disabled"in e&&e.disabled!=null&&(this.disabled=e.disabled))}get label(){return c.Message.getFieldWithDefault(this,1,"")}set label(e){c.Message.setField(this,1,e)}get value(){return c.Message.getFieldWithDefault(this,2,"")}set value(e){c.Message.setField(this,2,e)}get icon(){return c.Message.getFieldWithDefault(this,3,"")}set icon(e){c.Message.setField(this,3,e)}get description(){return c.Message.getFieldWithDefault(this,4,"")}set description(e){c.Message.setField(this,4,e)}get disabled(){return c.Message.getFieldWithDefault(this,5,!1)}set disabled(e){c.Message.setField(this,5,e)}static fromObject(e){const r=new eg({});return e.label!=null&&(r.label=e.label),e.value!=null&&(r.value=e.value),e.icon!=null&&(r.icon=e.icon),e.description!=null&&(r.description=e.description),e.disabled!=null&&(r.disabled=e.disabled),r}toObject(){const e={};return this.label!=null&&(e.label=this.label),this.value!=null&&(e.value=this.value),this.icon!=null&&(e.icon=this.icon),this.description!=null&&(e.description=this.description),this.disabled!=null&&(e.disabled=this.disabled),e}serialize(e){const r=e||new c.BinaryWriter;if(this.label.length&&r.writeString(1,this.label),this.value.length&&r.writeString(2,this.value),this.icon.length&&r.writeString(3,this.icon),this.description.length&&r.writeString(4,this.description),this.disabled!=!1&&r.writeBool(5,this.disabled),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new eg;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.label=r.readString();break;case 2:n.value=r.readString();break;case 3:n.icon=r.readString();break;case 4:n.description=r.readString();break;case 5:n.disabled=r.readBool();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return eg.deserialize(e)}};C2=new WeakMap;let Tl=bX;const wX=class tg extends c.Message{constructor(e){super(),Et(this,Om,[[3]]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,Om)),!Array.isArray(e)&&typeof e=="object"&&("src"in e&&e.src!=null&&(this.src=e.src),"dest"in e&&e.dest!=null&&(this.dest=e.dest),"static_val"in e&&e.static_val!=null&&(this.static_val=e.static_val),"ptype"in e&&e.ptype!=null&&(this.ptype=e.ptype))}get src(){return c.Message.getFieldWithDefault(this,1,"")}set src(e){c.Message.setField(this,1,e)}get dest(){return c.Message.getFieldWithDefault(this,2,"")}set dest(e){c.Message.setField(this,2,e)}get static_val(){return c.Message.getWrapperField(this,Ot,3)}set static_val(e){c.Message.setOneofWrapperField(this,3,ot(this,Om)[0],e)}get has_static_val(){return c.Message.getField(this,3)!=null}get ptype(){return c.Message.getFieldWithDefault(this,4,0)}set ptype(e){c.Message.setField(this,4,e)}get _static_val(){return{0:"none",3:"static_val"}[c.Message.computeOneofCase(this,[3])]}static fromObject(e){const r=new tg({});return e.src!=null&&(r.src=e.src),e.dest!=null&&(r.dest=e.dest),e.static_val!=null&&(r.static_val=Ot.fromObject(e.static_val)),e.ptype!=null&&(r.ptype=e.ptype),r}toObject(){const e={};return this.src!=null&&(e.src=this.src),this.dest!=null&&(e.dest=this.dest),this.static_val!=null&&(e.static_val=this.static_val.toObject()),this.ptype!=null&&(e.ptype=this.ptype),e}serialize(e){const r=e||new c.BinaryWriter;
261if(this.src.length&&r.writeString(1,this.src),this.dest.length&&r.writeString(2,this.dest),this.has_static_val&&r.writeMessage(3,this.static_val,()=>this.static_val.serialize(r)),this.ptype!=0&&r.writeEnum(4,this.ptype),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new tg;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.src=r.readString();break;case 2:n.dest=r.readString();break;case 3:r.readMessage(n.static_val,()=>n.static_val=Ot.deserialize(r));break;case 4:n.ptype=r.readEnum();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return tg.deserialize(e)}};Om=new WeakMap;let $s=wX;const EX=class Yc extends c.Message{constructor(e){super(),Et(this,Im,[[5]]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,Im)),!Array.isArray(e)&&typeof e=="object"&&("stream_id"in e&&e.stream_id!=null&&(this.stream_id=e.stream_id),"timestamp"in e&&e.timestamp!=null&&(this.timestamp=e.timestamp),"etype"in e&&e.etype!=null&&(this.etype=e.etype),"data"in e&&e.data!=null&&(this.data=e.data),"session_id"in e&&e.session_id!=null&&(this.session_id=e.session_id)),this.data||(this.data=new Map)}get stream_id(){return c.Message.getFieldWithDefault(this,1,"")}set stream_id(e){c.Message.setField(this,1,e)}get timestamp(){return c.Message.getFieldWithDefault(this,2,0)}set timestamp(e){c.Message.setField(this,2,e)}get etype(){return c.Message.getFieldWithDefault(this,3,Yc.EventType.PING)}set etype(e){c.Message.setField(this,3,e)}get data(){return c.Message.getField(this,4)}set data(e){c.Message.setField(this,4,e)}get session_id(){return c.Message.getFieldWithDefault(this,5,"")}set session_id(e){c.Message.setOneofField(this,5,ot(this,Im)[0],e)}get has_session_id(){return c.Message.getField(this,5)!=null}get _session_id(){return{0:"none",5:"session_id"}[c.Message.computeOneofCase(this,[5])]}static fromObject(e){const r=new Yc({});return e.stream_id!=null&&(r.stream_id=e.stream_id),e.timestamp!=null&&(r.timestamp=e.timestamp),e.etype!=null&&(r.etype=e.etype),typeof e.data=="object"&&(r.data=new Map(Object.entries(e.data).map(([n,i])=>[n,Ot.fromObject(i)]))),e.session_id!=null&&(r.session_id=e.session_id),r}toObject(){const e={};return this.stream_id!=null&&(e.stream_id=this.stream_id),this.timestamp!=null&&(e.timestamp=this.timestamp),this.etype!=null&&(e.etype=this.etype),this.data!=null&&(e.data=Object.fromEntries(Array.from(this.data).map(([r,n])=>[r,n.toObject()]))),this.session_id!=null&&(e.session_id=this.session_id),e}serialize(e){const r=e||new c.BinaryWriter;this.stream_id.length&&r.writeString(1,this.stream_id),this.timestamp!=0&&r.writeInt64(2,this.timestamp),this.etype!=Yc.EventType.PING&&r.writeEnum(3,this.etype);for(const[n,i]of this.data)r.writeMessage(4,this.data,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.has_session_id&&r.writeString(5,this.session_id),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Yc;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.stream_id=r.readString();break;case 2:n.timestamp=r.readInt64();break;case 3:n.etype=r.readEnum();break;case 4:r.readMessage(n,()=>c.Map.deserializeBinary(n.data,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 5:n.session_id=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Yc.deserialize(e)}};Im=new WeakMap;let w7=EX;(t=>{(e=>{e[e.PING=0]="PING",e[e.BLOB_CREATED=1]="BLOB_CREATED",e[e.BLOB_DELETED=2]="BLOB_DELETED",e[e.GENERIC=3]="GENERIC",e[e.SLACK=4]="SLACK"})(t.EventType||(t.EventType={}))})(w7||(w7={}));const SX=class Hi extends c.Message{constructor(e){super(),Et(this,Rm,[[18]]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[12,16,17,19],ot(this,Rm)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"username"in e&&e.username!=null&&(this.username=e.username),"hashedPassword"in e&&e.hashedPassword!=null&&(this.hashedPassword=e.hashedPassword),"active"in e&&e.active!=null&&(this.active=e.active),"created_at"in e&&e.created_at!=null&&(this.created_at=e.created_at),"signup_src"in e&&e.signup_src!=null&&(this.signup_src=e.signup_src),"last_updated_at"in e&&e.last_updated_at!=null&&(this.last_updated_at=e.last_updated_at),"apps_maintenance_done_ts"in e&&e.apps_maintenance_done_ts!=null&&(this.apps_maintenance_done_ts=e.apps_maintenance_done_ts),"user_maintenance_done_ts"in e&&e.user_maintenance_done_ts!=null&&(this.user_maintenance_done_ts=e.user_maintenance_done_ts),"max_storage_space_mb"in e&&e.max_storage_space_mb!=null&&(this.max_storage_space_mb=e.max_storage_space_mb),"current_storage_space"in e&&e.current_storage_space!=null&&(this.current_storage_space=e.current_storage_space),"monthly_credits"in e&&e.monthly_credits!=null&&(this.monthly_credits=e.monthly_credits),"credits_remaining"in e&&e.credits_remaining!=null&&(this.credits_remaining=e.credits_remaining),"dashboard_object_ids"in e&&e.dashboard_object_ids!=null&&(this.dashboard_object_ids=e.dashboard_object_ids),"billing_period_ends_ts"in e&&e.billing_period_ends_ts!=null&&(this.billing_period_ends_ts=e.billing_period_ends_ts),"show_ads"in e&&e.show_ads!=null&&(this.show_ads=e.show_ads),"subscription_slug"in e&&e.subscription_slug!=null&&(this.subscription_slug=e.subscription_slug),"additional_profiles"in e&&e.additional_profiles!=null&&(this.additional_profiles=e.additional_profiles),"completed_tutorials"in e&&e.completed_tutorials!=null&&(this.completed_tutorials=e.completed_tutorials),"next_dashboard_id"in e&&e.next_dashboard_id!=null&&(this.next_dashboard_id=e.next_dashboard_id),"params"in e&&e.params!=null&&(this.params=e.params),"param_values"in e&&e.param_values!=null&&(this.param_values=e.param_values),"confirmation_token"in e&&e.confirmation_token!=null&&(this.confirmation_token=e.confirmation_token),"locked"in e&&e.locked!=null&&(this.locked=e.locked),"hiddens"in e&&e.hiddens!=null&&(this.hiddens=e.hiddens),"audit_log"in e&&e.audit_log!=null&&(this.audit_log=e.audit_log),"session_data"in e&&e.session_data!=null&&(this.session_data=e.session_data)),this.param_values||(this.param_values=new Map),this.hiddens||(this.hiddens=new Map)}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get username(){return c.Message.getFieldWithDefault(this,3,"")}set username(e){c.Message.setField(this,3,e)}get hashedPassword(){return c.Message.getWrapperField(this,Hi.HashPassword,23)}set hashedPassword(e){c.Message.setWrapperField(this,23,e)}get has_hashedPassword(){return c.Message.getField(this,23)!=null}get active(){return c.Message.getFieldWithDefault(this,4,!1)}set active(e){c.Message.setField(this,4,e)}get created_at(){return c.Message.getFieldWithDefault(this,5,0)}set created_at(e){c.Message.setField(this,5,e)}get signup_src(){return c.Message.getFieldWithDefault(this,6,"")}set signup_src(e){c.Message.setField(this,6,e)}get last_updated_at(){return c.Message.getFieldWithDefault(this,7,0)}set last_updated_at(e){c.Message.setField(this,7,e)}get apps_maintenance_done_ts(){return c.Message.getFieldWithDefault(this,8,0)}set apps_maintenance_done_ts(e){c.Message.setField(this,8,e)}get user_maintenance_done_ts(){return c.Message.getFieldWithDefault(this,9,0)}set user_maintenance_done_ts(e){c.Message.setField(this,9,e)}get max_storage_space_mb(){return c.Message.getFieldWithDefault(this,25,0)}set max_storage_space_mb(e){c.Message.setField(this,25,e)}get current_storage_space(){return c.Message.getFieldWithDefault(this,26,0)}set current_storage_space(e){c.Message.setField(this,26,e)}get monthly_credits(){return c.Message.getFieldWithDefault(this,10,0)}set monthly_credits(e){c.Message.setField(this,10,e)}get credits_remaining(){return c.Message.getFieldWithDefault(this,11,0)}set credits_remaining(e){c.Message.setField(this,11,e)}get dashboard_object_ids(){return c.Message.getFieldWithDefault(this,12,[])}set dashboard_object_ids(e){c.Message.setField(this,12,e)}get billing_period_ends_ts(){return c.Message.getFieldWithDefault(this,13,0)}set billing_period_ends_ts(e){c.Message.setField(this,13,e)}get show_ads(){return c.Message.getFieldWithDefault(this,14,!1)}set show_ads(e){c.Message.setField(this,14,e)}get subscription_slug(){return c.Message.getFieldWithDefault(this,15,"")}set subscription_slug(e){c.Message.setField(this,15,e)}get additional_profiles(){return c.Message.getFieldWithDefault(this,16,[])}set additional_profiles(e){c.Message.setField(this,16,e)}get completed_tutorials(){return c.Message.getFieldWithDefault(this,17,[])}set completed_tutorials(e){c.Message.setField(this,17,e)}get next_dashboard_id(){return c.Message.getFieldWithDefault(this,18,"")}set next_dashboard_id(e){c.Message.setOneofField(this,18,ot(this,Rm)[0],e)}get has_next_dashboard_id(){return c.Message.getField(this,18)!=null}get params(){return c.Message.getRepeatedWrapperField(this,ft,19)}set params(e){c.Message.setRepeatedWrapperField(this,19,e)}get param_values(){return c.Message.getField(this,20)}set param_values(e){c.Message.setField(this,20,e)}get confirmation_token(){return c.Message.getFieldWithDefault(this,21,"")}set confirmation_token(e){c.Message.setField(this,21,e)}get locked(){return c.Message.getFieldWithDefault(this,22,!1)}set locked(e){c.Message.setField(this,22,e)}get hiddens(){return c.Message.getField(this,24)}set hiddens(e){c.Message.setField(this,24,e)}get audit_log(){return c.Message.getWrapperField(this,Hi.AuditLog,30)}set audit_log(e){c.Message.setWrapperField(this,30,e)}get has_audit_log(){return c.Message.getField(this,30)!=null}get session_data(){return c.Message.getWrapperField(this,Hi.SessionData,31)}set session_data(e){c.Message.setWrapperField(this,31,e)}get has_session_data(){return c.Message.getField(this,31)!=null}get _next_dashboard_id(){return{0:"none",18:"next_dashboard_id"}[c.Message.computeOneofCase(this,[18])]}static fromObject(e){const r=new Hi({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.username!=null&&(r.username=e.username),e.hashedPassword!=null&&(r.hashedPassword=Hi.HashPassword.fromObject(e.hashedPassword)),e.active!=null&&(r.active=e.active),e.created_at!=null&&(r.created_at=e.created_at),e.signup_src!=null&&(r.signup_src=e.signup_src),e.last_updated_at!=null&&(r.last_updated_at=e.last_updated_at),e.apps_maintenance_done_ts!=null&&(r.apps_maintenance_done_ts=e.apps_maintenance_done_ts),e.user_maintenance_done_ts!=null&&(r.user_maintenance_done_ts=e.user_maintenance_done_ts),e.max_storage_space_mb!=null&&(r.max_storage_space_mb=e.max_storage_space_mb),e.current_storage_space!=null&&(r.current_storage_space=e.current_storage_space),e.monthly_credits!=null&&(r.monthly_credits=e.monthly_credits),e.credits_remaining!=null&&(r.credits_remaining=e.credits_remaining),e.dashboard_object_ids!=null&&(r.dashboard_object_ids=e.dashboard_object_ids),e.billing_period_ends_ts!=null&&(r.billing_period_ends_ts=e.billing_period_ends_ts),e.show_ads!=null&&(r.show_ads=e.show_ads),e.subscription_slug!=null&&(r.subscription_slug=e.subscription_slug),e.additional_profiles!=null&&(r.additional_profiles=e.additional_profiles),e.completed_tutorials!=null&&(r.completed_tutorials=e.completed_tutorials),e.next_dashboard_id!=null&&(r.next_dashboard_id=e.next_dashboard_id),e.params!=null&&(r.params=e.params.map(n=>ft.fromObject(n))),typeof e.param_values=="object"&&(r.param_values=new Map(Object.entries(e.param_values).map(([n,i])=>[n,Ot.fromObject(i)]))),e.confirmation_token!=null&&(r.confirmation_token=e.confirmation_token),e.locked!=null&&(r.locked=e.locked),typeof e.hiddens=="object"&&(r.hiddens=new Map(Object.entries(e.hiddens))),e.audit_log!=null&&(r.audit_log=Hi.AuditLog.fromObject(e.audit_log)),e.session_data!=null&&(r.session_data=Hi.SessionData.fromObject(e.session_data)),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.username!=null&&(e.username=this.username),this.hashedPassword!=null&&(e.hashedPassword=this.hashedPassword.toObject()),this.active!=null&&(e.active=this.active),this.created_at!=null&&(e.created_at=this.created_at),this.signup_src!=null&&(e.signup_src=this.signup_src),this.last_updated_at!=null&&(e.last_updated_at=this.last_updated_at),this.apps_maintenance_done_ts!=null&&(e.apps_maintenance_done_ts=this.apps_maintenance_done_ts),this.user_maintenance_done_ts!=null&&(e.user_maintenance_done_ts=this.user_maintenance_done_ts),this.max_storage_space_mb!=null&&(e.max_storage_space_mb=this.max_storage_space_mb),this.current_storage_space!=null&&(e.current_storage_space=this.current_storage_space),this.monthly_credits!=null&&(e.monthly_credits=this.monthly_credits),this.credits_remaining!=null&&(e.credits_remaining=this.credits_remaining),this.dashboard_object_ids!=null&&(e.dashboard_object_ids=this.dashboard_object_ids),this.billing_period_ends_ts!=null&&(e.billing_period_ends_ts=this.billing_period_ends_ts),this.show_ads!=null&&(e.show_ads=this.show_ads),this.subscription_slug!=null&&(e.subscription_slug=this.subscription_slug),this.additional_profiles!=null&&(e.additional_profiles=this.additional_profiles),this.completed_tutorials!=null&&(e.completed_tutorials=this.completed_tutorials),this.next_dashboard_id!=null&&(e.next_dashboard_id=this.next_dashboard_id),this.params!=null&&(e.params=this.params.map(r=>r.toObject())),this.param_values!=null&&(e.param_values=Object.fromEntries(Array.from(this.param_values).map(([r,n])=>[r,n.toObject()]))),this.confirmation_token!=null&&(e.confirmation_token=this.confirmation_token),this.locked!=null&&(e.locked=this.locked),this.hiddens!=null&&(e.hiddens=Object.fromEntries(this.hiddens)),this.audit_log!=null&&(e.audit_log=this.audit_log.toObject()),this.session_data!=null&&(e.session_data=this.session_data.toObject()),e}serialize(e){const r=e||new c.BinaryWriter;this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.username.length&&r.writeString(3,this.username),this.has_hashedPassword&&r.writeMessage(23,this.hashedPassword,()=>this.hashedPassword.serialize(r)),this.active!=!1&&r.writeBool(4,this.active),this.created_at!=0&&r.writeInt64(5,this.created_at),this.signup_src.length&&r.writeString(6,this.signup_src),this.last_updated_at!=0&&r.writeInt64(7,this.last_updated_at),this.apps_maintenance_done_ts!=0&&r.writeInt64(8,this.apps_maintenance_done_ts),this.user_maintenance_done_ts!=0&&r.writeInt64(9,this.user_maintenance_done_ts),this.max_storage_space_mb!=0&&r.writeFloat(25,this.max_storage_space_mb),this.current_storage_space!=0&&r.writeFloat(26,this.current_storage_space),this.monthly_credits!=0&&r.writeFloat(10,this.monthly_credits),this.credits_remaining!=0&&r.writeFloat(11,this.credits_remaining),this.dashboard_object_ids.length&&r.writeRepeatedString(12,this.dashboard_object_ids),this.billing_period_ends_ts!=0&&r.writeInt64(13,this.billing_period_ends_ts),this.show_ads!=!1&&r.writeBool(14,this.show_ads),this.subscription_slug.length&&r.writeString(15,this.subscription_slug),this.additional_profiles.length&&r.writeRepeatedString(16,this.additional_profiles),this.completed_tutorials.length&&r.writeRepeatedString(17,this.completed_tutorials),this.has_next_dashboard_id&&r.writeString(18,this.next_dashboard_id),this.params.length&&r.writeRepeatedMessage(19,this.params,n=>
261n.serialize(r));for(const[n,i]of this.param_values)r.writeMessage(20,this.param_values,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});this.confirmation_token.length&&r.writeString(21,this.confirmation_token),this.locked!=!1&&r.writeBool(22,this.locked);for(const[n,i]of this.hiddens)r.writeMessage(24,this.hiddens,()=>{r.writeString(1,n),r.writeString(2,i)});if(this.has_audit_log&&r.writeMessage(30,this.audit_log,()=>this.audit_log.serialize(r)),this.has_session_data&&r.writeMessage(31,this.session_data,()=>this.session_data.serialize(r)),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Hi;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.username=r.readString();break;case 23:r.readMessage(n.hashedPassword,()=>n.hashedPassword=Hi.HashPassword.deserialize(r));break;case 4:n.active=r.readBool();break;case 5:n.created_at=r.readInt64();break;case 6:n.signup_src=r.readString();break;case 7:n.last_updated_at=r.readInt64();break;case 8:n.apps_maintenance_done_ts=r.readInt64();break;case 9:n.user_maintenance_done_ts=r.readInt64();break;case 25:n.max_storage_space_mb=r.readFloat();break;case 26:n.current_storage_space=r.readFloat();break;case 10:n.monthly_credits=r.readFloat();break;case 11:n.credits_remaining=r.readFloat();break;case 12:c.Message.addToRepeatedField(n,12,r.readString());break;case 13:n.billing_period_ends_ts=r.readInt64();break;case 14:n.show_ads=r.readBool();break;case 15:n.subscription_slug=r.readString();break;case 16:c.Message.addToRepeatedField(n,16,r.readString());break;case 17:c.Message.addToRepeatedField(n,17,r.readString());break;case 18:n.next_dashboard_id=r.readString();break;
261case 19:r.readMessage(n.params,()=>c.Message.addToRepeatedWrapperField(n,19,ft.deserialize(r),ft));break;case 20:r.readMessage(n,()=>c.Map.deserializeBinary(n.param_values,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=Ot.deserialize(r)),i}));break;case 21:n.confirmation_token=r.readString();break;case 22:n.locked=r.readBool();break;case 24:r.readMessage(n,()=>c.Map.deserializeBinary(n.hiddens,r,r.readString,r.readString));break;case 30:r.readMessage(n.audit_log,()=>n.audit_log=Hi.AuditLog.deserialize(r));break;case 31:r.readMessage(n.session_data,()=>n.session_data=Hi.SessionData.deserialize(r));break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Hi.deserialize(e)}};Rm=new WeakMap;let Ru=SX;(t=>{var e,r,n;const i=class rg extends c.Message{constructor(u){super(),Et(this,e,[]),c.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],ot(this,e)),!Array.isArray(u)&&typeof u=="object"&&("hash"in u&&u.hash!=null&&(this.hash=u.hash),"salt"in u&&u.salt!=null&&(this.salt=u.salt))}get hash(){return c.Message.getFieldWithDefault(this,1,"")}set hash(u){c.Message.setField(this,1,u)}get salt(){return c.Message.getFieldWithDefault(this,2,"")}set salt(u){c.Message.setField(this,2,u)}static fromObject(u){const p=new rg({});return u.hash!=null&&(p.hash=u.hash),u.salt!=null&&(p.salt=u.salt),p}toObject(){const u={};return this.hash!=null&&(u.hash=this.hash),this.salt!=null&&(u.salt=this.salt),u}serialize(u){const p=u||new c.BinaryWriter;if(this.hash.length&&p.writeString(1,this.hash),this.salt.length&&p.writeString(2,this.salt),!u)return p.getResultBuffer()}static deserialize(u){const p=u instanceof c.BinaryReader?u:new c.BinaryReader(u),d=new rg;for(;p.nextField()&&!p.isEndGroup();)switch(p.getFieldNumber()){case 1:d.hash=p.readString();break;case 2:d.salt=p.readString();break;default:p.skipField()}return d}serializeBinary(){return this.serialize()}static deserializeBinary(u){return rg.deserialize(u)}};e=new WeakMap,t.HashPassword=i;const s=class ng extends c.Message{constructor(u){super(),Et(this,r,[]),c.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],ot(this,r)),!Array.isArray(u)&&typeof u=="object"&&("first_login_ts"in u&&u.first_login_ts!=null&&(this.first_login_ts=u.first_login_ts),"first_login_ip"in u&&u.first_login_ip!=null&&(this.first_login_ip=u.first_login_ip),"last_login_ts"in u&&u.last_login_ts!=null&&(this.last_login_ts=u.last_login_ts),"last_login_ip"in u&&u.last_login_ip!=null&&(this.last_login_ip=u.last_login_ip))}get first_login_ts(){return c.Message.getFieldWithDefault(this,1,0)}set first_login_ts(u){c.Message.setField(this,1,u)}get first_login_ip(){return c.Message.getFieldWithDefault(this,2,"")}set first_login_ip(u){c.Message.setField(this,2,u)}get last_login_ts(){return c.Message.getFieldWithDefault(this,3,0)}set last_login_ts(u){c.Message.setField(this,3,u)}get last_login_ip(){return c.Message.getFieldWithDefault(this,4,"")}set last_login_ip(u){c.Message.setField(this,4,u)}static fromObject(u){const p=new ng({});return u.first_login_ts!=null&&(p.first_login_ts=u.first_login_ts),u.first_login_ip!=null&&(p.first_login_ip=u.first_login_ip),u.last_login_ts!=null&&(p.last_login_ts=u.last_login_ts),u.last_login_ip!=null&&(p.last_login_ip=u.last_login_ip),p}toObject(){const u={};return this.first_login_ts!=null&&(u.first_login_ts=this.first_login_ts),this.first_login_ip!=null&&(u.first_login_ip=this.first_login_ip),this.last_login_ts!=null&&(u.last_login_ts=this.last_login_ts),this.last_login_ip!=null&&(u.last_login_ip=this.last_login_ip),u}serialize(u){const p=u||new c.BinaryWriter;if(this.first_login_ts!=0&&p.writeInt64(1,this.first_login_ts),this.first_login_ip.length&&p.writeString(2,this.first_login_ip),this.last_login_ts!=0&&p.writeInt64(3,this.last_login_ts),this.last_login_ip.length&&p.writeString(4,this.last_login_ip),!u)return p.getResultBuffer()}static deserialize(u){const p=u instanceof c.BinaryReader?u:new c.BinaryReader(u),d=new ng;for(;p.nextField()&&!p.isEndGroup();)switch(p.getFieldNumber()){case 1:d.first_login_ts=p.readInt64();break;case 2:d.first_login_ip=p.readString();break;case 3:d.last_login_ts=p.readInt64();break;case 4:d.last_login_ip=p.readString();break;default:p.skipField()}return d}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ng.deserialize(u)}};r=new WeakMap,t.AuditLog=s;const a=class ig extends c.Message{constructor(u){super(),Et(this,n,[[6],[7]]),c.Message.initialize(this,Array.isArray(u)?u:[],0,-1,[],ot(this,n)),!Array.isArray(u)&&typeof u=="object"&&("confirmation_token"in u&&u.confirmation_token!=null&&(this.confirmation_token=u.confirmation_token),"two_factor_configured"in u&&u.two_factor_configured!=null&&(this.two_factor_configured=u.two_factor_configured),"two_factor_secret"in u&&u.two_factor_secret!=null&&(this.two_factor_secret=u.two_factor_secret),"two_factor_verified"in u&&u.two_factor_verified!=null&&(this.two_factor_verified=u.two_factor_verified),"two_factor_check_ts"in u&&u.two_factor_check_ts!=null&&(this.two_factor_check_ts=u.two_factor_check_ts),"oauth2_rtoken"in u&&u.oauth2_rtoken!=null&&(this.oauth2_rtoken=u.oauth2_rtoken),"oauth2_atoken"in u&&u.oauth2_atoken!=null&&(this.oauth2_atoken=u.oauth2_atoken),"apps_maintenance_done_ts"in u&&u.a
261pps_maintenance_done_ts!=null&&(this.apps_maintenance_done_ts=u.apps_maintenance_done_ts),"user_maintenance_done_ts"in u&&u.user_maintenance_done_ts!=null&&(this.user_maintenance_done_ts=u.user_maintenance_done_ts))}get confirmation_token(){return c.Message.getFieldWithDefault(this,1,"")}set confirmation_token(u){c.Message.setField(this,1,u)}get two_factor_configured(){return c.Message.getFieldWithDefault(this,2,!1)}set two_factor_configured(u){c.Message.setField(this,2,u)}get two_factor_secret(){return c.Message.getFieldWithDefault(this,3,"")}set two_factor_secret(u){c.Message.setField(this,3,u)}get two_factor_verified(){return c.Message.getFieldWithDefault(this,4,!1)}set two_factor_verified(u){c.Message.setField(this,4,u)}get two_factor_check_ts(){return c.Message.getFieldWithDefault(this,5,0)}set two_factor_check_ts(u){c.Message.setField(this,5,u)}get oauth2_rtoken(){return c.Message.getFieldWithDefault(this,6,"")}set oauth2_rtoken(u){c.Message.setOneofField(this,6,ot(this,n)[0],u)}get has_oauth2_rtoken(){return c.Message.getField(this,6)!=null}get oauth2_atoken(){return c.Message.getFieldWithDefault(this,7,"")}set oauth2_atoken(u){c.Message.setOneofField(this,7,ot(this,n)[1],u)}get has_oauth2_atoken(){return c.Message.getField(this,7)!=null}get apps_maintenance_done_ts(){return c.Message.getFieldWithDefault(this,8,0)}set apps_maintenance_done_ts(u){c.Message.setField(this,8,u)}get user_maintenance_done_ts(){return c.Message.getFieldWithDefault(this,9,0)}set user_maintenance_done_ts(u){c.Message.setField(this,9,u)}get _oauth2_rtoken(){return{0:"none",6:"oauth2_rtoken"}[c.Message.computeOneofCase(this,[6])]}get _oauth2_atoken(){return{0:"none",7:"oauth2_atoken"}[c.Message.computeOneofCase(this,[7])]}static fromObject(u){const p=new ig({});return u.confirmation_token!=null&&(p.confirmation_token=u.confirmation_token),u.two_factor_configured!=null&&(p.two_factor_configured=u.two_factor_configured),u.two_factor_secret!=null&&(p.two_factor_secret=u.two_factor_secret),u.two_factor_verified!=null&&(p.two_factor_verified=u.two_factor_verified),u.two_factor_check_ts!=null&&(p.two_factor_check_ts=u.two_factor_check_ts),u.oauth2_rtoken!=null&&(p.oauth2_rtoken=u.oauth2_rtoken),u.oauth2_atoken!=null&&(p.oauth2_atoken=u.oauth2_atoken),u.apps_maintenance_done_ts!=null&&(p.apps_maintenance_done_ts=u.apps_maintenance_done_ts),u.user_maintenance_done_ts!=null&&(p.user_maintenance_done_ts=u.user_maintenance_done_ts),p}toObject(){const u={};return this.confirmation_token!=null&&(u.confirmation_token=this.confirmation_token),this.two_factor_configured!=null&&(u.two_factor_configured=this.two_factor_configured),this.two_factor_secret!=null&&(u.two_factor_secret=this.two_factor_secret),this.two_factor_verified!=null&&(u.two_factor_verified=this.two_factor_verified),this.two_factor_check_ts!=null&&(u.two_factor_check_ts=this.two_factor_check_ts),this.oauth2_rtoken!=null&&(u.oauth2_rtoken=this.oauth2_rtoken),this.oauth2_atoken!=null&&(u.oauth2_atoken=this.oauth2_atoken),this.apps_maintenance_done_ts!=null&&(u.apps_maintenance_done_ts=this.apps_maintenance_done_ts),this.user_maintenance_done_ts!=null&&(u.user_maintenance_done_ts=this.user_maintenance_done_ts),u}serialize(u){const p=u||new c.BinaryWriter;if(this.confirmation_token.length&&p.writeString(1,this.confirmation_token),this.two_factor_configured!=!1&&p.writeBool(2,this.two_factor_configured),this.two_factor_secret.length&&p.writeString(3,this.two_factor_secret),this.two_factor_verified!=!1&&p.writeBool(4,this.two_factor_verified),this.two_factor_check_ts!=0&&p.writeInt64(5,this.two_factor_check_ts),this.has_oauth2_rtoken&&p.writeString(6,this.oauth2_rtoken),this.has_oauth2_atoken&&p.writeString(7,this.oauth2_atoken),this.apps_maintenance_done_ts!=0&&p.writeInt64(8,this.apps_maintenance_done_ts),this.user_maintenance_done_ts!=0&&p.writeInt64(9,this.user_maintenance_done_ts),!u)return p.getResultBuffer()}static deserialize(u){const p=u instanceof c.BinaryReader?u:new c.BinaryReader(u),d=new ig;for(;p.nextField()&&!p.isEndGroup();)switch(p.getFieldNumber()){case 1:d.confirmation_token=p.readString();break;case 2:d.two_factor_configured=p.readBool();break;case 3:d.two_factor_secret=p.readString();break;case 4:d.two_factor_verified=p.readBool();break;
261case 5:d.two_factor_check_ts=p.readInt64();break;case 6:d.oauth2_rtoken=p.readString();break;case 7:d.oauth2_atoken=p.readString();break;case 8:d.apps_maintenance_done_ts=p.readInt64();break;case 9:d.user_maintenance_done_ts=p.readInt64();break;default:p.skipField()}return d}serializeBinary(){return this.serialize()}static deserializeBinary(u){return ig.deserialize(u)}};n=new WeakMap,t.SessionData=a})(Ru||(Ru={}));const TX=class Kc extends c.Message{constructor(e){super(),Et(this,O2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,O2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"connection_id"in e&&e.connection_id!=null&&(this.connection_id=e.connection_id),"user_id"in e&&e.user_id!=null&&(this.user_id=e.user_id),"hostname"in e&&e.hostname!=null&&(this.hostname=e.hostname),"tab_id"in e&&e.tab_id!=null&&(this.tab_id=e.tab_id),"tab_url"in e&&e.tab_url!=null&&(this.tab_url=e.tab_url),"tab_title"in e&&e.tab_title!=null&&(this.tab_title=e.tab_title),"tab_favicon"in e&&e.tab_favicon!=null&&(this.tab_favicon=e.tab_favicon),"status"in e&&e.status!=null&&(this.status=e.status),"connected_at"in e&&e.connected_at!=null&&(this.connected_at=e.connected_at),"last_seen"in e&&e.last_seen!=null&&(this.last_seen=e.last_seen),"disconnected_at"in e&&e.disconnected_at!=null&&(this.disconnected_at=e.disconnected_at))}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get connection_id(){return c.Message.getFieldWithDefault(this,3,"")}set connection_id(e){c.Message.setField(this,3,e)}get user_id(){return c.Message.getFieldWithDefault(this,4,"")}set user_id(e){c.Message.setField(this,4,e)}get hostname(){return c.Message.getFieldWithDefault(this,5,"")}set hostname(e){c.Message.setField(this,5,e)}get tab_id(){return c.Message.getFieldWithDefault(this,6,"")}set tab_id(e){c.Message.setField(this,6,e)}get tab_url(){return c.Message.getFieldWithDefault(this,7,"")}set tab_url(e){c.Message.setField(this,7,e)}get tab_title(){return c.Message.getFieldWithDefault(this,8,"")}set tab_title(e){c.Message.setField(this,8,e)}get tab_favicon(){return c.Message.getFieldWithDefault(this,9,"")}set tab_favicon(e){c.Message.setField(this,9,e)}get status(){return c.Message.getFieldWithDefault(this,10,Kc.Status.PENDING)}set status(e){c.Message.setField(this,10,e)}get connected_at(){return c.Message.getFieldWithDefault(this,11,0)}set connected_at(e){c.Message.setField(this,11,e)}get last_seen(){return c.Message.getFieldWithDefault(this,12,0)}set last_seen(e){c.Message.setField(this,12,e)}get disconnected_at(){return c.Message.getFieldWithDefault(this,13,0)}set disconnected_at(e){c.Message.setField(this,13,e)}static fromObject(e){const r=new Kc({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.connection_id!=null&&(r.connection_id=e.connection_id),e.user_id!=null&&(r.user_id=e.user_id),e.hostname!=null&&(r.hostname=e.hostname),e.tab_id!=null&&(r.tab_id=e.tab_id),e.tab_url!=null&&(r.tab_url=e.tab_url),e.tab_title!=null&&(r.tab_title=e.tab_title),e.tab_favicon!=null&&(r.tab_favicon=e.tab_favicon),e.status!=null&&(r.status=e.status),e.connected_at!=null&&(r.connected_at=e.connected_at),e.last_seen!=null&&(r.last_seen=e.last_seen),e.disconnected_at!=null&&(r.disconnected_at=e.disconnected_at),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.connection_id!=null&&(e.connection_id=this.connection_id),this.user_id!=null&&(e.user_id=this.user_id),this.hostname!=null&&(e.hostname=this.hostname),this.tab_id!=null&&(e.tab_id=this.tab_id),this.tab_url!=null&&(e.tab_url=this.tab_url),this.tab_title!=null&&(e.tab_title=this.tab_title),this.tab_favicon!=null&&(e.tab_favicon=this.tab_favicon),this.status!=null&&(e.status=this.status),this.connected_at!=null&&(e.connected_at=this.connected_at),this.last_seen!=null&&(e.last_seen=this.last_seen),this.disconnected_at!=null&&(e.disconnected_at=this.disconnected_at),e}serialize(e){const r=e||new c.BinaryWriter;if(this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.connection_id.length&&r.writeString(3,this.connection_id),this.user_id.length&&r.writeString(4,this.user_id
261),this.hostname.length&&r.writeString(5,this.hostname),this.tab_id.length&&r.writeString(6,this.tab_id),this.tab_url.length&&r.writeString(7,this.tab_url),this.tab_title.length&&r.writeString(8,this.tab_title),this.tab_favicon.length&&r.writeString(9,this.tab_favicon),this.status!=Kc.Status.PENDING&&r.writeEnum(10,this.status),this.connected_at!=0&&r.writeInt64(11,this.connected_at),this.last_seen!=0&&r.writeInt64(12,this.last_seen),this.disconnected_at!=0&&r.writeInt64(13,this.disconnected_at),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Kc;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.connection_id=r.readString();break;case 4:n.user_id=r.readString();break;case 5:n.hostname=r.readString();break;case 6:n.tab_id=r.readString();break;case 7:n.tab_url=r.readString();break;case 8:n.tab_title=r.readString();break;case 9:n.tab_favicon=r.readString();break;case 10:n.status=r.readEnum();break;case 11:n.connected_at=r.readInt64();break;case 12:n.last_seen=r.readInt64();break;case 13:n.disconnected_at=r.readInt64();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Kc.deserialize(e)}};O2=new WeakMap;let E7=TX;(t=>{(e=>{e[e.PENDING=0]="PENDING",e[e.CONNECTED=1]="CONNECTED",e[e.DISCONNECTED=2]="DISCONNECTED"})(t.Status||(t.Status={}))})(E7||(E7={}));const xX=class Xc extends c.Message{constructor(e){super(),Et(this,I2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,I2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"created_at"in e&&e.created_at!=null&&(this.created_at=e.created_at),"link_object_id"in e&&e.link_object_id!=null&&(this.link_object_id=e.link_object_id),"invitee_name"in e&&e.invitee_name!=null&&(this.invitee_name=e.invitee_name),"invitee_email"in e&&e.invitee_email!=null&&(this.invitee_email=e.invitee_email),"invitee_comment"in e&&e.invitee_comment!=null&&(this.invitee_comment=e.invitee_comment),"invitee_social"in e&&e.invitee_social!=null&&(this.invitee_social=e.invitee_social),"invitee_time_zone"in e&&e.invitee_time_zone!=null&&(this.invitee_time_zone=e.invitee_time_zone),"start_at"in e&&e.start_at!=null&&(this.start_at=e.start_at),"end_at"in e&&e.end_at!=null&&(this.end_at=e.end_at),"google_event_id"in e&&e.google_event_id!=null&&(this.google_event_id=e.google_event_id),"cancelled"in e&&e.cancelled!=null&&(this.cancelled=e.cancelled),"invitee_name_display"in e&&e.invitee_name_display!=null&&(this.invitee_name_display=e.invitee_name_display),"invitee_name_pronunciation"in e&&e.invitee_name_pronunciation!=null&&(this.invitee_name_pronunciation=e.invitee_name_pronunciation),"invitee_bio"in e&&e.invitee_bio!=null&&(this.invitee_bio=e.invitee_bio),"invitee_bio_source"in e&&e.invitee_bio_source!=null&&(this.invitee_bio_source=e.invitee_bio_source),"reminder_state"in e&&e.reminder_state!=null&&(this.reminder_state=e.reminder_state),"reminder_due_at"in e&&e.reminder_due_at!=null&&(this.reminder_due_at=e.reminder_due_at),"reminder_sent_at"in e&&e.reminder_sent_at!=null&&(this.reminder_sent_at=e.reminder_sent_at),"reminder_attempts"in e&&e.reminder_attempts!=null&&(this.reminder_attempts=e.reminder_attempts),"reminder_skip_reason"in e&&e.reminder_skip_reason!=null&&(this.reminder_skip_reason=e.reminder_skip_reason),"reminder_queue_object_id"in e&&e.reminder_queue_object_id!=null&&(this.reminder_queue_object_id=e.reminder_queue_object_id),"google_calendar_id"in e&&e.google_calendar_id!=null&&(this.google_calendar_id=e.google_calendar_id),"slot_lock_object_id"in e&&e.slot_lock_object_id!=null&&(this.slot_lock_object_id=e.slot_lock_object_id),"revision"in e&&e.revision!=null&&(this.revision=e.revision),"cancelled_at"in e&&e.cancelled_at!=null&&(this.cancelled_at=e.cancelled_at),"cancelled_by"in e&&e.cancelled_by!=null&&(this.cancelled_by=e.cancelled_by),"cancellation_reason"in e&&e.cancellation_reason!=null&&(this.cancellation_reason=e.cancellation_reason),"previous_start_at"in e&&e.previous_start_at!=null&&(this.previous_start_at=e.previous_start_at),"rescheduled_at"in e&&e.rescheduled_at!=null&&(this.rescheduled_at=e.rescheduled_at),"no_show"in e&&e.no_show!=null&&(this.no_show=e.no_show),"no_show_at"in e&&e.no_show_at!=null&&(this.no_show_at=e.no_show_at),"attended"in e&&e.attended!=null&&(this.attended=e.attended))}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get created_at(){return c.Message.getFieldWithDefault(this,3,0)}set created_at(e){c.Message.setField(this,3,e)}get link_object_id(){return c.Message.getFieldWithDefault(this,4,"")}set link_object_id(e){c.Message.setField(this,4,e)}
261get invitee_name(){return c.Message.getFieldWithDefault(this,5,"")}set invitee_name(e){c.Message.setField(this,5,e)}get invitee_email(){return c.Message.getFieldWithDefault(this,6,"")}set invitee_email(e){c.Message.setField(this,6,e)}get invitee_comment(){return c.Message.getFieldWithDefault(this,7,"")}set invitee_comment(e){c.Message.setField(this,7,e)}get invitee_social(){return c.Message.getFieldWithDefault(this,8,"")}set invitee_social(e){c.Message.setField(this,8,e)}get invitee_time_zone(){return c.Message.getFieldWithDefault(this,9,"")}set invitee_time_zone(e){c.Message.setField(this,9,e)}get start_at(){return c.Message.getFieldWithDefault(this,10,0)}set start_at(e){c.Message.setField(this,10,e)}get end_at(){return c.Message.getFieldWithDefault(this,11,0)}set end_at(e){c.Message.setField(this,11,e)}get google_event_id(){return c.Message.getFieldWithDefault(this,12,"")}set google_event_id(e){c.Message.setField(this,12,e)}get cancelled(){return c.Message.getFieldWithDefault(this,13,!1)}set cancelled(e){c.Message.setField(this,13,e)}
261get invitee_name_display(){return c.Message.getFieldWithDefault(this,20,"")}set invitee_name_display(e){c.Message.setField(this,20,e)}get invitee_name_pronunciation(){return c.Message.getFieldWithDefault(this,21,"")}set invitee_name_pronunciation(e){c.Message.setField(this,21,e)}get invitee_bio(){return c.Message.getFieldWithDefault(this,22,"")}set invitee_bio(e){c.Message.setField(this,22,e)}get invitee_bio_source(){return c.Message.getFieldWithDefault(this,23,Xc.BioSource.BIO_NONE)}set invitee_bio_source(e){c.Message.setField(this,23,e)}get reminder_state(){return c.Message.getFieldWithDefault(this,14,0)}set reminder_state(e){c.Message.setField(this,14,e)}get reminder_due_at(){return c.Message.getFieldWithDefault(this,15,0)}set reminder_due_at(e){c.Message.setField(this,15,e)}get reminder_sent_at(){return c.Message.getFieldWithDefault(this,16,0)}set reminder_sent_at(e){c.Message.setField(this,16,e)}get reminder_attempts(){return c.Message.getFieldWithDefault(this,17,0)}set reminder_attempts(e){c.Message.setField(this,17,e)}get reminder_skip_reason(){return c.Message.getFieldWithDefault(this,18,"")}set reminder_skip_reason(e){c.Message.setField(this,18,e)}get reminder_queue_object_id(){return c.Message.getFieldWithDefault(this,19,"")}set reminder_queue_object_id(e){c.Message.setField(this,19,e)}get google_calendar_id(){return c.Message.getFieldWithDefault(this,24,"")}set google_calendar_id(e){c.Message.setField(this,24,e)}get slot_lock_object_id(){return c.Message.getFieldWithDefault(this,25,"")}set slot_lock_object_id(e){c.Message.setField(this,25,e)}get revision(){return c.Message.getFieldWithDefault(this,26,0)}set revision(e){c.Message.setField(this,26,e)}get cancelled_at(){return c.Message.getFieldWithDefault(this,27,0)}set cancelled_at(e){c.Message.setField(this,27,e)}get cancelled_by(){return c.Message.getFieldWithDefault(this,28,"")}set cancelled_by(e){c.Message.setField(this,28,e)}get cancellation_reason(){return c.Message.getFieldWithDefault(this,29,"")}set cancellation_reason(e){c.Message.setField(this,29,e)}get previous_start_at(){return c.Message.getFieldWithDefault(this,30,0)}set previous_start_at(e){c.Message.setField(this,30,e)}get rescheduled_at(){return c.Message.getFieldWithDefault(this,31,0)}set rescheduled_at(e){c.Message.setField(this,31,e)}get no_show(){return c.Message.getFieldWithDefault(this,32,!1)}set no_show(e){c.Message.setField(this,32,e)}get no_show_at(){return c.Message.getFieldWithDefault(this,33,0)}set no_show_at(e){c.Message.setField(this,33,e)}get attended(){return c.Message.getFieldWithDefault(this,34,!1)}set attended(e){c.Message.setField(this,34,e)}static fromObject(e){const r=new Xc({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.created_at!=null&&(r.created_at=e.created_at),e.link_object_id!=null&&(r.link_object_id=e.link_object_id),e.invitee_name!=null&&(r.invitee_name=e.invitee_name),e.invitee_email!=null&&(r.invitee_email=e.invitee_email),e.invitee_comment!=null&&(r.invitee_comment=e.invitee_comment),e.invitee_social!=null&&(r.invitee_social=e.invitee_social),e.invitee_time_zone!=null&&(r.invitee_time_zone=e.invitee_time_zone),e.start_at!=null&&(r.start_at=e.start_at),e.end_at!=null&&(r.end_at=e.end_at),e.google_event_id!=null&&(r.google_event_id=e.google_event_id),e.cancelled!=null&&(r.cancelled=e.cancelled),e.invitee_name_display!=null&&(r.invitee_name_display=e.invitee_name_display),e.invitee_name_pronunciation!=null&&(r.invitee_name_pronunciation=e.invitee_name_pronunciation),e.invitee_bio!=null&&(r.invitee_bio=e.invitee_bio),e.invitee_bio_source!=null&&(r.invitee_bio_source=e.invitee_bio_source),e.reminder_state!=null&&(r.reminder_state=e.reminder_state),e.reminder_due_at!=null&&(r.reminder_due_at=e.reminder_due_at),e.reminder_sent_at!=null&&(r.reminder_sent_at=e.reminder_sent_at),e.reminder_attempts!=null&&(r.reminder_attempts=e.reminder_attempts),e.reminder_skip_reason!=null&&(r.reminder_skip_reason=e.reminder_skip_reason),e.reminder_queue_object_id!=null&&(r.reminder_queue_object_id=e.reminder_queue_object_id),e.google_calendar_id!=null&&(r.google_calendar_id=e.google_calendar_id),e.slot_lock_object_id!=null&&(r.slot_lock_object_id=e.slot_lock_object_id),e.revision!=null&&(r.revision=e.revision),e.cancelled_at!=null&&(r.cancelled_at=e.cancelled_at),e.cancelled_by!=null&&(r.cancelled_by=e.cancelled_by),e.cancellation_reason!=null&&(r.cancellation_reason=e.cancellation_reason),e.previous_start_at!=null&&(r.previous_start_at=e.previous_start_at),e.rescheduled_at!=null&&(r.rescheduled_at=e.rescheduled_at),e.no_show!=null&&(r.no_show=e.no_show),e.no_show_at!=null&&(r.no_show_at=e.no_show_at),e.attended!=null&&(r.attended=e.attended),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.created_at!=null&&(e.created_at=this.created_at),this.link_object_id!=null&&(e.link_object_id=this.link_object_id),this.invitee_name!=null&&(e.invitee_name=this.invitee_name),this.invitee_email!=null&&(e.invitee_email=this.invitee_email),this.invitee_comment!=null&&(e.invitee_comment=this.invitee_comment),this.invitee_social!=null&&(e.invitee_social=this.invitee_social),this.invitee_time_zone!=null&&(e.invitee_time_zone=this.invitee_time_zone),this.start_at!=null&&(e.start_at=this.start_at),this.end_at!=null&&(e.end_at=this.end_at),this.google_event_id!=null&&(e.google_event_id=this.google_event_id),this.cancelled!=null&&(e.cancelled=this.cancelled),this.invitee_name_display!=null&&(e.invitee_name_display=this.invitee_name_display),this.invitee_name_pronunciation!=null&&(e.invitee_name_pronunciation=this.invitee_name_pronunciation),this.invitee_bio!=null&&(e.invitee_bio=this.invitee_bio),this.invitee_bio_source!=null&&(e.invitee_bio_source=this.invitee_bio_source),this.reminder_state!=null&&(e.reminder_state=this.reminder_state),this.reminder_due_at!=null&&(e.reminder_due_at=this.reminder_due_at),this.reminder_sent_at!=null&&(e.reminder_sent_at=this.reminder_sent_at),this.reminder_attempts!=null&&(e.reminder_attempts=this.reminder_attempts),this.reminder_skip_reason!=null&&(e.reminder_skip_reason=this.reminder_skip_reason),this.reminder_queue_object_id!=null&&(e.reminder_queue_object_id=this.reminder_queue_object_id),this.google_calendar_id!=null&&(e.google_calendar_id=this.google_calendar_id),this.slot_lock_object_id!=null&&(e.slot_lock_object_id=this.slot_lock_object_id),this.revision!=null&&(e.revision=this.revision),this.cancelled_at!=null&&(e.cancelled_at=this.cancelled_at),this.cancelled_by!=null&&(e.cancelled_by=this.cancelled_by),this.cancellation_reason!=null&&(e.cancellation_reason=this.cancellation_reason),this.previous_start_at!=null&&(e.previous_start_at=this.previous_start_at),this.rescheduled_at!=null&&(e.rescheduled_at=this.rescheduled_at),this.no_show!=null&&(e.no_show=this.no_show),this.no_show_at!=null&&(e.no_show_at=this.no_show_at),this.attended!=null&&(e.attended=this.attended),e}serialize(e){const r=e||new c.BinaryWriter;if(this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.created_at!=0&&r.writeInt64(3,this.created_at),this.link_object_id.length&&r.writeString(4,this.link_object_id),this.invitee_name.length&&r.writeString(5,this.invitee_name),this.invitee_email.length&&r.writeString(6,this.invitee_email),this.invitee_comment.length&&r.writeString(7,this.invitee_comment),this.invitee_social.length&&r.writeString(8,this.invitee_social),this.invitee_time_zone.length&&r.writeString(9,this.invitee_time_zone),this.start_at!=0&&r.writeInt64(10,this.start_at),this.end_at!=0&&r.writeInt64(11,this.end_at),this.google_event_id.length&&r.writeString(12,this.google_event_id),this.cancelled!=!1&&r.writeBool(13,this.cancelled),this.invitee_name_display.length&&r.writeString(20,this.invitee_name_display),this.invitee_name_pronunciation.length&&r.writeString(21,this.invitee_name_pronunciation),this.invitee_bio.length&&r.writeString(22,this.invitee_bio),this.invitee_bio_source!=Xc.BioSource.BIO_NONE&&r.writeEnum(23,this.invitee_bio_source),this.reminder_state!=0&&r.writeEnum(14,this.reminder_state),this.reminder_due_at!=0&&r.writeInt64(15,this.reminder_due_at),this.reminder_sent_at!=0&&r.writeInt64(16,this.reminder_sent_at),this.reminder_attempts!=0&&r.writeInt32(17,this.reminder_attempts),this.reminder_skip_reason.length&&r.writeString(18,this.reminder_skip_reason),this.reminder_queue_object_id.length&&r.writeString(19,this.reminder_queue_object_id),this.google_calendar_id.length&&r.writeString(24,this.google_calendar_id),this.slot_lock_object_id.length&&r.writeString(25,this.slot_lock_object_id),this.revision!=0&&r.writeInt32(26,this.revision),this.cancelled_at!=0&&r.writeInt64(27,this.cancelled_at),this.cancelled_by.length&&r.writeString(28,this.cancelled_by),this.cancellation_reason.length&&r.writeString(29,this.cancellation_reason),this.previous_start_at!=0&&r.writeInt64(30,this.previous_start_at),this.rescheduled_at!=0&&r.writeInt64(31,this.rescheduled_at),this.no_show!=!1&&r.writeBool(32,this.no_show),this.no_show_at!=0&&r.writeInt64(33,this.no_show_at),this.attended!=!1&&r.writeBool(34,this.attended),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Xc;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.created_at=r.readInt64();break;case 4:n.link_object_id=r.readString();break;case 5:n.invitee_name=r.readString();break;case 6:n.invitee_email=r.readString();break;case 7:n.invitee_comment=r.readString();break;case 8:n.invitee_social=r.readString();break;case 9:n.invitee_time_zone=r.readString();break;case 10:n.start_at=r.readInt64();break;case 11:n.end_at=r.readInt64();break;case 12:n.google_event_id=r.readString();break;case 13:n.cancelled=r.readBool();break;
261case 20:n.invitee_name_display=r.readString();break;case 21:n.invitee_name_pronunciation=r.readString();break;case 22:n.invitee_bio=r.readString();break;case 23:n.invitee_bio_source=r.readEnum();break;case 14:n.reminder_state=r.readEnum();break;case 15:n.reminder_due_at=r.readInt64();break;case 16:n.reminder_sent_at=r.readInt64();break;case 17:n.reminder_attempts=r.readInt32();break;case 18:n.reminder_skip_reason=r.readString();break;case 19:n.reminder_queue_object_id=r.readString();break;case 24:n.google_calendar_id=r.readString();break;case 25:n.slot_lock_object_id=r.readString();break;case 26:n.revision=r.readInt32();break;case 27:n.cancelled_at=r.readInt64();break;case 28:n.cancelled_by=r.readString();break;case 29:n.cancellation_reason=r.readString();break;case 30:n.previous_start_at=r.readInt64();break;case 31:n.rescheduled_at=r.readInt64();break;case 32:n.no_show=r.readBool();break;case 33:n.no_show_at=r.readInt64();break;case 34:n.attended=r.readBool();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Xc.deserialize(e)}};I2=new WeakMap;let S7=xX;(t=>{(e=>{e[e.BIO_NONE=0]="BIO_NONE",e[e.BIO_TYPED=1]="BIO_TYPED",e[e.BIO_SEND_LATER=2]="BIO_SEND_LATER",e[e.BIO_AI_DRAFTED=3]="BIO_AI_DRAFTED",e[e.BIO_AI_DRAFTED_EDITED=4]="BIO_AI_DRAFTED_EDITED"})(t.BioSource||(t.BioSource={}))})(S7||(S7={}));const kX=class Qc extends c.Message{constructor(e){super(),Et(this,R2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[10],ot(this,R2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"created_at"in e&&e.created_at!=null&&(this.created_at=e.created_at),"last_updated_at"in e&&e.last_updated_at!=null&&(this.last_updated_at=e.last_updated_at),"label"in e&&e.label!=null&&(this.label=e.label),"short_desc"in e&&e.short_desc!=null&&(this.short_desc=e.short_desc),"icon"in e&&e.icon!=null&&(this.icon=e.icon),"version"in e&&e.version!=null&&(this.version=e.version),"root_node_id"in e&&e.root_node_id!=null&&(this.root_node_id=e.root_node_id),"nodes"in e&&e.nodes!=null&&(this.nodes=e.nodes),"decision_type"in e&&e.decision_type!=null&&(this.decision_type=e.decision_type),"presumed_deleted"in e&&e.presumed_deleted!=null&&(this.presumed_deleted=e.presumed_deleted))}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get created_at(){return c.Message.getFieldWithDefault(this,3,0)}set created_at(e){c.Message.setField(this,3,e)}get last_updated_at(){return c.Message.getFieldWithDefault(this,4,0)}set last_updated_at(e){c.Message.setField(this,4,e)}get label(){return c.Message.getFieldWithDefault(this,5,"")}set label(e){c.Message.setField(this,5,e)}get short_desc(){return c.Message.getFieldWithDefault(this,6,"")}set short_desc(e){c.Message.setField(this,6,e)}get icon(){return c.Message.getFieldWithDefault(this,7,"")}set icon(e){c.Message.setField(this,7,e)}get version(){return c.Message.getFieldWithDefault(this,8,"")}set version(e){c.Message.setField(this,8,e)}get root_node_id(){return c.Message.getFieldWithDefault(this,9,"")}set root_node_id(e){c.Message.setField(this,9,e)}get nodes(){return c.Message.getRepeatedWrapperField(this,m0,10)}set nodes(e){c.Message.setRepeatedWrapperField(this,10,e)}get decision_type(){return c.Message.getFieldWithDefault(this,12,Qc.DecisionType.FIRST_ACCEPTING)}set decision_type(e){c.Message.setField(this,12,e)}get presumed_deleted(){return c.Message.getFieldWithDefault(this,11,!1)}set presumed_deleted(e){c.Message.setField(this,11,e)}static fromObject(e){const r=new Qc({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.created_at!=null&&(r.created_at=e.created_at),e.last_updated_at!=null&&(r.last_updated_at=e.last_updated_at),e.label!=null&&(r.label=e.label),e.short_desc!=null&&(r.short_desc=e.short_desc),e.icon!=null&&(r.icon=e.icon),e.ver
261sion!=null&&(r.version=e.version),e.root_node_id!=null&&(r.root_node_id=e.root_node_id),e.nodes!=null&&(r.nodes=e.nodes.map(n=>m0.fromObject(n))),e.decision_type!=null&&(r.decision_type=e.decision_type),e.presumed_deleted!=null&&(r.presumed_deleted=e.presumed_deleted),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.created_at!=null&&(e.created_at=this.created_at),this.last_updated_at!=null&&(e.last_updated_at=this.last_updated_at),this.label!=null&&(e.label=this.label),this.short_desc!=null&&(e.short_desc=this.short_desc),this.icon!=null&&(e.icon=this.icon),this.version!=null&&(e.version=this.version),this.root_node_id!=null&&(e.root_node_id=this.root_node_id),this.nodes!=null&&(e.nodes=this.nodes.map(r=>r.toObject())),this.decision_type!=null&&(e.decision_type=this.decision_type),this.presumed_deleted!=null&&(e.presumed_deleted=this.presumed_deleted),e}serialize(e){const r=e||new c.BinaryWriter;if(this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.created_at!=0&&r.writeInt64(3,this.created_at),this.last_updated_at!=0&&r.writeInt64(4,this.last_updated_at),this.label.length&&r.writeString(5,this.label),this.short_desc.length&&r.writeString(6,this.short_desc),this.icon.length&&r.writeString(7,this.icon),this.version.length&&r.writeString(8,this.version),this.root_node_id.length&&r.writeString(9,this.root_node_id),this.nodes.length&&r.writeRepeatedMessage(10,this.nodes,n=>n.serialize(r)),this.decision_type!=Qc.DecisionType.FIRST_ACCEPTING&&r.writeEnum(12,this.decision_type),this.presumed_deleted!=!1&&r.writeBool(11,this.presumed_deleted),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new Qc;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.created_at=r.readInt64();break;case 4:n.last_updated_at=r.readInt64();break;case 5:n.label=r.readString();break;case 6:n.short_desc=r.readString();break;case 7:n.icon=r.readString();break;case 8:n.version=r.readString();break;case 9:n.root_node_id=r.readString();break;case 10:r.readMessage(n.nodes,()=>c.Message.addToRepeatedWrapperField(n,10,m0.deserialize(r),m0));break;case 12:n.decision_type=r.readEnum();break;case 11:n.presumed_deleted=r.readBool();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return Qc.deserialize(e)}};R2=new WeakMap;let T7=kX;(t=>{(e=>{e[e.FIRST_ACCEPTING=0]="FIRST_ACCEPTING",e[e.UNIFORMLY_RANDOM=1]="UNIFORMLY_RANDOM"})(t.DecisionType||(t.DecisionType={}))})(T7||(T7={}));const AX=class xu extends c.Message{constructor(e){super(),Et(this,F2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[7],ot(this,F2)),!Array.isArray(e)&&typeof e=="object"&&("object_id"in e&&e.object_id!=null&&(this.object_id=e.object_id),"owner"in e&&e.owner!=null&&(this.owner=e.owner),"created_at"in e&&e.created_at!=null&&(this.created_at=e.created_at),"last_updated_at"in e&&e.last_updated_at!=null&&(this.last_updated_at=e.last_updated_at),"label"in e&&e.label!=null&&(this.label=e.label),"short_desc"in e&&e.short_desc!=null&&(this.short_desc=e.short_desc),"routes"in e&&e.routes!=null&&(this.routes=e.routes),"layout"in e&&e.layout!=null&&(this.layout=e.layout),"presumed_deleted"in e&&e.presumed_deleted!=null&&(this.presumed_deleted=e.presumed_deleted))}get object_id(){return c.Message.getFieldWithDefault(this,1,"")}set object_id(e){c.Message.setField(this,1,e)}get owner(){return c.Message.getFieldWithDefault(this,2,"")}set owner(e){c.Message.setField(this,2,e)}get created_at(){return c.Message.getFieldWithDefault(this,3,0)}set created_at(e){c.Message.setField(this,3,e)}get last_updated_at(){return c.Message.getFieldWithDefault(this,4,0)}set last_updated_at(e){c.Message.setField(this,4,e)}get label(){return c.Message.getFieldWithDefault(this,5,"")}set label(e){c.Message.setField(this,5,e)}get short_desc(){return c.Message.getFieldWithDefault(this,6,"")}set short_desc(e){c.Message.setField(this,6,e)}get routes(){return c.Message.getRepeatedWrapperField(this,g0,7)}set routes(e){c.Message.setRepeatedWrapperField(this,7,e)}get layout(){return c.Message.getWrapperField(this,xu.Layout,8)}set layout(e){c.Message.setWrapperField(this,8,e)}get has_layout(){return c.Message.getField(this,8)!=null}get presumed_deleted(){return c.Message.getFieldWithDefault(this,9,!1)}set presumed_deleted(e){c.Message.setField(this,9,e)}static fromObject(e){const r=new xu({});return e.object_id!=null&&(r.object_id=e.object_id),e.owner!=null&&(r.owner=e.owner),e.created_at!=null&&(r.created_at=e.created_at),e.last_updated_at!=null&&(r.last_updated_at=e.last_updated_at),e.label!=null&&(r.label=e.label),e.short_desc!=null&&(r.short_desc=e.short_desc),e.routes!=null&&(r.routes=e.routes.map(n=>g0.fromObject(n))),e.layout!=null&&(r.layout=xu.Layout.fromObject(e.layout)),e.presumed_deleted!=null&&(r.presumed_deleted=e.presumed_deleted),r}toObject(){const e={};return this.object_id!=null&&(e.object_id=this.object_id),this.owner!=null&&(e.owner=this.owner),this.created_at!=null&&(e.created_at=this.created_at),this.last_updated_at!=null&&(e.last_updated_at=this.last_updated_at),this.label!=null&&(e.label=this.label),this.short_desc!=null&&(e.short_desc=this.short_desc),this.routes!=null&&(e.routes=this.routes.map(r=>r.toObject())),this.layout!=null&&(e.layout=this.layout.toObject()),this.presumed_deleted!=null&&(e.presumed_deleted=this.presumed_deleted),e}serialize(e){const r=e||new c.BinaryWriter;if(this.object_id.length&&r.writeString(1,this.object_id),this.owner.length&&r.writeString(2,this.owner),this.created_at!=0&&r.writeInt64(3,this.created_at),this.last_updated_at!=0&&r.writeInt64(4,this.last_updated_at),this.label.length&&r.writeString(5,this.label),this.short_desc.length&&r.writeString(6,this.short_desc),this.routes.length&&r.writeRepeatedMessage(7,this.routes,n=>
261n.serialize(r)),this.has_layout&&r.writeMessage(8,this.layout,()=>this.layout.serialize(r)),this.presumed_deleted!=!1&&r.writeBool(9,this.presumed_deleted),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new xu;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.object_id=r.readString();break;case 2:n.owner=r.readString();break;case 3:n.created_at=r.readInt64();break;case 4:n.last_updated_at=r.readInt64();break;case 5:n.label=r.readString();break;case 6:n.short_desc=r.readString();break;case 7:r.readMessage(n.routes,()=>c.Message.addToRepeatedWrapperField(n,7,g0.deserialize(r),g0));break;case 8:r.readMessage(n.layout,()=>n.layout=xu.Layout.deserialize(r));break;case 9:n.presumed_deleted=r.readBool();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return xu.deserialize(e)}};F2=new WeakMap;let m0=AX;(t=>{var e;const r=class sg extends c.Message{constructor(i){super(),Et(this,e,[]),c.Message.initialize(this,Array.isArray(i)?i:[],0,-1,[],ot(this,e)),!Array.isArray(i)&&typeof i=="object"&&("x"in i&&i.x!=null&&(this.x=i.x),"y"in i&&i.y!=null&&(this.y=i.y),"w"in i&&i.w!=null&&(this.w=i.w),"h"in i&&i.h!=null&&(this.h=i.h))}get x(){return c.Message.getFieldWithDefault(this,1,0)}set x(i){c.Message.setField(this,1,i)}get y(){return c.Message.getFieldWithDefault(this,2,0)}set y(i){c.Message.setField(this,2,i)}get w(){return c.Message.getFieldWithDefault(this,3,0)}set w(i){c.Message.setField(this,3,i)}get h(){return c.Message.getFieldWithDefault(this,4,0)}set h(i){c.Message.setField(this,4,i)}static fromObject(i){const s=new sg({});return i.x!=null&&(s.x=i.x),i.y!=null&&(s.y=i.y),i.w!=null&&(s.w=i.w),i.h!=null&&(s.h=i.h),s}toObject(){const i={};return this.x!=null&&(i.x=this.x),this.y!=null&&(i.y=this.y),this.w!=null&&(i.w=this.w),this.h!=null&&(i.h=this.h),i}serialize(i){const s=i||new c.BinaryWriter;if(this.x!=0&&s.writeFloat(1,this.x),this.y!=0&&s.writeFloat(2,this.y),this.w!=0&&s.writeFloat(3,this.w),this.h!=0&&s.writeFloat(4,this.h),!i)return s.getResultBuffer()}static deserialize(i){const s=i instanceof c.BinaryReader?i:new c.BinaryReader(i),a=new sg;for(;s.nextField()&&!s.isEndGroup();)switch(s.getFieldNumber()){case 1:a.x=s.readFloat();break;case 2:a.y=s.readFloat();break;case 3:a.w=s.readFloat();break;case 4:a.h=s.readFloat();break;default:s.skipField()}return a}serializeBinary(){return this.serialize()}static deserializeBinary(i){return sg.deserialize(i)}};e=new WeakMap,t.Layout=r})(m0||(m0={}));const MX=class cl extends c.Message{constructor(e){super(),Et(this,zc,[[5,6],[2]]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[],ot(this,zc)),!Array.isArray(e)&&typeof e=="object"&&("match_type"in e&&e.match_type!=null&&(this.match_type=e.match_type),"rate"in e&&e.rate!=null&&(this.rate=e.rate),"destination"in e&&e.destination!=null&&(this.destination=e.destination),"url"in e&&e.url!=null&&(this.url=e.url),"file_key"in e&&e.file_key!=null&&(this.file_key=e.file_key),"survey_object_id"in e&&e.survey_object_id!=null&&(this.survey_object_id=e.survey_object_id),"next_node_id"in e&&e.next_node_id!=null&&(this.next_node_id=e.next_node_id),"label"in e&&e.label!=null&&(this.label=e.label))}get match_type(){return c.Message.getFieldWithDefault(this,1,cl.RouteMatchType.DEFAULT)}set match_type(e){c.Message.setField(this,1,e)}get rate(){return c.Message.getWrapperField(this,ft,2)}set rate(e){c.Message.setOneofWrapperField(this,2,ot(this,zc)[1],e)}get has_rate(){return c.Message.getField(this,2)!=null}get destination(){return c.Message.getFieldWithDefault(this,3,cl.RouteDestination.SURVEY)}set destination(e){c.Message.setField(this,3,e)}get url(){return c.Message.getFieldWithDefault(this,5,"")}set url(e){c.Message.setOneofField(this,5,ot(this,zc)[0],e)}get has_url(){return c.Message.getField(this,5)!=null}get file_key(){return c.Message.getFieldWithDefault(this,6,"")}set file_key(e){c.Message.setOneofField(this,6,ot(this,zc)[0],e)}get has_file_key(){return c.Message.getField(this,6)!=null}get survey_object_id(){return c.Message.getFieldWithDefault(this,8,"")}set survey_object_id(e){c.Message.setField(this,8,e)}get next_node_id(){return c.Message.getFieldWithDefault(this,4,"")}set next_node_id(e){c.Message.setField(this,4,e)}get label(){return c.Message.getFieldWithDefault(this,7,"")}set label(e){c.Message.setField(this,7,e)}get terminal_target(){return{0:"none",5:"url",6:"file_key"}[c.Message.computeOneofCase(this,[5,6])]}get _rate(){return{0:"none",2:"rate"}[c.Message.computeOneofCase(this,[2])]}static fromObject(e){const r=new cl({});return e.match_type!=null&&(r.match_type=e.match_type),e.rate!=null&&(r.rate=ft.fromObject(e.rate)),e.destination!=null&&(r.destination=e.destination),e.url!=null&&(r.url=e.url),e.file_key!=null&&(r.file_key=e.file_key),e.survey_object_id!=null&&(r.survey_object_id=e.survey_object_id),e.next_node_id!=null&&(r.next_node_id=e.next_node_id),e.label!=null&&(r.label=e.label),r}toObject(){const e={};return this.match_type!=null&&(e.match_type=this.match_type),this.rate!=null&&(e.rate=this.rate.toObject()),this.destination!=null&&(e.destination=this.destination),this.url!=null&&(e.url=this.url),this.file_key!=null&&(e.file_key=this.file_key),this.survey_object_id!=null&&(e.survey_object_id=this.survey_object_id),this.next_node_id!=null&&(e.next_node_id=this.next_node_id),this.label!=null&&(e.label=this.label),e}serialize(e){const r=e||new c.BinaryWriter;if(this.match_type!=cl.RouteMatchType.DEFAULT&&r.writeEnum(1,this.match_type),this.has_rate&&r.writeMessage(2,this.rate,()=>this.rate.serialize(r)),this.destination!=cl.RouteDestination.SURVEY&&r.writeEnum(3,this.destination),this.has_url&&r.writeString(5,this.url),this.has_file_key&&r.writeString(6,this.file_key),this.survey_object_id.length&&r.writeString(8,this.survey_object_id),this.next_node_id.length&&r.writeString(4,this.next_node_id),this.label.length&&r.writeString(7,this.label),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new cl;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:n.match_type=r.readEnum();break;case 2:r.readMessage(n.rate,()=>n.rate=ft.deserialize(r));break;case 3:n.destination=r.readEnum();break;case 5:n.url=r.readString();break;case 6:n.file_key=r.readString();break;case 8:n.survey_object_id=r.readString();break;case 4:n.next_node_id=r.readString();break;case 7:n.label=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return cl.deserialize(e)}};zc=new WeakMap;let g0=MX;(t=>{(e=>{e[e.DEFAULT=0]="DEFAULT",e[e.RANDOM=1]="RANDOM",e[e.PRESCREEN=2]="PRESCREEN"})(t.RouteMatchType||(t.RouteMatchType={})),(e=>{e[e.SURVEY=0]="SURVEY",e[e.URL=1]="URL",e[e.FILE=2]="FILE"})(t.RouteDestination||(t.RouteDestination={}))})(g0||(g0={}));const CX=class hl extends c.Message{constructor(e){super(),Et(this,D2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[5],ot(this,D2)),!Array.isArray(e)&&typeof e=="object"&&("prescreen"in e&&e.prescreen!=null&&(this.prescreen=e.prescreen),"status"in e&&e.status!=null&&(this.status=e.status),"match_type"in e&&e.match_type!=null&&(this.match_type=e.match_type),"accepted"in e&&e.accepted!=null&&(this.accepted=e.accepted),"completion_page_key"in e&&e.completion_page_key!=null&&(this.completion_page_key=e.completion_page_key)),this.accepted||(this.accepted=new Map)}get prescreen(){return c.Message.getRepeatedWrapperField(this,ft,5)}set prescreen(e){c.Message.setRepeatedWrapperField(this,5,e)}get status(){return c.Message.getFieldWithDefault(this,1,hl.SurveyStatus.ACTIVE)}set status(e){c.Message.setField(this,1,e)}get match_type(){return c.Message.getFieldWithDefault(this,2,hl.MatchType.MATCH_ALL)}set match_type(e){c.Message.setField(this,2,e)}get accepted(){return c.Message.getField(this,3)}set accepted(e){c.Message.setField(this,3,e)}get completion_page_key(){return c.Message.getFieldWithDefault(this,4,"")}set completion_page_key(e){c.Message.setField(this,4,e)}static fromObject(e){const r=new hl({});return e.prescreen!=null&&(r.prescreen=e.prescreen.map(n=>ft.fromObject(n))),e.status!=null&&(r.status=e.status),e.match_type!=null&&(r.match_type=e.match_type),typeof e.accepted=="object"&&(r.accepted=new Map(Object.entries(e.accepted).map(([n,i])=>[n,k7.fromObject(i)]))),e.completion_page_key!=null&&(r.completion_page_key=e.completion_page_key),r}toObject(){const e={};return this.prescreen!=null&&(e.prescreen=this.prescreen.map(r=>r.toObject())),this.status!=null&&(e.status=this.status),this.match_type!=null&&(e.match_type=this.match_type),this.accepted!=null&&(e.accepted=Object.fromEntries(Array.from(this.accepted).map(([r,n])=>[r,n.toObject()]))),this.completion_page_key!=null&&(e.completion_page_key=this.completion_page_key),e}serialize(e){const r=e||new c.BinaryWriter;this.prescreen.length&&r.writeRepeatedMessage(5,this.prescreen,n=>
261n.serialize(r)),this.status!=hl.SurveyStatus.ACTIVE&&r.writeEnum(1,this.status),this.match_type!=hl.MatchType.MATCH_ALL&&r.writeEnum(2,this.match_type);for(const[n,i]of this.accepted)r.writeMessage(3,this.accepted,()=>{r.writeString(1,n),r.writeMessage(2,i,()=>i.serialize(r))});if(this.completion_page_key.length&&r.writeString(4,this.completion_page_key),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new hl;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 5:r.readMessage(n.prescreen,()=>c.Message.addToRepeatedWrapperField(n,5,ft.deserialize(r),ft));break;case 1:n.status=r.readEnum();break;case 2:n.match_type=r.readEnum();break;case 3:r.readMessage(n,()=>c.Map.deserializeBinary(n.accepted,r,r.readString,()=>{let i;return r.readMessage(n,()=>i=k7.deserialize(r)),i}));break;case 4:n.completion_page_key=r.readString();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return hl.deserialize(e)}};D2=new WeakMap;let x7=CX;(t=>{(e=>{e[e.ACTIVE=0]="ACTIVE",e[e.DORMANT=1]="DORMANT",e[e.OFF=2]="OFF"})(t.SurveyStatus||(t.SurveyStatus={})),(e=>{e[e.MATCH_ALL=0]="MATCH_ALL",e[e.MATCH_ONE=1]="MATCH_ONE"})(t.MatchType||(t.MatchType={}))})(x7||(x7={}));const OX=class ag extends c.Message{constructor(e){super(),Et(this,N2,[]),c.Message.initialize(this,Array.isArray(e)?e:[],0,-1,[1],ot(this,N2)),!Array.isArray(e)&&typeof e=="object"&&("values"in e&&e.values!=null&&(this.values=e.values),"match_type"in e&&e.match_type!=null&&(this.match_type=e.match_type))}get values(){return c.Message.getRepeatedWrapperField(this,Ot,1)}set values(e){c.Message.setRepeatedWrapperField(this,1,e)}get match_type(){return c.Message.getFieldWithDefault(this,2,0)}set match_type(e){c.Message.setField(this,2,e)}static fromObject(e){const r=new ag({});return e.values!=null&&(r.values=e.values.map(n=>Ot.fromObject(n))),e.match_type!=null&&(r.match_type=e.match_type),r}toObject(){const e={};return this.values!=null&&(e.values=this.values.map(r=>r.toObject())),this.match_type!=null&&(e.match_type=this.match_type),e}serialize(e){const r=e||new c.BinaryWriter;if(this.values.length&&r.writeRepeatedMessage(1,this.values,n=>n.serialize(r)),this.match_type!=0&&r.writeEnum(2,this.match_type),!e)return r.getResultBuffer()}static deserialize(e){const r=e instanceof c.BinaryReader?e:new c.BinaryReader(e),n=new ag;for(;r.nextField()&&!r.isEndGroup();)switch(r.getFieldNumber()){case 1:r.readMessage(n.values,()=>c.Message.addToRepeatedWrapperField(n,1,Ot.deserialize(r),Ot));break;case 2:n.match_type=r.readEnum();break;default:r.skipField()}return n}serializeBinary(){return this.serialize()}static deserializeBinary(e){return ag.deserialize(e)}};N2=new WeakMap;let k7=OX;var A7;const M7=((A7=void 0)==null?void 0:A7.toLowerCase())==="true";function IX(t){const{fetchSecureApi:e,cache:r,hostname:n,unserializeAnyType:i}=t;return{getAllUserGroups:async X=>{const z=X?"?hostname=".concat(encodeURIComponent(X)):"",R=await e("/groups".concat(z),{method:"GET"}),H=[];for(const re of R.groups){const ie=Ln.fromObject(re);H.push(ie)}return H},getGroupUsers:async(X,z=500)=>{try{const{users:R=[]}=await e("/groups/".concat(X,"/users"),{method:"GET",params:{limit:"".concat(z)}});return R.map(({object_id:H,owner:re,username:ie,param_values:q,...Y})=>Ru.fromObject({object_id:H,owner:re,username:ie,param_values:q?Object.fromEntries(Object.entries(q).map(([Q,fe])=>[Q,i(fe).toObject()])):{},...Y})).sort((H,re)=>H.username>re.username?1:re.username>H.username?-1:0)}catch(R){throw console.error(R),console.error(R.message||"Error getting users of ".concat(X)),R}},getGroupUsersCount:async X=>{const z="/users/".concat(n,"/").concat(X,"/count");return await e(z,{method:"GET"})},deployAppToGroup:async(X,z)=>{try{return await e("/groups/".concat(X,"/deploy/").concat(z),{method:"POST"})}catch(R){throw console.error(R.message||"Error deploying ".concat(z," to ").concat(X)),R}},getUserGroup:async X=>{const z="/group/".concat(X),R=await e(z,{method:"GET"});return R?Ln.fromObject(R):void 0},getUserGroupsForUser:async X=>{const z="/groups/".concat(X),R=await e(z,{method:"GET"}),H=[];for(const re of R){const ie=Ln.fromObject(re);H.push(ie)}return H},addUserToUserGroup:async(X,z)=>{try{const{user_group_ids:R}=await e("/groups/".concat(X,"/").concat(z),{method:"PUT",body:{username:X,userGroupId:z}});return r.delete("actions"),R}catch(R){throw M7&&console.error(R.message||"Could not add user to ".concat(z)),R}},deleteUserFromUserGroup:async(X,z)=>{try{const{user_group_ids:R}=await e("/groups/".concat(X,"/").concat(z),{method:"DELETE"});return r.delete("actions"),R}catch(R){throw M7&&console.error(R.message||"Could not delete user from ".concat(z)),R}},addUserGroup:async(X,z=!1,R=!1,H="")=>{const re="/groups/addUserGroup";try{const{group:ie}=await e(re,{method:"POST",body:{label:X,is_admin:z,add_to_user_on_signup:R,email_regex_match:H}});return r.delete("actions"),Ln.fromObject(ie)}catch(ie){throw console.error(ie.message||"Unable to add User Group"),ie}},deleteUserGroup:async X=>{const z="/groups/deleteUserGroup";try{const{group:R}=await e(z,{method:"DELETE",body:{groupId:X}});return r.delete("actions"),Ln.fromObject(R)}catch(R){throw console.error(R.message||"Unable to delete User Group"),R}},updateFeaturesInGroup:async(X,z)=>{try{const{group:R}=await e("/groups/features",{method:"POST",body:{groupId:X,features:z}});return Ln.fromObject(R)}catch(R){throw console.error(R.message||"Unable to update User Group Features"),R}},updateAllowedCredentialTypesInGroup:async(X,z)=>{try{const{group:R}=await e("/groups/allowed-credential-types",{method:"POST",body:{groupId:X,allowed_credential_types:z}});return Ln.fromObject(R)}catch(R){throw console.error(R.message||"Unable to update allowed credential types"),R}},updateAllowCredentialSharingInGroup:async(X,z)=>{try{const{group:R}=await e("/groups/allow-credential-sharing",{method:"POST",body:{groupId:X,allow:z}});return Ln.fromObject(R)}catch(R){throw console.error(R.message||"Unable to update credential sharing"),R}},updateGroupParams:async(X,z,R)=>
261{try{const{group:H}=await e("/groups/params",{method:"POST",body:{groupId:X,params:z,param_values:R}});return Ln.fromObject(H)}catch(H){throw console.error(H.message||"Unable to update group parameters"),H}},addAppToGroup:async(X,z)=>{const R="/groups/addAppToGroup";try{const{group:H}=await e(R,{method:"POST",body:{groupId:X,appId:z}});return Ln.fromObject(H)}catch(H){throw console.error(H.message||"Unable to add application"),H}},deleteAppFromGroup:async(X,z)=>{const R="/groups/deleteAppFromGroup";try{const{group:H}=await e(R,{method:"POST",body:{groupId:X,appId:z}});return Ln.fromObject(H)}catch(H){throw console.error(H.message||"Unable to delete application"),H}}}}function RX(t){const{fetchSecureApi:e,cache:r}=t;return{getStripeProducts:async p=>{try{const{products:d}=await e("/stripe/products",{method:"GET"});return d}catch(d){throw console.error(d),new Error("Failed to retrieve products")}},setStripeProductEnabledStatus:async p=>{try{await e("/stripe/products/enabled",{method:"POST",body:{status:p}})}catch(d){throw console.error(d),new Error("Failed to update products status")}},getStripeSubscriptions:async p=>{try{return await e("/stripe/".concat(p),{method:"GET"})}catch(d){throw console.error(d),new Error("Failed to retrieve subscriptions")}},cancelStripeSubscription:async(p,d)=>{var g;const _=d.id;try{const v=await e("/stripe/".concat(p,"/cancel/").concat(_),{method:"POST",body:{subscription_id:_}});return r.delete("actions"),v}catch(v){return console.error({err:v}),(g=v.response)!=null&&g.data?v.response.data:{success:!1}}},createStripeSession:async(p,d,g,_={})=>{const{success_url:v,cancel_url:k}=_;try{const{session:O}=await e("/stripe/".concat(p,"/checkout"),{method:"POST",body:{price_id:d,quantity:g,success_url:v,cancel_url:k}});return O}catch(O){throw console.error(O),O}},checkStripeSession:async p=>{try{const{session:d}=await e("/stripe/session",{method:"GET",params:{session_id:p}});return r.delete("actions"),d}catch(d){throw console.error(d),new Error("Failed to check session")}}}}var C7;(C7=void 0)==null||C7.toLowerCase();function FX(t){const{fetchSecureApi:e,unserializeAnyType:r,serializeAnyType:n}=t;return{getAllUsers:async v=>{try{const{users:k=[]}=await e("/users/".concat(v),{method:"GET"});if(!Array.isArray(k))throw new Error('Expected "users" to be an array');return k.map(({object_id:O,owner:N,username:S,param_values:M,...F})=>Ru.fromObject({object_id:O,owner:N,username:S,param_values:M?Object.fromEntries(Object.entries(M).map(([G,X])=>[G,r(X).toObject()])):{},...F})).sort((O,N)=>O.username.localeCompare(N.username))}catch(k){throw console.error(k.message||"Error getting all users"),k}},toggleLock:async(v,k)=>{const O=k.username;try{return await e("/users/toggleLock",{method:"POST",body:{hostname:v,username:O}})}catch(N){return console.error(N),{success:!1}}},getUser:async(v,k)=>{try{const O=await e("/users/".concat(v,"/").concat(k),{method:"GET"}),N=Ru.fromObject(O);return N.isAdmin=O.isAdmin,N}catch(O){throw console.error(O.message||"Unable to fetch single user"),O}},deleteUser:async(v,k)=>{try{const{object_id:O}=await e("/users/".concat(v,"/").concat(k),{method:"DELETE"});return O}catch(O){throw console.error(O.message||"Unable to delete user"),O}},createUser:async(v,k,O)=>{try{const{user:N}=await e("/auth/create/".concat(v,"/").concat(k),{method:"POST",body:{username:k,metadata:O}});return Ru.fromObject(N)}catch(N){throw console.error(N.message||"Failed to create a new user account"),N}},updateUserParams:async(v,k,O)=>{try{const{user:N}=await e("/users/me/update-params",{method:"POST",body:{param_values:Object.fromEntries(Array.from(O,([S,M])=>[S,n(M)]))}});return Ru.fromObject(N)}catch(N){throw console.error(N.message||"Unable to update user parameters"),N}},userMaintenance:async(v,k,O)=>{try{const{success:N,performed:S}=await e("/users/".concat(v,"/").concat(k,"/maintenance"),{method:"POST",body:O?{websiteObjectId:O}:void 0});return S}catch(N){throw console.error(N.message||"Error while performing account maintenance"),N}},getPendingPhoneParams:async()=>{try{const{pending:v}=await e("/users/me/phone-param/pending",{method:"GET"});return Array.isArray(v)?v:[]}catch(v){return console.error(v.message||"Unable to read pending phone confirmations"),[]}},confirmPhoneParam:async(v,k)=>{const{phone_number:O}=await e("/users/me/phone-param/confirm",{method:"POST",body:{var_name:v,code:k}});return O}}}var O7,I7;const vu=((O7=void 0)==null?void 0:O7.toLowerCase())==="true",DX=((I7=void 0)==null?void 0:I7.toLowerCase())==="true";function NX(t){const{fetchSecureApi:e,cache:r,hostname:n,username:i,getAvailableApis:s}=t,a=async(N,S={})=>{try{if(!DX&&await r.has("actions"))return vu&&console.log("Getting cached actions from Available APIs"),(await r.get("actions")).map(H=>Xs.fromObject(H));const F=await s(n),G=[];for(const R of F)if(R.actions&&Array.isArray(R.actions))for(const H of R.actions){const re=(H.params||[]).map(q=>({...q,ptype:q.ptype!==void 0?q.ptype:q.type})),ie=(H.outputs||[]).map(q=>({...q,ptype:q.ptype!==void 0?q.ptype:q.type}));G.push({sys_action_id:H.sys_action_id,object_id:H.sys_action_id,label:H.label||H.sys_action_id,short_desc:H.short_desc||"",long_desc:H.long_desc||"",icon:H.icon||"code",run_mode:H.run_mode!==void 0?H.run_mode:yM.SYNCHRONOUS,params:re,outputs:ie,display_format:H.display_format||Xs.DisplayFormat.FORM_AND_RECEIPTS,public_action_id:H.public_action_id,image:H.image,availability:H.availability,is_nondeterministic:H.is_nondeterministic,sys_name:H.sys_name,bucket_name:H.bucket_name,match_pattern:H.match_pattern||"",folder:H.folder||""})}const X=new Set,z=G.filter(({object_id:R})=>X.has(R)?!1:X.add(R)).map(({params:R,outputs:H,...re})=>Xs.fromObject({...re,params:R?R.map(({ptype:ie,data_sources:q,...Y})=>({ptype:typeof ie=="string"?Ks[ie]:ie,data_sources:q?q.map(({dstype:Q,...fe})=>({dstype:typeof Q=="string"?Ss.DataSourceType[Q]:Q,...fe})):[],...Y})):[],outputs:H?H.map(({ptype:ie,data_sources:q,...Y})=>({ptype:typeof ie=="string"?Ks[ie]:ie,data_sources:q?q.map(({dstype:Q,...fe})=>({dstype:typeof Q=="string"?Ss.DataSourceType[Q]:Q,...fe})):[],...Y})):[]}));return await r.set("actions",z.map(R=>R.toObject()),36e5),z}catch(M){return console.error(M.message||"Unable to get actions"),r.delete("actions"),[]}};return{getActions:a,getAllActions:async N=>{try{return(await a("",{})).sort((M,F)=>M.label>F.label?1:F.label>M.label?-1:0)}catch(S){return console.error(S.message||"Unable to get all actions"),[]}},getAction:async N=>{try{const S=await e("/action-meta/".concat(N),{method:"GET"});if(S){for(const[M,{ptype:F,data_sources:G,...X}]of Object.entries(S.params))S.params[M]={ptype:typeof F=="string"?Ks[F]:F,data_sources:G?G.map(({dstype:z,...R})=>({dstype:typeof z=="string"?Ss.DataSourceType[z]:z,...R})):[],...X};for(const[M,{ptype:F,data_sources:G,...X}]of Object.entries(S.outputs))S.outputs[M]={ptype:typeof F=="string"?Ks[F]:F,data_sources:G?G.map(({dstype:z,...R})=>({dstype:typeof z=="string"?Ss.DataSourceType[z]:z,...R})):[],...X};return Xs.fromObject(S)}}catch(S){vu&&console.warn((S==null?void 0:S.message)||"Unable to get Action ".concat(N," from /action-meta; trying Available-APIs"))}try{const M=(await a(i||"")).find(F=>F.object_id===N||F.sys_action_id===N);return M??null}catch(S){return console.error((S==null?void 0:S.message)||"Unable to get Action ".concat(N)),null}},executeAction:async(N,S,M,F)=>{var G,X;try{const z=S.toObject();if(((G=z.sys_action_id)==null?void 0:G.startsWith("chalicelib."))||((X=z.sys_action_id)==null?void 0:X.startsWith("plus_engine."))){vu&&console.log("Executing Plus Engine action: ".concat(S.object_id));const H=await e("/action/execute-plus-engine",{...F,method:"POST",body:{action_id:S.object_id,username:N,params:M}}),{receipt:re}=H;re.error&&!re.error_message&&(re.error_message=re.error);const ie=["sval","ival","dval","bval","byval","mapping","json_data"];for(const[q,Y]of Object.entries(re.outputs)){const{ptype:Q,...fe}=Y,pe=ie.find(ve=>ve in fe&&fe[ve]!==0&&fe[ve]!==!1&&fe[ve]!==""&&fe[ve]!=null),Te={ptype:typeof Q=="string"?Ks[Q]:Q};pe&&(Te[pe]=fe[pe]);for(const[ve,xe]of Object.entries(fe))ie.includes(ve)||(Te[ve]=xe);re.outputs[q]=Te}return un.fromObject(re)}else{vu&&console.log("Executing FEAAS action: ".concat(S.object_id));const H="/action/".concat(N,"/").concat(S.object_id),re=await e(H,{...F,method:"POST",body:M}),{receipt:ie}=re;for(const[q,{ptype:Y,...Q}]of Object.entries(ie.outputs))ie.outputs[q]={ptype:typeof Y=="string"?Ks[Y]:Y,...Q};return un.fromObject(ie)}}catch(z){return vu&&console.error(z.message||"Failed to execute ".concat(S.label)),un.fromObject({success:!1,error_message:z.message||"Failed to execute ".concat(S.label)})}},updateActionMetadata:async(N,S,M,F,G,X,z,R,H,re="",ie="",q="")=>{try{const{action:Y}=await e("/action/".concat(N),{method:"PUT",body:{object_id:N,label:S,icon:M,desc:F,publicActionId:G,image:X,availability:z,displayFormat:R,isNondeterministic:H,match_pattern:re,sys_action_id:ie,folder:q}}),Q=await r.delete("actions");return Xs.fromObject(Y)}catch(Y){throw vu&&console.error(Y.message||"Failed to update Action metadata"),Y}},updateActionRunMode:async(N,S)=>{try{const{action:M}=await e("/action-run_mode/".concat(N),{method:"POST",body:{run_mode:S}}),F=await r.delete("actions");return Xs.fromObject(M)}catch(M){throw vu&&console.error(M.message||"Failed to update Action run mode"),M}},addActionToGroup:async(N,S)=>{const M="/action/addAction";try{const F=await e(M,{method:"POST",body:{group:N,action:S}});return r.delete("actions"),F}catch(F){return{success:!1,error_message:F.stack}}},checkActionOnGroup:async(N,S)=>{const M="/action/checkActionOnGroup";try{return await e(M,{method:"POST",body:{group:N,action:S}})}catch(F){return console.error(F),{success:!1,error_message:"Failed to delete"}}},deleteActionFromGroup:async(N,S)=>{const M="/action/deleteActionFromGroup";try{const F=await e(M,{method:"POST",body:{group:N,action:S}});return r.delete("actions"),F}catch(F){return console.error(F),{success:!1,error_message:"Failed to delete"}}},clearActionsCache:async()=>{await r.delete("actions")}}}var R7;const Pr=((R7=void 0)==null?void 0:R7.toLowerCase())==="true";function PX(t){const{fetchSecureApi:e,getRecordsByOwner:r}=t,n=async Fe=>{try{return await e("/admin-stream/".concat(Fe),{method:"GET"})}catch(Ne){throw console.error(Ne.message||"Error while getting Streams"),Ne}};return{getDashboardChartData:async(Fe,Ne,K,ee={})=>await e("/dashboard/".concat(encodeURIComponent(Fe),"/").concat(encodeURIComponent(Ne),"/chart/").concat(encodeURIComponent(K),"/data"),{method:"POST",body:ee}),getEmbeddedDashboardChartData:async(Fe,Ne,K,ee)=>await e("/dashboard/embedded-content/chart/data",{method:"POST",body:{dashboard_object_id:Fe,requesting_object_id:Ne,uid:K,...ee?{config:ee}:{}}}),getEmbeddedElementBinding:async(Fe,Ne,K)=>await e("/dashboard/embedded-content/binding/data",{method:"POST",body:{dashboard_object_id:Fe,requesting_object_id:Ne,uid:K}}),getEmbeddedDashboardStreamRecords:async(Fe,Ne,K,ee)=>{const{records:oe=[]}=await e("/dashboard/embedded-content/records",{method:"POST",body:{dashboard_object_id:Fe,requesting_object_id:Ne,uid:K,limit:ee}});return oe}
261,getAdminStreams:n,addAdminStream:async Fe=>{try{const{stream_id:Ne,reader_username:K,label:ee,display_mode:oe,read_only:ge}=Fe,{stream:Oe}=await e("/admin-stream",{method:"POST",body:{stream_id:Ne,reader_username:K,label:ee,display_mode:oe,read_only:ge}});return Oe}catch(Ne){throw console.error(Ne.message||"Error while adding a Stream"),Ne}},deleteAdminStream:async Fe=>{try{const{stream:Ne}=await e("/admin-stream",{method:"DELETE",body:{admin_stream_id:Fe}});return Ne}catch(Ne){throw console.error(Ne.message||"Error while deleting the Stream"),Ne}},getUserStreams:async(Fe,Ne)=>{const K="".concat(Fe,"/").concat(Ne,"/stream"),ee=await r(K,100);for(const ge of ee)ge.stream_id=ge.object_id.replace("collection","stream");const oe=await n(Ne);return[...ee,...oe]},getVisibleStreams:async()=>{try{const{streams:Fe}=await e("/stream/visible",{method:"GET"});return(Fe||[]).map(Ne=>({...Ne,stream_id:Ne.stream_id||(Ne.object_id||"").replace("collection","stream")}))}catch(Fe){throw console.error((Fe==null?void 0:Fe.message)||"Failed to load visible streams"),Fe}},createStream:async(Fe,Ne)=>{try{const{stream:K}=await e("/stream/".concat(Fe),{method:"POST",body:{title:Ne}});return K}catch(K){throw Pr&&console.error(K.message||"Unable to create stream"),K}},saveStream:async(Fe,Ne)=>{try{const{stream:K}=await e("/stream/".concat(Fe),{method:"PUT",body:Ne});return K}catch(K){throw Pr&&console.error(K.message||"Unable to save Stream"),K}},deleteStream:async(Fe,Ne)=>{try{const{success:K}=await e("/stream/".concat(Fe,"/").concat(Ne),{method:"DELETE"});return K}catch(K){throw Pr&&console.error(K.message||"Unable to delete stream"),K}},clearStream:async(Fe,Ne)=>{await e("/stream/".concat(Fe,"/").concat(Ne,"/clear"),{method:"POST"})},getStreamInput:async(Fe,Ne)=>{try{const{page:K}=await e("/stream/".concat(Fe,"/").concat(Ne,"/input"),{method:"GET"});return Ts.fromObject(K)}catch(K){throw Pr&&console.error(K.message||"Unable to get stream input"),K}},saveStreamInput:async(Fe,Ne,K)=>{try{const{page:ee}=await e("/stream/".concat(Fe,"/").concat(Ne,"/input"),{method:"POST",body:{input:K.toObject()}});return ee}catch(ee){throw Pr&&console.error(ee.message||"Unable to save stream input"),ee}},loadStreamPlusScript:async(Fe,Ne,K)=>{try{const ee="trigger",{script:oe}=await e("/stream/".concat(Ne,"/").concat(ee,"/plusscript/").concat(K),{method:"GET"});return oe?sr.fromObject(oe):void 0}catch(ee){throw Pr&&console.error(ee.message||"Error loading PlusScript Stream trigger"),new Error("Error loading PlusScript Stream trigger")}},saveStreamPlusScript:async(Fe,Ne,K,ee)=>{try{const oe="trigger",{updated:ge}=await e("/stream/".concat(Ne,"/").concat(oe,"/plusscript/").concat(K),{method:"POST",body:{script:ee}});return sr.fromObject(ge)}catch(oe){throw Pr&&console.error(oe.message||"Error saving PlusScript Stream trigger"),new Error(oe.message||"Error saving PlusScript Stream trigger")}},getStreamAutoExpand:async(Fe,Ne)=>await e("/stream/".concat(Fe,"/").concat(Ne,"/auto-expand"),{method:"GET"}),saveStreamAutoExpand:async(Fe,Ne,K)=>{await e("/stream/".concat(Fe,"/").concat(Ne,"/auto-expand"),{method:"POST",body:{autoExpand:K}})},getStreamData:async(Fe,Ne,K)=>{try{const{records:ee}=await e("/stream/".concat(Fe,"/").concat(encodeURIComponent(Ne)),{method:"GET",params:{limit:K}});return ee}catch(ee){throw Pr&&console.error(ee.message||"Unable to get stream data"),ee}},writeToStream:async(Fe,Ne,K)=>{try{const{updated:ee}=await e("/stream/".concat(Fe,"/").concat(Ne),{method:"POST",params:{triggers:"true"},body:{record:K}});return ee}catch(ee){throw Pr&&console.error(ee.message||"Unable to write stream data"),ee}},writeToStreamV2:async(Fe,Ne)=>{try{const{updated:K}=await e("/stream/write/".concat(Fe),{method:"POST",params:{triggers:"true"},body:{record:Ne}});return K}catch(K){throw Pr&&console.error(K.message||"Unable to write to stream"),K}},submitDataToStream:async(Fe,Ne,K,ee)=>{try{return await e("/stream/".concat(Fe,"/").concat(encodeURIComponent(Ne),"/").concat(K,"/submit-params"),{method:"POST",body:{data:ee}})}catch(oe){throw Pr&&console.error(oe.message||"Unable to write stream data"),oe}},getStreamRecords:async(Fe,Ne,K)=>{const{limit:ee,columns:oe,after:ge,begin:Oe,end:U,excludeReply:C}=K;try{const{records:I}=await e("/stream/".concat(Fe,"/").concat(Ne),{method:"GET",params:{limit:"".concat(ee),after:ge,columns:oe,begin:Oe==null?void 0:Oe.valueOf(),end:U==null?void 0:U.valueOf(),excludeReply:C}});return I}catch(I){throw Pr&&console.error(I.message||"Unable to get stream records"),I}},getStreamRecordsV2:async(Fe,Ne)=>{const{limit:K,columns:ee,after:oe,begin:ge,end:Oe,excludeReply:U,ascending:C}=Ne;try{const{records:I}=await e("/stream/read/".concat(Fe),{method:"GET",params:{limit:"".concat(K),after:oe,columns:ee,begin:ge==null?void 0:ge.valueOf(),end:Oe==null?void 0:Oe.valueOf(),excludeReply:U,ascending:C}});return I}catch(I){throw Pr&&console.error(I.message||"Unable to get stream records"),I}},checkStreamRecords:async(Fe,Ne)=>{const{limit:K,begin:ee,end:oe}=Ne;try{const{count:ge}=await e("/stream/check/".concat(Fe),{method:"GET",params:{limit:"".concat(K),begin:ee==null?void 0:ee.valueOf(),end:oe==null?void 0:oe.valueOf()}});return ge}catch(ge){throw Pr&&console.error(ge.message||"Unable to count stream records"),ge}},getStreamInputV2:async Fe=>{try{const{page:Ne}=await e("/stream/input/".concat(Fe),{method:"GET"});return Ts.fromObject(Ne)}catch(Ne){throw Pr&&console.error(Ne.message||"Unable to get stream input"),Ne}},getEmbeddedStreamRecords:async(Fe,Ne,K)=>{const{limit:ee,columns:oe,after:ge,begin:Oe,end:U,excludeReply:C,ascending:I}=K;try{const{records:te}=await e("/stream/embedded-content",{method:"POST",body:{stream_object_id:Fe,requesting_object_id:Ne,limit:ee,columns:oe,after:ge,begin:Oe==null?void 0:Oe.valueOf(),end:U==null?void 0:U.valueOf(),excludeReply:C,ascending:I}});return te}catch(te){throw Pr&&console.error(te.message||"Unable to get embedded stream records"),te}},getDashboardStreamRecords:async(Fe,Ne,K,ee=10)=>{try{const{records:oe}=await e("/dashboard/".concat(Fe,"/").concat(Ne,"/records/").concat(K),{method:"POST",body:{limit:ee}});return oe||[]}catch(oe){return Pr&&console.error(oe.message||"Unable to get dashboard stream records"),[]}},getEmbeddedStreamInput:async(Fe,Ne)=>{try{const{page:K}=await e("/stream/embedded-input",{method:"POST",body:{stream_object_id:Fe,requesting_object_id:Ne}});return Ts.fromObject(K)}catch(K){throw Pr&&console.error(K.message||"Unable to get embedded stream input"),K}},getEmbeddedStreamMetadata:async(Fe,Ne)=>{try{const{stream:K}=await e("/stream/embedded-metadata",{method:"POST",body:{stream_object_id:Fe,requesting_object_id:Ne}});return K}catch(K){throw Pr&&console.error(K.message||"Unable to get embedded stream metadata"),K}},checkEmbeddedStreamRecords:async(Fe,Ne,K)=>{const{limit:ee,begin:oe,end:ge}=K;try{const{count:Oe}=await e("/stream/embedded-check",{method:"POST",body:{stream_object_id:Fe,requesting_object_id:Ne,limit:ee,begin:oe==null?void 0:oe.valueOf(),end:ge==null?void 0:ge.valueOf()}});return Oe}catch(Oe){throw Pr&&console.error(Oe.message||"Unable to check embedded stream records"),Oe}},saveStreamInputV2:async(Fe,Ne)=>{try{const{page:K}=await e("/stream/input/".concat(Fe),{method:"POST",body:{input:Ne.toObject()}});return Ts.fromObject(K)}catch(K){throw Pr&&console.error(K.message||"Unable to save stream input"),K}},getStreamAutoExpandV2:async Fe=>{try{return await e("/stream/auto-expand/".concat(Fe),{method:"GET"})}catch(Ne){throw Pr&&console.error(Ne.message||"Unable to get stream auto-expand"),Ne}},saveStreamAutoExpandV2:async(Fe,Ne)=>{try{return await e("/stream/auto-expand/".concat(Fe),{method:"POST",body:{autoExpand:Ne}})}catch(K){throw Pr&&console.error(K.message||"Unable to save stream auto-expand"),K}},updateStreamRecord:async(Fe,Ne,K,ee)=>{await e("/stream/".concat(Fe,"/").concat(Ne,"/").concat(K),{method:"POST",body:{data:ee}})},deleteStreamRecord:async(Fe,Ne,K)=>{try{if(!(K!=null&&K.timestamp))throw new Error("Timestamp was not provided");const{timestamp:ee}=await e("/stream/".concat(Fe,"/").concat(encodeURIComponent(Ne),"/").concat(K.timestamp),{method:"DELETE"});return ee}catch(ee){throw Pr&&console.error(ee.message||"Unable to delete stream record"),ee}},deleteStreamRecordV2:async(Fe,Ne)=>{try{const{deleted:K}=await e("/stream/delete/".concat(Fe),{method:"DELETE",params:{timestamp:Ne}});return K}catch(K){throw Pr&&console.error(K.message||"Unable to delete stream record"),K}},getStreamTriggers:async(Fe,Ne,K)=>{const{limit:ee,columns:oe}=K;try{const{triggers:ge}=await e("/stream/".concat(Fe,"/").concat(Ne,"/triggers"),{method:"GET",params:{limit:"".concat(ee),columns:oe}});return ge.map(Oe=>p0.fromObject(Oe))}catch(ge){throw console.error(ge.message||"Error while getting stream triggers"),ge}},getStreamTriggersV2:async(Fe,Ne)=>{const{limit:K,columns:ee}=Ne;try{const{triggers:oe}=await e("/stream/triggers/".concat(Fe),{method:"GET",params:{limit:"".concat(K),columns:ee}});return oe.map(ge=>p0.fromObject(ge))}catch(oe){throw console.error(oe.message||"Error while getting stream triggers"),oe}},saveStreamTrigger:async(Fe,Ne,K)=>{try{const{updated:ee}=await e("/stream/".concat(Fe,"/").concat(Ne,"/triggers"),{method:"POST",body:{trigger:K.toObject()}});return p0.fromObject(ee)}catch(ee){throw console.error(ee.message||"Error while saving stream trigger"),ee}},saveStreamTriggerV2:async(Fe,Ne)=>{try{const{updated:K}=await e("/stream/triggers/".concat(Fe),{method:"POST",body:{trigger:Ne.toObject()}});return p0.fromObject(K)}catch(K){throw console.error(K.message||"Error while saving stream trigger"),K}},deleteStreamTrigger:async(Fe,Ne,K)=>{try{const{object_id:ee}=await e("/stream/".concat(Fe,"/").concat(Ne,"/triggers"),{method:"DELETE",body:{object_id:K}});return ee}catch(ee){throw console.error(ee.message||"Error while deleting stream trigger"),ee}},deleteStreamTriggerV2:async(Fe,Ne)=>{try{const{object_id:K}=await e("/stream/triggers/".concat(Fe),{method:"DELETE",body:{object_id:Ne}});return K}catch(K){throw console.error(K.message||"Error while deleting stream trigger"),K}}}}var F7,D7,N7;const Vn=((F7=void 0)==null?void 0:F7.toLowerCase())==="true",LX=(D7=void 0)!=null?D7:"/api/v1",BX=((N7=void 0)==null?void 0:N7.toLowerCase())==="true";function UX(t){const{fetchApi:e,fetchSecureApi:r,hostname:n,username:i,serializeAnyType:s,extraHeaders:a}=t,l=(K,ee={})=>
261{if(a&&Object.keys(a).length>0){const oe={...ee.headers||{},...a};return r(K,{...ee,headers:oe})}return r(K,ee)},u=!!(a&&a["X-App-Id"]),p=async function(){try{return await l("/files/tabs",{method:"GET"})}catch(K){if(K.status===403)return Vn&&console.log("403 Forbidden when loading file tabs - returning empty tabs"),[];throw K}},d=async function(K){return l("/files/tabs",{method:"POST",body:{tabs:K}})},g=async(K,ee,oe,ge,Oe)=>{K==="/"&&(K="");try{const U={limit:String(Oe??1e3)};ee&&ee!==i&&(U.owner=ee),oe&&(U.continuationToken=oe),ge&&(U.searchPrefix=ge);const{objects:C}=await l("/files/folder/".concat(K),{method:"GET",params:U});return C}catch(U){throw Vn&&console.error(U.message||"Unable to list ".concat(K)),U}},_=K=>"".concat(LX,"/file-stream/").concat(encodeURIComponent(K)),v=async K=>{try{const ee=K.replace(/%/g,"%25"),oe=encodeURIComponent(ee),{url:ge}=await l("/files/url/".concat(oe),{method:"GET"});return ge}catch(ee){throw console.error(ee.message||"File not found"),ee}},k=async K=>{const ee=K.replace(/%/g,"%25"),oe=encodeURIComponent(ee);return l("/files/audio-metadata/".concat(oe),{method:"GET"})},O=async(K,ee)=>{const oe=K.replace(/%/g,"%25"),ge=encodeURIComponent(oe);return l("/files/audio-metadata/".concat(ge),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify(ee)})},N=async K=>{try{const ee=K.replace(/%/g,"%25"),oe=encodeURIComponent(ee),{data:ge}=await l("/files/data/".concat(oe),{method:"GET"});if((ge==null?void 0:ge.type)!=="Buffer")throw new Error("Wrong file data returned");return Buffer.from(ge)}catch(ee){throw Vn&&console.error(ee.message||"File not found"),ee}},S=async(K,ee)=>{try{return(await l("/files/embedded-content",{method:"POST",body:{file_key:K,requesting_object_id:ee}})).content}catch(oe){throw Vn&&console.error(oe.message||"Error getting embedded content"),oe}},M=async(K,ee)=>{try{const oe=K+"/public/"+ee.replace(/%/g,"%25"),ge=encodeURIComponent(oe),{data:Oe}=await e("/files/public/".concat(ge),{method:"GET"});if((Oe==null?void 0:Oe.type)!=="Buffer")throw new Error("Wrong file data returned");return Buffer.from(Oe)}catch(oe){throw Vn&&console.error(oe.message||"File not found"),oe}},F=async(K,ee=!1)=>{try{const oe=K.replace(/%/g,"%25"),ge=encodeURIComponent(oe),{metadata:Oe}=await l("/files/metadata/".concat(ge),{method:"GET",params:{polling:ee?"true":void 0}});return Oe}catch(oe){throw Vn&&console.error(oe.message||"Unable to request metadata"),oe}},G=async K=>{try{Vn&&console.log("getPublicImageUrl");const ee=K.replace(/%/g,"%25"),oe=encodeURIComponent(ee),{url:ge}=await l("/files/image-s3/".concat(ee),{method:"GET"});return ge}catch(ee){throw Vn&&console.error(ee.message||"Error generating signed image URL"),ee}},X=async(K,ee,oe)=>{try{Vn&&console.log("getSignedUploadUrl");const ge=K.replace(/%/g,"%25"),Oe=encodeURIComponent(ge),{url:U}=await l("/files/upload-url/".concat(Oe),{method:"GET",params:oe,headers:{"Content-Type":ee&&ee.type?ee.type:"application/octet-stream"}});return U}catch(ge){throw Vn&&console.error(ge.message||"Error uploading file"),ge}},z=async(K,ee)=>{const oe=K.replace(/%/g,"%25"),ge=encodeURIComponent(oe);return await l("/files/upload-complete/".concat(ge),{method:"POST",body:ee})},R="private, max-age=3600",H=async(K,ee,oe)=>{const ge=ee&&ee.type?ee.type:"application/octet-stream",Oe=K.replace(/%/g,"%25"),U=encodeURIComponent(Oe),{url:C,key:I,contentType:te}=await l("/files/upload-url/".concat(U),{method:"GET",params:oe,headers:{"Content-Type":ge}}),be=I||K,Le=te||ge,ze=await fetch(C,{method:"PUT",headers:{"Content-Type":Le,"Cache-Control":R},body:ee});if(!ze.ok){const Ae=await ze.text().catch(()=>"");throw new Error("S3 PUT failed: ".concat(ze.status," ").concat(ze.statusText).concat(Ae?" â "+Ae:""))}const Yt=(ze.headers.get("ETag")||ze.headers.get("etag")||"").replace(/"/g,"");return await z(be,{etag:Yt,size:ee.size,contentType:Le})};return{getFileTabs:p,saveFileTabs:d,importFromDrive:async(K,ee)=>await l("/files/import-from-drive",{method:"POST",body:{fileId:K,destPrefix:ee}}),getFolderFromS3:g,getFileStreamURL:_,getFileURL:v,getAudioMetadata:k,updateAudioMetadata:O,getBytesFromFile:N,getEmbeddedContent:S,getPublicBytesFromFile:M,getFileMetadata:F,getPublicImageUrl:G,getSignedUploadUrl:X,uploadBlobFile:async(K,ee,oe,ge)=>{try{if(Vn&&console.log("uploadBlobFile"),Vn&&console.log({key:K,blob:ee,params:oe}),u&&BX)return Vn&&console.log("[uploadBlobFile] using BYO direct path"),await H(K,ee,oe);const Oe=K.replace(/%/g,"%25"),U=encodeURIComponent(Oe),C={...oe,...ge&&{acl:"public-read"}},{ETag:I,Location:te,Key:be}=await l("/files/upload/".concat(U),{method:"POST",params:C,headers:{"Content-Type":ee&&ee.type?ee.type:"application/octet-stream"},body:ee});return{ETag:I,Location:te,Key:be}}catch(Oe){throw Vn&&console.error(Oe.message||"Error uploading file"),Oe}},uploadBlobFileDirect:H,uploadComplete:z,uploadFileToS3:async(K,ee,oe)=>{try{return(await l("/files/upload-file/".concat(K,"/").concat(ee,"/").concat(oe.name),{method:"POST",headers:{"Content-Type":oe&&oe.type?oe.type:"application/octet-stream"},body:oe})).key}catch(ge){throw Vn&&console.error(ge.message||"Error uploading file"),ge}},deleteFile:async(K,ee)=>{const oe=K.replace(/%/g,"%25"),ge=encodeURIComponent(oe),Oe=ee||i,{success:U}=await l("/file/".concat(n,"/").concat(Oe,"/").concat(ge),{method:"DELETE",params:ee?{owner:ee}:void 0});return U},uploadWebCamImage:async(K,ee,oe)=>{try{return(await l("/files/upload-image/".concat(K,"/").concat(ee),{method:"POST",headers:{"Content-Type":oe&&oe.type?oe.type:"application/octet-stream"},body:oe})).key}catch(ge){throw Vn&&console.error(ge.message||"Error uploading file"),ge}},getUserBlobTriggers:async(K,ee)=>{try{const{triggers:oe=[]}=await l("/file-triggers/".concat(ee),{method:"GET",params:{limit:100}});return oe.map(ge=>Vg.fromObject(ge))}catch(oe){throw console.error(oe.message||"Unable to get Blob Triggers"),oe}},getAllUserBlobTriggers:async(K,ee)=>{try{const{triggers:oe=[]}=await l("/file-triggers-user/".concat(K,"/").concat(ee),{method:"GET"});return oe}catch(oe){return console.error(oe.message||"Unable to get user triggers"),[]}},getUserBlobTriggerTriggers:async(K,ee)=>{const{records:oe=[]}=await l("/file-triggers-stream/".concat(encodeURIComponent(K),"/triggers/").concat(ee),{method:"GET"});return oe},resetTriggerCounts:async K=>{const{records:ee=[]}=await l("/file-triggers-reset/".concat(encodeURIComponent(K)),{method:"POST"});return ee},saveBlobTrigger:async(K,ee,oe)=>{try{const ge=oe.toObject();ge.param_values=Object.fromEntries(Array.from(oe.param_values,([U,C])=>[U,s(C)]));const{updated:Oe}=await l("/file-triggers/".concat(K,"/").concat(ee),{method:"POST",body:ge});return Vg.fromObject(Oe)}catch(ge){throw console.error(ge.message||"Unable to save Blob Trigger"),ge}},deleteBlobTrigger:async(K,ee,oe)=>{try{return await l("/file-triggers/".concat(K,"/").concat(ee),{method:"DELETE",body:{object_id:oe}})}catch(ge){return console.error(ge),{success:!1,error_message:ge}}},copyFile:async(K,ee)=>{await l("/file/copy/".concat(encodeURIComponent(K),"/").concat(encodeURIComponent(ee)),{method:"POST"})},renameFile:async(K,ee)=>{await l("/file/rename/".concat(encodeURIComponent(K),"/").concat(encodeURIComponent(ee)),{method:"POST"})},getFileTags:async K=>{try{const ee=encodeURIComponent(K);return await l("/file-tags/".concat(ee),{method:"GET"})}catch(ee){throw ee}},setFileTag:async(K,ee,oe)=>{try{const ge=encodeURIComponent(K);return await l("/file-tags/".concat(ge),{method:"POST",body:{Key:ee,Value:oe}})}catch(ge){throw ge}},setStorageClass:async(K,ee)=>{const oe=encodeURIComponent(K);return await l("/files/storage-class/".concat(oe),{method:"POST",body:{storageClass:ee}})},getLifecycleRules:async K=>{const ee=encodeURIComponent(K),oe=await l("/files/lifecycle/".concat(ee),{method:"GET"});return(oe==null?void 0:oe.rules)||[]},saveLifecycleRules:async(K,ee)=>{const oe=encodeURIComponent(K),ge=await l("/files/lifecycle/".concat(oe),{method:"PUT",body:{rules:ee}});return(ge==null?void 0:ge.rules)||[]},getLifecycleTemplates:async()=>{const K=await l("/files/lifecycle-templates",{method:"GET"});return(K==null?void 0:K.templates)||[]},deleteFileTag:async(K,ee)=>{try{const oe=encodeURIComponent(K);return await l("/file-tags/".concat(oe),{method:"DELETE",headers:{"Content-Type":"application/json"},body:{Key:ee}})}catch(oe){throw oe}},setupByobEvents:async K=>l("/file-triggers/byob/setup-events/".concat(encodeURIComponent(K)),{method:"POST"}),optOutByobEvents:async K=>l("/file-triggers/byob/optout-events/".concat(encodeURIComponent(K)),{method:"POST"}),teardownByobEvents:async K=>l("/file-triggers/byob/teardown-events/".concat(encodeURIComponent(K)),{method:"POST"}),getByobEventsStatus:async K=>l("/file-triggers/byob/status/".concat(encodeURIComponent(K)))}}var P7;const Yn=((P7=void 0)==null?void 0:P7.toLowerCase())==="true";var zX=(t=>(t.Public="public",t.Token="token",t))(zX||{}),jX=(t=>(t.PlusScript="plusscript",t.Collection="collection",t.Stream="stream",t.Upload="upload",t.TelnyxWebhook="telnyx_webhook",t.EmailWebhook="email_webhook",t))(jX||{});const L7=t=>t?t.filter(e=>e!==void 0).map(e=>e&&typeof e.toObject=="function"?e.toObject():e):[],bu=t=>t?t.map(e=>ft.fromObject(e)):[];function HX(t){const{fetchSecureApi:e,hostname:r}=t;return{getUserAPIs:async re=>{try{const{apis:ie}=await e("/api/".concat(re),{method:"GET"});return ie?ie.map(({tokens:q=[],token_params:Y=[],endpoints:Q=[],...fe})=>({...fe,tokens:q,token_params:bu(Y),endpoints:Q}
261)):[]}catch(ie){throw Yn&&console.error(ie.message||"Unable to fetch APIs"),ie}},getUserAPI:async(re,ie)=>{try{const q=await e("/api/".concat(re,"/").concat(ie),{method:"GET"}),{tokens:Y=[],token_params:Q=[],endpoints:fe=[],...pe}=q;return{...pe,tokens:Y,token_params:bu(Q),endpoints:fe}}catch(q){throw Yn&&console.error(q.message||"Unable to fetch API"),q}},createUserAPI:async(re,ie)=>{try{const{tokens:q,token_params:Y,endpoints:Q,...fe}=ie,{api:pe}=await e("/api/".concat(re),{method:"POST",body:{...fe,tokens:q,token_params:L7(Y),endpoints:Q}});return{...pe,token_params:bu(pe.token_params)}}catch(q){throw Yn&&console.error(q.message||"Unable to create API"),q}},deleteUserAPI:async(re,ie)=>{try{const{object_id:q}=await e("/api/".concat(re,"/").concat(ie),{method:"DELETE"});return q}catch(q){throw Yn&&console.error(q.message||"Unable to delete API"),q}},clearUserAPIHandler:async(re,ie)=>{try{const{api:q}=await e("/api/".concat(re,"/").concat(ie,"/handler"),{method:"DELETE"});return{...q,token_params:bu(q.token_params)}}catch(q){throw Yn&&console.error(q.message||"Unable to clear API handler"),q}},getUserAPIHandlers:async(re,ie)=>{const{handlers:q}=await e("/api/".concat(re,"/").concat(ie,"/handlers"),{method:"GET"});return q||[]},getUserAPIHandlerRegistry:async(re,ie)=>{const q=await e("/api/".concat(re,"/").concat(ie,"/handlers"),{method:"GET"});return{handlers:q.handlers||[],session_variables:q.session_variables||[]}},saveUserAPIHandlers:async(re,ie,q)=>(await e("/api/".concat(re,"/").concat(ie,"/handlers"),{method:"PUT",body:{handlers:q}})).handlers||q,simulateTelnyxBot:async(re,ie,q)=>e("/api/".concat(re,"/").concat(ie,"/telnyx/simulate"),{method:"POST",body:q}),listTelnyxSessions:async(re,ie,q)=>{var Y,Q,fe,pe;const Te=(Y=q==null?void 0:q.limit)!=null?Y:10,ve=(Q=q==null?void 0:q.offset)!=null?Q:0,xe=await e("/api/".concat(re,"/").concat(ie,"/sessions?limit=").concat(Te,"&offset=").concat(ve),{method:"GET"});return{sessions:xe.sessions||[],total:xe.total||0,limit:(fe=xe.limit)!=null?fe:Te,offset:(pe=xe.offset)!=null?pe:ve}},saveUserAPITelnyxConfig:async(re,ie,q)=>{try{const{api:Y}=await e("/api/".concat(re,"/").concat(ie,"/telnyx/config"),{method:"PUT",body:q});return{...Y,token_params:bu(Y.token_params)}}catch(Y){throw Yn&&console.error(Y.message||"Unable to save Telnyx config"),Y}},listUserAPITelnyxMessagingProfiles:async(re,ie)=>{try{const{profiles:q}=await e("/api/".concat(re,"/").concat(ie,"/telnyx/messaging-profiles"),{method:"GET"});return q||[]}catch(q){throw Yn&&console.error(q.message||"Unable to list Telnyx messaging profiles"),q}},connectUserAPITelnyx:async(re,ie,q)=>{try{const Y=await e("/api/".concat(re,"/").concat(ie,"/telnyx/connect"),{method:"POST",body:q}),Q=Y.api;return{api:{...Q,token_params:bu(Q.token_params)},public_key_warning:Y.public_key_warning}}catch(Y){throw Yn&&console.error(Y.message||"Unable to connect to Telnyx"),Y}},createUserAPIToken:async(re,ie,q)=>{try{const{tokens:Y}=await e("/api/".concat(re,"/").concat(ie,"/tokens"),{method:"POST",body:{token:{...q,param_values:q!=null&&q.param_values?q.param_values:{}}}});return Y}catch(Y){throw Yn&&console.error(Y.message||"Unable to create a new Token"),Y}},updateUserAPITokens:async(re,ie,q)=>{try{const{updated:Y}=await e("/api/".concat(re,"/").concat(ie,"/tokens"),{method:"PUT",body:{tokens:q?q.map(({uuid:Q,label:fe,param_values:pe,...Te})=>({uuid:Q,label:fe,param_values:pe||{},...Te})):[]}});return Y}catch(Y){throw Yn&&console.error(Y.message||"Unable to update Tokens"),Y}},createUserAPIEndpoint:async(re,ie,q)=>{try{const{endpoints:Y}=await e("/api/v2/".concat(re,"/").concat(ie,"/add"),{method:"POST",body:q});return Y}catch(Y){throw Yn&&console.error(Y.message||"Unable to create user API V2"),Y}},updateUserAPIEndpoints:async(re,ie,q)=>{try{const{updated:Y}=await e("/api/v2/".concat(re,"/").concat(ie,"/update"),{method:"POST",body:{endpoints:q}});return Y}catch(Y){throw Yn&&console.error(Y.message||"Unable to update API V2 Endpoints"),Y}},getUserAPIAnalytics:async(re,ie)=>{var q,Y;try{const Q=await e("/api/v2/".concat(re,"/").concat(ie,"/analytics"),{method:"GET"});return(Y=(q=Q==null?void 0:Q.endpoints)!=null?q:Q==null?void 0:Q.analytics)!=null?Y:null}
261catch(Q){throw Yn&&console.error(Q.message||"Unable to load API Analytics"),Q}},updateUserAPITokenParams:async(re,ie,q)=>{try{const{updated:Y}=await e("/api/v2/".concat(re,"/").concat(ie,"/params"),{method:"POST",body:{token_params:L7(q)}});return bu(Y)}catch(Y){throw Yn&&console.error(Y.message||"Unable to update API V2 Token Parameters"),Y}},loadUserAPIPlusScript:async(re,ie,q)=>{try{const{script:Y}=await e("/api/v2/".concat(re,"/").concat(ie,"/plusscript/").concat(q),{method:"GET"});return Y?sr.fromObject(Y):void 0}catch(Y){throw Yn&&console.error(Y.message||"There was an error loading the script"),Y}},saveUserAPIPlusScript:async(re,ie,q,Y)=>{try{const{updated:Q}=await e("/api/v2/".concat(re,"/").concat(ie,"/plusscript/").concat(q),{method:"POST",body:{script:Y.toObject()}});return sr.fromObject(Q)}catch(Q){throw Yn&&console.error(Q.message||"There was an error saving the script"),Q}},elasticSearchUsers:async re=>await e("/users/".concat(r,"/elastic-search?q=").concat(re),{method:"GET"})}}const B7={INITIALIZING:Qh.INITIALIZING,RUNNING:Qh.RUNNING,FAILED:Qh.FAILED,SUCCEEDED:Qh.SUCCEEDED};function U7(t){return t&&typeof t.status=="string"&&t.status in B7&&(t.status=B7[t.status]),t}function WX(t){const{fetchSecureApi:e,username:r}=t;return{getJobs:async g=>{try{const _=await e("/jobs",{method:"GET"});return _.jobs?_.jobs.map(U7):null}catch(_){return console.error(_),null}},savePlusScriptJob:async g=>{try{const _=await e("/job",{method:"POST",body:{job:g}});return _.job||_}catch(_){throw console.error("Error saving PlusScriptJob:",_),new Error(_.message||"Failed to save PlusScriptJob")}},readFile:async g=>{try{return await e("/file/".concat(g),{method:"GET"})}catch(_){throw console.error("Error reading file:",_),new Error(_.message||"Failed to read file")}},deleteCompletedJobs:async()=>{var g,_;try{const v=await e("/jobs/completed",{method:"DELETE"});return{deleted:(g=v.deleted)!=null?g:0,total:(_=v.total)!=null?_:0}}catch(v){throw console.error("Error clearing completed jobs:",v),new Error(v.message||"Failed to clear completed jobs")}},deletePlusScriptJob:async g=>{try{return await e("/job/".concat(encodeURIComponent(g)),{method:"DELETE"})}catch(_){throw console.error("Error deleting PlusScriptJob:",_),new Error(_.message||"Failed to delete PlusScriptJob")}},startLongAction:async(g,_)=>{const v=g.object_id;try{const k=await e("/job/".concat(r,"/").concat(v),{method:"POST",body:_});return un.fromObject(k)}catch(k){return un.fromObject({success:!1,error_message:k.toString()})}},getJobProgress:async(g,_)=>{try{const{receipt:v,...k}=await e("/job/".concat(g,"/").concat(_,"/progress"),{method:"GET"}),O=U7(k);if(v&&v.outputs){for(const[N,{ptype:S,...M}]of Object.entries(v.outputs))v.outputs[N]={ptype:typeof S=="string"?Ks[S]:S,...M};return{...O,receipt:un.fromObject(v)}}return O}catch(v){throw console.error(v.message||"Unable to get progress for Job Id ".concat(_)),v}},getAwsBatchJobMetadata:async(g,_)=>await e("/job/".concat(g,"/").concat(_),{method:"GET"})}}var z7;const Jt=((z7=void 0)==null?void 0:z7.toLowerCase())==="true",GX=60*1e3,Xf=new Map;function j7(t){const e=Xf.get(t);if(e&&Date.now()-e.timestamp<GX)return e.data;e&&Xf.delete(t)}function H7(t,e){Xf.set(t,{data:e,timestamp:Date.now()})}function pv(t){for(const e of Xf.keys())e.startsWith(t)&&Xf.delete(e)}function $X(t){const{fetchSecureApi:e,hostname:r,username:n}=t,i=async(K,ee=50)=>{try{const{records:oe}=await e("/collections/".concat(K),{method:"GET",params:{limit:"".concat(ee)}});return oe}catch(oe){throw Jt&&console.error(oe.message||"Unable to get records for ".concat(K)),oe}};return{getRecordsByOwner:i,getUserCollections:async(K,ee)=>{const oe="".concat(K,"/").concat(ee,"/collection");return i(oe,100).then(ge=>ge.map(Oe=>({...Oe,shared:!1,readonly:!1})))},getCollection:async(K,ee,oe)=>{const ge="col:".concat(K,"/").concat(ee,"/").concat(oe),Oe=j7(ge);if(Oe)return Oe;try{const{collection:U}=await e("/collection-data/".concat(K,"/").concat(ee,"/").concat(oe),{method:"GET"});return U&&H7(ge,U),U}catch(U){if(Jt&&console.error(U.message||"Unable to access the collection"),U.status===403)return;throw U}},deleteCollection:async(K,ee,oe)=>{try{const{success:ge}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe),{method:"DELETE"});return pv("col:".concat(K,"/").concat(ee,"/").concat(oe)),pv("input:".concat(K,"/").concat(ee,"/").concat(oe)),ge}catch(ge){throw Jt&&console.error(ge.message||"Unable to delete collection"),ge}},createCollection:async(K,ee,oe)=>{try{const{collection:ge}=await e("/collection/".concat(K,"/").concat(ee),{method:"PUT",body:oe});return ge}catch(ge){throw Jt&&console.error(ge.message||"Unable to create collection"),ge}},getRecentCollections:async(K,ee)=>{try{const{collection_ids:oe}=await e("/collection-recent/".concat(K,"/").concat(ee),{method:"GET"});return Array.isArray(oe)?oe:[]}catch(oe){return Jt&&console.error(oe.message||"Unable to load recent collections"),[]}},recordRecentCollection:async(K,ee,oe)=>{try{const{collection_ids:ge}=await e("/collection-recent/".concat(K,"/").concat(ee),{method:"POST",body:{collection_id:oe}});return Array.isArray(ge)?ge:[]}
261catch(ge){return Jt&&console.error(ge.message||"Unable to record recent collection"),[]}},getVote:async(K,ee,oe,ge,Oe)=>await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/").concat(ge,"/vote"),{method:"GET",params:{field:Oe}}),castVote:async(K,ee,oe,ge,Oe,U)=>await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/").concat(ge,"/vote"),{method:"POST",body:{field:Oe,choice:U}}),getFieldVotes:async(K,ee,oe,ge)=>{try{const{records:Oe}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/votes"),{method:"GET",params:{field:ge}});return Oe||{}}catch(Oe){return Jt&&console.error(Oe.message||"Unable to load votes"),{}}},getInboundCollections:async(K,ee)=>{try{const{shares:oe}=await e("/collection-share/".concat(K,"/").concat(ee,"/inbound"),{method:"GET"});return oe}catch(oe){if(Jt&&console.error(oe.message||"Unable to access shared collections"),oe.status===403)return[];throw oe}},getSharedCollections:async(K,ee)=>{try{const{shares:oe}=await e("/collection-share/".concat(K,"/").concat(ee),{method:"GET",params:{limit:500}});return oe}catch(oe){throw Jt&&console.error(oe.message||"Unable to get shared collections"),oe}},deleteSharedCollection:async(K,ee,oe,ge)=>{try{const{object_id:Oe}=await e("/collection-share/".concat(K,"/").concat(ee,"/").concat(oe),{method:"DELETE",body:{recipient:ge}});return Oe}catch(Oe){throw Jt&&console.error(Oe.message||"Unable to delete shared collection"),Oe}},shareCollection:async(K,ee,oe,ge)=>{try{const{recipient:Oe,label:U,readonly:C,created_by:I,perms:te}=ge,{share:be}=await e("/collection-share/".concat(K,"/").concat(ee,"/").concat(oe),{method:"POST",body:{recipient:Oe,label:U,readonly:C,created_by:I,perms:te}});return be}catch(Oe){throw Jt&&console.error(Oe.message||"Unable to share collection"),Oe}},getCollectionInput:async(K,ee,oe)=>{const ge="input:".concat(K,"/").concat(ee,"/").concat(oe),Oe=j7(ge);if(Oe)return Oe;try{const U=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/input"),{method:"GET"}),C=Ts.fromObject(U);return C&&H7(ge,C),C}catch(U){Jt&&console.error(U.message||"Error while reqesting ObjectConstructor");return}},saveCollectionInput:async(K,ee,oe,ge)=>{try{const Oe=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/input"),{method:"POST",body:{page:ge.toObject()}});return pv("input:".concat(K,"/").concat(ee,"/").concat(oe)),Oe}catch(Oe){return Oe.response.data?(console.error(Oe),{success:!1,error_message:Oe.response.data}):{success:!1}}},getCollectionRecords:async(K,ee,oe,ge=50,Oe,U,C)=>{try{const I={limit:"".concat(ge)};Oe&&(I.filter_name=Oe.filter_name,I.filter_value=Oe.filter_value),C&&(I.start_key=C);const{records:te,perms:be,shared:Le,next_key:ze,has_more:Ft}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe),{method:"GET",params:I});return U&&U({perms:be,shared:Le,next_key:ze,has_more:Ft}),te}catch(I){if(Jt&&console.error(I.message||"Unable to access records in the collection"),I.status===403)return[];throw I}},getEmbeddedCollectionRecords:async(K,ee,oe=50,ge)=>{try{const{records:Oe}=await e("/collection/embedded-content",{method:"POST",body:{collection_object_id:K,requesting_object_id:ee,limit:oe,filter_name:ge==null?void 0:ge.filter_name,filter_value:ge==null?void 0:ge.filter_value}});return Oe}catch(Oe){throw Jt&&console.error(Oe.message||"Unable to get embedded collection records"),Oe}},getEmbeddedCollectionInput:async(K,ee)=>{try{const oe=await e("/collection/embedded-input",{method:"POST",body:{collection_object_id:K,requesting_object_id:ee}});return Ts.fromObject(oe)}catch(oe){throw Jt&&console.error(oe.message||"Unable to get embedded collection input"),oe}},getEmbeddedCollectionMetadata:async(K,ee)=>{try{const{collection:oe}=await e("/collection/embedded-metadata",{method:"POST",body:{collection_object_id:K,requesting_object_id:ee}});return oe}catch(oe){throw Jt&&console.error(oe.message||"Unable to get embedded collection metadata"),oe}},createEmbeddedCollectionRecord:async(K,ee,oe)=>await e("/collection/embedded-create",{method:"POST",body:{collection_object_id:K,requesting_object_id:ee,record:oe}}),updateEmbeddedCollectionRecord:async(K,ee,oe,ge,Oe)=>await e("/collection/embedded-update",{method:"POST",body:{collection_object_id:K,requesting_object_id:ee,object_id:oe,fields:ge,expectedUpdatedAt:Oe}}),deleteEmbeddedCollectionRecord:async(K,ee,oe)=>e("/collection/embedded-delete",{method:"POST",body:{collection_object_id:K,requesting_object_id:ee,unique_id:oe}}),createCollectionRecord:async(K,ee,oe,ge,Oe)=>{try{return await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe),{method:"POST",body:Oe})}catch(U){throw Jt&&console.error(U.message||"Unable to save the record"),U}},patchCollectionRecord:async(K,ee,oe,ge,Oe,U)=>{try{return await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/").concat(ge),{method:"PATCH",body:{fields:Oe,expectedUpdatedAt:U}})}catch(C){throw Jt&&console.error(C.message||"Unable to patch the record"),C}},deleteCollectionRecord:async(K,ee,oe,ge)=>{const Oe=ge.object_id.split("."),U=Oe[Oe.length-1];try{return await e("/collections/".concat(K,"/").concat(ee,"/").concat(oe,"/delete"),{method:"POST",body:{unique_id:U}})}catch(C){throw console.error("[DAO deleteCollectionRecord] Error:",C),console.error("[DAO deleteCollectionRecord] Error message:",C.message),Jt&&console.error(C.message||"Unable to delete the record"),C}},fetchSchemaTemplates:async K=>{try{const{templates:ee}=await e("/collection/templates/".concat(P2[K]),{method:"GET"});return ee?ee.map(oe=>Ts.fromObject(oe)):[]}catch(ee){throw Jt&&console.error(ee.message||"Error requesting Schema templates"),new Error("Error requesting Schema templates")}
261},saveSchemaTemplate:async(K,ee)=>{try{const{updated:oe}=await e("/collection/templates/".concat(P2[K]),{method:"POST",body:{inputPage:ee.toObject()}});return Ts.fromObject(oe)}catch(oe){throw Jt&&console.error(oe.message||"Error saving Schema templates"),new Error("Error saving Schema templates")}},runCollectionTrigger:async(K,ee,oe,ge)=>{try{return await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/run-trigger"),{method:"POST",body:ge})}catch(Oe){throw Jt&&console.error(Oe.message||"Error running PlusScript Collection Trigger on a Record"),Oe}},runActionOnCollection:async(K,ee,oe)=>{const ge=ee.owner.length+1,Oe=ee.object_id.substring(ge),U=ee.object_id;try{const C=await e("/collection-run/".concat(r,"/").concat(n,"/").concat(Oe),{method:"POST",body:{owner:U,action_id:K,params:oe}});for(const[I,{ptype:te,...be}]of Object.entries(C.outputs))C.outputs[I]={ptype:typeof te=="string"?Ks[te]:te,...be};return un.fromObject(C)}catch(C){throw Jt&&console.error(C.message||"Unable to run Action on Collection"),C}},loadCollectionTrigger:async(K,ee,oe)=>{try{const{trigger:ge}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/trigger"),{method:"GET"});return ge?Yg.fromObject(ge):void 0}catch(ge){throw Jt&&console.error(ge.message||"There was an error loading the Collection Trigger"),new Error("There was an error loading the Collection Trigger")}},saveCollectionTrigger:async(K,ee,oe,ge)=>{try{const{updated:Oe}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/trigger"),{method:"POST",body:{trigger:ge.toObject()}});return Yg.fromObject(Oe)}catch(Oe){throw Jt&&console.error(Oe.message||"There was an error saving the Collection Trigger"),new Error("There was an error saving the Collection Trigger")}},loadCollectionPlusScript:async(K,ee,oe)=>{try{const{script:ge}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/plusscript"),{method:"GET"});return ge?sr.fromObject(ge):void 0}catch(ge){throw Jt&&console.error(ge.message||"Error loading PlusScript Collection trigger"),new Error("Error loading PlusScript Collection trigger")}},saveCollectionPlusScript:async(K,ee,oe,ge)=>{try{const{updated:Oe}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/plusscript"),{method:"POST",body:{script:ge.toObject()}});return sr.fromObject(Oe)}catch(Oe){throw Jt&&console.error(Oe.message||"Error saving PlusScript Collection trigger"),new Error("Error saving PlusScript Collection trigger")}},loadCollectionRunAllScript:async(K,ee,oe)=>{try{const{script:ge}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/runall-plusscript"),{method:"GET"});return ge?sr.fromObject(ge):void 0}catch(ge){throw Jt&&console.error(ge.message||"Error loading PlusScript Run All script"),new Error("Error loading PlusScript Run All script")}},saveCollectionRunAllScript:async(K,ee,oe,ge)=>{try{const{updated:Oe}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/runall-plusscript"),{method:"POST",body:{script:ge.toObject()}});return sr.fromObject(Oe)}catch(Oe){throw Jt&&console.error(Oe.message||"Error saving PlusScript Run All script"),new Error("Error saving PlusScript Run All script")}},executeCollectionRunAll:async(K,ee,oe,ge,Oe={})=>{try{const{receipt:U}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/run-all"),{method:"POST",body:{plus_script_object_id:ge,data:Oe}});return U}catch(U){throw Jt&&console.error(U.message||"Error executing Run All on collection"),new Error("Error executing Run All on collection")}},loadStreamRunAllScript:async(K,ee,oe)=>{try{const{script:ge}=await e("/stream/".concat(encodeURIComponent(K),"/").concat(encodeURIComponent(ee),"/").concat(encodeURIComponent(oe),"/runall-plusscript"),{method:"GET"});return ge?sr.fromObject(ge):void 0}catch(ge){throw Jt&&console.error(ge.message||"Error loading PlusScript Stream Run All script"),new Error("Error loading PlusScript Stream Run All script")}},saveStreamRunAllScript:async(K,ee,oe,ge)=>{try{const{updated:Oe}=await e("/stream/".concat(encodeURIComponent(K),"/").concat(encodeURIComponent(ee),"/").concat(encodeURIComponent(oe),"/runall-plusscript"),{method:"POST",body:{script:ge.toObject()}});return sr.fromObject(Oe)}catch(Oe){throw Jt&&console.error(Oe.message||"Error saving PlusScript Stream Run All script"),new Error("Error saving PlusScript Stream Run All script")}},executeStreamRunAll:async(K,ee,oe,ge,Oe={})=>{try{const{receipt:U}=await e("/stream/".concat(encodeURIComponent(K),"/").concat(encodeURIComponent(ee),"/").concat(encodeURIComponent(oe),"/run-all"),{method:"POST",body:{plus_script_object_id:ge,data:Oe}});return U}catch(U){throw Jt&&console.error(U.message||"Error executing Run All on stream"),new Error("Error executing Run All on stream")}},loadButtonPlusScript:async(K,ee,oe,ge)=>{try{const{script:Oe}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/plusscript/").concat(ge),{method:"GET"});return Oe?sr.fromObject(Oe):void 0}catch(Oe){throw Jt&&console.error(Oe.message||"Error loading PlusScript Button trigger"),new Error("Error loading PlusScript Button trigger")}},saveButtonPlusScript:async(K,ee,oe,ge,Oe)=>{try{const{updated:U}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/plusscript/").concat(ge),{method:"POST",body:{script:Oe.toObject()}});return sr.fromObject(U)}catch(U){throw Jt&&console.error(U.message||"Error saving PlusScript Button trigger"),new Error("Error saving PlusScript Button trigger")}},runButtonPlusScript:async(K,ee,oe,ge,Oe,U)=>{try{const{updated:C,response:I}=await e("/collection/".concat(K,"/").concat(ee,"/").concat(oe,"/plusscript/").concat(ge,"/run"),{method:"POST",body:{record_object_id:Oe,data:U}});return{updated:C,response:I}}catch(C){throw Jt&&console.error(C.message||"Error running PlusScript Button trigger"),new Error("Error running PlusScript Button trigger")}},checkLayoutAiCredential:async()=>{try{const{hasCredential:K}=await e("/collection/ai/check",{method:"GET"});return!!K}catch(K){return Jt&&console.error(K.message||"Failed to check Anthropic credential"),!1}},generateAutoLayout:async(K,ee)=>{try{const{layout:oe}=await e("/collection/ai/generate-layout",{method:"POST",body:{prompt:K,collectionContext:ee}});return oe}catch(oe){throw Jt&&console.error(oe.message||"Failed to generate auto layout"),new Error(oe.message||"Failed to generate auto layout")}}}}function qX(t){const{fetchSecureApi:e}=t;return{listWebsitesV2:async()=>
261e("/website-v2",{method:"GET"}),listInboundWebsitesV2:async()=>e("/website-v2/shared/inbound",{method:"GET"}),listOutboundWebsitesV2:async()=>e("/website-v2/shared/outbound",{method:"GET"}),getWebsiteV2:async(d,g)=>e("/website-v2/".concat(d,"/").concat(g),{method:"GET"}),saveWebsiteV2:async(d,g,_)=>e("/website-v2/".concat(d,"/").concat(g),{method:"POST",body:_}),deleteWebsiteV2:async d=>e("/website-v2/".concat(d),{method:"DELETE"}),shareWebsiteV2:async(d,g,_)=>e("/website-v2/".concat(d,"/share/").concat(g),{method:"POST",body:_}),unshareWebsiteV2:async(d,g,_)=>e("/website-v2/".concat(d,"/unshare/").concat(g),{method:"POST",body:_})}}var W7;const Ws=((W7=void 0)==null?void 0:W7.toLowerCase())==="true";function VX(t){const{fetchSecureApi:e,hostname:r}=t;return{loadPlusScript:async(k,O="default")=>{try{const{script:N}=await e("/plusscript/".concat(k,"/").concat(O),{method:"GET"});return N?sr.fromObject(N):null}catch(N){throw Ws&&console.error(N.message||"There was an error loading the script"),new Error("There was an error loading the script")}},loadPlusScriptByObjectId:async k=>{try{const{script:O}=await e("/plusscript/by-object-id",{method:"POST",body:{object_id:k}});return O?sr.fromObject(O):null}catch(O){Ws&&console.error(O.message||"There was an error loading the script by object_id");const N=O.message||"";throw N.includes("Forbidden")||N.includes("403")?new Error("You can only edit PlusScripts that you created"):new Error("There was an error loading the script by object_id")}},savePlusScript:async(k,O="default",N)=>{try{const{updated:S}=await e("/plusscript/".concat(k,"/").concat(O),{method:"POST",body:{script:N.toObject()}});return sr.fromObject(S)}catch(S){throw Ws&&console.error(S.message||"There was an error saving the script"),new Error("There was an error saving the script")}},runPlusScript:async(k,O,N)=>{try{return await e("/plusscript/".concat(k,"/run"),{method:"POST",body:{script_object_id:O,data:N,username:k,hostname:r}})}catch(S){throw Ws&&console.error(S.message||"There was an error executing this script"),S}},sendChatbotMessage:async(k,O,N)=>{try{return await e("/chatbot/message",{method:"POST",body:{action_id:k,message:O,session_id:N}})}catch(S){throw Ws&&console.error(S.message||"There was an error sending chatbot message"),S}},fetchTemplates:async k=>{try{const{scripts:O}=await e("/plusscript/templates/".concat(L2[k]),{method:"GET"});return O?O.map(N=>sr.fromObject(N)):[]}catch(O){throw Ws&&console.error(O.message||"Error requesting PlusScript templates"),new Error("Error requesting PlusScript templates")}},saveTemplate:async(k,O)=>{try{const{updated:N}=await e("/plusscript/templates/".concat(L2[k]),{method:"POST",body:{script:O.toObject()}});return sr.fromObject(N)}catch(N){throw Ws&&console.error(N.message||"Error saving PlusScript template"),new Error("Error saving PlusScript template")}},fetchTelnyxTemplates:async()=>{try{const{templates:k}=await e("/plusscript/telnyx-templates",{method:"GET"});return k||[]}catch(k){throw Ws&&console.error(k.message||"Error fetching Telnyx templates"),new Error("Error fetching Telnyx templates")}},saveTelnyxTemplate:async(k,O,N,S)=>{try{const{template:M}=await e("/plusscript/telnyx-templates",{method:"POST",body:{label:k,menu_path:O,icon:N,script:S.toObject()}});return M}catch(M){throw Ws&&console.error(M.message||"Error saving Telnyx template"),new Error("Error saving Telnyx template")}},fetchEmailResponderTemplates:async()=>{try{const{templates:k}=await e("/plusscript/email-responder-templates",{method:"GET"});return k||[]}catch(k){throw Ws&&console.error(k.message||"Error fetching email-responder templates"),new Error("Error fetching email-responder templates")}},saveEmailResponderTemplate:async(k,O,N,S,M)=>{try{const{template:F}=await e("/plusscript/email-responder-templates",{method:"POST",body:{label:k,menu_path:O,icon:N,short_desc:S,script:M.toObject()}});return F}catch(F){throw Ws&&console.error(F.message||"Error saving email-responder template"),new Error("Error saving email-responder template")}}}}var G7;const $7=((G7=void 0)==null?void 0:G7.toLowerCase())==="true";function YX(t){const{fetchSecureApi:e}=t;return{fetchKits:async()=>{try{const{kits:l}=await e("/kits",{method:"GET"});return l||[]}catch(l){throw $7&&console.error(l.message||"Error fetching kits"),new Error("Error fetching kits")}},installKitStep:async(l,u,p,d)=>{const g=await e("/kits/".concat(l,"/install/step"),{method:"POST",body:{bind:u,install_id:p,bindings:d}});return{object_id:g.object_id,owner:g.owner}}
261,undoKitInstall:async l=>{const u=await e("/kits/install/undo",{method:"POST",body:{object_ids:l}});return{deleted:u.deleted||[],failed:u.failed||[]}},listInstalledKits:async()=>{try{const{installs:l}=await e("/kits/installed",{method:"GET"});return l||[]}catch(l){throw $7&&console.error(l.message||"Error listing installed kits"),new Error("Error listing installed kits")}},uninstallKit:async l=>{const u=await e("/kits/install/".concat(encodeURIComponent(l),"/uninstall"),{method:"POST"});return{deleted:u.deleted||[],failed:u.failed||[],instance_removed:!!u.instance_removed}}}}var q7;const Ph=((q7=void 0)==null?void 0:q7.toLowerCase())==="true";function KX(t){const{fetchApi:e,fetchSecureApi:r,cache:n,serializeAnyType:i,serializeAnyTypeDeep:s,unserializeAnyType:a}=t;return{getApplications:async(R,H,re=!1)=>{const ie="sys.user.".concat(R,".").concat(H,".apps");if(await n.has(ie)&&!re)return Ph&&console.log("Getting cached applications"),(await n.get(ie)).map(({param_values:Q={},admin_settings:fe={},...pe})=>uo.fromObject({...pe,param_values:Object.fromEntries(Object.entries(Q).map(([Te,ve])=>[Te,a(ve).toObject()])),admin_settings:Object.fromEntries(Object.entries(fe).map(([Te,ve])=>[Te,a(ve).toObject()]))}));try{Ph&&console.log("Fetching applications from the backend");const Y=await r("/apps/".concat(R,"/").concat(H),{method:"GET"}),Q=Y?Y.map(({param_values:fe={},admin_settings:pe={},...Te})=>uo.fromObject({...Te,param_values:Object.fromEntries(Object.entries(fe).map(([ve,xe])=>[ve,a(xe).toObject()])),admin_settings:Object.fromEntries(Object.entries(pe).map(([ve,xe])=>[ve,a(xe).toObject()]))})):[];return Q.sort((fe,pe)=>fe.sort_order>pe.sort_order?1:pe.sort_order>fe.sort_order?-1:0),await n.set(ie,Q.map(fe=>fe.toObject()),36e5),Q}catch(Y){throw Ph&&console.error(Y.message||"Unable to fetch applications for ".concat(H)),Y}},getApplication:async(R,H,re)=>{try{const ie=await r("/apps/".concat(R,"/").concat(H,"/").concat(re),{method:"GET"});return uo.fromObject(ie)}catch(ie){throw console.error(ie.message||"Unable to get application ".concat(re)),ie}},getInstallableApplication:async R=>await e("/apps/installable/".concat(R,"/"),{method:"GET"}),getAllApplications:async R=>{try{Ph&&console.log("Fetching applications for ".concat(R));const H=await r("/apps/".concat(R),{method:"GET"});return H?H.map(({param_values:re={},admin_settings:ie={},...q})=>uo.fromObject({...q,param_values:Object.fromEntries(Object.entries(re).map(([Y,Q])=>[Y,a(Q).toObject()])),admin_settings:Object.fromEntries(Object.entries(ie).map(([Y,Q])=>[Y,a(Q).toObject()]))})):[]}catch(H){throw Ph&&console.error(H.message||"Unable to get applications for ".concat(R)),H}},getInstallableApplications:async(R,H)=>{try{const{apps:re}=await r("/users/installable-apps/".concat(H),{method:"GET"});return re?re.map(ie=>uo.fromObject(ie)):[]}catch(re){throw console.error(re.message||"Unable to get installable apps for ".concat(H)),re}},deleteApplication:async R=>{const H=R.object_id;try{const{success:re}=await r("/apps/".concat(H),{method:"DELETE"});return re}catch(re){throw console.error(re.message||"Unable to delete App ".concat(H)),re}},fixCollectionsApplication:async(R,H,re)=>{const{object_id:ie}=re;try{const{success:q}=await r("/apps/".concat(R,"/").concat(H,"/fix-collection/").concat(ie),{method:"POST"});return q}catch(q){throw console.error(q.message||"Unable to fix Collections App ".concat(ie)),q}},appsMaintenance:async(R,H)=>{try{const{success:re,performed:ie}=await r("/apps/".concat(R,"/").concat(H,"/maintenance"),{method:"POST"});return ie}catch(re){throw console.error(re.message||"Error while performing apps maintenance"),re}},deleteApp:async(R,H,re)=>{const ie="/apps/".concat(R,"/").concat(H,"/").concat(re);try{const{success:q}=await r(ie,{method:"DELETE"});n.delete("applications");const Y="sys.user.".concat(R,".").concat(H,".apps");return n.delete(Y),q}catch(q){throw console.error(q.message||"Unable to delete App ".concat(re)),q}},addApp:async(R,H,re,ie,q=[],Y=new Map)=>{const Q="/apps/".concat(R,"/").concat(H,"/").concat(re);try{const fe=await r(Q,{method:"POST",body:{prefs:ie,admin_params:q.map(Te=>Te.toObject()),admin_settings:Object.fromEntries(Array.from(Y,([Te,ve])=>[Te,i(ve)]))}});n.delete("applications");const pe="sys.user.".concat(R,".").concat(H,".apps");return n.delete(pe),fe}catch(fe){throw console.error(fe.message||"Unable to install ".concat(re)),fe}},checkAppOnGroup:async(R,H)=>{try{const re="/groups/checkAppOnGroup",{exists:ie}=await r(re,{method:"POST",body:{groupId:R,appId:H}});return ie}catch(re){throw console.error(re.message||"Error checking the App ".concat(H," on Group ").concat(R)),re}},saveApplication:async R=>{try{const H=R.toObject();return R.admin_settings&&R.admin_settings.size>0&&(H.admin_settings=Object.fromEntries(Array.from(R.admin_settings,([ie,q])=>[ie,s(q)]))),await r("/apps",{method:"POST",body:H})}catch(H){throw console.error(H.message||"Unable to save application"),H}},deployApplication:async R=>{try{return await r("/apps/".concat(encodeURIComponent(R),"/deploy"),{method:"POST"})}catch(H){throw console.error(H.message||"Unable to deploy application"),H}},checkAndUpgradeApp:async(R,H,re)=>{var ie,q;try{const Y=await r("/apps/".concat(encodeURIComponent(R),"/").concat(encodeURIComponent(H),"/check-upgrade/").concat(encodeURIComponent(re)),{method:"POST"});return(ie=Y.app)!=null&&ie.admin_settings&&typeof Y.app.admin_settings=="object"&&(Y.app.admin_settings=Object.fromEntries(Object.entries(Y.app.admin_settings).map(([Q,fe])=>[Q,a(fe).toObject()]))),(q=Y.app)!=null&&q.param_values&&typeof Y.app.param_values=="object"&&(Y.app.param_values=Object.fromEntries(Object.entries(Y.app.param_values).map(([Q,fe])=>[Q,a(fe).toObject()]))),Y}catch(Y){throw console.error(Y.message||"Unable to check/upgrade app"),Y}},syncAppsFromGroups:async(R,H)=>{try{return await r("/apps/".concat(encodeURIComponent(R),"/").concat(encodeURIComponent(H),"/sync-from-groups"),{method:"POST"})}catch(re){throw console.error(re.message||"Unable to sync apps from groups"),re}},saveApplicationSettings:async(R,H,re,ie,q,Y)=>{try{const Q={};for(const[Te,ve]of Y)Q[Te]=ve.toObject();const fe=await r("/apps/".concat(R,"/").concat(H,"/").concat(re),{method:"PUT",body:{label:ie,icon:q,data:Q}}),pe="sys.user.".concat(R,".").concat(H,".apps");return n.delete(pe),uo.fromObject(fe)}catch(Q){throw console.error(Q.message||"Unable to update application ".concat(re)),Q}}}}var V7;const qp=((V7=void 0)==null?void 0:V7.toLowerCase())==="true";function XX(t){const{fetchSecureApi:e}=t;return{getInteractiveGraphs:async p=>{try{return await e("/interactive-graph/".concat(p),{method:"GET"})}catch(d){throw qp&&console.error(d.message||"Unable to fetch graphs"),d}},createInteractiveGraph:async(p,d)=>{try{return await e("/interactive-graph/".concat(p),{method:"POST",body:d?{label:d}:{}})}catch(g){throw qp&&console.error(g.message||"Unable to create graph"),g}},updateInteractiveGraph:async(p,d,g)=>{try{return await e("/interactive-graph/".concat(p,"/").concat(d),{method:"PUT",body:g})}catch(_){throw qp&&console.error(_.message||"Unable to save graph"),_}},deleteInteractiveGraph:async(p,d)=>{try{await e("/interactive-graph/".concat(p,"/").concat(d),{method:"DELETE"})}catch(g){throw qp&&console.error(g.message||"Unable to delete graph"),g}},runInteractionEngine:async(p,d,g={})=>e("/interaction-engine/".concat(p,"/").concat(d,"/route"),{method:"POST",body:g}),completeInteractionSurvey:async(p,d,g)=>e("/interaction-engine/".concat(p,"/").concat(d,"/complete"),{method:"POST",body:g}),submitInteractionPrescreen:async(p,d,g)=>e("/interaction-engine/".concat(p,"/").concat(d,"/prescreen"),{method:"POST",body:g})}}var Y7;const sn=((Y7=void 0)==null?void 0:Y7.toLowerCase())==="true";function QX(t){const{fetchSecureApi:e,fetchApi:r}=t;return{getSurveys:async Y=>{try{return await e("/survey/".concat(Y),{method:"GET"})}catch(Q){throw sn&&console.error(Q.message||"Unable to fetch surveys"),Q}},getSurvey:async(Y,Q)=>{try{return await e("/survey/".concat(Y,"/").concat(Q),{method:"GET"})}catch(fe){throw sn&&console.error(fe.message||"Unable to fetch survey"),fe}},createSurvey:async Y=>{try{return await e("/survey/".concat(Y),{method:"POST",body:{}})}catch(Q){throw sn&&console.error(Q.message||"Unable to create survey"),Q}},updateSurvey:async(Y,Q,fe)=>{try{return await e("/survey/".concat(Y,"/").concat(Q),{method:"PUT",body:fe})}catch(pe){throw sn&&console.error(pe.message||"Unable to update survey"),pe}},deleteSurvey:async(Y,Q)=>{try{await e("/survey/".concat(Y,"/").concat(Q),{method:"DELETE"})}catch(fe){throw sn&&console.error(fe.message||"Unable to delete survey"),fe}},getSurveyResponses:async(Y,Q,fe=100,pe)=>{try{const Te={limit:String(fe)};return pe!==void 0&&(Te.after=String(pe)),await e("/survey/".concat(Y,"/").concat(Q,"/responses"),{method:"GET",params:Te})}catch(Te){throw sn&&console.error(Te.message||"Unable to fetch survey responses"),Te}},getSurveySummary:async(Y,Q)=>{var fe;try{return await e("/survey/".concat(Y,"/").concat(Q,"/summary"),{method:"GET"})}catch(pe){if(pe.status===404||(fe=pe.message)!=null&&fe.includes("404"))return null;throw sn&&console.error(pe.message||"Unable to fetch survey summary"),pe}},aggregateSurvey:async(Y,Q)=>{try{return await e("/survey/".concat(Y,"/").concat(Q,"/aggregate"),{method:"POST"})}catch(fe){throw sn&&console.error(fe.message||"Unable to aggregate survey"),fe}},getAudioPresignedUrl:async(Y,Q,fe)=>{try{return(await e("/survey/".concat(Y,"/").concat(Q,"/audio-url"),{method:"GET",params:{key:fe}})).url}catch(pe){throw sn&&console.error(pe.message||"Unable to get presigned URL"),pe}},getPublicSurveyResults:async(Y,Q,fe)=>{try{const pe={};return fe&&(pe.Authorization="Bearer ".concat(fe)),await r("/survey/public/".concat(Y,"/").concat(Q,"/results"),{method:"GET",headers:pe})}catch(pe){if(pe.status===403&&pe.body)return pe.body;throw pe}},listPanels:async Y=>{try{const Q=await e("/panel/".concat(Y),{method:"GET"});return console.log("[survey.ts listPanels] result:",Q),Q.panels||[]}catch(Q){return console.error("[survey.ts listPanels] error:",Q.status,Q.message,Q),[]}},getPanel:async(Y,Q)=>{var fe;try{return(await e("/panel/".concat(Y,"/").concat(Q,"/summary"),{method:"GET"})).panelists}catch(pe){if(pe.status===404||(fe=pe.message)!=null&&fe.includes("404"))return null;throw pe}},deletePanel:async(Y,Q)=>{try{await e("/panel/".concat(Y,"/").concat(Q),{method:"DELETE"})}catch(fe){throw sn&&console.error(fe.message||"Unable to delete panel"),fe}},getPanelistProfile:async(Y,Q,fe)=>{var pe;try{return(await e("/panel/".concat(Y,"/").concat(Q,"/profile/").concat(fe),{method:"GET"})).profile}catch(Te){if(Te.status===404||(pe=Te.message)!=null&&pe.includes("404"))return null;throw Te}},getPanelChatHistory:async(Y,Q,fe)=>{try{return((await e("/panel/".concat(Y,"/").concat(Q,"/chat/").concat(fe),{method:"GET"})).messages||[]).map(Te=>({role:Te.role,text:Te.text,timestamp:Te.timestamp}))}catch(pe){return sn&&console.error(pe.message||"Unable to fetch chat history"),[]}},savePanelChatMessage:async(Y,Q,fe,pe,Te)=>{try{await e("/panel/".concat(Y,"/").concat(Q,"/chat/").concat(fe),{method:"POST",body:{role:pe,text:Te}})}catch(ve){sn&&console.error(ve.message||"Unable to save chat message")}},getSurveyLibrary:async()=>{try{return await e("/survey-library",{method:"GET"})}catch(Y){throw sn&&console.error(Y.message||"Unable to fetch survey library"),Y}},saveToLibrary:async(Y,Q)=>{try{return await e("/survey-library/".concat(Y,"/").concat(Q),{method:"POST"})}catch(fe){throw sn&&console.error(fe.message||"Unable to save to library"),fe}},cloneFromLibrary:async Y=>{try{return await e("/survey-library/clone/".concat(Y),{method:"POST"})}catch(Q){throw sn&&console.error(Q.message||"Unable to clone from library"),Q}},deleteFromLibrary:async Y=>{try{await e("/survey-library/".concat(Y),{method:"DELETE"})}catch(Q){throw sn&&console.error(Q.message||"Unable to delete from library"),Q}},getSamples:async Y=>{try{return await e("/survey-sample/".concat(Y),{method:"GET"})}catch(Q){throw sn&&console.error(Q.message||"Unable to fetch samples"),Q}},createSample:async(Y,Q)=>{try{return await e("/survey-sample/".concat(Y),{method:"POST",body:Q})}catch(fe){throw sn&&console.error(fe.message||"Unable to create sample"),fe}},updateSample:async(Y,Q,fe)=>{try{return await e("/survey-sample/".concat(Y,"/").concat(Q),{method:"PUT",body:fe})}catch(pe){throw sn&&console.error(pe.message||"Unable to update sample"),pe}},deleteSample:async(Y,Q)=>{try{await e("/survey-sample/".concat(Y,"/").concat(Q),{method:"DELETE"})}catch(fe){throw sn&&console.error(fe.message||"Unable to delete sample"),fe}},getDemographicsParams:async()=>{try{return(await e("/survey-demographics",{method:"GET"})).params||[]}catch(Y){return sn&&console.error(Y.message||"Unable to fetch demographics params"),[]}}}}function JX(t){const{fetchSecureApi:e}=t;return{getGoogleEvents:async(d,g,_)=>{const{events:v}=await e("/calendar/".concat(d,"/google-events?start=").concat(encodeURIComponent(g),"&end=").concat(encodeURIComponent(_)),{method:"GET"});return v||[]},getMemberGoogleEvents:async(d,g,_,v,k)=>{const{events:O}=await e("/calendar/".concat(d,"/google-events/").concat(g,"?start=").concat(encodeURIComponent(_),"&end=").concat(encodeURIComponent(v)),{method:"GET"});return O||[]},getSharedEvents:async(d,g,_,v)=>{let k="/calendar/".concat(d,"/shared-events?streamId=").concat(encodeURIComponent(g));_&&(k+="&start=".concat(encodeURIComponent(_))),v&&(k+="&end=".concat(encodeURIComponent(v)));const{events:O}=await e(k,{method:"GET"});return(O||[]).filter(N=>!N._deleted)},createSharedEvent:async(d,g,_)=>{const{event:v}=await e("/calendar/".concat(d,"/shared-events"),{method:"POST",body:{streamId:g,..._}});return v},deleteSharedEvent:async(d,g,_)=>{await e("/calendar/".concat(d,"/shared-events/").concat(_,"?streamId=").concat(encodeURIComponent(g)),{method:"DELETE"})},optInEvent:async(d,g,_)=>await e("/calendar/".concat(d,"/shared-events/").concat(_,"/optin"),{method:"POST",body:{streamId:g}}),optOutEvent:async(d,g,_)=>{await e("/calendar/".concat(d,"/shared-events/").concat(_,"/optout"),{method:"POST",body:{streamId:g}})},getMembers:async(d,g)=>{const{members:_}=await e("/calendar/".concat(d,"/members"),{method:"GET"});return _||[]}}}function ZX({fetchSecureApi:t}){return{listManagedInstances:async()=>{const{instances:B=[]}=await t("/orchestrator/instances",{method:"GET"});return B},discoverInstances:async(B,Ce)=>{const Pe={};return B&&(Pe.region=B),Ce&&(Pe.credential_object_id=Ce),t("/orchestrator/discover",{method:"GET",params:Pe})},launchInstance:async B=>t("/orchestrator/instances/launch",{method:"POST",body:B}),registerInstance:async B=>{const{instance:Ce}=await t("/orchestrator/instances",{method:"POST",body:B});return Ce},updateInstance:async(B,Ce)=>{const{instance:Pe}=await t("/orchestrator/instances/".concat(encodeURIComponent(B)),{method:"PUT",body:Ce});return Pe},unregisterInstance:async B=>{await t("/orchestrator/instances/".concat(encodeURIComponent(B)),{method:"DELETE"})},setHostname:async(B,Ce)=>{const{instance:Pe}=await t("/orchestrator/instances/".concat(encodeURIComponent(B),"/hostname"),{method:"PUT",body:Ce});return Pe},removeHostname:async B=>{await t("/orchestrator/instances/".concat(encodeURIComponent(B),"/hostname"),{method:"DELETE"})},listCloudflareCredentials:async()=>t("/orchestrator/dns/credentials",{method:"GET"}),listAwsCredentials:async B=>{const Ce={};return B&&(Ce.resolve=B),t("/orchestrator/aws-credentials",{method:"GET",params:Ce})}
261,setActiveCredential:async(B,Ce)=>{await t("/orchestrator/credential-active",{method:"PUT",body:{app_object_id:B,credential_object_id:Ce}})},listInstanceBackups:async(B,Ce)=>{const Pe={};return Ce&&(Pe.prefix=Ce),t("/orchestrator/instances/".concat(encodeURIComponent(B),"/backups"),{method:"GET",params:Pe})},setPendingRestore:async(B,Ce,Pe)=>{const{instance:le}=await t("/orchestrator/instances/".concat(encodeURIComponent(B),"/pending-restore"),{method:"PUT",body:{key:Ce,bucket:Pe}});return le},clearPendingRestore:async B=>{await t("/orchestrator/instances/".concat(encodeURIComponent(B),"/pending-restore"),{method:"DELETE"})},restoreOnInstance:async(B,Ce,Pe)=>t("/orchestrator/instances/".concat(encodeURIComponent(B),"/restore"),{method:"POST",body:{key:Ce,bucket:Pe}}),getInstanceState:async B=>t("/orchestrator/instances/".concat(encodeURIComponent(B),"/state"),{method:"GET"}),listVolumes:async(B,Ce)=>{const Pe={};return B&&(Pe.region=B),Ce&&(Pe.credential_object_id=Ce),t("/orchestrator/volumes",{method:"GET",params:Pe})},listVolumeSnapshots:async(B,Ce)=>{const Pe={};Ce&&(Pe.region=Ce);const{snapshots:le=[]}=await t("/orchestrator/volumes/".concat(encodeURIComponent(B),"/snapshots"),{method:"GET",params:Pe});return le},powerAction:async(B,Ce,Pe)=>t("/orchestrator/instances/".concat(encodeURIComponent(B),"/power"),{method:"POST",body:{action:Ce,confirm_name:Pe}}),getTerminatePreview:async B=>t("/orchestrator/instances/".concat(encodeURIComponent(B),"/terminate-preview"),{method:"GET"}),createVolume:async B=>t("/orchestrator/volumes",{method:"POST",body:B}),attachVolume:async(B,Ce)=>t("/orchestrator/volumes/".concat(encodeURIComponent(B),"/attach"),{method:"POST",body:Ce}),detachVolume:async(B,Ce)=>t("/orchestrator/volumes/".concat(encodeURIComponent(B),"/detach"),{method:"POST",body:Ce}),snapshotVolume:async(B,Ce={})=>t("/orchestrator/volumes/".concat(encodeURIComponent(B),"/snapshot"),{method:"POST",body:Ce}),deleteVolume:async(B,Ce={})=>{const Pe={confirm_volume_id:B};return Ce.region&&(Pe.region=Ce.region),Ce.allowNoSnapshot&&(Pe.allow_no_snapshot="true"),t("/orchestrator/volumes/".concat(encodeURIComponent(B)),{method:"DELETE",params:Pe})},setDeleteOnTermination:async(B,Ce,Pe)=>t("/orchestrator/instances/".concat(encodeURIComponent(B),"/delete-on-termination"),{method:"POST",body:{device:Ce,value:Pe}}),listSecurityGroups:async(B,Ce)=>{const Pe={};return B&&(Pe.region=B),Ce&&(Pe.credential_object_id=Ce),t("/orchestrator/security-groups",{method:"GET",params:Pe})},createSecurityGroup:async B=>t("/orchestrator/security-groups",{method:"POST",body:B}),setSecurityGroupIngress:async(B,Ce)=>t("/orchestrator/security-groups/".concat(encodeURIComponent(B),"/ingress"),{method:"POST",body:Ce}),listKeyPairs:async(B,Ce)=>{const Pe={};B&&(Pe.region=B),Ce&&(Pe.credential_object_id=Ce);const{keys:le=[]}=await t("/orchestrator/key-pairs",{method:"GET",params:Pe});return le},createKeyPair:async(B,Ce,Pe)=>t("/orchestrator/key-pairs",{method:"POST",body:{name:B,region:Ce,credential_object_id:Pe}}),getInstanceCost:async B=>t("/orchestrator/instances/".concat(encodeURIComponent(B),"/cost"),{method:"GET"}),probeAgent:async B=>t("/orchestrator/instances/".concat(encodeURIComponent(B),"/agent"),{method:"GET"}),callAgent:async(B,Ce,Pe="GET",le)=>t("/orchestrator/instances/".concat(encodeURIComponent(B),"/agent/call"),{method:"POST",body:{path:Ce,method:Pe,body:le}}),getOrchestratorMeta:async()=>t("/orchestrator/meta",{method:"GET"})}}function eQ(t){const{fetchSecureApi:e}=t;return{createNotebookShare:async s=>e("/nb-share",{method:"POST",body:s}),listNotebookShares:async()=>{const{shares:s}=await e("/nb-share/mine",{method:"GET"});return s||[]},revokeNotebookShare:async s=>e("/nb-share/".concat(encodeURIComponent(s),"/revoke"),{method:"POST"})}}var K7,X7,Q7,J7,Z7;const vM=$.createContext({}),Oue=vM.Provider,An=((K7=void 0)==null?void 0:K7.toLowerCase())==="true";(X7=void 0)==null||X7.toLowerCase();const tQ=(Q7=void 0)!=null?Q7:"/api/v1";(Z7=(J7=Mo)==null?void 0:J7.api_url)!=null;var rQ=(t=>(t.Never="never",t.OnFirstPlay="on_first_play",t.Always="always",t))(rQ||{});const Iue=function(t,e="_"){const r=new RegExp("[^\\w".concat(e,"]+"),"gi");return t.toString().toLowerCase().trim().replace(/\s+/g,e).replace(r,"")},Pu=t=>{const e=t.toObject();return e.byval=t.byval instanceof Uint8Array?Buffer.from(t.byval):Buffer.alloc(0),e},og=t=>
261{const e={ptype:t.ptype,bval:t.bval,ival:t.ival,dval:t.dval,sval:t.sval,byval:t.byval instanceof Uint8Array?Buffer.from(t.byval):Buffer.alloc(0)};return t.svals&&t.svals.length>0&&(e.svals=[...t.svals]),t.dvals&&t.dvals.length>0&&(e.dvals=[...t.dvals]),t.ivals&&t.ivals.length>0&&(e.ivals=[...t.ivals]),t.vals&&t.vals.length>0&&(e.vals=t.vals.map(r=>og(r))),t.vmap&&(t.vmap instanceof Map&&t.vmap.size>0?e.vmap=Object.fromEntries(Array.from(t.vmap,([r,n])=>[r,og(n)])):typeof t.vmap=="object"&&Object.keys(t.vmap).length>0&&(e.vmap=Object.fromEntries(Object.entries(t.vmap).map(([r,n])=>[r,og(n)])))),e},ho=t=>{var e;const{ptype:r,byval:n,vals:i,vmap:s,...a}=t,l=Ot.fromObject({ptype:r,byval:n,vals:Array.isArray(i)?i:[],vmap:s??{},...a});return((e=t==null?void 0:t.byval)==null?void 0:e.type)==="Buffer"&&(l.byval=new Uint8Array(t.byval.data)),l};function K1(){const{token:t,username:e,login:r,logout:n}=aa(),{fetchApi:i,fetchSecureApi:s}=Y1(),{cache:a}=mM(),{hostname:l,prefs:u}=Ds(),p=$.useContext(vM),d=IX({fetchSecureApi:s,cache:a,hostname:l,unserializeAnyType:ho}),g=RX({fetchSecureApi:s,cache:a}),_=FX({fetchSecureApi:s,unserializeAnyType:ho,serializeAnyType:Pu}),v=async(x,D=50)=>{try{return Pe.getRecordsByOwner(x,D)}catch(ne){throw ne}},k=async x=>{try{const{data:D}=await s("/collection-metadata/".concat(x),{method:"GET"});return D}catch(D){throw console.error(D.message||"Unable to get Object ".concat(x)),D}},O=async x=>{try{const{styles:D}=await i("/styles/".concat(x),{method:"GET"});return D}catch(D){console.error(D.message||"Unable to request styles for ".concat(x));return}},N=async(x,D)=>{try{const{features:ne}=await s("/users/features/".concat(x,"/").concat(D),{method:"GET"});return ne}catch(ne){throw console.error(ne.message||"Features for ".concat(D," could not be loaded")),ne}},S=async()=>fetch("https://www.cloudflare.com/cdn-cgi/trace").then(x=>x.text()).then(x=>x.trim().split(` 262`).reduce((D,ne)=>{const Ee=ne.split("=");return D[Ee[0]]=Ee[1],D},{})).catch(x=>(console.error(x.message||"Unable to get IP Trace"),{}));async function M(x,D){return await s("/announcements/".concat(x,"/").concat(D),{method:"GET"})}async function F(x){return M(x,"GLOBAL")}async function G(x){try{const D=await i("/site-configuration/".concat(x),{method:"GET"});return{...u,...D}}catch(D){return console.error(D.message||"Unable to fetch Site Configuration"),u}}async function X(x,D){return await s("/site-configuration/".concat(x),{method:"POST",body:{configuration:D}})}async function z(x){return await s("/inverted-map/".concat(x),{method:"GET"})}const R=async x=>{const D="/apps/".concat(x,"/alert");return await s(D,{method:"DELETE"})},H=async x=>{var D;console.log("[getAllUserGroups] Fetching groups for hostname:",x);const ne=await s("/groups?hostname=".concat(encodeURIComponent(x)),{method:"GET"});return console.log("[getAllUserGroups] Got",(D=ne.groups)==null?void 0:D.length,"groups from API for hostname:",x),ne.groups.map(et=>Ln.fromObject(et))},re=async x=>{try{const{features:D=[]}=await s("/features/".concat(x),{method:"GET"});return D.map(ne=>p7.fromObject(ne))}catch(D){throw An&&console.error(D.message||"Error requesting Features for ".concat(x)),D}},ie=async(x,D)=>{try{const{feature:ne}=await s("/features/".concat(x),{method:"POST",body:{contents:D}});return p7.fromObject(ne)}catch(ne){throw An&&console.error(ne.message||"Failed to add Feature for ".concat(x)),ne}},q=async(x,D=!1,ne=!1,Ee="",et)=>{const Qt="/groups/addUserGroup";console.log("[DAO.addUserGroup] Sending request with hostname:",et);try{const{group:cn}=await s(Qt,{method:"POST",body:{label:x,is_admin:D,add_to_user_on_signup:ne,email_regex_match:Ee,hostname:et}});return a.delete("actions"),Ln.fromObject(cn)}catch(cn){throw console.error(cn.message||"Unable to add User Group"),cn}},Y=async(x,D)=>{const ne="/groups/deleteUserGroup";try{const{group:Ee}=await s(ne,{method:"DELETE",body:{groupId:x,hostname:D}});return a.delete("actions"),Ln.fromObject(Ee)}catch(Ee){throw console.error(Ee.message||"Unable to delete User Group"),Ee}};async function Q(x){return await s("/users/".concat(x,"/delete-account"),{method:"POST"})}async function fe(x,D){return await s("/auth/resend-confirmation",{method:"POST",body:{username:x,hostname:D}})}async function pe(x){try{return await s("/sendgrid/check/".concat(x),{method:"GET"})}catch(D){return{configured:!1,message:D.message||"Failed to check SendGrid configuration"}}}const Te=async(x,D={})=>{try{const{limit:ne,ptype:Ee}=D,{actions:et=[]}=await s("/actions/plus-engine/".concat(x),{method:"GET",params:{limit:ne,ptype:Ee}}),Qt=new Set;return et.filter(({sys_action_id:ca})=>Qt.has(ca)?!1:Qt.add(ca)).map(({params:ca,outputs:oh,...mc})=>Xs.fromObject({...mc,params:ca?ca.map(({ptype:ha,data_sources:lu,...gc})=>({ptype:typeof ha=="string"?Ks[ha]:ha,data_sources:lu?lu.map(({dstype:fa,...uu})=>({dstype:typeof fa=="string"?Ss.DataSourceType[fa]:fa,...uu})):[],...gc})):[],outputs:oh?oh.map(({ptype:ha,data_sources:lu,...gc})=>({ptype:typeof ha=="string"?Ks[ha]:ha,data_sources:lu?lu.map(({dstype:fa,...uu})=>({dstype:typeof fa=="string"?Ss.DataSourceType[fa]:fa,...uu})):[],...gc})):[]}))}catch(ne){return console.error(ne.message||"Unable to load Plus Engine Actions"),a.delete("plus_engine_actions"),[]}},ve=async x=>{try{const{apis:D=[]}=await s("/available-apis/".concat(x),{method:"GET"});return D}catch(D){return console.error(D.message||"Unable to load Available APIs"),[]}},xe=async(x,D)=>{try{const ne=D?"?domain=".concat(encodeURIComponent(D)):"",{servers:Ee=[]}=await s("/servers/".concat(x).concat(ne),{method:"GET"});return Ee}catch(ne){return console.error(ne.message||"Unable to load Servers"),[]}},Ye=async()=>{try{const{actions:x=[]}=await s("/sys-actions",{method:"GET"});return x.map(D=>Xs.fromObject(D))}catch(x){return console.error(x.message||"Unable to load sys.actions"),[]}},B=async x=>{await s("/action/".concat(e,"/").concat(x),{method:"DELETE"}),a.delete("actions")},Ce=NX({fetchSecureApi:s,cache:a,hostname:l,username:e,getAvailableApis:ve}),Pe=$X({fetchSecureApi:s,hostname:l,username:e}),le=PX({fetchSecureApi:s,getRecordsByOwner:Pe.getRecordsByOwner}),Lt=UX({fetchApi:i,fetchSecureApi:s,hostname:l,username:e,serializeAnyType:Pu,extraHeaders:p}),Ht=HX({fetchSecureApi:s,hostname:l}),At=WX({fetchSecureApi:s,username:e}),Ke=qX({fetchSecureApi:s}),Ve=VX({fetchSecureApi:s,hostname:l}),wt=YX({fetchSecureApi:s}),Dt=QX({fetchSecureApi:s,fetchApi:i}),Fe=XX({fetchSecureApi:s}),Ne=JX({fetchSecureApi:s}),K=ZX({fetchSecureApi:s}),ee=eQ({fetchSecureApi:s}),oe=KX({fetchApi:i,fetchSecureApi:s,cache:a,serializeAnyType:Pu,serializeAnyTypeDeep:og,unserializeAnyType:ho}),ge=async(x,D)=>{try{return await s("/available-apis/".concat(x,"/refresh/").concat(D),{method:"POST"})}catch(ne){throw console.error(ne.message||"Unable to refresh API"),new Error(ne.message||"Unable to refresh API")}},Oe=async(x,D)=>{try{return await s("/available-apis/".concat(x),{method:"POST",body:D})}catch(ne){throw console.error(ne.message||"Unable to create API"),new Error(ne.message||"Unable to create API")}},U=async(x,D)=>{try{return await s("/available-apis/".concat(x,"/").concat(D),{method:"DELETE"})}catch(ne){throw console.error(ne.message||"Unable to delete API"),new Error(ne.message||"Unable to delete API")}},C=async x=>{try{const{apis:D=[]}=await s("/available-apis/".concat(x,"/user-apis"),{method:"GET"});return D}catch(D){throw console.error(D.message||"Unable to load user APIs"),new Error(D.message||"Unable to load user APIs")}},I=async()=>{try{return await a.delete("actions"),An&&console.log("Actions cache cleared"),!0}catch(x){return console.error(x.message||"Unable to clear actions cache"),!1}},te=async(x,D,ne)=>{const{result:Ee}=await s("/upload/".concat(l,"/").concat(encodeURIComponent(x)),{method:"POST",params:ne,headers:{"Content-Type":D&&D.type?D.type:"application/octet-stream"},body:D});return Ee},be=async()=>await s("/upload/".concat(l,"/recent"),{method:"GET"}),Le=async()=>await s("/recent-uploads/".concat(l),{method:"GET"}),ze=async(x,D,ne)=>{const Ee="/groups/addAppToGroup";try{const{group:et}=await s(Ee,{method:"POST",body:{groupId:x,appId:D,hostname:ne}});return Ln.fromObject(et)}catch(et){throw console.error(et.message||"Unable to add application"),et}},Ft=async(x,D)=>{const ne="/groups/addStreamToGroup";try{const{group:Ee}=await s(ne,{method:"POST",body:{groupId:x,streamId:D}});return Ln.fromObject(Ee)}catch(Ee){throw console.error(Ee.message||"Unable to add stream"),Ee}},Yt=async(x,D)=>{const ne="/groups/deleteStreamFromGroup";try{const{group:Ee}=await s(ne,{method:"POST",body:{groupId:x,streamId:D}});return Ln.fromObject(Ee)}catch(Ee){throw console.error(Ee.message||"Unable to delete stream"),Ee}},Ae=async x=>
262{try{return await s("/podcast/data-skeptic",{method:"GET",params:{rssUrl:x}})}catch(D){throw An&&console.error(D),D}},We=async(x,D)=>{try{return await i("/podcast/".concat(x,"/seasons/").concat(D),{method:"GET"})}catch(ne){throw An&&console.error(ne),ne}},ht=async(x,D)=>{try{const{stats:ne}=await i("/podcast/stats/".concat(x,"/").concat(D),{method:"GET"});return ne}catch(ne){throw An&&console.error(ne.message||"Unable to fetch player stats"),ne}},Bt=async(x,D,ne)=>{try{const{updated:Ee}=await i("/podcast/stats/".concat(x,"/").concat(D),{method:"POST",body:{stats:ne}});return Ee}catch(Ee){throw An&&console.error(Ee.message||"Unable to update player stats"),Ee}},ye=async(x,D)=>{try{return await i("/podcast/".concat(x,"/episode/").concat(D),{method:"GET"})}catch(ne){throw An&&console.error(ne.message||"Unable to get podcast"),ne}},kr=async(x,D,ne)=>{try{const Ee={subject:x,message:D};return ne&&(Ee.toEmail=ne),(await s("/support/send",{method:"POST",body:Ee})).result}catch(Ee){throw An&&console.error(Ee.message||"There was an error sending the email"),Ee}},vn=async(x,D,ne,Ee)=>{try{const et={subject:x,message:D,from:ne};return Ee&&(et.toEmail=Ee),(await i("/support/public",{method:"POST",body:et})).result}catch(et){throw An&&console.error(et.message||"There was an error sending the email"),et}},ae=async x=>{try{return await i("/store/".concat(x,"/products"),{method:"GET"})}catch(D){throw console.error(D),new Error("Failed to retrieve products")}},xn=async x=>{try{const D=await i("/store/".concat(x,"/countries"),{method:"GET"}),{countries:ne}=D;return ne}catch(D){throw console.error(D),new Error("Failed to retrieve countries")}},fi=async(x,D="any")=>{const ne={recipient:x};try{const Ee=await i("/store/".concat(encodeURIComponent(D),"/fees"),{method:"POST",body:ne}),{required:et,rate:Qt,shipping_taxable:cn}=Ee;return{required:et,rate:Qt,shipping_taxable:cn}}catch(Ee){throw console.error(Ee),new Error("Failed to retrieve tax and shipping")}},Mt=async(x,D)=>{await s("/store/".concat(x,"/reorder"),{method:"POST",body:{ids:D}})},Ri=async(x,D,ne,Ee)=>{await s("/store/".concat(x,"/").concat(D,"/images"),{method:"POST",body:{image:ne,owner_username:Ee}})},jn=async(x,D,ne,Ee)=>{await s("/store/".concat(x,"/").concat(D,"/images"),{method:"DELETE",body:{index:ne,owner_username:Ee}})},lt=async(x,D,ne,Ee)=>{await s("/store/".concat(x,"/").concat(D,"/images"),{method:"DELETE",body:{imageUrl:ne,owner_username:Ee}})},Ga=async(x,D,ne,Ee)=>{await s("/store/".concat(x,"/").concat(D,"/images/reorder"),{method:"PUT",body:{images:ne,owner_username:Ee}})},la=async(x,D,ne,Ee,et)=>await i("/store/".concat(encodeURIComponent(x),"/checkout"),{method:"POST",body:{shipping:D,billing:ne,items:Ee,email:et}});async function Lo(x,D){return await i("/store/".concat(encodeURIComponent(x),"/checkout/").concat(D),{method:"GET"})}async function ac(x,D){return await s("/store/".concat(x,"/configuration/"),{method:"POST",body:{configuration:D,hostname:l}})}async function Fn(x){return await i("/store/".concat(x,"/configuration"),{method:"GET"})}const oc=async(x,D)=>{const ne=await s("/store/webbuilder/discount-codes?websiteObjectId=".concat(encodeURIComponent(x),"&pageId=").concat(encodeURIComponent(D)),{method:"GET"});return(ne==null?void 0:ne.codes)||[]},ru=async(x,D,ne)=>await s("/store/webbuilder/discount-codes",{method:"POST",body:{...ne,websiteObjectId:x,pageId:D}}),lc=async(x,D,ne,Ee)=>await s("/store/webbuilder/discount-codes/".concat(encodeURIComponent(ne)),{method:"PUT",body:{...Ee,websiteObjectId:x,pageId:D}}),uc=async(x,D,ne)=>await s("/store/webbuilder/discount-codes/".concat(encodeURIComponent(ne)),{method:"DELETE",body:{websiteObjectId:x,pageId:D}}),cc=async(x,D,ne,Ee,et)=>await i("/store/webbuilder/validate-discount",{method:"POST",body:{websiteObjectId:x,pageId:D,code:ne,subtotal:Ee,items:et}});async function Bo(x,D){return await i("/store/".concat(x,"/error"),{method:"POST",body:{error:D}})}async function Fi(){return await s("/report/".concat(l),{method:"GET"})}async function Di(){const{last_updated_at:x}=await s("/report/".concat(l,"/last-updated-at"),{method:"GET"});return x}async function hc(x,D){await s("/report/".concat(encodeURIComponent(x),"/rename"),{method:"POST",body:{name:D}})}const nu=async(x,D,ne)=>{try{const{router:Ee}=await s("/router/".concat(x,"/").concat(D,"/").concat(ne),{method:"GET"});return f0.fromObject(Ee)}catch(Ee){throw An&&console.error(Ee),Ee}},fc=async(x,D)=>{try{const{routers:ne}=await s("/router/".concat(x,"/").concat(D),{method:"GET"}),Ee=[];for(const et of ne){const Qt=f0.fromObject(et);Ee.push(Qt)}return Ee}catch(ne){throw An&&console.error(ne),ne}},dc=async(x,D,ne)=>{try{const Ee=await s("/router/".concat(x,"/").concat(D),{method:"POST",body:ne});return f0.fromObject(Ee)}catch(Ee){return console.error(Ee),null}},iu=async(x,D,ne,Ee)=>{An&&console.log({z:"/router/".concat(x,"/").concat(D,"/").concat(ne)});try{if(!Ee)throw new Error("No router object provided");const{router:et}=await s("/router/".concat(x,"/").concat(D,"/").concat(ne),{method:"POST",body:Ee.toObject()});return An&&console.log({router:et}),f0.fromObject(et)}catch(et){throw An&&console.error(et),et}},$a=async(x,D,ne,Ee,et)=>{try{const Qt=await s("/router/".concat(x,"/").concat(D,"/").concat(ne,"/").concat(Ee),{method:"POST",body:et.toObject()});return rX.fromObject(Qt)}catch(Qt){return console.error(Qt),{error:"Could not use"}}};async function Uo(){return await s("/audio-editor/".concat(l,"/projects"),{method:"GET"})}async function su(x,D){return await s("/audio-editor/".concat(l,"/projects/").concat(x),{method:"PUT",body:{...D}})}async function Hn(x){return await s("/arxiv/".concat(x),{method:"GET"})}async function Je(x,D){const ne={searchTerm:D};return await s("/arxiv/".concat(x),{method:"POST",body:ne})}async function vt(x,D){const ne={searchTerm:D};return await s("/arxiv/".concat(x),{method:"DELETE",body:ne})}async function au(x){return i("/website/object/".concat(x),{method:"GET"})}async function ua(x){return i("/website/objects/".concat(x),{method:"GET"})}async function Jr(x){try{return i("/website/config/".concat(x),{method:"GET"})}catch(D){throw An&&console.error(D.message||"Error getting Website config"),D}}async function zo(x){return i("/website/search?q=".concat(x),{method:"GET"})}async function J(x,D){return s("/website/mailinglist",{method:"POST",body:{listId:x,email:D}})}async function pc(){return s("/website/mailinglist/lists",{method:"GET"})}async function gr(x,D){return s("/website/mailinglist/subscribe",{method:"POST",body:{email:x,list_ids:D}})}async function Ar(x,D){return s("/website/mailinglist/unsubscribe",{method:"POST",body:{email:x,list_id:D}})}
262async function St(x){try{return await s("/podcast/".concat(x,"/latest"),{method:"GET"})}catch(D){throw An&&console.error(D.message||"Error getting Website config"),D}}async function ou(x){try{return s("/website/cms/obj/".concat(x),{method:"GET"})}catch(D){throw An&&console.error(D.message||"Error getting Website CMS object"),D}}async function jo(x){return i("/website/session/".concat(x),{method:"GET"})}async function f(x,D){return i("/website/session/".concat(x),{method:"POST",body:D})}async function m(x){return s("/google/analytics/".concat(x,"/accounts"),{method:"GET"})}async function w(x,D){return s("/google/analytics/".concat(x,"/properties/").concat(D),{method:"GET"})}return{getList:v,getObjectMetadata:k,getStylesSheet:O,getUserFeatures:N,getClientTrace:S,getAnnouncements:M,getGlobalAnnouncements:F,getSiteConfiguration:G,saveSiteConfiguration:X,getInvertedMap:z,getAllFeatures:re,addFeature:ie,removeAlertFromApplication:R,...d,getAllUserGroups:H,addUserGroup:q,deleteUserGroup:Y,addAppToGroup:ze,addStreamToGroup:Ft,deleteStreamFromGroup:Yt,..._,...Ce,deleteAccount:Q,resendConfirmCode:fe,checkSendGridConfig:pe,...Ht,...Lt,...Pe,...le,...At,...Dt,...Fe,...Ne,...K,...ee,getPlusEngineActions:Te,getAvailableApis:ve,getServers:xe,getSysActions:Ye,deleteAction:B,refreshAvailableApi:ge,createUserApi:Oe,deleteUserApi:U,getUserApis:C,clearActionsCache:I,uploadFile:te,getRecentUploads:be,getRecentUploadsStream:Le,...oe,getRouter:nu,getRouters:fc,createRouter:dc,saveRouter:iu,useRouter:$a,getPodcastData:Ae,getPodcastSeasonData:We,fetchPlayerStats:ht,updatePlayerStats:Bt,getPodcastEpisode:ye,getAudioEditorProjects:Uo,saveAudioEditorProject:su,emailSupport:kr,emailPublic:vn,getReports:Fi,getReportsLastUpdatedAt:Di,updateReportName:hc,getStoreProducts:ae,getStoreCountries:xn,getStoreFees:fi,reorderStoreProducts:Mt,addImageToStoreProduct:Ri,removeImageFromStoreProduct:jn,removeImageFromStoreProductByUrl:lt,reorderStoreProductImages:Ga,checkout:la,getCheckoutSession:Lo,updateStoreConfiguration:ac,getStoreConfiguration:Fn,writeErrorToStream:Bo,listDiscountCodes:oc,createDiscountCode:ru,updateDiscountCode:lc,deleteDiscountCode:uc,validateDiscountCode:cc,...g,...Ve,...wt,getArxivSearchTerms:Hn,addArxivSearchTerm:Je,deleteArxivSearchTerm:vt,getWebsiteObject:au,getWebsiteObjects:ua,getWebsiteConfig:Jr,searchWebsite:zo,addToMailingList:J,getWebsiteMailingLists:pc,subscribeWebsiteLists:gr,unsubscribeWebsiteList:Ar,getLatestEpisode:St,getGetCmsObject:ou,getWebsiteSession:jo,updateWebsiteSession:f,...Ke,getGA4Accounts:m,getGA4Analytics:w}}var eS;const nQ=((eS=void 0)==null?void 0:eS.toLowerCase())==="true",bM=$.createContext(Mo);function P3(){return Mo}function Ds(){return $.useContext(bM)}function iQ({children:t}){const e=K1(),[r,n]=$.useState({}),[i,s]=$.useState(null),[a,l]=$.useState(()=>Mo.hostname==="custom_domain_pending"),[u,p]=$.useState(null),{domain:d,hostname:g,app_type:_,title:v,metadata:k,favicon_url:O,secure:N,origins:S,api_url:M,support_email:F,prefs:G,initial_user_groups:X,signup_object_id:z,oauth2_client_id:R,ga_measurement_id:H,dashboard_object_id:re,presentation_object_id:ie,website_object_id:q,website_username:Y,store_object_id:Q,tooltip_owner:fe,advertisers_owner:pe,script_library_owner:Te,schema_library_owner:ve,primary_api_object_id:xe,redirect:Ye,cached_collections:B,version:Ce}=Mo,Pe=typeof window<"u"?window.location.hostname:"",le=g==="custom_domain_pending"||!!q&&Pe!==d&&hM(Pe);$.useEffect(()=>{le&&d&&!i&&!u&&(l(!0),fetch("".concat(M,"/resolve-domain?domain=").concat(encodeURIComponent(d))).then(Ke=>Ke.ok?Ke.json():(Ke.status===404?p({type:"not_found",message:"No database record found for this domain. The domain may not be registered in the system.",domain:d}):p({type:"unknown",message:"Server returned status ".concat(Ke.status),domain:d}),null)).then(Ke=>{Ke&&(Ke.website_object_id&&Ke.site_id?(nQ&&console.log("[HostnameProvider] Resolved custom domain:",Ke),s(Ke)):Ke.error?p({type:"invalid_response",message:Ke.error,domain:d}):p({type:"invalid_response",message:"Database record exists but is missing website_object_id or site_id",domain:d}))}).catch(Ke=>{console.error("[HostnameProvider] Error resolving custom domain:",Ke);const Ve=Ke.name==="TypeError"&&Ke.message==="Failed to fetch";p({type:Ve?"cors":"network",message:Ve?"Cross-origin request blocked. The domain resolution API is not accessible from this origin.":"Network error: ".concat(Ke.message),domain:d})}).finally(()=>{l(!1)}))},[le,d,M]);const Lt=function(){g&&g!=="custom_domain_pending"&&e.getSiteConfiguration(g).then(n).catch(Ke=>{console.error(Ke.message||"Error reading configuration for ".concat(g))})};$.useEffect(()=>{Lt()},[g]);const Ht=le?"plus_dataskeptic_com":g,At=le&&i?i.website_object_id:q;return Re.jsx(bM.Provider,{value:{domain:d,hostname:Ht,userHostname:Ht,app_type:le?"website":_,title:v,metadata:k,favicon_url:O,signup_object_id:z,
262secure:N,origins:S,api_url:M,support_email:F,prefs:{...G,...r,...(G==null?void 0:G.allow_account_creation)===!1?{allow_account_creation:!1}:{},...(G==null?void 0:G.allow_email_signup)===!1?{allow_email_signup:!1}:{},...(G==null?void 0:G.allow_google_oauth)!==void 0?{allow_google_oauth:G.allow_google_oauth}:{}},refreshPrefs:Lt,initial_user_groups:X,oauth2_client_id:R,ga_measurement_id:H,dashboard_object_id:re,presentation_object_id:ie,website_object_id:At,website_username:Y,store_object_id:Q,tooltip_owner:fe,advertisers_owner:pe,script_library_owner:Te,schema_library_owner:ve,primary_api_object_id:xe,redirect:Ye,cached_collections:B,version:le?2:Ce,isCustomDomain:le,customDomainLoading:a,customDomainError:u},children:t})}var tS,rS,nS,iS;const Pt=((tS=void 0)==null?void 0:tS.toLowerCase())==="true",sQ=(rS=void 0)!=null?rS:"/api/v1";(iS=(nS=Mo)==null?void 0:nS.api_url)!=null;let Vp=!1,Lh,mv=!1,Bh;const aQ=async function(t){return Pt&&console.log("Authenticating user..."),es("/auth",{method:"authenticate",params:{token:t}}).then(e=>(Pt&&console.log("Success. Got result"),Pt&&console.log(e),e)).catch(e=>{throw Pt&&console.error("Error:",e.message||e),e instanceof ur?e:new ur(500,e.message||"Internal Server Error")})},oQ=async function(t){return Pt&&console.log("Refreshing the access token..."),Pt&&console.log({isRefreshRequesting:Vp,globalRefreshPromise:Lh}),Vp&&Lh||(Vp=!0,Lh=es("/auth",{method:"refresh",params:{token:t}}).then(e=>(Pt&&console.log("Refresing success. Got result"),Pt&&console.log({result:e}),e)).catch(e=>{throw Pt&&console.error("Error:",e.message||"Refreshing failed"),e instanceof ur?e:new ur(500,e.message||"Internal Server Error")}).finally(()=>{Vp=!1})),Lh},lQ=async function(t){return Pt&&console.log("Updating session..."),es("/auth",{method:"update",params:{token:t}}).then(e=>(Pt&&console.log("Updating success. Got result"),e)).catch(e=>{throw Pt&&console.error("Error:",e.message||"Updating failed"),e instanceof ur?e:new ur(500,e.message||"Internal Server Error")})},uQ=async function(t,e){return Pt&&console.log("Signing user in..."),mv&&Bh?(Pt&&console.log("Login already in progress, returning existing promise"),Bh):(mv=!0,Bh=es("/auth",{method:"login",params:{username:t,password:e}}).then(r=>(Pt&&console.log("Success, returned: ".concat(r.username)),r)).catch(r=>{throw Pt&&console.error("Error:",r.message||r),r instanceof ur?r:new ur(500,"Unable to sign you in to your account. Please try again later")}).finally(()=>{mv=!1,Bh=void 0}),Bh)},cQ=async function(t,e){return Pt&&console.log("Signing user in..."),Pt&&console.log("Credentials are -> code: ".concat(t,", hostname: ").concat(e||"default")),es("/auth",{method:"loginCode",params:{code:t,...e&&{hostname:e}}}).then(r=>(Pt&&console.log("Success, returned: ".concat(r.username)),r)).catch(r=>{throw Pt&&console.error("Error:",r.message||r),r instanceof ur?r:new ur(500,r.message||"Internal Server Error")})},hQ=async function(){return Pt&&console.log("Signing user out..."),es("/auth",{method:"logout",params:{}}).then(t=>(Pt&&console.log("Success. Got result"),Pt&&console.log(t),t)).catch(t=>{throw Pt&&console.error("Error:",t.message||t),t instanceof ur?t:new ur(500,t.message||"Internal Server Error")})},fQ=async function(t,e,r){return Pt&&console.log("Registering user..."),Pt&&console.log("Metadata: ".concat(JSON.stringify(r))),es("/auth",{method:"register",params:{username:t,password:e,metadata:r}}).then(n=>(Pt&&console.log("Success. Got result"),Pt&&console.log(n),n)).catch(n=>{throw Pt&&console.error("Error:",n.message||n),n instanceof ur?n:new ur(500,n.message||"Internal Server Error")})},dQ=async function(t,e,r){return Pt&&console.log("Confirming email address..."),Pt&&console.log("Email: ".concat(t)),Pt&&console.log("Confirmation code: ".concat(e)),es("/auth",{method:"confirm",token:r,params:{email:t.trim(),confirmation_token:e.trim()}}).then(n=>(Pt&&console.log("Success, returned: ".concat(n)),n)).catch(n=>{throw Pt&&console.error("Error:",n.message||n),n instanceof ur?n:new ur(500,n.message||"Internal Server Error")})},pQ=async function(t,e,r){return Pt&&console.log("Verifying 2FA ..."),Pt&&console.log("Email: ".concat(t)),Pt&&console.log("Authentication code: ".concat(e)),es("/auth",{method:"mfaVerify",token:r,params:{email:t,authCode:e}}).then(n=>(Pt&&console.log("Success, returned: ".concat(n)),n)).catch(n=>{throw Pt&&console.error("Error:",n.message||n),n instanceof ur?n:new ur(500,n.message||"Internal Server Error")})},mQ=async function(t,e){return Pt&&console.log("Resetting password..."),Pt&&console.log("Email is: ".concat(t)),Pt&&console.log("Metadata: ".concat(JSON.stringify(e))),es("/auth",{method:"reset",params:{email:t,metadata:e}}).then(r=>(Pt&&console.log("Success, returned: ".concat(r)),r)).catch(r=>{throw Pt&&console.error("Error:",r.message||r),r instanceof ur?r:new ur(500,r.message||"Internal Server Error")})},gQ=async function(t,e){return await es("/auth",{method:"reset-link",params:{username:t,hostname:e}})},_Q=async function(t,e){return Pt&&console.log("Changing password..."),es("/auth/password",{method:"change",token:e,params:{password:t}}).then(r=>(Pt&&console.log("Success, returned: ".concat(r)),r)).catch(r=>{throw Pt&&console.error("Error:",r.message||r),r instanceof ur?r:new ur(500,r.message||"Internal Server Error")})},ya={authenticate:aQ,refresh:oQ,update:lQ,login:uQ,loginCode:cQ,logout:hQ,register:fQ,confirm:dQ,mfaVerify:pQ,reset:mQ,resetLink:gQ,change:_Q};var wM={},B2=Kn&&Kn.__assign||function(){return B2=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},B2.apply(this,arguments)};Object.defineProperty(wM,"__esModule",{value:!0});var Uh=$;function yQ(t,e,r){var n=(0,Uh.useMemo)(function(){return B2({serializer:JSON.stringify,parser:JSON.parse,logger:console.log,syncData:!0},r)},[r]),i=n.serializer,s=n.parser,a=n.logger,l=n.syncData,u=(0,Uh.useRef)(null),p=(0,Uh.useState)(function(){if(typeof window>"u")return e;try{u.current=window.localStorage.getItem(t);var _=u.current?s(u.current):e;return _}catch(v){return a(v),e}}),d=p[0],g=p[1];return(0,Uh.useEffect)(function(){if(!(typeof window>"u")){var _=function(){if(d!==void 0){var v=i(d),k=u.current;u.current=v,window.localStorage.setItem(t,v),window.dispatchEvent(new StorageEvent("storage",{storageArea:window.localStorage,url:window.location.href,key:t,newValue:v,oldValue:k}))}else window.localStorage.removeItem(t),window.dispatchEvent(new StorageEvent("storage",{storageArea:window.localStorage,url:window.location.href,key:t}))};
262try{_()}catch(v){a(v)}}},[d]),(0,Uh.useEffect)(function(){if(l){var _=function(v){if(!(v.key!==t||v.storageArea!==window.localStorage))try{v.newValue!==u.current&&(u.current=v.newValue,g(v.newValue?s(v.newValue):void 0))}catch(k){a(k)}};if(!(typeof window>"u"))return window.addEventListener("storage",_),function(){return window.removeEventListener("storage",_)}}},[t,l]),[d,g]}var vQ=wM.default=yQ,zh={},sS;function bQ(){if(sS)return zh;sS=1,Object.defineProperty(zh,"__esModule",{value:!0}),zh.parse=a,zh.serialize=p;const t=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,e=/^[\u0021-\u003A\u003C-\u007E]*$/,r=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,n=/^[\u0020-\u003A\u003D-\u007E]*$/,i=Object.prototype.toString,s=(()=>{const _=function(){};return _.prototype=Object.create(null),_})();function a(_,v){const k=new s,O=_.length;if(O<2)return k;const N=(v==null?void 0:v.decode)||d;let S=0;do{const M=_.indexOf("=",S);if(M===-1)break;const F=_.indexOf(";",S),G=F===-1?O:F;if(M>G){S=_.lastIndexOf(";",M-1)+1;continue}const X=l(_,S,M),z=u(_,M,X),R=_.slice(X,z);if(k[R]===void 0){let H=l(_,M+1,G),re=u(_,G,H);const ie=N(_.slice(H,re));k[R]=ie}S=G+1}while(S<O);return k}function l(_,v,k){do{const O=_.charCodeAt(v);if(O!==32&&O!==9)return v}while(++v<k);return k}function u(_,v,k){for(;v>k;){const O=_.charCodeAt(--v);if(O!==32&&O!==9)return v+1}return k}function p(_,v,k){const O=(k==null?void 0:k.encode)||encodeURIComponent;if(!t.test(_))throw new TypeError(`argument name is invalid: ${_}`);const N=O(v);if(!e.test(N))throw new TypeError(`argument val is invalid: ${v}`);let S=_+"="+N;if(!k)return S;if(k.maxAge!==void 0){if(!Number.isInteger(k.maxAge))throw new TypeError(`option maxAge is invalid: ${k.maxAge}`);S+="; Max-Age="+k.maxAge}if(k.domain){if(!r.test(k.domain))throw new TypeError(`option domain is invalid: ${k.domain}`);S+="; Domain="+k.domain}if(k.path){if(!n.test(k.path))throw new TypeError(`option path is invalid: ${k.path}`);S+="; Path="+k.path}if(k.expires){if(!g(k.expires)||!Number.isFinite(k.expires.valueOf()))throw new TypeError(`option expires is invali
262d: ${k.expires}`);S+="; Expires="+k.expires.toUTCString()}if(k.httpOnly&&(S+="; HttpOnly"),k.secure&&(S+="; Secure"),k.partitioned&&(S+="; Partitioned"),k.priority)switch(typeof k.priority=="string"?k.priority.toLowerCase():void 0){case"low":S+="; Priority=Low";break;case"medium":S+="; Priority=Medium";break;case"high":S+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${k.priority}`)}if(k.sameSite)switch(typeof k.sameSite=="string"?k.sameSite.toLowerCase():k.sameSite){case!0:case"strict":S+="; SameSite=Strict";break;case"lax":S+="; SameSite=Lax";break;case"none":S+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${k.sameSite}`)}return S}function d(_){if(_.indexOf("%")===-1)return _;try{return decodeURIComponent(_)}catch{return _}}function g(_){return i.call(_)==="[object Date]"}return zh}var lg=bQ();function wQ(){const t=typeof global>"u"?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return typeof t=="boolean"?t:typeof document=="object"&&typeof document.cookie=="string"}function EQ(t){return typeof t=="string"?lg.parse(t):typeof t=="object"&&t!==null?t:{}}function gv(t,e={}){const r=SQ(t);if(!e.doNotParse)try{return JSON.parse(r)}catch{}return t}function SQ(t){return t&&t[0]==="j"&&t[1]===":"?t.substr(2):t}class TQ{constructor(e,r={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const i=this.cookies;this.cookies=lg.parse(document.cookie),this._checkChanges(i)};const n=typeof document>"u"?"":document.cookie;this.cookies=EQ(e||n),this.defaultSetOptions=r,this.HAS_DOCUMENT_COOKIE=wQ()}_emitChange(e){for(let r=0;r<this.changeListeners.length;++r)this.changeListeners[r](e)}_checkChanges(e){new Set(Object.keys(e).concat(Object.keys(this.cookies))).forEach(n=>{e[n]!==this.cookies[n]&&this._emitChange({name:n,value:gv(this.cookies[n])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(e,r={}){return r.doNotUpdate||this.update(),gv(this.cookies[e],r)}getAll(e={}){e.doNotUpdate||this.update();const r={};for(let n in this.cookies)r[n]=gv(this.cookies[n],e);return r}set(e,r,n){n?n=Object.assign(Object.assign({},this.defaultSetOptions),n):n=this.defaultSetOptions;const i=typeof r=="string"?r:JSON.stringify(r);this.cookies=Object.assign(Object.assign({},this.cookies),{[e]:i}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=lg.serialize(e,i,n)),this._emitChange({name:e,value:r,options:n})}remove(e,r){const n=r=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),r),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=lg.serialize(e,"",n)),this._emitChange({name:e,value:void 0,options:r})}addChangeListener(e){this.changeListeners.push(e),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(e){const r=this.changeListeners.indexOf(e);r>=0&&this.changeListeners.splice(r,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}removeAllChangeListeners(){for(;this.changeListeners.length>0;)this.removeChangeListener(this.changeListeners[0])}}let xQ=t=>crypto.getRandomValues(new Uint8Array(t)),kQ=(t,e,r)=>{let n=(2<<Math.log(t.length-1)/Math.LN2)-1,i=-~(1.6*n*e/t.length);return(s=e)=>{let a="";for(;;){let l=r(i),u=i|0;for(;u--;)if(a+=t[l[u]&n]||"",a.length===s)return a}}},AQ=(t,e=21)=>kQ(t,e,xQ),Rue=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((e,r)=>(r&=63,r<36?e+=r.toString(36):r<62?e+=(r-26).toString(36).toUpperCase():r>62?e+="-":e+="_",e),"");var aS,oS;new TQ;const MQ=AQ("useandom26T198340PX75pxJACKVERYMINDBUSHWOLFGQZbfghjklqvwyzrict",5),Nc=((aS=void 0)==null?void 0:aS.toLowerCase())==="true";let _l=!1;const lS=((oS=void 0)!=null?oS:60)*1e3,CQ={token:null,username:null,metadata:null,provider:void 0,role:null,isPending:!1,isRefreshing:!1,isLoggedIn:!1,isLoggingOut:!1,error:!1},OQ=function(t,e){switch(e.type){case"login":const r=!e.token||!e.username;return{...t,token:e.token,username:e.username,metadata:e.metadata,provider:e.provider,role:e.role,isPending:!1,isRefreshing:!1,isLoggedIn:!r,isLoggingOut:!1,error:!1};case"logout":return{...t,token:null,username:null,metadata:null,provider:void 0,role:null,isPending:!1,isRefreshing:!1,isLoggedIn:!1,isLoggingOut:!1,error:!1};
262case"pending":return{...t,isPending:e.isPending,error:!1};case"loggingOut":return{...t,isLoggingOut:!0,error:!1};case"refreshing":return{...t,isRefreshing:e.isRefreshing,isPending:e.isRefreshing,error:!1};case"updateToken":return{...t,token:e.token,error:!1};case"error":return{...t,token:null,username:null,metadata:null,provider:void 0,role:null,isPending:!1,isRefreshing:!1,isLoggedIn:!1,isLoggingOut:!1,error:e.error};default:return t}},IQ={token:null,username:null,metadata:null,provider:void 0,role:null,isPending:!1,isRefreshing:!1,isLoggedIn:!1,isLoggingOut:!1,error:!1,refresh:()=>{},update:()=>{},login:(t,e)=>{},loginCode:t=>{},logout:t=>{},register:(t,e,r)=>{},confirm:(t,e)=>{},mfaVerify:(t,e)=>{},reset:(t,e)=>{},change:t=>{}},EM=$.createContext(IQ);function aa(){return $.useContext(EM)}function RQ({children:t}){const[e,r]=$.useReducer(OQ,CQ),{token:n,username:i,metadata:s,provider:a,role:l,isPending:u,isRefreshing:p,isLoggedIn:d,isLoggingOut:g,error:_}=e,[v]=vQ("user-uid","@".concat(MQ(5))),{app_type:k}=P3(),O=async function(ie){return _l?Promise.reject(new Error("Session ended")):(r({type:"refreshing",isRefreshing:!0}),ya.refresh(n).then(q=>(_l=!1,r({type:"login",token:q.token,username:q.username,metadata:q.metadata,provider:q.provider,role:q.role}),ie&&ie(q),Promise.resolve(q))).catch(q=>(r({type:"error",error:q}),Promise.reject(q))))},N=async function(ie){return _l?Promise.reject(new Error("Session ended")):ya.update(n).then(q=>(r({type:"updateToken",token:q.token}),ie&&ie(q),Promise.resolve(q))).catch(q=>(r({type:"error",error:q}),Promise.reject(q)))},S=async function(ie,q,Y){return _l=!1,r({type:"pending",isPending:!0}),ya.login(ie,q).then(Q=>(r({type:"login",token:Q.token,username:Q.username,metadata:Q.metadata,provider:Q.provider,role:Q.role}),Y&&Y(Q),Promise.resolve(Q))).catch(Q=>(r({type:"error",error:Q}),Promise.reject(Q)))},M=async function(ie,q,Y){return _l=!1,r({type:"pending",isPending:!0}),ya.loginCode(ie,q).then(Q=>(r({type:"login",token:Q.token,username:Q.username,metadata:Q.metadata,provider:Q.provider,role:Q.role}),Y&&Y(Q),Promise.resolve(Q))).catch(Q=>(r({type:"error",error:Q}),Promise.reject(Q)))},F=async function(ie){return _l=!0,r({type:"loggingOut"}),r({type:"pending",isPending:!0}),ya.logout().then(q=>(r({type:"logout"}),ie&&ie(q),Promise.resolve(q))).catch(q=>(console.warn("[AuthContext] Backend logout failed; clearing local state anyway:",(q==null?void 0:q.message)||q),r({type:"logout"}),ie&&ie(null),Promise.resolve(null)))},G=async function(ie,q,Y,Q){return r({type:"pending",isPending:!0}),ya.register(ie,q,Y).then(async fe=>(r({type:"pending",isPending:!1}),Q&&Q(fe),Promise.resolve(fe))).catch(fe=>(r({type:"error",error:fe}),Promise.reject(fe)))},X=async function(ie,q,Y){return r({type:"pending",isPending:!0}),ya.reset(ie,q).then(Q=>(r({type:"login",token:Q.token,username:Q.username,metadata:Q.metadata,provider:Q.provider,role:Q.role}),Y&&Y(Q),Promise.resolve(Q))).catch(Q=>(r({type:"error",error:Q}),Promise.reject(Q)))},z=async function(ie,q){return r({type:"pending",isPending:!0}),ya.change(ie,n).then(Y=>(r({type:"login",token:Y.token,username:Y.username,metadata:Y.metadata,provider:Y.provider,role:Y.role}),q&&q(Y),Promise.resolve(Y))).catch(Y=>(r({type:"error",error:Y}),Promise.reject(Y)))},R=async function(ie,q,Y){return ya.confirm(ie,q,n).then(Q=>(r({type:"login",token:Q.token,username:Q.username,metadata:Q.metadata,provider:Q.provider,role:Q.role}),Y&&Y(Q),Promise.resolve(Q))).catch(Q=>Promise.reject(Q))},H=async function(ie,q,Y){return ya.mfaVerify(ie,q,n).then(Q=>(r({type:"login",token:Q.token,username:Q.username,metadata:Q.metadata,provider:Q.provider,role:Q.role}),Y&&Y(Q),Promise.resolve(Q))).catch(Q=>Promise.reject(Q))},re=k!=="website"?i:i??v;return Re.jsx(EM.Provider,{value:{token:n,username:re,metadata:s,provider:a,role:l,isPending:u,isRefreshing:p,isLoggedIn:d,isLoggingOut:g,error:_,refresh:O,update:N,login:S,loginCode:M,logout:F,register:G,confirm:R,mfaVerify:H,reset:X,change:z},children:t})}function Fue(){let{token:t,isPending:e,isRefreshing:r,isLoggingOut:n,error:i,refresh:s,update:a}=aa(),l=Ql();const[u,p]=$.useState(!1);return $.useEffect(()=>{t&&p(!0)},[t]),$.useEffect(()=>{if(lS<1e3)throw new Error("The value of REACT_APP_UPDATE_TOKEN_INTERVAL is too small. It should be >= 30.")},[]),$.useEffect(()=>{t||(Nc&&console.log("ProtectedLayout: no token"),s().then(d=>{Nc&&console.log("ProtectedLayout: ".concat(d))}).catch(d=>{Nc&&console.error(d.message||"ProtectedLayout: refresh failed")}))},[t]),wK(async()=>{Nc&&console.log("ProtectedLayout: updating"),a().then(d=>{Nc&&console.log("ProtectedLayout: ".concat(d))}).catch(d=>{Nc&&console.error(d.message||"ProtectedLayout: update failed")})},lS),i?Re.jsx(VH,{to:"/login",state:{from:l.pathname}}):Re.jsxs($.Fragment,{children:[e&&(!u||n)&&Re.jsx(Pa,{active:!0,inverted:!0,children:Re.jsx(kd,{size:"huge",children:r?"Updating ...":"Logging you ".concat(n?"out":"in")})}),Re.jsx(YH,{})]})}function FQ(){const{isLoggedIn:t,username:e}=aa(),{fetchSecureApi:r}=Y1(),n=$.useRef(null);return $.useEffect(()=>{if(!t||!e||n.current===e)return;n.current=e;const i=new URLSearchParams(window.location.search);i.get("google_scope_success")!=="true"&&(i.get("google_scope_error")||(async()=>{var s;try{if(((s=(await r("/auth/google/scope/status",{method:"GET"})).available_capabilities)!=null?s:[]).filter(p=>p.policy==="required"&&!p.granted).map(p=>p.capability).length===0)return;const u=await r("/auth/google/scope/init-required?redirect="+encodeURIComponent(window.location.href),{method:"GET"});u!=null&&u.auth_url&&(window.location.href=u.auth_url)}catch(a){console.warn("[RequiredScopesGate] status check failed:",a)}})())},[t,e]),null}const SM={accessMode:"unknown",hasWebsite:!1,serveWebsiteAtRoot:!1,domain:"",loading:!0},TM=$.createContext(SM);function Due(){return $.useContext(TM)}const DQ=(t,e)=>{if(t===2)return!0;
262if(t===1||!e)return!1;const r=e.split("/");return r.length===3&&r[2].startsWith("website.")};function NQ({children:t}){const{domain:e,app_type:r,website_object_id:n,version:i,redirect:s,customDomainLoading:a}=Ds(),l=$.useMemo(()=>{if(a)return{...SM,domain:e,loading:!0};const u=!!n,p=DQ(i,n)?2:u?1:void 0;let d;return r==="redirect"?d="redirect":r==="website"?d="website":r==="plus"&&u?d="hybrid":r==="plus"?d="plus":d="unknown",{accessMode:d,hasWebsite:u,websiteObjectId:n,websiteVersion:p,serveWebsiteAtRoot:d==="website"||d==="hybrid",domain:e,loading:!1}},[e,r,n,i,s,a]);return Re.jsx(TM.Provider,{value:l,children:t})}var uS;const PQ=((uS=void 0)==null?void 0:uS.toLowerCase())==="true";function LQ({url:t,keepAliveInterval:e,onOpen:r,onClose:n,onMessage:i}){const[s,a]=$.useState(void 0);return $.useEffect(()=>{const l=new WebSocket(t);let u;return l.onmessage=p=>{i(p,l)},n&&(l.onclose=p=>{n(p,l)}),l.onopen=p=>{a(l),r(p,l),e&&(u=window.setInterval(()=>{if(l.readyState===WebSocket.OPEN)try{l.send(JSON.stringify({method:"ping"}))}catch{}},e))},l.onerror=p=>{console.error("[WebSocket] Connection error:",p)},()=>{if(u!==void 0&&clearInterval(u),l.readyState===WebSocket.OPEN||l.readyState===WebSocket.CONNECTING)try{l.close(1e3,"component unmount")}catch(p){PQ&&console.warn("[WebSocket] close during cleanup threw:",p)}}},[t]),$.useEffect(()=>{s&&(s.onmessage=l=>{i(l,s)})},[i]),null}var cS;const BQ=((cS=void 0)==null?void 0:cS.toLowerCase())==="true",UQ={subscribe:(t,e)=>e,unsubscribe:()=>{},sendMessage:()=>{}},xM=$.createContext(UQ);function Nue(){return $.useContext(xM)}function zQ({children:t}){BQ&&console.log("Creating WebSocketProvider ...");const{api_url:e}=P3(),{token:r}=aa(),[n,i]=$.useState(void 0),[s,a]=$.useState({}),l=$.useRef(s);l.current=s;const u=(S,M)=>{S&&S.readyState===WebSocket.OPEN&&S.send(JSON.stringify(M))},p=S=>{!S||S.readyState!==WebSocket.OPEN||!r||(S.send(JSON.stringify({type:"auth",token:r})),Object.keys(l.current).forEach(M=>{M!=="any"&&S.send(JSON.stringify({type:"subscribe",stream:M}))}))},d=$.useMemo(()=>{const S=new URL(e,window.location.origin);return S.protocol=S.protocol==="https:"?"wss:":"ws:",S.pathname="/web
262socket",S.toString()},[e]),g=(S="any",M)=>{var F;const G=!((F=l.current[S])!=null&&F.length);return a(X=>({...X,[S]:[...X[S]||[],M]})),G&&S!=="any"&&u(n,{type:"subscribe",stream:S}),M},_=(S="any",M)=>{const F=(l.current[S]||[]).filter(G=>G!==M);a(G=>{const X={...G},z=(X[S]||[]).filter(R=>R!==M);return z.length===0?delete X[S]:X[S]=z,X}),F.length===0&&S!=="any"&&u(n,{type:"unsubscribe",stream:S})},v=(S="any",M)=>{u(n,{stream:S,data:M})},k=(S,M)=>{i(M),p(M)};$.useEffect(()=>{p(n)},[r,n]);const O=(S,M)=>{i(void 0)},N=S=>{try{const M=JSON.parse(S.data);if(typeof M!="object"||!M.stream)throw new Error("Invalid message format");const{stream:F="any",data:G}=M;F!=="any"&&s[F]&&s[F].forEach(X=>X(G)),s.any&&s.any.forEach(X=>X(G))}catch(M){console.error(M.message||"Invalid message format")}};return Re.jsxs(xM.Provider,{value:{subscribe:g,unsubscribe:_,sendMessage:v},children:[Re.jsx(LQ,{url:d,onOpen:k,onClose:O,onMessage:N}),t]})}const Pc={SHORT:1*60*1e3,MEDIUM:5*60*1e3,LONG:30*60*1e3,VERY_LONG:60*60*1e3},no={MENU_GROUPS:"cache:menu-groups",HOSTNAME_PARAMS:"cache:hostname-params",HOSTNAME_GROUP_PARAMS:"cache:hostname-group-params",USER_FEATURES:"cache:user-features",USER_ACCOUNT:"cache:user-account",APPLICATIONS:"cache:applications",STYLES:"cache:styles"};var hS;const Zt=((hS=void 0)==null?void 0:hS.toLowerCase())==="true",Pue={};var jQ=(t=>(t.ConfirmAccount="Confirm Account",t.ResetPassword="Reset Password",t.ForgotEmail="Forgot Email",t.AccountCreated="Account Created",t))(jQ||{});const Lue=function(t){return t.toString().toLowerCase().trim().replace(/\s+/g,"_").replace(/[^\w_]+/gi,"")};function HQ(){const{fetchApi:t,fetchSecureApi:e}=Y1(),{token:r,username:n}=aa(),{hostname:i}=Ds(),{cache:s}=mM();return{createApplication:async fe=>{try{const pe=await e("/apps/".concat(i,"/create"),{method:"PUT",body:fe});if(!pe)throw new Error("Failed to create Application");const{param_values:Te,admin_settings:ve,...xe}=pe;return uo.fromObject({...xe,param_values:Object.fromEntries(Object.entries(Te).map(([Ye,B])=>[Ye,ho(B).toObject()])),admin_settings:Object.fromEntries(Object.entries(ve).map(([Ye,B])=>[Ye,ho(B).toObject()]))})}catch(pe){throw Zt&&console.error(pe.message||"Failed to create Application"),new Error("Failed to create Application")}},getTemplate:async fe=>{try{return await e("/templates/".concat(i,"/").concat(fe),{method:"GET"})}catch(pe){throw Zt&&console.error(pe.message||"Failed to get Template"),new Error("Failed to get Template")}},saveTemplate:async(fe,pe,Te)=>{try{if(!await e("/templates/".concat(i),{method:"POST",body:{template:fe,subject:pe,message:Te}}))throw new Error("Failed to save Templates")}catch(ve){throw Zt&&console.error(ve.message||"Failed to save Templates"),new Error("Failed to save Templates")}},getHostnameParams:async(fe,pe=!1)=>{const Te="".concat(no.HOSTNAME_PARAMS,":").concat(fe);if(!pe)try{const ve=await s.get(Te);if(ve)return Zt&&console.log("[Cache] Hit for hostname params: ".concat(fe)),ve.map(xe=>ft.fromObject(xe))}catch{}try{const{params:ve=[]}=await e("/hostname-params/".concat(fe),{method:"GET"});try{await s.set(Te,ve,Pc.LONG)}catch{}return ve.map(xe=>ft.fromObject(xe))}catch(ve){throw Zt&&console.error(ve.message||"Failed to get User Parameters"),new Error("Failed to get User Parameters")}},saveHostnameParams:async(fe,pe)=>{try{const Te=await e("/hostname-params/".concat(fe),{method:"POST",body:{params:pe.map(xe=>xe.toObject())}});if(!Te.params)throw new Error("Failed to save User Parameters");const ve="".concat(no.HOSTNAME_PARAMS,":").concat(fe);return s.delete(ve),Te.params.map(xe=>ft.fromObject(xe))}catch(Te){throw Zt&&console.error(Te.message||"Failed to save User Parameters"),new Error("Failed to save User Parameters")}},updateHostnameParams:async(fe,pe,Te)=>{try{const ve=await e("/hostname-params/".concat(fe,"/").concat(pe,"/update"),{method:"POST",body:{param_values:Object.fromEntries(Array.from(Te,([xe,Ye])=>[xe,Pu(Ye)]))}});return new Map(Object.entries(ve).map(([xe,Ye])=>[xe,ho(Ye)]))}catch(ve){throw Zt&&console.error(ve.message||"Failed to update User Parameter values"),new Error("Failed to update User Parameter values")}},getHostnameGroupParams:async(fe,pe=!1)=>{const Te="".concat(no.HOSTNAME_GROUP_PARAMS,":").concat(fe);if(!pe)try{const ve=await s.get(Te);if(ve)return ve.map(xe=>ft.fromObject(xe))}catch{}try{const{params:ve=[]}=await e("/hostname-group-params/".concat(fe),{method:"GET"});try{await s.set(Te,ve,Pc.LONG)}catch{}return ve.map(xe=>ft.fromObject(xe))}catch(ve){throw Zt&&console.error(ve.message||"Failed to get UserGroup Parameters"),new Error("Failed to get UserGroup Parameters")}},saveHostnameGroupParams:async(fe,pe)=>{try{const Te=await e("/hostname-group-params/".concat(fe),{method:"POST",body:{params:pe.map(xe=>xe.toObject())}});if(!Te.params)throw new Error("Failed to save UserGroup Parameters");const ve="".concat(no.HOSTNAME_GROUP_PARAMS,":").concat(fe);return s.delete(ve),Te.params.map(xe=>ft.fromObject(xe))}catch(Te){throw Zt&&console.error(Te.message||"Failed to save UserGroup Parameters"),new Error("Failed to save UserGroup Parameters")}}
262,getToolbarParams:async(fe,pe=!1)=>{const Te="".concat(no.TOOLBAR_PARAMS,":").concat(fe);if(!pe)try{const ve=await s.get(Te);if(ve)return Zt&&console.log("[Cache] Hit for toolbar params: ".concat(fe)),ve.map(xe=>ft.fromObject(xe))}catch{}try{const{params:ve=[]}=await e("/toolbar-params/".concat(fe),{method:"GET"});try{await s.set(Te,ve,Pc.LONG)}catch{}return ve.map(xe=>ft.fromObject(xe))}catch(ve){throw Zt&&console.error(ve.message||"Unable to get Toolbar Parameters"),new Error("Unable to get Toolbar Parameters")}},saveToolbarParams:async(fe,pe)=>{try{const Te=await e("/toolbar-params/".concat(fe),{method:"POST",body:{params:pe.map(ve=>ve.toObject())}});if(!Te.params)throw new Error("Failed to save Toolbar Parameters");return Te.params.map(ve=>ft.fromObject(ve))}catch(Te){throw Zt&&console.error(Te.message||"Failed to save Toolbar Parameters"),new Error("Failed to save Toolbar Parameters")}},getMenuGroups:async(fe,pe=!1)=>{const Te="".concat(no.MENU_GROUPS,":").concat(fe);if(!pe)try{const ve=await s.get(Te);if(ve)return Zt&&console.log("[Cache] Hit for menu groups: ".concat(fe)),ve}catch{}try{const{menu_groups:ve=[],mapping:xe={}}=await e("/menu-groups/".concat(fe),{method:"GET"}),Ye={menu_groups:ve,mapping:xe};try{await s.set(Te,Ye,Pc.LONG)}catch{}return Ye}catch(ve){throw Zt&&console.error(ve.message||"Failed to get Menu Groups"),new Error("Failed to get Menu Groups")}},saveMenuGroups:async(fe,pe,Te)=>{try{const ve=await e("/menu-groups/".concat(fe),{method:"POST",body:{menu_groups:pe,mapping:Te}});if(!ve.menu_groups)throw new Error("Failed to save Menu Groups");if(!ve.mapping)throw new Error("Failed to save Menu Groups mapping");const xe="".concat(no.MENU_GROUPS,":").concat(fe);return s.delete(xe),ve}catch(ve){throw Zt&&console.error(ve.message||"Failed to save Menu Groups"),new Error("Failed to save Menu Groups")}},saveMenuMapping:async(fe,pe)=>{try{return(await e("/menu-groups/".concat(fe,"/mapping"),{method:"POST",body:{mapping:pe}})).mapping}catch(Te){throw Zt&&console.error(Te.message||"Failed to update Menu Groups mapping"),new Error("Failed to update Menu Groups mapping")}},getStyles:async(fe,pe=!1)=>{const Te="".concat(no.STYLES,":").concat(fe);if(!pe)try{const ve=await s.get(Te);if(ve)return Zt&&console.log("[Cache] Hit for styles: ".concat(fe)),ve}catch{}try{const{styles:ve}=await t("/styles/".concat(fe),{method:"GET"});if(ve)try{await s.set(Te,ve,Pc.LONG)}catch{}return ve}catch(ve){console.error(ve.message||"Unable to request styles for ".concat(fe));return}},getTooltips:async(fe,pe=!1)=>{const Te="".concat(no.TOOLTIPS,":").concat(fe);if(!pe)try{const ve=await s.get(Te);if(ve)return Zt&&console.log("[Cache] Hit for tooltips: ".concat(fe)),ve}catch{}try{const{tooltips:ve}=await t("/tooltips/".concat(fe),{method:"GET"});if(ve)try{await s.set(Te,ve,Pc.LONG)}catch{}return ve}catch(ve){console.error(ve.message||"Unable to request tooltips for ".concat(fe));return}},fetchPlusScripts:async fe=>{try{const{scripts:pe}=await e("/stream/".concat(fe,"/plusscripts"),{method:"GET"});return pe?pe.map(Te=>sr.fromObject(Te)):[]}catch(pe){throw Zt&&console.error(pe.message||"There was an error fetching the scripts"),new Error("There was an error fetching the scripts")}},loadPlusScript:async fe=>{try{const{script:pe}=await e("/stream/".concat(fe,"/plusscript"),{method:"GET"});return pe?sr.fromObject(pe):null}catch(pe){throw Zt&&console.error(pe.message||"There was an error loading the script"),new Error("There was an error loading the script")}},savePlusScript:async(fe,pe)=>{try{Zt&&console.log("savePlusScript"),Zt&&console.log({script:pe.toObject()});const Te=pe.toObject();Te.nodes=pe.nodes.map(Ce=>{const Pe=Ce.toObject();return Pe.value=Pu(Ce.value),Pe});const{updated:ve}=await e("/stream/".concat(fe,"/plusscript"),{method:"POST",body:{script:Te}});if(!ve)throw new Error("There was an error saving the script");Zt&&console.log({updated:ve});const{nodes:xe,...Ye}=ve,B=sr.fromObject({nodes:xe.map(Ce=>({...Ce,value:ho(Ce.value)})),...Ye});return Zt&&console.log({plusScript:B}),B}catch(Te){throw Zt&&console.error(Te.message||"There was an error saving the script"),new Error("There was an error saving the script")}},runPlusScript:async(fe,pe,Te)=>{try{const{updated:ve}=await e("/stream/".concat(fe,"/plusscript/run"),{method:"POST",body:{script_object_id:pe,data:Te}});return ve}catch(ve){throw Zt&&console.error(ve.message||"There was an error executing this script"),new Error("There was an error executing this script")}},loadPlusScriptAction:async fe=>{try{const{script:pe}=await e("/action/".concat(fe,"/plusscript"),{method:"GET"});return pe?sr.fromObject(pe):null}catch(pe){throw Zt&&console.error(pe.message||"There was an error loading the script"),new Error("There was an error loading the script")}},loadPlusScriptActionById:async(fe,pe)=>{try{const{script:Te}=await e("/action/".concat(fe,"/plusscript/").concat(pe),{method:"GET"});return Te?sr.fromObject(Te):null}catch(Te){throw Zt&&console.error(Te.message||"There was an error loading the script"),new Error("There was an error loading the script")}},runPlusScriptAction:async(fe,pe,Te)=>{try{const{receipt:ve}=await e("/action/".concat(fe,"/plusscript/").concat(pe,"/run"),{method:"POST",body:Te});return ve}catch(ve){throw Zt&&console.error(ve.message||"There was an error running the script"),new Error(ve.message||"There was an error running the script")}},savePlusScriptAction:async(fe,pe)=>{try{Zt&&console.log("savePlusScript Action"),Zt&&console.log({script:pe.toObject()});const Te=pe.toObject();Te.nodes=pe.nodes.map(Ce=>{const Pe=Ce.toObject();return Pe.value=Pu(Ce.value),Pe});const{updated:ve}=await e("/action/".concat(fe,"/plusscript"),{method:"POST",body:{script:Te}});if(!ve)throw new Error("There was an error saving the script");Zt&&console.log({updated:ve});const{nodes:xe,...Ye}=ve,B=sr.fromObject({nodes:xe.map(Ce=>({...Ce,value:ho(Ce.value)})),...Ye});return Zt&&console.log({plusScript:B}),B}catch(Te){throw Zt&&console.error(Te.message||"There was an error saving the script"),new Error("There was an error saving the script")}},saveAction:async(fe,pe)=>{try{Zt&&console.log("saveAction"),Zt&&console.log({action:pe.toObject()});const Te=pe.toObject(),{updated:ve}=await e("/action/".concat(fe,"/save"),{method:"POST",body:{action:Te}});if(!ve)throw new Error("Error saving the Action");return Zt&&console.log({updated:ve}),Xs.fromObject(ve)}catch(Te){throw Zt&&console.error(Te.message||"Error saving the Action"),new Error("Error saving the Action")}}}}var fS;(fS=void 0)==null||fS.toLowerCase();
262const WQ={styles:void 0,tooltips:void 0,toolbarParams:void 0,loadingToolbarParams:!1,toolbarValues:new Map,updateToolbarValue:()=>{},refreshToolbar:()=>{}},kM=$.createContext(WQ);function Bue(){return $.useContext(kM)}function GQ({children:t}){const{hostname:e}=Ds(),{getStyles:r,getTooltips:n,getToolbarParams:i}=HQ(),[s,a]=$.useState(void 0),[l,u]=$.useState(void 0),[p,d]=$.useState(!1),[g,_]=$.useState(void 0),[v,k]=$.useState(new Map);$.useEffect(()=>{e&&(async G=>{const X=await r(G);X&&a(X)})(e)},[e]),$.useEffect(()=>{e&&(async G=>{const X=await n(G);X&&u(X)})(e)},[e]);const O=async F=>{d(!0),i(F).then(G=>{_(G)}).catch(G=>{_(void 0)}).finally(()=>d(!1))};$.useEffect(()=>{e&&O(e)},[e]);const N=$.useCallback(()=>{e&&O(e)},[e]),S=(F,G)=>{k(X=>{const z=new Map(X);return z.set(F.var_name,G),z})},M=(F,G)=>{F&&G&&(localStorage.setItem("toolbar-".concat(F.var_name),JSON.stringify(Pu(G))),S(F,G))};return $.useEffect(()=>{if(g&&g.length>0)try{for(const F of g){const G=localStorage.getItem("toolbar-".concat(F.var_name));if(G!==null){const X=JSON.parse(G);S(F,ho(X))}}}catch(F){console.error(F.message||"Unable to restore toolbar values")}},[e,g]),Re.jsx(kM.Provider,{value:{styles:s,tooltips:l,toolbarParams:g,loadingToolbarParams:p,toolbarValues:v,updateToolbarValue:M,refreshToolbar:N},children:t})}const AM=$.createContext(void 0),MM="stripe_cart";function $Q(){try{const t=localStorage.getItem(MM);if(t)return JSON.parse(t)}catch(t){console.error("Failed to load cart from localStorage:",t)}return[]}function qQ(t){try{localStorage.setItem(MM,JSON.stringify(t))}catch(e){console.error("Failed to save cart to localStorage:",e)}}function VQ({children:t}){const[e,r]=$.useState(()=>$Q()),{hostname:n}=Ds(),{username:i}=aa(),{fetchSecureApi:s}=Y1();$.useEffect(()=>{qQ(e)},[e]);const a=async(N,S)=>{try{await s("/stripe/cart/event",{method:"POST",body:{event_name:N,data:S}}),console.log("[Cart Event] ".concat(N,":"),S)}catch(M){console.error("Failed to write ".concat(N," event:"),M)}},l=(N,S,M=1)=>{r(F=>{const G=F.findIndex(H=>H.product.id===N.id&&H.priceId===S);let X;G>=0?(X=[...F],X[G]={...X[G],quantity:X[G].quantity+M}):X=[...F,{product:N,priceId:S,quantity:M}];const z=X.length,R=X.reduce((H,re)=>H+re.quantity,0);return a("add_to_cart",{product_id:N.id,product_name:N.name,price_id:S,quantity:M,cart_size:z,cart_total_items:R}),X})},u=(N,S)=>{r(M=>{const F=M.find(X=>X.product.id===N&&X.priceId===S),G=M.filter(X=>!(X.product.id===N&&X.priceId===S));if(F){const X=G.length,z=G.reduce((R,H)=>R+H.quantity,0);a("remove_from_cart",{product_id:F.product.id,product_name:F.product.name,price_id:F.priceId,quantity_removed:F.quantity,cart_size:X,cart_total_items:z})}return G})},O={cart:e,addToCart:l,removeFromCart:u,updateQuantity:(N,S,M)=>{if(M<=0){u(N,S);return}r(F=>F.map(G=>G.product.id===N&&G.priceId===S?{...G,quantity:M}:G))},clearCart:()=>{r(N=>{const S=N.length,M=N.reduce((G,X)=>G+X.quantity,0),F=N.map(G=>({product_id:G.product.id,product_name:G.product.name,price_id:G.priceId,quantity:G.quantity}));return a("clear_cart",{items_cleared:S,total_items_cleared:M,products:F}),[]})},getCartTotal:()=>e.reduce((N,S)=>{const M=S.product.prices.find(G=>G.id===S.priceId),F=(M==null?void 0:M.unit_amount)||0;return N+F*S.quantity},0),getCartItemCount:()=>e.reduce((N,S)=>N+S.quantity,0),isInCart:(N,S)=>e.some(M=>M.product.id===N&&M.priceId===S),getCartItem:(N,S)=>e.find(M=>M.product.id===N&&M.priceId===S)};return Re.jsx(AM.Provider,{value:O,children:t})}function Uue(){const t=$.useContext(AM);if(!t)throw new Error("useStripeCart must be used within a StripeCartProvider");return t}function zue(t){var e;if(!t||!t.unit_amount)return"Free";const r=t.unit_amount/100;return new Intl.NumberFormat("en-US",{style:"currency",currency:((e=t.currency)==null?void 0:e.toUpperCase())||"USD"}).format(r)}var Kg={exports:{}};/** 263 * @license 264 * Lodash <https://lodash.com/> 265 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/> 266 * Released under MIT license <https://lodash.com/license> 267 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE> 268 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors 269 */Kg.exports;(function(t,e){(function(){var r,n="4.17.21",i=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",a="Expected a function",l="Invalid `variable` option passed into `_.template`",u="__lodash_hash_undefined__",p=500,d="__lodash_placeholder__",g=1,_=2,v=4,k=1,O=2,N=1,S=2,M=4,F=8,G=16,X=32,z=64,R=128,H=256,re=512,ie=30,q="...",Y=800,Q=16,fe=1,pe=2,Te=3,ve=1/0,xe=9007199254740991,Ye=17976931348623157e292,B=NaN,Ce=4294967295,Pe=Ce-1,le=Ce>>>1,Lt=[["ary",R],["bind",N],["bindKey",S],["curry",F],["curryRight",G],["flip",re],["partial",X],["partialRight",z],["rearg",H]],Ht="[object Arguments]",At="[object Array]",Ke="[object AsyncFunction]",Ve="[object Boolean]",wt="[object Date]",Dt="[object DOMException]",Fe="[object Error]",Ne="[object Function]",K="[object GeneratorFunction]",ee="[object Map]",oe="[object Number]",ge="[object Null]",Oe="[object Object]",U="[object Promise]",C="[object Proxy]",I="[object RegExp]",te="[object Set]",be="[object String]",Le="[object Symbol]",ze="[object Undef
269ined]",Ft="[object WeakMap]",Yt="[object WeakSet]",Ae="[object ArrayBuffer]",We="[object DataView]",ht="[object Float32Array]",Bt="[object Float64Array]",ye="[object Int8Array]",kr="[object Int16Array]",vn="[object Int32Array]",ae="[object Uint8Array]",xn="[object Uint8ClampedArray]",fi="[object Uint16Array]",Mt="[object Uint32Array]",Ri=/\b__p \+= '';/g,jn=/\b(__p \+=) '' \+/g,lt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ga=/&(?:amp|lt|gt|quot|#39);/g,la=/[&<>"']/g,Lo=RegExp(Ga.source),ac=RegExp(la.source),Fn=/<%-([\s\S]+?)%>/g,oc=/<%([\s\S]+?)%>/g,ru=/<%=([\s\S]+?)%>/g,lc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uc=/^\w*$/,cc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bo=/[\\^$.*+?()[\]{}|]/g,Fi=RegExp(Bo.source),Di=/^\s+/,hc=/\s/,nu=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,fc=/\{\n\/\* \[wrapped with (.+)\] \*/,dc=/,? & /,iu=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$a=/[()=,{}\[\]\/\s]/,Uo=/\\(\\)?/g,su=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Hn=/\w*$/,Je=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,au=/^\[object .+?Constructor\]$/,ua=/^0o[0-7]+$/i,Jr=/^(?:0|[1-9]\d*)$/,zo=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u01
vendor: 4,119 bytes, line 269
2697f]/g,J=/($^)/,pc=/['\n\r\u2028\u2029\\]/g,gr="\\ud800-\\udfff",Ar="\\u0300-\\u036f",St="\\ufe20-\\ufe2f",ou="\\u20d0-\\u20ff",jo=Ar+St+ou,f="\\u2700-\\u27bf",m="a-z\\xdf-\\xf6\\xf8-\\xff",w="\\xac\\xb1\\xd7\\xf7",x="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",D="\\u2000-\\u206f",ne=" \\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",Ee="A-Z\\xc0-\\xd6\\xd8-\\xde",et="\\ufe0e\\ufe0f",Qt=w+x+D+ne,cn="['â]",ca="["+gr+"]",oh="["+Qt+"]",mc="["+jo+"]",ha="\\d+",lu="["+f+"]",gc="["+m+"]",fa="[^"+gr+Qt+ha+f+m+Ee+"]",uu="\\ud83c[\\udffb-\\udfff]",HI="(?:"+mc+"|"+uu+")",O6="[^"+gr+"]",E_="(?:\\ud83c[\\udde6-\\uddff]){2}",S_="[\\ud800-\\udbff][\\udc00-\\udfff]",_c="["+Ee+"]",I6="\\u200d",R6="(?:"+gc+"|"+fa+")",WI="(?:"+_c+"|"+fa+")",F6="(?:"+cn+"(?:d|ll|m|re|s|t|ve))?",D6="(?:"+cn+"(?:D|LL|M|RE|S|T|VE))?",N6=HI+"?",P6="["+et+"]?",GI="(?:"+I6+"(?:"+[O6,E_,S_].join("|")+")"+P6+N6+")*",$I="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",qI="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",L6=P6+N6+GI,VI="(?:"+[lu,E_,S_].join("|")+")"+L6,YI="(?:"+[O6+mc+"?",mc,E_,S_,ca].join("|")+")",KI=RegExp(cn,"g"),XI=RegExp(mc,"g"),T_=RegExp(uu+"(?="+uu+")|"+YI+L6,"g"),QI=RegExp([_c+"?"+gc+"+"+F6+"(?="+[oh,_c,"$"].join("|")+")",WI+"+"+D6+"(?="+[oh,_c+R6,"$"].join("|")+")",_c+"?"+R6+"+"+F6,_c+"+"+D6,qI,$I,ha,VI].join("|"),"g"),JI=RegExp("["+I6+gr+jo+et+"]"),ZI=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,eR=["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"],tR=-1,Nr={};Nr[ht]=Nr[Bt]=Nr[ye]=Nr[kr]=Nr[vn]=Nr[ae]=Nr[xn]=Nr[fi]=Nr[Mt]=!0,Nr[Ht]=Nr[At]=Nr[Ae]=Nr[Ve]=Nr[We]=Nr[wt]=Nr[Fe]=Nr[Ne]=Nr[ee]=Nr[oe]=Nr[Oe]=Nr[I]=Nr[te]=Nr[be]=Nr[Ft]=!1;var Mr={};Mr[Ht]=Mr[At]=Mr[Ae]=Mr[We]=Mr[Ve]=Mr[wt]=Mr[ht]=Mr[Bt]=Mr[ye]=Mr[kr]=Mr[vn]=Mr[ee]=Mr[oe]=Mr[Oe]=Mr[I]=Mr[te]=Mr[be]=Mr[Le]=Mr[ae]=Mr[xn]=Mr[fi]=Mr[Mt]=!0,Mr[Fe]=Mr[Ne]=Mr[Ft]=!1;var rR={Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã:"A",Ã
:"A",à :"a",á:"a",â:"a",ã:"a",ä:"a",Ã¥:"a",Ã:"C",ç:"c",Ã:"D",ð:"d",Ã:"E",Ã:"E",Ã:"E",Ã:"E",è:"e",é:"e",ê:"e",ë:"e",Ã:"I",Ã:"I",Ã:"I",Ã:"I",ì:"i",Ã:"i",î:"i",ï:"i",Ã:"N",ñ:"n",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",Ã:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ã:"U",Ã:"U",Ã:"U",Ã:"U",ù:"u",ú:"u",û:"u",ü:"u",Ã:"Y",ý:"y",ÿ:"y",Ã:"Ae",æ:"ae",Ã:"Th",þ:"th",Ã:"ss",Ä:"A",Ä:"A",Ä:"A",Ä:"a",Ä:"a",Ä
:"a",Ä:"C",Ä:"C",Ä:"C",Ä:"C",Ä:"c",Ä:"c",Ä:"c",Ä:"c",Ä:"D",Ä:"D",Ä:"d",Ä:"d",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"E",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"e",Ä:"G",Ä:"G",Ä :"G",Ä¢:"G",Ä:"g",Ä:"g",Ä¡:"g",Ä£:"g",Ĥ:"H",Ħ:"H",Ä¥:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Ä®:"I",İ:"I",Ä©:"i",Ä«:"i",Ä:"i",į:"i",ı:"i",Ä´:"J",ĵ:"j",Ķ:"K",Ä·:"k",ĸ:"k",Ĺ:"L",Ä»:"L",Ľ:"L",Ä¿:"L",Å:"L",ĺ:"l",ļ:"l",ľ:"l",Å:"l",Å:"l",Å:"N",Å
:"N",Å:"N",Å:"N",Å:"n",Å:"n",Å:"n",Å:"n",Å:"O",Å:"O",Å:"O",Å:"o",Å:"o",Å:"o",Å:"R",Å:"R",Å:"R",Å:"r",Å:"r",Å:"r",Å:"S",Å:"S",Å:"S",Å :"S",Å:"s",Å:"s",Å:"s",Å¡:"s",Å¢:"T",Ť:"T",Ŧ:"T",Å£:"t",Å¥:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Å®:"U",Ű:"U",Ų:"U",Å©:"u",Å«:"u",Å:"u",ů:"u",ű:"u",ų:"u",Å´:"W",ŵ:"w",Ŷ:"Y",Å·:"y",Ÿ:"Y",Ź:"Z",Å»:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Å:"Oe",Å:"oe",Å:"'n",Å¿:"s"},nR={"&":"&","<":"<",">":">",'"':""","'":"'"},iR={"&":"&","<":"<",">":">",""":'"',"'":"'"},sR={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},aR=parseFloat,oR=parseInt,B6=typeof Kn=="object"&&Kn&&Kn.Object===Object&&Kn,lR=typeof self=="object"&&self&&self.Object===Object&&self,Dn=B6||lR||Function("return this")(),x_=e&&!e.nodeType&&e,cu=x_&&!0&&t&&!t.nodeType&&t,U6=cu&&cu.exports===x_,k_=U6&&B6.process,rs=function(){try{var we=cu&&cu.require&&cu.require("util").t
vendor: 8,283 bytes, line 269
269ypes;return we||k_&&k_.binding&&k_.binding("util")}catch{}}(),z6=rs&&rs.isArrayBuffer,j6=rs&&rs.isDate,H6=rs&&rs.isMap,W6=rs&&rs.isRegExp,G6=rs&&rs.isSet,$6=rs&&rs.isTypedArray;function Ni(we,Ue,Ie){switch(Ie.length){case 0:return we.call(Ue);case 1:return we.call(Ue,Ie[0]);case 2:return we.call(Ue,Ie[0],Ie[1]);case 3:return we.call(Ue,Ie[0],Ie[1],Ie[2])}return we.apply(Ue,Ie)}function uR(we,Ue,Ie,gt){for(var Ut=-1,hr=we==null?0:we.length;++Ut<hr;){var bn=we[Ut];Ue(gt,bn,Ie(bn),we)}return gt}function ns(we,Ue){for(var Ie=-1,gt=we==null?0:we.length;++Ie<gt&&Ue(we[Ie],Ie,we)!==!1;);return we}function cR(we,Ue){for(var Ie=we==null?0:we.length;Ie--&&Ue(we[Ie],Ie,we)!==!1;);return we}function q6(we,Ue){for(var Ie=-1,gt=we==null?0:we.length;++Ie<gt;)if(!Ue(we[Ie],Ie,we))return!1;return!0}function Ho(we,Ue){for(var Ie=-1,gt=we==null?0:we.length,Ut=0,hr=[];++Ie<gt;){var bn=we[Ie];Ue(bn,Ie,we)&&(hr[Ut++]=bn)}return hr}function Ud(we,Ue){var Ie=we==null?0:we.length;return!!Ie&&yc(we,Ue,0)>-1}function A_(we,Ue,Ie){for(var gt=-1,Ut=we==null?0:we.length;++gt<Ut;)if(Ie(Ue,we[gt]))return!0;return!1}function zr(we,Ue){for(var Ie=-1,gt=we==null?0:we.length,Ut=Array(gt);++Ie<gt;)Ut[Ie]=Ue(we[Ie],Ie,we);return Ut}function Wo(we,Ue){for(var Ie=-1,gt=Ue.length,Ut=we.length;++Ie<gt;)we[Ut+Ie]=Ue[Ie];return we}function M_(we,Ue,Ie,gt){var Ut=-1,hr=we==null?0:we.length;for(gt&&hr&&(Ie=we[++Ut]);++Ut<hr;)Ie=Ue(Ie,we[Ut],Ut,we);return Ie}function hR(we,Ue,Ie,gt){var Ut=we==null?0:we.length;for(gt&&Ut&&(Ie=we[--Ut]);Ut--;)Ie=Ue(Ie,we[Ut],Ut,we);return Ie}function C_(we,Ue){for(var Ie=-1,gt=we==null?0:we.length;++Ie<gt;)if(Ue(we[Ie],Ie,we))return!0;return!1}var fR=O_("length");function dR(we){return we.split("")}function pR(we){return we.match(iu)||[]}function V6(we,Ue,Ie){var gt;return Ie(we,function(Ut,hr,bn){if(Ue(Ut,hr,bn))return gt=hr,!1}),gt}function zd(we,Ue,Ie,gt){for(var Ut=we.length,hr=Ie+(gt?1:-1);gt?hr--:++hr<Ut;)if(Ue(we[hr],hr,we))return hr;return-1}function yc(we,Ue,Ie){return Ue===Ue?kR(we,Ue,Ie):zd(we,Y6,Ie)}function mR(we,Ue,Ie,gt){for(var Ut=Ie-1,hr=we.length;++Ut<hr;)if(gt(we[Ut],Ue))return Ut;return-1}function Y6(we){return we!==we}function K6(we,Ue){var Ie=we==null?0:we.length;return Ie?R_(we,Ue)/Ie:B}function O_(we){return function(Ue){return Ue==null?r:Ue[we]}}function I_(we){return function(Ue){return we==null?r:we[Ue]}}function X6(we,Ue,Ie,gt,Ut){return Ut(we,function(hr,bn,Er){Ie=gt?(gt=!1,hr):Ue(Ie,hr,bn,Er)}),Ie}function gR(we,Ue){var Ie=we.length;for(we.sort(Ue);Ie--;)we[Ie]=we[Ie].value;return we}function R_(we,Ue){for(var Ie,gt=-1,Ut=we.length;++gt<Ut;){var hr=Ue(we[gt]);hr!==r&&(Ie=Ie===r?hr:Ie+hr)}return Ie}function F_(we,Ue){for(var Ie=-1,gt=Array(we);++Ie<we;)gt[Ie]=Ue(Ie);return gt}function _R(we,Ue){return zr(Ue,function(Ie){return[Ie,we[Ie]]})}function Q6(we){return we&&we.slice(0,tw(we)+1).replace(Di,"")}function Pi(we){return function(Ue){return we(Ue)}}function D_(we,Ue){return zr(Ue,function(Ie){return we[Ie]})}function lh(we,Ue){return we.has(Ue)}function J6(we,Ue){for(var Ie=-1,gt=we.length;++Ie<gt&&yc(Ue,we[Ie],0)>-1;);return Ie}function Z6(we,Ue){for(var Ie=we.length;Ie--&&yc(Ue,we[Ie],0)>-1;);return Ie}function yR(we,Ue){for(var Ie=we.length,gt=0;Ie--;)we[Ie]===Ue&&++gt;return gt}var vR=I_(rR),bR=I_(nR);function wR(we){return"\\"+sR[we]}function ER(we,Ue){return we==null?r:we[Ue]}function vc(we){return JI.test(we)}function SR(we){return ZI.test(we)}function TR(we){for(var Ue,Ie=[];!(Ue=we.next()).done;)Ie.push(Ue.value);return Ie}function N_(we){var Ue=-1,Ie=Array(we.size);return we.forEach(function(gt,Ut){Ie[++Ue]=[Ut,gt]}),Ie}function ew(we,Ue){return function(Ie){return we(Ue(Ie))}}function Go(we,Ue){for(var Ie=-1,gt=we.length,Ut=0,hr=[];++Ie<gt;){var bn=we[Ie];(bn===Ue||bn===d)&&(we[Ie]=d,hr[Ut++]=Ie)}return hr}function jd(we){var Ue=-1,Ie=Array(we.size);return we.forEach(function(gt){Ie[++Ue]=gt}),Ie}function xR(we){var Ue=-1,Ie=Array(we.size);return we.forEach(function(gt){Ie[++Ue]=[gt,gt]}),Ie}function kR(we,Ue,Ie){for(var gt=Ie-1,Ut=we.length;++gt<Ut;)if(we[gt]===Ue)return gt;return-1}function AR(we,Ue,Ie){for(var gt=Ie+1;gt--;)if(we[gt]===Ue)return gt;return gt}function bc(we){return vc(we)?CR(we):fR(we)}function Bs(we){return vc(we)?OR(we):dR(we)}function tw(we){for(var Ue=we.length;Ue--&&hc.test(we.charAt(Ue)););return Ue}var MR=I_(iR);function CR(we){for(var Ue=T_.lastIndex=0;T_.test(we);)++Ue;return Ue}function OR(we){return we.match(T_)||[]}function IR(we){return we.match(QI)||[]}var RR=function we(Ue){Ue=Ue==null?Dn:wc.defaults(Dn.Object(),Ue,wc.pick(Dn,eR));var Ie=Ue.Array,gt=Ue.Date,Ut=Ue.Error,hr=Ue.Function,bn=Ue.Math,Er=Ue.Object,P_=Ue.RegExp,FR=Ue.String,is=Ue.TypeError,Hd=Ie.prototype,DR=hr.prototype,Ec=Er.prototype,Wd=Ue["__core-js_shared__"],Gd=DR.toString,_r=Ec.hasOwnProperty,NR=0,rw=function(){var o=/[^.]+$/.exec(Wd&&Wd.keys&&Wd.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}(),$d=Ec.toString,PR=Gd.call(Er),LR=Dn._,BR=P_("^"+Gd.call(_r).replace(Bo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qd=U6?Ue.Buffer:r,$o=Ue.Symbol,Vd=Ue.Uint8Array,nw=qd?qd.allocUnsafe:r,Yd=ew(Er.getPrototypeOf,Er),iw=Er.create,sw=Ec.propertyIsEnumerable,Kd=Hd.splice,aw=$o?$o.isConcatSpreadable:r,uh=$o?$o.iterator:r,hu=$o?$o.toStringTag:r,Xd=function(){try{var o=gu(Er,"defineProperty");return o({},"",{}),o}catch{}}(),UR=Ue.clearTimeout!==Dn.clearTimeout&&Ue.clearTimeout,zR=gt&>.now!==Dn.Date.now&>.now,jR=Ue.setTimeout!==Dn.setTimeout&&Ue.setTimeout,Qd=bn.ceil,Jd=bn.floor,L_=Er.getOwnPropertySymbols,HR=qd?qd.isBuffer:r,ow=Ue.isFinite,WR=Hd.join,GR=ew(Er.keys,Er),wn=bn.max,Wn=bn.min,$R=gt.now,qR=Ue.parseInt,lw=bn.random,VR=Hd.reverse,B_=gu(Ue,"DataView"),ch=gu(Ue,"Map"),U_=gu(Ue,"Promise"),Sc=gu(Ue,"Set"),hh=gu(Ue,"WeakMap"),fh=gu(Er,"create"),Zd=hh&&new hh,Tc={},YR=_u(B_),KR=_u(ch),XR=_u(U_),QR=_u(Sc),JR=_u(hh),ep=$o?$o.prototype:r,dh=ep?ep.valueOf:r,uw=ep?ep.toString:r;function j(o){if(Zr(o)&&!zt(o)&&!(o instanceof ir)){if(o instanceof ss)return o;if(_r.call(o,"__wrapped__"))return c5(o)}return new ss(o)}var xc=function(){function o(){}return function(h){if(!$r(h))return{};if(iw)return iw(h);o.prototype=h;var y=new o;return o.prototype=r,y}}();function tp(){}function ss(o,h){this.__wrapped__=o,this.__actions__=[],this.__chain__=!!h,this.__index__=0,this.__values__=r}j.templateSettings={escape:Fn,evaluate:oc,interpolate:ru,variable:"",imports:{_:j}},j.prototype=tp.prototype,j.prototype.constructor=j,ss.prototype=xc(tp.prototype),ss.prototype.constructor=ss;function ir(o){this.__wrapped__=o,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ce,this.__views__=[]}function ZR(){var o=new ir(this.__wrapped__);return o.__actions__=di(this.__actions__),o.__dir__=this.__dir__,o.__filtered__=this.__filtered__,o.__iteratees__=di(this.__iteratees__),o.__takeCount__=this.__takeCount__,o.__views__=di(this.__views__),o}function eF(){if(this.__filtered__){var o=new ir(this);o.__dir__=-1,o.__filtered__=!0}else o=this.clone(),o.__dir__*=-1;return o}function tF(){var o=this.__wrapped__.value(),h=this.__dir__,y=zt(o),T=h<0,P=y?o.length:0,V=dD(0,P,this.__views__),ce=V.start,me=V.end,Se=me-ce,je=T?me:ce-1,He=this.__iteratees__,Ge=He.length,dt=0,yt=Wn(Se,this.__takeCount__);if(!y||!T&&P==Se&&yt==Se)return Fw(o,this.__actions__);var It=[];e:for(;Se--&&dt<yt;){je+=h;for(var Kt=-1,Rt=o[je];++Kt<Ge;){var rr=He[Kt],or=rr.iteratee,Ui=rr.type,ri=or(Rt);if(Ui==pe)Rt=ri;else if(!ri){if(Ui==fe)continue e;break e}}It[dt++]=Rt}return It}ir.prototype=xc(tp.prototype),ir.prototype.constructor=ir;function fu(o){var h=-1,y=o==null?0:o.length;for(this.clear();++h<y;){var T=o[h];this.set(T[0],T[1])}}function rF(){this.__data__=fh?fh(null):{},this.size=0}function nF(o){var h=this.has(o)&&delete this.__data__[o];return this.size-=h?1:0,h}function iF(o){var h=this.__data__;if(fh){var y=h[o];return y===u?r:y}return _r.call(h,o)?h[o]:r}function sF(o){var h=this.__data__;return fh?h[o]!==r:_r.call(h,o)}function aF(o,h){var y=this.__data__;return this.size+=this.has(o)?0:1,y[o]=fh&&h===r?u:h,this}fu.prototype.clear=rF,fu.prototype.delete=nF,fu.prototype.get=iF,fu.prototype.has=sF,fu.prototype.set=aF;function qa(o){var h=-1,y=o==null?0:o.length;for(this.clear();
vendor: 8,364 bytes, line 269
269++h<y;){var T=o[h];this.set(T[0],T[1])}}function oF(){this.__data__=[],this.size=0}function lF(o){var h=this.__data__,y=rp(h,o);if(y<0)return!1;var T=h.length-1;return y==T?h.pop():Kd.call(h,y,1),--this.size,!0}function uF(o){var h=this.__data__,y=rp(h,o);return y<0?r:h[y][1]}function cF(o){return rp(this.__data__,o)>-1}function hF(o,h){var y=this.__data__,T=rp(y,o);return T<0?(++this.size,y.push([o,h])):y[T][1]=h,this}qa.prototype.clear=oF,qa.prototype.delete=lF,qa.prototype.get=uF,qa.prototype.has=cF,qa.prototype.set=hF;function Va(o){var h=-1,y=o==null?0:o.length;for(this.clear();++h<y;){var T=o[h];this.set(T[0],T[1])}}function fF(){this.size=0,this.__data__={hash:new fu,map:new(ch||qa),string:new fu}}function dF(o){var h=pp(this,o).delete(o);return this.size-=h?1:0,h}function pF(o){return pp(this,o).get(o)}function mF(o){return pp(this,o).has(o)}function gF(o,h){var y=pp(this,o),T=y.size;return y.set(o,h),this.size+=y.size==T?0:1,this}Va.prototype.clear=fF,Va.prototype.delete=dF,Va.prototype.get=pF,Va.prototype.has=mF,Va.prototype.set=gF;function du(o){var h=-1,y=o==null?0:o.length;for(this.__data__=new Va;++h<y;)this.add(o[h])}function _F(o){return this.__data__.set(o,u),this}function yF(o){return this.__data__.has(o)}du.prototype.add=du.prototype.push=_F,du.prototype.has=yF;function Us(o){var h=this.__data__=new qa(o);this.size=h.size}function vF(){this.__data__=new qa,this.size=0}function bF(o){var h=this.__data__,y=h.delete(o);return this.size=h.size,y}function wF(o){return this.__data__.get(o)}function EF(o){return this.__data__.has(o)}function SF(o,h){var y=this.__data__;if(y instanceof qa){var T=y.__data__;if(!ch||T.length<i-1)return T.push([o,h]),this.size=++y.size,this;y=this.__data__=new Va(T)}return y.set(o,h),this.size=y.size,this}Us.prototype.clear=vF,Us.prototype.delete=bF,Us.prototype.get=wF,Us.prototype.has=EF,Us.prototype.set=SF;function cw(o,h){var y=zt(o),T=!y&&yu(o),P=!y&&!T&&Xo(o),V=!y&&!T&&!P&&Cc(o),ce=y||T||P||V,me=ce?F_(o.length,FR):[],Se=me.length;for(var je in o)(h||_r.call(o,je))&&!(ce&&(je=="length"||P&&(je=="offset"||je=="parent")||V&&(je=="buffer"||je=="byteLength"||je=="byteOffset")||Qa(je,Se)))&&me.push(je);return me}function hw(o){var h=o.length;return h?o[X_(0,h-1)]:r}function TF(o,h){return mp(di(o),pu(h,0,o.length))}function xF(o){return mp(di(o))}function z_(o,h,y){(y!==r&&!zs(o[h],y)||y===r&&!(h in o))&&Ya(o,h,y)}function ph(o,h,y){var T=o[h];(!(_r.call(o,h)&&zs(T,y))||y===r&&!(h in o))&&Ya(o,h,y)}function rp(o,h){for(var y=o.length;y--;)if(zs(o[y][0],h))return y;return-1}function kF(o,h,y,T){return qo(o,function(P,V,ce){h(T,P,y(P),ce)}),T}function fw(o,h){return o&&pa(h,kn(h),o)}function AF(o,h){return o&&pa(h,mi(h),o)}function Ya(o,h,y){h=="__proto__"&&Xd?Xd(o,h,{configurable:!0,enumerable:!0,value:y,writable:!0}):o[h]=y}function j_(o,h){for(var y=-1,T=h.length,P=Ie(T),V=o==null;++y<T;)P[y]=V?r:wy(o,h[y]);return P}function pu(o,h,y){return o===o&&(y!==r&&(o=o<=y?o:y),h!==r&&(o=o>=h?o:h)),o}function as(o,h,y,T,P,V){var ce,me=h&g,Se=h&_,je=h&v;if(y&&(ce=P?y(o,T,P,V):y(o)),ce!==r)return ce;if(!$r(o))return o;var He=zt(o);if(He){if(ce=mD(o),!me)return di(o,ce)}else{var Ge=Gn(o),dt=Ge==Ne||Ge==K;if(Xo(o))return Pw(o,me);if(Ge==Oe||Ge==Ht||dt&&!P){if(ce=Se||dt?{}:t5(o),!me)return Se?iD(o,AF(ce,o)):nD(o,fw(ce,o))}else{if(!Mr[Ge])return P?o:{};ce=gD(o,Ge,me)}}V||(V=new Us);var yt=V.get(o);if(yt)return yt;V.set(o,ce),O5(o)?o.forEach(function(Rt){ce.add(as(Rt,h,y,Rt,o,V))}):M5(o)&&o.forEach(function(Rt,rr){ce.set(rr,as(Rt,h,y,rr,o,V))});var It=je?Se?oy:ay:Se?mi:kn,Kt=He?r:It(o);return ns(Kt||o,function(Rt,rr){Kt&&(rr=Rt,Rt=o[rr]),ph(ce,rr,as(Rt,h,y,rr,o,V))}),ce}function MF(o){var h=kn(o);return function(y){return dw(y,o,h)}}function dw(o,h,y){var T=y.length;if(o==null)return!T;for(o=Er(o);T--;){var P=y[T],V=h[P],ce=o[P];if(ce===r&&!(P in o)||!V(ce))return!1}return!0}function pw(o,h,y){if(typeof o!="function")throw new is(a);return wh(function(){o.apply(r,y)},h)}function mh(o,h,y,T){var P=-1,V=Ud,ce=!0,me=o.length,Se=[],je=h.length;if(!me)return Se;y&&(h=zr(h,Pi(y))),T?(V=A_,ce=!1):h.length>=i&&(V=lh,ce=!1,h=new du(h));e:for(;++P<me;){var He=o[P],Ge=y==null?He:y(He);if(He=T||He!==0?He:0,ce&&Ge===Ge){for(var dt=je;dt--;)if(h[dt]===Ge)continue e;Se.push(He)}else V(h,Ge,T)||Se.push(He)}return Se}var qo=jw(da),mw=jw(W_,!0);function CF(o,h){var y=!0;return qo(o,function(T,P,V){return y=!!h(T,P,V),y}),y}function np(o,h,y){for(var T=-1,P=o.length;++T<P;){var V=o[T],ce=h(V);if(ce!=null&&(me===r?ce===ce&&!Bi(ce):y(ce,me)))var me=ce,Se=V}return Se}function OF(o,h,y,T){var P=o.length;for(y=Wt(y),y<0&&(y=-y>P?0:P+y),T=T===r||T>P?P:Wt(T),T<0&&(T+=P),T=y>T?0:R5(T);y<T;)o[y++]=h;return o}function gw(o,h){var y=[];return qo(o,function(T,P,V){h(T,P,V)&&y.push(T)}),y}function Nn(o,h,y,T,P){var V=-1,ce=o.length;for(y||(y=yD),P||(P=[]);++V<ce;){var me=o[V];h>0&&y(me)?h>1?Nn(me,h-1,y,T,P):Wo(P,me):T||(P[P.length]=me)}return P}var H_=Hw(),_w=Hw(!0);function da(o,h){return o&&H_(o,h,kn)}function W_(o,h){return o&&_w(o,h,kn)}function ip(o,h){return Ho(h,function(y){return Ja(o[y])})}function mu(o,h){h=Yo(h,o);for(var y=0,T=h.length;o!=null&&y<T;)o=o[ma(h[y++])];return y&&y==T?o:r}function yw(o,h,y){var T=h(o);return zt(o)?T:Wo(T,y(o))}function ei(o){return o==null?o===r?ze:ge:hu&&hu in Er(o)?fD(o):xD(o)}function G_(o,h){return o>h}function IF(o,h){return o!=null&&_r.call(o,h)}function RF(o,h){return o!=null&&h in Er(o)}function FF(o,h,y){return o>=Wn(h,y)&&o<wn(h,y)}function $_(o,h,y){for(var T=y?A_:Ud,P=o[0].length,V=o.length,ce=V,me=Ie(V),Se=1/0,je=[];ce--;){var He=o[ce];ce&&h&&(He=zr(He,Pi(h))),Se=Wn(He.length,Se),me[ce]=!y&&(h||P>=120&&He.length>=120)?new du(ce&&He):r}He=o[0];var Ge=-1,dt=me[0];e:for(;++Ge<P&&je.length<Se;){var yt=He[Ge],It=h?h(yt):yt;if(yt=y||yt!==0?yt:0,!(dt?lh(dt,It):T(je,It,y))){for(ce=V;--ce;){var Kt=me[ce];if(!(Kt?lh(Kt,It):T(o[ce],It,y)))continue e}dt&&dt.push(It),je.push(yt)}}return je}function DF(o,h,y,T){return da(o,function(P,V,ce){h(T,y(P),V,ce)}),T}function gh(o,h,y){h=Yo(h,o),o=s5(o,h);var T=o==null?o:o[ma(ls(h))];return T==null?r:Ni(T,o,y)}function vw(o){return Zr(o)&&ei(o)==Ht}function NF(o){return Zr(o)&&ei(o)==Ae}function PF(o){return Zr(o)&&ei(o)==wt}function _h(o,h,y,T,P){return o===h?!0:o==null||h==null||!Zr(o)&&!Zr(h)?o!==o&&h!==h:LF(o,h,y,T,_h,P)}function LF(o,h,y,T,P,V){var ce=zt(o),me=zt(h),Se=ce?At:Gn(o),je=me?At:Gn(h);Se=Se==Ht?Oe:Se,je=je==Ht?Oe:je;var He=Se==Oe,Ge=je==Oe,dt=Se==je;if(dt&&Xo(o)){if(!Xo(h))return!1;ce=!0,He=!1}if(dt&&!He)return V||(V=new Us),ce||Cc(o)?Jw(o,h,y,T,P,V):cD(o,h,Se,y,T,P,V);if(!(y&k)){var yt=He&&_r.call(o,"__wrapped__"),It=Ge&&_r.call(h,"__wrapped__");if(yt||It){var Kt=yt?o.value():o,Rt=It?h.value():h;return V||(V=new Us),P(Kt,Rt,y,T,V)}}return dt?(V||(V=new Us),hD(o,h,y,T,P,V)):!1}function BF(o){return Zr(o)&&Gn(o)==ee}function q_(o,h,y,T){var P=y.length,V=P,ce=!T;if(o==null)return!V;for(o=Er(o);P--;){var me=y[P];if(ce&&me[2]?me[1]!==o[me[0]]:!(me[0]in o))return!1}for(;++P<V;){me=y[P];var Se=me[0],je=o[Se],He=me[1];if(ce&&me[2]){if(je===r&&!(Se in o))return!1}else{var Ge=new Us;if(T)var dt=T(je,He,Se,o,h,Ge);if(!(dt===r?_h(He,je,k|O,T,Ge):dt))return!1}}return!0}function bw(o){if(!$r(o)||bD(o))return!1;var h=Ja(o)?BR:au;return h.test(_u(o))}function UF(o){return Zr(o)&&ei(o)==I}function zF(o){return Zr(o)&&Gn(o)==te}function jF(o){return Zr(o)&&wp(o.length)&&!!Nr[ei(o)]}function ww(o){return typeof o=="function"?o:o==null?gi:typeof o=="object"?zt(o)?Tw(o[0],o[1]):Sw(o):W5(o)}function V_(o){if(!bh(o))return GR(o);var h=[];for(var y in Er(o))_r.call(o,y)&&y!="constructor"&&h.push(y);return h}function HF(o){if(!$r(o))return TD(o);var h=bh(o),y=[];for(var T in o)T=="constructor"&&(h||!_r.call(o,T))||y.push(T);return y}function Y_(o,h){return o<h}function Ew(o,h){var y=-1,T=pi(o)?Ie(o.length):[];return qo(o,function(P,V,ce){T[++y]=h(P,V,ce)}),T}function Sw(o){var h=uy(o);return h.length==1&&h[0][2]?n5(h[0][0],h[0][1]):function(y){return y===o||q_(y,o,h)}}function Tw(o,h){return hy(o)&&r5(h)?n5(ma(o),h):function(y){var T=wy(y,o);return T===r&&T===h?Ey(y,o):_h(h,T,k|O)}}function sp(o,h,y,T,P){o!==h&&H_(h,function(V,ce){if(P||(P=new Us),$r(V))WF(o,h,ce,y,sp,T,P);else{var me=T?T(dy(o,ce),V,ce+"",o,h,P):r;me===r&&(me=V),z_(o,ce,me)}},mi)}function WF(o,h,y,T,P,V,ce){var me=dy(o,y),Se=dy(h,y),je=ce.get(Se);if(je){z_(o,y,je);return}
vendor: 9,864 bytes, line 269
269var He=V?V(me,Se,y+"",o,h,ce):r,Ge=He===r;if(Ge){var dt=zt(Se),yt=!dt&&Xo(Se),It=!dt&&!yt&&Cc(Se);He=Se,dt||yt||It?zt(me)?He=me:rn(me)?He=di(me):yt?(Ge=!1,He=Pw(Se,!0)):It?(Ge=!1,He=Lw(Se,!0)):He=[]:Eh(Se)||yu(Se)?(He=me,yu(me)?He=F5(me):(!$r(me)||Ja(me))&&(He=t5(Se))):Ge=!1}Ge&&(ce.set(Se,He),P(He,Se,T,V,ce),ce.delete(Se)),z_(o,y,He)}function xw(o,h){var y=o.length;if(y)return h+=h<0?y:0,Qa(h,y)?o[h]:r}function kw(o,h,y){h.length?h=zr(h,function(V){return zt(V)?function(ce){return mu(ce,V.length===1?V[0]:V)}:V}):h=[gi];var T=-1;h=zr(h,Pi(Ct()));var P=Ew(o,function(V,ce,me){var Se=zr(h,function(je){return je(V)});return{criteria:Se,index:++T,value:V}});return gR(P,function(V,ce){return rD(V,ce,y)})}function GF(o,h){return Aw(o,h,function(y,T){return Ey(o,T)})}function Aw(o,h,y){for(var T=-1,P=h.length,V={};++T<P;){var ce=h[T],me=mu(o,ce);y(me,ce)&&yh(V,Yo(ce,o),me)}return V}function $F(o){return function(h){return mu(h,o)}}function K_(o,h,y,T){var P=T?mR:yc,V=-1,ce=h.length,me=o;for(o===h&&(h=di(h)),y&&(me=zr(o,Pi(y)));++V<ce;)for(var Se=0,je=h[V],He=y?y(je):je;(Se=P(me,He,Se,T))>-1;)me!==o&&Kd.call(me,Se,1),Kd.call(o,Se,1);return o}function Mw(o,h){for(var y=o?h.length:0,T=y-1;y--;){var P=h[y];if(y==T||P!==V){var V=P;Qa(P)?Kd.call(o,P,1):Z_(o,P)}}return o}function X_(o,h){return o+Jd(lw()*(h-o+1))}function qF(o,h,y,T){for(var P=-1,V=wn(Qd((h-o)/(y||1)),0),ce=Ie(V);V--;)ce[T?V:++P]=o,o+=y;return ce}function Q_(o,h){var y="";if(!o||h<1||h>xe)return y;do h%2&&(y+=o),h=Jd(h/2),h&&(o+=o);while(h);return y}function Xt(o,h){return py(i5(o,h,gi),o+"")}function VF(o){return hw(Oc(o))}function YF(o,h){var y=Oc(o);return mp(y,pu(h,0,y.length))}function yh(o,h,y,T){if(!$r(o))return o;h=Yo(h,o);for(var P=-1,V=h.length,ce=V-1,me=o;me!=null&&++P<V;){var Se=ma(h[P]),je=y;if(Se==="__proto__"||Se==="constructor"||Se==="prototype")return o;if(P!=ce){var He=me[Se];je=T?T(He,Se,me):r,je===r&&(je=$r(He)?He:Qa(h[P+1])?[]:{})}ph(me,Se,je),me=me[Se]}return o}var Cw=Zd?function(o,h){return Zd.set(o,h),o}:gi,KF=Xd?function(o,h){return Xd(o,"toString",{configurable:!0,enumerable:!1,value:Ty(h),writable:!0})}:gi;function XF(o){return mp(Oc(o))}function os(o,h,y){var T=-1,P=o.length;h<0&&(h=-h>P?0:P+h),y=y>P?P:y,y<0&&(y+=P),P=h>y?0:y-h>>>0,h>>>=0;for(var V=Ie(P);++T<P;)V[T]=o[T+h];return V}function QF(o,h){var y;return qo(o,function(T,P,V){return y=h(T,P,V),!y}),!!y}function ap(o,h,y){var T=0,P=o==null?T:o.length;if(typeof h=="number"&&h===h&&P<=le){for(;T<P;){var V=T+P>>>1,ce=o[V];ce!==null&&!Bi(ce)&&(y?ce<=h:ce<h)?T=V+1:P=V}return P}return J_(o,h,gi,y)}function J_(o,h,y,T){var P=0,V=o==null?0:o.length;if(V===0)return 0;h=y(h);for(var ce=h!==h,me=h===null,Se=Bi(h),je=h===r;P<V;){var He=Jd((P+V)/2),Ge=y(o[He]),dt=Ge!==r,yt=Ge===null,It=Ge===Ge,Kt=Bi(Ge);if(ce)var Rt=T||It;else je?Rt=It&&(T||dt):me?Rt=It&&dt&&(T||!yt):Se?Rt=It&&dt&&!yt&&(T||!Kt):yt||Kt?Rt=!1:Rt=T?Ge<=h:Ge<h;Rt?P=He+1:V=He}return Wn(V,Pe)}function Ow(o,h){for(var y=-1,T=o.length,P=0,V=[];++y<T;){var ce=o[y],me=h?h(ce):ce;if(!y||!zs(me,Se)){var Se=me;V[P++]=ce===0?0:ce}}return V}function Iw(o){return typeof o=="number"?o:Bi(o)?B:+o}function Li(o){if(typeof o=="string")return o;if(zt(o))return zr(o,Li)+"";if(Bi(o))return uw?uw.call(o):"";var h=o+"";return h=="0"&&1/o==-ve?"-0":h}function Vo(o,h,y){var T=-1,P=Ud,V=o.length,ce=!0,me=[],Se=me;if(y)ce=!1,P=A_;else if(V>=i){var je=h?null:lD(o);if(je)return jd(je);ce=!1,P=lh,Se=new du}else Se=h?[]:me;e:for(;++T<V;){var He=o[T],Ge=h?h(He):He;if(He=y||He!==0?He:0,ce&&Ge===Ge){for(var dt=Se.length;dt--;)if(Se[dt]===Ge)continue e;h&&Se.push(Ge),me.push(He)}else P(Se,Ge,y)||(Se!==me&&Se.push(Ge),me.push(He))}return me}function Z_(o,h){return h=Yo(h,o),o=s5(o,h),o==null||delete o[ma(ls(h))]}function Rw(o,h,y,T){return yh(o,h,y(mu(o,h)),T)}function op(o,h,y,T){for(var P=o.length,V=T?P:-1;(T?V--:++V<P)&&h(o[V],V,o););return y?os(o,T?0:V,T?V+1:P):os(o,T?V+1:0,T?P:V)}function Fw(o,h){var y=o;return y instanceof ir&&(y=y.value()),M_(h,function(T,P){return P.func.apply(P.thisArg,Wo([T],P.args))},y)}function ey(o,h,y){var T=o.length;if(T<2)return T?Vo(o[0]):[];for(var P=-1,V=Ie(T);++P<T;)for(var ce=o[P],me=-1;++me<T;)me!=P&&(V[P]=mh(V[P]||ce,o[me],h,y));return Vo(Nn(V,1),h,y)}function Dw(o,h,y){for(var T=-1,P=o.length,V=h.length,ce={};++T<P;){var me=T<V?h[T]:r;y(ce,o[T],me)}return ce}function ty(o){return rn(o)?o:[]}function ry(o){return typeof o=="function"?o:gi}function Yo(o,h){return zt(o)?o:hy(o,h)?[o]:u5(fr(o))}var JF=Xt;function Ko(o,h,y){var T=o.length;return y=y===r?T:y,!h&&y>=T?o:os(o,h,y)}var Nw=UR||function(o){return Dn.clearTimeout(o)};function Pw(o,h){if(h)return o.slice();var y=o.length,T=nw?nw(y):new o.constructor(y);return o.copy(T),T}function ny(o){var h=new o.constructor(o.byteLength);return new Vd(h).set(new Vd(o)),h}function ZF(o,h){var y=h?ny(o.buffer):o.buffer;return new o.constructor(y,o.byteOffset,o.byteLength)}function eD(o){var h=new o.constructor(o.source,Hn.exec(o));return h.lastIndex=o.lastIndex,h}function tD(o){return dh?Er(dh.call(o)):{}}function Lw(o,h){var y=h?ny(o.buffer):o.buffer;return new o.constructor(y,o.byteOffset,o.length)}function Bw(o,h){if(o!==h){var y=o!==r,T=o===null,P=o===o,V=Bi(o),ce=h!==r,me=h===null,Se=h===h,je=Bi(h);if(!me&&!je&&!V&&o>h||V&&ce&&Se&&!me&&!je||T&&ce&&Se||!y&&Se||!P)return 1;if(!T&&!V&&!je&&o<h||je&&y&&P&&!T&&!V||me&&y&&P||!ce&&P||!Se)return-1}return 0}function rD(o,h,y){for(var T=-1,P=o.criteria,V=h.criteria,ce=P.length,me=y.length;++T<ce;){var Se=Bw(P[T],V[T]);if(Se){if(T>=me)return Se;var je=y[T];return Se*(je=="desc"?-1:1)}}return o.index-h.index}function Uw(o,h,y,T){for(var P=-1,V=o.length,ce=y.length,me=-1,Se=h.length,je=wn(V-ce,0),He=Ie(Se+je),Ge=!T;++me<Se;)He[me]=h[me];for(;++P<ce;)(Ge||P<V)&&(He[y[P]]=o[P]);for(;je--;)He[me++]=o[P++];return He}function zw(o,h,y,T){for(var P=-1,V=o.length,ce=-1,me=y.length,Se=-1,je=h.length,He=wn(V-me,0),Ge=Ie(He+je),dt=!T;++P<He;)Ge[P]=o[P];for(var yt=P;++Se<je;)Ge[yt+Se]=h[Se];for(;++ce<me;)(dt||P<V)&&(Ge[yt+y[ce]]=o[P++]);return Ge}function di(o,h){var y=-1,T=o.length;for(h||(h=Ie(T));++y<T;)h[y]=o[y];return h}function pa(o,h,y,T){var P=!y;y||(y={});for(var V=-1,ce=h.length;++V<ce;){var me=h[V],Se=T?T(y[me],o[me],me,y,o):r;Se===r&&(Se=o[me]),P?Ya(y,me,Se):ph(y,me,Se)}return y}function nD(o,h){return pa(o,cy(o),h)}function iD(o,h){return pa(o,Zw(o),h)}function lp(o,h){return function(y,T){var P=zt(y)?uR:kF,V=h?h():{};return P(y,o,Ct(T,2),V)}}function kc(o){return Xt(function(h,y){var T=-1,P=y.length,V=P>1?y[P-1]:r,ce=P>2?y[2]:r;for(V=o.length>3&&typeof V=="function"?(P--,V):r,ce&&ti(y[0],y[1],ce)&&(V=P<3?r:V,P=1),h=Er(h);++T<P;){var me=y[T];me&&o(h,me,T,V)}return h})}function jw(o,h){return function(y,T){if(y==null)return y;if(!pi(y))return o(y,T);for(var P=y.length,V=h?P:-1,ce=Er(y);(h?V--:++V<P)&&T(ce[V],V,ce)!==!1;);return y}}function Hw(o){return function(h,y,T){for(var P=-1,V=Er(h),ce=T(h),me=ce.length;me--;){var Se=ce[o?me:++P];if(y(V[Se],Se,V)===!1)break}return h}}function sD(o,h,y){var T=h&N,P=vh(o);function V(){var ce=this&&this!==Dn&&this instanceof V?P:o;return ce.apply(T?y:this,arguments)}return V}function Ww(o){return function(h){h=fr(h);var y=vc(h)?Bs(h):r,T=y?y[0]:h.charAt(0),P=y?Ko(y,1).join(""):h.slice(1);return T[o]()+P}}function Ac(o){return function(h){return M_(j5(z5(h).replace(KI,"")),o,"")}}function vh(o){return function(){var h=arguments;switch(h.length){case 0:return new o;case 1:return new o(h[0]);case 2:return new o(h[0],h[1]);case 3:return new o(h[0],h[1],h[2]);case 4:return new o(h[0],h[1],h[2],h[3]);case 5:return new o(h[0],h[1],h[2],h[3],h[4]);case 6:return new o(h[0],h[1],h[2],h[3],h[4],h[5]);case 7:return new o(h[0],h[1],h[2],h[3],h[4],h[5],h[6])}var y=xc(o.prototype),T=o.apply(y,h);return $r(T)?T:y}}function aD(o,h,y){var T=vh(o);function P(){for(var V=arguments.length,ce=Ie(V),me=V,Se=Mc(P);me--;)ce[me]=arguments[me];var je=V<3&&ce[0]!==Se&&ce[V-1]!==Se?[]:Go(ce,Se);if(V-=je.length,V<y)return Yw(o,h,up,P.placeholder,r,ce,je,r,r,y-V);var He=this&&this!==Dn&&this instanceof P?T:o;return Ni(He,this,ce)}return P}function Gw(o){return function(h,y,T){var P=Er(h);if(!pi(h)){var V=Ct(y,3);h=kn(h),y=function(me){return V(P[me],me,P)}}var ce=o(h,y,T);return ce>-1?P[V?h[ce]:ce]:r}}function $w(o){return Xa(function(h){var y=h.length,T=y,P=ss.prototype.thru;for(o&&h.reverse();T--;){var V=h[T];if(typeof V!="function")throw new is(a);if(P&&!ce&&dp(V)=="wrapper")var ce=new ss([],!0)}for(T=ce?T:y;++T<y;){V=h[T];var me=dp(V),Se=me=="wrapper"?ly(V):r;Se&&fy(Se[0])&&Se[1]==(R|F|X|H)&&!Se[4].length&&Se[9]==1?ce=ce[dp(Se[0])].apply(ce,Se[3]):ce=V.length==1&&fy(V)?ce[me]():ce.thru(V)}return function(){var je=arguments,He=je[0];if(ce&&je.length==1&&zt(He))return ce.plant(He).value();for(var Ge=0,dt=y?h[Ge].apply(this,je):He;++Ge<y;)dt=h[Ge].call(this,dt);return dt}})}function up(o,h,y,T,P,V,ce,me,Se,je){var He=h&R,Ge=h&N,dt=h&S,yt=h&(F|G),It=h&re,Kt=dt?r:vh(o);function Rt(){for(var rr=arguments.length,or=Ie(rr),Ui=rr;Ui--;)or[Ui]=arguments[Ui];if(yt)var ri=Mc(Rt),zi=yR(or,ri);if(T&&(or=Uw(or,T,P,yt)),V&&(or=zw(or,V,ce,yt)),rr-=zi,yt&&rr<je){var nn=Go(or,ri);return Yw(o,h,up,Rt.placeholder,y,or,nn,me,Se,je-rr)}var js=Ge?y:this,eo=dt?js[o]:o;return rr=or.length,me?or=kD(or,me):It&&rr>1&&or.reverse(),He&&Se<rr&&(or.length=Se),this&&this!==Dn&&this instanceof Rt&&(eo=Kt||vh(eo)),eo.apply(js,or)}return Rt}function qw(o,h){return function(y,T){return DF(y,o,h(T),{})}}function cp(o,h){return function(y,T){var P;if(y===r&&T===r)return h;if(y!==r&&(P=y),T!==r){if(P===r)return T;typeof y=="string"||typeof T=="string"?(y=Li(y),T=Li(T)):(y=Iw(y),T=Iw(T)),P=o(y,T)}return P}}function iy(o){return Xa(function(h){return h=zr(h,Pi(Ct())),Xt(function(y){var T=this;return o(h,function(P){return Ni(P,T,y)})})})}function hp(o,h){h=h===r?" ":Li(h);var y=h.length;if(y<2)return y?Q_(h,o):h;var T=Q_(h,Qd(o/bc(h)));
vendor: 4,177 bytes, line 269
269return vc(h)?Ko(Bs(T),0,o).join(""):T.slice(0,o)}function oD(o,h,y,T){var P=h&N,V=vh(o);function ce(){for(var me=-1,Se=arguments.length,je=-1,He=T.length,Ge=Ie(He+Se),dt=this&&this!==Dn&&this instanceof ce?V:o;++je<He;)Ge[je]=T[je];for(;Se--;)Ge[je++]=arguments[++me];return Ni(dt,P?y:this,Ge)}return ce}function Vw(o){return function(h,y,T){return T&&typeof T!="number"&&ti(h,y,T)&&(y=T=r),h=Za(h),y===r?(y=h,h=0):y=Za(y),T=T===r?h<y?1:-1:Za(T),qF(h,y,T,o)}}function fp(o){return function(h,y){return typeof h=="string"&&typeof y=="string"||(h=us(h),y=us(y)),o(h,y)}}function Yw(o,h,y,T,P,V,ce,me,Se,je){var He=h&F,Ge=He?ce:r,dt=He?r:ce,yt=He?V:r,It=He?r:V;h|=He?X:z,h&=~(He?z:X),h&M||(h&=-4);var Kt=[o,h,P,yt,Ge,It,dt,me,Se,je],Rt=y.apply(r,Kt);return fy(o)&&a5(Rt,Kt),Rt.placeholder=T,o5(Rt,o,h)}function sy(o){var h=bn[o];return function(y,T){if(y=us(y),T=T==null?0:Wn(Wt(T),292),T&&ow(y)){var P=(fr(y)+"e").split("e"),V=h(P[0]+"e"+(+P[1]+T));return P=(fr(V)+"e").split("e"),+(P[0]+"e"+(+P[1]-T))}return h(y)}}var lD=Sc&&1/jd(new Sc([,-0]))[1]==ve?function(o){return new Sc(o)}:Ay;function Kw(o){return function(h){var y=Gn(h);return y==ee?N_(h):y==te?xR(h):_R(h,o(h))}}function Ka(o,h,y,T,P,V,ce,me){var Se=h&S;if(!Se&&typeof o!="function")throw new is(a);var je=T?T.length:0;if(je||(h&=-97,T=P=r),ce=ce===r?ce:wn(Wt(ce),0),me=me===r?me:Wt(me),je-=P?P.length:0,h&z){var He=T,Ge=P;T=P=r}var dt=Se?r:ly(o),yt=[o,h,y,T,P,He,Ge,V,ce,me];if(dt&&SD(yt,dt),o=yt[0],h=yt[1],y=yt[2],T=yt[3],P=yt[4],me=yt[9]=yt[9]===r?Se?0:o.length:wn(yt[9]-je,0),!me&&h&(F|G)&&(h&=-25),!h||h==N)var It=sD(o,h,y);else h==F||h==G?It=aD(o,h,me):(h==X||h==(N|X))&&!P.length?It=oD(o,h,y,T):It=up.apply(r,yt);var Kt=dt?Cw:a5;return o5(Kt(It,yt),o,h)}function Xw(o,h,y,T){return o===r||zs(o,Ec[y])&&!_r.call(T,y)?h:o}function Qw(o,h,y,T,P,V){return $r(o)&&$r(h)&&(V.set(h,o),sp(o,h,r,Qw,V),V.delete(h)),o}function uD(o){return Eh(o)?r:o}function Jw(o,h,y,T,P,V){var ce=y&k,me=o.length,Se=h.length;if(me!=Se&&!(ce&&Se>me))return!1;var je=V.get(o),He=V.get(h);if(je&&He)return je==h&&He==o;var Ge=-1,dt=!0,yt=y&O?new du:r;for(V.set(o,h),V.set(h,o);++Ge<me;){var It=o[Ge],Kt=h[Ge];if(T)var Rt=ce?T(Kt,It,Ge,h,o,V):T(It,Kt,Ge,o,h,V);if(Rt!==r){if(Rt)continue;dt=!1;break}if(yt){if(!C_(h,function(rr,or){if(!lh(yt,or)&&(It===rr||P(It,rr,y,T,V)))return yt.push(or)})){dt=!1;break}}else if(!(It===Kt||P(It,Kt,y,T,V))){dt=!1;break}}return V.delete(o),V.delete(h),dt}function cD(o,h,y,T,P,V,ce){switch(y){case We:if(o.byteLength!=h.byteLength||o.byteOffset!=h.byteOffset)return!1;o=o.buffer,h=h.buffer;case Ae:return!(o.byteLength!=h.byteLength||!V(new Vd(o),new Vd(h)));case Ve:case wt:case oe:return zs(+o,+h);case Fe:return o.name==h.name&&o.message==h.message;case I:case be:return o==h+"";case ee:var me=N_;case te:var Se=T&k;if(me||(me=jd),o.size!=h.size&&!Se)return!1;var je=ce.get(o);if(je)return je==h;T|=O,ce.set(o,h);var He=Jw(me(o),me(h),T,P,V,ce);return ce.delete(o),He;case Le:if(dh)return dh.call(o)==dh.call(h)}return!1}function hD(o,h,y,T,P,V){var ce=y&k,me=ay(o),Se=me.length,je=ay(h),He=je.length;if(Se!=He&&!ce)return!1;for(var Ge=Se;Ge--;){var dt=me[Ge];if(!(ce?dt in h:_r.call(h,dt)))return!1}var yt=V.get(o),It=V.get(h);if(yt&&It)return yt==h&&It==o;var Kt=!0;V.set(o,h),V.set(h,o);for(var Rt=ce;++Ge<Se;){dt=me[Ge];var rr=o[dt],or=h[dt];if(T)var Ui=ce?T(or,rr,dt,h,o,V):T(rr,or,dt,o,h,V);if(!(Ui===r?rr===or||P(rr,or,y,T,V):Ui)){Kt=!1;break}Rt||(Rt=dt=="constructor")}if(Kt&&!Rt){var ri=o.constructor,zi=h.constructor;ri!=zi&&"constructor"in o&&"constructor"in h&&!(typeof ri=="function"&&ri instanceof ri&&typeof zi=="function"&&zi instanceof zi)&&(Kt=!1)}return V.delete(o),V.delete(h),Kt}function Xa(o){return py(i5(o,r,d5),o+"")}function ay(o){return yw(o,kn,cy)}function oy(o){return yw(o,mi,Zw)}var ly=Zd?function(o){return Zd.get(o)}:Ay;function dp(o){for(var h=o.name+"",y=Tc[h],T=_r.call(Tc,h)?y.length:0;T--;){var P=y[T],V=P.func;if(V==null||V==o)return P.name}return h}function Mc(o){var h=_r.call(j,"placeholder")?j:o;return h.placeholder}function Ct(){var o=j.iteratee||xy;return o=o===xy?ww:o,arguments.length?o(arguments[0],arguments[1]):o}function pp(o,h){var y=o.__data__;
vendor: 9,576 bytes, lines 269-271
269return vD(h)?y[typeof h=="string"?"string":"hash"]:y.map}function uy(o){for(var h=kn(o),y=h.length;y--;){var T=h[y],P=o[T];h[y]=[T,P,r5(P)]}return h}function gu(o,h){var y=ER(o,h);return bw(y)?y:r}function fD(o){var h=_r.call(o,hu),y=o[hu];try{o[hu]=r;var T=!0}catch{}var P=$d.call(o);return T&&(h?o[hu]=y:delete o[hu]),P}var cy=L_?function(o){return o==null?[]:(o=Er(o),Ho(L_(o),function(h){return sw.call(o,h)}))}:My,Zw=L_?function(o){for(var h=[];o;)Wo(h,cy(o)),o=Yd(o);return h}:My,Gn=ei;(B_&&Gn(new B_(new ArrayBuffer(1)))!=We||ch&&Gn(new ch)!=ee||U_&&Gn(U_.resolve())!=U||Sc&&Gn(new Sc)!=te||hh&&Gn(new hh)!=Ft)&&(Gn=function(o){var h=ei(o),y=h==Oe?o.constructor:r,T=y?_u(y):"";if(T)switch(T){case YR:return We;case KR:return ee;case XR:return U;case QR:return te;case JR:return Ft}return h});function dD(o,h,y){for(var T=-1,P=y.length;++T<P;){var V=y[T],ce=V.size;switch(V.type){case"drop":o+=ce;break;case"dropRight":h-=ce;break;case"take":h=Wn(h,o+ce);break;case"takeRight":o=wn(o,h-ce);break}}return{start:o,end:h}}function pD(o){var h=o.match(fc);return h?h[1].split(dc):[]}function e5(o,h,y){h=Yo(h,o);for(var T=-1,P=h.length,V=!1;++T<P;){var ce=ma(h[T]);if(!(V=o!=null&&y(o,ce)))break;o=o[ce]}return V||++T!=P?V:(P=o==null?0:o.length,!!P&&wp(P)&&Qa(ce,P)&&(zt(o)||yu(o)))}function mD(o){var h=o.length,y=new o.constructor(h);return h&&typeof o[0]=="string"&&_r.call(o,"index")&&(y.index=o.index,y.input=o.input),y}function t5(o){return typeof o.constructor=="function"&&!bh(o)?xc(Yd(o)):{}}function gD(o,h,y){var T=o.constructor;switch(h){case Ae:return ny(o);case Ve:case wt:return new T(+o);case We:return ZF(o,y);case ht:case Bt:case ye:case kr:case vn:case ae:case xn:case fi:case Mt:return Lw(o,y);case ee:return new T;case oe:case be:return new T(o);case I:return eD(o);case te:return new T;case Le:return tD(o)}}function _D(o,h){var y=h.length;if(!y)return o;var T=y-1;return h[T]=(y>1?"& ":"")+h[T],h=h.join(y>2?", ":" "),o.replace(nu,`{ 270/* [wrapped with `+h+`] */ 271`)}function yD(o){return zt(o)||yu(o)||!!(aw&&o&&o[aw])}function Qa(o,h){var y=typeof o;return h=h??xe,!!h&&(y=="number"||y!="symbol"&&Jr.test(o))&&o>-1&&o%1==0&&o<h}function ti(o,h,y){if(!$r(y))return!1;var T=typeof h;return(T=="number"?pi(y)&&Qa(h,y.length):T=="string"&&h in y)?zs(y[h],o):!1}function hy(o,h){if(zt(o))return!1;var y=typeof o;return y=="number"||y=="symbol"||y=="boolean"||o==null||Bi(o)?!0:uc.test(o)||!lc.test(o)||h!=null&&o in Er(h)}function vD(o){var h=typeof o;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?o!=="__proto__":o===null}function fy(o){var h=dp(o),y=j[h];if(typeof y!="function"||!(h in ir.prototype))return!1;if(o===y)return!0;var T=ly(y);return!!T&&o===T[0]}function bD(o){return!!rw&&rw in o}var wD=Wd?Ja:Cy;function bh(o){var h=o&&o.constructor,y=typeof h=="function"&&h.prototype||Ec;return o===y}function r5(o){return o===o&&!$r(o)}function n5(o,h){return function(y){return y==null?!1:y[o]===h&&(h!==r||o in Er(y))}}function ED(o){var h=vp(o,function(T){return y.size===p&&y.clear(),T}),y=h.cache;return h}function SD(o,h){var y=o[1],T=h[1],P=y|T,V=P<(N|S|R),ce=T==R&&y==F||T==R&&y==H&&o[7].length<=h[8]||T==(R|H)&&h[7].length<=h[8]&&y==F;if(!(V||ce))return o;T&N&&(o[2]=h[2],P|=y&N?0:M);var me=h[3];if(me){var Se=o[3];o[3]=Se?Uw(Se,me,h[4]):me,o[4]=Se?Go(o[3],d):h[4]}return me=h[5],me&&(Se=o[5],o[5]=Se?zw(Se,me,h[6]):me,o[6]=Se?Go(o[5],d):h[6]),me=h[7],me&&(o[7]=me),T&R&&(o[8]=o[8]==null?h[8]:Wn(o[8],h[8])),o[9]==null&&(o[9]=h[9]),o[0]=h[0],o[1]=P,o}function TD(o){var h=[];if(o!=null)for(var y in Er(o))h.push(y);return h}function xD(o){return $d.call(o)}function i5(o,h,y){return h=wn(h===r?o.length-1:h,0),function(){for(var T=arguments,P=-1,V=wn(T.length-h,0),ce=Ie(V);++P<V;)ce[P]=T[h+P];P=-1;for(var me=Ie(h+1);++P<h;)me[P]=T[P];return me[h]=y(ce),Ni(o,this,me)}}function s5(o,h){return h.length<2?o:mu(o,os(h,0,-1))}function kD(o,h){for(var y=o.length,T=Wn(h.length,y),P=di(o);T--;){var V=h[T];o[T]=Qa(V,y)?P[V]:r}return o}function dy(o,h){if(!(h==="constructor"&&typeof o[h]=="function")&&h!="__proto__")return o[h]}var a5=l5(Cw),wh=jR||function(o,h){return Dn.setTimeout(o,h)},py=l5(KF);function o5(o,h,y){var T=h+"";return py(o,_D(T,AD(pD(T),y)))}function l5(o){var h=0,y=0;return function(){var T=$R(),P=Q-(T-y);if(y=T,P>0){if(++h>=Y)return arguments[0]}else h=0;return o.apply(r,arguments)}}function mp(o,h){var y=-1,T=o.length,P=T-1;for(h=h===r?T:h;++y<h;){var V=X_(y,P),ce=o[V];o[V]=o[y],o[y]=ce}return o.length=h,o}var u5=ED(function(o){var h=[];return o.charCodeAt(0)===46&&h.push(""),o.replace(cc,function(y,T,P,V){h.push(P?V.replace(Uo,"$1"):T||y)}),h});function ma(o){if(typeof o=="string"||Bi(o))return o;var h=o+"";return h=="0"&&1/o==-ve?"-0":h}function _u(o){if(o!=null){try{return Gd.call(o)}catch{}try{return o+""}catch{}}return""}function AD(o,h){return ns(Lt,function(y){var T="_."+y[0];h&y[1]&&!Ud(o,T)&&o.push(T)}),o.sort()}function c5(o){if(o instanceof ir)return o.clone();var h=new ss(o.__wrapped__,o.__chain__);return h.__actions__=di(o.__actions__),h.__index__=o.__index__,h.__values__=o.__values__,h}function MD(o,h,y){(y?ti(o,h,y):h===r)?h=1:h=wn(Wt(h),0);var T=o==null?0:o.length;if(!T||h<1)return[];for(var P=0,V=0,ce=Ie(Qd(T/h));P<T;)ce[V++]=os(o,P,P+=h);return ce}function CD(o){for(var h=-1,y=o==null?0:o.length,T=0,P=[];++h<y;){var V=o[h];V&&(P[T++]=V)}return P}function OD(){var o=arguments.length;if(!o)return[];for(var h=Ie(o-1),y=arguments[0],T=o;T--;)h[T-1]=arguments[T];return Wo(zt(y)?di(y):[y],Nn(h,1))}var ID=Xt(function(o,h){return rn(o)?mh(o,Nn(h,1,rn,!0)):[]}),RD=Xt(function(o,h){var y=ls(h);return rn(y)&&(y=r),rn(o)?mh(o,Nn(h,1,rn,!0),Ct(y,2)):[]}),FD=Xt(function(o,h){var y=ls(h);return rn(y)&&(y=r),rn(o)?mh(o,Nn(h,1,rn,!0),r,y):[]});function DD(o,h,y){var T=o==null?0:o.length;return T?(h=y||h===r?1:Wt(h),os(o,h<0?0:h,T)):[]}function ND(o,h,y){var T=o==null?0:o.length;return T?(h=y||h===r?1:Wt(h),h=T-h,os(o,0,h<0?0:h)):[]}function PD(o,h){return o&&o.length?op(o,Ct(h,3),!0,!0):[]}function LD(o,h){return o&&o.length?op(o,Ct(h,3),!0):[]}function BD(o,h,y,T){var P=o==null?0:o.length;return P?(y&&typeof y!="number"&&ti(o,h,y)&&(y=0,T=P),OF(o,h,y,T)):[]}function h5(o,h,y){var T=o==null?0:o.length;if(!T)return-1;var P=y==null?0:Wt(y);return P<0&&(P=wn(T+P,0)),zd(o,Ct(h,3),P)}function f5(o,h,y){var T=o==null?0:o.length;if(!T)return-1;var P=T-1;return y!==r&&(P=Wt(y),P=y<0?wn(T+P,0):Wn(P,T-1)),zd(o,Ct(h,3),P,!0)}function d5(o){var h=o==null?0:o.length;return h?Nn(o,1):[]}function UD(o){var h=o==null?0:o.length;return h?Nn(o,ve):[]}function zD(o,h){var y=o==null?0:o.length;return y?(h=h===r?1:Wt(h),Nn(o,h)):[]}function jD(o){for(var h=-1,y=o==null?0:o.length,T={};++h<y;){var P=o[h];T[P[0]]=P[1]}return T}function p5(o){return o&&o.length?o[0]:r}function HD(o,h,y){var T=o==null?0:o.length;if(!T)return-1;var P=y==null?0:Wt(y);return P<0&&(P=wn(T+P,0)),yc(o,h,P)}function WD(o){var h=o==null?0:o.length;return h?os(o,0,-1):[]}var GD=Xt(function(o){var h=zr(o,ty);return h.length&&h[0]===o[0]?$_(h):[]}),$D=Xt(function(o){var h=ls(o),y=zr(o,ty);return h===ls(y)?h=r:y.pop(),y.length&&y[0]===o[0]?$_(y,Ct(h,2)):[]}),qD=Xt(function(o){var h=ls(o),y=zr(o,ty);return h=typeof h=="function"?h:r,h&&y.pop(),y.length&&y[0]===o[0]?$_(y,r,h):[]});function VD(o,h){return o==null?"":WR.call(o,h)}function ls(o){var h=o==null?0:o.length;return h?o[h-1]:r}function YD(o,h,y){var T=o==null?0:o.length;if(!T)return-1;var P=T;return y!==r&&(P=Wt(y),P=P<0?wn(T+P,0):Wn(P,T-1)),h===h?AR(o,h,P):zd(o,Y6,P,!0)}function KD(o,h){return o&&o.length?xw(o,Wt(h)):r}var XD=Xt(m5);function m5(o,h){return o&&o.length&&h&&h.length?K_(o,h):o}function QD(o,h,y){return o&&o.length&&h&&h.length?K_(o,h,Ct(y,2)):o}function JD(o,h,y){return o&&o.length&&h&&h.length?K_(o,h,r,y):o}var ZD=Xa(function(o,h){var y=o==null?0:o.length,T=j_(o,h);return Mw(o,zr(h,function(P){return Qa(P,y)?+P:P}).sort(Bw)),T});function eN(o,h){var y=[];if(!(o&&o.length))return y;var T=-1,P=[],V=o.length;for(h=Ct(h,3);++T<V;){var ce=o[T];h(ce,T,o)&&(y.push(ce),P.push(T))}return Mw(o,P),y}function my(o){return o==null?o:VR.call(o)}function tN(o,h,y){var T=o==null?0:o.length;return T?(y&&typeof y!="number"&&ti(o,h,y)?(h=0,y=T):(h=h==null?0:Wt(h),y=y===r?T:Wt(y)),os(o,h,y)):[]}function rN(o,h){return ap(o,h)}function nN(o,h,y){return J_(o,h,Ct(y,2))}function iN(o,h){var y=o==null?0:o.length;if(y){var T=ap(o,h);if(T<y&&zs(o[T],h))return T}return-1}function sN(o,h){return ap(o,h,!0)}function aN(o,h,y){return J_(o,h,Ct(y,2),!0)}function oN(o,h){var y=o==null?0:o.length;if(y){var T=ap(o,h,!0)-1;if(zs(o[T],h))return T}return-1}function lN(o){return o&&o.length?Ow(o):[]}function uN(o,h){return o&&o.length?Ow(o,Ct(h,2)):[]}function cN(o){var h=o==null?0:o.length;return h?os(o,1,h):[]}function hN(o,h,y){return o&&o.length?(h=y||h===r?1:Wt(h),os(o,0,h<0?0:h)):[]}function fN(o,h,y){var T=o==null?0:o.length;return T?(h=y||h===r?1:Wt(h),h=T-h,os(o,h<0?0:h,T)):[]}function dN(o,h){return o&&o.length?op(o,Ct(h,3),!1,!0):[]}function pN(o,h){return o&&o.length?op(o,Ct(h,3)):[]}var mN=Xt(function(o){return Vo(Nn(o,1,rn,!0))}),gN=Xt(function(o){var h=ls(o);return rn(h)&&(h=r),Vo(Nn(o,1,rn,!0),Ct(h,2))}),_N=Xt(function(o){var h=ls(o);return h=typeof h=="function"?h:r,Vo(Nn(o,1,rn,!0),r,h)});function yN(o){return o&&o.length?Vo(o):[]}function vN(o,h){return o&&o.length?Vo(o,Ct(h,2)):[]}function bN(o,h){return h=typeof h=="function"?h:r,o&&o.length?Vo(o,r,h):[]}function gy(o){if(!(o&&o.length))return[];var h=0;return o=Ho(o,function(y){if(rn(y))return h=wn(y.length,h),!0}),F_(h,function(y){return zr(o,O_(y))})}
vendor: 8,508 bytes, line 271
271function g5(o,h){if(!(o&&o.length))return[];var y=gy(o);return h==null?y:zr(y,function(T){return Ni(h,r,T)})}var wN=Xt(function(o,h){return rn(o)?mh(o,h):[]}),EN=Xt(function(o){return ey(Ho(o,rn))}),SN=Xt(function(o){var h=ls(o);return rn(h)&&(h=r),ey(Ho(o,rn),Ct(h,2))}),TN=Xt(function(o){var h=ls(o);return h=typeof h=="function"?h:r,ey(Ho(o,rn),r,h)}),xN=Xt(gy);function kN(o,h){return Dw(o||[],h||[],ph)}function AN(o,h){return Dw(o||[],h||[],yh)}var MN=Xt(function(o){var h=o.length,y=h>1?o[h-1]:r;return y=typeof y=="function"?(o.pop(),y):r,g5(o,y)});function _5(o){var h=j(o);return h.__chain__=!0,h}function CN(o,h){return h(o),o}function gp(o,h){return h(o)}var ON=Xa(function(o){var h=o.length,y=h?o[0]:0,T=this.__wrapped__,P=function(V){return j_(V,o)};return h>1||this.__actions__.length||!(T instanceof ir)||!Qa(y)?this.thru(P):(T=T.slice(y,+y+(h?1:0)),T.__actions__.push({func:gp,args:[P],thisArg:r}),new ss(T,this.__chain__).thru(function(V){return h&&!V.length&&V.push(r),V}))});function IN(){return _5(this)}function RN(){return new ss(this.value(),this.__chain__)}function FN(){this.__values__===r&&(this.__values__=I5(this.value()));var o=this.__index__>=this.__values__.length,h=o?r:this.__values__[this.__index__++];return{done:o,value:h}}function DN(){return this}function NN(o){for(var h,y=this;y instanceof tp;){var T=c5(y);T.__index__=0,T.__values__=r,h?P.__wrapped__=T:h=T;var P=T;y=y.__wrapped__}return P.__wrapped__=o,h}function PN(){var o=this.__wrapped__;if(o instanceof ir){var h=o;return this.__actions__.length&&(h=new ir(this)),h=h.reverse(),h.__actions__.push({func:gp,args:[my],thisArg:r}),new ss(h,this.__chain__)}return this.thru(my)}function LN(){return Fw(this.__wrapped__,this.__actions__)}var BN=lp(function(o,h,y){_r.call(o,y)?++o[y]:Ya(o,y,1)});function UN(o,h,y){var T=zt(o)?q6:CF;return y&&ti(o,h,y)&&(h=r),T(o,Ct(h,3))}function zN(o,h){var y=zt(o)?Ho:gw;return y(o,Ct(h,3))}var jN=Gw(h5),HN=Gw(f5);function WN(o,h){return Nn(_p(o,h),1)}function GN(o,h){return Nn(_p(o,h),ve)}function $N(o,h,y){return y=y===r?1:Wt(y),Nn(_p(o,h),y)}function y5(o,h){var y=zt(o)?ns:qo;return y(o,Ct(h,3))}function v5(o,h){var y=zt(o)?cR:mw;return y(o,Ct(h,3))}var qN=lp(function(o,h,y){_r.call(o,y)?o[y].push(h):Ya(o,y,[h])});function VN(o,h,y,T){o=pi(o)?o:Oc(o),y=y&&!T?Wt(y):0;var P=o.length;return y<0&&(y=wn(P+y,0)),Ep(o)?y<=P&&o.indexOf(h,y)>-1:!!P&&yc(o,h,y)>-1}var YN=Xt(function(o,h,y){var T=-1,P=typeof h=="function",V=pi(o)?Ie(o.length):[];return qo(o,function(ce){V[++T]=P?Ni(h,ce,y):gh(ce,h,y)}),V}),KN=lp(function(o,h,y){Ya(o,y,h)});function _p(o,h){var y=zt(o)?zr:Ew;return y(o,Ct(h,3))}function XN(o,h,y,T){return o==null?[]:(zt(h)||(h=h==null?[]:[h]),y=T?r:y,zt(y)||(y=y==null?[]:[y]),kw(o,h,y))}var QN=lp(function(o,h,y){o[y?0:1].push(h)},function(){return[[],[]]});function JN(o,h,y){var T=zt(o)?M_:X6,P=arguments.length<3;return T(o,Ct(h,4),y,P,qo)}function ZN(o,h,y){var T=zt(o)?hR:X6,P=arguments.length<3;return T(o,Ct(h,4),y,P,mw)}function eP(o,h){var y=zt(o)?Ho:gw;return y(o,bp(Ct(h,3)))}function tP(o){var h=zt(o)?hw:VF;return h(o)}function rP(o,h,y){(y?ti(o,h,y):h===r)?h=1:h=Wt(h);var T=zt(o)?TF:YF;return T(o,h)}function nP(o){var h=zt(o)?xF:XF;return h(o)}function iP(o){if(o==null)return 0;if(pi(o))return Ep(o)?bc(o):o.length;var h=Gn(o);return h==ee||h==te?o.size:V_(o).length}function sP(o,h,y){var T=zt(o)?C_:QF;return y&&ti(o,h,y)&&(h=r),T(o,Ct(h,3))}var aP=Xt(function(o,h){if(o==null)return[];var y=h.length;return y>1&&ti(o,h[0],h[1])?h=[]:y>2&&ti(h[0],h[1],h[2])&&(h=[h[0]]),kw(o,Nn(h,1),[])}),yp=zR||function(){return Dn.Date.now()};function oP(o,h){if(typeof h!="function")throw new is(a);return o=Wt(o),function(){if(--o<1)return h.apply(this,arguments)}}function b5(o,h,y){return h=y?r:h,h=o&&h==null?o.length:h,Ka(o,R,r,r,r,r,h)}function w5(o,h){var y;if(typeof h!="function")throw new is(a);return o=Wt(o),function(){return--o>0&&(y=h.apply(this,arguments)),o<=1&&(h=r),y}}var _y=Xt(function(o,h,y){var T=N;if(y.length){var P=Go(y,Mc(_y));T|=X}return Ka(o,T,h,y,P)}),E5=Xt(function(o,h,y){var T=N|S;if(y.length){var P=Go(y,Mc(E5));T|=X}return Ka(h,T,o,y,P)});function S5(o,h,y){h=y?r:h;var T=Ka(o,F,r,r,r,r,r,h);return T.placeholder=S5.placeholder,T}function T5(o,h,y){h=y?r:h;var T=Ka(o,G,r,r,r,r,r,h);return T.placeholder=T5.placeholder,T}function x5(o,h,y){var T,P,V,ce,me,Se,je=0,He=!1,Ge=!1,dt=!0;if(typeof o!="function")throw new is(a);h=us(h)||0,$r(y)&&(He=!!y.leading,Ge="maxWait"in y,V=Ge?wn(us(y.maxWait)||0,h):V,dt="trailing"in y?!!y.trailing:dt);function yt(nn){var js=T,eo=P;return T=P=r,je=nn,ce=o.apply(eo,js),ce}function It(nn){return je=nn,me=wh(rr,h),He?yt(nn):ce}function Kt(nn){var js=nn-Se,eo=nn-je,G5=h-js;return Ge?Wn(G5,V-eo):G5}function Rt(nn){var js=nn-Se,eo=nn-je;return Se===r||js>=h||js<0||Ge&&eo>=V}function rr(){var nn=yp();if(Rt(nn))return or(nn);me=wh(rr,Kt(nn))}function or(nn){return me=r,dt&&T?yt(nn):(T=P=r,ce)}function Ui(){me!==r&&Nw(me),je=0,T=Se=P=me=r}function ri(){return me===r?ce:or(yp())}function zi(){var nn=yp(),js=Rt(nn);if(T=arguments,P=this,Se=nn,js){if(me===r)return It(Se);if(Ge)return Nw(me),me=wh(rr,h),yt(Se)}return me===r&&(me=wh(rr,h)),ce}return zi.cancel=Ui,zi.flush=ri,zi}var lP=Xt(function(o,h){return pw(o,1,h)}),uP=Xt(function(o,h,y){return pw(o,us(h)||0,y)});function cP(o){return Ka(o,re)}function vp(o,h){if(typeof o!="function"||h!=null&&typeof h!="function")throw new is(a);var y=function(){var T=arguments,P=h?h.apply(this,T):T[0],V=y.cache;if(V.has(P))return V.get(P);var ce=o.apply(this,T);return y.cache=V.set(P,ce)||V,ce};return y.cache=new(vp.Cache||Va),y}vp.Cache=Va;function bp(o){if(typeof o!="function")throw new is(a);return function(){var h=arguments;switch(h.length){case 0:return!o.call(this);case 1:return!o.call(this,h[0]);case 2:return!o.call(this,h[0],h[1]);case 3:return!o.call(this,h[0],h[1],h[2])}return!o.apply(this,h)}}function hP(o){return w5(2,o)}var fP=JF(function(o,h){h=h.length==1&&zt(h[0])?zr(h[0],Pi(Ct())):zr(Nn(h,1),Pi(Ct()));var y=h.length;return Xt(function(T){for(var P=-1,V=Wn(T.length,y);++P<V;)T[P]=h[P].call(this,T[P]);return Ni(o,this,T)})}),yy=Xt(function(o,h){var y=Go(h,Mc(yy));return Ka(o,X,r,h,y)}),k5=Xt(function(o,h){var y=Go(h,Mc(k5));return Ka(o,z,r,h,y)}),dP=Xa(function(o,h){return Ka(o,H,r,r,r,h)});function pP(o,h){if(typeof o!="function")throw new is(a);return h=h===r?h:Wt(h),Xt(o,h)}function mP(o,h){if(typeof o!="function")throw new is(a);return h=h==null?0:wn(Wt(h),0),Xt(function(y){var T=y[h],P=Ko(y,0,h);return T&&Wo(P,T),Ni(o,this,P)})}function gP(o,h,y){var T=!0,P=!0;if(typeof o!="function")throw new is(a);return $r(y)&&(T="leading"in y?!!y.leading:T,P="trailing"in y?!!y.trailing:P),x5(o,h,{leading:T,maxWait:h,trailing:P})}function _P(o){return b5(o,1)}function yP(o,h){return yy(ry(h),o)}function vP(){if(!arguments.length)return[];var o=arguments[0];return zt(o)?o:[o]}function bP(o){return as(o,v)}function wP(o,h){return h=typeof h=="function"?h:r,as(o,v,h)}function EP(o){return as(o,g|v)}function SP(o,h){return h=typeof h=="function"?h:r,as(o,g|v,h)}function TP(o,h){return h==null||dw(o,h,kn(h))}function zs(o,h){return o===h||o!==o&&h!==h}var xP=fp(G_),kP=fp(function(o,h){return o>=h}),yu=vw(function(){return arguments}())?vw:function(o){return Zr(o)&&_r.call(o,"callee")&&!sw.call(o,"callee")},zt=Ie.isArray,AP=z6?Pi(z6):NF;function pi(o){return o!=null&&wp(o.length)&&!Ja(o)}function rn(o){return Zr(o)&&pi(o)}function MP(o){return o===!0||o===!1||Zr(o)&&ei(o)==Ve}var Xo=HR||Cy,CP=j6?Pi(j6):PF;function OP(o){return Zr(o)&&o.nodeType===1&&!Eh(o)}function IP(o){if(o==null)return!0;if(pi(o)&&(zt(o)||typeof o=="string"||typeof o.splice=="function"||Xo(o)||Cc(o)||yu(o)))return!o.length;var h=Gn(o);if(h==ee||h==te)return!o.size;if(bh(o))return!V_(o).length;for(var y in o)if(_r.call(o,y))return!1;return!0}function RP(o,h){return _h(o,h)}function FP(o,h,y){y=typeof y=="function"?y:r;var T=y?y(o,h):r;return T===r?_h(o,h,r,y):!!T}function vy(o){if(!Zr(o))return!1;var h=ei(o);return h==Fe||h==Dt||typeof o.message=="string"&&typeof o.name=="string"&&!Eh(o)}function DP(o){return typeof o=="number"&&ow(o)}function Ja(o){if(!$r(o))return!1;var h=ei(o);return h==Ne||h==K||h==Ke||h==C}function A5(o){return typeof o=="number"&&o==Wt(o)}function wp(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=xe}function $r(o){var h=typeof o;return o!=null&&(h=="object"||h=="function")}function Zr(o){return o!=null&&typeof o=="object"}var M5=H6?Pi(H6):BF;function NP(o,h){return o===h||q_(o,h,uy(h))}
vendor: 4,494 bytes, line 271
271function PP(o,h,y){return y=typeof y=="function"?y:r,q_(o,h,uy(h),y)}function LP(o){return C5(o)&&o!=+o}function BP(o){if(wD(o))throw new Ut(s);return bw(o)}function UP(o){return o===null}function zP(o){return o==null}function C5(o){return typeof o=="number"||Zr(o)&&ei(o)==oe}function Eh(o){if(!Zr(o)||ei(o)!=Oe)return!1;var h=Yd(o);if(h===null)return!0;var y=_r.call(h,"constructor")&&h.constructor;return typeof y=="function"&&y instanceof y&&Gd.call(y)==PR}var by=W6?Pi(W6):UF;function jP(o){return A5(o)&&o>=-xe&&o<=xe}var O5=G6?Pi(G6):zF;function Ep(o){return typeof o=="string"||!zt(o)&&Zr(o)&&ei(o)==be}function Bi(o){return typeof o=="symbol"||Zr(o)&&ei(o)==Le}var Cc=$6?Pi($6):jF;function HP(o){return o===r}function WP(o){return Zr(o)&&Gn(o)==Ft}function GP(o){return Zr(o)&&ei(o)==Yt}var $P=fp(Y_),qP=fp(function(o,h){return o<=h});function I5(o){if(!o)return[];if(pi(o))return Ep(o)?Bs(o):di(o);if(uh&&o[uh])return TR(o[uh]());var h=Gn(o),y=h==ee?N_:h==te?jd:Oc;return y(o)}function Za(o){if(!o)return o===0?o:0;if(o=us(o),o===ve||o===-ve){var h=o<0?-1:1;return h*Ye}return o===o?o:0}function Wt(o){var h=Za(o),y=h%1;return h===h?y?h-y:h:0}function R5(o){return o?pu(Wt(o),0,Ce):0}function us(o){if(typeof o=="number")return o;if(Bi(o))return B;if($r(o)){var h=typeof o.valueOf=="function"?o.valueOf():o;o=$r(h)?h+"":h}if(typeof o!="string")return o===0?o:+o;o=Q6(o);var y=vt.test(o);return y||ua.test(o)?oR(o.slice(2),y?2:8):Je.test(o)?B:+o}function F5(o){return pa(o,mi(o))}function VP(o){return o?pu(Wt(o),-xe,xe):o===0?o:0}function fr(o){return o==null?"":Li(o)}var YP=kc(function(o,h){if(bh(h)||pi(h)){pa(h,kn(h),o);return}for(var y in h)_r.call(h,y)&&ph(o,y,h[y])}),D5=kc(function(o,h){pa(h,mi(h),o)}),Sp=kc(function(o,h,y,T){pa(h,mi(h),o,T)}),KP=kc(function(o,h,y,T){pa(h,kn(h),o,T)}),XP=Xa(j_);function QP(o,h){var y=xc(o);return h==null?y:fw(y,h)}var JP=Xt(function(o,h){o=Er(o);var y=-1,T=h.length,P=T>2?h[2]:r;for(P&&ti(h[0],h[1],P)&&(T=1);++y<T;)for(var V=h[y],ce=mi(V),me=-1,Se=ce.length;++me<Se;){var je=ce[me],He=o[je];(He===r||zs(He,Ec[je])&&!_r.call(o,je))&&(o[je]=V[je])}return o}),ZP=Xt(function(o){return o.push(r,Qw),Ni(N5,r,o)});function eL(o,h){return V6(o,Ct(h,3),da)}function tL(o,h){return V6(o,Ct(h,3),W_)}function rL(o,h){return o==null?o:H_(o,Ct(h,3),mi)}function nL(o,h){return o==null?o:_w(o,Ct(h,3),mi)}function iL(o,h){return o&&da(o,Ct(h,3))}function sL(o,h){return o&&W_(o,Ct(h,3))}function aL(o){return o==null?[]:ip(o,kn(o))}function oL(o){return o==null?[]:ip(o,mi(o))}function wy(o,h,y){var T=o==null?r:mu(o,h);return T===r?y:T}function lL(o,h){return o!=null&&e5(o,h,IF)}function Ey(o,h){return o!=null&&e5(o,h,RF)}var uL=qw(function(o,h,y){h!=null&&typeof h.toString!="function"&&(h=$d.call(h)),o[h]=y},Ty(gi)),cL=qw(function(o,h,y){h!=null&&typeof h.toString!="function"&&(h=$d.call(h)),_r.call(o,h)?o[h].push(y):o[h]=[y]},Ct),hL=Xt(gh);function kn(o){return pi(o)?cw(o):V_(o)}function mi(o){return pi(o)?cw(o,!0):HF(o)}function fL(o,h){var y={};return h=Ct(h,3),da(o,function(T,P,V){Ya(y,h(T,P,V),T)}),y}function dL(o,h){var y={};return h=Ct(h,3),da(o,function(T,P,V){Ya(y,P,h(T,P,V))}),y}var pL=kc(function(o,h,y){sp(o,h,y)}),N5=kc(function(o,h,y,T){sp(o,h,y,T)}),mL=Xa(function(o,h){var y={};if(o==null)return y;var T=!1;h=zr(h,function(V){return V=Yo(V,o),T||(T=V.length>1),V}),pa(o,oy(o),y),T&&(y=as(y,g|_|v,uD));for(var P=h.length;P--;)Z_(y,h[P]);return y});function gL(o,h){return P5(o,bp(Ct(h)))}var _L=Xa(function(o,h){return o==null?{}:GF(o,h)});function P5(o,h){if(o==null)return{};var y=zr(oy(o),function(T){return[T]});return h=Ct(h),Aw(o,y,function(T,P){return h(T,P[0])})}function yL(o,h,y){h=Yo(h,o);var T=-1,P=h.length;for(P||(P=1,o=r);++T<P;){var V=o==null?r:o[ma(h[T])];V===r&&(T=P,V=y),o=Ja(V)?V.call(o):V}return o}function vL(o,h,y){return o==null?o:yh(o,h,y)}function bL(o,h,y,T){return T=typeof T=="function"?T:r,o==null?o:yh(o,h,y,T)}var L5=Kw(kn),B5=Kw(mi);function wL(o,h,y){var T=zt(o),P=T||Xo(o)||Cc(o);if(h=Ct(h,4),y==null){var V=o&&o.constructor;P?y=T?new V:[]:$r(o)?y=Ja(V)?xc(Yd(o)):{}:y={}}return(P?ns:da)(o,function(ce,me,Se){return h(y,ce,me,Se)}),y}function EL(o,h){return o==null?!0:Z_(o,h)}function SL(o,h,y){return o==null?o:Rw(o,h,ry(y))}function TL(o,h,y,T){return T=typeof T=="function"?T:r,o==null?o:Rw(o,h,ry(y),T)}function Oc(o){return o==null?[]:D_(o,kn(o))}function xL(o){return o==null?[]:D_(o,mi(o))}function kL(o,h,y){return y===r&&(y=h,h=r),y!==r&&(y=us(y),y=y===y?y:0),h!==r&&(h=us(h),h=
vendor: 10,005 bytes, lines 271-288
271h===h?h:0),pu(us(o),h,y)}function AL(o,h,y){return h=Za(h),y===r?(y=h,h=0):y=Za(y),o=us(o),FF(o,h,y)}function ML(o,h,y){if(y&&typeof y!="boolean"&&ti(o,h,y)&&(h=y=r),y===r&&(typeof h=="boolean"?(y=h,h=r):typeof o=="boolean"&&(y=o,o=r)),o===r&&h===r?(o=0,h=1):(o=Za(o),h===r?(h=o,o=0):h=Za(h)),o>h){var T=o;o=h,h=T}if(y||o%1||h%1){var P=lw();return Wn(o+P*(h-o+aR("1e-"+((P+"").length-1))),h)}return X_(o,h)}var CL=Ac(function(o,h,y){return h=h.toLowerCase(),o+(y?U5(h):h)});function U5(o){return Sy(fr(o).toLowerCase())}function z5(o){return o=fr(o),o&&o.replace(zo,vR).replace(XI,"")}function OL(o,h,y){o=fr(o),h=Li(h);var T=o.length;y=y===r?T:pu(Wt(y),0,T);var P=y;return y-=h.length,y>=0&&o.slice(y,P)==h}function IL(o){return o=fr(o),o&&ac.test(o)?o.replace(la,bR):o}function RL(o){return o=fr(o),o&&Fi.test(o)?o.replace(Bo,"\\$&"):o}var FL=Ac(function(o,h,y){return o+(y?"-":"")+h.toLowerCase()}),DL=Ac(function(o,h,y){return o+(y?" ":"")+h.toLowerCase()}),NL=Ww("toLowerCase");function PL(o,h,y){o=fr(o),h=Wt(h);var T=h?bc(o):0;if(!h||T>=h)return o;var P=(h-T)/2;return hp(Jd(P),y)+o+hp(Qd(P),y)}function LL(o,h,y){o=fr(o),h=Wt(h);var T=h?bc(o):0;return h&&T<h?o+hp(h-T,y):o}function BL(o,h,y){o=fr(o),h=Wt(h);var T=h?bc(o):0;return h&&T<h?hp(h-T,y)+o:o}function UL(o,h,y){return y||h==null?h=0:h&&(h=+h),qR(fr(o).replace(Di,""),h||0)}function zL(o,h,y){return(y?ti(o,h,y):h===r)?h=1:h=Wt(h),Q_(fr(o),h)}function jL(){var o=arguments,h=fr(o[0]);return o.length<3?h:h.replace(o[1],o[2])}var HL=Ac(function(o,h,y){return o+(y?"_":"")+h.toLowerCase()});function WL(o,h,y){return y&&typeof y!="number"&&ti(o,h,y)&&(h=y=r),y=y===r?Ce:y>>>0,y?(o=fr(o),o&&(typeof h=="string"||h!=null&&!by(h))&&(h=Li(h),!h&&vc(o))?Ko(Bs(o),0,y):o.split(h,y)):[]}var GL=Ac(function(o,h,y){return o+(y?" ":"")+Sy(h)});function $L(o,h,y){return o=fr(o),y=y==null?0:pu(Wt(y),0,o.length),h=Li(h),o.slice(y,y+h.length)==h}function qL(o,h,y){var T=j.templateSettings;y&&ti(o,h,y)&&(h=r),o=fr(o),h=Sp({},h,T,Xw);var P=Sp({},h.imports,T.imports,Xw),V=kn(P),ce=D_(P,V),me,Se,je=0,He=h.interpolate||J,Ge="__p += '",dt=P_((h.escape||J).source+"|"+He.source+"|"+(He===ru?su:J).source+"|"+(h.evaluate||J).source+"|$","g"),yt="//# sourceURL="+(_r.call(h,"sourceURL")?(h.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++tR+"]")+` 272`;o.replace(dt,function(Rt,rr,or,Ui,ri,zi){return or||(or=Ui),Ge+=o.slice(je,zi).replace(pc,wR),rr&&(me=!0,Ge+=`' + 273__e(`+rr+`) + 274'`),ri&&(Se=!0,Ge+=`'; 275`+ri+`; 276__p += '`),or&&(Ge+=`' + 277((__t = (`+or+`)) == null ? '' : __t) + 278'`),je=zi+Rt.length,Rt}),Ge+=`'; 279`;var It=_r.call(h,"variable")&&h.variable;if(!It)Ge=`with (obj) { 280`+Ge+` 281} 282`;else if($a.test(It))throw new Ut(l);Ge=(Se?Ge.replace(Ri,""):Ge).replace(jn,"$1").replace(lt,"$1;"),Ge="function("+(It||"obj")+`) { 283`+(It?"":`obj || (obj = {}); 284`)+"var __t, __p = ''"+(me?", __e = _.escape":"")+(Se?`, __j = Array.prototype.join; 285function print() { __p += __j.call(arguments, '') } 286`:`; 287`)+Ge+`return __p 288}`;var Kt=H5(function(){return hr(V,yt+"return "+Ge).apply(r,ce)});if(Kt.source=Ge,vy(Kt))throw Kt;return Kt}function VL(o){return fr(o).toLowerCase()}function YL(o){return fr(o).toUpperCase()}function KL(o,h,y){if(o=fr(o),o&&(y||h===r))return Q6(o);if(!o||!(h=Li(h)))return o;var T=Bs(o),P=Bs(h),V=J6(T,P),ce=Z6(T,P)+1;return Ko(T,V,ce).join("")}function XL(o,h,y){if(o=fr(o),o&&(y||h===r))return o.slice(0,tw(o)+1);if(!o||!(h=Li(h)))return o;var T=Bs(o),P=Z6(T,Bs(h))+1;return Ko(T,0,P).join("")}function QL(o,h,y){if(o=fr(o),o&&(y||h===r))return o.replace(Di,"");if(!o||!(h=Li(h)))return o;var T=Bs(o),P=J6(T,Bs(h));return Ko(T,P).join("")}function JL(o,h){var y=ie,T=q;if($r(h)){var P="separator"in h?h.separator:P;y="length"in h?Wt(h.length):y,T="omission"in h?Li(h.omission):T}o=fr(o);var V=o.length;if(vc(o)){var ce=Bs(o);V=ce.length}if(y>=V)return o;var me=y-bc(T);if(me<1)return T;var Se=ce?Ko(ce,0,me).join(""):o.slice(0,me);if(P===r)return Se+T;if(ce&&(me+=Se.length-me),by(P)){if(o.slice(me).search(P)){var je,He=Se;for(P.global||(P=P_(P.source,fr(Hn.exec(P))+"g")),P.lastIndex=0;je=P.exec(He);)var Ge=je.index;Se=Se.slice(0,Ge===r?me:Ge)}}else if(o.indexOf(Li(P),me)!=me){var dt=Se.lastIndexOf(P);dt>-1&&(Se=Se.slice(0,dt))}return Se+T}function ZL(o){return o=fr(o),o&&Lo.test(o)?o.replace(Ga,MR):o}var eB=Ac(function(o,h,y){return o+(y?" ":"")+h.toUpperCase()}),Sy=Ww("toUpperCase");function j5(o,h,y){return o=fr(o),h=y?r:h,h===r?SR(o)?IR(o):pR(o):o.match(h)||[]}var H5=Xt(function(o,h){try{return Ni(o,r,h)}catch(y){return vy(y)?y:new Ut(y)}}),tB=Xa(function(o,h){return ns(h,function(y){y=ma(y),Ya(o,y,_y(o[y],o))}),o});function rB(o){var h=o==null?0:o.length,y=Ct();return o=h?zr(o,function(T){if(typeof T[1]!="function")throw new is(a);return[y(T[0]),T[1]]}):[],Xt(function(T){for(var P=-1;++P<h;){var V=o[P];if(Ni(V[0],this,T))return Ni(V[1],this,T)}})}function nB(o){return MF(as(o,g))}function Ty(o){return function(){return o}}function iB(o,h){return o==null||o!==o?h:o}var sB=$w(),aB=$w(!0);function gi(o){return o}function xy(o){return ww(typeof o=="function"?o:as(o,g))}function oB(o){return Sw(as(o,g))}function lB(o,h){return Tw(o,as(h,g))}var uB=Xt(function(o,h){return function(y){return gh(y,o,h)}}),cB=Xt(function(o,h){return function(y){return gh(o,y,h)}});function ky(o,h,y){var T=kn(h),P=ip(h,T);y==null&&!($r(h)&&(P.length||!T.length))&&(y=h,h=o,o=this,P=ip(h,kn(h)));var V=!($r(y)&&"chain"in y)||!!y.chain,ce=Ja(o);return ns(P,function(me){var Se=h[me];o[me]=Se,ce&&(o.prototype[me]=function(){var je=this.__chain__;if(V||je){var He=o(this.__wrapped__),Ge=He.__actions__=di(this.__actions__);return Ge.push({func:Se,args:arguments,thisArg:o}),He.__chain__=je,He}return Se.apply(o,Wo([this.value()],arguments))})}),o}function hB(){return Dn._===this&&(Dn._=LR),this}function Ay(){}function fB(o){return o=Wt(o),Xt(function(h){return xw(h,o)})}var dB=iy(zr),pB=iy(q6),mB=iy(C_);function W5(o){return hy(o)?O_(ma(o)):$F(o)}function gB(o){return function(h){return o==null?r:mu(o,h)}}var _B=Vw(),yB=Vw(!0);function My(){return[]}function Cy(){return!1}function vB(){return{}}function bB(){return""}function wB(){return!0}function EB(o,h){if(o=Wt(o),o<1||o>xe)return[];var y=Ce,T=Wn(o,Ce);h=Ct(h),o-=Ce;for(var P=F_(T,h);++y<o;)h(y);return P}function SB(o){return zt(o)?zr(o,ma):Bi(o)?[o]:di(u5(fr(o)))}function TB(o){var h=++NR;return fr(o)+h}var xB=cp(function(o,h){return o+h},0),kB=sy("ceil"),AB=cp(function(o,h){return o/h},1),MB=sy("floor");function CB(o){return o&&o.length?np(o,gi,G_):r}function OB(o,h){return o&&o.length?np(o,Ct(h,2),G_):r}function IB(o){return K6(o,gi)}function RB(o,h){return K6(o,Ct(h,2))}function FB(o){return o&&o.length?np(o,gi,Y_):r}function DB(o,h){return o&&o.length?np(o,Ct(h,2),Y_):r}var NB=cp(function(o,h){return o*h},1),PB=sy("round"),LB=cp(function(o,h){return o-h},0);function BB(o){return o&&o.length?R_(o,gi):0}function UB(o,h){return o&&o.length?R_(o,Ct(h,2)):0}return j.after=oP,j.ary=b5,j.assign=YP,j.assignIn=D5,j.assignInWith=Sp,j.assignWith=KP,j.at=XP,j.before=w5,j.bind=_y,j.bindAll=tB,j.bindKey=E5,j.castArray=vP,j.chain=_5,j.chunk=MD,j.compact=CD,j.concat=OD,j.cond=rB,j.conforms=nB,j.constant=Ty,j.countBy=BN,j.create=QP,j.curry=S5,j.curryRight=T5,j.debounce=x5,j.defaults=JP,j.defaultsDeep=ZP,j.defer=lP,j.delay=uP,j.difference=ID,j.differenceBy=RD,j.differenceWith=FD,j.drop=DD,j.dropRight=ND,j.dropRightWhile=PD,j.dropWhile=LD,j.fill=BD,j.filter=zN,j.flatMap=WN,j.flatMapDeep=GN,j.flatMapDepth=$N,j.flatten=d5,j.flattenDeep=UD,j.flattenDepth=zD,j.flip=cP,j.flow=sB,j.flowRight=aB,j.fromPairs=jD,j.functions=aL,j.functionsIn=oL,j.groupBy=qN,j.initial=WD,j.intersection=GD,j.intersectionBy=$D,j.intersectionWith=qD,j.invert=uL,j.invertBy=cL,j.invokeMap=YN,j.iteratee=xy,j.keyBy=KN,j.keys=kn,j.keysIn=mi,j.map=_p,j.mapKeys=fL,j.mapValues=dL,j.matches=oB,j.matchesProperty=lB,j.memoize=vp,j.merge=pL,j.mergeWith=N5,j.method=uB,j.methodOf=cB,j.mixin=ky,j.negate=bp,j.nthArg=fB,j.omit=mL,j.omitBy=gL,j.once=hP,j.orderBy=XN,j.over=dB,j.overArgs=fP,j.overEvery=pB,j.overSome=mB,j.partial=yy,j.partialRight=k5,j.partition=QN,j.pick=_L,j.pickBy=P5,j.property=W5,j.propertyOf=gB,j.pull=XD,j.pullAll=m5,j.pullAllBy=QD,j.pullAllWith=JD,j.pullAt=ZD,j.range=_B,j.rangeRight=yB,j.rearg=dP,j.reject=eP,j.remove=eN,j.rest=pP,j.reverse=my,j.sampleSize=rP,j.set=vL,j.setWith=bL,j.shuffle=nP,j.slice=tN,j.sortBy=aP,j.sortedUniq=lN,j.sortedUniqBy=uN,j.split=WL,j.spread=mP,j.tail=cN,j.take=hN,j.takeRight=fN,j.takeRightWhile=dN,j.takeWhile=pN,j.tap=CN,j.throttle=gP,j.thru=gp,j.toArray=I5,j.toPairs=L5,j.toPairsIn=B5,j.toPath=SB,j.toPlainObject=F5,j.transform=wL,j.unary=_P,j.union=mN,j.unionBy=gN,j.unionWith=_N,j.uniq=yN,j.uniqBy=vN,j.uniqWith=bN,j.unset=EL,j.unzip=gy,j.unzipWith=g5,j.update=SL,j.updateWith=TL,j.values=Oc,j.valuesIn=xL,j.without=wN,j.words=j5,j.wrap=yP,j.xor=EN,j.xorBy=SN,j.xorWith=TN,j.zip=xN,j.zipObject=kN,j.zipObjectDeep=AN,j.zipWith=MN,j.entries=L5,j.entriesIn=B5,j.extend=D5,j.extendWith=Sp,ky(j,j),j.add=xB,j.attempt=H5,j.camelCase=CL,j.capitalize=U5,j.ceil=kB,j.clamp=kL,j.clone=bP,j.cloneDeep=EP,j.cloneDeepWith=SP,j.cloneWith=wP,j.conformsTo=TP,j.deburr=z5,j.defaultTo=iB,j.divide=AB,j.endsWith=OL,j.eq=zs,j.escape=IL,j.escapeRegExp=RL,j.every=UN,j.find=jN,j.findIndex=h5,j.findKey=eL,j.findLast=HN,j.findLastIndex=f5,j.findLastKey=tL,j.floor=MB,j.forEach=y5,j.forEachRight=v5,j.forIn=rL,j.forInRight=nL,j.forOwn=iL,j.forOwnRight=sL,j.get=wy,j.gt=xP,j.gte=kP,j.has=lL,j.hasIn=Ey,j.head=p5,j.identity=gi,j.includes=VN,j.indexOf=HD,j.inRange=AL,j.invoke=hL,j.isArguments=yu,j.isArray=zt,j.isArrayBuffer=AP,j.isArrayLike=pi,j.isArrayLikeObject=rn,j.isBoolean=MP,j.isBuffer=Xo,j.isDate=CP,j.isElement=OP,j.isEmpty=IP,j.isEqual=RP,j.isEqualWith=FP,j.isError=vy,j.isFinite=DP,j.isFunction=Ja,j.isInteger=A5,j.isLength=wp,j.isMap=M5,j.isMatch=NP,j.isMatchWith=PP,j.isNaN=LP,j.isNative=BP,j.isNil=zP,j.isNull=UP,j.isNumber=C5,j.isObject=$r,j.isObjectLike=Zr,j.isPlainObject=Eh,j.isRegExp=by,j.isSafeInteger=jP,j.isSet=O5,j.isString=Ep,j.isSymbol
vendor: 8,170 bytes, line 288
288=Bi,j.isTypedArray=Cc,j.isUndefined=HP,j.isWeakMap=WP,j.isWeakSet=GP,j.join=VD,j.kebabCase=FL,j.last=ls,j.lastIndexOf=YD,j.lowerCase=DL,j.lowerFirst=NL,j.lt=$P,j.lte=qP,j.max=CB,j.maxBy=OB,j.mean=IB,j.meanBy=RB,j.min=FB,j.minBy=DB,j.stubArray=My,j.stubFalse=Cy,j.stubObject=vB,j.stubString=bB,j.stubTrue=wB,j.multiply=NB,j.nth=KD,j.noConflict=hB,j.noop=Ay,j.now=yp,j.pad=PL,j.padEnd=LL,j.padStart=BL,j.parseInt=UL,j.random=ML,j.reduce=JN,j.reduceRight=ZN,j.repeat=zL,j.replace=jL,j.result=yL,j.round=PB,j.runInContext=we,j.sample=tP,j.size=iP,j.snakeCase=HL,j.some=sP,j.sortedIndex=rN,j.sortedIndexBy=nN,j.sortedIndexOf=iN,j.sortedLastIndex=sN,j.sortedLastIndexBy=aN,j.sortedLastIndexOf=oN,j.startCase=GL,j.startsWith=$L,j.subtract=LB,j.sum=BB,j.sumBy=UB,j.template=qL,j.times=EB,j.toFinite=Za,j.toInteger=Wt,j.toLength=R5,j.toLower=VL,j.toNumber=us,j.toSafeInteger=VP,j.toString=fr,j.toUpper=YL,j.trim=KL,j.trimEnd=XL,j.trimStart=QL,j.truncate=JL,j.unescape=ZL,j.uniqueId=TB,j.upperCase=eB,j.upperFirst=Sy,j.each=y5,j.eachRight=v5,j.first=p5,ky(j,function(){var o={};return da(j,function(h,y){_r.call(j.prototype,y)||(o[y]=h)}),o}(),{chain:!1}),j.VERSION=n,ns(["bind","bindKey","curry","curryRight","partial","partialRight"],function(o){j[o].placeholder=j}),ns(["drop","take"],function(o,h){ir.prototype[o]=function(y){y=y===r?1:wn(Wt(y),0);var T=this.__filtered__&&!h?new ir(this):this.clone();return T.__filtered__?T.__takeCount__=Wn(y,T.__takeCount__):T.__views__.push({size:Wn(y,Ce),type:o+(T.__dir__<0?"Right":"")}),T},ir.prototype[o+"Right"]=function(y){return this.reverse()[o](y).reverse()}}),ns(["filter","map","takeWhile"],function(o,h){var y=h+1,T=y==fe||y==Te;ir.prototype[o]=function(P){var V=this.clone();return V.__iteratees__.push({iteratee:Ct(P,3),type:y}),V.__filtered__=V.__filtered__||T,V}}),ns(["head","last"],function(o,h){var y="take"+(h?"Right":"");ir.prototype[o]=function(){return this[y](1).value()[0]}}),ns(["initial","tail"],function(o,h){var y="drop"+(h?"":"Right");ir.prototype[o]=function(){return this.__filtered__?new ir(this):this[y](1)}}),ir.prototype.compact=function(){return this.filter(gi)},ir.prototype.find=function(o){return this.filter(o).head()},ir.prototype.findLast=function(o){return this.reverse().find(o)},ir.prototype.invokeMap=Xt(function(o,h){return typeof o=="function"?new ir(this):this.map(function(y){return gh(y,o,h)})}),ir.prototype.reject=function(o){return this.filter(bp(Ct(o)))},ir.prototype.slice=function(o,h){o=Wt(o);var y=this;return y.__filtered__&&(o>0||h<0)?new ir(y):(o<0?y=y.takeRight(-o):o&&(y=y.drop(o)),h!==r&&(h=Wt(h),y=h<0?y.dropRight(-h):y.take(h-o)),y)},ir.prototype.takeRightWhile=function(o){return this.reverse().takeWhile(o).reverse()},ir.prototype.toArray=function(){return this.take(Ce)},da(ir.prototype,function(o,h){var y=/^(?:filter|find|map|reject)|While$/.test(h),T=/^(?:head|last)$/.test(h),P=j[T?"take"+(h=="last"?"Right":""):h],V=T||/^find/.test(h);P&&(j.prototype[h]=function(){var ce=this.__wrapped__,me=T?[1]:arguments,Se=ce instanceof ir,je=me[0],He=Se||zt(ce),Ge=function(rr){var or=P.apply(j,Wo([rr],me));return T&&dt?or[0]:or};He&&y&&typeof je=="function"&&je.length!=1&&(Se=He=!1);var dt=this.__chain__,yt=!!this.__actions__.length,It=V&&!dt,Kt=Se&&!yt;if(!V&&He){ce=Kt?ce:new ir(this);var Rt=o.apply(ce,me);return Rt.__actions__.push({func:gp,args:[Ge],thisArg:r}),new ss(Rt,dt)}return It&&Kt?o.apply(this,me):(Rt=this.thru(Ge),It?T?Rt.value()[0]:Rt.value():Rt)})}),ns(["pop","push","shift","sort","splice","unshift"],function(o){var h=Hd[o],y=/^(?:push|sort|unshift)$/.test(o)?"tap":"thru",T=/^(?:pop|shift)$/.test(o);j.prototype[o]=function(){var P=arguments;if(T&&!this.__chain__){var V=this.value();return h.apply(zt(V)?V:[],P)}return this[y](function(ce){return h.apply(zt(ce)?ce:[],P)})}}),da(ir.prototype,function(o,h){var y=j[h];if(y){var T=y.name+"";_r.call(Tc,T)||(Tc[T]=[]),Tc[T].push({name:h,func:y})}}),Tc[up(r,S).name]=[{name:"wrapper",func:r}],ir.prototype.clone=ZR,ir.prototype.reverse=eF,ir.prototype.value=tF,j.prototype.at=ON,j.prototype.chain=IN,j.prototype.commit=RN,j.prototype.next=FN,j.prototype.plant=NN,j.prototype.reverse=PN,j.prototype.toJSON=j.prototype.valueOf=j.prototype.value=LN,j.prototype.first=j.prototype.head,uh&&(j.prototype[uh]=DN),j},wc=RR();cu?((cu.exports=wc)._=wc,x_._=wc):Dn._=wc}).call(Kn)})(Kg,Kg.exports);var CM=Kg.exports;function OM(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(e=0;e<i;e++)t[e]&&(r=OM(t[e]))&&(n&&(n+=" "),n+=r)}else for(r in t)t[r]&&(n&&(n+=" "),n+=r);return n}function Xg(){for(var t,e,r=0,n="",i=arguments.length;r<i;r++)(t=arguments[r])&&(e=OM(t))&&(n&&(n+=" "),n+=e);return n}const jue=Object.freeze(Object.defineProperty({__proto__:null,clsx:Xg,default:Xg},Symbol.toStringTag,{value:"Module"})),IM=[["add","bxs-plus","add-line"],["address book","bxs-contact-book","contacts-book-3-fill"],["angle double left","bxs-chevrons-left","arrow-left-double-line"],["angle double right","bxs-chevrons-right","arrow-right-double-line"],["angle down","bxs-chevron-down","arrow-down-s-line"],["angle left","bxs-chevron-left","arrow-left-s-line"],["angle right","bxs-chevron-right","arrow-right-s-line"],["angle up","bxs-chevron-up","arrow-up-s-line"],["apple","bxl-apple","apple-fill"],["arrow alternate circle right","bxs-arrow-right-circle","arrow-right-circle-fill"],["arrow circle up","bxs-arrow-up-stroke-circle","arrow-up-circle-fill"],["arrow down","bxs-arrow-down-stroke","arrow-down-line"],["arrow left","bxs-arrow-left-stroke","arrow-left-line"],["arrow right","bxs-arrow-right-stroke","arrow-right-line"],["arrow up","bxs-arrow-up-stroke","arrow-up-line"],["arrows alternate vertical","bx-move-vertical","expand-vertical-s-fill"],["backward","bxs-rewind","rewind-fill"],["ban","bx-block","prohibited-line"],["bars","bx-menu-wide","menu-line"],["bell outline","bx-bell","notification-2-line"],["birthday cake","bxs-birthday-cake","cake-fill"],["bolt","bxs-thunder","flashlight-fill"],["book","bxs-book","book-2-fill"],["bookmark","bxs-bookmark","bookmark-fill"],["box","bxs-box","box-3-fill"],["braille","bx-braille","fingerprint-line"],["briefcase","bxs-briefcase","briefcase-fill"],["bug","bxs-bug","bug-fill"],["bullhorn","bx-megaphone","megaphone-line"],["calculator","bxs-calculator","calculator-line"],["calendar","bxs-calendar","calendar-fill"],["calendar alternate","bxs-calendar-alt","calendar-2-fill"],["calendar alternate outline","bx-calendar-alt","calendar-2-line"],["calendar check","bxs-calendar-check","calendar-check-fill"],["calendar outline","bx-calendar","calendar-line"],["camera","bxs-camera","camera-4-fill"],["cancel","bxs-x","close-fill"],["caret square right","bxs-caret-right-square","arrow-right-box-fill"],["caret down","bxs-caret-down","arrow-down-s-fill"],["caret right","bxs-caret-right","arrow-right-s-fill"],["cart plus","bxs-cart-plus","shopping-cart-2-fill"],["cc stripe","bx-credit-card","bank-card-2-line"],["chart bar","bxs-chart-bar-columns","bar-chart-fill"],["chart line","bxs-chart-line","line-chart-fill"],["chart pie","bxs-pie-chart-alt","pie-chart-fill"],["chat","bxs-message-dots","message-2-fill"],["check","bx-check","check-fill"],["check circle","bxs-check-circle","checkbox-circle-fill"],["checkmark","bxs-check","check-fill"],["checkmark box","bxs-checkbox-checked","checkbox-fill"],["chevron down","bxs-chevron-down","arrow-down-wide-fill"],["chevron left","bxs-chevron-left","arrow-left-wide-fill"],["chevron right","bxs-chevron-right","arrow-right-wide-fill"],["chevron up","bxs-chevron-up","arrow-up-wide-fill"],["circle","bxs-circle","circle-fill"],["circle notched","bx-circle-dashed-half","donut-chart-line"],["circle outline","bx-circle","circle-line"],["clipboard list","bxs-clipboard-detail","survey-fill"],["clipboard outline","bx-clipboard","clipboard-line"],["clock","bxs-clock","time-fill"],["clock outline","bx-clock","time-line"],["clone","bx-copy-alt","file-copy-2-fill"],["close","bxs-x","close-fill"],["cloud","bxs-cloud-alt","cloud-fill"],["cloud upload","bxs-arrow-up-stroke-circle","upload-cloud-fill"],["code","bxs-code-alt","code-s-slas
288h-fill"],["cog","bxs-cog","settings-5-fill"],["cogs","bxs-slider","settings-3-line"],["comment outline","bx-message-dots","message-2-line"],["comments","bxs-discussion","discuss-fill"],["compress","bxs-fullscreen-exit","fullscreen-exit-fill"],["computer","bx-monitor","computer-line"],["content","bx-article","article-line"],["copy","bxs-copy","file-copy-2-line"],["copy outline","bx-copy","file-copy-2-line"],["credit card","bxs-credit-card-alt","bank-card-fill"],["credit card outline","bx-credit-card-alt","bank-card-line"],["database","bxs-database-alt","database-2-fill"],["delete","bxs-x","close-fill"],["discord","bxl-discord","discord-fill"],["dollar","bxs-dollar","money-dollar-circle-fill"],["dont","bx-block","prohibited-line"],["dot circle","bxs-radio-circle-marked","record-circle-fill"],["download","bx-arrow-in-down-square-half","download-2-fill"],["dropdown","bxs-caret-down","arrow-drop-down-fill"],["edit","bxs-edit","edit-box-line"],["edit outline","bx-edit","edit-box-line"],["ellipsis horizontal","bx-dots-horizontal-rounded","more-fill"],["ellipsis vertical","bx-dots-vertical-rounded","more-2-fill"],["envelope","bxs-envelope","mail-fill"],["envelope outline","bx-envelope","mail-line"],["eraser","bxs-eraser","eraser-fill"],["exchange","bx-arrow-right-left","arrow-left-right-line"],["exclamation circle","bxs-alert-circle","error-warning-fill"],["exclamation triangle","bxs-alert-triangle","alert-fill"],["expand","bx-fullscreen","fullscreen-fill"],["expand arrows alternate","bx-maximize","picture-in-picture-exit-fill"],["external","bxs-arrow-out-up-right-square","external-link-line"],["external alternate","bx-link-external","external-link-line"],["eye","bx-eye","eye-line"],["eye slash","bx-eye-slash","eye-off-line"],["eye slash outline","bx-eye-slash","eye-off-line"],["facebook","bxl-facebook-square","facebook-box-fill"],["feed","bxs-rss","rss-fill"],["file","bxs-file","file-3-fill"],["file alternate","bxs-file-detail","file-text-fill"],["file alternate outline","bx-file-detail","file-text-line"],["file archive","bxs-file-zip","file-zip-fill"],["file audio","bxs-music-library","file-music-fill"],["file code","bxs-file-code","file-code-fill"],["file excel","bxs-file-x","file-excel-fill"],["file image","bxs-file-heart","file-image-fill"],["file outline","bx-file","file-3-line"],["file pdf","bxs-file-star","file-pdf-2-fill"],["file powerpoint","bxs-file-cog","file-ppt-fill"],["file text","bxs-file-detail","file-text-fill"],["file word","bxs-file-detail","file-word-fill"],["film","bx-film","film-line"],["folder","bxs-folder","folder-fill"],["folder open","bxs-folder-open","folder-open-fill"],["font","bx-font-family","font-size"],["fork","bxs-git-branch","git-fork-line"],["forward","bxs-fast-forward","speed-fill"],["github","bxl-github","github-fill"],["globe","bxs-globe-alt-3","global-fill"],["google","bxl-google","google-fill"],["grid layout","bxs-grid-9","layout-grid-2-fill"],["group","bxs-group","group-fill"],["hand paper","bxs-hand","hand"],["hand pointer","bxs-finger-up","cursor-hand"],["hand point right outline","bx-finger-right","arrow-right-box-line"],["handshake outline","bx-handshake","shake-hands-line"],["header","bx-heading","heading"],["headphones","bxs-headphone-alt-2","headphone-fill"],["heartbeat","bx-pulse","heart-pulse-fill"],["help circle","bxs-help-circle","question-fill"],["hide","bxs-eye-slash","eye-off-fill"],["history","bx-history","history-line"],["home","bxs-home-alt","home-8-fill"],["html5","bxl-html5","html5-fill"],["image","bxs-image","image-fill"],["image outline","bx-image","image-line"],["images","bxs-images","multi-image-fill"],["inbox","bxs-inbox","inbox-fill"],["info","bx-info-square","info-i"],["info circle","bxs-info-circle","information-2-fill"],["instagram","bxl-instagram","instagram-line"],["js","bxl-javascript","javascript-fill"],["key","bxs-key","key-2-fill"],["keyboard","bx-keyboard","keyboard-line"],["lab","bxs-medical-flask","flask-fill"],["laptop","bx-laptop","macbook-line"],["level up","bx-turn-up","corner-right-up-line"],["lightning","bxs-thunder","flashlight-fill"],["link","bx-link","link"],["linkedin","bxl-linkedin-square","linkedin-box-fill"],["linkify","bx-link","links-fill"],["list","bx-list-ul","list-check"],["list alternate","bxs-list-ul-square","list-view"],["list alternate outline","bx-list-ul-square","list-view"],["lock","bxs-lock-keyhole","lock-fill"],["lock open","bxs-lock-open","lock-unlock-fill"],["magic","bxs-magic-wand","magic-fill"],["mail","bxs-envelope","mail-fill"],["mail outline","bx-envelope","mail-line"],["map pin","bxs-location","map-pin-fill"],["microchip","bxs-chip","cpu-line"],["microphone","bxs-microphone","mic-fill"],["minus","bx-minus","subtract-fill"],["mobile alternate","bx-mobile","smartphone-line"],["music","bxs-music-alt","music-2-fill"],["object group","bxs-vector-square","shape-2-fill"],["paint brush","bxs-brush","brush-fill"],["paperclip","bx-paperclip","attachment-2"],["paste","bxs-paste","clipboard-fill"],["pencil","bxs-pencil","pencil-fill"],["phone","bxs-phone","phone-fill"],["picture","bxs-image","image-fill"],["pin","bxs-pin","pushpin-2-fill"],["pause","bxs-pause","pause-fill"],["play","bxs-play","play-fill"],["play circle","bxs-play-circle","play-circle-fill"],["plug","bxs-plug-connect","plug-fill"],["plus","bx-plus","add-fill"],["podcast","bx-podcast","cast-line"],["question","bx-help-circle","question-mark"],["question circle","bxs-help-circle","question-fill"],["question circle outline","bx-help-circle","question-line"],["redo","bxs-redo-stroke","arrow-go-forward-fill"],["refresh","bx-refresh-cw","loop-right-fill"],["rocket","bxs-rocket","rocket-fill"],["rss","bxs-rss","rss-fill"],["save","bxs-save","save-2-fill"],["search","bx-search-alt","search-line"],["send","bxs-send","send-plane-fill"],["server","bxs-server","server-fill"],["setting","bxs-cog","settings-5-fill"],["settings","bxs-slider","settings-3-line"],["share alternate","bxs-share","share-fill"],["share square","bx-arrow-out-up-right-square","share-forward-2-fill"],["shipping fast","bxs-truck","truck-fill"],["shop","bxs-cart","shopping-cart-fill"],["shopping bag","bxs-shopping-bag","shopping-bag-4-fill"],["shopping cart","bxs-cart","shopping-cart-2-fill"],["sign in","bxs-arrow-in-right-square-half","login-box-line"],["sign-in","bxs-arrow-in-right-square-half","login-box-line"],["sign-out","bxs-arrow-out-right-square-half","logout-box-r-line"],["sitemap","bxs-sitemap","no
288de-tree"],["sort amount down","bx-arrow-down-a-z","sort-desc"],["sort amount up","bx-arrow-up-a-z","sort-asc"],["sort numeric down","bx-list-ol","sort-number-asc"],["sort numeric up","bx-arrow-up-a-z","sort-number-desc"],["spinner","bx-loader-dots","loader-2-line"],["spotify","bxl-spotify","spotify-fill"],["square outline","bx-square","square-line"],["star","bxs-star","star-fill"],["star outline","bx-star","star-line"],["step backward","bxs-skip-previous","skip-back-fill"],["stop","bxs-stop","stop-fill"],["stream","bx-broadcast","broadcast-fill"],["stripe","bxl-stripe","bank-card-fill"],["sync","bx-refresh-cw","loop-right-line"],["sync alternate","bx-refresh-cw","loop-right-fill"],["table","bx-table","table-fill"],["tablet alternate","bx-tab","tablet-line"],["tag","bxs-price-tag","price-tag-3-fill"],["tags","bxs-price-tag-alt","price-tag-2-fill"],["talk","bxs-message-circle-dots","message-2-fill"],["tasks","bx-checklist","list-check-3"],["text cursor","bx-rename","input-cursor-move"],["th","bxs-grid","gallery-view"],["th large","bxs-grid-9","gallery-view-2"],["th list","bx-list-ul","list-unordered"],["thumbs down","bxs-dislike","thumb-down-fill"],["thumbs up","bxs-like","thumb-up-fill"],["time","bxs-time","time-fill"],["times","bx-x","close-fill"],["times circle","bxs-x-circle","close-circle-fill"],["toggle off","bx-toggle-left","toggle-line"],["toggle on","bxs-toggle-right","toggle-fill"],["toggle up","bxs-caret-up-square","arrow-up-box-fill"],["trash","bxs-trash-alt","delete-bin-7-fill"],["trash alternate","bxs-trash","delete-bin-6-fill"],["trash alternate outline","bx-trash","delete-bin-6-line"],["twitter","bxl-twitter","twitter-fill"],["undo","bxs-undo-stroke","arrow-go-back-fill"],["undo alternate","bxs-undo-stroke","arrow-go-back-fill"],["unlink","bx-unlink","link-unlink"],["unlock","bxs-lock-open","lock-unlock-fill"],["unlock alternate","bxs-lock-keyhole-open","lock-unlock-fill"],["unordered list","bx-list-ul","list-unordered"],["upload","bx-arrow-out-up-square-half","upload-2-fill"],["usb","bxs-git-repo-forked","usb-line"],["user","bxs-user","user-3-fill"],["user outline","bx-user","user-3-line"],["user plus","bxs-user-plus","user-add-fill"],["user times","bxs-user-x","user-unfollow-fill"],["users","bxs-group","team-fill"],["volume up","bxs-volume-full","volume-up-fill"],["warning","bx-alert-square","error-warning-line"],["warning circle","bxs-alert-circle","error-warning-fill"],["warning sign","bxs-alert-triangle","alert-fill"],["window maximize outline","bxs-window","window-fill"],["wpforms","bx-form","survey-line"],["wrench","bxs-spanner","wrench-fill"],["x","bx-x","close-fill"],["youtube","bxl-youtube","youtube-fill"],["zap","bxs-bolt-circle","flashlight-fill"]];function RM(t,e={}){const{defaultAs:r}=e;return t.as&&t.as!==r?t.as:t.href?"a":r||"div"}const _s=(t,e)=>t&&e,L3=$.forwardRef(function(t,e){var r;const{bordered:n,circular:i,className:s,color:a,disabled:l,inverted:u,link:p,loading:d,name:g,size:_,animation:v,...k}=t,O=IM.find(([R,H,re])=>R===g),N=O?O[1]:g,S=(r=N==null?void 0:N.startsWith("bxl-"))!=null?r:!1,M=S?N==null?void 0:N.replace("bxl-","bx-"):N,F=v&&"bx-".concat(v),G=Xg("icon","bx",S&&"bxl",M,a,_,F,_s(n,"bordered"),_s(i,"circular"),_s(l,"disabled"),_s(u,"inverted"),_s(p,"link"),_s(d,"loading"),s),X=RM(t,{defaultAs:"i"}),z=R=>{if(l){R.preventDefault();return}CM.invoke(t,"onClick",R,t)};return Re.jsx(X,{...k,className:G,onClick:z,ref:e})});L3.displayName="BoxIcon";L3.propTypes={as:at.elementType,bordered:at.bool,circular:at.bool,className:at.string,color:at.oneOf(["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","black"]),disabled:at.bool,inverted:at.bool,link:at.bool,loading:at.bool,name:at.string.isRequired,size:at.oneOf(["mini","tiny","small","medium","large","big","huge","massive"]),animation:at.oneOf(["spin","tada","flashing","burst","fade-left","fade-right","spin-hover","tada-hover","flashing-hover","burst-hover","fade-left-hover","fade-right-hover"]),"aria-hidden":at.string,"aria-label":at.string};const FM=$.forwardRef(function(t,e){const{bordered:r,circular:n,className:i,color:s,disabled:a,inverted:l,link:u,loading:p,name:d,size:g,animation:_,...v}=t,k=IM.find(([G,X,z])=>G===d),O=k?k[2]:d,N=_&&"bx-".concat(_),S=Xg("icon","ri-"+O,s,g,N,_s(r,"bordered"),_s(n,"circular"),_s(a,"disabled"),_s(l,"inverted"),_s(u,"link"),_s(p,"loading"),i),M=RM(t,{defaultAs:"i"}),F=G=>{if(a){G.preventDefault();return}CM.invoke(t,"onClick",G,t)};return Re.jsx(M,{...v,className:S,onClick:F,ref:e})});FM.displayName="RemixIcon";FM.propTypes={as:at.elementType,bordered:at.bool,circular:at.bool,className:at.string,color:at.oneOf(["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","black"]),disabled:at.bool,inverted:at.bool,link:at.bool,loading:at.bool,name:at.string.isRequired,size:at.oneOf(["mini","tiny","small","medium","large","big","huge","massive"]),animation:at.oneOf(["spin","tada","flashing","burst","fade-left","fade-right","spin-hover","tada-hover","flashing-hover","burst-hover","fade-left-hover","fade-right-hover"]),"aria-hidden":at.string,"aria-label":at.string};const Qs=$.forwardRef(function(t,e){const{name:r,size:n,...i}=t;return Re.jsx(L3,{...t,ref:e})});Qs.displayName="PlusIcon";Qs.propTypes={as:at.elementType,bordered:at.bool,circular:at.bool,className:at.string,color:at.oneOf(["red","orange","yellow","olive","green","teal","blue","violet","purple","pink","brown","grey","black"]),disabled:at.bool,inverted:at.bool,link:at.bool,loading:at.bool,name:at.string.isRequired,size:at.oneOf(["mini","tiny","small","medium","large","big","huge","massive"]),animation:at.oneOf(["spin","tada","flashing","burst","fade-left","fade-right","spin-hover","tada-hover","flashing-hover","burst-hover","fade-left-hover","fade-right-hover"]),"aria-hidden":at.string,"aria-label":at.string};const dS={hasError:!1,error:void 0},DM=({error:t,resetError:e})=>{var r;const{support_email:n}=Ds(),i=(r=t==null?void 0:t.message)!=null?r:"unknown error",s=i.includes("dynamically imported module")||i.includes("Failed to fetch"),a=()=>
288{if(s){const l=new URL(window.location.href);l.searchParams.set("_cb",Date.now().toString()),window.location.href=l.toString()}else e==null||e()};return Re.jsx("main",{children:Re.jsx(La,{centered:!0,verticalAlign:"middle",style:{height:"100vh"},children:Re.jsxs(La.Column,{mobile:14,tablet:12,computer:10,children:[Re.jsxs(ra,{icon:!0,error:!0,style:{textAlign:"left"},children:[Re.jsx(Qs,{name:"exclamation triangle"}),Re.jsxs(ra.Content,{style:{marginBottom:"0.5rem"},children:[Re.jsx(ra.Header,{style:{marginBottom:"0.5rem",textAlign:"left"},children:"Oops, something went wrong"}),"Error: ",i,Re.jsx("br",{}),"Please contact ",n]})]}),Re.jsx(Zl,{basic:!0,textAlign:"center",style:{padding:0},children:Re.jsx(li,{secondary:!0,onClick:a,children:s?"Reload Page":"Reset Error"})})]})})})};class YQ extends $.Component{constructor(e){super(e),this.resetError=()=>{this.setState(dS)},this.resetError=this.resetError.bind(this),this.state=dS}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,r){console.error("ErrorBoundary caught an error: ",e,r);const n=(e==null?void 0:e.message)||"";if(n.includes("dynamically imported module")||n.includes("Failed to fetch")||n.includes("Loading chunk")||n.includes("Loading CSS chunk")){const s="lazy-reload-ts",a=Number(sessionStorage.getItem(s)||0);if(Date.now()-a>1e4){sessionStorage.setItem(s,String(Date.now())),window.location.reload();return}}this.setState({hasError:!0,error:e})}render(){const{hasError:e,error:r}=this.state,{fallback:n,children:i}=this.props;return e?DM?Re.jsx(n,{error:r,resetError:this.resetError}):null:i}}var pS;const KQ=((pS=void 0)==null?void 0:pS.toLowerCase())==="true",XQ=({title:t,description:e,keywords:r,ogImage:n,twitterImage:i,url:s})=>Re.jsxs(MG,{children:[Re.jsx("title",{children:t}),Re.jsx("meta",{name:"description",content:e}),Re.jsx("meta",{name:"keywords",content:r}),Re.jsx("meta",{property:"og:title",content:t}),Re.jsx("meta",{property:"og:description",content:e}),n&&Re.jsx("meta",{property:"og:image",content:n}),Re.jsx("meta",{property:"og:url",content:s}),Re.jsx("meta",{property:"og:type",content:"website"}),Re.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),Re.jsx("meta",{name:"twitter:title",content:t}),Re.jsx("meta",{name:"twitter:description",content:e}),i&&Re.jsx("meta",{name:"twitter:image",content:i})]}),QQ=()=>{const t=K1(),{domain:e,hostname:r,app_type:n,title:i,metadata:s,favicon_url:a}=Ds(),{description:l,keywords:u,ogImage:p,twitterImage:d}=s??{},[g,_]=$.useState(),v=new URL(window.location.href);return $.useEffect(()=>{const k=async(O,N)=>{const S=await t.getPodcastEpisode(O,N);KQ&&console.log({r:S});const M={};M.title=S.title,M.description=S.desc,M.ogImage=S.wideImageUrl,M.twitterImage=S.wideImageUrl,_(M)};if(n==="website"&&v){const O=v.pathname,N=O.startsWith("/")?O.slice(1).split("/"):O.split("/");N.length==4&&N[1]=="episodes"&&k("dataskeptic",N[3])}},[window.location.href]),Re.jsx(XQ,{title:(g==null?void 0:g.title)||i,description:(g==null?void 0:g.description)||l||i,keywords:(g==null?void 0:g.keywords)||u||i,ogImage:(g==null?void 0:g.ogImage)||p||a,twitterImage:(g==null?void 0:g.twitterImage)||d||a,url:window.location.href})};var mS;const gS=((mS=void 0)==null?void 0:mS.toLowerCase())==="true";function JQ(){const{hostname:t}=Ds(),{token:e,username:r}=aa(),{userMaintenance:n,appsMaintenance:i}=K1(),s=$.useRef(!1);return $.useEffect(()=>{if(!e){s.current=!1;return}t&&r&&!s.current&&(s.current=!0,n(t,r).then(a=>{a&&gS&&console.log("Successfully performed account maintenance"),i(t,r).then(l=>{l&&gS&&console.log("Successfully performed apps maintenance")}).catch(l=>{console.error(l.message||"Error while performing apps maintenance")})}).catch(a=>{console.error(a.message||"Error while performing account maintenance"),s.current=!1}))},[e,t,r]),null}function ZQ(){const{initial_user_groups:t}=Ds(),{username:e}=aa();return $.useEffect(()=>{if(!t)throw new Error("This site is misconfigured. Please update initial_user_groups.")},[]),null}function eJ(){const t=ld(),{api_url:e}=Ds(),{username:r,token:n}=aa(),i=({targetUser:s,key:a,immediate:l})=>{console.log({key:a,immediate:l}),mn(u=>Re.jsxs("a",{href:"/app/files/3bcca4d6c3e53a?path=".concat(a),onClick:p=>{p.preventDefault(),t("/app/files/3bcca4d6c3e53a?path=".concat(a),{replace:!0})},children:["New file created: ",a]}),{style:{padding:"0.25rem 0.5rem",color:"#ffffff"},icon:Re.jsx(yA,{})}),l&&t("/app/files/3bcca4d6c3e53a?path=".concat(a),{replace:!0})};return $.useEffect(()=>{if(n){let s=new EventSource("".concat(e,"/notification/listen/").concat(r));return s.addEventListener("keyChange",a=>
vendor: 9,740 bytes, lines 288-293
288i(JSON.parse(a.data))),()=>{s.close()}}},[n]),null}const _S=["http","https","mailto","tel"];function tJ(t){const e=(t||"").trim(),r=e.charAt(0);if(r==="#"||r==="/")return e;const n=e.indexOf(":");if(n===-1)return e;let i=-1;for(;++i<_S.length;){const s=_S[i];if(n===s.length&&e.slice(0,s.length).toLowerCase()===s)return e}return i=e.indexOf("?"),i!==-1&&n>i||(i=e.indexOf("#"),i!==-1&&n>i)?e:"javascript:void(0)"}/*! 289 * Determine if an object is a Buffer 290 * 291 * @author Feross Aboukhadijeh <https://feross.org> 292 * @license MIT 293 */var rJ=function(e){return e!=null&&e.constructor!=null&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)};const NM=Ai(rJ);function pf(t){return!t||typeof t!="object"?"":"position"in t||"type"in t?yS(t.position):"start"in t||"end"in t?yS(t):"line"in t||"column"in t?U2(t):""}function U2(t){return vS(t&&t.line)+":"+vS(t&&t.column)}function yS(t){return U2(t&&t.start)+"-"+U2(t&&t.end)}function vS(t){return t&&typeof t=="number"?t:1}class Ns extends Error{constructor(e,r,n){const i=[null,null];let s={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof r=="string"&&(n=r,r=void 0),typeof n=="string"){const a=n.indexOf(":");a===-1?i[1]=n:(i[0]=n.slice(0,a),i[1]=n.slice(a+1))}r&&("type"in r||"position"in r?r.position&&(s=r.position):"start"in r||"end"in r?s=r:("line"in r||"column"in r)&&(s.start=r)),this.name=pf(r)||"1:1",this.message=typeof e=="object"?e.message:e,this.stack="",typeof e=="object"&&e.stack&&(this.stack=e.stack),this.reason=this.message,this.fatal,this.line=s.start.line,this.column=s.start.column,this.position=s,this.source=i[0],this.ruleId=i[1],this.file,this.actual,this.expected,this.url,this.note}}Ns.prototype.file="";Ns.prototype.name="";Ns.prototype.reason="";Ns.prototype.message="";Ns.prototype.stack="";Ns.prototype.fatal=null;Ns.prototype.column=null;Ns.prototype.line=null;Ns.prototype.source=null;Ns.prototype.ruleId=null;Ns.prototype.position=null;const Ta={basename:nJ,dirname:iJ,extname:sJ,join:aJ,sep:"/"};function nJ(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Cd(t);let r=0,n=-1,i=t.length,s;if(e===void 0||e.length===0||e.length>t.length){for(;i--;)if(t.charCodeAt(i)===47){if(s){r=i+1;break}}else n<0&&(s=!0,n=i+1);return n<0?"":t.slice(r,n)}if(e===t)return"";let a=-1,l=e.length-1;for(;i--;)if(t.charCodeAt(i)===47){if(s){r=i+1;break}}else a<0&&(s=!0,a=i+1),l>-1&&(t.charCodeAt(i)===e.charCodeAt(l--)?l<0&&(n=i):(l=-1,n=a));return r===n?n=a:n<0&&(n=t.length),t.slice(r,n)}function iJ(t){if(Cd(t),t.length===0)return".";let e=-1,r=t.length,n;for(;--r;)if(t.charCodeAt(r)===47){if(n){e=r;break}}else n||(n=!0);return e<0?t.charCodeAt(0)===47?"/":".":e===1&&t.charCodeAt(0)===47?"//":t.slice(0,e)}function sJ(t){Cd(t);let e=t.length,r=-1,n=0,i=-1,s=0,a;for(;e--;){const l=t.charCodeAt(e);if(l===47){if(a){n=e+1;break}continue}r<0&&(a=!0,r=e+1),l===46?i<0?i=e:s!==1&&(s=1):i>-1&&(s=-1)}return i<0||r<0||s===0||s===1&&i===r-1&&i===n+1?"":t.slice(i,r)}function aJ(...t){let e=-1,r;for(;++e<t.length;)Cd(t[e]),t[e]&&(r=r===void 0?t[e]:r+"/"+t[e]);return r===void 0?".":oJ(r)}function oJ(t){Cd(t);const e=t.charCodeAt(0)===47;let r=lJ(t,!e);return r.length===0&&!e&&(r="."),r.length>0&&t.charCodeAt(t.length-1)===47&&(r+="/"),e?"/"+r:r}function lJ(t,e){let r="",n=0,i=-1,s=0,a=-1,l,u;for(;++a<=t.length;){if(a<t.length)l=t.charCodeAt(a);else{if(l===47)break;l=47}if(l===47){if(!(i===a-1||s===1))if(i!==a-1&&s===2){if(r.length<2||n!==2||r.charCodeAt(r.length-1)!==46||r.charCodeAt(r.length-2)!==46){if(r.length>2){if(u=r.lastIndexOf("/"),u!==r.length-1){u<0?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),i=a,s=0;continue}}else if(r.length>0){r="",n=0,i=a,s=0;continue}}e&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+t.slice(i+1,a):r=t.slice(i+1,a),n=a-i-1;i=a,s=0}else l===46&&s>-1?s++:s=-1}return r}function Cd(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}const uJ={cwd:cJ};function cJ(){return"/"}function z2(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}function hJ(t){if(typeof t=="string")t=new URL(t);else if(!z2(t)){const e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return fJ(t)}function fJ(t){if(t.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const e=t.pathname;let r=-1;for(;++r<e.length;)if(e.charCodeAt(r)===37&&e.charCodeAt(r+1)===50){const n=e.charCodeAt(r+2);if(n===70||n===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(e)}const _v=["history","path","basename","stem","extname","dirname"];class PM{constructor(e){let r;e?typeof e=="string"||dJ(e)?r={value:e}:z2(e)?r={path:e}:r=e:r={},this.data={},this.messages=[],this.history=[],this.cwd=uJ.cwd(),this.value,this.stored,this.result,this.map;let n=-1;for(;++n<_v.length;){const s=_v[n];s in r&&r[s]!==void 0&&r[s]!==null&&(this[s]=s==="history"?[...r[s]]:r[s])}let i;for(i in r)_v.includes(i)||(this[i]=r[i])}get path(){return this.history[this.history.length-1]}set path(e){z2(e)&&(e=hJ(e)),vv(e,"path"),this.path!==e&&this.history.push(e)}get dirname(){return typeof this.path=="string"?Ta.dirname(this.path):void 0}set dirname(e){bS(this.basename,"dirname"),this.path=Ta.join(e||"",this.basename)}get basename(){return typeof this.path=="string"?Ta.basename(this.path):void 0}set basename(e){vv(e,"basename"),yv(e,"basename"),this.path=Ta.join(this.dirname||"",e)}get extname(){return typeof this.path=="string"?Ta.extname(this.path):void 0}set extname(e){if(yv(e,"extname"),bS(this.dirname,"extname"),e){if(e.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Ta.join(this.dirname,this.stem+(e||""))}get stem(){return typeof this.path=="string"?Ta.basename(this.path,this.extname):void 0}set stem(e){vv(e,"stem"),yv(e,"stem"),this.path=Ta.join(this.dirname||"",e+(this.extname||""))}toString(e){return(this.value||"").toString(e||void 0)}message(e,r,n){const i=new Ns(e,r,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}info(e,r,n){const i=this.message(e,r,n);return i.fatal=null,i}fail(e,r,n){const i=this.message(e,r,n);throw i.fatal=!0,i}}function yv(t,e){if(t&&t.includes(Ta.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Ta.sep+"`")}function vv(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function bS(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function dJ(t){return NM(t)}function wS(t){if(t)throw t}var ug=Object.prototype.hasOwnProperty,LM=Object.prototype.toString,ES=Object.defineProperty,SS=Object.getOwnPropertyDescriptor,TS=function(e){return typeof Array.isArray=="function"?Array.isArray(e):LM.call(e)==="[object Array]"},xS=function(e){if(!e||LM.call(e)!=="[object Object]")return!1;var r=ug.call(e,"constructor"),n=e.constructor&&e.constructor.prototype&&ug.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!n)return!1;var i;for(i in e);return typeof i>"u"||ug.call(e,i)},kS=function(e,r){ES&&r.name==="__proto__"?ES(e,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):e[r.name]=r.newValue},AS=function(e,r){if(r==="__proto__")if(ug.call(e,r)){if(SS)return SS(e,r).value}else return;return e[r]},pJ=function t(){var e,r,n,i,s,a,l=arguments[0],u=1,p=arguments.length,d=!1;for(typeof l=="boolean"&&(d=l,l=arguments[1]||{},u=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});u<p;++u)if(e=arguments[u],e!=null)for(r in e)n=AS(l,r),i=AS(e,r),l!==i&&(d&&i&&(xS(i)||(s=TS(i)))?(s?(s=!1,a=n&&TS(n)?n:[]):a=n&&xS(n)?n:{},kS(l,{name:r,newValue:t(d,a,i)})):typeof i<"u"&&kS(l,{name:r,newValue:i}));return l};const MS=Ai(pJ);function j2(t){if(typeof t!="object"||t===null)return!1;const e=Object.getPrototypeOf(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function mJ(){const t=[],e={run:r,use:n};return e;function r(...i){let s=-1;const a=i.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);l(null,...i);function l(u,...p){const d=t[++s];let g=-1;if(u){a(u);return}for(;++g<i.length;)(p[g]===null||p[g]===void 0)&&(p[g]=i[g]);i=p,d?gJ(d,l)(...p):a(null,...p)}}function n(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return t.push(i),e}}function gJ(t,e){let r;return n;function n(...a){const l=t.length>a.length;let u;l&&a.push(i);try{u=t.apply(this,a)}catch(p){const d=p;if(l&&r)throw d;return i(d)}l||(u&&u.then&&typeof u.then=="function"?u.then(s,i):u instanceof Error?i(u):s(u))}function i(a,...l){r||(r=!0,e(a,...l))}function s(a){i(null,a)}}const _J=UM().freeze(),BM={}.hasOwnProperty;function UM(){const t=mJ(),e=[];let r={},n,i=-1;return s.data=a,s.Parser=void 0,s.Compiler=void 0,s.freeze=l,s.attachers=e,s.use=u,s.parse=p,s.stringify=d,s.run=g,s.runSync=_,s.process=v,s.processSync=k,s;function s(){const O=UM();let N=-1;for(;++N<e.length;)O.use(...e[N]);return O.data(MS(!0,{},r)),O}function a(O,N){return typeof O=="string"?arguments.length===2?(Ev("data",n),r[O]=N,s):BM.call(r,O)&&r[O]||null:O?(Ev("data",n),r=O,s):r}function l(){if(n)return s;for(;++i<e.length;){const[O,...N]=e[i];if(N[0]===!1)continue;N[0]===!0&&(N[0]=void 0);
293const S=O.call(s,...N);typeof S=="function"&&t.use(S)}return n=!0,i=Number.POSITIVE_INFINITY,s}function u(O,...N){let S;if(Ev("use",n),O!=null)if(typeof O=="function")X(O,...N);else if(typeof O=="object")Array.isArray(O)?G(O):F(O);else throw new TypeError("Expected usable value, not `"+O+"`");return S&&(r.settings=Object.assign(r.settings||{},S)),s;function M(z){if(typeof z=="function")X(z);else if(typeof z=="object")if(Array.isArray(z)){const[R,...H]=z;X(R,...H)}else F(z);else throw new TypeError("Expected usable value, not `"+z+"`")}function F(z){G(z.plugins),z.settings&&(S=Object.assign(S||{},z.settings))}function G(z){let R=-1;if(z!=null)if(Array.isArray(z))for(;++R<z.length;){const H=z[R];M(H)}else throw new TypeError("Expected a list of plugins, not `"+z+"`")}function X(z,R){let H=-1,re;for(;++H<e.length;)if(e[H][0]===z){re=e[H];break}re?(j2(re[1])&&j2(R)&&(R=MS(!0,re[1],R)),re[1]=R):e.push([...arguments])}}function p(O){s.freeze();const N=jh(O),S=s.Parser;return bv("parse",S),CS(S,"parse")?new S(String(N),N).parse():S(String(N),N)}function d(O,N){s.freeze();const S=jh(N),M=s.Compiler;return wv("stringify",M),OS(O),CS(M,"compile")?new M(O,S).compile():M(O,S)}function g(O,N,S){if(OS(O),s.freeze(),!S&&typeof N=="function"&&(S=N,N=void 0),!S)return new Promise(M);M(null,S);function M(F,G){t.run(O,jh(N),X);function X(z,R,H){R=R||O,z?G(z):F?F(R):S(null,R,H)}}}function _(O,N){let S,M;return s.run(O,N,F),IS("runSync","run",M),S;function F(G,X){wS(G),S=X,M=!0}}function v(O,N){if(s.freeze(),bv("process",s.Parser),wv("process",s.Compiler),!N)return new Promise(S);S(null,N);function S(M,F){const G=jh(O);s.run(s.parse(G),G,(z,R,H)=>{if(z||!R||!H)X(z);else{const re=s.stringify(R,H);re==null||(bJ(re)?H.value=re:H.result=re),X(z,H)}});function X(z,R){z||!R?F(z):M?M(R):N(null,R)}}}function k(O){let N;s.freeze(),bv("processSync",s.Parser),wv("processSync",s.Compiler);const S=jh(O);return s.process(S,M),IS("processSync","process",N),S;function M(F){N=!0,wS(F)}}}function CS(t,e){return typeof t=="function"&&t.prototype&&(yJ(t.prototype)||e in t.prototype)}function yJ(t){let e;for(e in t)if(BM.call(t,e))return!0;return!1}function bv(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function wv(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function Ev(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function OS(t){if(!j2(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function IS(t,e,r){if(!r)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function jh(t){return vJ(t)?t:new PM(t)}function vJ(t){return!!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function bJ(t){return typeof t=="string"||NM(t)}const wJ={};function EJ(t,e){const r=wJ,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return zM(t,n,i)}function zM(t,e,r){if(SJ(t)){if("value"in t)return t.type==="html"&&!r?"":t.value;if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return RS(t.children,e,r)}return Array.isArray(t)?RS(t,e,r):""}function RS(t,e,r){const n=[];let i=-1;for(;++i<t.length;)n[i]=zM(t[i],e,r);return n.join("")}function SJ(t){return!!(t&&typeof t=="object")}function Ba(t,e,r,n){const i=t.length;let s=0,a;if(e<0?e=-e>i?0:i+e:e=e>i?i:e,r=r>0?r:0,n.length<1e4)a=Array.from(n),a.unshift(e,r),t.splice(...a);else for(r&&t.splice(e,r);s<n.length;)a=n.slice(s,s+1e4),a.unshift(e,0),t.splice(...a),s+=1e4,e+=1e4}function ys(t,e){return t.length>0?(Ba(t,t.length,0,e),t):e}const FS={}.hasOwnProperty;function TJ(t){const e={};let r=-1;for(;++r<t.length;)xJ(e,t[r]);return e}function xJ(t,e){let r;for(r in e){const i=(FS.call(t,r)?t[r]:void 0)||(t[r]={}),s=e[r];let a;if(s)for(a in s){FS.call(i,a)||(i[a]=[]);const l=s[a];kJ(i[a],Array.isArray(l)?l:l?[l]:[])}}}function kJ(t,e){let r=-1;const n=[];for(;++r<e.length;)(e[r].add==="after"?t:n).push(e[r]);Ba(t,0,0,n)}function DS(t){return t===-2||t===-1||t===32}function pr(t,e,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let s=0;return a;function a(u){return DS(u)?(t.enter(r),l(u)):e(u)}function l(u){return DS(u)&&s++<i?(t.consume(u),l):(t.exit(r),e(u))}}function B3(t){return t!==null&&t<-2}const AJ={tokenize:MJ};function MJ(t){const e=t.attempt(this.parser.constructs.contentInitial,n,i);let r;return e;function n(l){if(l===null){t.consume(l);return}return t.enter("lineEnding"),t.consume(l),t.exit("lineEnding"),pr(t,e,"linePrefix")}function i(l){return t.enter("paragraph"),s(l)}function s(l){const u=t.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,a(l)}function a(l){if(l===null){t.exit("chunkText"),t.exit("paragraph"),t.consume(l);return}return B3(l)?(t.consume(l),t.exit("chunkText"),s):(t.consume(l),a)}}const CJ={tokenize:OJ},NS={tokenize:IJ};function OJ(t){const e=this,r=[];let n=0,i,s,a;return l;function l(F){if(n<r.length){const G=r[n];return e.containerState=G[1],t.attempt(G[0].continuation,u,p)(F)}return p(F)}function u(F){if(n++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&M();const G=e.events.length;let X=G,z;for(;X--;)if(e.events[X][0]==="exit"&&e.events[X][1].type==="chunkFlow"){z=e.events[X][1].end;break}S(n);let R=G;for(;R<e.events.length;)e.events[R][1].end=Object.assign({},z),R++;return Ba(e.events,X+1,0,e.events.slice(G)),e.events.length=R,p(F)}return l(F)}
vendor: 11,563 bytes, line 293
293function p(F){if(n===r.length){if(!i)return _(F);if(i.currentConstruct&&i.currentConstruct.concrete)return k(F);e.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(NS,d,g)(F)}function d(F){return i&&M(),S(n),_(F)}function g(F){return e.parser.lazy[e.now().line]=n!==r.length,a=e.now().offset,k(F)}function _(F){return e.containerState={},t.attempt(NS,v,k)(F)}function v(F){return n++,r.push([e.currentConstruct,e.containerState]),_(F)}function k(F){if(F===null){i&&M(),S(0),t.consume(F);return}return i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:s,_tokenizer:i}),O(F)}function O(F){if(F===null){N(t.exit("chunkFlow"),!0),S(0),t.consume(F);return}return B3(F)?(t.consume(F),N(t.exit("chunkFlow")),n=0,e.interrupt=void 0,l):(t.consume(F),O)}function N(F,G){const X=e.sliceStream(F);if(G&&X.push(null),F.previous=s,s&&(s.next=F),s=F,i.defineSkip(F.start),i.write(X),e.parser.lazy[F.start.line]){let z=i.events.length;for(;z--;)if(i.events[z][1].start.offset<a&&(!i.events[z][1].end||i.events[z][1].end.offset>a))return;const R=e.events.length;let H=R,re,ie;for(;H--;)if(e.events[H][0]==="exit"&&e.events[H][1].type==="chunkFlow"){if(re){ie=e.events[H][1].end;break}re=!0}for(S(n),z=R;z<e.events.length;)e.events[z][1].end=Object.assign({},ie),z++;Ba(e.events,H+1,0,e.events.slice(R)),e.events.length=z}}function S(F){let G=r.length;for(;G-- >F;){const X=r[G];e.containerState=X[1],X[0].exit.call(e,t)}r.length=F}function M(){i.write([null]),s=void 0,i=void 0,e.containerState._closeFlow=void 0}}function IJ(t,e,r){return pr(t,t.attempt(this.parser.constructs.document,e,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}const RJ=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\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-\u2E4F\u2E52-\u2E5D\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]/;function FJ(t){return t!==null&&(t<0||t===32)}const DJ=jM(RJ),NJ=jM(/\s/);function jM(t){return e;function e(r){return r!==null&&t.test(String.fromCharCode(r))}}function PS(t){if(t===null||FJ(t)||NJ(t))return 1;if(DJ(t))return 2}function U3(t,e,r){const n=[];let i=-1;for(;++i<t.length;){const s=t[i].resolveAll;s&&!n.includes(s)&&(e=s(e,r),n.push(s))}return e}const H2={name:"attention",tokenize:LJ,resolveAll:PJ};function PJ(t,e){let r=-1,n,i,s,a,l,u,p,d;for(;++r<t.length;)if(t[r][0]==="enter"&&t[r][1].type==="attentionSequence"&&t[r][1]._close){for(n=r;n--;)if(t[n][0]==="exit"&&t[n][1].type==="attentionSequence"&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[r][1]).charCodeAt(0)){if((t[n][1]._close||t[r][1]._open)&&(t[r][1].end.offset-t[r][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[r][1].end.offset-t[r][1].start.offset)%3))continue;u=t[n][1].end.offset-t[n][1].start.offset>1&&t[r][1].end.offset-t[r][1].start.offset>1?2:1;const g=Object.assign({},t[n][1].end),_=Object.assign({},t[r][1].start);LS(g,-u),LS(_,u),a={type:u>1?"strongSequence":"emphasisSequence",start:g,end:Object.assign({},t[n][1].end)},l={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[r][1].start),end:_},s={type:u>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[r][1].start)},i={type:u>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},l.end)},t[n][1].end=Object.assign({},a.start),t[r][1].start=Object.assign({},l.end),p=[],t[n][1].end.offset-t[n][1].start.offset&&(p=ys(p,[["enter",t[n][1],e],["exit",t[n][1],e]])),p=ys(p,[["enter",i,e],["enter",a,e],["exit",a,e],["enter",s,e]]),p=ys(p,U3(e.parser.constructs.insideSpan.null,t.slice(n+1,r),e)),p=ys(p,[["exit",s,e],["enter",l,e],["exit",l,e],["exit",i,e]]),t[r][1].end.offset-t[r][1].start.offset?(d=2,p=ys(p,[["enter",t[r][1],e],["exit",t[r][1],e]])):d=0,Ba(t,n-1,r-n+3,p),r=n+p.length-d-2;break}}for(r=-1;++r<t.length;)t[r][1].type==="attentionSequence"&&(t[r][1].type="data");return t}function LJ(t,e){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=PS(n);let s;return a;function a(u){return s=u,t.enter("attentionSequence"),l(u)}function l(u){if(u===s)return t.consume(u),l;const p=t.exit("attentionSequence"),d=PS(u),g=!d||d===2&&i||r.includes(u),_=!i||i===2&&d||r.includes(n);return p._open=!!(s===42?g:g&&(i||!_)),p._close=!!(s===42?_:_&&(d||!g)),e(u)}}function LS(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const Ca=X0(/[A-Za-z]/),Zs=X0(/[\dA-Za-z]/),BJ=X0(/[#-'*+\--9=?A-Z^-~]/);function UJ(t){return t!==null&&(t<32||t===127)}const W2=X0(/\d/),zJ=X0(/[\dA-Fa-f]/),jJ=X0(/[!-/:-@[-`{-~]/);function tr(t){return t!==null&&t<-2}function As(t){return t!==null&&(t<0||t===32)}function Sr(t){return t===-2||t===-1||t===32}function X0(t){return e;function e(r){return r!==null&&t.test(String.fromCharCode(r))}}const HJ={name:"autolink",tokenize:WJ};function WJ(t,e,r){let n=0;return i;function i(v){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(v),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),s}function s(v){return Ca(v)?(t.consume(v),a):p(v)}function a(v){return v===43||v===45||v===46||Zs(v)?(n=1,l(v)):p(v)}function l(v){return v===58?(t.consume(v),n=0,u):(v===43||v===45||v===46||Zs(v))&&n++<32?(t.consume(v),l):(n=0,p(v))}function u(v){return v===62?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(v),t.exit("autolinkMarker"),t.exit("autolink"),e):v===null||v===32||v===60||UJ(v)?r(v):(t.consume(v),u)}function p(v){return v===64?(t.consume(v),d):BJ(v)?(t.consume(v),p):r(v)}function d(v){return Zs(v)?g(v):r(v)}function g(v){return v===46?(t.consume(v),n=0,d):v===62?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(v),t.exit("autolinkMarker"),t.exit("autolink"),e):_(v)}function _(v){if((v===45||Zs(v))&&n++<63){const k=v===45?_:g;return t.consume(v),k}return r(v)}}const X1={tokenize:GJ,partial:!0};function GJ(t,e,r){return n;function n(s){return Sr(s)?pr(t,i,"linePrefix")(s):i(s)}function i(s){return s===null||tr(s)?e(s):r(s)}}const HM={name:"blockQuote",tokenize:$J,continuation:{tokenize:qJ},exit:VJ};function $J(t,e,r){const n=this;return i;function i(a){if(a===62){const l=n.containerState;return l.open||(t.enter("blockQuote",{_container:!0}),l.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(a),t.exit("blockQuoteMarker"),s}return r(a)}function s(a){return Sr(a)?(t.enter("blockQuotePrefixWhitespace"),t.consume(a),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(a))}}function qJ(t,e,r){const n=this;return i;function i(a){return Sr(a)?pr(t,s,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):s(a)}function s(a){return t.attempt(HM,e,r)(a)}}function VJ(t){t.exit("blockQuote")}const WM={name:"characterEscape",tokenize:YJ};function YJ(t,e,r){return n;function n(s){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(s),t.exit("escapeMarker"),i}function i(s){return jJ(s)?(t.enter("characterEscapeValue"),t.consume(s),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):r(s)}}const BS=document.createElement("i");function z3(t){const e="&"+t+";";BS.innerHTML=e;const r=BS.textContent;return r.charCodeAt(r.length-1)===59&&t!=="semi"||r===e?!1:r}const GM={name:"characterReference",tokenize:KJ};function KJ(t,e,r){const n=this;let i=0,s,a;return l;function l(g){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(g),t.exit("characterReferenceMarker"),u}function u(g){return g===35?(t.enter("characterReferenceMarkerNumeric"),t.consume(g),t.exit("characterReferenceMarkerNumeric"),p):(t.enter("characterReferenceValue"),s=31,a=Zs,d(g))}function p(g){return g===88||g===120?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(g),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),s=6,a=zJ,d):(t.enter("characterReferenceValue"),s=7,a=W2,d(g))}function d(g){if(g===59&&i){const _=t.exit("characterReferenceValue");return a===Zs&&!z3(n.sliceSerialize(_))?r(g):(t.enter("characterReferenceMarker"),t.consume(g),t.exit("characterReferenceMarker"),t.exit("characterReference"),e)}return a(g)&&i++<s?(t.consume(g),d):r(g)}}const US={tokenize:QJ,partial:!0},zS={name:"codeFenced",tokenize:XJ,concrete:!0};function XJ(t,e,r){const n=this,i={tokenize:X,partial:!0};let s=0,a=0,l;return u;function u(z){return p(z)}function p(z){const R=n.events[n.events.length-1];return s=R&&R[1].type==="linePrefix"?R[2].sliceSerialize(R[1],!0).length:0,l=z,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),d(z)}function d(z){return z===l?(a++,t.consume(z),d):a<3?r(z):(t.exit("codeFencedFenceSequence"),Sr(z)?pr(t,g,"whitespace")(z):g(z))}function g(z){return z===null||tr(z)?(t.exit("codeFencedFence"),n.interrupt?e(z):t.check(US,O,G)(z)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),_(z))}function _(z){return z===null||tr(z)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),g(z)):Sr(z)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),pr(t,v,"whitespace")(z)):z===96&&z===l?r(z):(t.consume(z),_)}function v(z){return z===null||tr(z)?g(z):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),k(z))}function k(z){return z===null||tr(z)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),g(z)):z===96&&z===l?r(z):(t.consume(z),k)}function O(z){return t.attempt(i,G,N)(z)}function N(z){return t.enter("lineEnding"),t.consume(z),t.exit("lineEnding"),S}function S(z){return s>0&&Sr(z)?pr(t,M,"linePrefix",s+1)(z):M(z)}function M(z){return z===null||tr(z)?t.check(US,O,G)(z):(t.enter("codeFlowValue"),F(z))}function F(z){return z===null||tr(z)?(t.exit("codeFlowValue"),M(z)):(t.consume(z),F)}function G(z){return t.exit("codeFenced"),e(z)}function X(z,R,H){let re=0;return ie;function ie(pe){return z.enter("lineEnding"),z.consume(pe),z.exit("lineEnding"),q}function q(pe){return z.enter("codeFencedFence"),Sr(pe)?pr(z,Y,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(pe):Y(pe)}function Y(pe){return pe===l?(z.enter("codeFencedFenceSequence"),Q(pe)):H(pe)}function Q(pe){return pe===l?(re++,z.consume(pe),Q):re>=a?(z.exit("codeFencedFenceSequence"),Sr(pe)?pr(z,fe,"whitespace")(pe):fe(pe)):H(pe)}function fe(pe){return pe===null||tr(pe)?(z.exit("codeFencedFence"),R(pe)):H(pe)}}}function QJ(t,e,r){const n=this;return i;
vendor: 5,969 bytes, line 293
293function i(a){return a===null?r(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),s)}function s(a){return n.parser.lazy[n.now().line]?r(a):e(a)}}const Sv={name:"codeIndented",tokenize:ZJ},JJ={tokenize:eZ,partial:!0};function ZJ(t,e,r){const n=this;return i;function i(p){return t.enter("codeIndented"),pr(t,s,"linePrefix",5)(p)}function s(p){const d=n.events[n.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?a(p):r(p)}function a(p){return p===null?u(p):tr(p)?t.attempt(JJ,a,u)(p):(t.enter("codeFlowValue"),l(p))}function l(p){return p===null||tr(p)?(t.exit("codeFlowValue"),a(p)):(t.consume(p),l)}function u(p){return t.exit("codeIndented"),e(p)}}function eZ(t,e,r){const n=this;return i;function i(a){return n.parser.lazy[n.now().line]?r(a):tr(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),i):pr(t,s,"linePrefix",5)(a)}function s(a){const l=n.events[n.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?e(a):tr(a)?i(a):r(a)}}const tZ={name:"codeText",tokenize:iZ,resolve:rZ,previous:nZ};function rZ(t){let e=t.length-4,r=3,n,i;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=r;++n<e;)if(t[n][1].type==="codeTextData"){t[r][1].type="codeTextPadding",t[e][1].type="codeTextPadding",r+=2,e-=2;break}}for(n=r-1,e++;++n<=e;)i===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(i=n):(n===e||t[n][1].type==="lineEnding")&&(t[i][1].type="codeTextData",n!==i+2&&(t[i][1].end=t[n-1][1].end,t.splice(i+2,n-i-2),e-=n-i-2,n=i+2),i=void 0);return t}function nZ(t){return t!==96||this.events[this.events.length-1][1].type==="characterEscape"}function iZ(t,e,r){let n=0,i,s;return a;function a(g){return t.enter("codeText"),t.enter("codeTextSequence"),l(g)}function l(g){return g===96?(t.consume(g),n++,l):(t.exit("codeTextSequence"),u(g))}function u(g){return g===null?r(g):g===32?(t.enter("space"),t.consume(g),t.exit("space"),u):g===96?(s=t.enter("codeTextSequence"),i=0,d(g)):tr(g)?(t.enter("lineEnding"),t.consume(g),t.exit("lineEnding"),u):(t.enter("codeTextData"),p(g))}function p(g){return g===null||g===32||g===96||tr(g)?(t.exit("codeTextData"),u(g)):(t.consume(g),p)}function d(g){return g===96?(t.consume(g),i++,d):i===n?(t.exit("codeTextSequence"),t.exit("codeText"),e(g)):(s.type="codeTextData",p(g))}}function $M(t){const e={};let r=-1,n,i,s,a,l,u,p;for(;++r<t.length;){for(;r in e;)r=e[r];if(n=t[r],r&&n[1].type==="chunkFlow"&&t[r-1][1].type==="listItemPrefix"&&(u=n[1]._tokenizer.events,s=0,s<u.length&&u[s][1].type==="lineEndingBlank"&&(s+=2),s<u.length&&u[s][1].type==="content"))for(;++s<u.length&&u[s][1].type!=="content";)u[s][1].type==="chunkText"&&(u[s][1]._isInFirstContentOfListItem=!0,s++);if(n[0]==="enter")n[1].contentType&&(Object.assign(e,sZ(t,r)),r=e[r],p=!0);else if(n[1]._container){for(s=r,i=void 0;s--&&(a=t[s],a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(i&&(t[i][1].type="lineEndingBlank"),a[1].type="lineEnding",i=s);i&&(n[1].end=Object.assign({},t[i][1].start),l=t.slice(i,r),l.unshift(n),Ba(t,i,r-i+1,l))}}return!p}function sZ(t,e){const r=t[e][1],n=t[e][2];let i=e-1;const s=[],a=r._tokenizer||n.parser[r.contentType](r.start),l=a.events,u=[],p={};let d,g,_=-1,v=r,k=0,O=0;const N=[O];for(;v;){for(;t[++i][1]!==v;);s.push(i),v._tokenizer||(d=n.sliceStream(v),v.next||d.push(null),g&&a.defineSkip(v.start),v._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(d),v._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),g=v,v=v.next}for(v=r;++_<l.length;)l[_][0]==="exit"&&l[_-1][0]==="enter"&&l[_][1].type===l[_-1][1].type&&l[_][1].start.line!==l[_][1].end.line&&(O=_+1,N.push(O),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(a.events=[],v?(v._tokenizer=void 0,v.previous=void 0):N.pop(),_=N.length;_--;){const S=l.slice(N[_],N[_+1]),M=s.pop();u.unshift([M,M+S.length-1]),Ba(t,M,2,S)}for(_=-1;++_<u.length;)p[k+u[_][0]]=k+u[_][1],k+=u[_][1]-u[_][0]-1;return p}const aZ={tokenize:uZ,resolve:lZ},oZ={tokenize:cZ,partial:!0};function lZ(t){return $M(t),t}function uZ(t,e){let r;return n;function n(l){return t.enter("content"),r=t.enter("chunkContent",{contentType:"content"}),i(l)}function i(l){return l===null?s(l):tr(l)?t.check(oZ,a,s)(l):(t.consume(l),i)}function s(l){return t.exit("chunkContent"),t.exit("content"),e(l)}function a(l){return t.consume(l),t.exit("chunkContent"),r.next=t.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function cZ(t,e,r){const n=this;return i;function i(a){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),pr(t,s,"linePrefix")}function s(a){if(a===null||tr(a))return r(a);const l=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?e(a):t.interrupt(n.parser.constructs.flow,r,e)(a)}}function jS(t){return t!==null&&(t<32||t===127)}function hZ(t){return t!==null&&t<-2}function fZ(t){return t!==null&&(t<0||t===32)}function qM(t,e,r,n,i,s,a,l,u){const p=u||Number.POSITIVE_INFINITY;let d=0;return g;function g(S){return S===60?(t.enter(n),t.enter(i),t.enter(s),t.consume(S),t.exit(s),_):S===null||S===32||S===41||jS(S)?r(S):(t.enter(n),t.enter(a),t.enter(l),t.enter("chunkString",{contentType:"string"}),O(S))}function _(S){return S===62?(t.enter(s),t.consume(S),t.exit(s),t.exit(i),t.exit(n),e):(t.enter(l),t.enter("chunkString",{contentType:"string"}),v(S))}function v(S){return S===62?(t.exit("chunkString"),t.exit(l),_(S)):S===null||S===60||hZ(S)?r(S):(t.consume(S),S===92?k:v)}function k(S){return S===60||S===62||S===92?(t.consume(S),v):v(S)}function O(S){return!d&&(S===null||S===41||fZ(S))?(t.exit("chunkString"),t.exit(l),t.exit(a),t.exit(n),e(S)):d<p&&S===40?(t.consume(S),d++,O):S===41?(t.consume(S),d--,O):S===null||S===32||S===40||jS(S)?r(S):(t.consume(S),S===92?N:O)}
vendor: 6,391 bytes, line 293
293function N(S){return S===40||S===41||S===92?(t.consume(S),O):O(S)}}function HS(t){return t!==null&&t<-2}function dZ(t){return t===-2||t===-1||t===32}function VM(t,e,r,n,i,s){const a=this;let l=0,u;return p;function p(v){return t.enter(n),t.enter(i),t.consume(v),t.exit(i),t.enter(s),d}function d(v){return l>999||v===null||v===91||v===93&&!u||v===94&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?r(v):v===93?(t.exit(s),t.enter(i),t.consume(v),t.exit(i),t.exit(n),e):HS(v)?(t.enter("lineEnding"),t.consume(v),t.exit("lineEnding"),d):(t.enter("chunkString",{contentType:"string"}),g(v))}function g(v){return v===null||v===91||v===93||HS(v)||l++>999?(t.exit("chunkString"),d(v)):(t.consume(v),u||(u=!dZ(v)),v===92?_:g)}function _(v){return v===91||v===92||v===93?(t.consume(v),l++,g):g(v)}}function WS(t){return t!==null&&t<-2}function YM(t,e,r,n,i,s){let a;return l;function l(_){return _===34||_===39||_===40?(t.enter(n),t.enter(i),t.consume(_),t.exit(i),a=_===40?41:_,u):r(_)}function u(_){return _===a?(t.enter(i),t.consume(_),t.exit(i),t.exit(n),e):(t.enter(s),p(_))}function p(_){return _===a?(t.exit(s),u(a)):_===null?r(_):WS(_)?(t.enter("lineEnding"),t.consume(_),t.exit("lineEnding"),pr(t,p,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),d(_))}function d(_){return _===a||_===null||WS(_)?(t.exit("chunkString"),p(_)):(t.consume(_),_===92?g:d)}function g(_){return _===a||_===92?(t.consume(_),d):d(_)}}function pZ(t){return t!==null&&t<-2}function mZ(t){return t===-2||t===-1||t===32}function mf(t,e){let r;return n;function n(i){return pZ(i)?(t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),r=!0,n):mZ(i)?pr(t,n,r?"linePrefix":"lineSuffix")(i):e(i)}}function M0(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const gZ={name:"definition",tokenize:yZ},_Z={tokenize:vZ,partial:!0};function yZ(t,e,r){const n=this;let i;return s;function s(v){return t.enter("definition"),a(v)}function a(v){return VM.call(n,t,l,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function l(v){return i=M0(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),v===58?(t.enter("definitionMarker"),t.consume(v),t.exit("definitionMarker"),u):r(v)}function u(v){return As(v)?mf(t,p)(v):p(v)}function p(v){return qM(t,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function d(v){return t.attempt(_Z,g,g)(v)}function g(v){return Sr(v)?pr(t,_,"whitespace")(v):_(v)}function _(v){return v===null||tr(v)?(t.exit("definition"),n.parser.defined.push(i),e(v)):r(v)}}function vZ(t,e,r){return n;function n(l){return As(l)?mf(t,i)(l):r(l)}function i(l){return YM(t,s,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function s(l){return Sr(l)?pr(t,a,"whitespace")(l):a(l)}function a(l){return l===null||tr(l)?e(l):r(l)}}const bZ={name:"hardBreakEscape",tokenize:wZ};function wZ(t,e,r){return n;function n(s){return t.enter("hardBreakEscape"),t.consume(s),i}function i(s){return tr(s)?(t.exit("hardBreakEscape"),e(s)):r(s)}}const EZ={name:"headingAtx",tokenize:TZ,resolve:SZ};function SZ(t,e){let r=t.length-2,n=3,i,s;return t[n][1].type==="whitespace"&&(n+=2),r-2>n&&t[r][1].type==="whitespace"&&(r-=2),t[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&t[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:t[n][1].start,end:t[r][1].end},s={type:"chunkText",start:t[n][1].start,end:t[r][1].end,contentType:"text"},Ba(t,n,r-n+1,[["enter",i,e],["enter",s,e],["exit",s,e],["exit",i,e]])),t}function TZ(t,e,r){let n=0;return i;function i(d){return t.enter("atxHeading"),s(d)}function s(d){return t.enter("atxHeadingSequence"),a(d)}function a(d){return d===35&&n++<6?(t.consume(d),a):d===null||As(d)?(t.exit("atxHeadingSequence"),l(d)):r(d)}function l(d){return d===35?(t.enter("atxHeadingSequence"),u(d)):d===null||tr(d)?(t.exit("atxHeading"),e(d)):Sr(d)?pr(t,l,"whitespace")(d):(t.enter("atxHeadingText"),p(d))}function u(d){return d===35?(t.consume(d),u):(t.exit("atxHeadingSequence"),l(d))}function p(d){return d===null||d===35||As(d)?(t.exit("atxHeadingText"),l(d)):(t.consume(d),p)}}const xZ=["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"],GS=["pre","script","style","textarea"],kZ={name:"htmlFlow",tokenize:OZ,resolveTo:CZ,concrete:!0},AZ={tokenize:RZ,partial:!0},MZ={tokenize:IZ,partial:!0};function CZ(t){let e=t.length;for(;e--&&!(t[e][0]==="enter"&&t[e][1].type==="htmlFlow"););return e>1&&t[e-2][1].type==="linePrefix"&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t}function OZ(t,e,r){const n=this;let i,s,a,l,u;return p;function p(le){return d(le)}function d(le){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(le),g}function g(le){return le===33?(t.consume(le),_):le===47?(t.consume(le),s=!0,O):le===63?(t.consume(le),i=3,n.interrupt?e:B):Ca(le)?(t.consume(le),a=String.fromCharCode(le),N):r(le)}function _(le){return le===45?(t.consume(le),i=2,v):le===91?(t.consume(le),i=5,l=0,k):Ca(le)?(t.consume(le),i=4,n.interrupt?e:B):r(le)}function v(le){return le===45?(t.consume(le),n.interrupt?e:B):r(le)}function k(le){const Lt="CDATA[";return le===Lt.charCodeAt(l++)?(t.consume(le),l===Lt.length?n.interrupt?e:Y:k):r(le)}function O(le){return Ca(le)?(t.consume(le),a=String.fromCharCode(le),N):r(le)}function N(le){if(le===null||le===47||le===62||As(le)){const Lt=le===47,Ht=a.toLowerCase();return!Lt&&!s&&GS.includes(Ht)?(i=1,n.interrupt?e(le):Y(le)):xZ.includes(a.toLowerCase())?(i=6,Lt?(t.consume(le),S):n.interrupt?e(le):Y(le)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(le):s?M(le):F(le))}return le===45||Zs(le)?(t.consume(le),a+=String.fromCharCode(le),N):r(le)}function S(le){return le===62?(t.consume(le),n.interrupt?e:Y):r(le)}function M(le){return Sr(le)?(t.consume(le),M):ie(le)}function F(le){return le===47?(t.consume(le),ie):le===58||le===95||C
vendor: 9,766 bytes, line 293
293a(le)?(t.consume(le),G):Sr(le)?(t.consume(le),F):ie(le)}function G(le){return le===45||le===46||le===58||le===95||Zs(le)?(t.consume(le),G):X(le)}function X(le){return le===61?(t.consume(le),z):Sr(le)?(t.consume(le),X):F(le)}function z(le){return le===null||le===60||le===61||le===62||le===96?r(le):le===34||le===39?(t.consume(le),u=le,R):Sr(le)?(t.consume(le),z):H(le)}function R(le){return le===u?(t.consume(le),u=null,re):le===null||tr(le)?r(le):(t.consume(le),R)}function H(le){return le===null||le===34||le===39||le===47||le===60||le===61||le===62||le===96||As(le)?X(le):(t.consume(le),H)}function re(le){return le===47||le===62||Sr(le)?F(le):r(le)}function ie(le){return le===62?(t.consume(le),q):r(le)}function q(le){return le===null||tr(le)?Y(le):Sr(le)?(t.consume(le),q):r(le)}function Y(le){return le===45&&i===2?(t.consume(le),Te):le===60&&i===1?(t.consume(le),ve):le===62&&i===4?(t.consume(le),Ce):le===63&&i===3?(t.consume(le),B):le===93&&i===5?(t.consume(le),Ye):tr(le)&&(i===6||i===7)?(t.exit("htmlFlowData"),t.check(AZ,Pe,Q)(le)):le===null||tr(le)?(t.exit("htmlFlowData"),Q(le)):(t.consume(le),Y)}function Q(le){return t.check(MZ,fe,Pe)(le)}function fe(le){return t.enter("lineEnding"),t.consume(le),t.exit("lineEnding"),pe}function pe(le){return le===null||tr(le)?Q(le):(t.enter("htmlFlowData"),Y(le))}function Te(le){return le===45?(t.consume(le),B):Y(le)}function ve(le){return le===47?(t.consume(le),a="",xe):Y(le)}function xe(le){if(le===62){const Lt=a.toLowerCase();return GS.includes(Lt)?(t.consume(le),Ce):Y(le)}return Ca(le)&&a.length<8?(t.consume(le),a+=String.fromCharCode(le),xe):Y(le)}function Ye(le){return le===93?(t.consume(le),B):Y(le)}function B(le){return le===62?(t.consume(le),Ce):le===45&&i===2?(t.consume(le),B):Y(le)}function Ce(le){return le===null||tr(le)?(t.exit("htmlFlowData"),Pe(le)):(t.consume(le),Ce)}function Pe(le){return t.exit("htmlFlow"),e(le)}}function IZ(t,e,r){const n=this;return i;function i(a){return tr(a)?(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),s):r(a)}function s(a){return n.parser.lazy[n.now().line]?r(a):e(a)}}function RZ(t,e,r){return n;function n(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(X1,e,r)}}const FZ={name:"htmlText",tokenize:DZ};function DZ(t,e,r){const n=this;let i,s,a;return l;function l(B){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(B),u}function u(B){return B===33?(t.consume(B),p):B===47?(t.consume(B),X):B===63?(t.consume(B),F):Ca(B)?(t.consume(B),H):r(B)}function p(B){return B===45?(t.consume(B),d):B===91?(t.consume(B),s=0,k):Ca(B)?(t.consume(B),M):r(B)}function d(B){return B===45?(t.consume(B),v):r(B)}function g(B){return B===null?r(B):B===45?(t.consume(B),_):tr(B)?(a=g,ve(B)):(t.consume(B),g)}function _(B){return B===45?(t.consume(B),v):g(B)}function v(B){return B===62?Te(B):B===45?_(B):g(B)}function k(B){const Ce="CDATA[";return B===Ce.charCodeAt(s++)?(t.consume(B),s===Ce.length?O:k):r(B)}function O(B){return B===null?r(B):B===93?(t.consume(B),N):tr(B)?(a=O,ve(B)):(t.consume(B),O)}function N(B){return B===93?(t.consume(B),S):O(B)}function S(B){return B===62?Te(B):B===93?(t.consume(B),S):O(B)}function M(B){return B===null||B===62?Te(B):tr(B)?(a=M,ve(B)):(t.consume(B),M)}function F(B){return B===null?r(B):B===63?(t.consume(B),G):tr(B)?(a=F,ve(B)):(t.consume(B),F)}function G(B){return B===62?Te(B):F(B)}function X(B){return Ca(B)?(t.consume(B),z):r(B)}function z(B){return B===45||Zs(B)?(t.consume(B),z):R(B)}function R(B){return tr(B)?(a=R,ve(B)):Sr(B)?(t.consume(B),R):Te(B)}function H(B){return B===45||Zs(B)?(t.consume(B),H):B===47||B===62||As(B)?re(B):r(B)}function re(B){return B===47?(t.consume(B),Te):B===58||B===95||Ca(B)?(t.consume(B),ie):tr(B)?(a=re,ve(B)):Sr(B)?(t.consume(B),re):Te(B)}function ie(B){return B===45||B===46||B===58||B===95||Zs(B)?(t.consume(B),ie):q(B)}function q(B){return B===61?(t.consume(B),Y):tr(B)?(a=q,ve(B)):Sr(B)?(t.consume(B),q):re(B)}function Y(B){return B===null||B===60||B===61||B===62||B===96?r(B):B===34||B===39?(t.consume(B),i=B,Q):tr(B)?(a=Y,ve(B)):Sr(B)?(t.consume(B),Y):(t.consume(B),fe)}function Q(B){return B===i?(t.consume(B),i=void 0,pe):B===null?r(B):tr(B)?(a=Q,ve(B)):(t.consume(B),Q)}function fe(B){return B===null||B===34||B===39||B===60||B===61||B===96?r(B):B===47||B===62||As(B)?re(B):(t.consume(B),fe)}function pe(B){return B===47||B===62||As(B)?re(B):r(B)}function Te(B){return B===62?(t.consume(B),t.exit("htmlTextData"),t.exit("htmlText"),e):r(B)}function ve(B){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(B),t.exit("lineEnding"),xe}function xe(B){return Sr(B)?pr(t,Ye,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(B):Ye(B)}function Ye(B){return t.enter("htmlTextData"),a(B)}}const j3={name:"labelEnd",tokenize:zZ,resolveTo:UZ,resolveAll:BZ},NZ={tokenize:jZ},PZ={tokenize:HZ},LZ={tokenize:WZ};function BZ(t){let e=-1;for(;++e<t.length;){const r=t[e][1];(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(t.splice(e+1,r.type==="labelImage"?4:2),r.type="data",e++)}return t}function UZ(t,e){let r=t.length,n=0,i,s,a,l;for(;r--;)if(i=t[r][1],s){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;t[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(a){if(t[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(s=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(a=r);const u={type:t[s][1].type==="labelLink"?"link":"image",start:Object.assign({},t[s][1].start),end:Object.assign({},t[t.length-1][1].end)},p={type:"label",start:Object.assign({},t[s][1].start),end:Object.assign({},t[a][1].end)},d={type:"labelText",start:Object.assign({},t[s+n+2][1].end),end:Object.assign({},t[a-2][1].start)};return l=[["enter",u,e],["enter",p,e]],l=ys(l,t.slice(s+1,s+n+3)),l=ys(l,[["enter",d,e]]),l=ys(l,U3(e.parser.constructs.insideSpan.null,t.slice(s+n+4,a-3),e)),l=ys(l,[["exit",d,e],t[a-2],t[a-1],["exit",p,e]]),l=ys(l,t.slice(a+1)),l=ys(l,[["exit",u,e]]),Ba(t,s,t.length,l),t}function zZ(t,e,r){const n=this;let i=n.events.length,s,a;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){s=n.events[i][1];break}return l;function l(_){return s?s._inactive?g(_):(a=n.parser.defined.includes(M0(n.sliceSerialize({start:s.end,end:n.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(_),t.exit("labelMarker"),t.exit("labelEnd"),u):r(_)}function u(_){return _===40?t.attempt(NZ,d,a?d:g)(_):_===91?t.attempt(PZ,d,a?p:g)(_):a?d(_):g(_)}function p(_){return t.attempt(LZ,d,g)(_)}function d(_){return e(_)}function g(_){return s._balanced=!0,r(_)}}function jZ(t,e,r){return n;function n(g){return t.enter("resource"),t.enter("resourceMarker"),t.consume(g),t.exit("resourceMarker"),i}function i(g){return As(g)?mf(t,s)(g):s(g)}function s(g){return g===41?d(g):qM(t,a,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(g)}function a(g){return As(g)?mf(t,u)(g):d(g)}function l(g){return r(g)}function u(g){return g===34||g===39||g===40?YM(t,p,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(g):d(g)}function p(g){return As(g)?mf(t,d)(g):d(g)}function d(g){return g===41?(t.enter("resourceMarker"),t.consume(g),t.exit("resourceMarker"),t.exit("resource"),e):r(g)}}function HZ(t,e,r){const n=this;return i;function i(l){return VM.call(n,t,s,a,"reference","referenceMarker","referenceString")(l)}function s(l){return n.parser.defined.includes(M0(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?e(l):r(l)}function a(l){return r(l)}}function WZ(t,e,r){return n;function n(s){return t.enter("reference"),t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),i}function i(s){return s===93?(t.enter("referenceMarker"),t.consume(s),t.exit("referenceMarker"),t.exit("reference"),e):r(s)}}const GZ={name:"labelStartImage",tokenize:$Z,resolveAll:j3.resolveAll};function $Z(t,e,r){const n=this;return i;function i(l){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(l),t.exit("labelImageMarker"),s}function s(l){return l===91?(t.enter("labelMarker"),t.consume(l),t.exit("labelMarker"),t.exit("labelImage"),a):r(l)}function a(l){return l===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(l):e(l)}}const qZ={name:"labelStartLink",tokenize:VZ,resolveAll:j3.resolveAll};function VZ(t,e,r){const n=this;return i;function i(a){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(a),t.exit("labelMarker"),t.exit("labelLink"),s}function s(a){return a===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(a):e(a)}}const Tv={name:"lineEnding",tokenize:YZ};function YZ(t,e){return r;function r(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),pr(t,e,"linePrefix")}}const cg={name:"thematicBreak",tokenize:KZ};function KZ(t,e,r){let n=0,i;return s;function s(p){return t.enter("thematicBreak"),a(p)}function a(p){return i=p,l(p)}function l(p){return p===i?(t.enter("thematicBreakSequence"),u(p)):n>=3&&(p===null||tr(p))?(t.exit("thematicBreak"),e(p)):r(p)}function u(p){return p===i?(t.consume(p),n++,u):(t.exit("thematicBreakSequence"),Sr(p)?pr(t,l,"whitespace")(p):l(p))}}const yi={name:"list",tokenize:JZ,continuation:{tokenize:ZZ},exit:tee},XZ={tokenize:ree,partial:!0},QZ={tokenize:eee,partial:!0};function JZ(t,e,r){const n=this,i=n.events[n.events.length-1];let s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return l;function l(v){const k=n.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(k==="listUnordered"?!n.containerState.marker||v===n.containerState.marker:W2(v)){if(n.containerState.type||(n.containerState.type=k,t.enter(k,{_c
vendor: 1,265 bytes, line 293
293ontainer:!0})),k==="listUnordered")return t.enter("listItemPrefix"),v===42||v===45?t.check(cg,r,p)(v):p(v);if(!n.interrupt||v===49)return t.enter("listItemPrefix"),t.enter("listItemValue"),u(v)}return r(v)}function u(v){return W2(v)&&++a<10?(t.consume(v),u):(!n.interrupt||a<2)&&(n.containerState.marker?v===n.containerState.marker:v===41||v===46)?(t.exit("listItemValue"),p(v)):r(v)}function p(v){return t.enter("listItemMarker"),t.consume(v),t.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||v,t.check(X1,n.interrupt?r:d,t.attempt(XZ,_,g))}function d(v){return n.containerState.initialBlankLine=!0,s++,_(v)}function g(v){return Sr(v)?(t.enter("listItemPrefixWhitespace"),t.consume(v),t.exit("listItemPrefixWhitespace"),_):r(v)}function _(v){return n.containerState.size=s+n.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(v)}}function ZZ(t,e,r){const n=this;return n.containerState._closeFlow=void 0,t.check(X1,i,s);function i(l){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,pr(t,e,"listItemIndent",n.containerState.size+1)(l)}function s(l){return n.containerState.furtherBlankLines||!Sr(l)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine
vendor: 4,407 bytes, line 293
293=void 0,a(l)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,t.attempt(QZ,e,a)(l))}function a(l){return n.containerState._closeFlow=!0,n.interrupt=void 0,pr(t,t.attempt(yi,e,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function eee(t,e,r){const n=this;return pr(t,i,"listItemIndent",n.containerState.size+1);function i(s){const a=n.events[n.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===n.containerState.size?e(s):r(s)}}function tee(t){t.exit(this.containerState.type)}function ree(t,e,r){const n=this;return pr(t,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(s){const a=n.events[n.events.length-1];return!Sr(s)&&a&&a[1].type==="listItemPrefixWhitespace"?e(s):r(s)}}const $S={name:"setextUnderline",tokenize:iee,resolveTo:nee};function nee(t,e){let r=t.length,n,i,s;for(;r--;)if(t[r][0]==="enter"){if(t[r][1].type==="content"){n=r;break}t[r][1].type==="paragraph"&&(i=r)}else t[r][1].type==="content"&&t.splice(r,1),!s&&t[r][1].type==="definition"&&(s=r);const a={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[i][1].type="setextHeadingText",s?(t.splice(i,0,["enter",a,e]),t.splice(s+1,0,["exit",t[n][1],e]),t[n][1].end=Object.assign({},t[s][1].end)):t[n][1]=a,t.push(["exit",a,e]),t}function iee(t,e,r){const n=this;let i;return s;function s(p){let d=n.events.length,g;for(;d--;)if(n.events[d][1].type!=="lineEnding"&&n.events[d][1].type!=="linePrefix"&&n.events[d][1].type!=="content"){g=n.events[d][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||g)?(t.enter("setextHeadingLine"),i=p,a(p)):r(p)}function a(p){return t.enter("setextHeadingLineSequence"),l(p)}function l(p){return p===i?(t.consume(p),l):(t.exit("setextHeadingLineSequence"),Sr(p)?pr(t,u,"lineSuffix")(p):u(p))}function u(p){return p===null||tr(p)?(t.exit("setextHeadingLine"),e(p)):r(p)}}const see={tokenize:aee};function aee(t){const e=this,r=t.attempt(X1,n,t.attempt(this.parser.constructs.flowInitial,i,pr(t,t.attempt(this.parser.constructs.flow,i,t.attempt(aZ,i)),"linePrefix")));return r;function n(s){if(s===null){t.consume(s);return}return t.enter("lineEndingBlank"),t.consume(s),t.exit("lineEndingBlank"),e.currentConstruct=void 0,r}function i(s){if(s===null){t.consume(s);return}return t.enter("lineEnding"),t.consume(s),t.exit("lineEnding"),e.currentConstruct=void 0,r}}const oee={resolveAll:XM()},lee=KM("string"),uee=KM("text");function KM(t){return{tokenize:e,resolveAll:XM(t==="text"?cee:void 0)};function e(r){const n=this,i=this.parser.constructs[t],s=r.attempt(i,a,l);return a;function a(d){return p(d)?s(d):l(d)}function l(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),u}function u(d){return p(d)?(r.exit("data"),s(d)):(r.consume(d),u)}function p(d){if(d===null)return!0;const g=i[d];let _=-1;if(g)for(;++_<g.length;){const v=g[_];if(!v.previous||v.previous.call(n,n.previous))return!0}return!1}}}function XM(t){return e;function e(r,n){let i=-1,s;for(;++i<=r.length;)s===void 0?r[i]&&r[i][1].type==="data"&&(s=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==s+2&&(r[s][1].end=r[i-1][1].end,r.splice(s+2,i-s-2),i=s+2),s=void 0);return t?t(r,n):r}}function cee(t,e){let r=0;for(;++r<=t.length;)if((r===t.length||t[r][1].type==="lineEnding")&&t[r-1][1].type==="data"){const n=t[r-1][1],i=e.sliceStream(n);let s=i.length,a=-1,l=0,u;for(;s--;){const p=i[s];if(typeof p=="string"){for(a=p.length;p.charCodeAt(a-1)===32;)l++,a--;if(a)break;a=-1}else if(p===-2)u=!0,l++;else if(p!==-1){s++;break}}if(l){const p={type:r===t.length||u||l<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-l,offset:n.end.offset-l,_index:n.start._index+s,_bufferIndex:s?a:n.start._bufferIndex+a},end:Object.assign({},n.end)};n.end=Object.assign({},p.start),n.start.offset===n.end.offset?Object.assign(n,p):(t.splice(r,0,["enter",p,e],["exit",p,e]),r+=2)}r++}return t}function hee(t,e,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},s=[];let a=[],l=[];const u={consume:M,enter:F,exit:G,attempt:R(X),check:R(z),interrupt:R(z,{interrupt:!0})},p={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:v,sliceSerialize:_,now:k,defineSki
vendor: 5,074 bytes, lines 293-295
293p:O,write:g};let d=e.tokenize.call(p,u);return e.resolveAll&&s.push(e),p;function g(q){return a=ys(a,q),N(),a[a.length-1]!==null?[]:(H(e,0),p.events=U3(s,p.events,p),p.events)}function _(q,Y){return dee(v(q),Y)}function v(q){return fee(a,q)}function k(){const{line:q,column:Y,offset:Q,_index:fe,_bufferIndex:pe}=n;return{line:q,column:Y,offset:Q,_index:fe,_bufferIndex:pe}}function O(q){i[q.line]=q.column,ie()}function N(){let q;for(;n._index<a.length;){const Y=a[n._index];if(typeof Y=="string")for(q=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===q&&n._bufferIndex<Y.length;)S(Y.charCodeAt(n._bufferIndex));else S(Y)}}function S(q){d=d(q)}function M(q){B3(q)?(n.line++,n.column=1,n.offset+=q===-3?2:1,ie()):q!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===a[n._index].length&&(n._bufferIndex=-1,n._index++)),p.previous=q}function F(q,Y){const Q=Y||{};return Q.type=q,Q.start=k(),p.events.push(["enter",Q,p]),l.push(Q),Q}function G(q){const Y=l.pop();return Y.end=k(),p.events.push(["exit",Y,p]),Y}function X(q,Y){H(q,Y.from)}function z(q,Y){Y.restore()}function R(q,Y){return Q;function Q(fe,pe,Te){let ve,xe,Ye,B;return Array.isArray(fe)?Pe(fe):"tokenize"in fe?Pe([fe]):Ce(fe);function Ce(At){return Ke;function Ke(Ve){const wt=Ve!==null&&At[Ve],Dt=Ve!==null&&At.null,Fe=[...Array.isArray(wt)?wt:wt?[wt]:[],...Array.isArray(Dt)?Dt:Dt?[Dt]:[]];return Pe(Fe)(Ve)}}function Pe(At){return ve=At,xe=0,At.length===0?Te:le(At[xe])}function le(At){return Ke;function Ke(Ve){return B=re(),Ye=At,At.partial||(p.currentConstruct=At),At.name&&p.parser.constructs.disable.null.includes(At.name)?Ht():At.tokenize.call(Y?Object.assign(Object.create(p),Y):p,u,Lt,Ht)(Ve)}}function Lt(At){return q(Ye,B),pe}function Ht(At){return B.restore(),++xe<ve.length?le(ve[xe]):Te}}}function H(q,Y){q.resolveAll&&!s.includes(q)&&s.push(q),q.resolve&&Ba(p.events,Y,p.events.length-Y,q.resolve(p.events.slice(Y),p)),q.resolveTo&&(p.events=q.resolveTo(p.events,p))}function re(){const q=k(),Y=p.previous,Q=p.currentConstruct,fe=p.events.length,pe=Array.from(l);return{restore:Te,from:fe};function Te(){n=q,p.previous=Y,p.currentConstruct=Q,p.events.length=fe,l=pe,ie()}}function ie(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function fee(t,e){const r=e.start._index,n=e.start._bufferIndex,i=e.end._index,s=e.end._bufferIndex;let a;if(r===i)a=[t[r].slice(n,s)];else{if(a=t.slice(r,i),n>-1){const l=a[0];typeof l=="string"?a[0]=l.slice(n):a.shift()}s>0&&a.push(t[i].slice(0,s))}return a}function dee(t,e){let r=-1;const n=[];let i;for(;++r<t.length;){const s=t[r];let a;if(typeof s=="string")a=s;else switch(s){case-5:{a="\r";break}case-4:{a=` 294`;break}case-3:{a=`\r 295`;break}case-2:{a=e?" ":" ";break}case-1:{if(!e&&i)continue;a=" ";break}default:a=String.fromCharCode(s)}i=s===-2,n.push(a)}return n.join("")}const pee={42:yi,43:yi,45:yi,48:yi,49:yi,50:yi,51:yi,52:yi,53:yi,54:yi,55:yi,56:yi,57:yi,62:HM},mee={91:gZ},gee={[-2]:Sv,[-1]:Sv,32:Sv},_ee={35:EZ,42:cg,45:[$S,cg],60:kZ,61:$S,95:cg,96:zS,126:zS},yee={38:GM,92:WM},vee={[-5]:Tv,[-4]:Tv,[-3]:Tv,33:GZ,38:GM,42:H2,60:[HJ,FZ],91:qZ,92:[bZ,WM],93:j3,95:H2,96:tZ},bee={null:[H2,oee]},wee={null:[42,95]},Eee={null:[]},See=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:wee,contentInitial:mee,disable:Eee,document:pee,flow:_ee,flowInitial:gee,insideSpan:bee,string:yee,text:vee},Symbol.toStringTag,{value:"Module"}));function Tee(t){const r=TJ([See,...(t||{}).extensions||[]]),n={defined:[],lazy:{},constructs:r,content:i(AJ),document:i(CJ),flow:i(see),string:i(lee),text:i(uee)};return n;function i(s){return a;function a(l){return hee(n,s,l)}}}const qS=/[\0\t\n\r]/g;function xee(){let t=1,e="",r=!0,n;return i;function i(s,a,l){const u=[];let p,d,g,_,v;for(s=e+s.toString(a),g=0,e="",r&&(s.charCodeAt(0)===65279&&g++,r=void 0);g<s.length;){if(qS.lastIndex=g,p=qS.exec(s),_=p&&p.index!==void 0?p.index:s.length,v=s.charCodeAt(_),!p){e=s.slice(g);break}if(v===10&&g===_&&n)u.push(-3),n=void 0;else switch(n&&(u.push(-5),n=void 0),g<_&&(u.push(s.slice(g,_)),t+=_-g),v){case 0:{u.push(65533),t++;break}case 9:{for(d=Math.ceil(t/4)*4,u.push(-2);t++<d;)u.push(-1);break}case 10:{u.push(-4),t=1;break}default:n=!0,t=1}g=_+1}return l&&(n&&u.push(-5),e&&u.push(e),u.push(null)),u}}function kee(t){for(;!$M(t););return t}function QM(t,e){const r=Number.parseInt(t,e);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCharCode(r)}const Aee=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Mee(t){return t.replace(Aee,Cee)}function Cee(t,e,r){if(e)return e;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),s=i===120||i===88;return QM(r.slice(s?2:1),s?16:10)}return z3(r)||t}const JM={}.hasOwnProperty,Oee=function(t,e,r){return typeof e!="string"&&(r=e,e=void 0),Iee(r)(kee(Tee(r).document().write(xee()(t,e,!0))))};function Iee(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter
vendor: 1,962 bytes, line 295
295:{autolink:l(I),autolinkProtocol:q,autolinkEmail:q,atxHeading:l(ge),blockQuote:l(Fe),characterEscape:q,characterReference:q,codeFenced:l(Ne),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:l(Ne,u),codeText:l(K,u),codeTextData:q,data:q,codeFlowValue:q,definition:l(ee),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:l(oe),hardBreakEscape:l(Oe),hardBreakTrailing:l(Oe),htmlFlow:l(U,u),htmlFlowData:q,htmlText:l(U,u),htmlTextData:q,image:l(C),label:u,link:l(I),listItem:l(be),listItemValue:k,listOrdered:l(te,v),listUnordered:l(te),paragraph:l(Le),reference:Ht,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:l(ge),strong:l(ze),thematicBreak:l(Yt)},exit:{atxHeading:d(),atxHeadingSequence:R,autolink:d(),autolinkEmail:Dt,autolinkProtocol:wt,blockQuote:d(),characterEscapeValue:Y,characterReferenceMarkerHexadecimal:Ke,characterReferenceMarkerNumeric:Ke,characterReferenceValue:Ve,codeFenced:d(M),codeFencedFence:S,codeFencedFenceInfo:O,codeFencedFenceMeta:N,codeFlowValue:Y,codeIndented:d(F),codeText:d(ve),codeTextData:Y,data:Y,definition:d(),definitionDestinationString:z,definitionLabelString:G,definitionTitleString:X,emphasis:d(),hardBreakEscape:d(fe),hardBreakTrailing:d(fe),htmlFlow:d(pe),htmlFlowData:Y,htmlText:d(Te),htmlTextData:Y,image:d(Ye),label:Ce,labelText:B,lineEnding:Q,link:d(xe),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:At,resourceDestinationString:Pe,resourceTitleString:le,resource:Lt,setextHeading:d(ie),setextHeadingLineSequence:re,setextHeadingText:H,strong:d(),thematicBreak:d()}};ZM(e,(t||{}).mdastExtensions||[]);const r={};return n;function n(Ae){let We={type:"root",children:[]};const ht={stack:[We],tokenStack:[],config:e,enter:p,exit:g,buffer:u,resume:_,setData:s,getData:a},Bt=[];let ye=-1;for(;++ye<Ae.length;)if(Ae[ye][1].type==="listOrdered"||Ae[ye][1].type==="listUnordered")if(Ae[ye][0]==="enter")Bt.push(ye);
vendor: 4,285 bytes, line 295
295else{const kr=Bt.pop();ye=i(Ae,kr,ye)}for(ye=-1;++ye<Ae.length;){const kr=e[Ae[ye][0]];JM.call(kr,Ae[ye][1].type)&&kr[Ae[ye][1].type].call(Object.assign({sliceSerialize:Ae[ye][2].sliceSerialize},ht),Ae[ye][1])}if(ht.tokenStack.length>0){const kr=ht.tokenStack[ht.tokenStack.length-1];(kr[1]||VS).call(ht,void 0,kr[0])}for(We.position={start:Jo(Ae.length>0?Ae[0][1].start:{line:1,column:1,offset:0}),end:Jo(Ae.length>0?Ae[Ae.length-2][1].end:{line:1,column:1,offset:0})},ye=-1;++ye<e.transforms.length;)We=e.transforms[ye](We)||We;return We}function i(Ae,We,ht){let Bt=We-1,ye=-1,kr=!1,vn,ae,xn,fi;for(;++Bt<=ht;){const Mt=Ae[Bt];if(Mt[1].type==="listUnordered"||Mt[1].type==="listOrdered"||Mt[1].type==="blockQuote"?(Mt[0]==="enter"?ye++:ye--,fi=void 0):Mt[1].type==="lineEndingBlank"?Mt[0]==="enter"&&(vn&&!fi&&!ye&&!xn&&(xn=Bt),fi=void 0):Mt[1].type==="linePrefix"||Mt[1].type==="listItemValue"||Mt[1].type==="listItemMarker"||Mt[1].type==="listItemPrefix"||Mt[1].type==="listItemPrefixWhitespace"||(fi=void 0),!ye&&Mt[0]==="enter"&&Mt[1].type==="listItemPrefix"||ye===-1&&Mt[0]==="exit"&&(Mt[1].type==="listUnordered"||Mt[1].type==="listOrdered")){if(vn){let Ri=Bt;for(ae=void 0;Ri--;){const jn=Ae[Ri];if(jn[1].type==="lineEnding"||jn[1].type==="lineEndingBlank"){if(jn[0]==="exit")continue;ae&&(Ae[ae][1].type="lineEndingBlank",kr=!0),jn[1].type="lineEnding",ae=Ri}else if(!(jn[1].type==="linePrefix"||jn[1].type==="blockQuotePrefix"||jn[1].type==="blockQuotePrefixWhitespace"||jn[1].type==="blockQuoteMarker"||jn[1].type==="listItemIndent"))break}xn&&(!ae||xn<ae)&&(vn._spread=!0),vn.end=Object.assign({},ae?Ae[ae][1].start:Mt[1].end),Ae.splice(ae||Bt,0,["exit",vn,Mt[2]]),Bt++,ht++}Mt[1].type==="listItemPrefix"&&(vn={type:"listItem",_spread:!1,start:Object.assign({},Mt[1].start),end:void 0},Ae.splice(Bt,0,["enter",vn,Mt[2]]),Bt++,ht++,xn=void 0,fi=!0)}}return Ae[We][1]._spread=kr,ht}function s(Ae,We){r[Ae]=We}function a(Ae){return r[Ae]}function l(Ae,We){return ht;function ht(Bt){p.call(this,Ae(Bt),Bt),We&&We.call(this,Bt)}}function u(){this.stack.push({type:"fragment",children:[]})}function p(Ae,We,ht){return this.stack[this.stack.length-1].children.push(Ae),this.stack.push(Ae),this.tokenStack.push([We,ht]),Ae.position={start:Jo(We.start)},Ae}function d(Ae){return We;function We(ht){Ae&&Ae.call(this,ht),g.call(this,ht)}}function g(Ae,We){const ht=this.stack.pop(),Bt=this.tokenStack.pop();if(Bt)Bt[0].type!==Ae.type&&(We?We.call(this,Ae,Bt[0]):(Bt[1]||VS).call(this,Ae,Bt[0]));else throw new Error("Cannot close `"+Ae.type+"` ("+pf({start:Ae.start,end:Ae.end})+"): itâs not open");return ht.position.end=Jo(Ae.end),ht}function _(){return EJ(this.stack.pop())}function v(){s("expectingFirstListItemValue",!0)}function k(Ae){if(a("expectingFirstListItemValue")){const We=this.stack[this.stack.length-2];We.start=Number.parseInt(this.sliceSerialize(Ae),10),s("expectingFirstListItemValue")}}function O(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.lang=Ae}function N(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.meta=Ae}function S(){a("flowCodeInside")||(this.buffer(),s("flowCodeInside",!0))}function M(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.value=Ae.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s("flowCodeInside")}function F(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.value=Ae.replace(/(\r?\n|\r)$/g,"")}function G(Ae){const We=this.resume(),ht=this.stack[this.stack.length-1];ht.label=We,ht.identifier=M0(this.sliceSerialize(Ae)).toLowerCase()}function X(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.title=Ae}function z(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.url=Ae}function R(Ae){const We=this.stack[this.stack.length-1];if(!We.depth){const ht=this.sliceSerialize(Ae).length;We.depth=ht}}function H(){s("setextHeadingSlurpLineEnding",!0)}function re(Ae){const We=this.stack[this.stack.length-1];We.depth=this.sliceSerialize(Ae).charCodeAt(0)===61?1:2}function ie(){s("setextHeadingSlurpLineEnding")}function q(Ae){const We=this.stack[this.stack.length-1];let ht=We.children[We.children.length-1];(!ht||ht.type!=="text")&&(ht=Ft(),ht.position={start:Jo(Ae.start)},We.children.push(ht)),this.stack.push(ht)}function Y(Ae){const We=this.stack.pop();
295We.value+=this.sliceSerialize(Ae),We.position.end=Jo(Ae.end)}function Q(Ae){const We=this.stack[this.stack.length-1];if(a("atHardBreak")){const ht=We.children[We.children.length-1];ht.position.end=Jo(Ae.end),s("atHardBreak");return}!a("setextHeadingSlurpLineEnding")&&e.canContainEols.includes(We.type)&&(q.call(this,Ae),Y.call(this,Ae))}function fe(){s("atHardBreak",!0)}function pe(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.value=Ae}function Te(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.value=Ae}function ve(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.value=Ae}function xe(){const Ae=this.stack[this.stack.length-1];if(a("inReference")){const We=a("referenceType")||"shortcut";Ae.type+="Reference",Ae.referenceType=We,delete Ae.url,delete Ae.title}else delete Ae.identifier,delete Ae.label;s("referenceType")}function Ye(){const Ae=this.stack[this.stack.length-1];if(a("inReference")){const We=a("referenceType")||"shortcut";Ae.type+="Reference",Ae.referenceType=We,delete Ae.url,delete Ae.title}else delete Ae.identifier,delete Ae.label;s("referenceType")}function B(Ae){const We=this.sliceSerialize(Ae),ht=this.stack[this.stack.length-2];ht.label=Mee(We),ht.identifier=M0(We).toLowerCase()}function Ce(){const Ae=this.stack[this.stack.length-1],We=this.resume(),ht=this.stack[this.stack.length-1];if(s("inReference",!0),ht.type==="link"){const Bt=Ae.children;ht.children=Bt}else ht.alt=We}function Pe(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.url=Ae}function le(){const Ae=this.resume(),We=this.stack[this.stack.length-1];We.title=Ae}function Lt(){s("inReference")}function Ht(){s("referenceType","collapsed")}function At(Ae){const We=this.resume(),ht=this.stack[this.stack.length-1];ht.label=We,ht.identifier=M0(this.sliceSerialize(Ae)).toLowerCase(),s("referenceType","full")}function Ke(Ae){s("characterReferenceType",Ae.type)}function Ve(Ae){const We=this.sliceSerialize(Ae),ht=a("characterReferenceType");let Bt;ht?(Bt=QM(We,ht==="characterReferenceMarkerNumeric"?10:16),s("characterReferenceType")):Bt=z3(We);const ye=this.stack.pop();ye.value+=Bt,ye.position.end=Jo(Ae.end)}function wt(Ae){Y.call(this,Ae);const We=this.stack[this.stack.length-1];We.url=this.sliceSerialize(Ae)}function Dt(Ae){Y.call(this,Ae);const We=this.stack[this.stack.length-1];We.url="mailto:"+this.sliceSerialize(Ae)}function Fe(){return{type:"blockquote",children:[]}}function Ne(){return{type:"code",lang:null,meta:null,value:""}}function K(){return{type:"inlineCode",value:""}}function ee(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function oe(){return{type:"emphasis",children:[]}}function ge(){return{type:"heading",depth:void 0,children:[]}}function Oe(){return{type:"break"}}function U(){return{type:"html",value:""}}function C(){return{type:"image",title:null,url:"",alt:null}}function I(){return{type:"link",title:null,url:"",children:[]}}function te(Ae){return{type:"list",ordered:Ae.type==="listOrdered",start:null,spread:Ae._spread,children:[]}}function be(Ae){return{type:"listItem",spread:Ae._spread,checked:null,children:[]}}function Le(){return{type:"paragraph",children:[]}}function ze(){return{type:"strong",children:[]}}function Ft(){return{type:"text",value:""}}function Yt(){return{type:"thematicBreak"}}}function Jo(t){return{line:t.line,column:t.column,offset:t.offset}}function ZM(t,e){let r=-1;for(;++r<e.length;){const n=e[r];Array.isArray(n)?ZM(t,n):Ree(t,n)}}function Ree(t,e){let r;for(r in e)if(JM.call(e,r)){if(r==="canContainEols"){const n=e[r];n&&t[r].push(...n)}else if(r==="transforms"){const n=e[r];n&&t[r].push(...n)}else if(r==="enter"||r==="exit"){const n=e[r];n&&Object.assign(t[r],n)}}}function VS(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+pf({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+pf({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+pf({start:e.start,end:e.end})+") is still open")}function Fee(t){Object.assign(this,{Parser:r=>{const n=this.data("settings");return Oee(r,Object.assign({},n,t,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function Dee(t,e){const r={type:"element",tagName:"blockquote",properties:{},children:t.wrap(t.all(e),!0)};return t.patch(e,r),t.applyData(e,r)}function Nee(t,e){const r={type:"element",tagName:"br",properties:{},children:[]};return t.patch(e,r),[t.applyData(e,r),{type:"text",value:` 296`}]}function Pee(t,e){const r=e.value?e.value+` 297`:"",n=e.lang?e.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,i={};n&&(i.className=["language-"+n]);let s={type:"element",tagName:"code",properties:i,children:[{type:"text",value:r}]};return e.meta&&(s.data={meta:e.meta}),t.patch(e,s),s=t.applyData(e,s),s={type:"element",tagName:"pre",properties:{},children:[s]},t.patch(e,s),s}function Lee(t,e){const r={type:"element",tagName:"del",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function Bee(t,e){const r={type:"element",tagName:"em",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}const YS=Uee(/[\dA-Za-z]/);function Uee(t){return e;function e(r){return r!==null&&t.test(String.fromCharCode(r))}}function Q0(t){const e=[];let r=-1,n=0,i=0;for(;++r<t.length;){const s=t.charCodeAt(r);let a="";if(s===37&&YS(t.charCodeAt(r+1))&&YS(t.charCodeAt(r+2)))i=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(a=String.fromCharCode(s));else if(s>55295&&s<57344){const l=t.charCodeAt(r+1);s<56320&&l>56319&&l<57344?(a=String.fromCharCode(s,l),i=1):a="�"}else a=String.fromCharCode(s);a&&(e.push(t.slice(n,r),encodeURIComponent(a)),n=r+i+1,a=""),i&&(r+=i,i=0)}return e.join("")+t.slice(n)}function eC(t,e){const r=String(e.identifier).toUpperCase(),n=Q0(r.toLowerCase()),i=t.footnoteOrder.indexOf(r);let s;i===-1?(t.footnoteOrder.push(r),t.footnoteCounts[r]=1,s=t.footnoteOrder.length):(t.footnoteCounts[r]++,s=i+1);const a=t.footnoteCounts[r],l={type:"element",tagName:"a",properties:{href:"#"+t.clobberPrefix+"fn-"+n,id:t.clobberPrefix+"fnref-"+n+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};t.patch(e,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return t.patch(e,u),t.applyData(e,u)}function zee(t,e){const r=t.footnoteById;let n=1;for(;n in r;)n++;const i=String(n);return r[i]={type:"footnoteDefinition",identifier:i,children:[{type:"paragraph",children:e.children}],position:e.position},eC(t,{type:"footnoteReference",identifier:i,position:e.position})}function jee(t,e){const r={type:"element",tagName:"h"+e.depth,properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function Hee(t,e){if(t.dangerous){const r={type:"raw",value:e.value};return t.patch(e,r),t.applyData(e,r)}return null}function tC(t,e){const r=e.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(e.label||e.identifier)+"]"),e.type==="imageReference")return{type:"text",value:"!["+e.alt+n};const i=t.all(e),s=i[0];s&&s.type==="text"?s.value="["+s.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=n:i.push({type:"text",value:n}),i}function Wee(t,e){const r=t.definition(e.identifier);if(!r)return tC(t,e);const n={src:Q0(r.url||""),alt:e.alt};r.title!==null&&r.title!==void 0&&(n.title=r.title);const i={type:"element",tagName:"img",properties:n,children:[]};return t.patch(e,i),t.applyData(e,i)}function Gee(t,e){const r={src:Q0(e.url)};e.alt!==null&&e.alt!==void 0&&(r.alt=e.alt),e.title!==null&&e.title!==void 0&&(r.title=e.title);const n={type:"element",tagName:"img",properties:r,children:[]};return t.patch(e,n),t.applyData(e,n)}function $ee(t,e){const r={type:"text",value:e.value.replace(/\r?\n|\r/g," ")};t.patch(e,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return t.patch(e,n),t.applyData(e,n)}function qee(t,e){const r=t.definition(e.identifier);if(!r)return tC(t,e);const n={href:Q0(r.url||"")};r.title!==null&&r.title!==void 0&&(n.title=r.title);const i={type:"element",tagName:"a",properties:n,children:t.all(e)};return t.patch(e,i),t.applyData(e,i)}function Vee(t,e){const r={href:Q0(e.url)};e.title!==null&&e.title!==void 0&&(r.title=e.title);const n={type:"element",tagName:"a",properties:r,children:t.all(e)};return t.patch(e,n),t.applyData(e,n)}function Yee(t,e,r){const n=t.all(e),i=r?Kee(r):rC(e),s={},a=[];if(typeof e.checked=="boolean"){const d=n[0];let g;d&&d.type==="element"&&d.tagName==="p"?g=d:(g={type:"element",tagName:"p",properties:{},children:[]},n.unshift(g)),g.children.length>0&&g.children.unshift({type:"text",value:" "}),g.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:e.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let l=-1;for(;++l<n.length;){const d=n[l];(i||l!==0||d.type!=="element"||d.tagName!=="p")&&a.push({type:"text",value:` 298`}),d.type==="element"&&d.tagName==="p"&&!i?a.push(...d.children):a.push(d)}const u=n[n.length-1];u&&(i||u.type!=="element"||u.tagName!=="p")&&a.push({type:"text",value:` 299`});const p={type:"element",tagName:"li",properties:s,children:a};return t.patch(e,p),t.applyData(e,p)}function Kee(t){let e=!1;if(t.type==="list"){e=t.spread||!1;const r=t.children;let n=-1;for(;!e&&++n<r.length;)e=rC(r[n])}return e}function rC(t){const e=t.spread;return e??t.children.length>1}function Xee(t,e){const r={},n=t.all(e);let i=-1;for(typeof e.start=="number"&&e.start!==1&&(r.start=e.start);++i<n.length;){const a=n[i];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const s={type:"element",tagName:e.ordered?"ol":"ul",properties:r,children:t.wrap(n,!0)};return t.patch(e,s),t.applyData(e,s)}function Qee(t,e){const r={type:"element",tagName:"p",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}function Jee(t,e){const r={type:"root",children:t.wrap(t.all(e))};return t.patch(e,r),t.applyData(e,r)}function Zee(t,e){const r={type:"element",tagName:"strong",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}const H3=nC("start"),W3=nC("end");function ete(t){return{start:H3(t),end:W3(t)}
299}function nC(t){return e;function e(r){const n=r&&r.position&&r.position[t]||{};return{line:n.line||null,column:n.column||null,offset:n.offset>-1?n.offset:null}}}function tte(t,e){const r=t.all(e),n=r.shift(),i=[];if(n){const a={type:"element",tagName:"thead",properties:{},children:t.wrap([n],!0)};t.patch(e.children[0],a),i.push(a)}if(r.length>0){const a={type:"element",tagName:"tbody",properties:{},children:t.wrap(r,!0)},l=H3(e.children[1]),u=W3(e.children[e.children.length-1]);l.line&&u.line&&(a.position={start:l,end:u}),i.push(a)}const s={type:"element",tagName:"table",properties:{},children:t.wrap(i,!0)};return t.patch(e,s),t.applyData(e,s)}function rte(t,e,r){const n=r?r.children:void 0,s=(n?n.indexOf(e):1)===0?"th":"td",a=r&&r.type==="table"?r.align:void 0,l=a?a.length:e.children.length;let u=-1;const p=[];for(;++u<l;){const g=e.children[u],_={},v=a?a[u]:void 0;v&&(_.align=v);let k={type:"element",tagName:s,properties:_,children:[]};g&&(k.children=t.all(g),t.patch(g,k),k=t.applyData(e,k)),p.push(k)}const d={type:"element",tagName:"tr",properties:{},children:t.wrap(p,!0)};return t.patch(e,d),t.applyData(e,d)}function nte(t,e){const r={type:"element",tagName:"td",properties:{},children:t.all(e)};return t.patch(e,r),t.applyData(e,r)}const KS=9,XS=32;function ite(t){const e=String(t),r=/\r?\n|\r/g;let n=r.exec(e),i=0;const s=[];for(;n;)s.push(QS(e.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(e);return s.push(QS(e.slice(i),i>0,!1)),s.join("")}function QS(t,e,r){let n=0,i=t.length;if(e){let s=t.codePointAt(n);for(;s===KS||s===XS;)n++,s=t.codePointAt(n)}if(r){let s=t.codePointAt(i-1);for(;s===KS||s===XS;)i--,s=t.codePointAt(i-1)}return i>n?t.slice(n,i):""}function ste(t,e){const r={type:"text",value:ite(String(e.value))};return t.patch(e,r),t.applyData(e,r)}function ate(t,e){const r={type:"element",tagName:"hr",properties:{},children:[]};return t.patch(e,r),t.applyData(e,r)}const ote={blockquote:Dee,break:Nee,code:Pee,delete:Lee,emphasis:Bee,footnoteReference:eC,footnote:zee,heading:jee,html:Hee,imageReference:Wee,image:Gee,inlineCode:$ee,linkReference:qee,link:Vee,listItem:Yee,list:Xee,paragraph:Qee,root:Jee,strong:Zee,table:tte,tableCell:nte,tableRow:rte,text:ste,thematicBreak:ate,toml:Yp,yaml:Yp,definition:Yp,footnoteDefinition:Yp};function Yp(){return null}const G3=function(t){if(t==null)return hte;if(typeof t=="string")return cte(t);if(typeof t=="object")return Array.isArray(t)?lte(t):ute(t);if(typeof t=="function")return Q1(t);throw new Error("Expected function, string, or object as test")};function lte(t){const e=[];let r=-1;for(;++r<t.length;)e[r]=G3(t[r]);return Q1(n);function n(...i){let s=-1;for(;++s<e.length;)if(e[s].call(this,...i))return!0;return!1}}function ute(t){return Q1(e);function e(r){let n;for(n in t)if(r[n]!==t[n])return!1;return!0}}function cte(t){return Q1(e);function e(r){return r&&r.type===t}}function Q1(t){return e;function e(r,...n){return!!(r&&typeof r=="object"&&"type"in r&&t.call(this,r,...n))}}function hte(){return!0}const fte=!0,JS=!1,dte="skip",pte=function(t,e,r,n){typeof e=="function"&&typeof r!="function"&&(n=r,r=e,e=null);const i=G3(e),s=n?-1:1;a(t,void 0,[])();function a(l,u,p){const d=l&&typeof l=="object"?l:{};if(typeof d.type=="string"){const _=typeof d.tagName=="string"?d.tagName:typeof d.name=="string"?d.name:void 0;Object.defineProperty(g,"name",{value:"node ("+(l.type+(_?"<"+_+">":""))+")"})}return g;function g(){let _=[],v,k,O;if((!e||i(l,u,p[p.length-1]||null))&&(_=mte(r(l,p)),_[0]===JS))return _;if(l.children&&_[0]!==dte)for(k=(n?l.children.length:-1)+s,O=p.concat(l);k>-1&&k<l.children.length;){if(v=a(l.children[k],k,O)(),v[0]===JS)return v;k=typeof v[1]=="number"?v[1]:k+s}return _}}};function mte(t){return Array.isArray(t)?t:typeof t=="number"?[fte,t]:[t]}const J1=function(t,e,r,n){typeof e=="function"&&typeof r!="function"&&(n=r,r=e,e=null),pte(t,e,i,n);function i(s,a){const l=a[a.length-1];return r(s,l?l.children.indexOf(s):null,l)}};function gte(t){return!t||!t.position||!t.position.start||!t.position.start.line||!t.position.start.column||!t.position.end||!t.position.end.line||!t.position.end.column}const ZS={}.hasOwnProperty;function _te(t){const e=Object.create(null);if(!t||!t.type)throw new Error("mdast-util-definitions expected node");return J1(t,"definition",n=>{const i=eT(n.identifier);i&&!ZS.call(e,i)&&(e[i]=n)}),r;function r(n){const i=eT(n);return i&&ZS.call(e,i)?e[i]:null}}function eT(t){return String(t||"").toUpperCase()}const Qg={}.hasOwnProperty;function yte(t,e){const r=e||{},n=r.allowDangerousHtml||!1,i={};return a.dangerous=n,a.clobberPrefix=r.clobberPrefix===void 0||r.clobberPrefix===null?"user-content-":r.clobberPrefix,a.footnoteLabel=r.footnoteLabel||"Footnotes",a.footnoteLabelTagName=r.footnoteLabelTagName||"h2",a.footnoteLabelProperties=r.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=r.footnoteBackLabel||"Back to content",a.unknownHandler=r.unknownHandler,a.passThrough=r.passThrough,a.handlers={...ote,...r.handlers},a.definition=_te(t),a.footnoteById=i,a.footnoteOrder=[],a.footnoteCounts={},a.patch=vte,a.applyData=bte,a.one=l,a.all=u,a.wrap=Ete,a.augment=s,J1(t,"footnoteDefinition",p=>{const d=String(p.identifier).toUpperCase();Qg.call(i,d)||(i[d]=p)}),a;function s(p,d){if(p&&"data"in p&&p.data){const g=p.data;g.hName&&(d.type!=="element"&&(d={type:"element",tagName:"",properties:{},children:[]}),d.tagName=g.hName),d.type==="element"&&g.hProperties&&(d.properties={...d.properties,...g.hProperties}),"children"in d&&d.children&&g.hChildren&&(d.children=g.hChildren)}if(p){const g="type"in p?p:{position:p};
299gte(g)||(d.position={start:H3(g),end:W3(g)})}return d}function a(p,d,g,_){return Array.isArray(g)&&(_=g,g={}),s(p,{type:"element",tagName:d,properties:g||{},children:_||[]})}function l(p,d){return iC(a,p,d)}function u(p){return $3(a,p)}}function vte(t,e){t.position&&(e.position=ete(t))}function bte(t,e){let r=e;if(t&&t.data){const n=t.data.hName,i=t.data.hChildren,s=t.data.hProperties;typeof n=="string"&&(r.type==="element"?r.tagName=n:r={type:"element",tagName:n,properties:{},children:[]}),r.type==="element"&&s&&(r.properties={...r.properties,...s}),"children"in r&&r.children&&i!==null&&i!==void 0&&(r.children=i)}return r}function iC(t,e,r){const n=e&&e.type;if(!n)throw new Error("Expected node, got `"+e+"`");return Qg.call(t.handlers,n)?t.handlers[n](t,e,r):t.passThrough&&t.passThrough.includes(n)?"children"in e?{...e,children:$3(t,e)}:e:t.unknownHandler?t.unknownHandler(t,e,r):wte(t,e)}function $3(t,e){const r=[];if("children"in e){const n=e.children;let i=-1;for(;++i<n.length;){const s=iC(t,n[i],e);if(s){if(i&&n[i-1].type==="break"&&(!Array.isArray(s)&&s.type==="text"&&(s.value=s.value.replace(/^\s+/,"")),!Array.isArray(s)&&s.type==="element")){const a=s.children[0];a&&a.type==="text"&&(a.value=a.value.replace(/^\s+/,""))}Array.isArray(s)?r.push(...s):r.push(s)}}}return r}function wte(t,e){const r=e.data||{},n="value"in e&&!(Qg.call(r,"hProperties")||Qg.call(r,"hChildren"))?{type:"text",value:e.value}:{type:"element",tagName:"div",properties:{},children:$3(t,e)};return t.patch(e,n),t.applyData(e,n)}function Ete(t,e){const r=[];let n=-1;for(e&&r.push({type:"text",value:` 300`});++n<t.length;)n&&r.push({type:"text",value:` 301`}),r.push(t[n]);return e&&t.length>0&&r.push({type:"text",value:` 302`}),r}function Ste(t){const e=[];let r=-1;for(;++r<t.footnoteOrder.length;){const n=t.footnoteById[t.footnoteOrder[r]];if(!n)continue;const i=t.all(n),s=String(n.identifier).toUpperCase(),a=Q0(s.toLowerCase());let l=0;const u=[];for(;++l<=t.footnoteCounts[s];){const g={type:"element",tagName:"a",properties:{href:"#"+t.clobberPrefix+"fnref-"+a+(l>1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:t.footnoteBackLabel},children:[{type:"text",value:"â©"}]};l>1&&g.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(g)}const p=i[i.length-1];if(p&&p.type==="element"&&p.tagName==="p"){const g=p.children[p.children.length-1];g&&g.type==="text"?g.value+=" ":p.children.push({type:"text",value:" "}),p.children.push(...u)}else i.push(...u);const d={type:"element",tagName:"li",properties:{id:t.clobberPrefix+"fn-"+a},children:t.wrap(i,!0)};t.patch(n,d),e.push(d)}if(e.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:t.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(t.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:t.footnoteLabel}]},{type:"text",value:` 303`},{type:"element",tagName:"ol",properties:{},children:t.wrap(e,!0)},{type:"text",value:` 304`}]}}function sC(t,e){const r=yte(t,e),n=r.one(t,null),i=Ste(r);return i&&n.children.push({type:"text",value:` 305`},i),Array.isArray(n)?{type:"root",children:n}:n}const Tte=function(t,e){return t&&"run"in t?xte(t,e):kte(t||e)};function xte(t,e){return(r,n,i)=>{t.run(sC(r,e),n,s=>{i(s)})}}function kte(t){return e=>sC(e,t)}let Od=class{constructor(e,r,n){this.property=e,this.normal=r,n&&(this.space=n)}};Od.prototype.property={};Od.prototype.normal={};Od.prototype.space=null;function aC(t,e){const r={},n={};let i=-1;for(;++i<t.length;)Object.assign(r,t[i].property),Object.assign(n,t[i].normal);return new Od(r,n,e)}function Qf(t){return t.toLowerCase()}let Ps=class{constructor(e,r){this.property=e,this.attribute=r}};Ps.prototype.space=null;Ps.prototype.boolean=!1;Ps.prototype.booleanish=!1;Ps.prototype.overloadedBoolean=!1;Ps.prototype.number=!1;Ps.prototype.commaSeparated=!1;Ps.prototype.spaceSeparated=!1;Ps.prototype.commaOrSpaceSeparated=!1;Ps.prototype.mustUseProperty=!1;Ps.prototype.defined=!1;let Ate=0;const jt=Zu(),hn=Zu(),oC=Zu(),rt=Zu(),Cr=Zu(),C0=Zu(),Wi=Zu();function Zu(){return 2**++Ate}const G2=Object.freeze(Object.defineProperty({__proto__:null,boolean:jt,booleanish:hn,commaOrSpaceSeparated:Wi,commaSeparated:C0,number:rt,overloadedBoolean:oC,spaceSeparated:Cr},Symbol.toStringTag,{value:"Module"})),xv=Object.keys(G2);let q3=class extends Ps{constructor(e,r,n,i){let s=-1;if(super(e,r),tT(this,"space",i),typeof n=="number")for(;++s<xv.length;){const a=xv[s];tT(this,xv[s],(n&G2[a])===G2[a])}}};q3.prototype.defined=!0;function tT(t,e,r){r&&(t[e]=r)}const Mte={}.hasOwnProperty;function J0(t){const e={},r={};let n;for(n in t.properties)if(Mte.call(t.properties,n)){const i=t.properties[n],s=new q3(n,t.transform(t.attributes||{},n),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(n)&&(s.mustUseProperty=!0),e[n]=s,r[Qf(n)]=n,r[Qf(s.attribute)]=n}return new Od(e,r,t.space)}
vendor: 4,282 bytes, line 305
305const lC=J0({space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),uC=J0({space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function cC(t,e){return e in t?t[e]:e}function hC(t,e){return cC(t,e.toLowerCase())}const fC=J0({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:hC,properties:{xmlns:null,xmlnsXLink:null}}),dC=J0({transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:hn,ariaAutoComplete:null,ariaBusy:hn,ariaChecked:hn,ariaColCount:rt,ariaColIndex:rt,ariaColSpan:rt,ariaControls:Cr,ariaCurrent:null,ariaDescribedBy:Cr,ariaDetails:null,ariaDisabled:hn,ariaDropEffect:Cr,ariaErrorMessage:null,ariaExpanded:hn,ariaFlowTo:Cr,ariaGrabbed:hn,ariaHasPopup:null,ariaHidden:hn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Cr,ariaLevel:rt,ariaLive:null,ariaModal:hn,ariaMultiLine:hn,ariaMultiSelectable:hn,ariaOrientation:null,ariaOwns:Cr,ariaPlaceholder:null,ariaPosInSet:rt,ariaPressed:hn,ariaReadOnly:hn,ariaRelevant:null,ariaRequired:hn,ariaRoleDescription:Cr,ariaRowCount:rt,ariaRowIndex:rt,ariaRowSpan:rt,ariaSelected:hn,ariaSetSize:rt,ariaSort:null,ariaValueMax:rt,ariaValueMin:rt,ariaValueNow:rt,ariaValueText:null,role:null}}),Cte=J0({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:hC,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:C0,acceptCharset:Cr,accessKey:Cr,action:null,allow:null,allowFullScreen:jt,allowPaymentRequest:jt,allowUserMedia:jt,alt:null,as:null,async:jt,autoCapitalize:null,autoComplete:Cr,autoFocus:jt,autoPlay:jt,blocking:Cr,capture:null,charSet:null,checked:jt,cite:null,className:Cr,cols:rt,colSpan:null,content:null,contentEditable:hn,controls:jt,controlsList:Cr,coords:rt|C0,crossOrigin:null,data:null,dateTime:null,decoding:null,default:jt,defer:jt,dir:null,dirName:null,disabled:jt,download:oC,draggable:hn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:jt,formTarget:null,headers:Cr,height:rt,hidden:jt,high:rt,href:null,hrefLang:null,htmlFor:Cr,httpEquiv:Cr,id:null,imageSizes:null,imageSrcSet:null,inert:jt,inputMode:null,integrity:null,is:null,isMap:jt,itemId:null,itemProp:Cr,itemRef:Cr,itemScope:jt,itemType:Cr,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:jt,low:rt,manifest:null,max:null,maxLength:rt,media:null,method:null,min:null,minLength:rt,multiple:jt,muted:jt,name:null,nonce:null,noModule:jt,noValidate:jt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:jt,optimum:rt,pattern:null,ping:Cr,placeholder:null,playsInl
305ine:jt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:jt,referrerPolicy:null,rel:Cr,required:jt,reversed:jt,rows:rt,rowSpan:rt,sandbox:Cr,scope:null,scoped:jt,seamless:jt,selected:jt,shadowRootClonable:jt,shadowRootDelegatesFocus:jt,shadowRootMode:null,shape:null,size:rt,sizes:null,slot:null,span:rt,spellCheck:hn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:rt,step:null,style:null,tabIndex:rt,target:null,title:null,translate:null,type:null,typeMustMatch:jt,useMap:null,value:hn,width:rt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Cr,axis:null,background:null,bgColor:null,border:rt,borderColor:null,bottomMargin:rt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:jt,declare:jt,event:null,face:null,frame:null,frameBorder:null,hSpace:rt,leftMargin:rt,link:null,longDesc:null,lowSrc:null,marginHeight:rt,marginWidth:rt,noResize:jt,noHref:jt,noShade:jt,noWrap:jt,object:null,profile:null,prompt:null,rev:null,rightMargin:rt,rules:null,scheme:null,scrolling:hn,standby:null,summary:null,text:null,topMargin:rt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:rt,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:jt,disableRemotePlayback:jt,prefix:null,property:null,results:rt,security:null,unselectable:null}}),Ote=J0({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
305-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:cC,properties:{about:Wi,accentHeight:rt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:rt,amplitude:rt,arabicForm:null,ascent:rt,attributeName:null,attributeType:null,azimuth:rt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:rt,by:null,calcMode:null,capHeight:rt,className:Cr,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:rt,diffuseConstant:rt,direction:null,display:null,dur:null,divisor:rt,dominantBaseline:null,download:jt,dx:null,dy:null,edgeMode:null,editable:null,elevation:rt,enableBackground:null,end:null,event:null,exponent:rt,externalResourcesRequired:null,fill:null,fillOpacity:rt,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:C0,g2:C0,glyphName:C0,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:rt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:rt,horizOriginX:rt,horizOriginY:rt,id:null,ideographic:rt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:rt,k:rt,k1:rt,k2:rt,k3:rt,k4:rt,kernelMatrix:Wi,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:rt,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:rt,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
305Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:rt,overlineThickness:rt,paintOrder:null,panose1:null,path:null,pathLength:rt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Cr,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:rt,pointsAtY:rt,pointsAtZ:rt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Wi,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Wi,rev:Wi,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Wi,requiredFeatures:Wi,requiredFonts:Wi,requiredFormats:Wi,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:rt,specularExponent:rt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:rt,strikethroughThickness:rt,string:null,stroke:null,strokeDashArray:Wi,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:rt,strokeOpacity:rt,strokeWidth:null,style:null,surfaceScale:rt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Wi,tabIndex:rt,tableValues:null,target:null,targetX:rt,targetY:rt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Wi,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:rt,underlineThickness:rt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:rt,values:null,vAlphabetic:rt,vMathematical:rt,vectorEffect:null,vHanging:rt,vIdeographic:rt,version:null,vertAdvY:rt,vertOriginX:rt,vertOriginY:rt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:rt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Ite=/^data[-\w.:]+$/i,rT=/-[a-z]/g,Rte=/[A-Z]/g;function pC(t,e){const r=Qf(e);let n=e,i=Ps;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Ite.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(rT,Dte);n="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!rT.test(s)){let a=s.replace(Rte,Fte);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=q3}return new i(n,e)}function Fte(t){return"-"+t.toLowerCase()}function Dte(t){return t.charAt(1).toUpperCase()}const nT={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},mC=aC([uC,lC,fC,dC,Cte],"html"),gC=aC([uC,lC,fC,dC,Ote],"svg");function Nte(t){if(t.allowedElements&&t.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(t.allowedElements||t.disallowedElements||t.allowElement)return e=>{J1(e,"element",(r,n,i)=>{const s=i;let a;if(t.allowedElements?a=!t.allowedElements.includes(r.tagName):t.disallowedElements&&(a=t.disallowedElements.includes(r.tagName)),!a&&t.allowElement&&typeof n=="number"&&(a=!t.allowElement(r,n,s)),a&&typeof n=="number")return t.unwrapDisallowed&&r.children?s.children.splice(n,1,...r.children):s.children.splice(n,1),n})}}var _C={exports:{}},wr={};/** 306 * @license React 307 * react-is.production.min.js 308 * 309 * Copyright (c) Facebook, Inc. and its affiliates. 310 * 311 * This source code is licensed under the MIT license found in the 312 * LICENSE file in the root directory of this source tree. 313 */var V3=Symbol.for("react.element"),Y3=Symbol.for("react.portal"),Z1=Symbol.for("react.fragment"),e_=Symbol.for("react.strict_mode"),t_=Symbol.for("react.profiler"),r_=Symbol.for("react.provider"),n_=Symbol.for("react.context"),Pte=Symbol.for("react.server_context"),i_=Symbol.for("react.forward_ref"),s_=Symbol.for("react.suspense"),a_=Symbol.for("react.suspense_list"),o_=Symbol.for("react.memo"),l_=Symbol.for("react.lazy"),Lte=Symbol.for("react.offscreen"),yC;yC=Symbol.for("react.module.reference");function Ls(t){if(typeof t=="object"&&t!==null){var e=t.$$typeof;switch(e){case V3:switch(t=t.type,t){case Z1:case t_:case e_:case s_:case a_:return t;default:switch(t=t&&t.$$typeof,t){case Pte:case n_:case i_:case l_:case o_:case r_:return t;default:return e}}case Y3:return e}}}wr.ContextConsumer=n_;wr.ContextProvider=r_;wr.Element=V3;wr.ForwardRef=i_;wr.Fragment=Z1;wr.Lazy=l_;wr.Memo=o_;wr.Portal=Y3;wr.Profiler=t_;wr.StrictMode=e_;wr.Suspense=s_;wr.SuspenseList=a_;wr.isAsyncMode=function(){return!1};wr.isConcurrentMode=function(){return!1};wr.isContextConsumer=function(t){return Ls(t)===n_};wr.isContextProvider=function(t){return Ls(t)===r_};wr.isElement=function(t){return typeof t=="object"&&t!==null&&t.$$typeof===V3};wr.isForwardRef=function(t){return Ls(t)===i_};
313wr.isFragment=function(t){return Ls(t)===Z1};wr.isLazy=function(t){return Ls(t)===l_};wr.isMemo=function(t){return Ls(t)===o_};wr.isPortal=function(t){return Ls(t)===Y3};wr.isProfiler=function(t){return Ls(t)===t_};wr.isStrictMode=function(t){return Ls(t)===e_};wr.isSuspense=function(t){return Ls(t)===s_};wr.isSuspenseList=function(t){return Ls(t)===a_};wr.isValidElementType=function(t){return typeof t=="string"||typeof t=="function"||t===Z1||t===t_||t===e_||t===s_||t===a_||t===Lte||typeof t=="object"&&t!==null&&(t.$$typeof===l_||t.$$typeof===o_||t.$$typeof===r_||t.$$typeof===n_||t.$$typeof===i_||t.$$typeof===yC||t.getModuleId!==void 0)};wr.typeOf=Ls;_C.exports=wr;var Bte=_C.exports;const Ute=Ai(Bte);function zte(t){const e=t&&typeof t=="object"&&t.type==="text"?t.value||"":t;return typeof e=="string"&&e.replace(/[ \t\n\f\r]/g,"")===""}function Jg(t){const e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]}function vC(t){return t.join(" ").trim()}function Zg(t){const e=[],r=String(t||"");let n=r.indexOf(","),i=0,s=!1;for(;!s;){n===-1&&(n=r.length,s=!0);const a=r.slice(i,n).trim();(a||!s)&&e.push(a),i=n+1,n=r.indexOf(",",i)}return e}function bC(t,e){const r=e||{};return(t[t.length-1]===""?[...t,""]:t).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}var K3={exports:{}},iT=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,jte=/\n/g,Hte=/^\s*/,Wte=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Gte=/^:\s*/,$te=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,qte=/^[;\s]*/,Vte=/^\s+|\s+$/g,Yte=` 314`,sT="/",aT="*",ku="",Kte="comment",Xte="declaration",Qte=function(t,e){if(typeof t!="string")throw new TypeError("First argument must be a string");if(!t)return[];e=e||{};var r=1,n=1;function i(k){var O=k.match(jte);O&&(r+=O.length);var N=k.lastIndexOf(Yte);n=~N?k.length-N:n+k.length}function s(){var k={line:r,column:n};return function(O){return O.position=new a(k),p(),O}}function a(k){this.start=k,this.end={line:r,column:n},this.source=e.source}a.prototype.content=t;function l(k){var O=new Error(e.source+":"+r+":"+n+": "+k);if(O.reason=k,O.filename=e.source,O.line=r,O.column=n,O.source=t,!e.silent)throw O}function u(k){var O=k.exec(t);if(O){var N=O[0];return i(N),t=t.slice(N.length),O}}function p(){u(Hte)}function d(k){var O;for(k=k||[];O=g();)O!==!1&&k.push(O);return k}function g(){var k=s();if(!(sT!=t.charAt(0)||aT!=t.charAt(1))){for(var O=2;ku!=t.charAt(O)&&(aT!=t.charAt(O)||sT!=t.charAt(O+1));)++O;if(O+=2,ku===t.charAt(O-1))return l("End of comment missing");var N=t.slice(2,O-2);return n+=2,i(N),t=t.slice(O),n+=2,k({type:Kte,comment:N})}}function _(){var k=s(),O=u(Wte);if(O){if(g(),!u(Gte))return l("property missing ':'");var N=u($te),S=k({type:Xte,property:oT(O[0].replace(iT,ku)),value:N?oT(N[0].replace(iT,ku)):ku});return u(qte),S}}function v(){var k=[];d(k);for(var O;O=_();)O!==!1&&(k.push(O),d(k));return k}return p(),v()};function oT(t){return t?t.replace(Vte,ku):ku}var Jte=Qte;function wC(t,e){var r=null;if(!t||typeof t!="string")return r;for(var n,i=Jte(t),s=typeof e=="function",a,l,u=0,p=i.length;u<p;u++)n=i[u],a=n.property,l=n.value,s?e(a,l,n):l&&(r||(r={}),r[a]=l);return r}K3.exports=wC;K3.exports.default=wC;var Zte=K3.exports;const ere=Ai(Zte),$2={}.hasOwnProperty,tre=new Set(["table","thead","tbody","tfoot","tr"]);function EC(t,e){const r=[];let n=-1,i;for(;++n<e.children.length;)i=e.children[n],i.type==="element"?r.push(rre(t,i,n,e)):i.type==="text"?(e.type!=="element"||!tre.has(e.tagName)||!zte(i))&&r.push(i.value):i.type==="raw"&&!t.options.skipHtml&&r.push(i.value);return r}function rre(t,e,r,n){const i=t.options,s=i.transformLinkUri===void 0?tJ:i.transformLinkUri,a=t.schema,l=e.tagName,u={};let p=a,d;if(a.space==="html"&&l==="svg"&&(p=gC,t.schema=p),e.properties)for(d in e.properties)$2.call(e.properties,d)&&ire(u,d,e.properties[d],t);(l==="ol"||l==="ul")&&t.listDepth++;const g=EC(t,e);(l==="ol"||l==="ul")&&t.listDepth--,t.schema=a;const _=e.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},v=i.components&&$2.call(i.components,l)?i.components[l]:l,k=typeof v=="string"||v===si.Fragment;if(!Ute.isValidElementType(v))throw new TypeError(`Component for name \`${l}\` not defined or is not renderable`);if(u.key=r,l==="a"&&i.linkTarget&&(u.target=typeof i.linkTarget=="function"?i.linkTarget(String(u.href||""),e.children,typeof u.title=="string"?u.title:null):i.linkTarget),l==="a"&&s&&(u.href=s(String(u.href||""),e.children,typeof u.title=="string"?u.title:null)),!k&&l==="code"&&n.type==="element"&&n.tagName!=="pre"&&(u.inline=!0),!k&&(l==="h1"||l==="h2"||l==="h3"||l==="h4"||l==="h5"||l==="h6")&&(u.level=Number.parseInt(l.charAt(1),10)),l==="img"&&i.transformImageUri&&(u.src=i.transformImageUri(String(u.src||""),String(u.alt||""),typeof u.title=="string"?u.title:null)),!k&&l==="li"&&n.type==="element"){const O=nre(e);u.checked=O&&O.properties?!!O.properties.checked:null,u.index=kv(n,e),u.ordered=n.tagName==="ol"}return!k&&(l==="ol"||l==="ul")&&(u.ordered=l==="ol",u.depth=t.listDepth),(l==="td"||l==="th")&&(u.align&&(u.style||(u.style={}),u.style.textAlign=u.align,delete u.align),k||(u.isHeader=l==="th")),!k&&l==="tr"&&n.type==="element"&&(u.isHeader=n.tagName==="thead"),i.sourcePos&&(u["data-sourcepos"]=ore(_)),!k&&i.rawSourcePos&&(u.sourcePosition=e.position),!k&&i.includeElementIndex&&(u.index=kv(n,e),u.siblingCount=kv(n)),k||(u.node=e),g.length>0?si.createElement(v,u,g):si.createElement(v,u)}function nre(t){let e=-1;for(;++e<t.children.length;){const r=t.children[e];if(r.type==="element"&&r.tagName==="input")return r}return null}function kv(t,e){let r=-1,n=0;for(;++r<t.children.length&&t.children[r]!==e;)t.children[r].type==="element"&&n++;return n}function ire(t,e,r,n){const i=pC(n.schema,e);let s=r;s==null||s!==s||(Array.isArray(s)&&(s=i.commaSeparated?bC(s):vC(s)),i.property==="style"&&typeof s=="string"&&(s=sre(s)),i.space&&i.property?t[$2.call(nT,i.property)?nT[i.property]:i.property]=s:i.attribute&&(t[i.attribute]=s))}function sre(t){const e={};try{ere(t,r)}catch{}return e;function r(n,i){const s=n.slice(0,4)==="-ms-"?`ms-${n.slice(4)}`:n;e[s.replace(/-([a-z])/g,are)]=i}}function are(t,e){return e.toUpperCase()}function ore(t){return[t.start.line,":",t.start.column,"-",t.end.line,":",t.end.column].map(String).join("")}const lT={}.hasOwnProperty,lre="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Kp={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function SC(t){for(const s in Kp)if(lT.call(Kp,s)&&lT.call(t,s)){const a=Kp[s];console.warn(`[react-markdown] Warning: please ${a.to?`use \`${a.to}\` instead of`:"remove"} \`${s}\` (see <${lre}#${a.id}> for more info)`),delete Kp[s]}const e=_J().use(Fee).use(t.remarkPlugins||[]).use(Tte,{...t.remarkRehypeOptions,allowDangerousHtml:!0}).use(t.rehypePlugins||[]).use(Nte,t),r=new PM;typeof t.children=="string"?r.value=t.children:t.children!==void 0&&t.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${t.children}\`)`);const n=e.runSync(e.parse(r),r);if(n.type!=="root")throw new TypeError("Expected a `root` node");let i=si.createElement(si.Fragment,{},EC({options:t,schema:mC,listDepth:0},n));return t.className&&(i=si.createElement("div",{className:t.className},i)),i}SC.propTypes={children:at.string,className:at.string,allowElement:at.func,allowedElements:at.arrayOf(at.string),disallowedElements:at.arrayOf(at.string),unwrapDisallowed:at.bool,remarkPlugins:at.arrayOf(at.oneOfType([at.object,at.func,at.arrayOf(at.oneOfType([at.bool,at.string,at.object,at.func,at.arrayOf(at.any)]))])),rehypePlugins:at.arrayOf(at.oneOfType([at.object,at.func,at.arrayOf(at.oneOfType([at.bool,at.string,at.object,at.func,at.arrayOf(at.any)]))])),sourcePos:at.bool,rawSourcePos:at.bool,ski
vendor: 4,680 bytes, line 314
314pHtml:at.bool,includeElementIndex:at.bool,transformLinkUri:at.oneOfType([at.func,at.bool]),linkTarget:at.oneOfType([at.func,at.string]),transformImageUri:at.func,components:at.object};const TC=-1,u_=0,gf=1,e1=2,X3=3,Q3=4,J3=5,Z3=6,xC=7,kC=8,uT=typeof self=="object"?self:globalThis,ure=(t,e)=>{const r=(i,s)=>(t.set(s,i),i),n=i=>{if(t.has(i))return t.get(i);const[s,a]=e[i];switch(s){case u_:case TC:return r(a,i);case gf:{const l=r([],i);for(const u of a)l.push(n(u));return l}case e1:{const l=r({},i);for(const[u,p]of a)l[n(u)]=n(p);return l}case X3:return r(new Date(a),i);case Q3:{const{source:l,flags:u}=a;return r(new RegExp(l,u),i)}case J3:{const l=r(new Map,i);for(const[u,p]of a)l.set(n(u),n(p));return l}case Z3:{const l=r(new Set,i);for(const u of a)l.add(n(u));return l}case xC:{const{name:l,message:u}=a;return r(new uT[l](u),i)}case kC:return r(BigInt(a),i);case"BigInt":return r(Object(BigInt(a)),i);case"ArrayBuffer":return r(new Uint8Array(a).buffer,a);case"DataView":{const{buffer:l}=new Uint8Array(a);return r(new DataView(l),a)}}return r(new uT[s](a),i)};return n},cT=t=>ure(new Map,t)(0),Lc="",{toString:cre}={},{keys:hre}=Object,Hh=t=>{const e=typeof t;if(e!=="object"||!t)return[u_,e];const r=cre.call(t).slice(8,-1);switch(r){case"Array":return[gf,Lc];case"Object":return[e1,Lc];case"Date":return[X3,Lc];case"RegExp":return[Q3,Lc];case"Map":return[J3,Lc];case"Set":return[Z3,Lc];case"DataView":return[gf,r]}return r.includes("Array")?[gf,r]:r.includes("Error")?[xC,r]:[e1,r]},Xp=([t,e])=>t===u_&&(e==="function"||e==="symbol"),fre=(t,e,r,n)=>{const i=(a,l)=>{const u=n.push(a)-1;return r.set(l,u),u},s=a=>{if(r.has(a))return r.get(a);let[l,u]=Hh(a);switch(l){case u_:{let d=a;switch(u){case"bigint":l=kC,d=a.toString();break;case"function":case"symbol":if(t)throw new TypeError("unable to serialize "+u);d=null;break;case"undefined":return i([TC],a)}return i([l,d],a)}case gf:{if(u){let _=a;return u==="DataView"?_=new Uint8Array(a.buffer):u==="ArrayBuffer"&&(_=new Uint8Array(a)),i([u,[..._]],a)}const d=[],g=i([l,d],a);for(const _ of a)d.push(s(_));return g}case e1:{if(u)switch(u){case"BigInt":return i([u,a.toString()],a);case"Boolean":case"Number":case"String":return i([u,a.valueOf()],a)}if(e&&"toJSON"in a)return s(a.toJSON());const d=[],g=i([l,d],a);for(const _ of hre(a))(t||!Xp(Hh(a[_])))&&d.push([s(_),s(a[_])]);return g}case X3:return i([l,a.toISOString()],a);case Q3:{const{source:d,flags:g}=a;return i([l,{source:d,flags:g}],a)}case J3:{const d=[],g=i([l,d],a);for(const[_,v]of a)(t||!(Xp(Hh(_))||Xp(Hh(v))))&&d.push([s(_),s(v)]);return g}case Z3:{const d=[],g=i([l,d],a);for(const _ of a)(t||!Xp(Hh(_)))&&d.push(s(_));return g}}const{message:p}=a;return i([l,{name:u,message:p}],a)};return s},hT=(t,{json:e,lossy:r}={})=>{const n=[];return fre(!(e||r),!!e,new Map,n)(t),n},fT=typeof structuredClone=="function"?(t,e)=>e&&("json"in e||"lossy"in e)?cT(hT(t,e)):structuredClone(t):(t,e)=>cT(hT(t,e));let Id=class{constructor(e,r,n){this.normal=r,this.property=e,n&&(this.space=n)}};Id.prototype.normal={};Id.prototype.property={};Id.prototype.space=void 0;function AC(t,e){const r={},n={};for(const i of t)Object.assign(r,i.property),Object.assign(n,i.normal);return new Id(r,n,e)}function Jf(t){return t.toLowerCase()}let Mi=class{constructor(e,r){this.attribute=r,this.property=e}};Mi.prototype.attribute="";Mi.prototype.booleanish=!1;Mi.prototype.boolean=!1;Mi.prototype.commaOrSpaceSeparated=!1;Mi.prototype.commaSeparated=!1;Mi.prototype.defined=!1;Mi.prototype.mustUseProperty=!1;Mi.prototype.number=!1;Mi.prototype.overloadedBoolean=!1;Mi.prototype.property="";Mi.prototype.spaceSeparated=!1;Mi.prototype.space=void 0;let dre=0;const Gt=ec(),fn=ec(),q2=ec(),nt=ec(),Or=ec(),O0=ec(),Gi=ec();function ec(){return 2**++dre}const V2=Object.freeze(Object.defineProperty({__proto__:null,boolean:Gt,booleanish:fn,commaOrSpaceSeparated:Gi,commaSeparated:O0,number:nt,overloadedBoolean:q2,spaceSeparated:Or},Symbol.toStringTag,{value:"Module"})),Av=Object.keys(V2);let e6=class extends Mi{constructor(e,r,n,i){let s=-1;if(super(e,r),dT(this,"space",i),typeof n=="number")for(;++s<Av.length;){const a=Av[s];dT(this,Av[s],(n&V2[a])===V2[a])}}};e6.prototype.defined=!0;function dT(t,e,r){r&&(t[e]=r)}function Z0(t){const e={},r={};for(const[n,i]of Object.entries(t.properties)){const s=new e6(n,t.transform(t.attributes||{},n),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(n)&&(s.mustUseProperty=!0),e[n]=s,r[Jf(n)]=n,r[Jf(s.attribute)]=n}return new Id(e,r,t.space)}const MC=Z0({properties:{ariaActiveDescendant:null,ariaAtomic:fn,ariaAutoComplete:null,ariaBusy:fn,ariaChecked:fn,ariaColCount:nt,ariaColIndex:nt,ariaColSpan:nt,ariaControl
vendor: 5,436 bytes, line 314
314s:Or,ariaCurrent:null,ariaDescribedBy:Or,ariaDetails:null,ariaDisabled:fn,ariaDropEffect:Or,ariaErrorMessage:null,ariaExpanded:fn,ariaFlowTo:Or,ariaGrabbed:fn,ariaHasPopup:null,ariaHidden:fn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Or,ariaLevel:nt,ariaLive:null,ariaModal:fn,ariaMultiLine:fn,ariaMultiSelectable:fn,ariaOrientation:null,ariaOwns:Or,ariaPlaceholder:null,ariaPosInSet:nt,ariaPressed:fn,ariaReadOnly:fn,ariaRelevant:null,ariaRequired:fn,ariaRoleDescription:Or,ariaRowCount:nt,ariaRowIndex:nt,ariaRowSpan:nt,ariaSelected:fn,ariaSetSize:nt,ariaSort:null,ariaValueMax:nt,ariaValueMin:nt,ariaValueNow:nt,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function CC(t,e){return e in t?t[e]:e}function OC(t,e){return CC(t,e.toLowerCase())}const pre=Z0({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:O0,acceptCharset:Or,accessKey:Or,action:null,allow:null,allowFullScreen:Gt,allowPaymentRequest:Gt,allowUserMedia:Gt,alt:null,as:null,async:Gt,autoCapitalize:null,autoComplete:Or,autoFocus:Gt,autoPlay:Gt,blocking:Or,capture:null,charSet:null,checked:Gt,cite:null,className:Or,cols:nt,colSpan:null,content:null,contentEditable:fn,controls:Gt,controlsList:Or,coords:nt|O0,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Gt,defer:Gt,dir:null,dirName:null,disabled:Gt,download:q2,draggable:fn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Gt,formTarget:null,headers:Or,height:nt,hidden:q2,high:nt,href:null,hrefLang:null,htmlFor:Or,httpEquiv:Or,id:null,imageSizes:null,imageSrcSet:null,inert:Gt,inputMode:null,integrity:null,is:null,isMap:Gt,itemId:null,itemProp:Or,itemRef:Or,itemScope:Gt,itemType:Or,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Gt,low:nt,manifest:null,max:null,maxLength:nt,media:null,method:null,min:null,minLength:nt,multiple:Gt,muted:Gt,name:null,nonce:null,noModule:Gt,noValidate:Gt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:Gt,optimum:nt,pattern:null,ping:Or,placeholder:null,playsInline:Gt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Gt,referrerPolicy:null,rel:Or,required:Gt,reversed:Gt,rows:nt,rowSpan:nt,sandbox:Or,scope:null,scoped:Gt,seamless:Gt,selected:Gt,shadowRootClonable:Gt,shadowRootDelegatesFocus:Gt,shadowRootMode:null,shape:null,size:nt,sizes:null,slot:null,span:nt,spellCheck:fn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:nt,step:null,style:null,tabIndex:nt,target:null,title:null,translate:null,type:null,typeMustMatch:Gt,useMap:null,value:fn,width:nt,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Or,axis:null,background:null,bgColor:null,border:nt,borderColor:null,bottomMargin:nt,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Gt,declare:Gt,event:null,face:null,frame:null,frameBorder:null,hSpace:nt,leftMargin:nt,link:null,longDesc:null,lowSrc:null,marginHeight:nt,marginWidth:nt,noResize:Gt,noHref:Gt,noShade:Gt,noWrap:Gt,object:null,profile:null,prompt:null,rev:null,rightMargin:nt,rules:null,scheme:null,scrolling:fn,standby:null,summary:null,text:null,topMargin:nt,valueType:null,version:null,vAlign:null,vLink:null,vSpace:nt,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Gt,disableRemotePlayback:Gt,prefix:null,property:null,results:nt,security:null,unselectable:null},space:"html",transform:OC}),mre=Z0({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
314dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Gi,accentHeight:nt,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:nt,amplitude:nt,arabicForm:null,ascent:nt,attributeName:null,attributeType:null,azimuth:nt,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:nt,by:null,calcMode:null,capHeight:nt,className:Or,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
314dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:nt,diffuseConstant:nt,direction:null,display:null,dur:null,divisor:nt,dominantBaseline:null,download:Gt,dx:null,dy:null,edgeMode:null,editable:null,elevation:nt,enableBackground:null,end:null,event:null,exponent:nt,externalResourcesRequired:null,fill:null,fillOpacity:nt,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:O0,g2:O0,glyphName:O0,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:nt,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:nt,horizOriginX:nt,horizOriginY:nt,id:null,ideographic:nt,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:nt,k:nt,k1:nt,k2:nt,k3:nt,k4:nt,kernelMatrix:Gi,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:nt,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:nt,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:nt,overlineThickness:nt,paintOrder:null,panose1:null,path:null,pathLength:nt,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Or,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:nt,pointsAtY:nt,pointsAtZ:nt,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Gi,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Gi,rev:Gi,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Gi,requiredFeatures:Gi,requiredFonts:Gi,requiredFormats:Gi,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:nt,specularExponent:nt,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:nt,strikethroughThickness:nt,string:null,stroke:null,strokeDashArray:Gi,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:nt,strokeOpacity:nt,strokeWidth:null,style:null,surfaceScale:nt,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Gi,tabIndex:nt,tableValues:null,target:null,targetX:nt,targetY:nt,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Gi,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:nt,underlineThickness:nt,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:nt,values:null,vAlphabetic:nt,vMathematical:nt,vectorEffect:null,vHanging:nt,vIdeographic:nt,version:null,vertAdvY:nt,vertOriginX:nt,vertOriginY:nt,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:nt,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:CC}),IC=Z0({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 5,586 bytes, line 314
314,space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),RC=Z0({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:OC}),FC=Z0({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),gre=/[A-Z]/g,pT=/-[a-z]/g,_re=/^data[-\w.:]+$/i;function yre(t,e){const r=Jf(e);let n=e,i=Mi;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&_re.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(pT,bre);n="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!pT.test(s)){let a=s.replace(gre,vre);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=e6}return new i(n,e)}function vre(t){return"-"+t.toLowerCase()}function bre(t){return t.charAt(1).toUpperCase()}const wre=AC([MC,pre,IC,RC,FC],"html"),Ere=AC([MC,mre,IC,RC,FC],"svg"),mT=/[#.]/g;function Sre(t,e){const r=t||"",n={};let i=0,s,a;for(;i<r.length;){mT.lastIndex=i;const l=mT.exec(r),u=r.slice(i,l?l.index:r.length);u&&(s?s==="#"?n.id=u:Array.isArray(n.className)?n.className.push(u):n.className=[u]:a=u,i+=u.length),l&&(s=l[0],i++)}return{type:"element",tagName:a||e||"div",properties:n,children:[]}}function DC(t,e,r){const n=r?Are(r):void 0;function i(s,a,...l){let u;if(s==null){u={type:"root",children:[]};const p=a;l.unshift(p)}else{u=Sre(s,e);const p=u.tagName.toLowerCase(),d=n?n.get(p):void 0;if(u.tagName=d||p,Tre(a))l.unshift(a);else for(const[g,_]of Object.entries(a))xre(t,u.properties,g,_)}for(const p of l)Y2(u.children,p);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return i}function Tre(t){if(t===null||typeof t!="object"||Array.isArray(t))return!0;if(typeof t.type!="string")return!1;const e=t,r=Object.keys(t);for(const n of r){const i=e[n];if(i&&typeof i=="object"){if(!Array.isArray(i))return!0;const s=i;for(const a of s)if(typeof a!="number"&&typeof a!="string")return!0}}return!!("children"in t&&Array.isArray(t.children))}function xre(t,e,r,n){const i=yre(t,r);let s;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;s=n}else typeof n=="boolean"?s=n:typeof n=="string"?i.spaceSeparated?s=Jg(n):i.commaSeparated?s=Zg(n):i.commaOrSpaceSeparated?s=Jg(Zg(n).join(" ")):s=gT(i,i.property,n):Array.isArray(n)?s=[...n]:s=i.property==="style"?kre(n):String(n);if(Array.isArray(s)){const a=[];for(const l of s)a.push(gT(i,i.property,l));s=a}i.property==="className"&&Array.isArray(e.className)&&(s=e.className.concat(s)),e[i.property]=s}}function Y2(t,e){if(e!=null)if(typeof e=="number"||typeof e=="string")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(const r of e)Y2(t,r);else if(typeof e=="object"&&"type"in e)e.type==="root"?Y2(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function gT(t,e,r){if(typeof r=="string"){if(t.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((t.boolean||t.overloadedBoolean)&&(r===""||Jf(r)===Jf(e)))return!0}return r}function kre(t){const e=[];for(const[r,n]of Object.entries(t))e.push([r,n].join(": "));return e.join("; ")}function Are(t){const e=new Map;for(const r of t)e.set(r.toLowerCase(),r);return e}const Mre=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Cre=DC(wre,"div"),Ore=DC(Ere,"g",Mre);let Rd=class{constructor(e,r,n){this.normal=r,this.property=e,n&&(this.space=n)}};Rd.prototype.normal={};Rd.prototype.property={};Rd.prototype.space=void 0;function NC(t,e){const r={},n={};for(const i of t)Object.assign(r,i.property),Object.assign(n,i.normal);return new Rd(r,n,e)}function K2(t){return t.toLowerCase()}let Ci=class{constructor(e,r){this.attribute=r,this.property=e}};Ci.prototype.attribute="";Ci.prototype.booleanish=!1;Ci.prototype.boolean=!1;Ci.prototype.commaOrSpaceSeparated=!1;Ci.prototype.commaSeparated=!1;Ci.prototype.defined=!1;Ci.prototype.mustUseProperty=!1;Ci.prototype.number=!1;Ci.prototype.overloadedBoolean=!1;Ci.prototype.property="";Ci.prototype.spaceSeparated=!1;Ci.prototype.space=void 0;let Ire=0;const $t=tc(),dn=tc(),X2=tc(),it=tc(),Ir=tc(),I0=tc(),$i=tc();function tc(){return 2**++Ire}const Q2=Object.freeze(Object.defineProperty({__proto__:null,boolean:$t,booleanish:dn,commaOrSpaceSeparated:$i,commaSeparated:I0,number:it,overloadedBoolean:X2,spaceSeparated:Ir},Symbol.toStringTag,{value:"Module"})),Mv=Object.keys(Q2);let t6=class extends Ci{constructor(e,r,n,i){let s=-1;if(super(e,r),_T(this,"space",i),typeof n=="number")for(;++s<Mv.length;){const a=Mv[s];_T(this,Mv[s],(n&Q2[a])===Q2[a])}}};t6.prototype.defined=!0;function _T(t,e,r){r&&(t[e]=r)}function eh(t){const e={},r={};for(const[n,i]of Object.entries(t.properties)){const s=new t6(n,t.transform(t.attributes||{},n),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(n)&&(s.mustUseProperty=!0),e[n]=s,r[K2(n)]=n,r[K2(s.attribute)]=n}return new Rd(e,r,t.space)}const PC=eh({properties:{ariaActiveDescendant:null,ariaAtomic:dn,ariaAutoComplete:null,ariaBusy:dn,ariaChecked:dn,ariaColCount:it,ariaColIndex:it,ariaColSpan:it,ariaControl
vendor: 4,623 bytes, line 314
314s:Ir,ariaCurrent:null,ariaDescribedBy:Ir,ariaDetails:null,ariaDisabled:dn,ariaDropEffect:Ir,ariaErrorMessage:null,ariaExpanded:dn,ariaFlowTo:Ir,ariaGrabbed:dn,ariaHasPopup:null,ariaHidden:dn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ir,ariaLevel:it,ariaLive:null,ariaModal:dn,ariaMultiLine:dn,ariaMultiSelectable:dn,ariaOrientation:null,ariaOwns:Ir,ariaPlaceholder:null,ariaPosInSet:it,ariaPressed:dn,ariaReadOnly:dn,ariaRelevant:null,ariaRequired:dn,ariaRoleDescription:Ir,ariaRowCount:it,ariaRowIndex:it,ariaRowSpan:it,ariaSelected:dn,ariaSetSize:it,ariaSort:null,ariaValueMax:it,ariaValueMin:it,ariaValueNow:it,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function LC(t,e){return e in t?t[e]:e}function BC(t,e){return LC(t,e.toLowerCase())}const Rre=eh({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:I0,acceptCharset:Ir,accessKey:Ir,action:null,allow:null,allowFullScreen:$t,allowPaymentRequest:$t,allowUserMedia:$t,alt:null,as:null,async:$t,autoCapitalize:null,autoComplete:Ir,autoFocus:$t,autoPlay:$t,blocking:Ir,capture:null,charSet:null,checked:$t,cite:null,className:Ir,cols:it,colSpan:null,content:null,contentEditable:dn,controls:$t,controlsList:Ir,coords:it|I0,crossOrigin:null,data:null,dateTime:null,decoding:null,default:$t,defer:$t,dir:null,dirName:null,disabled:$t,download:X2,draggable:dn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:$t,formTarget:null,headers:Ir,height:it,hidden:X2,high:it,href:null,hrefLang:null,htmlFor:Ir,httpEquiv:Ir,id:null,imageSizes:null,imageSrcSet:null,inert:$t,inputMode:null,integrity:null,is:null,isMap:$t,itemId:null,itemProp:Ir,itemRef:Ir,itemScope:$t,itemType:Ir,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:$t,low:it,manifest:null,max:null,maxLength:it,media:null,method:null,min:null,minLength:it,multiple:$t,muted:$t,name:null,nonce:null,noModule:$t,noValidate:$t,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:$t,optimum:it,pattern:null,ping:Ir,placeholder:null,playsInline:$t,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:$t,referrerPolicy:null,rel:Ir,required:$t,reversed:$t,rows:it,rowSpan:it,sandbox:Ir,scope:null,scoped:$t,seamless:$t,selected:$t,shadowRootClonable:$t,shadowRootDelegatesFocus:$t,shadowRootMode:null,shape:null,size:it,sizes:null,slot:null,span:it,spellCheck:dn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:it,step:null,style:null,tabIndex:it,target:null,title:null,translate:null,type:null,typeMustMatch:$t,useMap:null,value:dn,width:it,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ir,axis:null,background:null,bgColor:null,border:it,borderColor:null,bottomMargin:it,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:$t,declare:$t,event:null,face:null,frame:null,frameBorder:null,hSpace:it,leftMargin:it,link:null,longDesc:null,lowSrc:null,marginHeight:it,marginWidth:it,no
314Resize:$t,noHref:$t,noShade:$t,noWrap:$t,object:null,profile:null,prompt:null,rev:null,rightMargin:it,rules:null,scheme:null,scrolling:dn,standby:null,summary:null,text:null,topMargin:it,valueType:null,version:null,vAlign:null,vLink:null,vSpace:it,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:$t,disableRemotePlayback:$t,prefix:null,property:null,results:it,security:null,unselectable:null},space:"html",transform:BC}),Fre=eh({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav
314-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:$i,accentHeight:it,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:it,amplitude:it,arabicForm:null,ascent:it,attributeName:null,attributeType:null,azimuth:it,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:it,by:null,calcMode:null,capHeight:it,className:Ir,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:it,diffuseConstant:it,direction:null,display:null,dur:null,divisor:it,dominantBaseline:null,download:$t,dx:null,dy:null,edgeMode:null,editable:null,elevation:it,enableBackground:null,end:null,event:null,exponent:it,externalResourcesRequired:null,fill:null,fillOpacity:it,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:I0,g2:I0,glyphName:I0,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:it,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:it,horizOriginX:it,horizOriginY:it,id:null,ideographic:it,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:it,k:it,k1:it,k2:it,k3:it,k4:it,kernelMatrix:$i,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:it,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:it,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
vendor: 8,916 bytes, lines 314-315
314Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:it,overlineThickness:it,paintOrder:null,panose1:null,path:null,pathLength:it,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ir,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:it,pointsAtY:it,pointsAtZ:it,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$i,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$i,rev:$i,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$i,requiredFeatures:$i,requiredFonts:$i,requiredFormats:$i,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:it,specularExponent:it,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:it,strikethroughThickness:it,string:null,stroke:null,strokeDashArray:$i,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:it,strokeOpacity:it,strokeWidth:null,style:null,surfaceScale:it,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$i,tabIndex:it,tableValues:null,target:null,targetX:it,targetY:it,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$i,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:it,underlineThickness:it,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:it,values:null,vAlphabetic:it,vMathematical:it,vectorEffect:null,vHanging:it,vIdeographic:it,version:null,vertAdvY:it,vertOriginX:it,vertOriginY:it,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:it,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:LC}),UC=eh({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),zC=eh({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:BC}),jC=eh({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),Dre=/[A-Z]/g,yT=/-[a-z]/g,Nre=/^data[-\w.:]+$/i;function Pre(t,e){const r=K2(e);let n=e,i=Ci;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Nre.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(yT,Bre);n="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!yT.test(s)){let a=s.replace(Dre,Lre);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=t6}return new i(n,e)}function Lre(t){return"-"+t.toLowerCase()}function Bre(t){return t.charAt(1).toUpperCase()}const HC=NC([PC,Rre,UC,zC,jC],"html"),WC=NC([PC,Fre,UC,zC,jC],"svg");function Ure(t){const e=String(t),r=[];return{toOffset:i,toPoint:n};function n(s){if(typeof s=="number"&&s>-1&&s<=e.length){let a=0;for(;;){let l=r[a];if(l===void 0){const u=vT(e,r[a-1]);l=u===-1?e.length+1:u+1,r[a]=l}if(l>s)return{line:a+1,column:s-(a>0?r[a-1]:0)+1,offset:s};a++}}}function i(s){if(s&&typeof s.line=="number"&&typeof s.column=="number"&&!Number.isNaN(s.line)&&!Number.isNaN(s.column)){for(;r.length<s.line;){const l=r[r.length-1],u=vT(e,l),p=u===-1?e.length+1:u+1;if(l===p)break;r.push(p)}const a=(s.line>1?r[s.line-2]:0)+s.column-1;if(a<r[s.line-1])return a}}}function vT(t,e){const r=t.indexOf("\r",e),n=t.indexOf(` 315`,e);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const Ia={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},GC={}.hasOwnProperty,zre=Object.prototype;function jre(t,e){const r=e||{};return r6({file:r.file||void 0,location:!1,schema:r.space==="svg"?WC:HC,verbose:r.verbose||!1},t)}function r6(t,e){let r;switch(e.nodeName){case"#comment":{const n=e;return r={type:"comment",value:n.data},hg(t,n,r),r}case"#document":case"#document-fragment":{const n=e,i="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:$C(t,e.childNodes),data:{quirksMode:i}},t.file&&t.location){const s=String(t.file),a=Ure(s),l=a.toPoint(0),u=a.toPoint(s.length);r.position={start:l,end:u}}return r}case"#documentType":{const n=e;return r={type:"doctype"},hg(t,n,r),r}case"#text":{const n=e;return r={type:"text",value:n.value},hg(t,n,r),r}default:return r=Hre(t,e),r}}function $C(t,e){let r=-1;const n=[];for(;++r<e.length;){const i=r6(t,e[r]);n.push(i)}return n}function Hre(t,e){const r=t.schema;t.schema=e.namespaceURI===Ia.svg?WC:HC;let n=-1;const i={};for(;++n<e.attrs.length;){const l=e.attrs[n],u=(l.prefix?l.prefix+":":"")+l.name;GC.call(zre,u)||(i[u]=l.value)}const a=(t.schema.space==="svg"?Ore:Cre)(e.tagName,i,$C(t,e.childNodes));if(hg(t,e,a),a.tagName==="template"){const l=e,u=l.sourceCodeLocation,p=u&&u.startTag&&_0(u.startTag),d=u&&u.endTag&&_0(u.endTag),g=r6(t,l.content);p&&d&&t.file&&(g.position={start:p.end,end:d.start}),a.content=g}return t.schema=r,a}function hg(t,e,r){if("sourceCodeLocation"in e&&e.sourceCodeLocation&&t.file){const n=Wre(t,r,e.sourceCodeLocation);n&&(t.location=!0,r.position=n)}}function Wre(t,e,r){const n=_0(r);if(e.type==="element"){const i=e.children[e.children.length-1];if(n&&!r.endTag&&i&&i.position&&i.position.end&&(n.end=Object.assign({},i.position.end)),t.verbose){const s={};let a;if(r.attrs)for(a in r.attrs)GC.call(r.attrs,a)&&(s[Pre(t.schema,a).property]=_0(r.attrs[a]));r.startTag;const l=_0(r.startTag),u=r.endTag?_0(r.endTag):void 0,p={opening:l};u&&(p.closing=u),p.properties=s,e.data={position:p}}}return n}function _0(t){const e=bT({line:t.startLine,column:t.startCol,offset:t.startOffset}),r=bT({line:t.endLine,column:t.endCol,offset:t.endOffset});return e||r?{start:e,end:r}:void 0}function bT(t){return t.line&&t.column?t:void 0}class Fd{constructor(e,r,n){this.normal=r,this.property=e,n&&(this.space=n)}}Fd.prototype.normal={};Fd.prototype.property={};Fd.prototype.space=void 0;function qC(t,e){const r={},n={};for(const i of t)Object.assign(r,i.property),Object.assign(n,i.normal);return new Fd(r,n,e)}function J2(t){return t.toLowerCase()}class Oi{constructor(e,r){this.attribute=r,this.property=e}}Oi.prototype.attribute="";Oi.prototype.booleanish=!1;Oi.prototype.boolean=!1;Oi.prototype.commaOrSpaceSeparated=!1;Oi.prototype.commaSeparated=!1;Oi.prototype.defined=!1;Oi.prototype.mustUseProperty=!1;Oi.prototype.number=!1;Oi.prototype.overloadedBoolean=!1;Oi.prototype.property="";Oi.prototype.spaceSeparated=!1;Oi.prototype.space=void 0;let Gre=0;const qt=rc(),pn=rc(),Z2=rc(),st=rc(),Rr=rc(),R0=rc(),qi=rc();function rc(){return 2**++Gre}const e4=Object.freeze(Object.defineProperty({__proto__:null,boolean:qt,booleanish:pn,commaOrSpaceSeparated:qi,commaSeparated:R0,number:st,overloadedBoolean:Z2,spaceSeparated:Rr},Symbol.toStringTag,{value:"Module"})),Cv=Object.keys(e4);class n6 extends Oi{constructor(e,r,n,i){let s=-1;if(super(e,r),wT(this,"space",i),typeof n=="number")for(;++s<Cv.length;){const a=Cv[s];wT(this,Cv[s],(n&e4[a])===e4[a])}}}n6.prototype.defined=!0;function wT(t,e,r){r&&(t[e]=r)}function th(t){const e={},r={};for(const[n,i]of Object.entries(t.properties)){const s=new n6(n,t.transform(t.attributes||{},n),i,t.space);t.mustUseProperty&&t.mustUseProperty.includes(n)&&(s.mustUseProperty=!0),e[n]=s,r[J2(n)]=n,r[J2(s.attribute)]=n}return new Fd(e,r,t.space)}const VC=th({properties:{ariaActiveDescendant:null,ariaAtomic:pn,ariaAutoComplete:null,ariaBusy:pn,ariaChecked:pn,ariaColCount:st,ariaColIndex:st,ariaColSpan:st,ariaControls:Rr,ariaCurrent:null,ariaDescribedBy:Rr,ariaDetails:null,ariaDisabled:pn,ariaDropEffect:Rr,ariaErrorMessage:null,ariaExpanded:pn,ariaFlowTo:Rr,ariaGrabbed:pn,ariaHasPopup:null,ariaHidden:pn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Rr,ariaLevel:st,ariaLive:null,ariaModal:pn,ariaMultiLine:pn,ariaMultiSelectable:pn,ariaOrientation:null,ariaOwns:Rr,ariaPlaceholder:null,ariaPosInSet:st,ariaPressed:pn,ariaReadOnly:pn,ariaRelevant:null,ariaRequired:pn,ariaRoleDescription:Rr,ariaRowCount:st,ariaRowIndex:st,ariaRowSpan:st,ariaSelected:pn,ariaSetSize:st,ariaSort:null,ariaValueMax:st,ariaValueMin:st,ariaValueNow:st,ariaValueText:null,role:null},transform(t,e){return e==="role"?e:"aria-"+e.slice(4).toLowerCase()}});function YC(t,e){return e in t?t[e]:e}function KC(t,e){return YC(t,e.toLowerCase())}const $re=th({attributes:{acceptcharset:"accept-charset",classname:"
315class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:R0,acceptCharset:Rr,accessKey:Rr,action:null,allow:null,allowFullScreen:qt,allowPaymentRequest:qt,allowUserMedia:qt,alt:null,as:null,async:qt,autoCapitalize:null,autoComplete:Rr,autoFocus:qt,autoPlay:qt,blocking:Rr,capture:null,charSet:null,checked:qt,cite:null,className:Rr,cols:st,colSpan:null,content:null,contentEditable:pn,controls:qt,controlsList:Rr,coords:st|R0,crossOrigin:null,data:null,dateTime:null,decoding:null,default:qt,defer:qt,dir:null,dirName:null,disabled:qt,download:Z2,draggable:pn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:qt,formTarget:null,headers:Rr,height:st,hidden:Z2,high:st,href:null,hrefLang:null,htmlFor:Rr,httpEquiv:Rr,id:null,imageSizes:null,imageSrcSet:null,inert:qt,inputMode:null,integrity:null,is:null,isMap:qt,itemId:null,itemProp:Rr,itemRef:Rr,itemScope:qt,itemType:Rr,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:qt,low:st,manifest:null,max:null,maxLength:st,media:null,method:null,min:null,minLength:st,multiple:qt,muted:qt,name:null,nonce:null,noModule:qt,noValidate:qt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored: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,onScrollEnd: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:qt,optimum:st,pattern:null,ping:Rr,placeholder:null,playsInline:qt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:qt,referrerPolicy:null,rel:Rr,required:qt,reversed:qt,rows:st,rowSpan:st,sandbox:Rr,scope:null,scoped:qt,seamless:qt,selected:qt,shadowRootClonable:qt,shadowRootDelegatesFocus:qt,shadowRootMode:null,shape:null,size:st,sizes:null,slot:null,span:st,spellCheck:pn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:st,step:null,style:null,tabIndex:st,target:null,title:null,translate:null,type:null,typeMustMatch:qt,useMap:null,value:pn,width:st,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Rr,axis:null,background:null,bgColor:null,border:st,borderColor:null,bottomMargin:st,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:qt,declare:qt,event:null,face:null,frame:null,frameBorder:null,hSpace:st,leftMargin:st,link:null,longDesc:null,lowSrc:null,marginHeight:st,marginWidth:st,noResize:qt,noHref:qt,noShade:qt,noWrap:qt,object:null,profile:null,prompt:null,rev:null,rightMargin:st,rules:null,scheme:null,scrolling:pn,standby:null,summary:null,text:null,topMargin:st,valueType:null,version:null,vAlign:null,vLink:null,vSpace:st,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:qt,disableRemotePlayback:qt,prefix:null,property:null,results:st,security:null,unselectable:null},space:"html",transform:KC}),qre=th({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
315dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:qi,accentHeight:st,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:st,amplitude:st,arabicForm:null,ascent:st,attributeName:null,attributeType:null,azimuth:st,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:st,by:null,calcMode:null,capHeight:st,className:Rr,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
315dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:st,diffuseConstant:st,direction:null,display:null,dur:null,divisor:st,dominantBaseline:null,download:qt,dx:null,dy:null,edgeMode:null,editable:null,elevation:st,enableBackground:null,end:null,event:null,exponent:st,externalResourcesRequired:null,fill:null,fillOpacity:st,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:R0,g2:R0,glyphName:R0,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:st,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:st,horizOriginX:st,horizOriginY:st,id:null,ideographic:st,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:st,k:st,k1:st,k2:st,k3:st,k4:st,kernelMatrix:qi,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:st,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:st,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose: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,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:st,overlineThickness:st,paintOrder:null,panose1:null,path:null,pathLength:st,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Rr,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:st,pointsAtY:st,pointsAtZ:st,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qi,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qi,rev:qi,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qi,requiredFeatures:qi,requiredFonts:qi,requiredFormats:qi,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:st,specularExponent:st,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:st,strikethroughThickness:st,string:null,stroke:null,strokeDashArray:qi,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:st,strokeOpacity:st,strokeWidth:null,style:null,surfaceScale:st,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:qi,tabIndex:st,tableValues:null,target:null,targetX:st,targetY:st,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:qi,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:st,underlineThickness:st,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:st,values:null,vAlphabetic:st,vMathematical:st,vectorEffect:null,vHanging:st,vIdeographic:st,version:null,vertAdvY:st,vertOriginX:st,vertOriginY:st,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:st,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:YC}),XC=th({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 5,047 bytes, line 315
315,space:"xlink",transform(t,e){return"xlink:"+e.slice(5).toLowerCase()}}),QC=th({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:KC}),JC=th({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(t,e){return"xml:"+e.slice(3).toLowerCase()}}),Vre=/[A-Z]/g,ET=/-[a-z]/g,Yre=/^data[-\w.:]+$/i;function Kre(t,e){const r=J2(e);let n=e,i=Oi;if(r in t.normal)return t.property[t.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Yre.test(e)){if(e.charAt(4)==="-"){const s=e.slice(5).replace(ET,Qre);n="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=e.slice(4);if(!ET.test(s)){let a=s.replace(Vre,Xre);a.charAt(0)!=="-"&&(a="-"+a),e="data"+a}}i=n6}return new i(n,e)}function Xre(t){return"-"+t.toLowerCase()}function Qre(t){return t.charAt(1).toUpperCase()}const Jre=qC([VC,$re,XC,QC,JC],"html"),ZC=qC([VC,qre,XC,QC,JC],"svg"),ST={}.hasOwnProperty;function eO(t,e){const r=e||{};function n(i,...s){let a=n.invalid;const l=n.handlers;if(i&&ST.call(i,t)){const u=String(i[t]);a=ST.call(l,u)?l[u]:n.unknown}if(a)return a.call(this,i,...s)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const Zre={},ene={}.hasOwnProperty,tO=eO("type",{handlers:{root:rne,element:one,text:sne,comment:ane,doctype:ine}});function tne(t,e){const n=(e||Zre).space;return tO(t,n==="svg"?ZC:Jre)}function rne(t,e){const r={nodeName:"#document",mode:(t.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=i6(t.children,r,e),rh(t,r),r}function nne(t,e){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=i6(t.children,r,e),rh(t,r),r}function ine(t){const e={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return rh(t,e),e}function sne(t){const e={nodeName:"#text",value:t.value,parentNode:null};return rh(t,e),e}function ane(t){const e={nodeName:"#comment",data:t.value,parentNode:null};return rh(t,e),e}function one(t,e){const r=e;let n=r;t.type==="element"&&t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=ZC);const i=[];let s;if(t.properties){for(s in t.properties)if(s!=="children"&&ene.call(t.properties,s)){const u=lne(n,s,t.properties[s]);u&&i.push(u)}}const a=n.space,l={nodeName:t.tagName,tagName:t.tagName,attrs:i,namespaceURI:Ia[a],childNodes:[],parentNode:null};return l.childNodes=i6(t.children,l,n),rh(t,l),t.tagName==="template"&&t.content&&(l.content=nne(t.content,n)),l}function lne(t,e,r){const n=Kre(t,e);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?bC(r):vC(r));const i={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const s=i.name.indexOf(":");s<0?i.prefix="":(i.name=i.name.slice(s+1),i.prefix=n.attribute.slice(0,s)),i.namespace=Ia[n.space]}return i}function i6(t,e,r){let n=-1;const i=[];if(t)for(;++n<t.length;){const s=tO(t[n],r);s.parentNode=e,i.push(s)}return i}function rh(t,e){const r=t.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,e.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const une=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],cne=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),jr="�";var Z;(function(t){t[t.EOF=-1]="EOF",t[t.NULL=0]="NULL",t[t.TABULATION=9]="TABULATION",t[t.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",t[t.LINE_FEED=10]="LINE_FEED",t[t.FORM_FEED=12]="FORM_FEED",t[t.SPACE=32]="SPACE",t[t.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",t[t.QUOTATION_MARK=34]="QUOTATION_MARK",t[t.AMPERSAND=38]="AMPERSAND",t[t.APOSTROPHE=39]="APOSTROPHE",t[t.HYPHEN_MINUS=45]="HYPHEN_MINUS",t[t.SOLIDUS=47]="SOLIDUS",t[t.DIGIT_0=48]="DIGIT_0",t[t.DIGIT_9=57]="DIGIT_9",t[t.SEMICOLON=59]="SEMICOLON",t[t.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",t[t.EQUALS_SIGN=61]="EQUALS_SIGN",t[t.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",t[t.QUESTION_MARK=63]="QUESTION_MARK",t[t.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",t[t.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",t[t.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",t[t.GRAVE_ACCENT=96]="GRAVE_ACCENT",t[t.LATIN_SMALL_A=97]="LATIN_SMALL_A",t[t.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(Z||(Z={}));const _i={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function rO(t){return t>=55296&&t<=57343}function hne(t){return t>=56320&&t<=57343}function fne(t,e){return(t-55296)*1024+9216+e}function nO(t){return t!==32&&t!==10&&t!==13&&t!==9&&t!==12&&t>=1&&t<=31||t>=127&&t<=159}function iO(t){return t>=64976&&t<=65007||cne.has(t)}var De;(function(t){t.controlCharacterInInputStream="control-character-in-input-stream",t.n
vendor: 7,204 bytes, line 315
315oncharacterInInputStream="noncharacter-in-input-stream",t.surrogateInInputStream="surrogate-in-input-stream",t.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",t.endTagWithAttributes="end-tag-with-attributes",t.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",t.unexpectedSolidusInTag="unexpected-solidus-in-tag",t.unexpectedNullCharacter="unexpected-null-character",t.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",t.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",t.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",t.missingEndTagName="missing-end-tag-name",t.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",t.unknownNamedCharacterReference="unknown-named-character-reference",t.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",t.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",t.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",t.eofBeforeTagName="eof-before-tag-name",t.eofInTag="eof-in-tag",t.missingAttributeValue="missing-attribute-value",t.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",t.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",t.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",t.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",t.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",t.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",t.missingDoctypePublicIdentifier="missing-doctype-public-identifier",t.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",t.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",t.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",t.cdataInHtmlContent="cdata-in-html-content",t.incorrectlyOpenedComment="incorrectly-opened-comment",t.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",t.eofInDoctype="eof-in-doctype",t.nestedComment="nested-comment",t.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",t.eofInComment="eof-in-comment",t.incorrectlyClosedComment="incorrectly-closed-comment",t.eofInCdata="eof-in-cdata",t.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",t.nullCharacterReference="null-character-reference",t.surrogateCharacterReference="surrogate-character-reference",t.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",t.controlCharacterReference="control-character-reference",t.noncharacterCharacterReference="noncharacter-character-reference",t.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",t.missingDoctypeName="missing-doctype-name",t.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",t.duplicateAttribute="duplicate-attribute",t.nonConformingDoctype="non-conforming-doctype",t.missingDoctype="missing-doctype",t.misplacedDoctype="misplaced-doctype",t.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",t.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",t.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",t.openElementsLeftAfterEof="open-elements-left-after-eof",t.abandonedHeadElementChild="abandoned-head-element-child",t.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",t.nestedNoscriptInHead="nested-noscript-in-head",t.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(De||(De={}));const dne=65536;class pne{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=dne,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(e,r){const{line:n,col:i,offset:s}=this,a=i+r,l=s+r;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:l,endOffset:l}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const r=this.html.charCodeAt(this.pos+1);if(hne(r))return this.pos++,this._addGap(),fne(e,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,Z.EOF;return this._err(De.surrogateInInputStream),e}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(e,r){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,r){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(e,this.pos);for(let n=0;n<e.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==e.charCodeAt(n))return!1;return!0}peek(e){const r=this.pos+e;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,Z.EOF;const n=this.html.charCodeAt(r);return n===Z.CARRIAGE_RETURN?Z.LINE_FEED:n}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,Z.EOF;let e=this.html.charCodeAt(this.pos);return e===Z.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,Z.LINE_FEED):e===Z.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,rO(e)&&(e=this._processSurrogate(e)),this.handler.onParseError===null||e>31&&e<127||e===Z.LINE_FEED||e===Z.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){nO(e)?this._err(De.controlCharacterInInputStream):iO(e)&&this._err(De.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var er;(function(t){t[t.CHARACTER=0]="CHARACTER",t[t.NULL_CHARACTER=1]="NULL_CHARACTER",t[t.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",t[t.START_TAG=3]="START_TAG",t[t.END_TAG=4]="END_TAG",t[t.COMMENT=5]="COMMENT",t[t.DOCTYPE=6]="DOCTYPE",t[t.EOF=7]="EOF",t[t.HIBERNATION=8]="HIBERNATION"})(er||(er={}));function sO(t,e){for(let r=t.attrs.length-1;r>=0;r--)if(t.attrs[r].name===e)return t.attrs[r].value;return null}const mne=new Uint16Array('
vendor: 16,129 bytes, line 315
315áµ<ÃıÊÒÕ»×ÙµÛÞ¢ßà à©àªà¶¡à¹à¼à¼¦áá¨á¡ááááá¥\0\0\0\0\0\0á«áá¦á°á·á½¾â â°âââ»ââ ¤â¤â´â¹â¿ããºã¹ã¬ã£¾ã¨¨ã©±ã« 㬮à EMabcfglmnoprstu\\bfms�¦³¹ÃÃligè»ÃäPè»&ä¦cuteè»Ãäreve;äÄiyx}rcè»Ãä;är;ìðraveè»Ãäpha;äacr;äd;æ©Ägp¡on;äf;ìð¸plyFunction;æ¡ingè»Ã
ä
Äcs¾Ãr;ìðign;æildeè»Ãämlè»ÃäÐaceforsuåûþÄÄĢħĪÄcrêòkslash;æÅ¶Ã¶Ã¸;æ«§ed;æy;äÆcrtÄ
ÄÄause;æµnoullis;æ¬a;är;ìð
pf;ìð¹eve;äcòÄmpeq;æÜHOacdefhilorsuÅÅÅÆÆÆ¢ÆµÆ·ÆºÇÈɳɸɾcy;ä§PYè»Â©ä©ÆcpyÅŢźute;äÄ;iŧŨætalDifferentialD;æ
leys;æÈaeioÆÆÆÆron;ädilè»Ãärc;änint;æ°ot;äÄdnƧÆilla;ä¸terDot;ä·Ã²Å¿i;ä§rcleÈDMPTÇÇÇÇot;æinus;ælus;æimes;æoÄcsǢǸkwiseContourIntegral;æ²eCurlyÄDQÈÈoubleQuote;æuote;æÈlnpuÈȨÉÉonÄ;eȥȦæ·;æ©´ÆgitȯȶȺruent;æ¡nt;æ¯ourIntegral;æ®ÄfrÉÉ;æoduct;ænterClockwiseContourIntegral;æ³oss;樯cr;ìðpÄ;CÊÊ
æap;æÖDJSZacefiosÊ Ê¬Ê°Ê´Ê¸ËËˡ˦̳ÒÄ;oŹʥtrahd;æ¤cy;äcy;ä
cy;äÆgrsÊ¿ËËger;æ¡r;æ¡hv;櫤ÄayËËron;ä;älÄ;tËËæa;är;ìðÄaf˫̧Äcm˰̢riticalÈADGTÌÌÌÌcute;ä´oÅ´ÌÌ;äbleAcute;ärave;ä ilde;äond;æferentialD;æ
Ѱ̽\0\0\0ÍÍ\0Ð
f;ìð»Æ;DEÍÍÍä¨ot;æqual;æbleÌCDLRUVͣͲÎÏϢϸontourIntegraìȹoɴ͹\0\0ͻ»ÍnArrow;æÄeoÎΤftÆARTÎÎΡrrow;æightArrow;æeÃ¥ËngÄLRΫÏeftÄARγιrrow;æ¸ightArrow;æºightArrow;æ¹ightÄATÏÏrrow;æee;æ¨pÉÏ©\0\0ϯrrow;æownArrow;æerticalBar;æ¥nÌABLRTaÐЪаÑѿͼrrowÆ;BUÐÐТæar;æ¤pArrow;æµreve;äeftËк\0Ñ\0ÑightVector;æ¥eeVector;æ¥ectorÄ;BÑÑæ½ar;æ¥ightÇѧ\0ѱeeVector;æ¥ectorÄ;BѺѻæar;æ¥eeÄ;AÒÒæ¤rrow;æ§ÄctÒÒr;ìðrok;äà NTacdfglmopqstuxÒ½ÓÓÓÓÓ¢Ó§Ó®ÓµÔ¡Ô¯Ô¶ÕÕÕ Õ¥G;ä
Hè»Ãäcuteè»ÃäÆaiyÓÓÓron;ärcè»Ãä;äot;är;ìðraveè»Ãäement;æÄapÓºÓ¾cr;ätyÉÔ\0\0ÔmallSquare;æ»erySmallSquare;æ«ÄgpÔ¦Ôªon;äf;ìð¼silon;äuÄaiÔ¼ÕlÄ;TÕÕæ©µilde;ælibrium;æÄciÕÕr;æ°m;橳a;ämlè»ÃäÄipÕªÕ¯sts;æonentialE;æ
ÊcfiosÖ
ÖÖÖ²×y;ä¤r;ìðlledÉÖ\0\0Ö£mallSquare;æ¼erySmallSquare;æªÍ°Öº\0Ö¿\0\0×f;ìð½All;æriertrf;æ±cÃ²×ØJTabcdfgorst×¨×¬×¯×ºØØØØØØ£Ù¬Ù²cy;äè»>ä¾mmaÄ;d׷׸ä;äreve;äÆeiyØØØdil;ä¢rc;ä;äot;ä r;ìð;æpf;ìð¾eaterÌEFGLSTصÙÙÙÙÙ¦qualÄ;Lؾؿæ¥ess;æullEqual;æ§reater;檢ess;æ·lantEqual;橾ilde;æ³cr;ìð¢;æ«ÐAacfiosuÚ
ÚÚÚÚÚªÚ¾ÛRDcy;äªÄctÚÚek;ä;äirc;ä¤r;ælbertSpace;æÇ°Ú¯\0Ú²f;æizontalLine;æÄctÛÛ
òکrok;ä¦mpÅÛÛownHumðįqual;æÜEJOacdfgmnostuÛºÛ¾ÜÜÜÜÜܡܨÝݸÞÞÞcy;älig;ä²cy;äcuteè»ÃäÄiyÜÜrcè»Ãä;äot;ä°r;æraveè»ÃäÆ;apÜ Ü¯Ü¿ÄcgÜ´Ü·r;äªinaryI;æ
lieóÏÇ´Ý\0Ý¢Ä;eÝÝæ¬ÄgrÝÝral;æ«section;æisibleÄCTݬݲomma;æ£imes;æ¢ÆgptÝ¿ÞÞon;ä®f;ìða;äcr;æilde;ä¨Ç«Þ\0Þcy;älè»ÃäÊcfosuÞ¬Þ·Þ¼ßßÄiyÞ±Þµrc;ä´;är;ìðpf;ìðÇ£ß\0ßr;ìð¥rcy;äkcy;äÎHJacfosߤߨ߽߬߱à à cy;ä¥cy;äppa;äÄeyß¶ß»dil;ä¶;är;ìðpf;ìðcr;ìð¦ÖJTaceflmostà ¥à ©à ¬à¡à¡£à¦³à¦¸à§à§à¨·à©cy;äè»<ä¼Êcmnprà ·à ¼à¡à¡à¡ute;ä¹bda;äg;æªlacetrf;ær;æÆaeyà¡à¡à¡¡ron;ä½dil;ä»;äÄfsࡨ॰tÔACDFRTUVarࡾࢩࢱࣦ࣠ࣼयà¥Î४Änrà¢à¢gleBracket;æ¨rowÆ;BRà¢à¢à¢æar;æ¤ightArrow;æeiling;æoǵࢷ\0à£bleBracket;æ¦nÇà£\0à£eeVector;楡ectorÄ;Bà£à£æar;æ¥loor;æightÄAV࣯ࣵrrow;æector;æ¥Äerà¤à¤eÆ;AVà¤à¤à¤æ£rrow;æ¤ector;æ¥iangleÆ;BEतथऩæ²ar;æ§qual;æ´pÆDTVषà¥à¥ownVector;æ¥eeVector;æ¥ ectorÄ;Bà¥à¥æ¿ar;æ¥ectorÄ;B॥०æ¼ar;æ¥ightáÎsÌEFGLSTॾà¦à¦à¦à¦¢à¦qualGreater;æullEqual;æ¦reater;æ¶ess;檡lantEqual;橽ilde;æ²r;ìðÄ;eঽাæftarrow;æidot;ä¿Ænpwà§à¨à¨gÈLRlrà§à§·à¨à¨eftÄAR০৬rrow;æµightArrow;æ·ightArrow;æ¶eftÄarγà¨ightáοightáÏf;ìðerÄLRਢਬeftArrow;æightArrow;æÆchtਾà©à©Ã²à¡;æ°rok;ä
;æªÐacefiosuà©à©à© ੷੼àª
àªàªp;æ¤
y;äÄdl੥੯iumSpace;ælintrf;æ³r;ìðnusPlus;æpf;ìðcò੶;äÒJacefostuણધàªà«à¬à¬à¶à¶à¶cy;äcute;ä
Æaey઴હાron;ä
dil;ä
;äÆgswà«à«°à¬ativeÆMTVà«à«à«¨ediumSpace;æhiÄcn૦à«Ã«à«eryThiîà«tedÄGL૸à¬reaterGreateòٳessLesóà©Line;är;ìðÈBnptଢନଷ଺reak;æ BreakingSpace;ä f;æÚ;CDEGHLNPRSTVàààªà¼à®¡à¯«à°à±à²à²¦à³àµ¡à¶
櫬Äouàà¤ngruent;æ¢pCap;æoubleVerticalBar;æ¦Ælqxà®à®à®ement;æualÄ;Tà®à®æ ilde;ìâ̸ists;æreaterÎ;EFGLSTஶஷ஽à¯à¯à¯à¯¥æ¯qual;æ±ullEqual;ìâ§Ì¸reater;ìâ«Ì¸ess;æ¹lantEqual;ì⩾̸ilde;æµumpÅ௲௽ownHump;ìâ̸qual;ìâ̸eÄfsà°à°§tTriangleÆ;BEà°à°à°¡æªar;ìâ§Ì¸qual;æ¬sÌ;EGLSTవశ఼à±à±à±æ®qual;æ°reater;æ¸ess;ìâªÌ¸lantEqual;ì⩽̸ilde;æ´estedÄGL౨౹reaterGreater;ì⪢̸essLess;ì⪡̸recedesÆ;ESà²à²à²æqual;ì⪯̸lantEqual;æ ÄeiಫಹverseElement;æghtTriangleÆ;BEà³à³à³æ«ar;ìâ§Ì¸qual;æÄquà³à´uareSuÄbp೨೹setÄ;Eà³°à³³ìâ̸qual;æ¢ersetÄ;Eà´à´ìâ̸qual;æ£Æbcpà´à´¤àµsetÄ;Eà´à´ìââqual;æceedsÈ;ESTà´²à´³à´»àµæqual;ì⪰̸lantEqual;æ¡ilde;ìâ¿Ì¸ersetÄ;Eàµàµìââqual;æildeÈ;EFT൮൯൵ൿæqual;æullEqual;æilde;æerticalBar;æ¤cr;ìð©ildeè»Ãä;äÜEacdfgmoprstuvà¶½à·à·à·à·à· à·§à·¼à¸à¸ ยา฿à¹lig;ä
cuteè»ÃäÄiyà·à·rcè»Ãä;äblac;ä
r;ìðraveè»ÃäÆaei෮ෲ෶cr;ä
ga;ä©cron;äpf;ìðenCurlyÄDQà¸à¸oubleQuote;æuote;æ;æ©Äclวฬr;ìðªashè»ÃäiŬื฼deè»Ãäes;樷mlè»ÃäerÄBPà¹à¹ Äarà¹à¹r;æ¾acÄekà¹à¹;æet;æ´arenthesis;æÒacfhilors๿àºàºàºàºàºàºàº°à»¼rtialD;æy;är;ìði;ä¦;ä usMinus;ä±ÄipຢàºncareplanÃ¥Úf;æÈ;eio຺ູ໠໤檻cedesÈ;ESTà»à»à»à»æºqual;檯lantEqual;æ¼ilde;æ¾me;æ³Ädp໩໮uct;æortionÄ;aȥ໹l;æÄcià¼à¼r;ìð«;ä¨ÈUfosà¼à¼à¼à¼OTè»"ä¢r;ìðpf;æcr;ìð¬ØBEacefhiorsu༾à½à½à½ ཱིྦྷྪà¾áá©á´á¾arr;æ¤Gè»Â®ä®Æcnrà½à½à½ute;ä
g;æ«rÄ;tà½à½æ l;æ¤Æaeyཧཬཱron;ä
dil;ä
;ä Ä;vླྀཹæerseÄEUà¾à¾Älqà¾à¾ement;æuilibrium;æpEquilibrium;楯r»ཹo;ä¡ghtÐACDFTUVaà¿à¿«à¿³á¢á¨ááÏÄnrà¿à¿gleBracket;æ©rowÆ;BLà¿à¿à¿¡æar;æ¥eftArrow;æeiling;æoǵ࿹\0á
bleBracket;æ§nÇá\0áeeVector;æ¥ectorÄ;Bááæar;æ¥loor;æÄerááeÆ;AVáµá¶á¼æ¢rrow;æ¦ector;æ¥iangleÆ;BEáááæ³ar;æ§qual;æµpÆDTVá£á®á¸ownVector;æ¥eeVector;æ¥ectorÄ;Bááæ¾ar;æ¥ectorÄ;Bááæar;æ¥Äpuááf;ændImplies;楰ightarrow;æÄchá¹á¼r;æ;æ±leDelayed;æ§´ÚHOacfhimoqstuá¤á±á·á½ááá
á
á
¡á
§áµá»á¿ÄCcá©á®Hcy;ä©y;ä¨FTcy;ä¬cute;ä
Ê;aeiyáááááæª¼ron;ä
dil;ä
rc;ä
;ä¡r;ìðortÈDLRUáªá´á¾á
ownArrow»ÐeftArrow»à¢ightArrow»à¿pArrow;ægma;ä£allCircle;æpf;ìðɲá
\0\0á
°t;æareÈ;ISUá
ȇ
¼áá¯æ¡ntersection;æuÄbpáásetÄ;Eááæqual;æersetÄ;Eá¨á©æqual;ænion;æcr;ìð®ar;æÈbcmpááááÄ;sááæetÄ;Eááqual;æÄchá á
eedsÈ;ESTáá®á´á¿æ»qual;檰lantEqual;æ½ilde;æ¿Tháà¾;æÆ;esááá£ærsetÄ;Eááæqual;æet»áÖHRSacfhiorsá¾ááááá±á¶ááááORNè»ÃäADE;æ¢ÄHcáácy;äy;ä¦Äbuáá;ä;䤯aeyá¥áªá¯ron;ä
¤dil;ä
¢;ä¢r;ìðÄeiá»áDzá\0áefore;æ´a;äÄcnáákSpace;ìââSpace;ældeÈ;EFTá«á¬á²á¼æ¼qual;æullEqual;æ
ilde;æpf;ìðipleDot;æÄctáár;ìð¯rok;ä
¦à«¡á·ááá¦\0á¬á±\0\0\0\0\0á¸á½á·á
\0á¿áááÄcrá»áuteè»ÃärÄ;oááæcir;æ¥rÇ£á\0áy;äve;ä
¬Äiyáá£rcè»Ãä;ä£blac;ä
°r;ìðraveè»Ãäacr;ä
ªÄdiáá©erÄBPááÄaráár;äacÄekáá;æet;æµarenthesis;æonÄ;Pá°á±ælus;æÄgpá»á¿on;ä
²f;ìðÐADETadpsáá®á¸áϨááá³rrowÆ;BDá
á á¤ar;æ¤ownArrow;æ
ownArrow;æquilibrium;楮eeÄ;Aááæ¥rrow;æ¥ownáϳerÄLRáá¨eftArrow;æightArrow;æiÄ;lá¹áºäon;ä¥ing;ä
®cr;ìð°ilde;ä
¨mlè»ÃäÒDbcdefosvá§á¬á°á³á¾á
áááash;æ«ar;æ««y;äashÄ;lá»á¼æ©;櫦Äeráá
;æÆbtyáááºar;æÄ;iáácalÈBLSTá¡á¥áªá´ar;æ£ine;ä¼eparator;æilde;æThinSpace;ær;ìðpf;ìðcr;ìð±dash;æªÊcefosá§á¬á±á¶á¼irc;ä
´dge;ær;ìðpf;ìðcr;ìð²Èfiosáááár;ìð;äpf;ìðcr;ìð³ÒAIUacfosuá±áµá¹á½ááááá cy;ä¯cy;äcy;ä®cuteè»ÃäÄiyáárc;ä
¶;ä«r;ìðpf;ìðcr;ìð´ml;ä
¸ÐHacdefosáµá¹á¿áááá á¤cy;äcute;ä
¹Äayááron;ä
½;äot;ä
»Ç²á\0áoWidtèà«a;är;æ¨pf;æ¤cr;ìðµà¯¡ááá\0á°á¶á¿\0\0\0\0ááá«áá\0ááá²á¹\0á¾cuteè»Ã¡ä¡reve;äÌ;Ediuyááá¡á£á¨áæ¾;ìâ¾Ì³;æ¿rcè»Ã¢ä¢teè»Â´Ì;ä°ligè»Ã¦ä¦Ä;r²áº;ìðraveè»Ã ä ÄepááÄfpáásym;æµÃ¨áha;ä±ÄapácÄclá¤á§r;äg;樿ɤá°\0\0áÊ;adsváºá»á¿ááæ§nd;æ©;æ©lope;æ©;æ©Î;elmrszááááá¿ááæ ;榤e»ásdÄ;aá¥á¦æ¡Ñ¡á°á²á´á¶á¸áºá¼á¾;榨;榩;榪;榫;榬;æ¦;榮;榯tÄ;vá
áæbÄ;dááæ¾;æ¦Äptááh;æ¢Â»Â¹arr;æ¼Ägpá£á§on;ä
f;ìðÎ;Eaeiopáá»á½áááá;æ©°cir;橯;æd;æs;ä§roxÄ;eááñáingè»Ã¥ä¥Æctyá¡á¦á¨r;ìð¶;äªmpÄ;eáá¯Ã±Êildeè»Ã£ä£mlè»Ã¤ä¤Äciááoninôɲnt;æ¨à Nabcdefiklnoprsuáá±á°á¼ááá¸á½á á¦á ¹á¡á᤽á¥á¥°ot;æ«Äcrá¶ákÈcepsáá
ááong;æpsilon;ä¶rime;æµimÄ;eááæ½q;æÅ¶á¢á¦ee;æ½edÄ;gá¬áæ
e»árkÄ;táá·brk;æ¶Äoyáá;ä±quo;æÊcmprtááá¡á¤á¨ausÄ;eÄÄptyv;榰séánoÃµÄÆahwá¯á±á³;ä²;æ¶een;æ¬r;ìðgÎcostuvwááá³ááááÆaiuáááÃ°Ý rc;æ¯pÂ»á±Ædptá¤á¨áot;æ¨lus;æ¨imes;æ¨É±á¹\0\0á¾cup;æ¨ar;æ
riangleÄduááown;æ½p;æ³plus;æ¨eÃ¥áÃ¥áarow;æ¤Æakoáá ¦á µÄcná²á £kÆlstáºÖ«á ozenge;æ§«riangleÈ;dlrá á á á æ´own;æ¾eft;æight;æ¸k;æ£Æ±á «\0á ³Æ²á ¯\0á ±;æ;æ4;æck;æÄeoá ¾á¡Ä;qá¡á¡ì=â¥uiv;ìâ¡â¥t;æÈptwxá¡á¡á¡§á¡¬f;ìðÄ;táá¡£om»átie;æØDHUVbdhmptuvá¢
á¢á¢ªá¢»á£á£á£¬á£¿á¤
á¤á¤á¤¡ÈLRlrá¢á¢á¢á¢;æ;æ;æ;æÊ;DUduᢡᢢᢤᢦᢨæ;æ¦;æ©;æ¤;æ§ÈLRlrᢳᢵᢷᢹ;æ;æ;æ;æÎ;HLRhlrá£á£á£á£á£á£á£æ;æ¬;æ£;æ ;æ«;æ¢;æox;æ§ÈLRlrᣤᣦᣨᣪ;æ;æ;æ;æÊ;DUduڽ᣷᣹᣻᣽;æ¥;æ¨;æ¬;æ´inus;ælus;æimes;æ ÈLRlrá¤á¤á¤á¤;æ;æ;æ;æÎ;HLRhlrᤰᤱᤳᤵᤷ᤻᤹æ;æª;æ¡;æ;æ¼;æ¤;æÄevÄ£á¥barè»Â¦ä¦Èceioá¥á¥á¥á¥ r;ìð·mi;æmÄ;eáálÆ;bhᥨᥩᥫä;æ§
sub;æÅ¬á¥´á¥¾lÄ;e᥹᥺æ¢t»᥺pÆ;Eeįá¦
á¦;檮Ä;qÛÛೡᦧ\0᧨á¨á¨á¨²\0ᨷá©\0\0᪴\0\0á«\0\0ᬡᬮáá\0᯽\0á°Æcprá¦á¦²á§ute;äÌ;abcdsᦿá§á§á§á§á§æ©nd;æ©rcup;æ©Äauá§á§p;æ©p;æ©ot;æ©;ìâ©ï¸Äeo᧢᧥t;æÃ®ÚÈaeiuá§°á§»á¨á¨
ǰ᧵\0᧸s;æ©on;ädilè»Ã§ä§rc;äpsÄ;sá¨á¨æ©m;æ©ot;äÆdmná¨á¨ ᨦilè»Â¸Æptyv;榲tè¢;eá¨á¨®ä¢räƲr;ìð Æceiᨽá©á©y;äckÄ;má©á©æark»á©;ärÎ;Ecefmsá©á© ᩢᩫ᪤᪪᪮æ;æ§Æ;elᩩᩪá©äq;æeɡᩴ\0\0áªrrowÄlr᩼áªeft;æºight;æ»ÊRSacdáªáªáªáªáªÂ»à½;æst;æirc;æash;ænint;æ¨id;櫯cir;æ§ubsÄ;u᪻᪼æ£it»᪼ˬá«á«á«º\0á¬onÄ;eá«á«äºÄ;qÃÃÉá«\0\0á«¢aÄ;tá«á«ä¬;äÆ;fl᫨᫩᫫æÃ®á
eÄmx᫱᫶ent»᫩eóÉǧ᫾\0á¬Ä;dá»á¬ot;æ©nÃ´ÉÆfryá¬á¬á¬;ìðoäÉè©;sÅá¬r;æÄaoᬥᬩrr;æµss;æÄcuᬲᬷr;ìð¸ÄbpᬼáÄ;eááæ«;æ«Ä;eááæ«;æ«dot;æ¯Îdelprvwá á¬á·á®á®¬á¯á¯¹arrÄlrá¨áª;椸;椵ɰá²\0\0áµr;æc;æarrÄ;pá¿á®æ¶;椽Ì;bcdosá®á®á®á®¡á®¥á®¨æªrcap;æ©Äauá®á®p;æ©p;æ©ot;ær;æ©
;ìâªï¸Èalrv᮵ᮿá¯á¯£rrÄ;mᮼᮽæ·;椼yÆevwá¯á¯á¯qɰá¯\0\0á¯reãá³uãáµee;æedge;æenè»Â¤ä¤earrowÄlrᯮ᯳eft»á®ight»ᮽeäá¯Äciá°á°oninôǷnt;æ±lcty;æà¦AHabcdefhijlorstuwz᰸᰻᰿á±á±©á±µá²á²á²¬á²·á³»á³¿á´áµ»á¶á¶«á¶»á·á·ròÎar;楥Èglrsá±á±á±á±ger;æ eth;æ¸Ã²á³hÄ;vá±á±æÂ»à¤Å«á±¡á±§arow;æ¤aãÌÄayᱮᱳron;ä;ä´Æ;ao̲ᱼá²ÄgrÊ¿á²r;ætseq;æ©·Æglmá²á²á²è»Â°ä°ta;ä´ptyv;榱ÄirᲣᲨsht;楿;ìð¡arÄlrᲳᲵ»à£Â»áÊaegsvá³Í¸á³á³á³ mÆ;oșá³á³ndÄ;șá³uit;æ¦amma;äin;æ²Æ;io᳧᳨᳸ä·deè÷;oá³§á³°ntimes;ænø᳷cy;äcɯá´\0\0á´rn;æop;æÊlptuwá´á´á´¢áµáµlar;ä¤f;ìðÊ;empsÌá´á´·á´½áµqÄ;dÍá´³ot;æinus;æ¸lus;æquare;æ¡blebarwedgåúnÆadhá®áµáµ§ownarrowóá²arpoonÄlrᵲᵶefôᲴighôᲶŢᵿá¶
karo÷à½É¯á¶\0\0á¶rn;æop;æÆcotá¶á¶£á¶¦Äryá¶á¶¡;ìð¹;äl;æ§¶rok;äÄdrá¶°á¶´ot;æ±iÄ;fá¶ºá æ¿Äahá·á·ròЩaòྦangle;榦Äciá·á·y;ägrarr;æ¿à¤Dacdefglmnopqrstuxá¸á¸á¸á¸¸Õ¸á¸¼á¹á¹¡á¹¾áº¥áº¯áº½á»¡á¼ªá¼·á½á½á½ÄDoá¸á´´oôá²Äcsá¸á¸uteè»Ã©ä©ter;æ©®ÈaioyḢḧḱḶron;ärÄ;cá¸á¸®æè»Ãªäªlon;æ;äot;äÄDrá¹á¹
ot;æ;ìð¢Æ;rsá¹á¹á¹æªaveè»Ã¨ä¨Ä;dá¹á¹æªot;æªÈ;ilsṪṫṲṴæªnters;æ§;æÄ;dṹṺæªot;æªÆapsáº
áºáºcr;ätyÆ;sváºáºáºæ
et»áºpÄ1;áºáº¤Ä³áº¡áº£;æ;æ
æÄgsẪẬ;ä
p;æÄgpẴẸon;äf;ìðÆalsá»á»á»rÄ;sá»á»æl;æ§£us;橱iÆ;lvá»á»á»äµon»á»;äµÈcsuvỪỳá¼á¼£Äioữḱrc»Ḯɩỹ\0\0á»»ÃÕantÄglá¼á¼tr»á¹ess»ṺÆaeiá¼á¼á¼ls;ä½st;ævÄ;DȵἠD;橸parsl;æ§¥ÄDaἯἳot;ærr;楱Æcdiá¼¾á½á»¸r;æ¯oôÍÄahá½á½;ä·è»Ã°ä°Ämrá½á½lè»Ã«ä«o;æ¬Æcipὡὤὧl;ä¡sôծÄeoὬὴctatioîÕnentialåչৡá¾\0á¾\0ᾡᾧ\0\0á¿á¿\0á¿\0ῦῪâ\0ââllingdotseñá¹y;ämale;æÆilrá¾á¾³á¿lig;èï¬É©á¾¹\0\0á¾½g;èï¬ig;èï¬;ìð£lig;èï¬lig;ìfjÆaltá¿á¿á¿¡t;æig;èï¬ns;æ±of;äǰ΅\0ῳf;ìðÄakÖ¿á¿·Ä;vῼ´æ;æ«artint;æ¨ÄaoââÄcsââαââ°â¸â
â\0âβâ¢â¥â§âªâ¬\0â®è»Â½ä½;æ
è»Â¼ä¼;æ
;æ
;æ
Ƴâ´\0â¶;æ
;æ
Ê´â¾â\0\0âè»Â¾ä¾;æ
;æ
5;æ
ƶâ\0â;æ
;æ
8;æ
l;æwn;æ¢cr;ìð»à¢Eabcdefgijlnorstvââââ¥â°â´â°âµâºâ¿âââ¸Ìâ¾â
âÄ;lÙâ;æªÆcmpâââute;äµmaÄ;dâá³ä³;æªreve;äÄiyâªâ®rc;ä;ä³ot;ä¡È;lqsؾÙâ½âÆ;qsؾÙâlanô٥È;cdlÙ¥âââ¥c;檩otÄ;oââæªÄ;lâ¢â£æª;æªÄ;eâªâìâï¸s;æªr;ìð¤Ä;gÙ³Ømel;æ·cy;äÈ;EajÙâââ;æª;檥;檤ÈEaesâââ©â´;æ©pÄ;pâ£â¤æªrox»â¤Ä;qâ®â¯æªÄ;qâ®âim;æ§pf;ìðÄciâ
â
r;æmÆ;elÙ«â
â
;æª;æªè>;cdlqr×®â
â
ªâ
®â
³â
¹Äciâ
¥â
§;檧r;橺ot;æPar;æ¦uest;橼Êadelsââ
ªâÙâǰâ\0âproøâr;楸qÄlqØ¿âlesóâiÃÙ«Äenâ£ârtneqq;ìâ©ï¸Ã
âªÔAabcefkosyâââ±âµâºâââ¯â¨â½ròΠÈilmrâââârsðáf»â¤ilôکÄdrâ â¤cy;äÆ;cwࣴâ«â¯ir;æ¥;æar;æirc;䥯alrââârtsÄ;uââæ¥it»âlip;æ¦con;æ¹r;ìð¥sÄewâ£â©arow;椥arow;椦Êamoprâºâ¾âââ£rr;æ¿tht;æ»kÄlrââeftarrow;æ©ightarrow;æªf;ìðbar;æÆcltâ¯â´â¸r;ìð½asèâ´rok;ä§Äbpââull;æhen»á±à«¡â£\0âª\0â¸â
â\0ââ³\0\0â¸â¢â§â¢â¿\0ââªâ´cuteè»ÃäÆ;iyݱâ°âµrcè»Ã®ä®;ä¸Äcxâ¼â¿y;äµclè»Â¡ä¡ÄfrÎâ;ìð¦raveè»Ã¬ä¬È;inoܾââ©â®Äinâ¢â¦nt;æ¨t;æfin;æ§ta;æ©lig;䳯aopâ¾ââÆcgtâ
ââr;䫯elpÜââinÃ¥ÞarÃ´Ü h;ä±f;æ·ed;äµÊ;cfotÓ´â¬â±â½âare;æ
inÄ;tâ¸â¹æie;æ§doôâÊ;celpÝââââ¡al;æºÄgrââeróá£Ã£âarhk;æ¨rod;樼Ècgptâ¯â²â¶â»y;äon;ä¯f;ìða;ä¹uestè»Â¿ä¿Äciââr;ìð¾nÊ;EdsvÓ´âââ¡Ó³;æ¹ot;æµÄ;vâ¦â§æ´;æ³Ä;iÝ·â®lde;ä©Ç«â¸\0â¼cy;älè»Ã¯ä¯Ìcfmosuââââ¡â§âµÄiyâârc;äµ;ä¹r;ìð§ath;ä·pf;ìðÇ£â¬\0â±r;ìð¿rcy;äkcy;äÐacfghjosâââ¢â§ââ±âµâ»ppaÄ;vââäº;ä°Äeyââ dil;ä·;äºr;ìð¨reen;ä¸cy;ä
cy;äpf;ìðcr;ìðà®ABEHabcdefghjlmnoprstuvâ°ââââââ½âââââ¥â¹â½ââ²âââ¨âââ â Æartâ·âºâ¼ròà§Ã²Îail;æ¤arr;æ¤Ä;gà¦â;æªar;楢ॣâ¥\0âª\0â±\0\0\0\0\0âµâº\0âââ\0â¹ute;äºmptyv;榴raîà¡bda;ä»gÆ;dlà¢ââ;æ¦Ã¥à¢;æª
uoè»Â«ä«rÐ;bfhlpstà¢ââ¦â©â«â®â±âµÄ;fà¢â£s;æ¤s;æ¤Ã«âp;æ«l;椹im;楳l;æ¢Æ;aeâ¿ââæª«il;æ¤Ä;sââæª;ìâªï¸Æabrââârr;æ¤rk;æ²Äakâ¢â¬cÄekâ¨âª;ä»;äÄesâ±â³;æ¦lÄduâ¹â»;æ¦;æ¦Èaeuyââââron;ä¾Ädiââil;ä¼Ã¬à¢°Ã¢â©;
vendor: 4,294 bytes, line 315
315ä»Ècqrsâ£â¦ââ½a;椶uoÄ;rà¸áÄduâ²â·har;楧shar;æ¥h;æ²Ê;fgqsââà¦â³â¿æ¤tÊahlrtââ¤â·ââ¨rrowÄ;tà¢â¡aéâ¶arpoonÄduâ¯â´own»Ñp»०eftarrows;æightÆahsââârrowÄ;sࣴࢧarpoonóà¾quigarro÷â°hreetimes;æÆ;qsâà¦âºlanôবÊ;cdgsবââââ¨c;檨otÄ;oââæ©¿Ä;rââæª;æªÄ;eâ¢â¥ìâï¸s;æªÊadegsâ³â¹â½ââpproøâot;æqÄgqââ
ôà¦gtòâôà¦iÃলÆilrâ࣡âsht;楼;ìð©Ä;Eà¦â£;æªÅ¡â©â¶rÄduâ²â®Ä;l॥â³;楪lk;æcy;äÊ;achtà©ââââròâorneòá´ard;楫ri;æºÄioââ¤dot;ä
ustÄ;aâ¬âæ°che»âÈEaesâ»â½ââ;æ¨pÄ;pââæªrox»âÄ;qââæªÄ;qââ»im;æ¦Ðabnoptwzâ©â´â·ââ¯âââÄnrâ®â±g;æ¬r;æ½rëà£gÆlmrâ¿ââeftÄar০âightá৲apsto;æ¼ightá৽parrowÄlrâ¥â©efôâight;æ¬Æaflâ¶â¹â½r;æ¦
;ìðus;æ¨imes;樴šââst;æÃ¡áÆ;efââá ænge»âarÄ;lâ¤â¥ä¨t;æ¦Êachmtâ³â¶â¼â
âròࢨorneòá¶arÄ;dà¾â;æ¥;æri;æ¿Ìachiqtââà©â¢â®â»quo;æ¹r;ìðmÆ;egলâªâ¬;æª;æªÄbuâªâ³oÄ;rà¸â¹;ærok;ä
è<;cdhilqrà «ââ¹ââ â¥âªâ°Äciââ;檦r;橹reÃ¥â²mes;æarr;楶uest;æ©»ÄPiâµâ¹ar;æ¦Æ;efâ à¤á ærÄduâ â shar;æ¥har;楦Äenâ â ¡rtneqq;ìâ¨ï¸Ã
â ÜDacdefhilnopsuâ¡â¡
â¢â¢â¢â¢ ⢥⢨â£â£¢â£¤àªâ£³â¤Dot;æºÈclprâ¡â¡â¡£â¡½rè»Â¯ä¯Äetâ¡â¡;æÄ;eâ¡â¡æ se»â¡Ä;sá»â¡¨toÈ;dluá»â¡³â¡·â¡»owîÒefôà¤Ã°áker;æ®Äoyâ¢â¢mma;権;ä¼ash;æasuredangle»á¦r;ìðªo;æ§Æcdn⢯⢴â£roè»ÂµäµÈ;acdá¤â¢½â£â£sôá§ir;æ«°otè»Â·ÆµusÆ;bdâ£á¤â£æÄ;uá´¼â£;横ţâ£â£¡p;æ«Ã²âðàªÄdp⣩⣮els;æ§f;ìðÄct⣸⣽r;ìðpos»áÆ;lmâ¤â¤â¤ä¼timap;æ¸à°GLRVabcdefghijlmoprstuvwâ¥â¥â¥¾â¦â¦â§â§©â¨â¨â©â©âªâªâª¤âª¨â¬â¬ââ¿â®®â°´â±§â±¼â³©Ägtâ¥â¥;ìâ̸Ä;vâ¥à¯ìâ«âÆeltâ¥â¥²â¥¶ftÄar⥡⥧rrow;æightarrow;æ;ìâ̸Ä;v⥻à±ìâªâightarrow;æÄDdâ¦â¦ash;æ¯ash;æ®Êbcnpt⦣⦧⦬⦱â§la»Ëute;ä
g;ìâ âÊ;Eiopà¶â¦¼â§â§
â§;ì⩰̸d;ìâ̸s;ä
roøà¶urÄ;aâ§â§æ®lÄ;sâ§à¬¸Ç³â§\0â§£pè»Â ଷmpÄ;e௹à°Êaeouyâ§´â§¾â¨â¨â¨Ç°â§¹\0â§»;æ©on;ä
dil;ä
ngÄ;dൾâ¨ot;ìâ©Ì¸p;æ©;ä½ash;æÎ;Aadqsxà®â¨©â¨â¨»â©â©
â©rr;ærÄhr⨳⨶k;椤Ä;oá²á°ot;ìâ̸uiöà£Äeiâ©â©ar;椨Ãà®istÄ;sà® à®r;ìð«ÈEestà¯
⩦⩹⩼Æ;qs஼â©à¯¡Æ;qs஼à¯
â©´lanô௢iÃ௪Ä;rà®¶âªÂ»à®·ÆAapâªâªâªrò⥱rr;æ®ar;櫲Æ;svà¾âªà¾Ä;d⪡⪢æ¼;æºcy;äÎAEadest⪷⪺⪾â«â«
⫶⫹rò⥦;ìâ¦Ì¸rr;ær;æ¥È;fqsà°»â«â«£â«¯tÄarâ«â«rro÷â«ightarroÃ·âªÆ;qs఻⪺⫪lanôà±Ä;sà±â«´Â»à°¶iÃà±Ä;rవ⫾iÄ;eà°à°¥iäà¶Äptâ¬â¬f;ìðè¬;inâ¬â¬â¬¶ä¬nÈ;Edvà®â¬¤â¬¨â¬®;ìâ¹Ì¸ot;ìâµÌ¸Ç¡à®â¬³â¬µ;æ·;æ¶iÄ;vಸ⬼ǡಸââ;æ¾;æ½Æaorââ£â©rÈ;astà»âââlleìà»l;ì⫽â¥;ìâ̸lint;æ¨Æ;ceà²â°â³uåಥÄ;cà²â¸Ä;eà²â½Ã±à²ÈAaitâ®â®â®â®§ròâ¦rrÆ;cwâ®â®â®æ;ì⤳̸;ìâ̸ghtarrow»â®riÄ;eà³à³Îchimpqu⮽â¯â¯â¬à¸â¯¤â¯¯È;cerà´²â¯à´·â¯uÃ¥àµ
;ìðortÉâ¬
\0\0â¯aráâmÄ;e൮â¯Ä;q൴൳suÄbp⯫â¯Ã¥à³¸Ã¥à´Æbcp⯶â°â°È;Ees⯿â°à´¢â°æ;ìâ«
̸etÄ;eà´â°qÄ;qà´£â°cÄ;eà´²â°Ã±à´¸È;EesⰢⰣàµâ°§æ
;ìâ«Ì¸etÄ;eàµâ°®qÄ;qൠⰣÈgilrⰽⰿâ±
â±Ã¬à¯ldeè»Ã±ä±Ã§à±iangleÄlrâ±â±eftÄ;eà°â±Ã±à°¦ightÄ;eà³â±¥Ã±à³Ä;mⱬâ±ä½Æ;esⱴⱵⱹä£ro;æp;æÒDHadgilrsâ²â²â²â²â²£â²°â²¶â³â³£ash;æarr;æ¤p;ìââash;æ¬ÄetⲨⲬ;ìâ¥â;ì>ânfin;æ§ÆAetâ²½â³â³
rr;æ¤;ìâ¤âÄ;râ³â³ì<âie;ìâ´âÄAtâ³â³rr;æ¤rie;ìâµâim;ìâ¼âÆAanâ³°â³´â´rr;ærÄhr⳺⳽k;椣Ä;oá§á¥ear;椧ááª\0\0\0\0\0\0\0\0\0\0\0\0\0â´\0â´¸âµâµ ⵥ⵲â¶á¬\0\0â¶â¶«\0â·â·\0â·â¸â¸«â¸¾â¹Äcsâ´±áªuteè»Ã³ä³Äiyâ´¼âµ
rÄ;cáªâµè»Ã´ä´;ä¾Êabios᪠âµâµÇâµlac;ä
v;樸old;榼lig;ä
Äcr⵩âµir;榿;ìð¬Í¯âµ¹\0\0âµ¼\0â¶n;äaveè»Ã²ä²;æ§Äbmâ¶à·´ar;榵Èacitâ¶â¶â¶¥â¶¨ròáªÄirâ¶â¶ r;榾oss;榻nÃ¥à¹;æ§Æaeiⶱⶵⶹcr;ä
ga;äÆcdnâ·â·
Çron;ä¿;榶pf;ìð Æaelâ·â·Çr;榷rp;榹Î;adiosvⷪⷫⷮâ¸â¸â¸â¸æ¨ròáªÈ;efmâ··â·¸â¸â¸
æ©rÄ;oⷾⷿæ´f»ⷿè»Âªäªè»Âºäºgof;æ¶r;æ©lope;æ©;æ©Æcloâ¸â¸¡â¸§Ã²â¸ashè»Ã¸ä¸l;æiŬⸯ⸴deè»ÃµäµesÄ;aÇ⸺s;樶mlè»Ã¶ä¶bar;æ½à«¡â¹\0â¹½\0âºâº\0⺢⺹\0\0â»àº\0â¼\0\0⼫⾼\0â¿rÈ;
vendor: 6,210 bytes, line 315
315astÐâ¹§â¹²àº
è¶;lâ¹â¹®ä¶leìÐɩ⹸\0\0â¹»m;櫳;櫽y;ä¿rÊcimptâºâºâºá¡¥âºnt;ä¥od;ä®il;æ°enk;æ±r;ìðÆimo⺨⺰⺴Ä;vâºâº®ä;ämaô੶ne;æÆ;tv⺿â»â»ächfork»´;äÄauâ»â»nÄckâ»â»kÄ;hâ´â»;æÃ¶â´sÒ;abcdemst⻳⻴á¤â»¹â»½â¼â¼â¼â¼ä«cir;樣ir;樢Äouáµâ¼;樥;橲nè»Â±àºim;樦wo;樧Æipuâ¼â¼ â¼¥ntint;æ¨f;ìð¡ndè»Â£ä£Ô;Eaceinosuà»â¼¿â½â½â½â¾â¾â¾â½¾â¾¶;檳p;檷uÃ¥à»Ä;cà»â½Ì;acensà»â½â½â½¦â½¨â½¾pproøâ½urlyeñà»Ã±à»Æaes⽯⽶⽺pprox;檹qq;檵im;æ¨iÃà»meÄ;sâ¾àº®æ²ÆEas⽸â¾â½ºÃ°â½µÆdfp໬â¾â¾¯Æals⾠⾥⾪lar;æ®ine;æurf;æÄ;t໻⾴ï໻rel;æ°Äciâ¿â¿
r;ìð
;äncsp;æÌfiopsuâ¿â¢â¿â¿¥â¿«â¿±r;ìð®pf;ìð¢rime;æcr;ìðÆaeo⿸ããtÄei⿾ã
rnionóڰnt;æ¨stÄ;eããä¿Ã±á¼Ã´à¼àªABHabcdefhilmnoprstuxããããã ãã«ã
ã
¢ã
²ãããã¤ã©ãã®ã²ãã°ã·Æartãããròá³Ã²Ïail;æ¤aròᱥar;楤Îcdenqrtã¨ãµã¸ã¿ãããÄeuãã±;ìâ½Ì±te;ä
iãá
®mptyv;榳gÈ;delà¿ããã;æ¦;榥åà¿uoè»Â»ä»rÖ;abcfhlpstwà¿ã¬ã¯ã·ã¹ã¼ã¾ããããp;極Ä;fà¿ ã´s;æ¤ ;椳s;æ¤Ã«âðâ®l;æ¥
im;楴l;æ£;æÄaiããil;æ¤oÄ;nããæ¶alÃ³à¼Æabrã§ãªã®ròá¥rk;æ³Äakã³ã½cÄekã¹ã»;ä½;äÄesãã;æ¦lÄduãã;æ¦;æ¦Èaeuyããã§ã©ron;ä
Ädiã¡ã¥il;ä
ì࿲âãº;äÈclqsã´ã·ã½ã
a;椷dhar;楩uoÄ;rÈÈh;æ³Æacgã
ã
à½lÈ;ipsླྀã
ã
ánÃ¥á»arôྩt;æÆilrã
©á£ã
®sht;楽;ìð¯Äaoã
·ãrÄduã
½ã
¿Â»Ñ»Ä;láã;楬Ä;vããä;䱯gnsãã¹ã¼htÌahlrstã¤ã°ããã¤ã®rrowÄ;tà¿ãaéãarpoonÄduã»ã¿owîã
¾p»áeftÄahããrrowó࿪arpoonóÕightarrows;æquigarro÷ãhreetimes;æg;äingdotseñἲÆahmãããrò࿪aòÕ;æoustÄ;aããæ±che»ãmid;æ«®Èabptã²ã½ããÄnrã·ãºg;ær;æ¾rëáÆaflãããr;æ¦;ìð£us;樮imes;樵Äapãã§rÄ;gã£ã¤ä©t;æ¦olint;æ¨aròã£Èachqã»ãá¼ã
quo;æºr;ìðÄbuã»ãoÄ;rÈÈÆhirããã reÃ¥ã¸mes;æiÈ;eflãªáá ¡ã«æ¹tri;æ§luhar;楨;æàµ¡ãããã¬ã¸ã±\0ãºã¤\0\0ã¬ã°\0ã¨ãããã±ãã±\0ã\0\0ã³cute;ä
quïâºÔ;Eaceinpsyáã³ãµã¿ããããã¦ã©;檴ǰãº\0ã¼;檸on;ä
¡uÃ¥á¾Ä;dá³ãil;ä
rc;ä
ÆEasããã;檶p;檺im;æ©olint;æ¨iÃá;äotÆ;beã´áµãµæ
;橦ÎAacmstxãããããã£ãrr;ærÄhrããëâ¨Ä;oਸ਼਴tè»Â§ä§i;ä»war;椩mÄinã©Ã°nuóñt;æ¶rÄ;oã¶âìð°Èacoyãããã rp;æ¯Ähyããcy;ä;ärtÉã\0\0ãiäá¤araì⹯è»ÂäÄgmã¨ã´maÆ;fvã±ã²ã²ä;äÐ;deglnprá«ã
ããããã¡ã¦ot;橪Ä;qá±á°Ä;Eããæª;æª Ä;Eããæª;æªe;ælus;樤arr;楲aròá½Èaeitã¸ãããÄlsã½ãlsetméãªhp;樳parsl;槤Ädlá£ãe;æ£Ä;eããæªªÄ;sã¢ã£æª¬;ìâª¬ï¸Æflpã®ã³ãtcy;äÄ;bã¸ã¹ä¯Ä;aã¾ã¿æ§r;æ¿f;ìð¤aÄdrãÐesÄ;uããæ it»ãÆcsuã ã¹ãÄauã¥ã¯pÄ;sáã«;ìâï¸pÄ;sá´ãµ;ìâï¸uÄbpã¿ãÆ;esááãetÄ;eáãñáÆ;esá¨áãetÄ;eá¨ãÃ±á®Æ;afá
»ã¦Ö°rÅ¥ã«Ö±Â»á
¼aròá
Ècemtã¹ã¾ãã
r;ìðtmîñiìãaræá¾ÄarããrÄ;fãá¿æÄanããightÄepã£ãªpsiloîỠhé⺯s»â¡Êbcmnpã»ãáããÒ;Edemnprsãããããã£ã¬ã±ã¶æ;æ«
ot;檽Ä;dáãot;æ«ult;æ«ÄEeã¨ãª;æ«;ælus;檿arr;楹Æeiuã½ããtÆ;enãã
ãqÄ;qáãeqÄ;qã«ã¨m;æ«Äbpãã;æ«;æ«cÌ;acensáã¬ã²ã¹ã»ã¦pproøãºurlyeñá¾Ã±á³Æaesãããpproøãqñãg;æªÚ123;Edehlmnpsã©ã¬ã¯áã²ã´ãããããã¨ãè»Â¹ä¹è»Â²ä²è»Â³ä³;æ«Äosã¹ã¼t;檾ub;æ«Ä;dá¢ã
ot;æ«sÄouããl;æb;æ«arr;楻ult;æ«ÄEeã¤ã¦;æ«;ælus;æ«Æeiuã´ããtÆ;enáã¼ãqÄ;qá¢ã²eqÄ;qã§ã¤m;æ«Äbpãã;æ«;æ«ÆAanãã ãrr;ærÄhrã¦ã¨Ã«â®Ä;oਫ਩war;椪ligè»Ãä௡ããã áã³ã¹\0ã¾ã\0\0\0\0\0ãã\0ãã¬\0\0\0ãɲã\0\0ãget;æ;ärÃ«à¹Æaeyã¦ã«ã°ron;ä
¥dil;ä
£;älrec;ær;ìð±Èeikoãããµã¼Ç²ã\0ãeÄ4fááaÆ;svãããä¸ym;äÄcnã¢ã²kÄasã¨ã®pproøáim»á¬sðáÄasãºã®Ã°árnè»Ã¾ä¾Ç¬Ìãâ§esèÃ;bdãããäÄ;aá¤ãr;樱;樰Æepsã¡ã£ãáâ©È;bcfÒã¬ã°ã´ot;æ¶ir;櫱Ä;oã¹ã¼ìð¥rk;æ«Ã¡ã¢rime;æ´Æaipããã¤dÃ¥áÎadempstã¡ããããããngleÊ;dlqrã°ã±ã¶ããæµown»ᶻeftÄ;eâ ã¾Ã±à¤®;æightÄ;eãªãñáot;æ¬inus;樺lus;樹b;æ§ime;樻ezium;æ¢Æchtã²ã½ãÄryã·ã»;ìð;äcy;ärok;ä
§Äioããxôá·headÄlrãã eftarro÷à¡ightarrow»à½à¤AHabcdfghlmoprstuwãããã¤ã°ã¼ã ã 㠣㠴ã¡ã¡ã¡«ã¢©ã£ã£ã£ªã£¶ròÏar;楣Äcrãã¢uteè»ÃºäºÃ²á
rÇ£ãª\0ãy;äve;ä
Äiyãµãºrcè»Ã»ä»;äÆabhã ã ã ròálac;ä
±aòáÄirã ã sht;楾;ìð²raveè»Ã¹ä¹Å¡ã §ã ±rÄlr㠬㠮»à¥Â»álk;æÄctã ¹ã¡É¯ã ¿\0\0ã¡rnÄ;eã¡
ã¡ær»ã¡op;æri;æ¸Äalã¡ã¡cr;ä
«è»Â¨ÍÄgp㡢㡦on;ä
³f;ìð¦Ìadhlsuá
㡸㡽á²ã¢ã¢ ownáá³arpoonÄlrã¢ã¢efôã ighô㠯iÆ;hlã¢ã¢ã¢ä
»áºon»ã¢parrows;æÆcit㢰ã£ã£É¯ã¢¶\0\0ã£rnÄ;e㢼㢽ær»㢽op;æng;ä
¯ri;æ¹cr;ìðÆdirã£ã£ã£¢ot;æ°lde;ä
©iÄ;fã°ã£¨Â»á Äam㣯㣲rò㢨lè»Ã¼ä¼angle;榧ÞABDacdeflnoprszã¤ã¤ã¤©ã¤ã¦µã¦¸ã¦½ã§ã§¤ã§¨ã§³ã§¹ã§½ã¨ã¨ ròϷarÄ;v㤦㤧櫨;æ«©asèϡÄnr㤲㤷grt;æ¦Îeknprstã£ã¥ã¥ã¥ã¥ã¥¤ã¦appáâothinÃ§áºÆhirã«â»ã¥opô⾵Ä;há·ã¥¢Ã¯ãÄiu㥩ã¥gmáã³Äbp㥲ã¦setneqÄ;q㥽ã¦ìâï¸;ìâ«ï¸setneqÄ;qã¦ã¦ìâï¸;ìâ«ï¸Ährã¦ã¦etáãiangleÄlr㦪㦯eft»थight»áy;ä²ashÂ»á¶Æelrã§ã§ã§Æ;beâ·ªã§ã§ar;æ»q;ælip;æ®Äbtã§á¨aòá©r;ìð³tré㦮suÄbp㧯㧱»à´Â»àµpf;ìð§roð໻tré㦴Äcuã¨ã¨r;ìðÄbpã¨ã¨nÄEeã¦ã¨Â»ã¥¾nÄEeã¦ã¨Â»ã¦igzag;æ¦Îcefoprs㨶㨻ã©ã©ã©ã©¡ã©ªirc;ä
µÄdiã©ã©Äbgã©
ã©ar;æ©eÄ;qáºã©;æerp;ær;ìð´pf;ìð¨Ä;eá¹ã©¦atèá¹cr;ìðà«£áãª\0ãª\0ãªãª\0\0ãªãª¨ãª«ãª¯\0\0ã«ã«\0ã«áátréár;ìðµÄAaãªãªròÏrò৶;ä¾ÄAa㪡㪤ròθrò৫aðâis;æ»Ædptá¤ãªµãª¾Äfl㪺á©;ìð©imÃ¥á²ÄAaã«ã«ròÏròà¨Äcqã«á¸r;ìðÄptáã«réáÐacefiosu㫰㫽ã¬ã¬ã¬ã¬ã¬ã¬¡cÄuyã«¶ã«»teè»Ã½ä½;äÄiyã¬ã¬rc;ä
·;änè»Â¥ä¥r;ìð¶cy;äpf;ìðªcr;ìðÄcm㬦㬩y;älè»Ã¿ä¿Ôacdefhioswããããã¤ã©ãã´ãºã®cute;ä
ºÄayããron;ä
¾;ä·ot;ä
¼Äetãã¡træáa;ä¶r;ìð·cy;ä¶grarr;æpf;ìð«cr;ìðÄjnã®
ã®;æj;æ
315'.split("").map(t=>t.charCodeAt(0))),gne=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]]);function _ne(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=gne.get(t))!==null&&e!==void 0?e:t}var On;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(On||(On={}));const yne=32;var xl;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(xl||(xl={}));function t4(t){return t>=On.ZERO&&t<=On.NINE}function vne(t){return t>=On.UPPER_A&&t<=On.UPPER_F||t>=On.LOWER_A&&t<=On.LOWER_F}function bne(t){return t>=On.UPPER_A&&t<=On.UPPER_Z||t>=On.LOWER_A&&t<=On.LOWER_Z||t4(t)}function wne(t){return t===On.EQUALS||bne(t)}var Mn;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(Mn||(Mn={}));var fo;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(fo||(fo={}));class Ene{constructor(e,r,n){this.decodeTree=e,this.emitCodePoint=r,this.errors=n,this.state=Mn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=fo.Strict}startEntity(e){this.decodeMode=e,this.state=Mn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,r){switch(this.state){case Mn.EntityStart:return e.charCodeAt(r)===On.NUM?(this.state=Mn.NumericStart,this.consumed+=1,this.stateNumericStart(e,r+1)):(this.state=Mn.NamedEntity,this.stateNamedEntity(e,r));case Mn.NumericStart:return this.stateNumericStart(e,r);case Mn.NumericDecimal:return this.stateNumericDecimal(e,r);case Mn.NumericHex:return this.stateNumericHex(e,r);case Mn.NamedEntity:return this.stateNamedEntity(e,r)}}stateNumericStart(e,r){return r>=e.length?-1:(e.charCodeAt(r)|yne)===On.LOWER_X?(this.state=Mn.NumericHex,this.consumed+=1,this.stateNumericHex(e,r+1)):(this.state=Mn.NumericDecimal,this.stateNumericDecimal(e,r))}addToNumericResult(e,r,n,i){if(r!==n){const s=n-r;this.result=this.result*Math.pow(i,s)+Number.parseInt(e.substr(r,s),i),this.consumed+=s}}stateNumericHex(e,r){const n=r;for(;r<e.length;){const i=e.charCodeAt(r);if(t4(i)||vne(i))r+=1;else return this.addToNumericResult(e,n,r,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(e,n,r,16),-1}stateNumericDecimal(e,r){const n=r;for(;r<e.length;){const i=e.charCodeAt(r);if(t4(i))r+=1;else return this.addToNumericResult(e,n,r,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(e,n,r,10),-1}emitNumericEntity(e,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===On.SEMI)this.consumed+=1;else if(this.decodeMode===fo.Strict)return 0;return this.emitCodePoint(_ne(this.result),this.consumed),this.errors&&(e!==On.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,r){const{decodeTree:n}=this;let i=n[this.treeIndex],s=(i&xl.VALUE_LENGTH)>>14;for(;r<e.length;r++,this.excess++){const a=e.charCodeAt(r);if(this.treeIndex=Sne(n,i,this.treeIndex+Math.max(1,s),a),this.treeIndex<0)return this.result===0||this.decodeMode===fo.Attribute&&(s===0||wne(a))?0:this.emitNotTerminatedNamedEntity();if(i=n[this.treeIndex],s=(i&xl.VALUE_LENGTH)>>14,s!==0){if(a===On.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==fo.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:r,decodeTree:n}=this,i=(n[r]&xl.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,i,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,r,n){const{decodeTree:i}=this;return this.emitCodePoint(r===1?i[e]&~xl.VALUE_LENGTH:i[e+1],n),r===3&&this.emitCodePoint(i[e+2],n),n}end(){var e;switch(this.state){case Mn.NamedEntity:return this.result!==0&&(this.decodeMode!==fo.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Mn.NumericDecimal:return this.emitNumericEntity(0,2);case Mn.NumericHex:return this.emitNumericEntity(0,3);case Mn.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Mn.EntityStart:return 0}}}function Sne(t,e,r,n){const i=(e&xl.BRANCH_LENGTH)>>7,s=e&xl.JUMP_TABLE;if(i===0)return s!==0&&n===s?r:-1;if(s){const u=n-s;return u<0||u>=i?-1:t[r+u]-1}let a=r,l=a+i-1;for(;a<=l;){const u=a+l>>>1,p=t[u];
315if(p<n)a=u+1;else if(p>n)l=u-1;else return t[u+i]}return-1}var $e;(function(t){t.HTML="http://www.w3.org/1999/xhtml",t.MATHML="http://www.w3.org/1998/Math/MathML",t.SVG="http://www.w3.org/2000/svg",t.XLINK="http://www.w3.org/1999/xlink",t.XML="http://www.w3.org/XML/1998/namespace",t.XMLNS="http://www.w3.org/2000/xmlns/"})($e||($e={}));var Lu;(function(t){t.TYPE="type",t.ACTION="action",t.ENCODING="encoding",t.PROMPT="prompt",t.NAME="name",t.COLOR="color",t.FACE="face",t.SIZE="size"})(Lu||(Lu={}));var vs;(function(t){t.NO_QUIRKS="no-quirks",t.QUIRKS="quirks",t.LIMITED_QUIRKS="limited-quirks"})(vs||(vs={}));var ke;(function(t){t.A="a",t.ADDRESS="address",t.ANNOTATION_XML="annotation-xml",t.APPLET="applet",t.AREA="area",t.ARTICLE="article",t.ASIDE="aside",t.B="b",t.BASE="base",t.BASEFONT="basefont",t.BGSOUND="bgsound",t.BIG="big",t.BLOCKQUOTE="blockquote",t.BODY="body",t.BR="br",t.BUTTON="button",t.CAPTION="caption",t.CENTER="center",t.CODE="code",t.COL="col",t.COLGROUP="colgroup",t.DD="dd",t.DESC="desc",t.DETAILS="details",t.DIALOG="dialog",t.DIR="dir",t.DIV="div",t.DL="dl",t.DT="dt",t.EM="em",t.EMBED="embed",t.FIELDSET="fieldset",t.FIGCAPTION="figcaption",t.FIGURE="figure",t.FONT="font",t.FOOTER="footer",t.FOREIGN_OBJECT="foreignObject",t.FORM="form",t.FRAME="frame",t.FRAMESET="frameset",t.H1="h1",t.H2="h2",t.H3="h3",t.H4="h4",t.H5="h5",t.H6="h6",t.HEAD="head",t.HEADER="header",t.HGROUP="hgroup",t.HR="hr",t.HTML="html",t.I="i",t.IMG="img",t.IMAGE="image",t.INPUT="input",t.IFRAME="iframe",t.KEYGEN="keygen",t.LABEL="label",t.LI="li",t.LINK="link",t.LISTING="listing",t.MAIN="main",t.MALIGNMARK="malignmark",t.MARQUEE="marquee",t.MATH="math",t.MENU="menu",t.META="meta",t.MGLYPH="mglyph",t.MI="mi",t.MO="mo",t.MN="mn",t.MS="ms",t.MTEXT="mtext",t.NAV="nav",t.NOBR="nobr",t.NOFRAMES="noframes",t.NOEMBED="noembed",t.NOSCRIPT="noscript",t.OBJECT="object",t.OL="ol",t.OPTGROUP="optgroup",t.OPTION="option",t.P="p",t.PARAM="param",t.PLAINTEXT="plaintext",t.PRE="pre",t.RB="rb",t.RP="rp",t.RT="rt",t.RTC="rtc",t.RUBY="ruby",t.S="s",t.SCRIPT="script",t.SEARCH="search",t.SECTION="section",t.SELECT="select",t.SOURCE="source",t.SMALL="small",t.SPAN="span",t.STRIKE="strike",t.STRONG="strong",t.STYLE="style",t.SUB="sub",t.SUMMARY="summary",t.SUP="sup",t.TABLE="table",t.TBODY="tbody",t.TEMPLATE="template",t.TEXTAREA="textarea",t.TFOOT="tfoot",t.TD="td",t.TH="th",t.THEAD="thead",t.TITLE="title",t.TR="tr",t.TRACK="track",t.TT="tt",t.U="u",t.UL="ul",t.SVG="svg",t.VAR="var",t.WBR="wbr",t.XMP="xmp"})(ke||(ke={}));var b;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.A=1]="A",t[t.ADDRESS=2]="ADDRESS",t[t.ANNOTATION_XML=3]="ANNOTATION_XML",t[t.APPLET=4]="APPLET",t[t.AREA=5]="AREA",t[t.ARTICLE=6]="ARTICLE",t[t.ASIDE=7]="ASIDE",t[t.B=8]="B",t[t.BASE=9]="BASE",t[t.BASEFONT=10]="BASEFONT",t[t.BGSOUND=11]="BGSOUND",t[t.BIG=12]="BIG",t[t.BLOCKQUOTE=13]="BLOCKQUOTE",t[t.BODY=14]="BODY",t[t.BR=15]="BR",t[t.BUTTON=16]="BUTTON",t[t.CAPTION=17]="CAPTION",t[t.CENTER=18]="CENTER",t[t.CODE=19]="CODE",t[t.COL=20]="COL",t[t.COLGROUP=21]="COLGROUP",t[t.DD=22]="DD",t[t.DESC=23]="DESC",t[t.DETAILS=24]="DETAILS",t[t.DIALOG=25]="DIALOG",t[t.DIR=26]="DIR",t[t.DIV=27]="DIV",t[t.DL=28]="DL",t[t.DT=29]="DT",t[t.EM=30]="EM",t[t.EMBED=31]="EMBED",t[t.FIELDSET=32]="FIELDSET",t[t.FIGCAPTION=33]="FIGCAPTION",t[t.FIGURE=34]="FIGURE",t[t.FONT=35]="FONT",t[t.FOOTER=36]="FOOTER",t[t.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",t[t.FORM=38]="FORM",t[t.FRAME=39]="FRAME",t[t.FRAMESET=40]="FRAMESET",t[t.H1=41]="H1",t[t.H2=42]="H2",t[t.H3=43]="H3",t[t.H4=44]="H4",t[t.H5=45]="H5",t[t.H6=46]="H6",t[t.HEAD=47]="HEAD",t[t.HEADER=48]="HEADER",t[t.HGROUP=49]="HGROUP",t[t.HR=50]="HR",t[t.HTML=51]="HTML",t[t.I=52]="I",t[t.IMG=53]="IMG",t[t.IMAGE=54]="IMAGE",t[t.INPUT=55]="INPUT",t[t.IFRAME=56]="IFRAME",t[t.KEYGEN=57]="KEYGEN",t[t.LABEL=58]="LABEL",t[t.LI=59]="LI",t[t.LINK=60]="LINK",t[t.LISTING=61]="LISTING",t[t.MAIN=62]="MAIN",t[t.MALIGNMARK=63]="MALIGNMARK",t[t.MARQUEE=64]="MARQUEE",t[t.MATH=65]="MATH",t[t.MENU=66]="MENU",t[t.META=67]="META",t[t.MGLYPH=68]="MGLYPH",t[t.MI=69]="MI",t[t.MO=70]="MO",t[t.MN=71]="MN",t[t.MS=72]="MS",t[t.MTEXT=73]="MTEXT",t[t.NAV=74]="NAV",t[t.NOBR=75]="NOBR",t[t.NOFRAMES=76]="NOFRAMES",t[t.NOEMBED=77]="NOEMBED",t[t.NOSCRIPT=78]="NOSCRIPT",t[t.OBJECT=79]="OBJECT",t[t.OL=80]="OL",t[t.OPTGROUP=81]="OPTGROUP",t[t.OPTION=82]="OPTION",t[t.P=83]="P",t[t.PARAM=84]="PARAM",t[t.PLAINTEXT=85]="PLAINTEXT",t[t.PRE=86]="PRE",t[t.RB=87]="RB",t[t.RP=88]="RP",t[t.RT=89]="RT",t[t.RTC=90]="RTC",t[t.RUBY=91]="RUBY",t[t.S=92]="S",t[t.SCRIPT=93]="SCRIPT",t[t.SEARCH=94]="SEARCH",t[t.SECTION=95]="SECTION",t[t.SELECT=96]="SELECT",t[t.SOURCE=97]="SOURCE",t[t.SMALL=98]="SMALL",t[t.SPAN=99]="SPAN",t[t.STRIKE=100]="STRIKE",t[t.STRONG=101]="STRONG",t[t.STYLE=102]="STYLE",t[t.SUB=103]="SUB",t[t.SUMMARY=104]="SUMMARY",t[t.SUP=105]="SUP",t[t.TABLE=106]="TABLE",t[t.TBODY=107]="TBODY",t[t.TEMPLATE=108]="TEMPLATE",t[t.TEXTAREA=109]="TEXTAREA",t[t.TFOOT=110]="TFOOT",t[t.TD=111]="TD",t[t.TH=112]="TH",t[t.THEAD=113]="THEAD",t[t.TITLE=114]="TITLE",t[t.TR=115]="TR",t[t.TRACK=116]="TRACK",t[t.TT=117]="TT",t[t.U=118]="U",t[t.UL=119]="UL",t[t.SVG=120]="SVG",t[t.VAR=121]="VAR",t[t.WBR=122]="WBR",t[t.XMP=123]="XMP"})(b||(b={}));const Tne=new Map([[ke.A,b.A],[ke.ADDRESS,b.ADDRESS],[ke.ANNOTATION_XML,b.ANNOTATION_XML],[ke.APPLET,b.APPLET],[ke.AREA,b.AREA],[ke.ARTICLE,b.ARTICLE],[ke.AS
vendor: 61,289 bytes, line 315
315IDE,b.ASIDE],[ke.B,b.B],[ke.BASE,b.BASE],[ke.BASEFONT,b.BASEFONT],[ke.BGSOUND,b.BGSOUND],[ke.BIG,b.BIG],[ke.BLOCKQUOTE,b.BLOCKQUOTE],[ke.BODY,b.BODY],[ke.BR,b.BR],[ke.BUTTON,b.BUTTON],[ke.CAPTION,b.CAPTION],[ke.CENTER,b.CENTER],[ke.CODE,b.CODE],[ke.COL,b.COL],[ke.COLGROUP,b.COLGROUP],[ke.DD,b.DD],[ke.DESC,b.DESC],[ke.DETAILS,b.DETAILS],[ke.DIALOG,b.DIALOG],[ke.DIR,b.DIR],[ke.DIV,b.DIV],[ke.DL,b.DL],[ke.DT,b.DT],[ke.EM,b.EM],[ke.EMBED,b.EMBED],[ke.FIELDSET,b.FIELDSET],[ke.FIGCAPTION,b.FIGCAPTION],[ke.FIGURE,b.FIGURE],[ke.FONT,b.FONT],[ke.FOOTER,b.FOOTER],[ke.FOREIGN_OBJECT,b.FOREIGN_OBJECT],[ke.FORM,b.FORM],[ke.FRAME,b.FRAME],[ke.FRAMESET,b.FRAMESET],[ke.H1,b.H1],[ke.H2,b.H2],[ke.H3,b.H3],[ke.H4,b.H4],[ke.H5,b.H5],[ke.H6,b.H6],[ke.HEAD,b.HEAD],[ke.HEADER,b.HEADER],[ke.HGROUP,b.HGROUP],[ke.HR,b.HR],[ke.HTML,b.HTML],[ke.I,b.I],[ke.IMG,b.IMG],[ke.IMAGE,b.IMAGE],[ke.INPUT,b.INPUT],[ke.IFRAME,b.IFRAME],[ke.KEYGEN,b.KEYGEN],[ke.LABEL,b.LABEL],[ke.LI,b.LI],[ke.LINK,b.LINK],[ke.LISTING,b.LISTING],[ke.MAIN,b.MAIN],[ke.MALIGNMARK,b.MALIGNMARK],[ke.MARQUEE,b.MARQUEE],[ke.MATH,b.MATH],[ke.MENU,b.MENU],[ke.META,b.META],[ke.MGLYPH,b.MGLYPH],[ke.MI,b.MI],[ke.MO,b.MO],[ke.MN,b.MN],[ke.MS,b.MS],[ke.MTEXT,b.MTEXT],[ke.NAV,b.NAV],[ke.NOBR,b.NOBR],[ke.NOFRAMES,b.NOFRAMES],[ke.NOEMBED,b.NOEMBED],[ke.NOSCRIPT,b.NOSCRIPT],[ke.OBJECT,b.OBJECT],[ke.OL,b.OL],[ke.OPTGROUP,b.OPTGROUP],[ke.OPTION,b.OPTION],[ke.P,b.P],[ke.PARAM,b.PARAM],[ke.PLAINTEXT,b.PLAINTEXT],[ke.PRE,b.PRE],[ke.RB,b.RB],[ke.RP,b.RP],[ke.RT,b.RT],[ke.RTC,b.RTC],[ke.RUBY,b.RUBY],[ke.S,b.S],[ke.SCRIPT,b.SCRIPT],[ke.SEARCH,b.SEARCH],[ke.SECTION,b.SECTION],[ke.SELECT,b.SELECT],[ke.SOURCE,b.SOURCE],[ke.SMALL,b.SMALL],[ke.SPAN,b.SPAN],[ke.STRIKE,b.STRIKE],[ke.STRONG,b.STRONG],[ke.STYLE,b.STYLE],[ke.SUB,b.SUB],[ke.SUMMARY,b.SUMMARY],[ke.SUP,b.SUP],[ke.TABLE,b.TABLE],[ke.TBODY,b.TBODY],[ke.TEMPLATE,b.TEMPLATE],[ke.TEXTAREA,b.TEXTAREA],[ke.TFOOT,b.TFOOT],[ke.TD,b.TD],[ke.TH,b.TH],[ke.THEAD,b.THEAD],[ke.TITLE,b.TITLE],[ke.TR,b.TR],[ke.TRACK,b.TRACK],[ke.TT,b.TT],[ke.U,b.U],[ke.UL,b.UL],[ke.SVG,b.SVG],[ke.VAR,b.VAR],[ke.WBR,b.WBR],[ke.XMP,b.XMP]]);function nh(t){var e;return(e=Tne.get(t))!==null&&e!==void 0?e:b.UNKNOWN}const Xe=b,xne={[$e.HTML]:new Set([Xe.ADDRESS,Xe.APPLET,Xe.AREA,Xe.ARTICLE,Xe.ASIDE,Xe.BASE,Xe.BASEFONT,Xe.BGSOUND,Xe.BLOCKQUOTE,Xe.BODY,Xe.BR,Xe.BUTTON,Xe.CAPTION,Xe.CENTER,Xe.COL,Xe.COLGROUP,Xe.DD,Xe.DETAILS,Xe.DIR,Xe.DIV,Xe.DL,Xe.DT,Xe.EMBED,Xe.FIELDSET,Xe.FIGCAPTION,Xe.FIGURE,Xe.FOOTER,Xe.FORM,Xe.FRAME,Xe.FRAMESET,Xe.H1,Xe.H2,Xe.H3,Xe.H4,Xe.H5,Xe.H6,Xe.HEAD,Xe.HEADER,Xe.HGROUP,Xe.HR,Xe.HTML,Xe.IFRAME,Xe.IMG,Xe.INPUT,Xe.LI,Xe.LINK,Xe.LISTING,Xe.MAIN,Xe.MARQUEE,Xe.MENU,Xe.META,Xe.NAV,Xe.NOEMBED,Xe.NOFRAMES,Xe.NOSCRIPT,Xe.OBJECT,Xe.OL,Xe.P,Xe.PARAM,Xe.PLAINTEXT,Xe.PRE,Xe.SCRIPT,Xe.SECTION,Xe.SELECT,Xe.SOURCE,Xe.STYLE,Xe.SUMMARY,Xe.TABLE,Xe.TBODY,Xe.TD,Xe.TEMPLATE,Xe.TEXTAREA,Xe.TFOOT,Xe.TH,Xe.THEAD,Xe.TITLE,Xe.TR,Xe.TRACK,Xe.UL,Xe.WBR,Xe.XMP]),[$e.MATHML]:new Set([Xe.MI,Xe.MO,Xe.MN,Xe.MS,Xe.MTEXT,Xe.ANNOTATION_XML]),[$e.SVG]:new Set([Xe.TITLE,Xe.FOREIGN_OBJECT,Xe.DESC]),[$e.XLINK]:new Set,[$e.XML]:new Set,[$e.XMLNS]:new Set},r4=new Set([Xe.H1,Xe.H2,Xe.H3,Xe.H4,Xe.H5,Xe.H6]);ke.STYLE,ke.SCRIPT,ke.XMP,ke.IFRAME,ke.NOEMBED,ke.NOFRAMES,ke.PLAINTEXT;var se;(function(t){t[t.DATA=0]="DATA",t[t.RCDATA=1]="RCDATA",t[t.RAWTEXT=2]="RAWTEXT",t[t.SCRIPT_DATA=3]="SCRIPT_DATA",t[t.PLAINTEXT=4]="PLAINTEXT",t[t.TAG_OPEN=5]="TAG_OPEN",t[t.END_TAG_OPEN=6]="END_TAG_OPEN",t[t.TAG_NAME=7]="TAG_NAME",t[t.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",t[t.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",t[t.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",t[t.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",t[t.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",t[t.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",t[t.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",t[t.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",t[t.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",t[t.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",t[t.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",t[t.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",t[t.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",t[t.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",t[t.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",t[t.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",t[t.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",t[t.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",t[t.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",t[t.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",t[t.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",t[t.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",t[t.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",t[t.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",t[t.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",t[t.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",t[t.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",t[t.BOGUS_COMMENT=40]="BOGUS_COMMENT",t[t.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",t[t.COMMENT_START=42]="COMMENT_START",t[t.COMMENT_START_DASH=43]="COMMENT_START_DASH",t[t.COMMENT=44]="COMMENT",t[t.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",t[t.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",t[t.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",t[t.COMMENT_END_DASH=49]="COMMENT_END_DASH",t[t.COMMENT_END=50]="COMMENT_END",t[t.COMMENT_END_BANG=51]="COMMENT_END_BANG",t[t.DOCTYPE=52]="DOCTYPE",t[t.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",t[t.DOCTYPE_NAME=54]="DOCTYPE_NAME",t[t.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",t[t.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",t[t.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",t[t.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",t[t.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",t[t.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",t[t.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",t[t.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",t[t.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",t[t.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",t[t.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",t[t.CDATA_SECTION=68]="CDATA_SECTION",t[t.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",t[t.CDATA_SECTION_END=70]="CDATA_SECTION_END",t[t.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",t[t.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(se||(se={}));const on={DATA:se.DATA,RCDATA:se.RCDATA,RAWTEXT:se.RAWTEXT,SCRIPT_DATA:se.SCRIPT_DATA,PLAINTEXT:se.PLAINTEXT,CDATA_SECTION:se.CDATA_SECTION};function kne(t){return t>=Z.DIGIT_0&&t<=Z.DIGIT_9}function Jh(t){return t>=Z.LATIN_CAPITAL_A&&t<=Z.LATIN_CAPITAL_Z}function Ane(t){return t>=Z.LATIN_SMALL_A&&t<=Z.LATIN_SMALL_Z}function fl(t){return Ane(t)||Jh(t)}function TT(t){return fl(t)||kne(t)}function Qp(t){return t+32}function aO(t){return t===Z.SPACE||t===Z.LINE_FEED||t===Z.TABULATION||t===Z.FORM_FEED}function xT(t){return aO(t)||t===Z.SOLIDUS||t===Z.GREATER_THAN_SIGN}function Mne(t){return t===Z.NULL?De.nullCharacterReference:t>1114111?De.characterReferenceOutsideUnicodeRange:rO(t)?De.surrogateCharacterReference:iO(t)?De.noncharacterCharacterReference:nO(t)||t===Z.CARRIAGE_RETURN?De.controlCharacterReference:null}class Cne{constructor(e,r){this.options=e,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=se.DATA,this.returnState=se.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new pne(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Ene(mne,(n,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(De.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(De.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const i=Mne(n);i&&this._err(i,1)}}:void 0)}_err(e,r=0){var n,i;(i=(n=this.handler).onParseError)===null||i===void 0||i.call(n,this.preprocessor.getError(e,r))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||e==null||e())}write(e,r,n){this.active=!0,this.preprocessor.write(e,r),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),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(e){this.consumedAfterSnapshot+=e;for(let r=0;r<e;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,r){return this.preprocessor.startsWith(e,r)?(this._advanceBy(e.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:er.START_TAG,tagName:"",tagID:b.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:er.END_TAG,tagName:"",tagID:b.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:er.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:er.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,r){this.currentCharacterToken={type:e,chars:r,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,r;const n=this.currentToken;if(sO(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const i=(e=(r=n.location).attrs)!==null&&e!==void 0?e:r.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(De.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const e=this.currentToken;this.prepareToken(e),e.tagID=nh(e.tagName),e.type===er.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(De.endTagWithAttributes),e.selfClosing&&this._err(De.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case er.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case er.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case er.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:er.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,r)}_emitCodePoint(e){const r=aO(e)?er.WHITESPACE_CHARACTER:e===Z.NULL?er.NULL_CHARACTER:er.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(er.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=se.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?fo.Attribute:fo.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===se.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===se.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===se.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case se.DATA:{this._stateData(e);break}case se.RCDATA:{this._stateRcdata(e);break}case se.RAWTEXT:{this._stateRawtext(e);break}case se.SCRIPT_DATA:{this._stateScriptData(e);break}case se.PLAINTEXT:{this._statePlaintext(e);break}case se.TAG_OPEN:{this._stateTagOpen(e);break}case se.END_TAG_OPEN:{this._stateEndTagOpen(e);break}case se.TAG_NAME:{this._stateTagName(e);break}case se.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(e);break}case se.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(e);break}case se.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(e);break}case se.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(e);break}case se.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(e);break}case se.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(e);break}case se.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(e);break}case se.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(e);break}case se.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(e);break}case se.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(e);break}case se.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(e);break}case se.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(e);break}case se.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(e);break}case se.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(e);break}case se.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(e);break}case se.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(e);break}case se.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(e);break}case se.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(e);break}case se.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(e);break}case se.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(e);break}case se.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(e);break}case se.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(e);break}case se.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(e);break}case se.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(e);break}case se.ATTRIBUTE_NAME:{this._stateAttributeName(e);break}case se.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(e);break}case se.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(e);break}case se.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(e);break}case se.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(e);break}case se.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(e);break}case se.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(e);break}case se.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(e);break}case se.BOGUS_COMMENT:{this._stateBogusComment(e);break}case se.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(e);break}case se.COMMENT_START:{this._stateCommentStart(e);break}case se.COMMENT_START_DASH:{this._stateCommentStartDash(e);break}case se.COMMENT:{this._stateComment(e);break}case se.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(e);break}case se.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(e);break}case se.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(e);break}case se.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(e);break}case se.COMMENT_END_DASH:{this._stateCommentEndDash(e);break}case se.COMMENT_END:{this._stateCommentEnd(e);break}case se.COMMENT_END_BANG:{this._stateCommentEndBang(e);break}case se.DOCTYPE:{this._stateDoctype(e);break}case se.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(e);break}case se.DOCTYPE_NAME:{this._stateDoctypeName(e);break}case se.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(e);break}case se.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(e);break}case se.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(e);break}case se.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(e);break}case se.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(e);break}case se.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(e);break}case se.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break}case se.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(e);break}case se.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(e);break}case se.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(e);break}case se.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(e);break}case se.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(e);break}case se.BOGUS_DOCTYPE:{this._stateBogusDoctype(e);break}case se.CDATA_SECTION:{this._stateCdataSection(e);break}case se.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(e);break}case se.CDATA_SECTION_END:{this._stateCdataSectionEnd(e);break}case se.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case se.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(e);break}default:throw new Error("Unknown state")}}_stateData(e){switch(e){case Z.LESS_THAN_SIGN:{this.state=se.TAG_OPEN;break}case Z.AMPERSAND:{this._startCharacterReference();break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this._emitCodePoint(e);break}case Z.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case Z.AMPERSAND:{this._startCharacterReference();break}case Z.LESS_THAN_SIGN:{this.state=se.RCDATA_LESS_THAN_SIGN;break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this._emitChars(jr);break}case Z.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case Z.LESS_THAN_SIGN:{this.state=se.RAWTEXT_LESS_THAN_SIGN;break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this._emitChars(jr);break}case Z.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case Z.LESS_THAN_SIGN:{this.state=se.SCRIPT_DATA_LESS_THAN_SIGN;break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this._emitChars(jr);break}case Z.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case Z.NULL:{this._err(De.unexpectedNullCharacter),this._emitChars(jr);break}case Z.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateTagOpen(e){if(fl(e))this._createStartTagToken(),this.state=se.TAG_NAME,this._stateTagName(e);else switch(e){case Z.EXCLAMATION_MARK:{this.state=se.MARKUP_DECLARATION_OPEN;break}case Z.SOLIDUS:{this.state=se.END_TAG_OPEN;break}case Z.QUESTION_MARK:{this._err(De.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=se.BOGUS_COMMENT,this._stateBogusComment(e);break}case Z.EOF:{this._err(De.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(De.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=se.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(fl(e))this._createEndTagToken(),this.state=se.TAG_NAME,this._stateTagName(e);else switch(e){case Z.GREATER_THAN_SIGN:{this._err(De.missingEndTagName),this.state=se.DATA;break}case Z.EOF:{this._err(De.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(De.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=se.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const r=this.currentToken;switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:{this.state=se.BEFORE_ATTRIBUTE_NAME;break}case Z.SOLIDUS:{this.state=se.SELF_CLOSING_START_TAG;break}case Z.GREATER_THAN_SIGN:{this.state=se.DATA,this.emitCurrentTagToken();break}case Z.NULL:{this._err(De.unexpectedNullCharacter),r.tagName+=jr;break}case Z.EOF:{this._err(De.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(Jh(e)?Qp(e):e)}}_stateRcdataLessThanSign(e){e===Z.SOLIDUS?this.state=se.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=se.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){fl(e)?(this.state=se.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=se.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=se.BEFORE_ATTRIBUTE_NAME,!1;case Z.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=se.SELF_CLOSING_START_TAG,!1;case Z.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=se.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=se.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===Z.SOLIDUS?this.state=se.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=se.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){fl(e)?(this.state=se.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=se.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=se.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case Z.SOLIDUS:{this.state=se.SCRIPT_DATA_END_TAG_OPEN;break}case Z.EXCLAMATION_MARK:{this.state=se.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=se.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){fl(e)?(this.state=se.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=se.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=se.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===Z.HYPHEN_MINUS?(this.state=se.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=se.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===Z.HYPHEN_MINUS?(this.state=se.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=se.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case Z.HYPHEN_MINUS:{this.state=se.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case Z.LESS_THAN_SIGN:{this.state=se.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this._emitChars(jr);break}case Z.EOF:{this._err(De.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case Z.HYPHEN_MINUS:{this.state=se.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case Z.LESS_THAN_SIGN:{this.state=se.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this.state=se.SCRIPT_DATA_ESCAPED,this._emitChars(jr);break}case Z.EOF:{this._err(De.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=se.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case Z.HYPHEN_MINUS:{this._emitChars("-");break}case Z.LESS_THAN_SIGN:{this.state=se.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case Z.GREATER_THAN_SIGN:{this.state=se.SCRIPT_DATA,this._emitChars(">");break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this.state=se.SCRIPT_DATA_ESCAPED,this._emitChars(jr);break}case Z.EOF:{this._err(De.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=se.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===Z.SOLIDUS?this.state=se.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:fl(e)?(this._emitChars("<"),this.state=se.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=se.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){fl(e)?(this.state=se.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=se.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=se.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(_i.SCRIPT,!1)&&xT(this.preprocessor.peek(_i.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r<_i.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=se.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case Z.HYPHEN_MINUS:{this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case Z.LESS_THAN_SIGN:{this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this._emitChars(jr);break}case Z.EOF:{this._err(De.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case Z.HYPHEN_MINUS:{this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case Z.LESS_THAN_SIGN:{this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(jr);break}case Z.EOF:{this._err(De.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case Z.HYPHEN_MINUS:{this._emitChars("-");break}case Z.LESS_THAN_SIGN:{this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case Z.GREATER_THAN_SIGN:{this.state=se.SCRIPT_DATA,this._emitChars(">");break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(jr);break}case Z.EOF:{this._err(De.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===Z.SOLIDUS?(this.state=se.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(_i.SCRIPT,!1)&&xT(this.preprocessor.peek(_i.SCRIPT.length))){this._emitCodePoint(e);for(let r=0;r<_i.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=se.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=se.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:break;case Z.SOLIDUS:case Z.GREATER_THAN_SIGN:case Z.EOF:{this.state=se.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case Z.EQUALS_SIGN:{this._err(De.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=se.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=se.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:case Z.SOLIDUS:case Z.GREATER_THAN_SIGN:case Z.EOF:{this._leaveAttrName(),this.state=se.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break}case Z.EQUALS_SIGN:{this._leaveAttrName(),this.state=se.BEFORE_ATTRIBUTE_VALUE;break}case Z.QUOTATION_MARK:case Z.APOSTROPHE:case Z.LESS_THAN_SIGN:{this._err(De.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this.currentAttr.name+=jr;break}default:this.currentAttr.name+=String.fromCodePoint(Jh(e)?Qp(e):e)}}_stateAfterAttributeName(e){switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:break;case Z.SOLIDUS:{this.state=se.SELF_CLOSING_START_TAG;break}case Z.EQUALS_SIGN:{this.state=se.BEFORE_ATTRIBUTE_VALUE;break}case Z.GREATER_THAN_SIGN:{this.state=se.DATA,this.emitCurrentTagToken();break}case Z.EOF:{this._err(De.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=se.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:break;case Z.QUOTATION_MARK:{this.state=se.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case Z.APOSTROPHE:{this.state=se.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case Z.GREATER_THAN_SIGN:{this._err(De.missingAttributeValue),this.state=se.DATA,this.emitCurrentTagToken();break}default:this.state=se.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case Z.QUOTATION_MARK:{this.state=se.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Z.AMPERSAND:{this._startCharacterReference();break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this.currentAttr.value+=jr;break}case Z.EOF:{this._err(De.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case Z.APOSTROPHE:{this.state=se.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case Z.AMPERSAND:{this._startCharacterReference();break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this.currentAttr.value+=jr;break}case Z.EOF:{this._err(De.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:{this._leaveAttrValue(),this.state=se.BEFORE_ATTRIBUTE_NAME;break}case Z.AMPERSAND:{this._startCharacterReference();break}case Z.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=se.DATA,this.emitCurrentTagToken();break}case Z.NULL:{this._err(De.unexpectedNullCharacter),this.currentAttr.value+=jr;break}case Z.QUOTATION_MARK:case Z.APOSTROPHE:case Z.LESS_THAN_SIGN:case Z.EQUALS_SIGN:case Z.GRAVE_ACCENT:{this._err(De.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break}case Z.EOF:{this._err(De.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:{this._leaveAttrValue(),this.state=se.BEFORE_ATTRIBUTE_NAME;break}case Z.SOLIDUS:{this._leaveAttrValue(),this.state=se.SELF_CLOSING_START_TAG;break}case Z.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=se.DATA,this.emitCurrentTagToken();break}case Z.EOF:{this._err(De.eofInTag),this._emitEOFToken();break}default:this._err(De.missingWhitespaceBetweenAttributes),this.state=se.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case Z.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=se.DATA,this.emitCurrentTagToken();break}case Z.EOF:{this._err(De.eofInTag),this._emitEOFToken();break}default:this._err(De.unexpectedSolidusInTag),this.state=se.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const r=this.currentToken;switch(e){case Z.GREATER_THAN_SIGN:{this.state=se.DATA,this.emitCurrentComment(r);break}case Z.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case Z.NULL:{this._err(De.unexpectedNullCharacter),r.data+=jr;break}default:r.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch(_i.DASH_DASH,!0)?(this._createCommentToken(_i.DASH_DASH.length+1),this.state=se.COMMENT_START):this._consumeSequenceIfMatch(_i.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(_i.DOCTYPE.length+1),this.state=se.DOCTYPE):this._consumeSequenceIfMatch(_i.CDATA_START,!0)?this.inForeignNode?this.state=se.CDATA_SECTION:(this._err(De.cdataInHtmlContent),this._createCommentToken(_i.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=se.BOGUS_COMMENT):this._ensureHibernation()||(this._err(De.incorrectlyOpenedComment),this._createCommentToken(2),this.state=se.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case Z.HYPHEN_MINUS:{this.state=se.COMMENT_START_DASH;break}case Z.GREATER_THAN_SIGN:{this._err(De.abruptClosingOfEmptyComment),this.state=se.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=se.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const r=this.currentToken;switch(e){case Z.HYPHEN_MINUS:{this.state=se.COMMENT_END;break}case Z.GREATER_THAN_SIGN:{this._err(De.abruptClosingOfEmptyComment),this.state=se.DATA,this.emitCurrentComment(r);break}case Z.EOF:{this._err(De.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=se.COMMENT,this._stateComment(e)}}_stateComment(e){const r=this.currentToken;switch(e){case Z.HYPHEN_MINUS:{this.state=se.COMMENT_END_DASH;break}case Z.LESS_THAN_SIGN:{r.data+="<",this.state=se.COMMENT_LESS_THAN_SIGN;break}case Z.NULL:{this._err(De.unexpectedNullCharacter),r.data+=jr;break}case Z.EOF:{this._err(De.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const r=this.currentToken;switch(e){case Z.EXCLAMATION_MARK:{r.data+="!",this.state=se.COMMENT_LESS_THAN_SIGN_BANG;break}case Z.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=se.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===Z.HYPHEN_MINUS?this.state=se.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=se.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===Z.HYPHEN_MINUS?this.state=se.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=se.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==Z.GREATER_THAN_SIGN&&e!==Z.EOF&&this._err(De.nestedComment),this.state=se.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const r=this.currentToken;switch(e){case Z.HYPHEN_MINUS:{this.state=se.COMMENT_END;break}case Z.EOF:{this._err(De.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=se.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const r=this.currentToken;switch(e){case Z.GREATER_THAN_SIGN:{this.state=se.DATA,this.emitCurrentComment(r);break}case Z.EXCLAMATION_MARK:{this.state=se.COMMENT_END_BANG;break}case Z.HYPHEN_MINUS:{r.data+="-";break}case Z.EOF:{this._err(De.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=se.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const r=this.currentToken;switch(e){case Z.HYPHEN_MINUS:{r.data+="--!",this.state=se.COMMENT_END_DASH;break}case Z.GREATER_THAN_SIGN:{this._err(De.incorrectlyClosedComment),this.state=se.DATA,this.emitCurrentComment(r);break}case Z.EOF:{this._err(De.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=se.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:{this.state=se.BEFORE_DOCTYPE_NAME;break}case Z.GREATER_THAN_SIGN:{this.state=se.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break}case Z.EOF:{this._err(De.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(De.missingWhitespaceBeforeDoctypeName),this.state=se.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(Jh(e))this._createDoctypeToken(String.fromCharCode(Qp(e))),this.state=se.DOCTYPE_NAME;else switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:break;case Z.NULL:{this._err(De.unexpectedNullCharacter),this._createDoctypeToken(jr),this.state=se.DOCTYPE_NAME;break}case Z.GREATER_THAN_SIGN:{this._err(De.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=se.DATA;break}case Z.EOF:{this._err(De.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=se.DOCTYPE_NAME}}_stateDoctypeName(e){const r=this.currentToken;switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:{this.state=se.AFTER_DOCTYPE_NAME;break}case Z.GREATER_THAN_SIGN:{this.state=se.DATA,this.emitCurrentDoctype(r);break}case Z.NULL:{this._err(De.unexpectedNullCharacter),r.name+=jr;break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(Jh(e)?Qp(e):e)}}_stateAfterDoctypeName(e){const r=this.currentToken;switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:break;case Z.GREATER_THAN_SIGN:{this.state=se.DATA,this.emitCurrentDoctype(r);break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(_i.PUBLIC,!1)?this.state=se.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(_i.SYSTEM,!1)?this.state=se.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(De.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=se.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const r=this.currentToken;switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:{this.state=se.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case Z.QUOTATION_MARK:{this._err(De.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=se.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Z.APOSTROPHE:{this._err(De.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=se.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Z.GREATER_THAN_SIGN:{this._err(De.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=se.DATA,this.emitCurrentDoctype(r);break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(De.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=se.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const r=this.currentToken;switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:break;case Z.QUOTATION_MARK:{r.publicId="",this.state=se.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case Z.APOSTROPHE:{r.publicId="",this.state=se.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case Z.GREATER_THAN_SIGN:{this._err(De.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=se.DATA,this.emitCurrentDoctype(r);break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(De.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=se.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const r=this.currentToken;switch(e){case Z.QUOTATION_MARK:{this.state=se.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Z.NULL:{this._err(De.unexpectedNullCharacter),r.publicId+=jr;break}case Z.GREATER_THAN_SIGN:{this._err(De.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=se.DATA;break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const r=this.currentToken;switch(e){case Z.APOSTROPHE:{this.state=se.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case Z.NULL:{this._err(De.unexpectedNullCharacter),r.publicId+=jr;break}case Z.GREATER_THAN_SIGN:{this._err(De.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=se.DATA;break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const r=this.currentToken;switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:{this.state=se.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case Z.GREATER_THAN_SIGN:{this.state=se.DATA,this.emitCurrentDoctype(r);break}case Z.QUOTATION_MARK:{this._err(De.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=se.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Z.APOSTROPHE:{this._err(De.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=se.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(De.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=se.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const r=this.currentToken;switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:break;case Z.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=se.DATA;break}case Z.QUOTATION_MARK:{r.systemId="",this.state=se.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Z.APOSTROPHE:{r.systemId="",this.state=se.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(De.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=se.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const r=this.currentToken;switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:{this.state=se.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case Z.QUOTATION_MARK:{this._err(De.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=se.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Z.APOSTROPHE:{this._err(De.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=se.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Z.GREATER_THAN_SIGN:{this._err(De.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=se.DATA,this.emitCurrentDoctype(r);break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(De.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=se.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const r=this.currentToken;switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:break;case Z.QUOTATION_MARK:{r.systemId="",this.state=se.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case Z.APOSTROPHE:{r.systemId="",this.state=se.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case Z.GREATER_THAN_SIGN:{this._err(De.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=se.DATA,this.emitCurrentDoctype(r);break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(De.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=se.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const r=this.currentToken;switch(e){case Z.QUOTATION_MARK:{this.state=se.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Z.NULL:{this._err(De.unexpectedNullCharacter),r.systemId+=jr;break}case Z.GREATER_THAN_SIGN:{this._err(De.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=se.DATA;break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const r=this.currentToken;switch(e){case Z.APOSTROPHE:{this.state=se.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case Z.NULL:{this._err(De.unexpectedNullCharacter),r.systemId+=jr;break}case Z.GREATER_THAN_SIGN:{this._err(De.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=se.DATA;break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const r=this.currentToken;switch(e){case Z.SPACE:case Z.LINE_FEED:case Z.TABULATION:case Z.FORM_FEED:break;case Z.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=se.DATA;break}case Z.EOF:{this._err(De.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(De.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=se.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const r=this.currentToken;switch(e){case Z.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=se.DATA;break}case Z.NULL:{this._err(De.unexpectedNullCharacter);break}case Z.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(e){switch(e){case Z.RIGHT_SQUARE_BRACKET:{this.state=se.CDATA_SECTION_BRACKET;break}case Z.EOF:{this._err(De.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===Z.RIGHT_SQUARE_BRACKET?this.state=se.CDATA_SECTION_END:(this._emitChars("]"),this.state=se.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case Z.GREATER_THAN_SIGN:{this.state=se.DATA;break}case Z.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=se.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}e===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(Z.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&TT(this.preprocessor.peek(1))?se.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){TT(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===Z.SEMICOLON&&this._err(De.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}const oO=new Set([b.DD,b.DT,b.LI,b.OPTGROUP,b.OPTION,b.P,b.RB,b.RP,b.RT,b.RTC]),kT=new Set([...oO,b.CAPTION,b.COLGROUP,b.TBODY,b.TD,b.TFOOT,b.TH,b.THEAD,b.TR]),t1=new Set([b.APPLET,b.CAPTION,b.HTML,b.MARQUEE,b.OBJECT,b.TABLE,b.TD,b.TEMPLATE,b.TH]),One=new Set([...t1,b.OL,b.UL]),Ine=new Set([...t1,b.BUTTON]),AT=new Set([b.ANNOTATION_XML,b.MI,b.MN,b.MO,b.MS,b.MTEXT]),MT=new Set([b.DESC,b.FOREIGN_OBJECT,b.TITLE]),Rne=new Set([b.TR,b.TEMPLATE,b.HTML]),Fne=new Set([b.TBODY,b.TFOOT,b.THEAD,b.TEMPLATE,b.HTML]),Dne=new Set([b.TABLE,b.TEMPLATE,b.HTML]),Nne=new Set([b.TD,b.TH]);class Pne{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=b.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===b.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===$e.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,r){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,r,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,r){const n=this._indexOf(e);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(e,r,n){const i=this._indexOf(e)+1;this.items.splice(i,0,r),this.tagIDs.splice(i,0,n),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(e){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(e,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==$e.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(e){for(;this.stackTop>=e;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<e)}}popUntilElementPopped(e){const r=this._indexOf(e);this.shortenToLength(Math.max(r,0))}popUntilPopped(e,r){const n=this._indexOfTagNames(e,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(r4,$e.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Nne,$e.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,r){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(e,r){const n=this._indexOfTagNames(e,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Dne,$e.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Fne,$e.HTML)}clearBackToTableRowContext(){this.clearBackTo(Rne,$e.HTML)}remove(e){const r=this._indexOf(e);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===b.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const r=this._indexOf(e)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===b.HTML}hasInDynamicScope(e,r){for(let n=this.stackTop;n>=0;n--){const i=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case $e.HTML:{if(i===e)return!0;if(r.has(i))return!1;break}case $e.SVG:{if(MT.has(i))return!1;break}case $e.MATHML:{if(AT.has(i))return!1;break}}}return!0}hasInScope(e){return this.hasInDynamicScope(e,t1)}hasInListItemScope(e){return this.hasInDynamicScope(e,One)}hasInButtonScope(e){return this.hasInDynamicScope(e,Ine)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const r=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case $e.HTML:{if(r4.has(r))return!0;if(t1.has(r))return!1;break}case $e.SVG:{if(MT.has(r))return!1;break}case $e.MATHML:{if(AT.has(r))return!1;break}}}return!0}hasInTableScope(e){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===$e.HTML)switch(this.tagIDs[r]){case e:return!0;case b.TABLE:case b.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===$e.HTML)switch(this.tagIDs[e]){case b.TBODY:case b.THEAD:case b.TFOOT:return!0;case b.TABLE:case b.HTML:return!1}return!0}hasInSelectScope(e){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===$e.HTML)switch(this.tagIDs[r]){case e:return!0;case b.OPTION:case b.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&oO.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&kT.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==void 0&&this.currentTagId!==e&&kT.has(this.currentTagId);)this.pop()}}const Ov=3;var xa;(function(t){t[t.Marker=0]="Marker",t[t.Element=1]="Element"})(xa||(xa={}));const CT={type:xa.Marker};class Lne{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,r){const n=[],i=r.length,s=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let l=0;l<this.entries.length;l++){const u=this.entries[l];if(u.type===xa.Marker)break;const{element:p}=u;if(this.treeAdapter.getTagName(p)===s&&this.treeAdapter.getNamespaceURI(p)===a){const d=this.treeAdapter.getAttrList(p);d.length===i&&n.push({idx:l,attrs:d})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<Ov)return;const r=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,r);if(n.length<Ov)return;const i=new Map(r.map(a=>[a.name,a.value]));let s=0;for(let a=0;a<n.length;a++){const l=n[a];l.attrs.every(u=>i.get(u.name)===u.value)&&(s+=1,s>=Ov&&this.entries.splice(l.idx,1))}}insertMarker(){this.entries.unshift(CT)}pushElement(e,r){this._ensureNoahArkCondition(e),this.entries.unshift({type:xa.Element,element:e,token:r})}insertElementAfterBookmark(e,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:xa.Element,element:e,token:r})}removeEntry(e){const r=this.entries.indexOf(e);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const e=this.entries.indexOf(CT);e===-1?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){const r=this.entries.find(n=>n.type===xa.Marker||this.treeAdapter.getTagName(n.element)===e);return r&&r.type===xa.Element?r:null}getElementEntry(e){return this.entries.find(r=>r.type===xa.Element&&r.element===e)}}const dl={createDocument(){return{nodeName:"#document",mode:vs.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(t,e,r){return{nodeName:t,tagName:t,attrs:r,namespaceURI:e,childNodes:[],parentNode:null}},createCommentNode(t){return{nodeName:"#comment",data:t,parentNode:null}},createTextNode(t){return{nodeName:"#text",value:t,parentNode:null}},appendChild(t,e){t.childNodes.push(e),e.parentNode=t},insertBefore(t,e,r){const n=t.childNodes.indexOf(r);t.childNodes.splice(n,0,e),e.parentNode=t},setTemplateContent(t,e){t.content=e},getTemplateContent(t){return t.content},setDocumentType(t,e,r,n){const i=t.childNodes.find(s=>s.nodeName==="#documentType");if(i)i.name=e,i.publicId=r,i.systemId=n;else{const s={nodeName:"#documentType",name:e,publicId:r,systemId:n,parentNode:null};dl.appendChild(t,s)}},setDocumentMode(t,e){t.mode=e},getDocumentMode(t){return t.mode},detachNode(t){if(t.parentNode){const e=t.parentNode.childNodes.indexOf(t);t.parentNode.childNodes.splice(e,1),t.parentNode=null}},insertText(t,e){if(t.childNodes.length>0){const r=t.childNodes[t.childNodes.length-1];if(dl.isTextNode(r)){r.value+=e;return}}dl.appendChild(t,dl.createTextNode(e))},insertTextBefore(t,e,r){const n=t.childNodes[t.childNodes.indexOf(r)-1];n&&dl.isTextNode(n)?n.value+=e:dl.insertBefore(t,dl.createTextNode(e),r)},adoptAttributes(t,e){const r=new Set(t.attrs.map(n=>n.name));for(let n=0;n<e.length;n++)r.has(e[n].name)||t.attrs.push(e[n])},getFirstChild(t){return t.childNodes[0]},getChildNodes(t){return t.childNodes},getParentNode(t){return t.parentNode},getAttrList(t){return t.attrs},getTagName(t){return t.tagName},getNamespaceURI(t){return t.namespaceURI},getTextNodeContent(t){return t.value},getCommentNodeContent(t){return t.data},getDocumentTypeNodeName(t){return t.name},getDocumentTypeNodePublicId(t){return t.publicId},getDocumentTypeNodeSystemId(t){return t.systemId},isTextNode(t){return t.nodeName==="#text"},isCommentNode(t){return t.nodeName==="#comment"},isDocumentTypeNode(t){return t.nodeName==="#documentType"},isElementNode(t){return Object.prototype.hasOwnProperty.call(t,"tagName")},setNodeSourceCodeLocation(t,e){t.sourceCodeLocation=e},getNodeSourceCodeLocation(t){return t.sourceCodeLocation},updateNodeSourceCodeLocation(t,e){t.sourceCodeLocation={...t.sourceCodeLocation,...e}}},lO="html",Bne="about:legacy-compat",Une="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",uO=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],zne=[...uO,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],jne=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),cO=["-/
315/w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Hne=[...cO,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function OT(t,e){return e.some(r=>t.startsWith(r))}function Wne(t){return t.name===lO&&t.publicId===null&&(t.systemId===null||t.systemId===Bne)}function Gne(t){if(t.name!==lO)return vs.QUIRKS;const{systemId:e}=t;if(e&&e.toLowerCase()===Une)return vs.QUIRKS;let{publicId:r}=t;if(r!==null){if(r=r.toLowerCase(),jne.has(r))return vs.QUIRKS;let n=e===null?zne:uO;if(OT(r,n))return vs.QUIRKS;if(n=e===null?cO:Hne,OT(r,n))return vs.LIMITED_QUIRKS}return vs.NO_QUIRKS}const IT={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},$ne="definitionurl",qne="definitionURL",Vne=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(t=>[t.toLowerCase(),t])),Yne=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:$e.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:$e.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:$e.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:$e.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:$e.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:$e.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:$e.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:$e.XML}],["xml:space",{prefix:"xml",name:"space",namespace:$e.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:$e.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:$e.XMLNS}]]),Kne=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(t=>[t.toLowerCase(),t])),Xne=new Set([b.B,b.BIG,b.BLOCKQUOTE,b.BODY,b.BR,b.CENTER,b.CODE,b.DD,b.DIV,b.DL,b.DT,b.EM,b.EMBED,b.H1,b.H2,b.H3,b.H4,b.H5,b.H6,b.HEAD,b.HR,b.I,b.IMG,b.LI,b.LISTING,b.MENU,b.META,b.NOBR,b.OL,b.P,b.PRE,b.RUBY,b.S,b.SMALL,b.SPAN,b.STRONG,b.STRIKE,b.SUB,b.SUP,b.TABLE,b.TT,b.U,b.UL,b.VAR]);function Qne(t){const e=t.tagID;return e===b.FONT&&t.attrs.some(({name:n})=>n===Lu.COLOR||n===Lu.SIZE||n===Lu.FACE)||Xne.has(e)}function hO(t){for(let e=0;e<t.attrs.length;e++)if(t.attrs[e].name===$ne){t.attrs[e].name=qne;break}}function fO(t){for(let e=0;e<t.attrs.length;e++){const r=Vne.get(t.attrs[e].name);r!=null&&(t.attrs[e].name=r)}}function s6(t){for(let e=0;e<t.attrs.length;e++){const r=Yne.get(t.attrs[e].name);r&&(t.attrs[e].prefix=r.prefix,t.attrs[e].name=r.name,t.attrs[e].namespace=r.namespace)}}function Jne(t){const e=Kne.get(t.tagName);e!=null&&(t.tagName=e,t.tagID=nh(t.tagName))}function Zne(t,e){return e===$e.MATHML&&(t===b.MI||t===b.MO||t===b.MN||t===b.MS||t===b.MTEXT)}function eie(t,e,r){if(e===$e.MATHML&&t===b.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===Lu.ENCODING){const i=r[n].value.toLowerCase();return i===IT.TEXT_HTML||i===IT.APPLICATION_XML}}return e===$e.SVG&&(t===b.FOREIGN_OBJECT||t===b.DESC||t===b.TITLE)}function tie(t,e,r,n){return(!n||n===$e.HTML)&&eie(t,e,r)||(!n||n===$e.MATHML)&&Zne(t,e)}const rie="hidden",nie=8,iie=3;var de;(function(t){t[t.INITIAL=0]="INITIAL",t[t.BEFORE_HTML=1]="BEFORE_HTML",t[t.BEFORE_HEAD=2]="BEFORE_HEAD",t[t.IN_HEAD=3]="IN_HEAD",t[t.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",t[t.AFTER_HEAD=5]="AFTER_HEAD",t[t.IN_BODY=6]="IN_BODY",t[t.TEXT=7]="TEXT",t[t.IN_TABLE=8]="IN_TABLE",t[t.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",t[t.IN_CAPTION=10]="IN_CAPTION",t[t.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",t[t.IN_TABLE_BODY=12]="IN_TABLE_BODY",t[t.IN_ROW=13]="IN_ROW",t[t.IN_CELL=14]="IN_CELL",t[t.IN_SELECT=15]="IN_SELECT",t[t.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",t[t.IN_TEMPLATE=17]="IN_TEMPLATE",t[t.AFTER_BODY=18]="AFTER_BODY",t[t.IN_FRAMESET=19]="IN_FRAMESET",t[t.AFTER_FRAMESET=20]="AFTER_FRAMESET",t[t.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",t[t.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(de||(de={}));const sie={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},dO=new Set([b.TABLE,b.TBODY,b.TFOOT,b.THEAD,b.TR]),RT={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:dl,onParseError:null};let FT=class{constructor(e,r,n=null,i=null){this.fragmentContext=n,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=de.INITIAL,this.originalInsertionMode=de.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...RT,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r??this.treeAdapter.createDocument(),this.tokenizer=new Cne(this.options,this),this.activeFormattingElements=new Lne(this.treeAdapter),this.fragmentContextID=n?nh(this.treeAdapter.getTagName(n)):b.UNKNOWN,this._setContextModes(n??this.document,this.fragmentContextID),this.openElements=new Pne(this.document,this.treeAdapter,this)}static parse(e,r){const n=new this(r);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,r){const n={...RT,...r};e??(e=n.treeAdapter.createElement(ke.TEMPLATE,$e.HTML,[]));const i=n.treeAdapter.createElement("documentmock",$e.HTML,[]),s=new this(n,i,e);return s.fragmentContextID===b.TEMPLATE&&s.tmplInsertionModeStack.unshift(de.IN_TEMPLATE),s._initTokenizerForFragmentParsing(),s._insertFakeRootElement(),s._resetInsertionMode(),s._findFormInFragmentContext(),s}getFragment(){const e=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,r),r}_err(e,r,n){var i;if(!this.onParseError)return;
vendor: 42,587 bytes, line 315
315const s=(i=e.location)!==null&&i!==void 0?i:sie,a={code:r,startLine:s.startLine,startCol:s.startCol,startOffset:s.startOffset,endLine:n?s.startLine:s.endLine,endCol:n?s.startCol:s.endCol,endOffset:n?s.startOffset:s.endOffset};this.onParseError(a)}onItemPush(e,r,n){var i,s;(s=(i=this.treeAdapter).onItemPush)===null||s===void 0||s.call(i,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,r)}onItemPop(e,r){var n,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),(i=(n=this.treeAdapter).onItemPop)===null||i===void 0||i.call(n,e,this.openElements.current),r){let s,a;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,a=this.fragmentContextID):{current:s,currentTagId:a}=this.openElements,this._setContextModes(s,a)}}_setContextModes(e,r){const n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===$e.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&e!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,e)}_switchToTextParsing(e,r){this._insertElement(e,$e.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=de.TEXT}switchToPlaintextParsing(){this.insertionMode=de.TEXT,this.originalInsertionMode=de.IN_BODY,this.tokenizer.state=on.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===ke.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==$e.HTML))switch(this.fragmentContextID){case b.TITLE:case b.TEXTAREA:{this.tokenizer.state=on.RCDATA;break}case b.STYLE:case b.XMP:case b.IFRAME:case b.NOEMBED:case b.NOFRAMES:case b.NOSCRIPT:{this.tokenizer.state=on.RAWTEXT;break}case b.SCRIPT:{this.tokenizer.state=on.SCRIPT_DATA;break}case b.PLAINTEXT:{this.tokenizer.state=on.PLAINTEXT;break}}}_setDocumentType(e){const r=e.name||"",n=e.publicId||"",i=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,i),e.location){const a=this.treeAdapter.getChildNodes(this.document).find(l=>this.treeAdapter.isDocumentTypeNode(l));a&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}}_attachElementToTree(e,r){if(this.options.sourceCodeLocationInfo){const n=r&&{...r,startTag:r};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n??this.document,e)}}_appendElement(e,r){const n=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,r){const n=this.treeAdapter.createElement(e.tagName,r,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,r){const n=this.treeAdapter.createElement(e,$e.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(e){const r=this.treeAdapter.createElement(e.tagName,$e.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,e.location),this.openElements.push(r,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(ke.HTML,$e.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,b.HTML)}_appendCommentNode(e,r){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,e.chars,n):this.treeAdapter.insertText(r,e.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,e.chars)),!e.location)return;const i=this.treeAdapter.getChildNodes(r),s=n?i.lastIndexOf(n):i.length,a=i[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:u,endCol:p,endOffset:d}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:u,endCol:p,endOffset:d})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,r){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(e,r){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&r.location){const n=r.location,i=this.treeAdapter.getTagName(e),s=r.type===er.END_TAG&&i===r.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,s)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,e.tagID===b.SVG&&this.treeAdapter.getTagName(r)===ke.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===$e.MATHML?!1:this.tokenizer.inForeignNode||(e.tagID===b.MGLYPH||e.tagID===b.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,$e.HTML)}_processToken(e){switch(e.type){case er.CHARACTER:{this.onCharacter(e);break}case er.NULL_CHARACTER:{this.onNullCharacter(e);break}case er.COMMENT:{this.onComment(e);break}case er.DOCTYPE:{this.onDoctype(e);break}case er.START_TAG:{this._processStartTag(e);break}case er.END_TAG:{this.onEndTag(e);break}case er.EOF:{this.onEof(e);break}case er.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(e);break}}}_isIntegrationPoint(e,r,n){const i=this.treeAdapter.getNamespaceURI(r),s=this.treeAdapter.getAttrList(r);return tie(e,i,s,n)}_reconstructActiveFormattingElements(){const e=this.activeFormattingElements.entries.length;if(e){const r=this.activeFormattingElements.entries.findIndex(i=>i.type===xa.Marker||this.openElements.contains(i.element)),n=r===-1?e-1:r-1;for(let i=n;i>=0;i--){const s=this.activeFormattingElements.entries[i];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=de.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(b.P),this.openElements.popUntilTagNamePopped(b.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(e===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case b.TR:{this.insertionMode=de.IN_ROW;return}case b.TBODY:case b.THEAD:case b.TFOOT:{this.insertionMode=de.IN_TABLE_BODY;return}case b.CAPTION:{this.insertionMode=de.IN_CAPTION;return}case b.COLGROUP:{this.insertionMode=de.IN_COLUMN_GROUP;return}case b.TABLE:{this.insertionMode=de.IN_TABLE;return}case b.BODY:{this.insertionMode=de.IN_BODY;return}case b.FRAMESET:{this.insertionMode=de.IN_FRAMESET;return}case b.SELECT:{this._resetInsertionModeForSelect(e);return}case b.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case b.HTML:{this.insertionMode=this.headElement?de.AFTER_HEAD:de.BEFORE_HEAD;return}case b.TD:case b.TH:{if(e>0){this.insertionMode=de.IN_CELL;return}break}case b.HEAD:{if(e>0){this.insertionMode=de.IN_HEAD;return}break}}this.insertionMode=de.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let r=e-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===b.TEMPLATE)break;if(n===b.TABLE){this.insertionMode=de.IN_SELECT_IN_TABLE;return}}this.insertionMode=de.IN_SELECT}_isElementCausesFosterParenting(e){return dO.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const r=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case b.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===$e.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case b.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,e,r.beforeElement):this.treeAdapter.appendChild(r.parent,e)}_isSpecialElement(e,r){const n=this.treeAdapter.getNamespaceURI(e);return xne[n].has(r)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Nse(this,e);return}switch(this.insertionMode){case de.INITIAL:{Wh(this,e);break}case de.BEFORE_HTML:{_f(this,e);break}case de.BEFORE_HEAD:{yf(this,e);break}case de.IN_HEAD:{vf(this,e);break}case de.IN_HEAD_NO_SCRIPT:{bf(this,e);break}case de.AFTER_HEAD:{wf(this,e);break}case de.IN_BODY:case de.IN_CAPTION:case de.IN_CELL:case de.IN_TEMPLATE:{mO(this,e);break}case de.TEXT:case de.IN_SELECT:case de.IN_SELECT_IN_TABLE:{this._insertCharacters(e);break}case de.IN_TABLE:case de.IN_TABLE_BODY:case de.IN_ROW:{Iv(this,e);break}case de.IN_TABLE_TEXT:{wO(this,e);break}case de.IN_COLUMN_GROUP:{r1(this,e);break}case de.AFTER_BODY:{n1(this,e);break}case de.AFTER_AFTER_BODY:{fg(this,e);break}}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Dse(this,e);return}switch(this.insertionMode){case de.INITIAL:{Wh(this,e);break}case de.BEFORE_HTML:{_f(this,e);break}case de.BEFORE_HEAD:{yf(this,e);break}case de.IN_HEAD:{vf(this,e);break}case de.IN_HEAD_NO_SCRIPT:{bf(this,e);break}case de.AFTER_HEAD:{wf(this,e);break}case de.TEXT:{this._insertCharacters(e);break}case de.IN_TABLE:case de.IN_TABLE_BODY:case de.IN_ROW:{Iv(this,e);break}case de.IN_COLUMN_GROUP:{r1(this,e);break}case de.AFTER_BODY:{n1(this,e);break}case de.AFTER_AFTER_BODY:{fg(this,e);break}}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML){n4(this,e);return}switch(this.insertionMode){case de.INITIAL:case de.BEFORE_HTML:case de.BEFORE_HEAD:case de.IN_HEAD:case de.IN_HEAD_NO_SCRIPT:case de.AFTER_HEAD:case de.IN_BODY:case de.IN_TABLE:case de.IN_CAPTION:case de.IN_COLUMN_GROUP:case de.IN_TABLE_BODY:case de.IN_ROW:case de.IN_CELL:case de.IN_SELECT:case de.IN_SELECT_IN_TABLE:case de.IN_TEMPLATE:case de.IN_FRAMESET:case de.AFTER_FRAMESET:{n4(this,e);break}case de.IN_TABLE_TEXT:{Gh(this,e);break}case de.AFTER_BODY:{fie(this,e);break}case de.AFTER_AFTER_BODY:case de.AFTER_AFTER_FRAMESET:{die(this,e);break}}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case de.INITIAL:{pie(this,e);break}case de.BEFORE_HEAD:case de.IN_HEAD:case de.IN_HEAD_NO_SCRIPT:case de.AFTER_HEAD:{this._err(e,De.misplacedDoctype);break}case de.IN_TABLE_TEXT:{Gh(this,e);break}}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,De.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?Pse(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case de.INITIAL:{Wh(this,e);break}case de.BEFORE_HTML:{mie(this,e);break}case de.BEFORE_HEAD:{_ie(this,e);break}case de.IN_HEAD:{oa(this,e);break}case de.IN_HEAD_NO_SCRIPT:{bie(this,e);break}case de.AFTER_HEAD:{Eie(this,e);break}case de.IN_BODY:{Zn(this,e);break}case de.IN_TABLE:{j0(this,e);break}case de.IN_TABLE_TEXT:{Gh(this,e);break}case de.IN_CAPTION:{yse(this,e);break}case de.IN_COLUMN_GROUP:{l6(this,e);break}case de.IN_TABLE_BODY:{f_(this,e);break}case de.IN_ROW:{d_(this,e);break}case de.IN_CELL:{wse(this,e);break}case de.IN_SELECT:{TO(this,e);break}case de.IN_SELECT_IN_TABLE:{Sse(this,e);break}case de.IN_TEMPLATE:{xse(this,e);break}case de.AFTER_BODY:{Ase(this,e);break}case de.IN_FRAMESET:{Mse(this,e);break}case de.AFTER_FRAMESET:{Ose(this,e);break}case de.AFTER_AFTER_BODY:{Rse(this,e);break}case de.AFTER_AFTER_FRAMESET:{Fse(this,e);break}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?Lse(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case de.INITIAL:{Wh(this,e);break}case de.BEFORE_HTML:{gie(this,e);break}case de.BEFORE_HEAD:{yie(this,e);break}case de.IN_HEAD:{vie(this,e);break}case de.IN_HEAD_NO_SCRIPT:{wie(this,e);break}case de.AFTER_HEAD:{Sie(this,e);break}case de.IN_BODY:{h_(this,e);break}case de.TEXT:{lse(this,e);break}case de.IN_TABLE:{Zf(this,e);break}case de.IN_TABLE_TEXT:{Gh(this,e);break}case de.IN_CAPTION:{vse(this,e);break}case de.IN_COLUMN_GROUP:{bse(this,e);break}case de.IN_TABLE_BODY:{i4(this,e);break}case de.IN_ROW:{SO(this,e);break}case de.IN_CELL:{Ese(this,e);break}case de.IN_SELECT:{xO(this,e);break}case de.IN_SELECT_IN_TABLE:{Tse(this,e);break}case de.IN_TEMPLATE:{kse(this,e);break}case de.AFTER_BODY:{AO(this,e);break}case de.IN_FRAMESET:{Cse(this,e);break}case de.AFTER_FRAMESET:{Ise(this,e);break}case de.AFTER_AFTER_BODY:{fg(this,e);break}}}onEof(e){switch(this.insertionMode){case de.INITIAL:{Wh(this,e);break}case de.BEFORE_HTML:{_f(this,e);break}case de.BEFORE_HEAD:{yf(this,e);break}case de.IN_HEAD:{vf(this,e);break}case de.IN_HEAD_NO_SCRIPT:{bf(this,e);break}case de.AFTER_HEAD:{wf(this,e);break}case de.IN_BODY:case de.IN_TABLE:case de.IN_CAPTION:case de.IN_COLUMN_GROUP:case de.IN_TABLE_BODY:case de.IN_ROW:case de.IN_CELL:case de.IN_SELECT:case de.IN_SELECT_IN_TABLE:{vO(this,e);break}case de.TEXT:{use(this,e);break}case de.IN_TABLE_TEXT:{Gh(this,e);break}case de.IN_TEMPLATE:{kO(this,e);break}case de.AFTER_BODY:case de.IN_FRAMESET:case de.AFTER_FRAMESET:case de.AFTER_AFTER_BODY:case de.AFTER_AFTER_FRAMESET:{o6(this,e);break}}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===Z.LINE_FEED)){if(e.chars.length===1)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(e);return}switch(this.insertionMode){case de.IN_HEAD:case de.IN_HEAD_NO_SCRIPT:case de.AFTER_HEAD:case de.TEXT:case de.IN_COLUMN_GROUP:case de.IN_SELECT:case de.IN_SELECT_IN_TABLE:case de.IN_FRAMESET:case de.AFTER_FRAMESET:{this._insertCharacters(e);break}case de.IN_BODY:case de.IN_CAPTION:case de.IN_CELL:case de.IN_TEMPLATE:case de.AFTER_BODY:case de.AFTER_AFTER_BODY:case de.AFTER_AFTER_FRAMESET:{pO(this,e);break}case de.IN_TABLE:case de.IN_TABLE_BODY:case de.IN_ROW:{Iv(this,e);break}case de.IN_TABLE_TEXT:{bO(this,e);break}}}};function aie(t,e){let r=t.activeFormattingElements.getElementEntryInScopeWithTagName(e.tagName);return r?t.openElements.contains(r.element)?t.openElements.hasInScope(e.tagID)||(r=null):(t.activeFormattingElements.removeEntry(r),r=null):yO(t,e),r}function oie(t,e){let r=null,n=t.openElements.stackTop;for(;n>=0;n--){const i=t.openElements.items[n];if(i===e.element)break;t._isSpecialElement(i,t.openElements.tagIDs[n])&&(r=i)}return r||(t.openElements.shortenToLength(Math.max(n,0)),t.activeFormattingElements.removeEntry(e)),r}function lie(t,e,r){let n=e,i=t.openElements.getCommonAncestor(e);for(let s=0,a=i;a!==r;s++,a=i){i=t.openElements.getCommonAncestor(a);const l=t.activeFormattingElements.getElementEntry(a),u=l&&s>=iie;!l||u?(u&&t.activeFormattingElements.removeEntry(l),t.openElements.remove(a)):(a=uie(t,l),n===e&&(t.activeFormattingElements.bookmark=l),t.treeAdapter.detachNode(n),t.treeAdapter.appendChild(a,n),n=a)}return n}function uie(t,e){const r=t.treeAdapter.getNamespaceURI(e.element),n=t.treeAdapter.createElement(e.token.tagName,r,e.token.attrs);return t.openElements.replace(e.element,n),e.element=n,n}function cie(t,e,r){const n=t.treeAdapter.getTagName(e),i=nh(n);if(t._isElementCausesFosterParenting(i))t._fosterParentElement(r);else{const s=t.treeAdapter.getNamespaceURI(e);i===b.TEMPLATE&&s===$e.HTML&&(e=t.treeAdapter.getTemplateContent(e)),t.treeAdapter.appendChild(e,r)}}function hie(t,e,r){const n=t.treeAdapter.getNamespaceURI(r.element),{token:i}=r,s=t.treeAdapter.createElement(i.tagName,n,i.attrs);t._adoptNodes(e,s),t.treeAdapter.appendChild(e,s),t.activeFormattingElements.insertElementAfterBookmark(s,i),t.activeFormattingElements.removeEntry(r),t.openElements.remove(r.element),t.openElements.insertAfter(e,s,i.tagID)}function a6(t,e){for(let r=0;r<nie;r++){const n=aie(t,e);if(!n)break;const i=oie(t,n);if(!i)break;t.activeFormattingElements.bookmark=n;const s=lie(t,i,n.element),a=t.openElements.getCommonAncestor(n.element);t.treeAdapter.detachNode(s),a&&cie(t,a,s),hie(t,i,n)}}function n4(t,e){t._appendCommentNode(e,t.openElements.currentTmplContentOrNode)}function fie(t,e){t._appendCommentNode(e,t.openElements.items[0])}function die(t,e){t._appendCommentNode(e,t.document)}function o6(t,e){if(t.stopped=!0,e.location){const r=t.fragmentContext?0:2;for(let n=t.openElements.stackTop;n>=r;n--)t._setEndLocation(t.openElements.items[n],e);if(!t.fragmentContext&&t.openElements.stackTop>=0){const n=t.openElements.items[0],i=t.treeAdapter.getNodeSourceCodeLocation(n);if(i&&!i.endTag&&(t._setEndLocation(n,e),t.openElements.stackTop>=1)){const s=t.openElements.items[1],a=t.treeAdapter.getNodeSourceCodeLocation(s);a&&!a.endTag&&t._setEndLocation(s,e)}}}}function pie(t,e){t._setDocumentType(e);const r=e.forceQuirks?vs.QUIRKS:Gne(e);Wne(e)||t._err(e,De.nonConformingDoctype),t.treeAdapter.setDocumentMode(t.document,r),t.insertionMode=de.BEFORE_HTML}function Wh(t,e){t._err(e,De.missingDoctype,!0),t.treeAdapter.setDocumentMode(t.document,vs.QUIRKS),t.insertionMode=de.BEFORE_HTML,t._processToken(e)}function mie(t,e){e.tagID===b.HTML?(t._insertElement(e,$e.HTML),t.insertionMode=de.BEFORE_HEAD):_f(t,e)}function gie(t,e){const r=e.tagID;(r===b.HTML||r===b.HEAD||r===b.BODY||r===b.BR)&&_f(t,e)}function _f(t,e){t._insertFakeRootElement(),t.insertionMode=de.BEFORE_HEAD,t._processToken(e)}function _ie(t,e){switch(e.tagID){case b.HTML:{Zn(t,e);break}case b.HEAD:{t._insertElement(e,$e.HTML),t.headElement=t.openElements.current,t.insertionMode=de.IN_HEAD;break}default:yf(t,e)}}function yie(t,e){const r=e.tagID;r===b.HEAD||r===b.BODY||r===b.HTML||r===b.BR?yf(t,e):t._err(e,De.endTagWithoutMatchingOpenElement)}function yf(t,e){t._insertFakeElement(ke.HEAD,b.HEAD),t.headElement=t.openElements.current,t.insertionMode=de.IN_HEAD,t._processToken(e)}function oa(t,e){switch(e.tagID){case b.HTML:{Zn(t,e);break}case b.BASE:case b.BASEFONT:case b.BGSOUND:case b.LINK:case b.META:{t._appendElement(e,$e.HTML),e.ackSelfClosing=!0;break}case b.TITLE:{t._switchToTextParsing(e,on.RCDATA);break}case b.NOSCRIPT:{t.options.scriptingEnabled?t._switchToTextParsing(e,on.RAWTEXT):(t._insertElement(e,$e.HTML),t.insertionMode=de.IN_HEAD_NO_SCRIPT);break}case b.NOFRAMES:case b.STYLE:{t._switchToTextParsing(e,on.RAWTEXT);break}case b.SCRIPT:{t._switchToTextParsing(e,on.SCRIPT_DATA);break}case b.TEMPLATE:{t._insertTemplate(e),t.activeFormattingElements.insertMarker(),t.framesetOk=!1,t.insertionMode=de.IN_TEMPLATE,t.tmplInsertionModeStack.unshift(de.IN_TEMPLATE);break}case b.HEAD:{t._err(e,De.misplacedStartTagForHeadElement);break}default:vf(t,e)}}function vie(t,e){switch(e.tagID){case b.HEAD:{t.openElements.pop(),t.insertionMode=de.AFTER_HEAD;break}case b.BODY:case b.BR:case b.HTML:{vf(t,e);break}case b.TEMPLATE:{nc(t,e);break}default:t._err(e,De.endTagWithoutMatchingOpenElement)}}function nc(t,e){t.openElements.tmplCount>0?(t.openElements.generateImpliedEndTagsThoroughly(),t.openElements.currentTagId!==b.TEMPLATE&&t._err(e,De.closingOfElementWithOpenChildElements),t.openElements.popUntilTagNamePopped(b.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode()):t._err(e,De.endTagWithoutMatchingOpenElement)}function vf(t,e){t.openElements.pop(),t.insertionMode=de.AFTER_HEAD,t._processToken(e)}function bie(t,e){switch(e.tagID){case b.HTML:{Zn(t,e);break}case b.BASEFONT:case b.BGSOUND:case b.HEAD:case b.LINK:case b.META:case b.NOFRAMES:case b.STYLE:{oa(t,e);break}case b.NOSCRIPT:{t._err(e,De.nestedNoscriptInHead);break}default:bf(t,e)}}function wie(t,e){switch(e.tagID){case b.NOSCRIPT:{t.openElements.pop(),t.insertionMode=de.IN_HEAD;break}case b.BR:{bf(t,e);break}default:t._err(e,De.endTagWithoutMatchingOpenElement)}}function bf(t,e){const r=e.type===er.EOF?De.openElementsLeftAfterEof:De.disallowedContentInNoscriptInHead;t._err(e,r),t.openElements.pop(),t.insertionMode=de.IN_HEAD,t._processToken(e)}function Eie(t,e){switch(e.tagID){case b.HTML:{Zn(t,e);break}case b.BODY:{t._insertElement(e,$e.HTML),t.framesetOk=!1,t.insertionMode=de.IN_BODY;break}case b.FRAMESET:{t._insertElement(e,$e.HTML),t.insertionMode=de.IN_FRAMESET;break}case b.BASE:case b.BASEFONT:case b.BGSOUND:case b.LINK:case b.META:case b.NOFRAMES:case b.SCRIPT:case b.STYLE:case b.TEMPLATE:case b.TITLE:{t._err(e,De.abandonedHeadElementChild),t.openElements.push(t.headElement,b.HEAD),oa(t,e),t.openElements.remove(t.headElement);break}case b.HEAD:{t._err(e,De.misplacedStartTagForHeadElement);break}default:wf(t,e)}}function Sie(t,e){switch(e.tagID){case b.BODY:case b.HTML:case b.BR:{wf(t,e);break}case b.TEMPLATE:{nc(t,e);break}default:t._err(e,De.endTagWithoutMatchingOpenElement)}}function wf(t,e){t._insertFakeElement(ke.BODY,b.BODY),t.insertionMode=de.IN_BODY,c_(t,e)}function c_(t,e){switch(e.type){case er.CHARACTER:{mO(t,e);break}case er.WHITESPACE_CHARACTER:{pO(t,e);break}case er.COMMENT:{n4(t,e);break}case er.START_TAG:{Zn(t,e);break}case er.END_TAG:{h_(t,e);break}case er.EOF:{vO(t,e);break}}}function pO(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e)}function mO(t,e){t._reconstructActiveFormattingElements(),t._insertCharacters(e),t.framesetOk=!1}function Tie(t,e){t.openElements.tmplCount===0&&t.treeAdapter.adoptAttributes(t.openElements.items[0],e.attrs)}function xie(t,e){const r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t.openElements.tmplCount===0&&(t.framesetOk=!1,t.treeAdapter.adoptAttributes(r,e.attrs))}function kie(t,e){const r=t.openElements.tryPeekProperlyNestedBodyElement();t.framesetOk&&r&&(t.treeAdapter.detachNode(r),t.openElements.popAllUpToHtmlElement(),t._insertElement(e,$e.HTML),t.insertionMode=de.IN_FRAMESET)}function Aie(t,e){t.openElements.hasInButtonScope(b.P)&&t._closePElement(),t._insertElement(e,$e.HTML)}function Mie(t,e){t.openElements.hasInButtonScope(b.P)&&t._closePElement(),t.openElements.currentTagId!==void 0&&r4.has(t.openElements.currentTagId)&&t.openElements.pop(),t._insertElement(e,$e.HTML)}function Cie(t,e){t.openElements.hasInButtonScope(b.P)&&t._closePElement(),t._insertElement(e,$e.HTML),t.skipNextNewLine=!0,t.framesetOk=!1}function Oie(t,e){const r=t.openElements.tmplCount>0;(!t.formElement||r)&&(t.openElements.hasInButtonScope(b.P)&&t._closePElement(),t._insertElement(e,$e.HTML),r||(t.formElement=t.openElements.current))}function Iie(t,e){t.framesetOk=!1;const r=e.tagID;for(let n=t.openElements.stackTop;n>=0;n--){const i=t.openElements.tagIDs[n];if(r===b.LI&&i===b.LI||(r===b.DD||r===b.DT)&&(i===b.DD||i===b.DT)){t.openElements.generateImpliedEndTagsWithExclusion(i),t.openElements.popUntilTagNamePopped(i);break}if(i!==b.ADDRESS&&i!==b.DIV&&i!==b.P&&t._isSpecialElement(t.openElements.items[n],i))break}t.openElements.hasInButtonScope(b.P)&&t._closePElement(),t._insertElement(e,$e.HTML)}function Rie(t,e){t.openElements.hasInButtonScope(b.P)&&t._closePElement(),t._insertElement(e,$e.HTML),t.tokenizer.state=on.PLAINTEXT}function Fie(t,e){t.openElements.hasInScope(b.BUTTON)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(b.BUTTON)),t._reconstructActiveFormattingElements(),t._insertElement(e,$e.HTML),t.framesetOk=!1}function Die(t,e){const r=t.activeFormattingElements.getElementEntryInScopeWithTagName(ke.A);r&&(a6(t,e),t.openElements.remove(r.element),t.activeFormattingElements.removeEntry(r)),t._reconstructActiveFormattingElements(),t._insertElement(e,$e.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function Nie(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,$e.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function Pie(t,e){t._reconstructActiveFormattingElements(),t.openElements.hasInScope(b.NOBR)&&(a6(t,e),t._reconstructActiveFormattingElements()),t._insertElement(e,$e.HTML),t.activeFormattingElements.pushElement(t.openElements.current,e)}function Lie(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,$e.HTML),t.activeFormattingElements.insertMarker(),t.framesetOk=!1}function Bie(t,e){t.treeAdapter.getDocumentMode(t.document)!==vs.QUIRKS&&t.openElements.hasInButtonScope(b.P)&&t._closePElement(),t._insertElement(e,$e.HTML),t.framesetOk=!1,t.insertionMode=de.IN_TABLE}function gO(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,$e.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function _O(t){const e=sO(t,Lu.TYPE);return e!=null&&e.toLowerCase()===rie}function Uie(t,e){t._reconstructActiveFormattingElements(),t._appendElement(e,$e.HTML),_O(e)||(t.framesetOk=!1),e.ackSelfClosing=!0}function zie(t,e){t._appendElement(e,$e.HTML),e.ackSelfClosing=!0}function jie(t,e){t.openElements.hasInButtonScope(b.P)&&t._closePElement(),t._appendElement(e,$e.HTML),t.framesetOk=!1,e.ackSelfClosing=!0}function Hie(t,e){e.tagName=ke.IMG,e.tagID=b.IMG,gO(t,e)}function Wie(t,e){t._insertElement(e,$e.HTML),t.skipNextNewLine=!0,t.tokenizer.state=on.RCDATA,t.originalInsertionMode=t.insertionMode,t.framesetOk=!1,t.insertionMode=de.TEXT}function Gie(t,e){t.openElements.hasInButtonScope(b.P)&&t._closePElement(),t._reconstructActiveFormattingElements(),t.framesetOk=!1,t._switchToTextParsing(e,on.RAWTEXT)}function $ie(t,e){t.framesetOk=!1,t._switchToTextParsing(e,on.RAWTEXT)}function DT(t,e){t._switchToTextParsing(e,on.RAWTEXT)}function qie(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,$e.HTML),t.framesetOk=!1,t.insertionMode=t.insertionMode===de.IN_TABLE||t.insertionMode===de.IN_CAPTION||t.insertionMode===de.IN_TABLE_BODY||t.insertionMode===de.IN_ROW||t.insertionMode===de.IN_CELL?de.IN_SELECT_IN_TABLE:de.IN_SELECT}function Vie(t,e){t.openElements.currentTagId===b.OPTION&&t.openElements.pop(),t._reconstructActiveFormattingElements(),t._insertElement(e,$e.HTML)}function Yie(t,e){t.openElements.hasInScope(b.RUBY)&&t.openElements.generateImpliedEndTags(),t._insertElement(e,$e.HTML)}function Kie(t,e){t.openElements.hasInScope(b.RUBY)&&t.openElements.generateImpliedEndTagsWithExclusion(b.RTC),t._insertElement(e,$e.HTML)}function Xie(t,e){t._reconstructActiveFormattingElements(),hO(e),s6(e),e.selfClosing?t._appendElement(e,$e.MATHML):t._insertElement(e,$e.MATHML),e.ackSelfClosing=!0}function Qie(t,e){t._reconstructActiveFormattingElements(),fO(e),s6(e),e.selfClosing?t._appendElement(e,$e.SVG):t._insertElement(e,$e.SVG),e.ackSelfClosing=!0}function NT(t,e){t._reconstructActiveFormattingElements(),t._insertElement(e,$e.HTML)}function Zn(t,e){switch(e.tagID){case b.I:case b.S:case b.B:case b.U:case b.EM:case b.TT:case b.BIG:case b.CODE:case b.FONT:case b.SMALL:case b.STRIKE:case b.STRONG:{Nie(t,e);break}case b.A:{Die(t,e);break}case b.H1:case b.H2:case b.H3:case b.H4:case b.H5:case b.H6:{Mie(t,e);break}case b.P:case b.DL:case b.OL:case b.UL:case b.DIV:case b.DIR:case b.NAV:case b.MAIN:case b.MENU:case b.ASIDE:case b.CENTER:case b.FIGURE:case b.FOOTER:case b.HEADER:case b.HGROUP:case b.DIALOG:case b.DETAILS:case b.ADDRESS:case b.ARTICLE:case b.SEARCH:case b.SECTION:case b.SUMMARY:case b.FIELDSET:case b.BLOCKQUOTE:case b.FIGCAPTION:{Aie(t,e);break}case b.LI:case b.DD:case b.DT:{Iie(t,e);break}case b.BR:case b.IMG:case b.WBR:case b.AREA:case b.EMBED:case b.KEYGEN:{gO(t,e);break}case b.HR:{jie(t,e);break}case b.RB:case b.RTC:{Yie(t,e);break}case b.RT:case b.RP:{Kie(t,e);break}case b.PRE:case b.LISTING:{Cie(t,e);break}case b.XMP:{Gie(t,e);break}case b.SVG:{Qie(t,e);break}case b.HTML:{Tie(t,e);break}case b.BASE:case b.LINK:case b.META:case b.STYLE:case b.TITLE:case b.SCRIPT:case b.BGSOUND:case b.BASEFONT:case b.TEMPLATE:{oa(t,e);break}case b.BODY:{xie(t,e);break}case b.FORM:{Oie(t,e);break}case b.NOBR:{Pie(t,e);break}case b.MATH:{Xie(t,e);break}case b.TABLE:{Bie(t,e);break}case b.INPUT:{Uie(t,e);break}case b.PARAM:case b.TRACK:case b.SOURCE:{zie(t,e);break}case b.IMAGE:{Hie(t,e);break}case b.BUTTON:{Fie(t,e);break}case b.APPLET:case b.OBJECT:case b.MARQUEE:{Lie(t,e);break}case b.IFRAME:{$ie(t,e);break}case b.SELECT:{qie(t,e);break}case b.OPTION:case b.OPTGROUP:{Vie(t,e);break}case b.NOEMBED:case b.NOFRAMES:{DT(t,e);break}case b.FRAMESET:{kie(t,e);break}case b.TEXTAREA:{Wie(t,e);break}case b.NOSCRIPT:{t.options.scriptingEnabled?DT(t,e):NT(t,e);break}case b.PLAINTEXT:{Rie(t,e);break}case b.COL:case b.TH:case b.TD:case b.TR:case b.HEAD:case b.FRAME:case b.TBODY:case b.TFOOT:case b.THEAD:case b.CAPTION:case b.COLGROUP:break;default:NT(t,e)}}function Jie(t,e){if(t.openElements.hasInScope(b.BODY)&&(t.insertionMode=de.AFTER_BODY,t.options.sourceCodeLocationInfo)){const r=t.openElements.tryPeekProperlyNestedBodyElement();r&&t._setEndLocation(r,e)}}function Zie(t,e){t.openElements.hasInScope(b.BODY)&&(t.insertionMode=de.AFTER_BODY,AO(t,e))}function ese(t,e){const r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r))}function tse(t){const e=t.openElements.tmplCount>0,{formElement:r}=t;e||(t.formElement=null),(r||e)&&t.openElements.hasInScope(b.FORM)&&(t.openElements.generateImpliedEndTags(),e?t.openElements.popUntilTagNamePopped(b.FORM):r&&t.openElements.remove(r))}function rse(t){t.openElements.hasInButtonScope(b.P)||t._insertFakeElement(ke.P,b.P),t._closePElement()}function nse(t){t.openElements.hasInListItemScope(b.LI)&&(t.openElements.generateImpliedEndTagsWithExclusion(b.LI),t.openElements.popUntilTagNamePopped(b.LI))}function ise(t,e){const r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTagsWithExclusion(r),t.openElements.popUntilTagNamePopped(r))}function sse(t){t.openElements.hasNumberedHeaderInScope()&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilNumberedHeaderPopped())}function ase(t,e){const r=e.tagID;t.openElements.hasInScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker())}function ose(t){t._reconstructActiveFormattingElements(),t._insertFakeElement(ke.BR,b.BR),t.openElements.pop(),t.framesetOk=!1}function yO(t,e){const r=e.tagName,n=e.tagID;for(let i=t.openElements.stackTop;i>0;i--){const s=t.openElements.items[i],a=t.openElements.tagIDs[i];if(n===a&&(n!==b.UNKNOWN||t.treeAdapter.getTagName(s)===r)){t.openElements.generateImpliedEndTagsWithExclusion(n),t.openElements.stackTop>=i&&t.openElements.shortenToLength(i);break}if(t._isSpecialElement(s,a))break}}function h_(t,e){switch(e.tagID){case b.A:case b.B:case b.I:case b.S:case b.U:case b.EM:case b.TT:case b.BIG:case b.CODE:case b.FONT:case b.NOBR:case b.SMALL:case b.STRIKE:case b.STRONG:{a6(t,e);break}case b.P:{rse(t);break}case b.DL:case b.UL:case b.OL:case b.DIR:case b.DIV:case b.NAV:case b.PRE:case b.MAIN:case b.MENU:case b.ASIDE:case b.BUTTON:case b.CENTER:case b.FIGURE:case b.FOOTER:case b.HEADER:case b.HGROUP:case b.DIALOG:case b.ADDRESS:case b.ARTICLE:case b.DETAILS:case b.SEARCH:case b.SECTION:case b.SUMMARY:case b.LISTING:case b.FIELDSET:case b.BLOCKQUOTE:case b.FIGCAPTION:{ese(t,e);break}case b.LI:{nse(t);break}case b.DD:case b.DT:{ise(t,e);break}case b.H1:case b.H2:case b.H3:case b.H4:case b.H5:case b.H6:{sse(t);break}case b.BR:{ose(t);break}case b.BODY:{Jie(t,e);break}case b.HTML:{Zie(t,e);break}case b.FORM:{tse(t);break}case b.APPLET:case b.OBJECT:case b.MARQUEE:{ase(t,e);break}case b.TEMPLATE:{nc(t,e);break}default:yO(t,e)}}function vO(t,e){t.tmplInsertionModeStack.length>0?kO(t,e):o6(t,e)}function lse(t,e){var r;e.tagID===b.SCRIPT&&((r=t.scriptHandler)===null||r===void 0||r.call(t,t.openElements.current)),t.openElements.pop(),t.insertionMode=t.originalInsertionMode}function use(t,e){t._err(e,De.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(e)}function Iv(t,e){if(t.openElements.currentTagId!==void 0&&dO.has(t.openElements.currentTagId))switch(t.pendingCharacterTokens.length=0,t.hasNonWhitespacePendingCharacterToken=!1,t.originalInsertionMode=t.insertionMode,t.insertionMode=de.IN_TABLE_TEXT,e.type){case er.CHARACTER:{wO(t,e);break}case er.WHITESPACE_CHARACTER:{bO(t,e);break}}else Dd(t,e)}function cse(t,e){t.openElements.clearBackToTableContext(),t.activeFormattingElements.insertMarker(),t._insertElement(e,$e.HTML),t.insertionMode=de.IN_CAPTION}function hse(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,$e.HTML),t.insertionMode=de.IN_COLUMN_GROUP}function fse(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(ke.COLGROUP,b.COLGROUP),t.insertionMode=de.IN_COLUMN_GROUP,l6(t,e)}function dse(t,e){t.openElements.clearBackToTableContext(),t._insertElement(e,$e.HTML),t.insertionMode=de.IN_TABLE_BODY}function pse(t,e){t.openElements.clearBackToTableContext(),t._insertFakeElement(ke.TBODY,b.TBODY),t.insertionMode=de.IN_TABLE_BODY,f_(t,e)}function mse(t,e){t.openElements.hasInTableScope(b.TABLE)&&(t.openElements.popUntilTagNamePopped(b.TABLE),t._resetInsertionMode(),t._processStartTag(e))}function gse(t,e){_O(e)?t._appendElement(e,$e.HTML):Dd(t,e),e.ackSelfClosing=!0}function _se(t,e){!t.formElement&&t.openElements.tmplCount===0&&(t._insertElement(e,$e.HTML),t.formElement=t.openElements.current,t.openElements.pop())}function j0(t,e){switch(e.tagID){case b.TD:case b.TH:case b.TR:{pse(t,e);break}case b.STYLE:case b.SCRIPT:case b.TEMPLATE:{oa(t,e);break}case b.COL:{fse(t,e);break}case b.FORM:{_se(t,e);break}case b.TABLE:{mse(t,e);break}case b.TBODY:case b.TFOOT:case b.THEAD:{dse(t,e);break}case b.INPUT:{gse(t,e);break}case b.CAPTION:{cse(t,e);break}case b.COLGROUP:{hse(t,e);break}default:Dd(t,e)}}function Zf(t,e){switch(e.tagID){case b.TABLE:{t.openElements.hasInTableScope(b.TABLE)&&(t.openElements.popUntilTagNamePopped(b.TABLE),t._resetInsertionMode());break}case b.TEMPLATE:{nc(t,e);break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:case b.TBODY:case b.TD:case b.TFOOT:case b.TH:case b.THEAD:case b.TR:break;default:Dd(t,e)}}function Dd(t,e){const r=t.fosterParentingEnabled;t.fosterParentingEnabled=!0,c_(t,e),t.fosterParentingEnabled=r}function bO(t,e){t.pendingCharacterTokens.push(e)}function wO(t,e){t.pendingCharacterTokens.push(e),t.hasNonWhitespacePendingCharacterToken=!0}function Gh(t,e){let r=0;if(t.hasNonWhitespacePendingCharacterToken)for(;r<t.pendingCharacterTokens.length;r++)Dd(t,t.pendingCharacterTokens[r]);else for(;r<t.pendingCharacterTokens.length;r++)t._insertCharacters(t.pendingCharacterTokens[r]);t.insertionMode=t.originalInsertionMode,t._processToken(e)}const EO=new Set([b.CAPTION,b.COL,b.COLGROUP,b.TBODY,b.TD,b.TFOOT,b.TH,b.THEAD,b.TR]);function yse(t,e){const r=e.tagID;EO.has(r)?t.openElements.hasInTableScope(b.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(b.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=de.IN_TABLE,j0(t,e)):Zn(t,e)}function vse(t,e){const r=e.tagID;switch(r){case b.CAPTION:case b.TABLE:{t.openElements.hasInTableScope(b.CAPTION)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(b.CAPTION),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=de.IN_TABLE,r===b.TABLE&&Zf(t,e));break}case b.BODY:case b.COL:case b.COLGROUP:case b.HTML:case b.TBODY:case b.TD:case b.TFOOT:case b.TH:case b.THEAD:case b.TR:break;default:h_(t,e)}}function l6(t,e){switch(e.tagID){case b.HTML:{Zn(t,e);break}case b.COL:{t._appendElement(e,$e.HTML),e.ackSelfClosing=!0;break}case b.TEMPLATE:{oa(t,e);break}default:r1(t,e)}}function bse(t,e){switch(e.tagID){case b.COLGROUP:{t.openElements.currentTagId===b.COLGROUP&&(t.openElements.pop(),t.insertionMode=de.IN_TABLE);break}case b.TEMPLATE:{nc(t,e);break}case b.COL:break;default:r1(t,e)}}function r1(t,e){t.openElements.currentTagId===b.COLGROUP&&(t.openElements.pop(),t.insertionMode=de.IN_TABLE,t._processToken(e))}function f_(t,e){switch(e.tagID){case b.TR:{t.openElements.clearBackToTableBodyContext(),t._insertElement(e,$e.HTML),t.insertionMode=de.IN_ROW;break}case b.TH:case b.TD:{t.openElements.clearBackToTableBodyContext(),t._insertFakeElement(ke.TR,b.TR),t.insertionMode=de.IN_ROW,d_(t,e);break}case b.CAPTION:case b.COL:case b.COLGROUP:case b.TBODY:case b.TFOOT:case b.THEAD:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=de.IN_TABLE,j0(t,e));break}default:j0(t,e)}}function i4(t,e){const r=e.tagID;switch(e.tagID){case b.TBODY:case b.TFOOT:case b.THEAD:{t.openElements.hasInTableScope(r)&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=de.IN_TABLE);break}case b.TABLE:{t.openElements.hasTableBodyContextInTableScope()&&(t.openElements.clearBackToTableBodyContext(),t.openElements.pop(),t.insertionMode=de.IN_TABLE,Zf(t,e));break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:case b.TD:case b.TH:case b.TR:break;default:Zf(t,e)}}function d_(t,e){switch(e.tagID){case b.TH:case b.TD:{t.openElements.clearBackToTableRowContext(),t._insertElement(e,$e.HTML),t.insertionMode=de.IN_CELL,t.activeFormattingElements.insertMarker();break}case b.CAPTION:case b.COL:case b.COLGROUP:case b.TBODY:case b.TFOOT:case b.THEAD:case b.TR:{t.openElements.hasInTableScope(b.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=de.IN_TABLE_BODY,f_(t,e));break}default:j0(t,e)}}function SO(t,e){switch(e.tagID){case b.TR:{t.openElements.hasInTableScope(b.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=de.IN_TABLE_BODY);break}case b.TABLE:{t.openElements.hasInTableScope(b.TR)&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=de.IN_TABLE_BODY,i4(t,e));break}case b.TBODY:case b.TFOOT:case b.THEAD:{(t.openElements.hasInTableScope(e.tagID)||t.openElements.hasInTableScope(b.TR))&&(t.openElements.clearBackToTableRowContext(),t.openElements.pop(),t.insertionMode=de.IN_TABLE_BODY,i4(t,e));break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:case b.TD:case b.TH:break;default:Zf(t,e)}}function wse(t,e){const r=e.tagID;EO.has(r)?(t.openElements.hasInTableScope(b.TD)||t.openElements.hasInTableScope(b.TH))&&(t._closeTableCell(),d_(t,e)):Zn(t,e)}function Ese(t,e){const r=e.tagID;switch(r){case b.TD:case b.TH:{t.openElements.hasInTableScope(r)&&(t.openElements.generateImpliedEndTags(),t.openElements.popUntilTagNamePopped(r),t.activeFormattingElements.clearToLastMarker(),t.insertionMode=de.IN_ROW);break}case b.TABLE:case b.TBODY:case b.TFOOT:case b.THEAD:case b.TR:{t.openElements.hasInTableScope(r)&&(t._closeTableCell(),SO(t,e));break}case b.BODY:case b.CAPTION:case b.COL:case b.COLGROUP:case b.HTML:break;default:h_(t,e)}}function TO(t,e){switch(e.tagID){case b.HTML:{Zn(t,e);break}case b.OPTION:{t.openElements.currentTagId===b.OPTION&&t.openElements.pop(),t._insertElement(e,$e.HTML);break}case b.OPTGROUP:{t.openElements.currentTagId===b.OPTION&&t.openElements.pop(),t.openElements.currentTagId===b.OPTGROUP&&t.openElements.pop(),t._insertElement(e,$e.HTML);break}case b.HR:{t.openElements.currentTagId===b.OPTION&&t.openElements.pop(),t.openElements.currentTagId===b.OPTGROUP&&t.openElements.pop(),t._appendElement(e,$e.HTML),e.ackSelfClosing=!0;break}case b.INPUT:case b.KEYGEN:case b.TEXTAREA:case b.SELECT:{t.openElements.hasInSelectScope(b.SELECT)&&(t.openElements.popUntilTagNamePopped(b.SELECT),t._resetInsertionMode(),e.tagID!==b.SELECT&&t._processStartTag(e));break}case b.SCRIPT:case b.TEMPLATE:{oa(t,e);break}}}function xO(t,e){switch(e.tagID){case b.OPTGROUP:{t.openElements.stackTop>0&&t.openElements.currentTagId===b.OPTION&&t.openElements.tagIDs[t.openElements.stackTop-1]===b.OPTGROUP&&t.openElements.pop(),t.openElements.currentTagId===b.OPTGROUP&&t.openElements.pop();break}case b.OPTION:{t.openElements.currentTagId===b.OPTION&&t.openElements.pop();break}case b.SELECT:{t.openElements.hasInSelectScope(b.SELECT)&&(t.openElements.popUntilTagNamePopped(b.SELECT),t._resetInsertionMode());break}case b.TEMPLATE:{nc(t,e);break}}}function Sse(t,e){const r=e.tagID;r===b.CAPTION||r===b.TABLE||r===b.TBODY||r===b.TFOOT||r===b.THEAD||r===b.TR||r===b.TD||r===b.TH?(t.openElements.popUntilTagNamePopped(b.SELECT),t._resetInsertionMode(),t._processStartTag(e)):TO(t,e)}function Tse(t,e){const r=e.tagID;r===b.CAPTION||r===b.TABLE||r===b.TBODY||r===b.TFOOT||r===b.THEAD||r===b.TR||r===b.TD||r===b.TH?t.openElements.hasInTableScope(r)&&(t.openElements.popUntilTagNamePopped(b.SELECT),t._resetInsertionMode(),t.onEndTag(e)):xO(t,e)}function xse(t,e){switch(e.tagID){case b.BASE:case b.BASEFONT:case b.BGSOUND:case b.LINK:case b.META:case b.NOFRAMES:case b.SCRIPT:case b.STYLE:case b.TEMPLATE:case b.TITLE:{oa(t,e);break}case b.CAPTION:case b.COLGROUP:case b.TBODY:case b.TFOOT:case b.THEAD:{t.tmplInsertionModeStack[0]=de.IN_TABLE,t.insertionMode=de.IN_TABLE,j0(t,e);break}case b.COL:{t.tmplInsertionModeStack[0]=de.IN_COLUMN_GROUP,t.insertionMode=de.IN_COLUMN_GROUP,l6(t,e);break}case b.TR:{t.tmplInsertionModeStack[0]=de.IN_TABLE_BODY,t.insertionMode=de.IN_TABLE_BODY,f_(t,e);break}case b.TD:case b.TH:{t.tmplInsertionModeStack[0]=de.IN_ROW,t.insertionMode=de.IN_ROW,d_(t,e);break}default:t.tmplInsertionModeStack[0]=de.IN_BODY,t.insertionMode=de.IN_BODY,Zn(t,e)}}function kse(t,e){e.tagID===b.TEMPLATE&&nc(t,e)}function kO(t,e){t.openElements.tmplCount>0?(t.openElements.popUntilTagNamePopped(b.TEMPLATE),t.activeFormattingElements.clearToLastMarker(),t.tmplInsertionModeStack.shift(),t._resetInsertionMode(),t.onEof(e)):o6(t,e)}function Ase(t,e){e.tagID===b.HTML?Zn(t,e):n1(t,e)}function AO(t,e){var r;if(e.tagID===b.HTML){if(t.fragmentContext||(t.insertionMode=de.AFTER_AFTER_BODY),t.options.sourceCodeLocationInfo&&t.openElements.tagIDs[0]===b.HTML){t._setEndLocation(t.openElements.items[0],e);
vendor: 20,798 bytes, line 315
315const n=t.openElements.items[1];n&&!(!((r=t.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&t._setEndLocation(n,e)}}else n1(t,e)}function n1(t,e){t.insertionMode=de.IN_BODY,c_(t,e)}function Mse(t,e){switch(e.tagID){case b.HTML:{Zn(t,e);break}case b.FRAMESET:{t._insertElement(e,$e.HTML);break}case b.FRAME:{t._appendElement(e,$e.HTML),e.ackSelfClosing=!0;break}case b.NOFRAMES:{oa(t,e);break}}}function Cse(t,e){e.tagID===b.FRAMESET&&!t.openElements.isRootHtmlElementCurrent()&&(t.openElements.pop(),!t.fragmentContext&&t.openElements.currentTagId!==b.FRAMESET&&(t.insertionMode=de.AFTER_FRAMESET))}function Ose(t,e){switch(e.tagID){case b.HTML:{Zn(t,e);break}case b.NOFRAMES:{oa(t,e);break}}}function Ise(t,e){e.tagID===b.HTML&&(t.insertionMode=de.AFTER_AFTER_FRAMESET)}function Rse(t,e){e.tagID===b.HTML?Zn(t,e):fg(t,e)}function fg(t,e){t.insertionMode=de.IN_BODY,c_(t,e)}function Fse(t,e){switch(e.tagID){case b.HTML:{Zn(t,e);break}case b.NOFRAMES:{oa(t,e);break}}}function Dse(t,e){e.chars=jr,t._insertCharacters(e)}function Nse(t,e){t._insertCharacters(e),t.framesetOk=!1}function MO(t){for(;t.treeAdapter.getNamespaceURI(t.openElements.current)!==$e.HTML&&t.openElements.currentTagId!==void 0&&!t._isIntegrationPoint(t.openElements.currentTagId,t.openElements.current);)t.openElements.pop()}function Pse(t,e){if(Qne(e))MO(t),t._startTagOutsideForeignContent(e);else{const r=t._getAdjustedCurrentElement(),n=t.treeAdapter.getNamespaceURI(r);n===$e.MATHML?hO(e):n===$e.SVG&&(Jne(e),fO(e)),s6(e),e.selfClosing?t._appendElement(e,n):t._insertElement(e,n),e.ackSelfClosing=!0}}function Lse(t,e){if(e.tagID===b.P||e.tagID===b.BR){MO(t),t._endTagOutsideForeignContent(e);return}for(let r=t.openElements.stackTop;r>0;r--){const n=t.openElements.items[r];if(t.treeAdapter.getNamespaceURI(n)===$e.HTML){t._endTagOutsideForeignContent(e);break}const i=t.treeAdapter.getTagName(n);if(i.toLowerCase()===e.tagName){e.tagName=i,t.openElements.shortenToLength(r);break}}}ke.AREA,ke.BASE,ke.BASEFONT,ke.BGSOUND,ke.BR,ke.COL,ke.EMBED,ke.FRAME,ke.HR,ke.IMG,ke.INPUT,ke.KEYGEN,ke.LINK,ke.META,ke.PARAM,ke.SOURCE,ke.TRACK,ke.WBR;const CO=OO("end"),ic=OO("start");function OO(t){return e;function e(r){const n=r&&r.position&&r.position[t]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}const IO=function(t){if(t==null)return jse;if(typeof t=="function")return p_(t);if(typeof t=="object")return Array.isArray(t)?Bse(t):Use(t);if(typeof t=="string")return zse(t);throw new Error("Expected function, string, or object as test")};function Bse(t){const e=[];let r=-1;for(;++r<t.length;)e[r]=IO(t[r]);return p_(n);function n(...i){let s=-1;for(;++s<e.length;)if(e[s].apply(this,i))return!0;return!1}}function Use(t){const e=t;return p_(r);function r(n){const i=n;let s;for(s in t)if(i[s]!==e[s])return!1;return!0}}function zse(t){return p_(e);function e(r){return r&&r.type===t}}function p_(t){return e;function e(r,n,i){return!!(Hse(r)&&t.call(this,r,typeof n=="number"?n:void 0,i||void 0))}}function jse(){return!0}function Hse(t){return t!==null&&typeof t=="object"&&"type"in t}const RO=[],Wse=!0,PT=!1,Gse="skip";function $se(t,e,r,n){let i;typeof e=="function"&&typeof r!="function"?(n=r,r=e):i=e;const s=IO(i),a=n?-1:1;l(t,void 0,[])();function l(u,p,d){const g=u&&typeof u=="object"?u:{};if(typeof g.type=="string"){const v=typeof g.tagName=="string"?g.tagName:typeof g.name=="string"?g.name:void 0;Object.defineProperty(_,"name",{value:"node ("+(u.type+(v?"<"+v+">":""))+")"})}return _;function _(){let v=RO,k,O,N;if((!e||s(u,p,d[d.length-1]||void 0))&&(v=qse(r(u,d)),v[0]===PT))return v;if("children"in u&&u.children){const S=u;if(S.children&&v[0]!==Gse)for(O=(n?S.children.length:-1)+a,N=d.concat(S);O>-1&&O<S.children.length;){const M=S.children[O];if(k=l(M,O,N)(),k[0]===PT)return k;O=typeof k[1]=="number"?k[1]:O+a}}return v}}}function qse(t){return Array.isArray(t)?t:typeof t=="number"?[Wse,t]:t==null?RO:[t]}function Vse(t,e,r,n){let i,s,a;s=e,a=r,i=n,$se(t,s,l,i);function l(u,p){const d=p[p.length-1],g=d?d.children.indexOf(u):void 0;return a(u,g,d)}}const Yse=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Kse=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),LT={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function FO(t,e){const r=sae(t),n=eO("type",{handlers:{root:Xse,element:Qse,text:Jse,comment:NO,doctype:Zse,raw:tae},unknown:rae}),i={parser:r?new FT(LT):FT.getFragmentParser(void 0,LT),handle(l){n(l,i)},stitches:!1,options:e||{}};n(t,i),ih(i,ic());const s=r?i.parser.document:i.parser.getFragment(),a=jre(s,{file:i.options.file});return i.stitches&&Vse(a,"comment",function(l,u,p){const d=l;if(d.value.stitch&&p&&u!==void 0){const g=p.children;return g[u]=d.value.stitch,u}}),a.type==="root"&&a.children.length===1&&a.children[0].type===t.type?a.children[0]:a}function DO(t,e){let r=-1;if(t)for(;++r<t.length;)e.handle(t[r])}function Xse(t,e){DO(t.children,e)}function Qse(t,e){nae(t,e),DO(t.children,e),iae(t,e)}function Jse(t,e){e.parser.tokenizer.state>4&&(e.parser.tokenizer.state=0);const r={type:er.CHARACTER,chars:t.value,location:Nd(t)};ih(e,ic(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function Zse(t,e){const r={type:er.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Nd(t)};ih(e,ic(t)),e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)}function eae(t,e){e.stitches=!0;const r=aae(t);if("children"in t&&"children"in r){const n=FO({type:"root",children:t.children},e.options);r.children=n.children}NO({type:"comment",value:{stitch:r}},e)}function NO(t,e){const r=t.value,n={type:er.COMMENT,data:r,location:Nd(t)};ih(e,ic(t)),e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)}function tae(t,e){if(e.parser.tokenizer.preprocessor.html="",e.parser.tokenizer.preprocessor.pos=-1,e.parser.tokenizer.preprocessor.lastGapPos=-2,e.parser.tokenizer.preprocessor.gapStack=[],e.parser.tokenizer.preprocessor.skipNextNewLine=!1,e.parser.tokenizer.preprocessor.lastChunkWritten=!1,e.parser.tokenizer.preprocessor.endOfChunkHit=!1,e.parser.tokenizer.preprocessor.isEol=!1,PO(e,ic(t)),e.parser.tokenizer.write(e.options.tagfilter?t.value.replace(Yse,"<$1$2"):t.value,!1),e.parser.tokenizer._runParsingLoop(),e.parser.tokenizer.state===72||e.parser.tokenizer.state===78){e.parser.tokenizer.preprocessor.lastChunkWritten=!0;const r=e.parser.tokenizer._consume();e.parser.tokenizer._callState(r)}}function rae(t,e){const r=t;if(e.options.passThrough&&e.options.passThrough.includes(r.type))eae(r,e);else{let n="";throw Kse.has(r.type)&&(n=". 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 `"+r.type+"` node"+n)}}function ih(t,e){PO(t,e);const r=t.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=t.parser.tokenizer.preprocessor.line,r.location.endCol=t.parser.tokenizer.preprocessor.col+1,r.location.endOffset=t.parser.tokenizer.preprocessor.offset+1,t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)),t.parser.tokenizer.paused=!1,t.parser.tokenizer.inLoop=!1,t.parser.tokenizer.active=!1,t.parser.tokenizer.returnState=on.DATA,t.parser.tokenizer.charRefCode=-1,t.parser.tokenizer.consumedAfterSnapshot=-1,t.parser.tokenizer.currentLocation=null,t.parser.tokenizer.currentCharacterToken=null,t.parser.tokenizer.currentToken=null,t.parser.tokenizer.currentAttr={name:"",value:""}}function PO(t,e){if(e&&e.offset!==void 0){const r={startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:-1,endCol:-1,endOffset:-1};t.parser.tokenizer.preprocessor.lineStartPos=-e.column+1,t.parser.tokenizer.preprocessor.droppedBufferSize=e.offset,t.parser.tokenizer.preprocessor.line=e.line,t.parser.tokenizer.currentLocation=r}}function nae(t,e){const r=t.tagName.toLowerCase();if(e.parser.tokenizer.state===on.PLAINTEXT)return;ih(e,ic(t));const n=e.parser.openElements.current;let i="namespaceURI"in n?n.namespaceURI:Ia.html;i===Ia.html&&r==="svg"&&(i=Ia.svg);const s=tne({...t,children:[]},{space:i===Ia.svg?"svg":"html"}),a={type:er.START_TAG,tagName:r,tagID:nh(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in s?s.attrs:[],location:Nd(t)};e.parser.currentToken=a,e.parser._processToken(e.parser.currentToken),e.parser.tokenizer.lastStartTagName=r}function iae(t,e){const r=t.tagName.toLowerCase();if(!e.parser.tokenizer.inForeignNode&&une.includes(r)||e.parser.tokenizer.state===on.PLAINTEXT)return;ih(e,CO(t));const n={type:er.END_TAG,tagName:r,tagID:nh(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Nd(t)};e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken),r===e.parser.tokenizer.lastStartTagName&&(e.parser.tokenizer.state===on.RCDATA||e.parser.tokenizer.state===on.RAWTEXT||e.parser.tokenizer.state===on.SCRIPT_DATA)&&(e.parser.tokenizer.state=on.DATA)}function sae(t){const e=t.type==="root"?t.children[0]:t;return!!(e&&(e.type==="doctype"||e.type==="element"&&e.tagName.toLowerCase()==="html"))}function Nd(t){const e=ic(t)||{line:void 0,column:void 0,offset:void 0},r=CO(t)||{line:void 0,column:void 0,offset:void 0};return{startLine:e.line,startCol:e.column,startOffset:e.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function aae(t){return"children"in t?fT({...t,children:[]}):fT(t)}function oae(t){return function(e,r){return FO(e,{...t,file:r})}}function Au(t){return t!==null&&t<-2}const lae={tokenize:uae,concrete:!0},BT={tokenize:cae,partial:!0};function uae(t,e,r){const n=this,i=n.events[n.events.length-1],s=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let a=0;return l;function l(M){return t.enter("mathFlow"),t.enter("mathFlowFence"),t.enter("mathFlowFenceSequence"),u(M)}function u(M){return M===36?(t.consume(M),a++,u):a<2?r(M):(t.exit("mathFlowFenceSequence"),pr(t,p,"whitespace")(M))}function p(M){return M===null||Au(M)?g(M):(t.enter("mathFlowFenceMeta"),t.enter("chunkString",{contentType:"string"}),d(M))}function d(M){return M===null||Au(M)?(t.exit("chunkString"),t.exit("mathFlowFenceMeta"),g(M)):M===36?r(M):(t.consume(M),d)}function g(M){return t.exit("mathFlowFence"),n.interrupt?e(M):t.attempt(BT,_,N)(M)}function _(M){return t.attempt({tokenize:S,partial:!0},N,v)(M)}function v(M){return(s?pr(t,k,"linePrefix",s+1):k)(M)}function k(M){return M===null?N(M):Au(M)?t.attempt(BT,_,N)(M):(t.enter("mathFlowValue"),O(M))}function O(M){return M===null||Au(M)?(t.exit("mathFlowValue"),k(M)):(t.consume(M),O)}function N(M){return t.exit("mathFlow"),e(M)}function S(M,F,G){let X=0;return pr(M,z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function z(re){return M.enter("mathFlowFence"),M.enter("mathFlowFenceSequence"),R(re)}function R(re){return re===36?(X++,M.consume(re),R):X<a?G(re):(M.exit("mathFlowFenceSequence"),pr(M,H,"whitespace")(re))}function H(re){return re===null||Au(re)?(M.exit("mathFlowFence"),F(re)):G(re)}}}function cae(t,e,r){const n=this;return i;function i(a){return a===null?e(a):(t.enter("lineEnding"),t.consume(a),t.exit("lineEnding"),s)}function s(a){return n.parser.lazy[n.now().line]?r(a):e(a)}}function hae(t){let r=(t||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:fae,previous:dae};function n(i,s,a){let l=0,u,p;return d;function d(O){return i.enter("mathText"),i.enter("mathTextSequence"),g(O)}function g(O){return O===36?(i.consume(O),l++,g):l<2&&!r?a(O):(i.exit("mathTextSequence"),_(O))}function _(O){return O===null?a(O):O===36?(p=i.enter("mathTextSequence"),u=0,k(O)):O===32?(i.enter("space"),i.consume(O),i.exit("space"),_):Au(O)?(i.enter("lineEnding"),i.consume(O),i.exit("lineEnding"),_):(i.enter("mathTextData"),v(O))}function v(O){return O===null||O===32||O===36||Au(O)?(i.exit("mathTextData"),_(O)):(i.consume(O),v)}function k(O){return O===36?(i.consume(O),u++,k):u===l?(i.exit("mathTextSequence"),i.exit("mathText"),s(O)):(p.type="mathTextData",v(O))}}}function fae(t){let e=t.length-4,r=3,n,i;if((t[r][1].type==="lineEnding"||t[r][1].type==="space")&&(t[e][1].type==="lineEnding"||t[e][1].type==="space")){for(n=r;++n<e;)if(t[n][1].type==="mathTextData"){t[e][1].type="mathTextPadding",t[r][1].type="mathTextPadding",r+=2,e-=2;break}}for(n=r-1,e++;++n<=e;)i===void 0?n!==e&&t[n][1].type!=="lineEnding"&&(i=n):(n===e||t[n][1].type==="lineEnding")&&(t[i][1].type="mathTextData",n!==i+2&&(t[i][1].end=t[n-1][1].end,t.splice(i+2,n-i-2),e-=n-i-2,n=i+2),i=void 0);return t}function dae(t){return t!==36||this.events[this.events.length-1][1].type==="characterEscape"}function pae(t){return{flow:{36:lae},text:{36:hae(t)}}}class Yi{constructor(e,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=n}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new Yi(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class Ms{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new Ms(r,Yi.range(this,e))}}class tt{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,i,s,a=r&&r.loc;if(a&&a.start<=a.end){var l=a.lexer.input;i=a.start,s=a.end,i===l.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var u=l.slice(i,s).replace(/[^]/g,"$&̲"),p;i>15?p="â¦"+l.slice(i-15,i):p=l.slice(0,i);var d;s+15<l.length?d=l.slice(s,s+15)+"â¦":d=l.slice(s),n+=p+u+d}var g=new Error(n);return g.name="ParseError",g.__proto__=tt.prototype,g.position=i,i!=null&&s!=null&&(g.length=s-i),g.rawMessage=e,g}}tt.prototype.__proto__=Error.prototype;var mae=function(e,r){return e.indexOf(r)!==-1},gae=function(e,r){return e===void 0?r:e},_ae=/([A-Z])/g,yae=function(e){return e.replace(_ae,"-$1").toLowerCase()},vae={"&":"&",">":">","<":"<",'"':""","'":"'"},bae=/[&><"']/g;function wae(t){return String(t).replace(bae,e=>vae[e])}var LO=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},Eae=function(e){var r=LO(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Sae=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},Tae=function(e){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},Tt={contains:mae,deflt:gae,escape:wae,hyphenate:yae,getBaseElem:LO,isCharacterBox:Eae,protocolFromUrl:Tae},dg={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 <type>"},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 <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:t=>"#"+t},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},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:t=>Math.max(0,t),cli:"--min-rule-thickness <size>",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:t=>Math.max(0,t),cli:"-s, --max-size <n>",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:t=>Math.max(0,t),cli:"-e, --max-expand <n>",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function xae(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class u6{constructor(e){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,e=e||{};for(var r in dg)if(dg.hasOwnProperty(r)){var n=dg[r];this[r]=e[r]!==void 0?n.processor?n.processor(e[r]):e[r]:xae(n)}}reportNonstrict(e,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(e,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new tt("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){var i=this.strict;if(typeof i=="function")try{i=i(e,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=Tt.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}}class Zo{constructor(e,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=n}sup(){return ka[kae[this.id]]}sub(){return ka[Aae[this.id]]}fracNum(){return ka[Mae[this.id]]}fracDen(){return ka[Cae[this.id]]}cramp(){return ka[Oae[this.id]]}text(){return ka[Iae[this.id]]}isTight(){return this.size>=2}}var c6=0,i1=1,F0=2,vo=3,ed=4,xs=5,H0=6,ai=7,ka=[new Zo(c6,0,!1),new Zo(i1,0,!0),new Zo(F0,1,!1),new Zo(vo,1,!0),new Zo(ed,2,!1),new Zo(xs,2,!0),new Zo(H0,3,!1),new Zo(ai,3,!0)],kae=[ed,xs,ed,xs,H0,ai,H0,ai],Aae=[xs,xs,xs,xs,ai,ai,ai,ai],Mae=[F0,vo,ed,xs,H0,ai,H0,ai],Cae=[vo,vo,xs,xs,ai,ai,ai,ai],Oae=[i1,i1,vo,vo,xs,xs,ai,ai],Iae=[c6,i1,F0,vo,F0,vo,F0,vo],kt={DISPLAY:ka[c6],TEXT:ka[F0],SCRIPT:ka[ed],SCRIPTSCRIPT:ka[H0]},s4=[{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 Rae(t){for(var e=0;e<s4.length;e++)for(var r=s4[e],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(t>=i[0]&&t<=i[1])return r.name}return null}var pg=[];s4.forEach(t=>
vendor: 4,399 bytes, lines 315-366
315t.blocks.forEach(e=>pg.push(...e)));function BO(t){for(var e=0;e<pg.length;e+=2)if(t>=pg[e]&&t<=pg[e+1])return!0;return!1}var Bc=80,Fae=function(e,r){return"M95,"+(622+e+r)+` 316c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 317c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 318c44.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 319s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 320c69,-144,104.5,-217.7,106.5,-221 321l`+e/2.075+" -"+e+` 322c5.3,-9.3,12,-14,20,-14 323H400000v`+(40+e)+`H845.2724 324s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 325c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z 326M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Dae=function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119 327c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 328c340,-704.7,510.7,-1060.3,512,-1067 329l`+e/2.084+" -"+e+` 330c4.7,-7.3,11,-11,19,-11 331H40000v`+(40+e)+`H1012.3 332s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 333c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 334s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 335c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z 336M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Nae=function(e,r){return"M983 "+(10+e+r)+` 337l`+e/3.13+" -"+e+` 338c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+` 339H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 340s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 341c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 342c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 343c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 344c53.7,-170.3,84.5,-266.8,92.5,-289.5z 345M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Pae=function(e,r){return"M424,"+(2398+e+r)+` 346c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 347c0,-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 348s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 349s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 350l`+e/4.223+" -"+e+`c4,-6.7,10,-10,18,-10 H400000 351v`+(40+e)+`H1014.6 352s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 353c-2,6,-10,9,-24,9 354c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+r+` 355h400000v`+(40+e)+"h-400000z"},Lae=function(e,r){return"M473,"+(2713+e+r)+` 356c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+` 357c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7 358s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 359c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 360c0,-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 361s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 362606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},Bae=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},Uae=function(e,r,n){var i=n-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+` 363H742v`+i+`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 364h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 365c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 366219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},zae=function(e,r,n){r=1e3*r;var i="";switch(e){case"sqrtMain":i=Fae(r,Bc);break;case"sqrtSize1":i=Dae(r,Bc);break;case"sqrtSize2":i=Nae(r,Bc);break;case"sqrtSize3":i=Pae(r,Bc);break;case"sqrtSize4":i=Lae(r,Bc);break;case"sqrtTall":i=Uae(r,Bc,n)}return i},jae=function(e,r){switch(e){case"â":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"â£":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"â¥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"â":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"â¢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"â¥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"âª":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"â":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"â":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},UT
vendor: 15,381 bytes, lines 366-541
366={doubleleftarrow:`M262 157 367l10-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 368 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 369 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 370c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 371 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 372-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 373-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z 374m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l 375-10 10c-34 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 376 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 377-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 378-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 379-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 380c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 381-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 382 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 383-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 384c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 385 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 386 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 387 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 388-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 389 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 390 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 391 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 392-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 393H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 394 435 0h399565z`,leftgroupunder:`M400000 262 395H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 396 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 397-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 398-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 399-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 400 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 401-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 402-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z 403m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 404 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 405 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 406-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 407 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 408-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 409v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 410-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 411-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 412 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z 413M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z 414M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 415-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 416c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 417 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z 418M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 419c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 420-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 421 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 422 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 423c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 424 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 425 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 426-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 427-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z 428m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 42960.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 430-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z 431m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 432c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 433-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z 434m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 43585.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 436-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z 437m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 438c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 439-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 440 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 441 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 442-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 443-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 444 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l 445-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 446s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 447c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 448 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 449-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 450 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 451 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 452-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 453-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 454 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 455-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 456 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z 457m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 458 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 459-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 460-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 461 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 462 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 463-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z 464m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 465 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 466-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 467 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z 468M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 469 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 470-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 471-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 472 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 473-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 474-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 475-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 476 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 477c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 478 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 479 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 480-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 481 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 482-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 483 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 484 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 485-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 486-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 487 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 488c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 489 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 490-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 491 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 492 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 493 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 494-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 495 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 496 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 497 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 4983.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 49910.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 500-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 501-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 502H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 503c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 504c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 505-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 506-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 507-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, 508-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 509-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 510-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, 511-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 512c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 513c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 514s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 515121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 516s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 517c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z 518M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 519-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 52013.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 521-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 522-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 523-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 524151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 525c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 526c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 527c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 528c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z 529M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 530c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 531-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 532c-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 533M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 534c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 5351c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, 536-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z 537M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 538c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, 539-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 540c-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 541M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
vendor: 3,204 bytes, lines 541-569
541Hae=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84 542H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z 543M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15 544c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 545c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15 546c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 547c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z 548M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15 549c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 550c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z 551MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z 552MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z 553M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z 554M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 555c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, 556-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 557949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 558c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, 559-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 560l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, 561-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 56263,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 563c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+` 564c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 565c-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,11 566c0,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 567c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 568l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, 569-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 Pd{constructor(e){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=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return Tt.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){for(var e="",r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e}toText(){var e=r=>r.toText();return this.children.map(e).join("")}}var Ra
vendor: 57,629 bytes, line 569
569={"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]}},
vendor: 15,523 bytes, line 569
569Jp={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]},zT={Ã
:"A",Ã:"D",Ã:"o",Ã¥:"a",ð:"d",þ:"o",Ð:"A",Ð:"B",Ð:"B",Ð:"F",Ð:"A",Ð:"E",Ð:"K",Ð:"3",Ð:"N",Ð:"N",Ð:"K",Ð:"N",Ð:"M",Ð:"H",Ð:"O",Ð:"N",Ð :"P",С:"C",Т:"T",У:"y",Ф:"O",Ð¥:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Ð:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",Ñ:"p",Ñ:"c",Ñ:"o",Ñ:"y",Ñ:"b",Ñ
:"x",Ñ:"n",Ñ:"n",Ñ:"w",Ñ:"w",Ñ:"a",Ñ:"m",Ñ:"a",Ñ:"e",Ñ:"m",Ñ:"r"};function Wae(t,e){Ra[t]=e}function h6(t,e,r){if(!Ra[e])throw new Error("Font metrics not found for font: "+e+".");var n=t.charCodeAt(0),i=Ra[e][n];if(!i&&t[0]in zT&&(n=zT[t[0]].charCodeAt(0),i=Ra[e][n]),!i&&r==="text"&&BO(n)&&(i=Ra[e][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Rv={};function Gae(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!Rv[e]){var r=Rv[e]={cssEmPerMu:Jp.quad[e]/18};for(var n in Jp)Jp.hasOwnProperty(n)&&(r[n]=Jp[n][e])}return Rv[e]}var $ae=[[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]],jT=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],HT=function(e,r){return r.size<2?e:$ae[e-1][r.size-1]};class co{constructor(e){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=e.style,this.color=e.color,this.size=e.size||co.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=jT[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var r={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 n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return new co(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:HT(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:jT[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=HT(co.BASESIZE,e);return this.size===r&&this.textSize===co.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==co.BASESIZE?["sizing","reset-size"+this.size,"size"+co.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Gae(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}co.BASESIZE=6;var a4={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},qae={ex:!0,em:!0,mu:!0},UO=function(e){return typeof e!="string"&&(e=e.unit),e in a4||e in qae||e==="ex"},Kr=function(e,r){var n;if(e.unit in a4)n=a4[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,e.unit==="ex")n=i.fontMetrics().xHeight;else if(e.unit==="em")n=i.fontMetrics().quad;else throw new tt("Invalid unit: '"+e.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*n,r.maxSize)},ut=function(e){return+e.toFixed(4)+"em"},Gl=function(e){return e.filter(r=>r).join(" ")},zO=function(e,r,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},jO=function(e){var r=document.createElement(e);r.className=Gl(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var s=0;s<this.children.length;s++)r.appendChild(this.children[s].toNode());return r},HO=function(e){var r="<"+e;this.classes.length&&(r+=' class="'+Tt.escape(Gl(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=Tt.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+Tt.escape(n)+'"');for(var s in this.attributes)this.attributes.hasOwnProperty(s)&&(r+=" "+s+'="'+Tt.escape(this.attributes[s])+'"');r+=">";for(var a=0;a<this.children.length;a++)r+=this.children[a].toMarkup();return r+="</"+e+">",r};class Ld{constructor(e,r,n,i){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,zO.call(this,e,n,i),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Tt.contains(this.classes,e)}toNode(){return jO.call(this,"span")}toMarkup(){return HO.call(this,"span")}}class f6{constructor(e,r,n,i){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,zO.call(this,r,i),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Tt.contains(this.classes,e)}toNode(){return jO.call(this,"a")}toMarkup(){return HO.call(this,"a")}}class Vae{constructor(e,r,n){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=r,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return Tt.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e='<img src="'+Tt.escape(this.src)+'"'+(' alt="'+Tt.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=Tt.hyphenate(n)+":"+this.style[n]+";");return r&&(e+=' style="'+Tt.escape(r)+'"'),e+="'/>",e}}var Yae={î:"ıÌ",ï:"ıÌ",Ã:"ıÌ",ì:"ıÌ"};class Is{constructor(e,r,n,i,s,a,l,u){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=r||0,this.depth=n||0,this.italic=i||0,this.skew=s||0,this.width=a||0,this.classes=l||[],this.style=u||{},this.maxFontSize=0;var p=Rae(this.text.charCodeAt(0));p&&this.classes.push(p+"_fallback"),/[îïÃì]/.test(this.text)&&(this.text=Yae[this.text])}hasClass(e){return Tt.contains(this.classes,e)}toNode(){var e=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=ut(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Gl(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="<span";this.classes.length&&(e=!0,r+=' class="',r+=Tt.escape(Gl(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=Tt.hyphenate(i)+":"+this.style[i]+";");n&&(e=!0,r+=' style="'+Tt.escape(n)+'"');var s=Tt.escape(this.text);return e?(r+=">",r+=s,r+="</span>",r):s}}class Co{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+Tt.escape(this.attributes[r])+'"');e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</svg>",e}}class $l{constructor(e,r){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=r}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",UT[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+Tt.escape(this.alternate)+'"/>':'<path d="'+Tt.escape(UT[this.pathName])+'"/>'}}class o4{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var e="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="'+Tt.escape(this.attributes[r])+'"');return e+="/>",e}}function WT(t){if(t instanceof Is)return t;throw new Error("Expected symbolNode but got "+String(t)+".")}function Kae(t){if(t instanceof Ld)return t;throw new Error("Expected span<HtmlDomNode> but got "+String(t)+".")}var Xae={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Qae={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Dr={math:{},text:{}};function E(t,e,r,n,i,s){Dr[t][i]={font:e,group:r,replace:n},s&&n&&(Dr[t][n]=Dr[t][i])}var A="math",qe="text",L="main",ue="ams",Gr="accent-token",mt="bin",hi="close",sh="inner",xt="mathord",yn="op-token",ts="open",m_="punct",he="rel",Po="spacing",_e="textord";E(A,L,he,"â¡","\\equiv",!0);E(A,L,he,"âº","\\prec",!0);E(A,L,he,"â»","\\succ",!0);E(A,L,he,"â¼","\\sim",!0);E(A,L,he,"â¥","\\perp");E(A,L,he,"⪯","\\preceq",!0);E(A,L,he,"⪰","\\succeq",!0);E(A,L,he,"â","\\simeq",!0);E(A,L,he,"â£","\\mid",!0);E(A,L,he,"âª","\\ll",!0);E(A,L,he,"â«","\\gg",!0);E(A,L,he,"â","\\asymp",!0);E(A,L,he,"â¥","\\parallel");E(A,L,he,"â","\\bowtie",!0);E(A,L,he,"â£","\\smile",!0);E(A,L,he,"â","\\sqsubseteq",!0);E(A,L,he,"â","\\sqsupseteq",!0);E(A,L,he,"â","\\doteq",!0);E(A,L,he,"â¢","\\frown",!0);E(A,L,he,"â","\\ni",!0);E(A,L,he,"â","\\propto",!0);E(A,L,he,"â¢","\\vdash",!0);E(A,L,he,"â£","\\dashv",!0);E(A,L,he,"â","\\owns");E(A,L,m_,".","\\ldotp");E(A,L,m_,"â
","\\cdotp");E(A,L,_e,"#","\\#");E(qe,L,_e,"#","\\#");E(A,L,_e,"&","\\&");E(qe,L,_e,"&","\\&");E(A,L,_e,"âµ","\\aleph",!0);E(A,L,_e,"â","\\forall",!0);E(A,L,_e,"â","\\hbar",!0);E(A,L,_e,"â","\\exists",!0);E(A,L,_e,"â","\\nabla",!0);E(A,L,_e,"â","\\flat",!0);E(A,L,_e,"â","\\ell",!0);E(A,L,_e,"â®","\\natural",!0);E(A,L,_e,"â£","\\clubsuit",!0);E(A,L,_e,"â","\\wp",!0);E(A,L,_e,"â¯","\\sharp",!0);E(A,L,_e,"â¢","\\diamondsuit",!0);E(A,L,_e,"â","\\Re",!0);E(A,L,_e,"â¡","\\heartsuit",!0);E(A,L,_e,"â","\\Im",!0);E(A,L,_e,"â ","\\spadesuit",!0);E(A,L,_e,"§","\\S",!0);E(qe,L,_e,"§","\\S");E(A,L,_e,"¶","\\P",!0);E(qe,L,_e,"¶","\\P");E(A,L,_e,"â ","\\dag");E(qe,L,_e,"â ","\\dag");E(qe,L,_e,"â ","\\textdagger");E(A,L,_e,"â¡","\\ddag");E(qe,L,_e,"â¡","\\ddag");E(qe,L,_e,"â¡","\\textdaggerdbl");E(A,L,hi,"â±","\\rmoustache",!0);E(A,L,ts,"â°","\\lmoustache",!0);E(A,L,hi,"â¯","\\rgroup",!0);E(A,L,ts,"â®","\\lgroup",!0);E(A,L,mt,"â","\\mp",!0);E(A,L,mt,"â","\\ominus",!0);E(A,L,mt,"â","\\uplus",!0);E(A,L,mt,"â","\\sqcap",!0);E(A,L,mt,"â","\\ast");E(A,L,mt,"â","\\sqcup",!0);E(A,L,mt,"â¯","\\bigcirc",!0);E(A,L,mt,"â","\\bullet",!0);E(A,L,mt,"â¡","\\ddagger");E(A,L,mt,"â","\\wr",!0);E(A,L,mt,"⨿","\\amalg");E(A,L,mt,"&","\\And");E(A,L,he,"âµ","\\longleftarrow",!0);E(A,L,he,"â","\\Leftarrow",!0);E(A,L,he,"â¸","\\Longleftarrow",!0);E(A,L,he,"â¶","\\longrightarrow",!0);E(A,L,he,"â","\\Rightarrow",!0);E(A,L,he,"â¹","\\Longrightarrow",!0);E(A,L,he,"â","\\leftrightarrow",!0);E(A,L,he,"â·","\\longleftrightarrow",!0);E(A,L,he,"â","\\Leftrightarrow",!0);E(A,L,he,"âº","\\Longleftrightarrow",!0);E(A,L,he,"â¦","\\mapsto",!0);E(A,L,he,"â¼","\\longmapsto",!0);E(A,L,he,"â","\\nearrow",!0);E(A,L,he,"â©","\\hookleftarrow",!0);E(A,L,he,"âª","\\hookrightarrow",!0);E(A,L,he,"â","\\searrow",!0);E(A,L,he,"â¼","\\leftharpoonup",!0);E(A,L,he,"â","\\rightharpoonup",!0);E(A,L,he,"â","\\swarrow",!0);E(A,L,he,"â½","\\leftharpoondown",!0);E(A,L,he,"â","\\rightharpoondown",!0);E(A,L,he,"â","\\nwarrow",!0);E(A,L,he,"â","\\rightleftharpoons",!0);E(A,ue,he,"â®","\\nless",!0);E(A,ue,he,"î","\\@nleqslant");E(A,ue,he,"î","\\@nleqq");E(A,ue,he,"âª","\\lneq",!0);E(A,ue,he,"â¨","\\lneqq",!0);E(A,ue,he,"î","\\@lvertneqq");E(A,ue,he,"â¦","\\lnsim",!0);E(A,ue,he,"âª","\\lnapprox",!0);E(A,ue,he,"â","\\nprec",!0);E(A,ue,he,"â ","\\npreceq",!0);E(A,ue,he,"â¨","\\precnsim",!0);E(A,ue,he,"⪹","\\precnapprox",!0);E(A,ue,he,"â","\\nsim",!0);E(A,ue,he,"î","\\@nshortmid");E(A,ue,he,"â¤","\\nmid",!0);E(A,ue,he,"â¬","\\nvdash",!0);E(A,ue,he,"â","\\nvDash",!0);E(A,ue,he,"âª","\\ntriangleleft");E(A,ue,he,"â¬","\\ntrianglelefteq",!0);E(A,ue,he,"â","\\subsetneq",!0);E(A,ue,he,"î","\\@varsubsetneq");E(A,ue,he,"â«","\\subsetneqq",!0);E(A,ue,he,"î","\\@varsubsetneqq");E(A,ue,he,"â¯","\\ngtr",!0);E(A,ue,he,"î","\\@ngeqslant");E(A,ue,he,"î","\\@ngeqq");E(A,ue,he,"âª","\\gneq",!0);E(A,ue,he,"â©","\\gneqq",!0);E(A,ue,he,"î","\\@gvertneqq");E(A,ue,he,"â§","\\gnsim",!0);E(A,ue,he,"âª","\\gnapprox",!0);E(A,ue,he,"â","\\nsucc",!0);E(A,ue,he,"â¡","\\nsucceq",!0);E(A,ue,he,"â©","\\succnsim",!0);E(A,ue,he,"⪺","\\succnapprox",!0);E(A,ue,he,"â","\\ncong",!0);E(A,ue,he,"î","\\@nshortparallel");E(A,ue,he,"â¦","\\nparallel",!0);E(A,ue,he,"â¯","\\nVDash",!0);E(A,ue,he,"â«","\\ntriangleright");E(A,ue,he,"â","\\ntrianglerighteq",!0);E(A,ue,he,"î","\\@nsupseteqq");E(A,ue,he,"â","\\supsetneq",!0);E(A,ue,he,"î","\\@varsupsetneq");E(A,ue,he,"â«","\\supsetneqq",!0);E(A,ue,he,"î","\\@varsupsetneqq");E(A,ue,he,"â®","\\nVdash",!0);E(A,ue,he,"⪵","\\precneqq",!0);E(A,ue,he,"⪶","\\succneqq",!0);
569E(A,ue,he,"î","\\@nsubseteqq");E(A,ue,mt,"â´","\\unlhd");E(A,ue,mt,"âµ","\\unrhd");E(A,ue,he,"â","\\nleftarrow",!0);E(A,ue,he,"â","\\nrightarrow",!0);E(A,ue,he,"â","\\nLeftarrow",!0);E(A,ue,he,"â","\\nRightarrow",!0);E(A,ue,he,"â®","\\nleftrightarrow",!0);E(A,ue,he,"â","\\nLeftrightarrow",!0);E(A,ue,he,"â³","\\vartriangle");E(A,ue,_e,"â","\\hslash");E(A,ue,_e,"â½","\\triangledown");E(A,ue,_e,"â","\\lozenge");E(A,ue,_e,"â","\\circledS");E(A,ue,_e,"®","\\circledR");E(qe,ue,_e,"®","\\circledR");E(A,ue,_e,"â¡","\\measuredangle",!0);E(A,ue,_e,"â","\\nexists");E(A,ue,_e,"â§","\\mho");E(A,ue,_e,"â²","\\Finv",!0);E(A,ue,_e,"â
","\\Game",!0);E(A,ue,_e,"âµ","\\backprime");E(A,ue,_e,"â²","\\blacktriangle");E(A,ue,_e,"â¼","\\blacktriangledown");E(A,ue,_e,"â ","\\blacksquare");E(A,ue,_e,"â§«","\\blacklozenge");E(A,ue,_e,"â
","\\bigstar");E(A,ue,_e,"â¢","\\sphericalangle",!0);E(A,ue,_e,"â","\\complement",!0);E(A,ue,_e,"ð","\\eth",!0);E(qe,L,_e,"ð","ð");E(A,ue,_e,"â±","\\diagup");E(A,ue,_e,"â²","\\diagdown");E(A,ue,_e,"â¡","\\square");E(A,ue,_e,"â¡","\\Box");E(A,ue,_e,"â","\\Diamond");E(A,ue,_e,"Â¥","\\yen",!0);E(qe,ue,_e,"Â¥","\\yen",!0);E(A,ue,_e,"â","\\checkmark",!0);E(qe,ue,_e,"â","\\checkmark");E(A,ue,_e,"â¶","\\beth",!0);E(A,ue,_e,"â¸","\\daleth",!0);E(A,ue,_e,"â·","\\gimel",!0);E(A,ue,_e,"Ï","\\digamma",!0);E(A,ue,_e,"ϰ","\\varkappa");E(A,ue,ts,"â","\\@ulcorner",!0);E(A,ue,hi,"â","\\@urcorner",!0);E(A,ue,ts,"â","\\@llcorner",!0);E(A,ue,hi,"â","\\@lrcorner",!0);E(A,ue,he,"â¦","\\leqq",!0);E(A,ue,he,"⩽","\\leqslant",!0);E(A,ue,he,"âª","\\eqslantless",!0);E(A,ue,he,"â²","\\lesssim",!0);E(A,ue,he,"âª
","\\lessapprox",!0);E(A,ue,he,"â","\\approxeq",!0);E(A,ue,mt,"â","\\lessdot");E(A,ue,he,"â","\\lll",!0);E(A,ue,he,"â¶","\\lessgtr",!0);E(A,ue,he,"â","\\lesseqgtr",!0);E(A,ue,he,"âª","\\lesseqqgtr",!0);E(A,ue,he,"â","\\doteqdot");E(A,ue,he,"â","\\risingdotseq",!0);E(A,ue,he,"â","\\fallingdotseq",!0);E(A,ue,he,"â½","\\backsim",!0);E(A,ue,he,"â","\\backsimeq",!0);E(A,ue,he,"â«
","\\subseteqq",!0);E(A,ue,he,"â","\\Subset",!0);E(A,ue,he,"â","\\sqsubset",!0);E(A,ue,he,"â¼","\\preccurlyeq",!0);E(A,ue,he,"â","\\curlyeqprec",!0);E(A,ue,he,"â¾","\\precsim",!0);E(A,ue,he,"⪷","\\precapprox",!0);E(A,ue,he,"â²","\\vartriangleleft");E(A,ue,he,"â´","\\trianglelefteq");E(A,ue,he,"â¨","\\vDash",!0);E(A,ue,he,"âª","\\Vvdash",!0);E(A,ue,he,"â£","\\smallsmile");E(A,ue,he,"â¢","\\smallfrown");E(A,ue,he,"â","\\bumpeq",!0);E(A,ue,he,"â","\\Bumpeq",!0);E(A,ue,he,"â§","\\geqq",!0);E(A,ue,he,"⩾","\\geqslant",!0);E(A,ue,he,"âª","\\eqslantgtr",!0);E(A,ue,he,"â³","\\gtrsim",!0);E(A,ue,he,"âª","\\gtrapprox",!0);E(A,ue,mt,"â","\\gtrdot");E(A,ue,he,"â","\\ggg",!0);E(A,ue,he,"â·","\\gtrless",!0);E(A,ue,he,"â","\\gtreqless",!0);E(A,ue,he,"âª","\\gtreqqless",!0);E(A,ue,he,"â","\\eqcirc",!0);E(A,ue,he,"â","\\circeq",!0);E(A,ue,he,"â","\\triangleq",!0);E(A,ue,he,"â¼","\\thicksim");E(A,ue,he,"â","\\thickapprox");E(A,ue,he,"â«","\\supseteqq",!0);E(A,ue,he,"â","\\Supset",!0);E(A,ue,he,"â","\\sqsupset",!0);E(A,ue,he,"â½","\\succcurlyeq",!0);E(A,ue,he,"â","\\curlyeqsucc",!0);E(A,ue,he,"â¿","\\succsim",!0);E(A,ue,he,"⪸","\\succapprox",!0);E(A,ue,he,"â³","\\vartriangleright");E(A,ue,he,"âµ","\\trianglerighteq");E(A,ue,he,"â©","\\Vdash",!0);E(A,ue,he,"â£","\\shortmid");E(A,ue,he,"â¥","\\shortparallel");E(A,ue,he,"â¬","\\between",!0);E(A,ue,he,"â","\\pitchfork",!0);E(A,ue,he,"â","\\varpropto");E(A,ue,he,"â","\\blacktriangleleft");E(A,ue,he,"â´","\\therefore",!0);E(A,ue,he,"â","\\backepsilon");E(A,ue,he,"â¶","\\blacktriangleright");E(A,ue,he,"âµ","\\because",!0);E(A,ue,he,"â","\\llless");E(A,ue,he,"â","\\gggtr");E(A,ue,mt,"â²","\\lhd");E(A,ue,mt,"â³","\\rhd");E(A,ue,he,"â","\\eqsim",!0);E(A,L,he,"â","\\Join");E(A,ue,he,"â","\\Doteq",!0);E(A,ue,mt,"â","\\dotplus",!0);E(A,ue,mt,"â","\\smallsetminus");E(A,ue,mt,"â","\\Cap",!0);E(A,ue,mt,"â","\\Cup",!0);E(A,ue,mt,"â©","\\doublebarwedge",!0);E(A,ue,mt,"â","\\boxminus",!0);E(A,ue,mt,"â","\\boxplus",!0);
569E(A,ue,mt,"â","\\divideontimes",!0);E(A,ue,mt,"â","\\ltimes",!0);E(A,ue,mt,"â","\\rtimes",!0);E(A,ue,mt,"â","\\leftthreetimes",!0);E(A,ue,mt,"â","\\rightthreetimes",!0);E(A,ue,mt,"â","\\curlywedge",!0);E(A,ue,mt,"â","\\curlyvee",!0);E(A,ue,mt,"â","\\circleddash",!0);E(A,ue,mt,"â","\\circledast",!0);E(A,ue,mt,"â
","\\centerdot");E(A,ue,mt,"âº","\\intercal",!0);E(A,ue,mt,"â","\\doublecap");E(A,ue,mt,"â","\\doublecup");E(A,ue,mt,"â ","\\boxtimes",!0);E(A,ue,he,"â¢","\\dashrightarrow",!0);E(A,ue,he,"â ","\\dashleftarrow",!0);E(A,ue,he,"â","\\leftleftarrows",!0);E(A,ue,he,"â","\\leftrightarrows",!0);E(A,ue,he,"â","\\Lleftarrow",!0);E(A,ue,he,"â","\\twoheadleftarrow",!0);E(A,ue,he,"â¢","\\leftarrowtail",!0);E(A,ue,he,"â«","\\looparrowleft",!0);E(A,ue,he,"â","\\leftrightharpoons",!0);E(A,ue,he,"â¶","\\curvearrowleft",!0);E(A,ue,he,"âº","\\circlearrowleft",!0);E(A,ue,he,"â°","\\Lsh",!0);E(A,ue,he,"â","\\upuparrows",!0);E(A,ue,he,"â¿","\\upharpoonleft",!0);E(A,ue,he,"â","\\downharpoonleft",!0);E(A,L,he,"â¶","\\origof",!0);E(A,L,he,"â·","\\imageof",!0);E(A,ue,he,"â¸","\\multimap",!0);E(A,ue,he,"â","\\leftrightsquigarrow",!0);E(A,ue,he,"â","\\rightrightarrows",!0);E(A,ue,he,"â","\\rightleftarrows",!0);E(A,ue,he,"â ","\\twoheadrightarrow",!0);E(A,ue,he,"â£","\\rightarrowtail",!0);E(A,ue,he,"â¬","\\looparrowright",!0);E(A,ue,he,"â·","\\curvearrowright",!0);E(A,ue,he,"â»","\\circlearrowright",!0);E(A,ue,he,"â±","\\Rsh",!0);E(A,ue,he,"â","\\downdownarrows",!0);E(A,ue,he,"â¾","\\upharpoonright",!0);E(A,ue,he,"â","\\downharpoonright",!0);E(A,ue,he,"â","\\rightsquigarrow",!0);E(A,ue,he,"â","\\leadsto");E(A,ue,he,"â","\\Rrightarrow",!0);E(A,ue,he,"â¾","\\restriction");E(A,L,_e,"â","`");E(A,L,_e,"$","\\$");E(qe,L,_e,"$","\\$");E(qe,L,_e,"$","\\textdollar");E(A,L,_e,"%","\\%");E(qe,L,_e,"%","\\%");E(A,L,_e,"_","\\_");E(qe,L,_e,"_","\\_");E(qe,L,_e,"_","\\textunderscore");E(A,L,_e,"â ","\\angle",!0);E(A,L,_e,"â","\\infty",!0);E(A,L,_e,"â²","\\prime");E(A,L,_e,"â³","\\triangle");E(A,L,_e,"Î","\\Gamma",!0);E(A,L,_e,"Î","\\Delta",!0);E(A,L,_e,"Î","\\Theta",!0);E(A,L,_e,"Î","\\Lambda",!0);E(A,L,_e,"Î","\\Xi",!0);E(A,L,_e,"Î ","\\Pi",!0);E(A,L,_e,"Σ","\\Sigma",!0);E(A,L,_e,"Î¥","\\Upsilon",!0);E(A,L,_e,"Φ","\\Phi",!0);E(A,L,_e,"Ψ","\\Psi",!0);E(A,L,_e,"Ω","\\Omega",!0);E(A,L,_e,"A","Î");E(A,L,_e,"B","Î");E(A,L,_e,"E","Î");E(A,L,_e,"Z","Î");E(A,L,_e,"H","Î");E(A,L,_e,"I","Î");E(A,L,_e,"K","Î");E(A,L,_e,"M","Î");E(A,L,_e,"N","Î");E(A,L,_e,"O","Î");E(A,L,_e,"P","Ρ");E(A,L,_e,"T","Τ");E(A,L,_e,"X","Χ");E(A,L,_e,"¬","\\neg",!0);E(A,L,_e,"¬","\\lnot");E(A,L,_e,"â¤","\\top");E(A,L,_e,"â¥","\\bot");E(A,L,_e,"â
","\\emptyset");E(A,ue,_e,"â
","\\varnothing");E(A,L,xt,"α","\\alpha",!0);E(A,L,xt,"β","\\beta",!0);E(A,L,xt,"γ","\\gamma",!0);E(A,L,xt,"δ","\\delta",!0);E(A,L,xt,"ϵ","\\epsilon",!0);E(A,L,xt,"ζ","\\zeta",!0);E(A,L,xt,"η","\\eta",!0);E(A,L,xt,"θ","\\theta",!0);E(A,L,xt,"ι","\\iota",!0);E(A,L,xt,"κ","\\kappa",!0);E(A,L,xt,"λ","\\lambda",!0);E(A,L,xt,"μ","\\mu",!0);E(A,L,xt,"ν","\\nu",!0);E(A,L,xt,"ξ","\\xi",!0);E(A,L,xt,"ο","\\omicron",!0);E(A,L,xt,"Ï","\\pi",!0);E(A,L,xt,"Ï","\\rho",!0);E(A,L,xt,"Ï","\\sigma",!0);E(A,L,xt,"Ï","\\tau",!0);E(A,L,xt,"Ï
","\\upsilon",!0);E(A,L,xt,"Ï","\\phi",!0);E(A,L,xt,"Ï","\\chi",!0);E(A,L,xt,"Ï","\\psi",!0);E(A,L,xt,"Ï","\\omega",!0);E(A,L,xt,"ε","\\varepsilon",!0);E(A,L,xt,"Ï","\\vartheta",!0);E(A,L,xt,"Ï","\\varpi",!0);E(A,L,xt,"ϱ","\\varrho",!0);E(A,L,xt,"Ï","\\varsigma",!0);E(A,L,xt,"Ï","\\varphi",!0);E(A,L,mt,"â","*",!0);E(A,L,mt,"+","+");E(A,L,mt,"â","-",!0);E(A,L,mt,"â
","\\cdot",!0);E(A,L,mt,"â","\\circ",!0);E(A,L,mt,"÷","\\div",!0);E(A,L,mt,"±","\\pm",!0);E(A,L,mt,"Ã","\\times",!0);E(A,L,mt,"â©","\\cap",!0);E(A,L,mt,"âª","\\cup",!0);E(A,L,mt,"â","\\setminus",!0);E(A,L,mt,"â§","\\land");E(A,L,mt,"â¨","\\lor");E(A,L,mt,"â§","\\wedge",!0);E(A,L,mt,"â¨","\\vee",!0);E(A,L,_e,"â","\\surd");E(A,L,ts,"â¨","\\langle",!0);E(A,L,ts,"â£","\\lvert");E(A,L,ts,"â¥","\\lVert");E(A,L,hi,"?","?");E(A,L,hi,"!","!");E(A,L,hi,"â©","\\rangle",!0);E(A,L,hi,"â£","\\rvert");E(A,L,hi,"â¥","\\rVert");E(A,L,he,"=","=");E(A,L,he,":",":");E(A,L,he,"â","\\approx",!0);E(A,L,he,"â
","\\cong",!0);E(A,L,he,"â¥","\\ge");E(A,L,he,"â¥","\\geq",!0);E(A,L,he,"â","\\gets");E(A,L,he,">","\\gt",!0);E(A,L,he,"â","\\in",!0);E(A,L,he,"î ","\\@not");E(A,L,he,"â","\\subset",!0);E(A,L,he,"â","\\supset",!0);E(A,L,he,"â","\\subseteq",!0);E(A,L,he,"â","\\supseteq",!0);E(A,ue,he,"â","\\nsubseteq",!0);E(A,ue,he,"â","\\nsupseteq",!0);E(A,L,he,"â¨","\\models");E(A,L,he,"â","\\leftarrow",!0);E(A,L,he,"â¤","\\le");E(A,L,he,"â¤","\\leq",!0);E(A,L,he,"<","\\lt",!0);E(A,L,he,"â","\\rightarrow",!0);E(A,L,he,"â","\\to");E(A,ue,he,"â±","\\ngeq",!0);E(A,ue,he,"â°","\\nleq",!0);E(A,L,Po," ","\\ ");E(A,L,Po," ","\\space");E(A,L,Po," ","\\nobreakspace");E(qe,L,Po," ","\\ ");E(qe,L,Po," "," ");E(qe,L,Po," ","\\space");E(qe,L,Po," ","\\nobreakspace");E(A,L,Po,null,"\\nobreak");E(A,L,Po,null,"\\allowbreak");E(A,L,m_,",",",");E(A,L,m_,";",";");E(A,ue,mt,"â¼","\\barwedge",!0);E(A,ue,mt,"â»","\\veebar",!0);E(A,L,mt,"â","\\odot",!0);E(A,L,mt,"â","\\oplus",!0);E(A,L,mt,"â","\\otimes",!0);E(A,L,_e,"â","\\partial",!0);E(A,L,mt,"â","\\oslash",!0);E(A,ue,mt,"â","\\circledcirc",!0);E(A,ue,mt,"â¡","\\boxdot",!0);
569E(A,L,mt,"â³","\\bigtriangleup");E(A,L,mt,"â½","\\bigtriangledown");E(A,L,mt,"â ","\\dagger");E(A,L,mt,"â","\\diamond");E(A,L,mt,"â","\\star");E(A,L,mt,"â","\\triangleleft");E(A,L,mt,"â¹","\\triangleright");E(A,L,ts,"{","\\{");E(qe,L,_e,"{","\\{");E(qe,L,_e,"{","\\textbraceleft");E(A,L,hi,"}","\\}");E(qe,L,_e,"}","\\}");E(qe,L,_e,"}","\\textbraceright");E(A,L,ts,"{","\\lbrace");E(A,L,hi,"}","\\rbrace");E(A,L,ts,"[","\\lbrack",!0);E(qe,L,_e,"[","\\lbrack",!0);E(A,L,hi,"]","\\rbrack",!0);E(qe,L,_e,"]","\\rbrack",!0);E(A,L,ts,"(","\\lparen",!0);E(A,L,hi,")","\\rparen",!0);E(qe,L,_e,"<","\\textless",!0);E(qe,L,_e,">","\\textgreater",!0);E(A,L,ts,"â","\\lfloor",!0);E(A,L,hi,"â","\\rfloor",!0);E(A,L,ts,"â","\\lceil",!0);E(A,L,hi,"â","\\rceil",!0);E(A,L,_e,"\\","\\backslash");E(A,L,_e,"â£","|");E(A,L,_e,"â£","\\vert");E(qe,L,_e,"|","\\textbar",!0);E(A,L,_e,"â¥","\\|");E(A,L,_e,"â¥","\\Vert");E(qe,L,_e,"â¥","\\textbardbl");E(qe,L,_e,"~","\\textasciitilde");E(qe,L,_e,"\\","\\textbackslash");E(qe,L,_e,"^","\\textasciicircum");E(A,L,he,"â","\\uparrow",!0);E(A,L,he,"â","\\Uparrow",!0);E(A,L,he,"â","\\downarrow",!0);E(A,L,he,"â","\\Downarrow",!0);E(A,L,he,"â","\\updownarrow",!0);E(A,L,he,"â","\\Updownarrow",!0);E(A,L,yn,"â","\\coprod");E(A,L,yn,"â","\\bigvee");E(A,L,yn,"â","\\bigwedge");E(A,L,yn,"â¨","\\biguplus");E(A,L,yn,"â","\\bigcap");E(A,L,yn,"â","\\bigcup");E(A,L,yn,"â«","\\int");E(A,L,yn,"â«","\\intop");E(A,L,yn,"â¬","\\iint");E(A,L,yn,"â","\\iiint");E(A,L,yn,"â","\\prod");E(A,L,yn,"â","\\sum");E(A,L,yn,"â¨","\\bigotimes");E(A,L,yn,"â¨","\\bigoplus");E(A,L,yn,"â¨","\\bigodot");E(A,L,yn,"â®","\\oint");E(A,L,yn,"â¯","\\oiint");E(A,L,yn,"â°","\\oiiint");E(A,L,yn,"â¨","\\bigsqcup");E(A,L,yn,"â«","\\smallint");E(qe,L,sh,"â¦","\\textellipsis");E(A,L,sh,"â¦","\\mathellipsis");E(qe,L,sh,"â¦","\\ldots",!0);E(A,L,sh,"â¦","\\ldots",!0);E(A,L,sh,"â¯","\\@cdots",!0);E(A,L,sh,"â±","\\ddots",!0);E(A,L,_e,"â®","\\varvdots");E(A,L,Gr,"Ë","\\acute");E(A,L,Gr,"Ë","\\grave");E(A,L,Gr,"¨","\\ddot");E(A,L,Gr,"~","\\tilde");E(A,L,Gr,"Ë","\\bar");E(A,L,Gr,"Ë","\\breve");E(A,L,Gr,"Ë","\\check");E(A,L,Gr,"^","\\hat");E(A,L,Gr,"â","\\vec");E(A,L,Gr,"Ë","\\dot");E(A,L,Gr,"Ë","\\mathring");E(A,L,xt,"î±","\\@imath");E(A,L,xt,"î·","\\@jmath");E(A,L,_e,"ı","ı");E(A,L,_e,"È·","È·");E(qe,L,_e,"ı","\\i",!0);E(qe,L,_e,"È·","\\j",!0);E(qe,L,_e,"Ã","\\ss",!0);E(qe,L,_e,"æ","\\ae",!0);E(qe,L,_e,"Å","\\oe",!0);E(qe,L,_e,"ø","\\o",!0);E(qe,L,_e,"Ã","\\AE",!0);E(qe,L,_e,"Å","\\OE",!0);E(qe,L,_e,"Ã","\\O",!0);E(qe,L,Gr,"Ë","\\'");E(qe,L,Gr,"Ë","\\`");E(qe,L,Gr,"Ë","\\^");E(qe,L,Gr,"Ë","\\~");E(qe,L,Gr,"Ë","\\=");E(qe,L,Gr,"Ë","\\u");E(qe,L,Gr,"Ë","\\.");E(qe,L,Gr,"¸","\\c");E(qe,L,Gr,"Ë","\\r");E(qe,L,Gr,"Ë","\\v");E(qe,L,Gr,"¨",'\\"');E(qe,L,Gr,"Ë","\\H");E(qe,L,Gr,"â¯","\\textcircled");var WO={"--":!0,"---":!0,"``":!0,"''":!0};E(qe,L,_e,"â","--",!0);E(qe,L,_e,"â","\\textendash");E(qe,L,_e,"â","---",!0);E(qe,L,_e,"â","\\textemdash");E(qe,L,_e,"â","`",!0);E(qe,L,_e,"â","\\textquoteleft");E(qe,L,_e,"â","'",!0);E(qe,L,_e,"â","\\textquoteright");E(qe,L,_e,"â","``",!0);E(qe,L,_e,"â","\\textquotedblleft");E(qe,L,_e,"â","''",!0);E(qe,L,_e,"â","\\textquotedblright");E(A,L,_e,"°","\\degree",!0);E(qe,L,_e,"°","\\degree");E(qe,L,_e,"°","\\textdegree",!0);E(A,L,_e,"£","\\pounds");E(A,L,_e,"£","\\mathsterling",!0);E(qe,L,_e,"£","\\pounds");E(qe,L,_e,"£","\\textsterling",!0);E(A,ue,_e,"â ","\\maltese");E(qe,ue,_e,"â ","\\maltese");var GT='0123456789/@."';for(var Fv=0;Fv<GT.length;Fv++){var $T=GT.charAt(Fv);E(A,L,_e,$T,$T)}var qT='0123456789!@*()-=+";:?/.,';for(var Dv=0;Dv<qT.length;Dv++){var VT=qT.charAt(Dv);E(qe,L,_e,VT,VT)}var s1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Nv=0;Nv<s1.length;Nv++){var Zp=s1.charAt(Nv);E(A,L,xt,Zp,Zp),E(qe,L,_e,Zp,Zp)}E(A,ue,_e,"C","â");E(qe,ue,_e,"C","â");E(A,ue,_e,"H","â");E(qe,ue,_e,"H","â");E(A,ue,_e,"N","â");E(qe,ue,_e,"N","â");E(A,ue,_e,"P","â");E(qe,ue,_e,"P","â");E(A,ue,_e,"Q","â");E(qe,ue,_e,"Q","â");E(A,ue,_e,"R","â");E(qe,ue,_e,"R","â");E(A,ue,_e,"Z","â¤");
vendor: 6,629 bytes, line 569
569E(qe,ue,_e,"Z","â¤");E(A,L,xt,"h","â");E(qe,L,xt,"h","â");var Nt="";for(var ni=0;ni<s1.length;ni++){var en=s1.charAt(ni);Nt=String.fromCharCode(55349,56320+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt),Nt=String.fromCharCode(55349,56372+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt),Nt=String.fromCharCode(55349,56424+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt),Nt=String.fromCharCode(55349,56580+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt),Nt=String.fromCharCode(55349,56684+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt),Nt=String.fromCharCode(55349,56736+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt),Nt=String.fromCharCode(55349,56788+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt),Nt=String.fromCharCode(55349,56840+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt),Nt=String.fromCharCode(55349,56944+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt),ni<26&&(Nt=String.fromCharCode(55349,56632+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt),Nt=String.fromCharCode(55349,56476+ni),E(A,L,xt,en,Nt),E(qe,L,_e,en,Nt))}Nt="ð";E(A,L,xt,"k",Nt);E(qe,L,_e,"k",Nt);for(var wu=0;wu<10;wu++){var el=wu.toString();Nt=String.fromCharCode(55349,57294+wu),E(A,L,xt,el,Nt),E(qe,L,_e,el,Nt),Nt=String.fromCharCode(55349,57314+wu),E(A,L,xt,el,Nt),E(qe,L,_e,el,Nt),Nt=String.fromCharCode(55349,57324+wu),E(A,L,xt,el,Nt),E(qe,L,_e,el,Nt),Nt=String.fromCharCode(55349,57334+wu),E(A,L,xt,el,Nt),E(qe,L,_e,el,Nt)}var l4="ÃÃþ";for(var Pv=0;Pv<l4.length;Pv++){var em=l4.charAt(Pv);E(A,L,xt,em,em),E(qe,L,_e,em,em)}var tm=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],YT=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Jae=function(e,r){var n=e.charCodeAt(0),i=e.charCodeAt(1),s=(n-55296)*1024+(i-56320)+65536,a=r==="math"?0:1;if(119808<=s&&s<120484){var l=Math.floor((s-119808)/26);return[tm[l][2],tm[l][a]]}else if(120782<=s&&s<=120831){var u=Math.floor((s-120782)/10);return[YT[u][2],YT[u][a]]}else{if(s===120485||s===120486)return[tm[0][2],tm[0][a]];if(120486<s&&s<120782)return["",""];throw new tt("Unsupported character: "+e)}},g_=function(e,r,n){return Dr[n][e]&&Dr[n][e].replace&&(e=Dr[n][e].replace),{value:e,metrics:h6(e,r,n)}},Vs=function(e,r,n,i,s){var a=g_(e,r,n),l=a.metrics;e=a.value;var u;if(l){var p=l.italic;(n==="text"||i&&i.font==="mathit")&&(p=0),u=new Is(e,l.height,l.depth,p,l.skew,l.width,s)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+e+"' in style '"+r+"' and mode '"+n+"'")),u=new Is(e,0,0,0,0,0,s);if(i){u.maxFontSize=i.sizeMultiplier,i.style.isTight()&&u.classes.push("mtight");var d=i.getColor();d&&(u.style.color=d)}return u},Zae=function(e,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&g_(e,"Main-Bold",r).metrics?Vs(e,"Main-Bold",r,n,i.concat(["mathbf"])):e==="\\"||Dr[r][e].font==="main"?Vs(e,"Main-Regular",r,n,i):Vs(e,"AMS-Regular",r,n,i.concat(["amsrm"]))},eoe=function(e,r,n,i,s){return s!=="textord"&&g_(e,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},toe=function(e,r,n){var i=e.mode,s=e.text,a=["mord"],l=i==="math"||i==="text"&&r.font,u=l?r.font:r.fontFamily,p="",d="";if(s.charCodeAt(0)===55349&&([p,d]=Jae(s,i)),p.length>0)return Vs(s,p,i,r,a.concat(d));if(u){var g,_;if(u==="boldsymbol"){var v=eoe(s,i,r,a,n);g=v.fontName,_=[v.fontClass]}else l?(g=qO[u].fontName,_=[u]):(g=rm(u,r.fontWeight,r.fontShape),_=[u,r.fontWeight,r.fontShape]);if(g_(s,g,i).metrics)return Vs(s,g,i,r,a.concat(_));if(WO.hasOwnProperty(s)&&g.slice(0,10)==="Typewriter"){for(var k=[],O=0;O<s.length;O++)k.push(Vs(s[O],g,i,r,a.concat(_)));return $O(k)}}if(n==="mathord")return Vs(s,"Math-Italic",i,r,a.concat(["mathnormal"]));if(n==="textord"){var N=Dr[i][s]&&Dr[i][s].font;if(N==="ams"){var S=rm("amsrm",r.fontWeight,r.fontShape);return Vs(s,S,i,r,a.concat("amsrm",r.fontWeight,r.fontShape))}else if(N==="main"||!N){var M=rm("textrm",r.fontWeight,r.fontShape);return Vs(s,M,i,r,a.concat(r.fontWeight,r.fontShape))}else{var F=rm(N,r.fontWeight,r.fontShape);return Vs(s,F,i,r,a.concat(F,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},roe=(t,e)=>{if(Gl(t.classes)!==Gl(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in t.style)if(t.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;for(var i in e.style)if(e.style.hasOwnProperty(i)&&t.style[i]!==e.style[i])return!1;return!0},noe=t=>{for(var e=0;e<t.length-1;e++){var r=t[e],n=t[e+1];r instanceof Is&&n instanceof Is&&roe(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,t.splice(e+1,1),e--)}return t},d6=function(e){for(var r=0,n=0,i=0,s=0;s<e.children.length;s++){var a=e.children[s];a.height>r&&(r=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>i&&(i=a.maxFontSize)}e.height=r,e.depth=n,e.maxFontSize=i},vi=function(e,r,n,i){var s=new Ld(e,r,n,i);return d6(s),s},GO=(t,e,r,n)=>new Ld(t,e,r,n),ioe=function(e,r,n){var i=vi([e],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=ut(i.height),i.maxFontSize=1,i},soe=function(e,r,n,i){var s=new f6(e,r,n,i);return d6(s),s},$O=function(e){var r=new Pd(e);return d6(r),r},aoe=function(e,r){return e instanceof Pd?vi([],[e],r):e},ooe=function(e){if(e.positionType==="individualShift"){for(var r=e.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,s=i,a=1;a<r.length;a++){var l=-r[a].shift-s-r[a].elem.depth,u=l-(r[a-1].elem.height+r[a-1].elem.depth);s=s+l,n.push({type:"kern",size:u}),n.push(r[a])}return{children:n,depth:i}}var p;if(e.positionType==="top"){for(var d=e.positionData,g=0;g<e.children.length;g++){var _=e.children[g];
vendor: 5,342 bytes, line 569
569d-=_.type==="kern"?_.size:_.elem.height+_.elem.depth}p=d}else if(e.positionType==="bottom")p=-e.positionData;else{var v=e.children[0];if(v.type!=="elem")throw new Error('First child must have type "elem".');if(e.positionType==="shift")p=-v.elem.depth-e.positionData;else if(e.positionType==="firstBaseline")p=-v.elem.depth;else throw new Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:p}},loe=function(e,r){for(var{children:n,depth:i}=ooe(e),s=0,a=0;a<n.length;a++){var l=n[a];if(l.type==="elem"){var u=l.elem;s=Math.max(s,u.maxFontSize,u.height)}}s+=2;var p=vi(["pstrut"],[]);p.style.height=ut(s);for(var d=[],g=i,_=i,v=i,k=0;k<n.length;k++){var O=n[k];if(O.type==="kern")v+=O.size;else{var N=O.elem,S=O.wrapperClasses||[],M=O.wrapperStyle||{},F=vi(S,[p,N],void 0,M);F.style.top=ut(-s-v-N.depth),O.marginLeft&&(F.style.marginLeft=O.marginLeft),O.marginRight&&(F.style.marginRight=O.marginRight),d.push(F),v+=N.height+N.depth}g=Math.min(g,v),_=Math.max(_,v)}var G=vi(["vlist"],d);G.style.height=ut(_);var X;if(g<0){var z=vi([],[]),R=vi(["vlist"],[z]);R.style.height=ut(-g);var H=vi(["vlist-s"],[new Is("â")]);X=[vi(["vlist-r"],[G,H]),vi(["vlist-r"],[R])]}else X=[vi(["vlist-r"],[G])];var re=vi(["vlist-t"],X);return X.length===2&&re.classes.push("vlist-t2"),re.height=_,re.depth=-g,re},uoe=(t,e)=>{var r=vi(["mspace"],[],e),n=Kr(t,e);return r.style.marginRight=ut(n),r},rm=function(e,r,n){var i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}var s;return r==="textbf"&&n==="textit"?s="BoldItalic":r==="textbf"?s="Bold":r==="textit"?s="Italic":s="Regular",i+"-"+s},qO={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"},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"}},VO={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},coe=function(e,r){var[n,i,s]=VO[e],a=new $l(n),l=new Co([a],{width:ut(i),height:ut(s),style:"width:"+ut(i),viewBox:"0 0 "+1e3*i+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),u=GO(["overlay"],[l],r);return u.height=s,u.style.height=ut(s),u.style.width=ut(i),u},Me={fontMap:qO,makeSymbol:Vs,mathsym:Zae,makeSpan:vi,makeSvgSpan:GO,makeLineSpan:ioe,makeAnchor:soe,makeFragment:$O,wrapFragment:aoe,makeVList:loe,makeOrd:toe,makeGlue:uoe,staticSvg:coe,svgData:VO,tryCombineChars:noe},qr={number:3,unit:"mu"},Eu={number:4,unit:"mu"},io={number:5,unit:"mu"},hoe={mord:{mop:qr,mbin:Eu,mrel:io,minner:qr},mop:{mord:qr,mop:qr,mrel:io,minner:qr},mbin:{mord:Eu,mop:Eu,mopen:Eu,minner:Eu},mrel:{mord:io,mop:io,mopen:io,minner:io},mopen:{},mclose:{mop:qr,mbin:Eu,mrel:io,minner:qr},mpunct:{mord:qr,mop:qr,mrel:io,mopen:qr,mclose:qr,mpunct:qr,minner:qr},minner:{mord:qr,mop:qr,mbin:Eu,mrel:io,mopen:qr,mpunct:qr,minner:qr}},foe={mord:{mop:qr},mop:{mord:qr,mop:qr},mbin:{},mrel:{},mopen:{},mclose:{mop:qr},mpunct:{},minner:{mop:qr}},YO={},a1={},o1={};function pt(t){for(var{type:e,names:r,props:n,handler:i,htmlBuilder:s,mathmlBuilder:a}=t,l={type:e,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},u=0;u<r.length;++u)YO[r[u]]=l;e&&(s&&(a1[e]=s),a&&(o1[e]=a))}function sc(t){var{type:e,htmlBuilder:r,mathmlBuilder:n}=t;pt({type:e,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var l1=function(e){return e.type==="ordgroup"&&e.body.length===1?e.body[0]:e},ln=function(e){return e.type==="ordgroup"?e.body:[e]},Oo=Me.makeSpan,doe=["leftmost","mbin","mopen","mrel","mop","mpunct"],poe=["rightmost","mrel","mclose","mpunct"],moe={display:kt.DISPLAY,text:kt.TEXT,script:kt.SCRIPT,scriptscript:kt.SCRIPTSCRIPT},goe={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Tn=function(e,r,n,i){i===void 0&&(i=[null,null]);for(var s=[],a=0;a<e.length;a++){var l=cr(e[a],r);if(l instanceof Pd){var u=l.children;s.push(...u)}else s.push(l)}if(Me.tryCombineChars(s),!n)return s;var p=r;if(e.length===1){var d=e[0];d.type==="sizing"?p=r.havingSize(d.size):d.type==="styling"&&(p=r.havingStyle(moe[d.style]))}var g=Oo([i[0]||"leftmost"],[],r),_=Oo([i[1]||"rightmost"],[],r),v=n==="root";return KT(s,(k,O)=>{var N=O.classes[0],S=k.classes[0];N==="mbin"&&Tt.contains(poe,S)?O.classes[0]="mord":S==="mbin"&&Tt.contains(doe,N)&&(k.classes[0]="mord")},{node:g},_,v),KT(s,(k,O)=>{var N=u4(O),S=u4(k),M=N&&S?k.hasClass("mtight")?foe[N][S]:hoe[N][S]:null;if(M)return Me.makeGlue(M,p)},{node:g},_,v),s},KT=function t(e,r,n,i,s){i&&e.push(i);for(var a=0;a<e.length;a++){var l=e[a],u=KO(l);
vendor: 8,065 bytes, line 569
569if(u){t(u.children,r,n,null,s);continue}var p=!l.hasClass("mspace");if(p){var d=r(l,n.node);d&&(n.insertAfter?n.insertAfter(d):(e.unshift(d),a++))}p?n.node=l:s&&l.hasClass("newline")&&(n.node=Oo(["leftmost"])),n.insertAfter=(g=>_=>{e.splice(g+1,0,_),a++})(a)}i&&e.pop()},KO=function(e){return e instanceof Pd||e instanceof f6||e instanceof Ld&&e.hasClass("enclosing")?e:null},_oe=function t(e,r){var n=KO(e);if(n){var i=n.children;if(i.length){if(r==="right")return t(i[i.length-1],"right");if(r==="left")return t(i[0],"left")}}return e},u4=function(e,r){return e?(r&&(e=_oe(e,r)),goe[e.classes[0]]||null):null},td=function(e,r){var n=["nulldelimiter"].concat(e.baseSizingClasses());return Oo(r.concat(n))},cr=function(e,r,n){if(!e)return Oo();if(a1[e.type]){var i=a1[e.type](e,r);if(n&&r.size!==n.size){i=Oo(r.sizingClasses(n),[i],r);var s=r.sizeMultiplier/n.sizeMultiplier;i.height*=s,i.depth*=s}return i}else throw new tt("Got group of unknown type: '"+e.type+"'")};function nm(t,e){var r=Oo(["base"],t,e),n=Oo(["strut"]);return n.style.height=ut(r.height+r.depth),r.depth&&(n.style.verticalAlign=ut(-r.depth)),r.children.unshift(n),r}function c4(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var n=Tn(t,e,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var s=[],a=[],l=0;l<n.length;l++)if(a.push(n[l]),n[l].hasClass("mbin")||n[l].hasClass("mrel")||n[l].hasClass("allowbreak")){for(var u=!1;l<n.length-1&&n[l+1].hasClass("mspace")&&!n[l+1].hasClass("newline");)l++,a.push(n[l]),n[l].hasClass("nobreak")&&(u=!0);u||(s.push(nm(a,e)),a=[])}else n[l].hasClass("newline")&&(a.pop(),a.length>0&&(s.push(nm(a,e)),a=[]),s.push(n[l]));a.length>0&&s.push(nm(a,e));var p;r?(p=nm(Tn(r,e,!0)),p.classes=["tag"],s.push(p)):i&&s.push(i);var d=Oo(["katex-html"],s);if(d.setAttribute("aria-hidden","true"),p){var g=p.children[0];g.style.height=ut(d.height+d.depth),d.depth&&(g.style.verticalAlign=ut(-d.depth))}return d}function XO(t){return new Pd(t)}class bs{constructor(e,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=Gl(this.classes));for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){var e="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(e+=" "+r+'="',e+=Tt.escape(this.attributes[r]),e+='"');this.classes.length>0&&(e+=' class ="'+Tt.escape(Gl(this.classes))+'"'),e+=">";for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map(e=>e.toText()).join("")}}class Ef{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Tt.escape(this.toText())}toText(){return this.text}}class yoe{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character="â":e>=.1666&&e<=.1667?this.character="â":e>=.2222&&e<=.2223?this.character="â
":e>=.2777&&e<=.2778?this.character="â
â":e>=-.05556&&e<=-.05555?this.character="ââ£":e>=-.1667&&e<=-.1666?this.character="ââ£":e>=-.2223&&e<=-.2222?this.character="ââ£":e>=-.2778&&e<=-.2777?this.character="â
â£":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",ut(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ut(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Qe={MathNode:bs,TextNode:Ef,SpaceNode:yoe,newDocumentFragment:XO},Rs=function(e,r,n){return Dr[r][e]&&Dr[r][e].replace&&e.charCodeAt(0)!==55349&&!(WO.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=Dr[r][e].replace),new Qe.TextNode(e)},p6=function(e){return e.length===1?e[0]:new Qe.MathNode("mrow",e)},m6=function(e,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var i=e.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var s=e.text;if(Tt.contains(["\\imath","\\jmath"],s))return null;Dr[i][s]&&Dr[i][s].replace&&(s=Dr[i][s].replace);var a=Me.fontMap[n].fontName;return h6(s,a,i)?Me.fontMap[n].variant:null},Ii=function(e,r,n){if(e.length===1){var i=xr(e[0],r);return n&&i instanceof bs&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var s=[],a,l=0;l<e.length;l++){var u=xr(e[l],r);if(u instanceof bs&&a instanceof bs){if(u.type==="mtext"&&a.type==="mtext"&&u.getAttribute("mathvariant")===a.getAttribute("mathvariant")){a.children.push(...u.children);continue}else if(u.type==="mn"&&a.type==="mn"){a.children.push(...u.children);continue}else if(u.type==="mi"&&u.children.length===1&&a.type==="mn"){var p=u.children[0];if(p instanceof Ef&&p.text==="."){a.children.push(...u.children);continue}}else if(a.type==="mi"&&a.children.length===1){var d=a.children[0];if(d instanceof Ef&&d.text==="̸"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var g=u.children[0];g instanceof Ef&&g.text.length>0&&(g.text=g.text.slice(0,1)+"̸"+g.text.slice(1),s.pop())}}}s.push(u),a=u}return s},ql=function(e,r,n){return p6(Ii(e,r,n))},xr=function(e,r){if(!e)return new Qe.MathNode("mrow");if(o1[e.type]){var n=o1[e.type](e,r);return n}else throw new tt("Got group of unknown type: '"+e.type+"'")};function XT(t,e,r,n,i){var s=Ii(t,r),a;s.length===1&&s[0]instanceof bs&&Tt.contains(["mrow","mtable"],s[0].type)?a=s[0]:a=new Qe.MathNode("mrow",s);var l=new Qe.MathNode("annotation",[new Qe.TextNode(e)]);l.setAttribute("encoding","application/x-tex");var u=new Qe.MathNode("semantics",[a,l]),p=new Qe.MathNode("math",[u]);p.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&p.setAttribute("display","block");var d=i?"katex":"katex-mathml";return Me.makeSpan([d],[p])}var QO=function(e){return new co({style:e.displayMode?kt.DISPLAY:kt.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},JO=function(e,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),e=Me.makeSpan(n,[e])}return e},voe=function(e,r,n){var i=QO(n),s;if(n.output==="mathml")return XT(e,r,i,n.displayMode,!0);if(n.output==="html"){var a=c4(e,i);s=Me.makeSpan(["katex"],[a])}else{var l=XT(e,r,i,n.displayMode,!1),u=c4(e,i);s=Me.makeSpan(["katex"],[l,u])}return JO(s,n)},boe=function(e,r,n){var i=QO(n),s=c4(e,i),a=Me.makeSpan(["katex"],[s]);return JO(a,n)},woe={widehat:"^",widecheck:"Ë",widetilde:"~",utilde:"~",overleftarrow:"â",underleftarrow:"â",xleftarrow:"â",overrightarrow:"â",underrightarrow:"â",xrightarrow:"â",underbrace:"â",overbrace:"â",overgroup:"â ",undergroup:"â¡",overleftrightarrow:"â",underleftrightarrow:"â",xleftrightarrow:"â",Overrightarrow:"â",xRightarrow:"â",overleftharpoon:"â¼",xleftharpoonup:"â¼",overrightharpoon:"â",xrightharpoonup:"â",xLeftarrow:"â",xLeftrightarrow:"â",xhookleftarrow:"â©",xhookrightarrow:"âª",xma
vendor: 77,188 bytes, lines 569-570
569psto:"â¦",xrightharpoondown:"â",xleftharpoondown:"â½",xrightleftharpoons:"â",xleftrightharpoons:"â",xtwoheadleftarrow:"â",xtwoheadrightarrow:"â ",xlongequal:"=",xtofrom:"â",xrightleftarrows:"â",xrightequilibrium:"â",xleftequilibrium:"â","\\cdrightarrow":"â","\\cdleftarrow":"â","\\cdlongequal":"="},Eoe=function(e){var r=new Qe.MathNode("mo",[new Qe.TextNode(woe[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Soe={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]},Toe=function(e){return e.type==="ordgroup"?e.body.length:1},xoe=function(e,r){function n(){var l=4e5,u=e.label.slice(1);if(Tt.contains(["widehat","widecheck","widetilde","utilde"],u)){var p=e,d=Toe(p.base),g,_,v;if(d>5)u==="widehat"||u==="widecheck"?(g=420,l=2364,v=.42,_=u+"4"):(g=312,l=2340,v=.34,_="tilde4");else{var k=[1,1,2,2,3,3][d];u==="widehat"||u==="widecheck"?(l=[0,1062,2364,2364,2364][k],g=[0,239,300,360,420][k],v=[0,.24,.3,.3,.36,.42][k],_=u+k):(l=[0,600,1033,2339,2340][k],g=[0,260,286,306,312][k],v=[0,.26,.286,.3,.306,.34][k],_="tilde"+k)}var O=new $l(_),N=new Co([O],{width:"100%",height:ut(v),viewBox:"0 0 "+l+" "+g,preserveAspectRatio:"none"});return{span:Me.makeSvgSpan([],[N],r),minWidth:0,height:v}}else{var S=[],M=Soe[u],[F,G,X]=M,z=X/1e3,R=F.length,H,re;if(R===1){var ie=M[3];H=["hide-tail"],re=[ie]}else if(R===2)H=["halfarrow-left","halfarrow-right"],re=["xMinYMin","xMaxYMin"];else if(R===3)H=["brace-left","brace-center","brace-right"],re=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support 570 `+R+" children.");for(var q=0;q<R;q++){var Y=new $l(F[q]),Q=new Co([Y],{width:"400em",height:ut(z),viewBox:"0 0 "+l+" "+X,preserveAspectRatio:re[q]+" slice"}),fe=Me.makeSvgSpan([H[q]],[Q],r);if(R===1)return{span:fe,minWidth:G,height:z};fe.style.height=ut(z),S.push(fe)}return{span:Me.makeSpan(["stretchy"],S,r),minWidth:G,height:z}}}var{span:i,minWidth:s,height:a}=n();return i.height=a,i.style.height=ut(a),s>0&&(i.style.minWidth=ut(s)),i},koe=function(e,r,n,i,s){var a,l=e.height+e.depth+n+i;if(/fbox|color|angl/.test(r)){if(a=Me.makeSpan(["stretchy",r],[],s),r==="fbox"){var u=s.color&&s.getColor();u&&(a.style.borderColor=u)}}else{var p=[];/^[bx]cancel$/.test(r)&&p.push(new o4({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&p.push(new o4({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new Co(p,{width:"100%",height:ut(l)});a=Me.makeSvgSpan([],[d],s)}return a.height=l,a.style.height=ut(l),a},Io={encloseSpan:koe,mathMLnode:Eoe,svgSpan:xoe};function Vt(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function g6(t){var e=__(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function __(t){return t&&(t.type==="atom"||Qae.hasOwnProperty(t.type))?t:null}var _6=(t,e)=>{var r,n,i;t&&t.type==="supsub"?(n=Vt(t.base,"accent"),r=n.base,t.base=r,i=Kae(cr(t,e)),t.base=n):(n=Vt(t,"accent"),r=n.base);var s=cr(r,e.havingCrampedStyle()),a=n.isShifty&&Tt.isCharacterBox(r),l=0;if(a){var u=Tt.getBaseElem(r),p=cr(u,e.havingCrampedStyle());l=WT(p).skew}var d=n.label==="\\c",g=d?s.height+s.depth:Math.min(s.height,e.fontMetrics().xHeight),_;if(n.isStretchy)_=Io.svgSpan(n,e),_=Me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:_,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+ut(2*l)+")",marginLeft:ut(2*l)}:void 0}]},e);else{var v,k;n.label==="\\vec"?(v=Me.staticSvg("vec",e),k=Me.svgData.vec[1]):(v=Me.makeOrd({mode:n.mode,text:n.label},e,"textord"),v=WT(v),v.italic=0,k=v.width,d&&(g+=v.depth)),_=Me.makeSpan(["accent-body"],[v]);var O=n.label==="\\textcircled";O&&(_.classes.push("accent-full"),g=s.height);var N=l;O||(N-=k/2),_.style.left=ut(N),n.label==="\\textcircled"&&(_.style.top=".2em"),_=Me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-g},{type:"elem",elem:_}]},e)}var S=Me.makeSpan(["mord","accent"],[_],e);return i?(i.children[0]=S,i.height=Math.max(S.height,i.height),i.classes[0]="mord",i):S},ZO=(t,e)=>{var r=t.isStretchy?Io.mathMLnode(t.label):new Qe.MathNode("mo",[Rs(t.label,t.mode)]),n=new Qe.MathNode("mover",[xr(t.base,e),r]);return n.setAttribute("accent","true"),n},Aoe=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));pt({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:(t,e)=>{var r=l1(e[0]),n=!Aoe.test(t.funcName),i=!n||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:_6,mathmlBuilder:ZO});pt({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],n=t.parser.mode;return n==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:_6,mathmlBuilder:ZO});pt({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(t,e)=>{var r=cr(t.base,e),n=Io.svgSpan(t,e),i=t.label==="\\utilde"?.12:0,s=Me.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},e);return Me.makeSpan(["mord","accentunder"],[s],e)},mathmlBuilder:(t,e)=>{var r=Io.mathMLnode(t.label),n=new Qe.MathNode("munder",[xr(t.base,e),r]);return n.setAttribute("accentunder","true"),n}});var im=t=>{var e=new Qe.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};pt({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(t,e,r){var{parser:n,funcName:i}=t;return{type:"xArrow",mode:n.mode,label:i,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,n=e.havingStyle(r.sup()),i=Me.wrapFragment(cr(t.body,n,e),e),s=t.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(s+"-arrow-pad");var a;t.below&&(n=e.havingStyle(r.sub()),a=Me.wrapFragment(cr(t.below,n,e),e),a.classes.push(s+"-arrow-pad"));var l=Io.svgSpan(t,e),u=-e.fontMetrics().axisHeight+.5*l.height,p=-e.fontMetrics().axisHeight-.5*l.height-.111;(i.depth>.25||t.label==="\\xleftequilibrium")&&(p-=i.depth);var d;if(a){var g=-e.fontMetrics().axisHeight+a.height+.5*l.height+.111;d=Me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:p},{type:"elem",elem:l,shift:u},{type:"elem",elem:a,shift:g}]},e)}else d=Me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:p},{type:"elem",elem:l,shift:u}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),Me.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(t,e){var r=Io.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(t.body){var i=im(xr(t.body,e));if(t.below){var s=im(xr(t.below,e));n=new Qe.MathNode("munderover",[r,s,i])}else n=new Qe.MathNode("mover",[r,i])}else if(t.below){var a=im(xr(t.below,e));n=new Qe.MathNode("munder",[r,a])}else n=im(),n=new Qe.MathNode("mover",[r,n]);return n}});var Moe=Me.makeSpan;function eI(t,e){var r=Tn(t.body,e,!0);return Moe([t.mclass],r,e)}function tI(t,e){var r,n=Ii(t.body,e);return t.mclass==="minner"?r=new Qe.MathNode("mpadded",n):t.mclass==="mord"?t.isCharacterBox?(r=n[0],r.type="mi"):r=new Qe.MathNode("mi",n):(t.isCharacterBox?(r=n[0],r.type="mo"):r=new Qe.MathNode("mo",n),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}pt({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:ln(i),isCharacterBox:Tt.isCharacterBox(i)}},htmlBuilder:eI,mathmlBuilder:tI});var y_=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};pt({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:y_(e[0]),body:ln(e[1]),isCharacterBox:Tt.isCharacterBox(e[1])}}});pt({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:n}=t,i=e[1],s=e[0],a;n!=="\\stackrel"?a=y_(i):a="mrel";var l={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:ln(i)},u={type:"supsub",mode:s.mode,base:l,sup:n==="\\underset"?null:s,sub:n==="\\underset"?s:null};return{type:"mclass",mode:r.mode,mclass:a,body:[u],isCharacterBox:Tt.isCharacterBox(u)}},htmlBuilder:eI,mathmlBuilder:tI});pt({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:y_(e[0]),body:ln(e[0])}},htmlBuilder(t,e){var r=Tn(t.body,e,!0),n=Me.makeSpan([t.mclass],r,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,e){var r=Ii(t.body,e),n=new Qe.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Coe={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},QT=()=>({type:"styling",body:[],mode:"math",style:"display"}),JT=t=>t.type==="textord"&&t.text==="@",Ooe=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function Ioe(t,e,r){var n=Coe[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[e[0]],[]),s={type:"atom",text:n,mode:"math",family:"rel"},a=r.callFunction("\\Big",[s],[]),l=r.callFunction("\\\\cdright",[e[1]],[]),u={type:"ordgroup",mode:"math",body:[i,a,l]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var p={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[p],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Roe(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new tt("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var n=[],i=[n],s=0;s<e.length;s++){for(var a=e[s],l=QT(),u=0;u<a.length;u++)if(!JT(a[u]))l.body.push(a[u]);else{n.push(l),u+=1;var p=g6(a[u]).text,d=new Array(2);if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(p)>-1))if("<>AV".indexOf(p)>-1)for(var g=0;g<2;g++){for(var _=!0,v=u+1;v<a.length;v++){if(Ooe(a[v],p)){_=!1,u=v;break}if(JT(a[v]))throw new tt("Missing a "+p+" character to complete a CD arrow.",a[v]);d[g].body.push(a[v])}if(_)throw new tt("Missing a "+p+" character to complete a CD arrow.",a[u])}else throw new tt('Expected one of "<>AV=|." after @',a[u]);var k=Ioe(p,d,t),O={type:"styling",body:[k],mode:"math",style:"display"};n.push(O),l=QT()}s%2===0?n.push(l):n.shift(),n=[],i.push(n)}t.gullet.endGroup(),t.gullet.endGroup();var N=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:N,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}pt({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),n=Me.wrapFragment(cr(t.label,r,e),e);return n.classes.push("cd-label-"+t.side),n.style.bottom=ut(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,e){var r=new Qe.MathNode("mrow",[xr(t.label,e)]);return r=new Qe.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new Qe.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});pt({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=Me.wrapFragment(cr(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new Qe.MathNode("mrow",[xr(t.fragment,e)])}});pt({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,n=Vt(e[0],"ordgroup"),i=n.body,s="",a=0;a<i.length;a++){var l=Vt(i[a],"textord");s+=l.text}var u=parseInt(s),p;if(isNaN(u))throw new tt("\\@char has non-numeric argument "+s);if(u<0||u>=1114111)throw new tt("\\@char with invalid code point "+s);return u<=65535?p=String.fromCharCode(u):(u-=65536,p=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:p}}});var rI=(t,e)=>{var r=Tn(t.body,e.withColor(t.color),!1);return Me.makeFragment(r)},nI=(t,e)=>{var r=Ii(t.body,e.withColor(t.color)),n=new Qe.MathNode("mstyle",r);return n.setAttribute("mathcolor",t.color),n};pt({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,n=Vt(e[0],"color-token").color,i=e[1];return{type:"color",mode:r.mode,color:n,body:ln(i)}},htmlBuilder:rI,mathmlBuilder:nI});pt({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:n}=t,i=Vt(e[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var s=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:s}},htmlBuilder:rI,mathmlBuilder:nI});pt({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:n}=t,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,s=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:s,size:i&&Vt(i,"size").value}},htmlBuilder(t,e){var r=Me.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=ut(Kr(t.size,e)))),r},mathmlBuilder(t,e){var r=new Qe.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",ut(Kr(t.size,e)))),r}});var h4={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},iI=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new tt("Expected a control sequence",t);return e},Foe=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},sI=(t,e,r,n)=>{var i=t.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,i,n)};pt({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var n=e.fetch();if(h4[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=h4[n.text]),Vt(e.parseFunction(),"internal");throw new tt("Invalid token after macro prefix",n)}});pt({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=e.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new tt("Expected a control sequence",n);for(var s=0,a,l=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){a=e.gullet.future(),l[s].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new tt('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==s+1)throw new tt('Argument number "'+n.text+'" out of order');s++,l.push([])}else{if(n.text==="EOF")throw new tt("Expected a macro definition");l[s].push(n.text)}var{tokens:u}=e.gullet.consumeArg();return a&&u.unshift(a),(r==="\\edef"||r==="\\xdef")&&(u=e.gullet.expandTokens(u),u.reverse()),e.gullet.macros.set(i,{tokens:u,numArgs:s,delimiters:l},r===h4[r]),{type:"internal",mode:e.mode}}});pt({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=iI(e.gullet.popToken());e.gullet.consumeSpaces();var i=Foe(e);return sI(e,n,i,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});pt({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=iI(e.gullet.popToken()),i=e.gullet.popToken(),s=e.gullet.popToken();return sI(e,n,s,r==="\\\\globalfuture"),e.gullet.pushToken(s),e.gullet.pushToken(i),{type:"internal",mode:e.mode}}});var Zh=function(e,r,n){var i=Dr.math[e]&&Dr.math[e].replace,s=h6(i||e,r,n);if(!s)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return s},y6=function(e,r,n,i){var s=n.havingBaseStyle(r),a=Me.makeSpan(i.concat(s.sizingClasses(n)),[e],n),l=s.sizeMultiplier/n.sizeMultiplier;return a.height*=l,a.depth*=l,a.maxFontSize=s.sizeMultiplier,a},aI=function(e,r,n){var i=r.havingBaseStyle(n),s=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=ut(s),e.height-=s,e.depth+=s},Doe=function(e,r,n,i,s,a){var l=Me.makeSymbol(e,"Main-Regular",s,i),u=y6(l,r,i,a);return n&&aI(u,i,r),u},Noe=function(e,r,n,i){return Me.makeSymbol(e,"Size"+r+"-Regular",n,i)},oI=function(e,r,n,i,s,a){var l=Noe(e,r,s,i),u=y6(Me.makeSpan(["delimsizing","size"+r],[l],i),kt.TEXT,i,a);return n&&aI(u,i,kt.TEXT),u},Lv=function(e,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var s=Me.makeSpan(["delimsizinginner",i],[Me.makeSpan([],[Me.makeSymbol(e,r,n)])]);return{type:"elem",elem:s}},Bv=function(e,r,n){var i=Ra["Size4-Regular"][e.charCodeAt(0)]?Ra["Size4-Regular"][e.charCodeAt(0)][4]:Ra["Size1-Regular"][e.charCodeAt(0)][4],s=new $l("inner",jae(e,Math.round(1e3*r))),a=new Co([s],{width:ut(i),height:ut(r),style:"width:"+ut(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),l=Me.makeSvgSpan([],[a],n);return l.height=r,l.style.height=ut(r),l.style.width=ut(i),{type:"elem",elem:l}},f4=.008,sm={type:"kern",size:-1*f4},Poe=["|","\\lvert","\\rvert","\\vert"],Loe=["\\|","\\lVert","\\rVert","\\Vert"],lI=function(e,r,n,i,s,a){var l,u,p,d,g="",_=0;l=p=d=e,u=null;var v="Size1-Regular";e==="\\uparrow"?p=d="â":e==="\\Uparrow"?p=d="â":e==="\\downarrow"?l=p="â":e==="\\Downarrow"?l=p="â":e==="\\updownarrow"?(l="\\uparrow",p="â",d="\\downarrow"):e==="\\Updownarrow"?(l="\\Uparrow",p="â",d="\\Downarrow"):Tt.contains(Poe,e)?(p="â£",g="vert",_=333):Tt.contains(Loe,e)?(p="â¥",g="doublevert",_=556):e==="["||e==="\\lbrack"?(l="â¡",p="â¢",d="â£",v="Size4-Regular",g="lbrack",_=667):e==="]"||e==="\\rbrack"?(l="â¤",p="â¥",d="â¦",v="Size4-Regular",g="rbrack",_=667):e==="\\lfloor"||e==="â"?(p=l="â¢",d="â£",v="Size4-Regular",g="lfloor",_=667):e==="\\lceil"||e==="â"?(l="â¡",p=d="â¢",v="Size4-Regular",g="lceil",_=667):e==="\\rfloor"||e==="â"?(p=l="â¥",d="â¦",v="Size4-Regular",g="rfloor",_=667):e==="\\rceil"||e==="â"?(l="â¤",p=d="â¥",v="Size4-Regular",g="rceil",_=667):e==="("||e==="\\lparen"?(l="â",p="â",d="â",v="Size4-Regular",g="lparen",_=875):e===")"||e==="\\rparen"?(l="â",p="â",d="â ",v="Size4-Regular",g="rparen",_=875):e==="\\{"||e==="\\lbrace"?(l="â§",u="â¨",d="â©",p="âª",v="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(l="â«",u="â¬",d="â",p="âª",v="Size4-Regular"):e==="\\lgroup"||e==="â®"?(l="â§",d="â©",p="âª",v="Size4-Regular"):e==="\\rgroup"||e==="â¯"?(l="â«",d="â",p="âª",v="Size4-Regular"):e==="\\lmoustache"||e==="â°"?(l="â§",d="â",p="âª",v="Size4-Regular"):(e==="\\rmoustache"||e==="â±")&&(l="â«",d="â©",p="âª",v="Size4-Regular");var k=Zh(l,v,s),O=k.height+k.depth,N=Zh(p,v,s),S=N.height+N.depth,M=Zh(d,v,s),F=M.height+M.depth,G=0,X=1;if(u!==null){var z=Zh(u,v,s);G=z.height+z.depth,X=2}var R=O+F+G,H=Math.max(0,Math.ceil((r-R)/(X*S))),re=R+H*X*S,ie=i.fontMetrics().axisHeight;n&&(ie*=i.sizeMultiplier);var q=re/2-ie,Y=[];if(g.length>0){var Q=re-O-F,fe=Math.round(re*1e3),pe=Hae(g,Math.round(Q*1e3)),Te=new $l(g,pe),ve=(_/1e3).toFixed(3)+"em",xe=(fe/1e3).toFixed(3)+"em",Ye=new Co([Te],{width:ve,height:xe,viewBox:"0 0 "+_+" "+fe}),B=Me.makeSvgSpan([],[Ye],i);B.height=fe/1e3,B.style.width=ve,B.style.height=xe,Y.push({type:"elem",elem:B})}else{if(Y.push(Lv(d,v,s)),Y.push(sm),u===null){var Ce=re-O-F+2*f4;Y.push(Bv(p,Ce,i))}else{var Pe=(re-O-F-G)/2+2*f4;Y.push(Bv(p,Pe,i)),Y.push(sm),Y.push(Lv(u,v,s)),Y.push(sm),Y.push(Bv(p,Pe,i))}Y.push(sm),Y.push(Lv(l,v,s))}var le=i.havingBaseStyle(kt.TEXT),Lt=Me.makeVList({positionType:"bottom",positionData:q,children:Y},le);return y6(Me.makeSpan(["delimsizing","mult"],[Lt],le),kt.TEXT,i,a)},Uv=80,zv=.08,jv=function(e,r,n,i,s){var a=zae(e,i,n),l=new $l(e,a),u=new Co([l],{width:"400em",height:ut(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Me.makeSvgSpan(["hide-tail"],[u],s)},Boe=function(e,r){var n=r.havingBaseSizing(),i=fI("\\surd",e*n.sizeMultiplier,hI,n),s=n.sizeMultiplier,a=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),l,u=0,p=0,d=0,g;return i.type==="small"?(d=1e3+1e3*a+Uv,e<1?s=1:e<1.4&&(s=.7),u=(1+a+zv)/s,p=(1+a)/s,l=jv("sqrtMain",u,d,a,r),l.style.minWidth="0.853em",g=.833/s):i.type==="large"?(d=(1e3+Uv)*Sf[i.size],p=(Sf[i.size]+a)/s,u=(Sf[i.size]+a+zv)/s,l=jv("sqrtSize"+i.size,u,d,a,r),l.style.minWidth="1.02em",g=1/s):(u=e+a+zv,p=e+a,d=Math.floor(1e3*e+a)+Uv,l=jv("sqrtTall",u,d,a,r),l.style.minWidth="0.742em",g=1.056),l.height=p,l.style.height=ut(u),{span:l,advanceWidth:g,ruleWidth:(r.fontMetrics().sqrtRuleThickness+a)*s}},uI=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","â","â","\\lceil","\\rceil","â","â","\\surd"],Uoe=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","â®","â¯","\\lmoustache","\\rmoustache","â°","â±"],cI=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sf=[0,1.2,1.8,2.4,3],zoe=function(e,r,n,i,s){if(e==="<"||e==="\\lt"||e==="â¨"?e="\\langle":(e===">"||e==="\\gt"||e==="â©")&&(e="\\rangle"),Tt.contains(uI,e)||Tt.contains(cI,e))return oI(e,r,!1,n,i,s);if(Tt.contains(Uoe,e))return lI(e,Sf[r],!1,n,i,s);throw new tt("Illegal delimiter: '"+e+"'")},joe=[{type:"small",style:kt.SCRIPTSCRIPT},{type:"small",style:kt.SCRIPT},{type:"small",style:kt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Hoe=[{type:"small",style:kt.SCRIPTSCRIPT},{type:"small",style:kt.SCRIPT},{type:"small",style:kt.TEXT},{type:"stack"}],hI=[{type:"small",style:kt.SCRIPTSCRIPT},{type:"small",style:kt.SCRIPT},{type:"small",style:kt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Woe=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},fI=function(e,r,n,i){for(var s=Math.min(2,3-i.style.size),a=s;a<n.length&&n[a].type!=="stack";a++){var l=Zh(e,Woe(n[a]),"math"),u=l.height+l.depth;if(n[a].type==="small"){var p=i.havingBaseStyle(n[a].style);u*=p.sizeMultiplier}if(u>r)return n[a]}return n[n.length-1]},dI=function(e,r,n,i,s,a){e==="<"||e==="\\lt"||e==="â¨"?e="\\langle":(e===">"||e==="\\gt"||e==="â©")&&(e="\\rangle");var l;Tt.contains(cI,e)?l=joe:Tt.contains(uI,e)?l=hI:l=Hoe;var u=fI(e,r,l,i);return u.type==="small"?Doe(e,u.style,n,i,s,a):u.type==="large"?oI(e,u.size,n,i,s,a):lI(e,r,n,i,s,a)},Goe=function(e,r,n,i,s,a){var l=i.fontMetrics().axisHeight*i.sizeMultiplier,u=901,p=5/i.fontMetrics().ptPerEm,d=Math.max(r-l,n+l),g=Math.max(d/500*u,2*d-p);return dI(e,g,!0,i,s,a)},bo={sqrtImage:Boe,sizedDelim:zoe,sizeToMaxHeight:Sf,customSizedDelim:dI,leftRightDelim:Goe},ZT={"\\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}},$oe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","â","â","\\lceil","\\rceil","â","â","<",">","\\langle","â¨","\\rangle","â©","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","â®","â¯","\\lmoustache","\\rmoustache","â°","â±","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function v_(t,e){var r=__(t);if(r&&Tt.contains($oe,r.text))return r;throw r?new tt("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new tt("Invalid delimiter type '"+t.type+"'",t)}pt({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:(t,e)=>{var r=v_(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:ZT[t.funcName].size,mclass:ZT[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?Me.makeSpan([t.mclass]):bo.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(Rs(t.delim,t.mode));var r=new Qe.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=ut(bo.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function ex(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}pt({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new tt("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:v_(e[0],t).text,color:r}}});pt({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=v_(e[0],t),n=t.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var s=Vt(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:s.delim,rightColor:s.color}},htmlBuilder:(t,e)=>{ex(t);for(var r=Tn(t.body,e,!0,["mopen","mclose"]),n=0,i=0,s=!1,a=0;a<r.length;a++)r[a].isMiddle?s=!0:(n=Math.max(r[a].height,n),i=Math.max(r[a].depth,i));n*=e.sizeMultiplier,i*=e.sizeMultiplier;var l;if(t.left==="."?l=td(e,["mopen"]):l=bo.leftRightDelim(t.left,n,i,e,t.mode,["mopen"]),r.unshift(l),s)for(var u=1;u<r.length;u++){var p=r[u],d=p.isMiddle;d&&(r[u]=bo.leftRightDelim(d.delim,n,i,d.options,t.mode,[]))}var g;if(t.right===".")g=td(e,["mclose"]);else{var _=t.rightColor?e.withColor(t.rightColor):e;g=bo.leftRightDelim(t.right,n,i,_,t.mode,["mclose"])}return r.push(g),Me.makeSpan(["minner"],r,e)},mathmlBuilder:(t,e)=>{ex(t);var r=Ii(t.body,e);if(t.left!=="."){var n=new Qe.MathNode("mo",[Rs(t.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(t.right!=="."){var i=new Qe.MathNode("mo",[Rs(t.right,t.mode)]);i.setAttribute("fence","true"),t.rightColor&&i.setAttribute("mathcolor",t.rightColor),r.push(i)}return p6(r)}});pt({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=v_(e[0],t);if(!t.parser.leftrightDepth)throw new tt("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=td(e,[]);else{r=bo.sizedDelim(t.delim,1,e,t.mode,[]);var n={delim:t.delim,options:e};r.isMiddle=n}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?Rs("|","text"):Rs(t.delim,t.mode),n=new Qe.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var v6=(t,e)=>{var r=Me.wrapFragment(cr(t.body,e),e),n=t.label.slice(1),i=e.sizeMultiplier,s,a=0,l=Tt.isCharacterBox(t.body);if(n==="sout")s=Me.makeSpan(["stretchy","sout"]),s.height=e.fontMetrics().defaultRuleThickness/i,a=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var u=Kr({number:.6,unit:"pt"},e),p=Kr({number:.35,unit:"ex"},e),d=e.havingBaseSizing();i=i/d.sizeMultiplier;var g=r.height+r.depth+u+p;r.style.paddingLeft=ut(g/2+u);var _=Math.floor(1e3*g*i),v=Bae(_),k=new Co([new $l("phase",v)],{width:"400em",height:ut(_/1e3),viewBox:"0 0 400000 "+_,preserveAspectRatio:"xMinYMin slice"});s=Me.makeSvgSpan(["hide-tail"],[k],e),s.style.height=ut(g),a=r.depth+u+p}else{/cancel/.test(n)?l||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var O=0,N=0,S=0;/box/.test(n)?(S=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),O=e.fontMetrics().fboxsep+(n==="colorbox"?0:S),N=O):n==="angl"?(S=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),O=4*S,N=Math.max(0,.25-r.depth)):(O=l?.2:0,N=O),s=Io.encloseSpan(r,n,O,N,e),/fbox|boxed|fcolorbox/.test(n)?(s.style.borderStyle="solid",s.style.borderWidth=ut(S)):n==="angl"&&S!==.049&&(s.style.borderTopWidth=ut(S),s.style.borderRightWidth=ut(S)),a=r.depth+N,t.backgroundColor&&(s.style.backgroundColor=t.backgroundColor,t.borderColor&&(s.style.borderColor=t.borderColor))}var M;if(t.backgroundColor)M=Me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:a},{type:"elem",elem:r,shift:0}]},e);else{var F=/cancel|phase/.test(n)?["svg-align"]:[];M=Me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:s,shift:a,wrapperClasses:F}]},e)}return/cancel/.test(n)&&(M.height=r.height,M.depth=r.depth),/cancel/.test(n)&&!l?Me.makeSpan(["mord","cancel-lap"],[M],e):Me.makeSpan(["mord"],[M],e)},b6=(t,e)=>{var r=0,n=new Qe.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[xr(t.body,e)]);switch(t.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var i=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(t.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n};pt({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:n,funcName:i}=t,s=Vt(e[0],"color-token").color,a=e[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,body:a}},htmlBuilder:v6,mathmlBuilder:b6});pt({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:n,funcName:i}=t,s=Vt(e[0],"color-token").color,a=Vt(e[1],"color-token").color,l=e[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,borderColor:s,body:l}},htmlBuilder:v6,mathmlBuilder:b6});pt({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});pt({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:v6,mathmlBuilder:b6});pt({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var pI={};function ja(t){for(var{type:e,names:r,props:n,handler:i,htmlBuilder:s,mathmlBuilder:a}=t,l={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},u=0;u<r.length;++u)pI[r[u]]=l;s&&(a1[e]=s),a&&(o1[e]=a)}var mI={};function W(t,e){mI[t]=e}function tx(t){var e=[];t.consumeSpaces();var r=t.fetch().text;for(r==="\\relax"&&(t.consume(),t.consumeSpaces(),r=t.fetch().text);r==="\\hline"||r==="\\hdashline";)t.consume(),e.push(r==="\\hdashline"),t.consumeSpaces(),r=t.fetch().text;return e}var b_=t=>{var e=t.parser.settings;if(!e.displayMode)throw new tt("{"+t.envName+"} can be used only in display mode.")};function w6(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function eu(t,e,r){var{hskipBeforeAndAfter:n,addJot:i,cols:s,arraystretch:a,colSeparationType:l,autoTag:u,singleRow:p,emptySingleRow:d,maxNumCols:g,leqno:_}=e;if(t.gullet.beginGroup(),p||t.gullet.macros.set("\\cr","\\\\\\relax"),!a){var v=t.gullet.expandMacroAsText("\\arraystretch");if(v==null)a=1;else if(a=parseFloat(v),!a||a<0)throw new tt("Invalid \\arraystretch: "+v)}t.gullet.beginGroup();var k=[],O=[k],N=[],S=[],M=u!=null?[]:void 0;function F(){u&&t.gullet.macros.set("\\@eqnsw","1",!0)}function G(){M&&(t.gullet.macros.get("\\df@tag")?(M.push(t.subparse([new Ms("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):M.push(!!u&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(F(),S.push(tx(t));;){var X=t.parseExpression(!1,p?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),X={type:"ordgroup",mode:t.mode,body:X},r&&(X={type:"styling",mode:t.mode,style:r,body:[X]}),k.push(X);var z=t.fetch().text;if(z==="&"){if(g&&k.length===g){if(p||l)throw new tt("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(z==="\\end"){G(),k.length===1&&X.type==="styling"&&X.body[0].body.length===0&&(O.length>1||!d)&&O.pop(),S.length<O.length+1&&S.push([]);break}else if(z==="\\\\"){t.consume();var R=void 0;t.gullet.future().text!==" "&&(R=t.parseSizeGroup(!0)),N.push(R?R.value:null),G(),S.push(tx(t)),k=[],O.push(k),F()}else throw new tt("Expected & or \\\\ or \\cr or \\end",t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:"array",mode:t.mode,addJot:i,arraystretch:a,body:O,cols:s,rowGaps:N,hskipBeforeAndAfter:n,hLinesBeforeRow:S,colSeparationType:l,tags:M,leqno:_}}function E6(t){return t.slice(0,1)==="d"?"display":"text"}var Ha=function(e,r){var n,i,s=e.body.length,a=e.hLinesBeforeRow,l=0,u=new Array(s),p=[],d=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),g=1/r.fontMetrics().ptPerEm,_=5*g;if(e.colSeparationType&&e.colSeparationType==="small"){var v=r.havingStyle(kt.SCRIPT).sizeMultiplier;_=.2778*(v/r.sizeMultiplier)}var k=e.colSeparationType==="CD"?Kr({number:3,unit:"ex"},r):12*g,O=3*g,N=e.arraystretch*k,S=.7*N,M=.3*N,F=0;function G(U){for(var C=0;C<U.length;++C)C>0&&(F+=.25),p.push({pos:F,isDashed:U[C]})}for(G(a[0]),n=0;n<e.body.length;++n){var X=e.body[n],z=S,R=M;l<X.length&&(l=X.length);var H=new Array(X.length);for(i=0;i<X.length;++i){var re=cr(X[i],r);R<re.depth&&(R=re.depth),z<re.height&&(z=re.height),H[i]=re}var ie=e.rowGaps[n],q=0;ie&&(q=Kr(ie,r),q>0&&(q+=M,R<q&&(R=q),q=0)),e.addJot&&(R+=O),H.height=z,H.depth=R,F+=z,H.pos=F,F+=R+q,u[n]=H,G(a[n+1])}var Y=F/2+r.fontMetrics().axisHeight,Q=e.cols||[],fe=[],pe,Te,ve=[];if(e.tags&&e.tags.some(U=>U))for(n=0;n<s;++n){var xe=u[n],Ye=xe.pos-Y,B=e.tags[n],Ce=void 0;B===!0?Ce=Me.makeSpan(["eqn-num"],[],r):B===!1?Ce=Me.makeSpan([],[],r):Ce=Me.makeSpan([],Tn(B,r,!0),r),Ce.depth=xe.depth,Ce.height=xe.height,ve.push({type:"elem",elem:Ce,shift:Ye})}for(i=0,Te=0;i<l||Te<Q.length;++i,++Te){for(var Pe=Q[Te]||{},le=!0;Pe.type==="separator";){if(le||(pe=Me.makeSpan(["arraycolsep"],[]),pe.style.width=ut(r.fontMetrics().doubleRuleSep),fe.push(pe)),Pe.separator==="|"||Pe.separator===":"){var Lt=Pe.separator==="|"?"solid":"dashed",Ht=Me.makeSpan(["vertical-separator"],[],r);Ht.style.height=ut(F),Ht.style.borderRightWidth=ut(d),Ht.style.borderRightStyle=Lt,Ht.style.margin="0 "+ut(-d/2);var At=F-Y;At&&(Ht.style.verticalAlign=ut(-At)),fe.push(Ht)}else throw new tt("Invalid separator type: "+Pe.separator);Te++,Pe=Q[Te]||{},le=!1}if(!(i>=l)){var Ke=void 0;(i>0||e.hskipBeforeAndAfter)&&(Ke=Tt.deflt(Pe.pregap,_),Ke!==0&&(pe=Me.makeSpan(["arraycolsep"],[]),pe.style.width=ut(Ke),fe.push(pe)));var Ve=[];for(n=0;n<s;++n){var wt=u[n],Dt=wt[i];if(Dt){var Fe=wt.pos-Y;Dt.depth=wt.depth,Dt.height=wt.height,Ve.push({type:"elem",elem:Dt,shift:Fe})}}Ve=Me.makeVList({positionType:"individualShift",children:Ve},r),Ve=Me.makeSpan(["col-align-"+(Pe.align||"c")],[Ve]),fe.push(Ve),(i<l-1||e.hskipBeforeAndAfter)&&(Ke=Tt.deflt(Pe.postgap,_),Ke!==0&&(pe=Me.makeSpan(["arraycolsep"],[]),pe.style.width=ut(Ke),fe.push(pe)))}}if(u=Me.makeSpan(["mtable"],fe),p.length>0){for(var Ne=Me.makeLineSpan("hline",r,d),K=Me.makeLineSpan("hdashline",r,d),ee=[{type:"elem",elem:u,shift:0}];p.length>0;){var oe=p.pop(),ge=oe.pos-Y;oe.isDashed?ee.push({type:"elem",elem:K,shift:ge}):ee.push({type:"elem",elem:Ne,shift:ge})}u=Me.makeVList({positionType:"individualShift",children:ee},r)}if(ve.length===0)return Me.makeSpan(["mord"],[u],r);var Oe=Me.makeVList({positionType:"individualShift",children:ve},r);return Oe=Me.makeSpan(["tag"],[Oe],r),Me.makeFragment([u,Oe])},qoe={c:"center ",l:"left ",r:"right "},Wa=function(e,r){for(var n=[],i=new Qe.MathNode("mtd",[],["mtr-glue"]),s=new Qe.MathNode("mtd",[],["mml-eqn-num"]),a=0;a<e.body.length;a++){for(var l=e.body[a],u=[],p=0;p<l.length;p++)u.push(new Qe.MathNode("mtd",[xr(l[p],r)]));e.tags&&e.tags[a]&&(u.unshift(i),u.push(i),e.leqno?u.unshift(s):u.push(s)),n.push(new Qe.MathNode("mtr",u))}var d=new Qe.MathNode("mtable",n),g=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);d.setAttribute("rowspacing",ut(g));var _="",v="";if(e.cols&&e.cols.length>0){var k=e.cols,O="",N=!1,S=0,M=k.length;k[0].type==="separator"&&(_+="top ",S=1),k[k.length-1].type==="separator"&&(_+="bottom ",M-=1);for(var F=S;F<M;F++)k[F].type==="align"?(v+=qoe[k[F].align],N&&(O+="none "),N=!0):k[F].type==="separator"&&N&&(O+=k[F].separator==="|"?"solid ":"dashed ",N=!1);d.setAttribute("columnalign",v.trim()),/[sd]/.test(O)&&d.setAttribute("columnlines",O.trim())}if(e.colSeparationType==="align"){for(var G=e.cols||[],X="",z=1;z<G.length;z++)X+=z%2?"0em ":"1em ";d.setAttribute("columnspacing",X.trim())}else e.colSeparationType==="alignat"||e.colSeparationType==="gather"?d.setAttribute("columnspacing","0em"):e.colSeparationType==="small"?d.setAttribute("columnspacing","0.2778em"):e.colSeparationType==="CD"?d.setAttribute("columnspacing","0.5em"):d.setAttribute("columnspacing","1em");var R="",H=e.hLinesBeforeRow;_+=H[0].length>0?"left ":"",_+=H[H.length-1].length>0?"right ":"";for(var re=1;re<H.length-1;re++)R+=H[re].length===0?"none ":H[re][0]?"dashed ":"solid ";return/[sd]/.test(R)&&d.setAttribute("rowlines",R.trim()),_!==""&&(d=new Qe.MathNode("menclose",[d]),d.setAttribute("notation",_.trim())),e.arraystretch&&e.arraystretch<1&&(d=new Qe.MathNode("mstyle",[d]),d.setAttribute("scriptlevel","1")),d},gI=function(e,r){e.envName.indexOf("ed")===-1&&b_(e);var n=[],i=e.envName.indexOf("at")>-1?"alignat":"align",s=e.envName==="split",a=eu(e.parser,{cols:n,addJot:!0,autoTag:s?void 0:w6(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:s?2:void 0,leqno:e.parser.settings.leqno},"display"),l,u=0,p={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",g=0;g<r[0].body.length;g++){var _=Vt(r[0].body[g],"textord");d+=_.text}l=Number(d),u=l*2}var v=!u;a.body.forEach(function(S){for(var M=1;M<S.length;M+=2){var F=Vt(S[M],"styling"),G=Vt(F.body[0],"ordgroup");G.body.unshift(p)}if(v)u<S.length&&(u=S.length);else{var X=S.length/2;if(l<X)throw new tt("Too many math in a row: "+("expected "+l+", but got "+X),S[0])}});for(var k=0;k<u;++k){var O="r",N=0;k%2===1?O="l":k>0&&v&&(N=1),n[k]={type:"align",align:O,pregap:N,postgap:0}}return a.colSeparationType=v?"align":"alignat",a};ja({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=__(e[0]),n=r?[e[0]]:Vt(e[0],"ordgroup").body,i=n.map(function(a){var l=g6(a),u=l.text;if("lcr".indexOf(u)!==-1)return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new tt("Unknown column alignment: "+u,a)}),s={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return eu(t.parser,s,E6(t.envName))},htmlBuilder:Ha,mathmlBuilder:Wa});ja({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var i=t.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new tt("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var s=eu(t.parser,n,E6(t.envName)),a=Math.max(0,...s.body.map(l=>l.length));return s.cols=new Array(a).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[s],left:e[0],right:e[1],rightColor:void 0}:s},htmlBuilder:Ha,mathmlBuilder:Wa});ja({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=eu(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Ha,mathmlBuilder:Wa});ja({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=__(e[0]),n=r?[e[0]]:Vt(e[0],"ordgroup").body,i=n.map(function(a){var l=g6(a),u=l.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new tt("Unknown column alignment: "+u,a)});if(i.length>1)throw new tt("{subarray} can contain only one column");var s={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=eu(t.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new tt("{subarray} can contain only one column");return s},htmlBuilder:Ha,mathmlBuilder:Wa});ja({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=eu(t.parser,e,E6(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:Ha,mathmlBuilder:Wa});ja({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:gI,htmlBuilder:Ha,mathmlBuilder:Wa});ja({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Tt.contains(["gather","gather*"],t.envName)&&b_(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:w6(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return eu(t.parser,e,"display")},htmlBuilder:Ha,mathmlBuilder:Wa});ja({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:gI,htmlBuilder:Ha,mathmlBuilder:Wa});ja({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){b_(t);var e={autoTag:w6(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return eu(t.parser,e,"display")},htmlBuilder:Ha,mathmlBuilder:Wa});ja({type:"array",names:["CD"],props:{numArgs:0},handler(t){return b_(t),Roe(t.parser)},htmlBuilder:Ha,mathmlBuilder:Wa});W("\\nonumber","\\gdef\\@eqnsw{0}");W("\\notag","\\nonumber");pt({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new tt(t.funcName+" valid only within array environment")}});var rx=pI;pt({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];if(i.type!=="ordgroup")throw new tt("Invalid environment name",i);for(var s="",a=0;a<i.body.length;++a)s+=Vt(i.body[a],"textord").text;if(n==="\\begin"){if(!rx.hasOwnProperty(s))throw new tt("No such environment: "+s,i);var l=rx[s],{args:u,optArgs:p}=r.parseArguments("\\begin{"+s+"}",l),d={mode:r.mode,envName:s,parser:r},g=l.handler(d,u,p);r.expect("\\end",!1);var _=r.nextToken,v=Vt(r.parseFunction(),"environment");if(v.name!==s)throw new tt("Mismatch: \\begin{"+s+"} matched by \\end{"+v.name+"}",_);return g}return{type:"environment",mode:r.mode,name:s,nameGroup:i}}});var _I=(t,e)=>{var r=t.font,n=e.withFont(r);return cr(t.body,n)},yI=(t,e)=>{var r=t.font,n=e.withFont(r);return xr(t.body,n)},nx={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};pt({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=l1(e[0]),s=n;return s in nx&&(s=nx[s]),{type:"font",mode:r.mode,font:s.slice(1),body:i}},htmlBuilder:_I,mathmlBuilder:yI});pt({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,n=e[0],i=Tt.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:y_(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}});pt({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n,breakOnTokenText:i}=t,{mode:s}=r,a=r.parseExpression(!0,i),l="math"+n.slice(1);return{type:"font",mode:s,font:l,body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:_I,mathmlBuilder:yI});var vI=(t,e)=>{var r=e;return t==="display"?r=r.id>=kt.SCRIPT.id?r.text():kt.DISPLAY:t==="text"&&r.size===kt.DISPLAY.size?r=kt.TEXT:t==="script"?r=kt.SCRIPT:t==="scriptscript"&&(r=kt.SCRIPTSCRIPT),r},S6=(t,e)=>{var r=vI(t.size,e.style),n=r.fracNum(),i=r.fracDen(),s;s=e.havingStyle(n);var a=cr(t.numer,s,e);if(t.continued){var l=8.5/e.fontMetrics().ptPerEm,u=3.5/e.fontMetrics().ptPerEm;a.height=a.height<l?l:a.height,a.depth=a.depth<u?u:a.depth}s=e.havingStyle(i);var p=cr(t.denom,s,e),d,g,_;t.hasBarLine?(t.barSize?(g=Kr(t.barSize,e),d=Me.makeLineSpan("frac-line",e,g)):d=Me.makeLineSpan("frac-line",e),g=d.height,_=d.height):(d=null,g=0,_=e.fontMetrics().defaultRuleThickness);var v,k,O;r.size===kt.DISPLAY.size||t.size==="display"?(v=e.fontMetrics().num1,g>0?k=3*_:k=7*_,O=e.fontMetrics().denom1):(g>0?(v=e.fontMetrics().num2,k=_):(v=e.fontMetrics().num3,k=3*_),O=e.fontMetrics().denom2);var N;if(d){var M=e.fontMetrics().axisHeight;v-a.depth-(M+.5*g)<k&&(v+=k-(v-a.depth-(M+.5*g))),M-.5*g-(p.height-O)<k&&(O+=k-(M-.5*g-(p.height-O)));var F=-(M-.5*g);N=Me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:p,shift:O},{type:"elem",elem:d,shift:F},{type:"elem",elem:a,shift:-v}]},e)}else{var S=v-a.depth-(p.height-O);S<k&&(v+=.5*(k-S),O+=.5*(k-S)),N=Me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:p,shift:O},{type:"elem",elem:a,shift:-v}]},e)}s=e.havingStyle(r),N.height*=s.sizeMultiplier/e.sizeMultiplier,N.depth*=s.sizeMultiplier/e.sizeMultiplier;var G;r.size===kt.DISPLAY.size?G=e.fontMetrics().delim1:r.size===kt.SCRIPTSCRIPT.size?G=e.havingStyle(kt.SCRIPT).fontMetrics().delim2:G=e.fontMetrics().delim2;var X,z;return t.leftDelim==null?X=td(e,["mopen"]):X=bo.customSizedDelim(t.leftDelim,G,!0,e.havingStyle(r),t.mode,["mopen"]),t.continued?z=Me.makeSpan([]):t.rightDelim==null?z=td(e,["mclose"]):z=bo.customSizedDelim(t.rightDelim,G,!0,e.havingStyle(r),t.mode,["mclose"]),Me.makeSpan(["mord"].concat(s.sizingClasses(e)),[X,Me.makeSpan(["mfrac"],[N]),z],e)},T6=(t,e)=>{var r=new Qe.MathNode("mfrac",[xr(t.numer,e),xr(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var n=Kr(t.barSize,e);r.setAttribute("linethickness",ut(n))}var i=vI(t.size,e.style);if(i.size!==e.style.size){r=new Qe.MathNode("mstyle",[r]);var s=i.size===kt.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",s),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var a=[];if(t.leftDelim!=null){var l=new Qe.MathNode("mo",[new Qe.TextNode(t.leftDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}if(a.push(r),t.rightDelim!=null){var u=new Qe.MathNode("mo",[new Qe.TextNode(t.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),a.push(u)}return p6(a)}return r};pt({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0],s=e[1],a,l=null,u=null,p="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":a=!0;break;case"\\\\atopfrac":a=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":a=!1,l="(",u=")";break;case"\\\\bracefrac":a=!1,l="\\{",u="\\}";break;case"\\\\brackfrac":a=!1,l="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":p="display";break;case"\\tfrac":case"\\tbinom":p="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:s,hasBarLine:a,leftDelim:l,rightDelim:u,size:p,barSize:null}},htmlBuilder:S6,mathmlBuilder:T6});pt({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0],s=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});pt({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:n}=t,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:i,token:n}}});var ix=["display","text","script","scriptscript"],sx=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};pt({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,n=e[4],i=e[5],s=l1(e[0]),a=s.type==="atom"&&s.family==="open"?sx(s.text):null,l=l1(e[1]),u=l.type==="atom"&&l.family==="close"?sx(l.text):null,p=Vt(e[2],"size"),d,g=null;p.isBlank?d=!0:(g=p.value,d=g.number>0);var _="auto",v=e[3];if(v.type==="ordgroup"){if(v.body.length>0){var k=Vt(v.body[0],"textord");_=ix[Number(k.text)]}}else v=Vt(v,"textord"),_=ix[Number(v.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:d,barSize:g,leftDelim:a,rightDelim:u,size:_}},htmlBuilder:S6,mathmlBuilder:T6});pt({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:n,token:i}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Vt(e[0],"size").value,token:i}}});pt({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0],s=Sae(Vt(e[1],"infix").size),a=e[2],l=s.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:a,continued:!1,hasBarLine:l,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:S6,mathmlBuilder:T6});var bI=(t,e)=>{var r=e.style,n,i;t.type==="supsub"?(n=t.sup?cr(t.sup,e.havingStyle(r.sup()),e):cr(t.sub,e.havingStyle(r.sub()),e),i=Vt(t.base,"horizBrace")):i=Vt(t,"horizBrace");var s=cr(i.base,e.havingBaseStyle(kt.DISPLAY)),a=Io.svgSpan(i,e),l;if(i.isOver?(l=Me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},e),l.children[0].children[0].children[1].classes.push("svg-align")):(l=Me.makeVList({positionType:"bottom",positionData:s.depth+.1+a.height,children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},e),l.children[0].children[0].children[0].classes.push("svg-align")),n){var u=Me.makeSpan(["mord",i.isOver?"mover":"munder"],[l],e);i.isOver?l=Me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]},e):l=Me.makeVList({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]},e)}return Me.makeSpan(["mord",i.isOver?"mover":"munder"],[l],e)},Voe=(t,e)=>{var r=Io.mathMLnode(t.label);return new Qe.MathNode(t.isOver?"mover":"munder",[xr(t.base,e),r])};pt({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:bI,mathmlBuilder:Voe});pt({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[1],i=Vt(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:ln(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=Tn(t.body,e,!1);return Me.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=ql(t.body,e);return r instanceof bs||(r=new bs("mrow",[r])),r.setAttribute("href",t.href),r}});pt({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=Vt(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],s=0;s<n.length;s++){var a=n[s];a==="~"&&(a="\\textasciitilde"),i.push({type:"textord",mode:"text",text:a})}var l={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:ln(l)}}});pt({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(t,e){var{parser:r}=t;return{type:"hbox",mode:r.mode,body:ln(e[0])}},htmlBuilder(t,e){var r=Tn(t.body,e,!1);return Me.makeFragment(r)},mathmlBuilder(t,e){return new Qe.MathNode("mrow",Ii(t.body,e))}});pt({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n,token:i}=t,s=Vt(e[0],"raw").string,a=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l,u={};switch(n){case"\\htmlClass":u.class=s,l={command:"\\htmlClass",class:s};break;case"\\htmlId":u.id=s,l={command:"\\htmlId",id:s};break;case"\\htmlStyle":u.style=s,l={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var p=s.split(","),d=0;d<p.length;d++){var g=p[d].split("=");if(g.length!==2)throw new tt("Error parsing key-value for \\htmlData");u["data-"+g[0].trim()]=g[1].trim()}l={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(l)?{type:"html",mode:r.mode,attributes:u,body:ln(a)}:r.formatUnsupportedCmd(n)},htmlBuilder:(t,e)=>{var r=Tn(t.body,e,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));var i=Me.makeSpan(n,r,e);for(var s in t.attributes)s!=="class"&&t.attributes.hasOwnProperty(s)&&i.setAttribute(s,t.attributes[s]);return i},mathmlBuilder:(t,e)=>ql(t.body,e)});pt({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:ln(e[0]),mathml:ln(e[1])}},htmlBuilder:(t,e)=>{var r=Tn(t.html,e,!1);return Me.makeFragment(r)},mathmlBuilder:(t,e)=>ql(t.mathml,e)});var Hv=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new tt("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!UO(n))throw new tt("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};pt({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:n}=t,i={number:0,unit:"em"},s={number:.9,unit:"em"},a={number:0,unit:"em"},l="";if(r[0])for(var u=Vt(r[0],"raw").string,p=u.split(","),d=0;d<p.length;d++){var g=p[d].split("=");if(g.length===2){var _=g[1].trim();switch(g[0].trim()){case"alt":l=_;break;case"width":i=Hv(_);break;case"height":s=Hv(_);break;case"totalheight":a=Hv(_);break;default:throw new tt("Invalid key: '"+g[0]+"' in \\includegraphics.")}}}var v=Vt(e[0],"url").url;return l===""&&(l=v,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:v})?{type:"includegraphics",mode:n.mode,alt:l,width:i,height:s,totalheight:a,src:v}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(t,e)=>{var r=Kr(t.height,e),n=0;t.totalheight.number>0&&(n=Kr(t.totalheight,e)-r);var i=0;t.width.number>0&&(i=Kr(t.width,e));var s={height:ut(r+n)};i>0&&(s.width=ut(i)),n>0&&(s.verticalAlign=ut(-n));var a=new Vae(t.src,t.alt,s);return a.height=r,a.depth=n,a},mathmlBuilder:(t,e)=>{var r=new Qe.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var n=Kr(t.height,e),i=0;if(t.totalheight.number>0&&(i=Kr(t.totalheight,e)-n,r.setAttribute("valign",ut(-i))),r.setAttribute("height",ut(n+i)),t.width.number>0){var s=Kr(t.width,e);r.setAttribute("width",ut(s))}return r.setAttribute("src",t.src),r}});pt({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,i=Vt(e[0],"size");if(r.settings.strict){var s=n[1]==="m",a=i.value.unit==="mu";s?(a||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):a&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(t,e){return Me.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=Kr(t.dimension,e);return new Qe.SpaceNode(r)}});pt({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=Me.makeSpan([],[cr(t.body,e)]),r=Me.makeSpan(["inner"],[r],e)):r=Me.makeSpan(["inner"],[cr(t.body,e)]);var n=Me.makeSpan(["fix"],[]),i=Me.makeSpan([t.alignment],[r,n],e),s=Me.makeSpan(["strut"]);return s.style.height=ut(i.height+i.depth),i.depth&&(s.style.verticalAlign=ut(-i.depth)),i.children.unshift(s),i=Me.makeSpan(["thinbox"],[i],e),Me.makeSpan(["mord","vbox"],[i],e)},mathmlBuilder:(t,e)=>{var r=new Qe.MathNode("mpadded",[xr(t.body,e)]);if(t.alignment!=="rlap"){var n=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});pt({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:n}=t,i=n.mode;n.switchMode("math");var s=r==="\\("?"\\)":"$",a=n.parseExpression(!1,s);return n.expect(s),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:a}}});pt({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new tt("Mismatched "+t.funcName)}});var ax=(t,e)=>{switch(e.style.size){case kt.DISPLAY.size:return t.display;case kt.TEXT.size:return t.text;case kt.SCRIPT.size:return t.script;case kt.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};pt({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:ln(e[0]),text:ln(e[1]),script:ln(e[2]),scriptscript:ln(e[3])}},htmlBuilder:(t,e)=>{var r=ax(t,e),n=Tn(r,e,!1);return Me.makeFragment(n)},mathmlBuilder:(t,e)=>{var r=ax(t,e);return ql(r,e)}});var wI=(t,e,r,n,i,s,a)=>{t=Me.makeSpan([],[t]);var l=r&&Tt.isCharacterBox(r),u,p;if(e){var d=cr(e,n.havingStyle(i.sup()),n);p={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var g=cr(r,n.havingStyle(i.sub()),n);u={elem:g,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-g.height)}}var _;if(p&&u){var v=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+t.depth+a;_=Me.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:ut(-s)},{type:"kern",size:u.kern},{type:"elem",elem:t},{type:"kern",size:p.kern},{type:"elem",elem:p.elem,marginLeft:ut(s)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(u){var k=t.height-a;_=Me.makeVList({positionType:"top",positionData:k,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:ut(-s)},{type:"kern",size:u.kern},{type:"elem",elem:t}]},n)}else if(p){var O=t.depth+a;_=Me.makeVList({positionType:"bottom",positionData:O,children:[{type:"elem",elem:t},{type:"kern",size:p.kern},{type:"elem",elem:p.elem,marginLeft:ut(s)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return t;var N=[_];if(u&&s!==0&&!l){var S=Me.makeSpan(["mspace"],[],n);S.style.marginRight=ut(s),N.unshift(S)}return Me.makeSpan(["mop","op-limits"],N,n)},EI=["\\smallint"],ah=(t,e)=>{var r,n,i=!1,s;t.type==="supsub"?(r=t.sup,n=t.sub,s=Vt(t.base,"op"),i=!0):s=Vt(t,"op");var a=e.style,l=!1;a.size===kt.DISPLAY.size&&s.symbol&&!Tt.contains(EI,s.name)&&(l=!0);var u;if(s.symbol){var p=l?"Size2-Regular":"Size1-Regular",d="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(d=s.name.slice(1),s.name=d==="oiint"?"\\iint":"\\iiint"),u=Me.makeSymbol(s.name,p,"math",e,["mop","op-symbol",l?"large-op":"small-op"]),d.length>0){var g=u.italic,_=Me.staticSvg(d+"Size"+(l?"2":"1"),e);u=Me.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:_,shift:l?.08:0}]},e),s.name="\\"+d,u.classes.unshift("mop"),u.italic=g}}else if(s.body){var v=Tn(s.body,e,!0);v.length===1&&v[0]instanceof Is?(u=v[0],u.classes[0]="mop"):u=Me.makeSpan(["mop"],v,e)}else{for(var k=[],O=1;O<s.name.length;O++)k.push(Me.mathsym(s.name[O],s.mode,e));u=Me.makeSpan(["mop"],k,e)}var N=0,S=0;return(u instanceof Is||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift&&(N=(u.height-u.depth)/2-e.fontMetrics().axisHeight,S=u.italic),i?wI(u,r,n,e,a,S,N):(N&&(u.style.position="relative",u.style.top=ut(N)),u)},Bd=(t,e)=>{var r;if(t.symbol)r=new bs("mo",[Rs(t.name,t.mode)]),Tt.contains(EI,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new bs("mo",Ii(t.body,e));else{r=new bs("mi",[new Ef(t.name.slice(1))]);var n=new bs("mo",[Rs("â¡","text")]);t.parentIsSupSub?r=new bs("mrow",[r,n]):r=XO([r,n])}return r},Yoe={"â":"\\prod","â":"\\coprod","â":"\\sum","â":"\\bigwedge","â":"\\bigvee","â":"\\bigcap","â":"\\bigcup","â¨":"\\bigodot","â¨":"\\bigoplus","â¨":"\\bigotimes","â¨":"\\biguplus","â¨":"\\bigsqcup"};pt({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","â","â","â","â","â","â","â","â¨","â¨","â¨","â¨","â¨"],props:{numArgs:0},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=n;return i.length===1&&(i=Yoe[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:ah,mathmlBuilder:Bd});pt({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ln(n)}},htmlBuilder:ah,mathmlBuilder:Bd});var Koe={"â«":"\\int","â¬":"\\iint","â":"\\iiint","â®":"\\oint","â¯":"\\oiint","â°":"\\oiiint"};pt({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(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ah,mathmlBuilder:Bd});pt({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:ah,mathmlBuilder:Bd});pt({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","â«","â¬","â","â®","â¯","â°"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,n=r;return n.length===1&&(n=Koe[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ah,mathmlBuilder:Bd});var SI=(t,e)=>{var r,n,i=!1,s;t.type==="supsub"?(r=t.sup,n=t.sub,s=Vt(t.base,"operatorname"),i=!0):s=Vt(t,"operatorname");var a;if(s.body.length>0){for(var l=s.body.map(g=>{var _=g.text;return typeof _=="string"?{type:"textord",mode:g.mode,text:_}:g}),u=Tn(l,e.withFont("mathrm"),!0),p=0;p<u.length;p++){var d=u[p];d instanceof Is&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=Me.makeSpan(["mop"],u,e)}else a=Me.makeSpan(["mop"],[],e);return i?wI(a,r,n,e,e.style,0,0):a},Xoe=(t,e)=>{for(var r=Ii(t.body,e.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var s=r[i];if(!(s instanceof Qe.SpaceNode))if(s instanceof Qe.MathNode)switch(s.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var a=s.children[0];s.children.length===1&&a instanceof Qe.TextNode?a.text=a.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var l=r.map(d=>d.toText()).join("");r=[new Qe.TextNode(l)]}var u=new Qe.MathNode("mi",r);u.setAttribute("mathvariant","normal");var p=new Qe.MathNode("mo",[Rs("â¡","text")]);return t.parentIsSupSub?new Qe.MathNode("mrow",[u,p]):Qe.newDocumentFragment([u,p])};pt({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:n}=t,i=e[0];return{type:"operatorname",mode:r.mode,body:ln(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:SI,mathmlBuilder:Xoe});W("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");sc({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?Me.makeFragment(Tn(t.body,e,!1)):Me.makeSpan(["mord"],Tn(t.body,e,!0),e)},mathmlBuilder(t,e){return ql(t.body,e,!0)}});pt({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,n=e[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(t,e){var r=cr(t.body,e.havingCrampedStyle()),n=Me.makeLineSpan("overline-line",e),i=e.fontMetrics().defaultRuleThickness,s=Me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},e);return Me.makeSpan(["mord","overline"],[s],e)},mathmlBuilder(t,e){var r=new Qe.MathNode("mo",[new Qe.TextNode("â¾")]);r.setAttribute("stretchy","true");var n=new Qe.MathNode("mover",[xr(t.body,e),r]);return n.setAttribute("accent","true"),n}});pt({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"phantom",mode:r.mode,body:ln(n)}},htmlBuilder:(t,e)=>{var r=Tn(t.body,e.withPhantom(),!1);return Me.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=Ii(t.body,e);return new Qe.MathNode("mphantom",r)}});pt({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{var r=Me.makeSpan([],[cr(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=Me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e),Me.makeSpan(["mord"],[r],e)},mathmlBuilder:(t,e)=>{var r=Ii(ln(t.body),e),n=new Qe.MathNode("mphantom",r),i=new Qe.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}});pt({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{var r=Me.makeSpan(["inner"],[cr(t.body,e.withPhantom())]),n=Me.makeSpan(["fix"],[]);return Me.makeSpan(["mord","rlap"],[r,n],e)},mathmlBuilder:(t,e)=>{var r=Ii(ln(t.body),e),n=new Qe.MathNode("mphantom",r),i=new Qe.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}});pt({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,n=Vt(e[0],"size").value,i=e[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(t,e){var r=cr(t.body,e),n=Kr(t.dy,e);return Me.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new Qe.MathNode("mpadded",[xr(t.body,e)]),n=t.dy.number+t.dy.unit;return r.setAttribute("voffset",n),r}});pt({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});pt({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,r){var{parser:n}=t,i=r[0],s=Vt(e[0],"size"),a=Vt(e[1],"size");return{type:"rule",mode:n.mode,shift:i&&Vt(i,"size").value,width:s.value,height:a.value}},htmlBuilder(t,e){var r=Me.makeSpan(["mord","rule"],[],e),n=Kr(t.width,e),i=Kr(t.height,e),s=t.shift?Kr(t.shift,e):0;return r.style.borderRightWidth=ut(n),r.style.borderTopWidth=ut(i),r.style.bottom=ut(s),r.width=n,r.height=i+s,r.depth=-s,r.maxFontSize=i*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=Kr(t.width,e),n=Kr(t.height,e),i=t.shift?Kr(t.shift,e):0,s=e.color&&e.getColor()||"black",a=new Qe.MathNode("mspace");a.setAttribute("mathbackground",s),a.setAttribute("width",ut(r)),a.setAttribute("height",ut(n));var l=new Qe.MathNode("mpadded",[a]);return i>=0?l.setAttribute("height",ut(i)):(l.setAttribute("height",ut(i)),l.setAttribute("depth",ut(-i))),l.setAttribute("voffset",ut(i)),l}});function TI(t,e,r){for(var n=Tn(t,e,!1),i=e.sizeMultiplier/r.sizeMultiplier,s=0;s<n.length;s++){var a=n[s].classes.indexOf("sizing");a<0?Array.prototype.push.apply(n[s].classes,e.sizingClasses(r)):n[s].classes[a+1]==="reset-size"+e.size&&(n[s].classes[a+1]="reset-size"+r.size),n[s].height*=i,n[s].depth*=i}return Me.makeFragment(n)}var ox=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Qoe=(t,e)=>{var r=e.havingSize(t.size);return TI(t.body,r,e)};pt({type:"sizing",names:ox,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:n,parser:i}=t,s=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:ox.indexOf(n)+1,body:s}},htmlBuilder:Qoe,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),n=Ii(t.body,r),i=new Qe.MathNode("mstyle",n);return i.setAttribute("mathsize",ut(r.sizeMultiplier)),i}});pt({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:n}=t,i=!1,s=!1,a=r[0]&&Vt(r[0],"ordgroup");if(a)for(var l="",u=0;u<a.body.length;++u){var p=a.body[u];if(l=p.text,l==="t")i=!0;else if(l==="b")s=!0;else{i=!1,s=!1;break}}else i=!0,s=!0;var d=e[0];return{type:"smash",mode:n.mode,body:d,smashHeight:i,smashDepth:s}},htmlBuilder:(t,e)=>{var r=Me.makeSpan([],[cr(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(t.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var s=Me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},e);return Me.makeSpan(["mord"],[s],e)},mathmlBuilder:(t,e)=>{var r=new Qe.MathNode("mpadded",[xr(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});pt({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:n}=t,i=r[0],s=e[0];return{type:"sqrt",mode:n.mode,body:s,index:i}},htmlBuilder(t,e){var r=cr(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=Me.wrapFragment(r,e);var n=e.fontMetrics(),i=n.defaultRuleThickness,s=i;
vendor: 9,886 bytes, lines 570-573
570e.style.id<kt.TEXT.id&&(s=e.fontMetrics().xHeight);var a=i+s/4,l=r.height+r.depth+a+i,{span:u,ruleWidth:p,advanceWidth:d}=bo.sqrtImage(l,e),g=u.height-p;g>r.height+r.depth+a&&(a=(a+g-r.height-r.depth)/2);var _=u.height-r.height-a-p;r.style.paddingLeft=ut(d);var v=Me.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+_)},{type:"elem",elem:u},{type:"kern",size:p}]},e);if(t.index){var k=e.havingStyle(kt.SCRIPTSCRIPT),O=cr(t.index,k,e),N=.6*(v.height-v.depth),S=Me.makeVList({positionType:"shift",positionData:-N,children:[{type:"elem",elem:O}]},e),M=Me.makeSpan(["root"],[S]);return Me.makeSpan(["mord","sqrt"],[M,v],e)}else return Me.makeSpan(["mord","sqrt"],[v],e)},mathmlBuilder(t,e){var{body:r,index:n}=t;return n?new Qe.MathNode("mroot",[xr(r,e),xr(n,e)]):new Qe.MathNode("msqrt",[xr(r,e)])}});var lx={display:kt.DISPLAY,text:kt.TEXT,script:kt.SCRIPT,scriptscript:kt.SCRIPTSCRIPT};pt({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:n,parser:i}=t,s=i.parseExpression(!0,r),a=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:a,body:s}},htmlBuilder(t,e){var r=lx[t.style],n=e.havingStyle(r).withFont("");return TI(t.body,n,e)},mathmlBuilder(t,e){var r=lx[t.style],n=e.havingStyle(r),i=Ii(t.body,n),s=new Qe.MathNode("mstyle",i),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},l=a[t.style];return s.setAttribute("scriptlevel",l[0]),s.setAttribute("displaystyle",l[1]),s}});var Joe=function(e,r){var n=e.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===kt.DISPLAY.size||n.alwaysHandleSupSub);return i?ah:null}else if(n.type==="operatorname"){var s=n.alwaysHandleSupSub&&(r.style.size===kt.DISPLAY.size||n.limits);return s?SI:null}else{if(n.type==="accent")return Tt.isCharacterBox(n.base)?_6:null;if(n.type==="horizBrace"){var a=!e.sub;return a===n.isOver?bI:null}else return null}else return null};sc({type:"supsub",htmlBuilder(t,e){var r=Joe(t,e);if(r)return r(t,e);var{base:n,sup:i,sub:s}=t,a=cr(n,e),l,u,p=e.fontMetrics(),d=0,g=0,_=n&&Tt.isCharacterBox(n);if(i){var v=e.havingStyle(e.style.sup());l=cr(i,v,e),_||(d=a.height-v.fontMetrics().supDrop*v.sizeMultiplier/e.sizeMultiplier)}if(s){var k=e.havingStyle(e.style.sub());u=cr(s,k,e),_||(g=a.depth+k.fontMetrics().subDrop*k.sizeMultiplier/e.sizeMultiplier)}var O;e.style===kt.DISPLAY?O=p.sup1:e.style.cramped?O=p.sup3:O=p.sup2;var N=e.sizeMultiplier,S=ut(.5/p.ptPerEm/N),M=null;if(u){var F=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(a instanceof Is||F)&&(M=ut(-a.italic))}var G;if(l&&u){d=Math.max(d,O,l.depth+.25*p.xHeight),g=Math.max(g,p.sub2);var X=p.defaultRuleThickness,z=4*X;if(d-l.depth-(u.height-g)<z){g=z-(d-l.depth)+u.height;var R=.8*p.xHeight-(d-l.depth);R>0&&(d+=R,g-=R)}var H=[{type:"elem",elem:u,shift:g,marginRight:S,marginLeft:M},{type:"elem",elem:l,shift:-d,marginRight:S}];G=Me.makeVList({positionType:"individualShift",children:H},e)}else if(u){g=Math.max(g,p.sub1,u.height-.8*p.xHeight);var re=[{type:"elem",elem:u,marginLeft:M,marginRight:S}];G=Me.makeVList({positionType:"shift",positionData:g,children:re},e)}else if(l)d=Math.max(d,O,l.depth+.25*p.xHeight),G=Me.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:l,marginRight:S}]},e);else throw new Error("supsub must have either sup or sub.");var ie=u4(a,"right")||"mord";return Me.makeSpan([ie],[a,Me.makeSpan(["msupsub"],[G])],e)},mathmlBuilder(t,e){var r=!1,n,i;t.base&&t.base.type==="horizBrace"&&(i=!!t.sup,i===t.base.isOver&&(r=!0,n=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var s=[xr(t.base,e)];t.sub&&s.push(xr(t.sub,e)),t.sup&&s.push(xr(t.sup,e));var a;if(r)a=n?"mover":"munder";else if(t.sub)if(t.sup){var p=t.base;p&&p.type==="op"&&p.limits&&e.style===kt.DISPLAY||p&&p.type==="operatorname"&&p.alwaysHandleSupSub&&(e.style===kt.DISPLAY||p.limits)?a="munderover":a="msubsup"}else{var u=t.base;u&&u.type==="op"&&u.limits&&(e.style===kt.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||e.style===kt.DISPLAY)?a="munder":a="msub"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===kt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===kt.DISPLAY)?a="mover":a="msup"}return new Qe.MathNode(a,s)}});sc({type:"atom",htmlBuilder(t,e){return Me.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new Qe.MathNode("mo",[Rs(t.text,t.mode)]);if(t.family==="bin"){var n=m6(t,e);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var xI={mi:"italic",mn:"normal",mtext:"normal"};sc({type:"mathord",htmlBuilder(t,e){return Me.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new Qe.MathNode("mi",[Rs(t.text,t.mode,e)]),n=m6(t,e)||"italic";return n!==xI[r.type]&&r.setAttribute("mathvariant",n),r}});sc({type:"textord",htmlBuilder(t,e){return Me.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=Rs(t.text,t.mode,e),n=m6(t,e)||"normal",i;return t.mode==="text"?i=new Qe.MathNode("mtext",[r]):/[0-9]/.test(t.text)?i=new Qe.MathNode("mn",[r]):t.text==="\\prime"?i=new Qe.MathNode("mo",[r]):i=new Qe.MathNode("mi",[r]),n!==xI[i.type]&&i.setAttribute("mathvariant",n),i}});var Wv={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Gv={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};sc({type:"spacing",htmlBuilder(t,e){if(Gv.hasOwnProperty(t.text)){var r=Gv[t.text].className||"";if(t.mode==="text"){var n=Me.makeOrd(t,e,"textord");return n.classes.push(r),n}else return Me.makeSpan(["mspace",r],[Me.mathsym(t.text,t.mode,e)],e)}else{if(Wv.hasOwnProperty(t.text))return Me.makeSpan(["mspace",Wv[t.text]],[],e);throw new tt('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(Gv.hasOwnProperty(t.text))r=new Qe.MathNode("mtext",[new Qe.TextNode(" ")]);else{if(Wv.hasOwnProperty(t.text))return new Qe.MathNode("mspace");throw new tt('Unknown type of space "'+t.text+'"')}return r}});var ux=()=>{var t=new Qe.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};sc({type:"tag",mathmlBuilder(t,e){var r=new Qe.MathNode("mtable",[new Qe.MathNode("mtr",[ux(),new Qe.MathNode("mtd",[ql(t.body,e)]),ux(),new Qe.MathNode("mtd",[ql(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var cx={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},hx={"\\textbf":"textbf","\\textmd":"textmd"},Zoe={"\\textit":"textit","\\textup":"textup"},fx=(t,e)=>{var r=t.font;if(r){if(cx[r])return e.withTextFontFamily(cx[r]);if(hx[r])return e.withTextFontWeight(hx[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(Zoe[r])};pt({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,i=e[0];return{type:"text",mode:r.mode,body:ln(i),font:n}},htmlBuilder(t,e){var r=fx(t,e),n=Tn(t.body,r,!0);return Me.makeSpan(["mord","text"],n,r)},mathmlBuilder(t,e){var r=fx(t,e);return ql(t.body,r)}});pt({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=cr(t.body,e),n=Me.makeLineSpan("underline-line",e),i=e.fontMetrics().defaultRuleThickness,s=Me.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},e);return Me.makeSpan(["mord","underline"],[s],e)},mathmlBuilder(t,e){var r=new Qe.MathNode("mo",[new Qe.TextNode("â¾")]);r.setAttribute("stretchy","true");var n=new Qe.MathNode("munder",[xr(t.body,e),r]);return n.setAttribute("accentunder","true"),n}});pt({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=cr(t.body,e),n=e.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return Me.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new Qe.MathNode("mpadded",[xr(t.body,e)],["vcenter"])}});pt({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new tt("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=dx(t),n=[],i=e.havingStyle(e.style.text()),s=0;s<r.length;s++){var a=r[s];a==="~"&&(a="\\textasciitilde"),n.push(Me.makeSymbol(a,"Typewriter-Regular",t.mode,i,["mord","texttt"]))}return Me.makeSpan(["mord","text"].concat(i.sizingClasses(e)),Me.tryCombineChars(n),i)},mathmlBuilder(t,e){var r=new Qe.TextNode(dx(t)),n=new Qe.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var dx=t=>t.body.replace(/ /g,t.star?"â£":" "),kl=YO,kI=`[ \r 571 ]`,ele="\\\\[a-zA-Z@]+",tle="\\\\[^\uD800-\uDFFF]",rle="("+ele+")"+kI+"*",nle=`\\\\( 572|[ \r ]+ 573?)[ \r ]*`,d4="[Ì-ͯ]",ile=new RegExp(d4+"+$"),sle="("+kI+"+)|"+(nle+"|")+"([!-\\[\\]-â§âª-í¿ï¤-ï¿¿]"+(d4+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(d4+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+rle)+("|"+tle+")");class px{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(sle,"g"),this.catcodes={"%":14,"~":13}}
vendor: 4,251 bytes, lines 573-574
573setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new Ms("EOF",new Yi(this,r,r));var n=this.tokenRegex.exec(e);if(n===null||n.index!==r)throw new tt("Unexpected character: '"+e[r]+"'",new Ms(e[r],new Yi(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var s=e.indexOf(` 574`,this.tokenRegex.lastIndex);return s===-1?(this.tokenRegex.lastIndex=e.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=s+1,this.lex()}return new Ms(i,new Yi(this,r,this.tokenRegex.lastIndex))}}class ale{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new tt("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(e)&&(s[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var ole=mI;W("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});W("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});W("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});W("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});W("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});W("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");W("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var mx={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};W("\\char",function(t){var e=t.popToken(),r,n="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new tt("\\char` missing argument");n=e.text.charCodeAt(0)}else r=10;if(r){if(n=mx[e.text],n==null||n>=r)throw new tt("Invalid base-"+r+" digit "+e.text);for(var i;(i=mx[t.future().text])!=null&&i<r;)n*=r,n+=i,t.popToken()}return"\\@char{"+n+"}"});var x6=(t,e,r)=>{var n=t.consumeArg().tokens;if(n.length!==1)throw new tt("\\newcommand's first argument must be a macro name");var i=n[0].text,s=t.isDefined(i);if(s&&!e)throw new tt("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!r)throw new tt("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var a=0;if(n=t.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var l="",u=t.expandNextToken();u.text!=="]"&&u.text!=="EOF";)l+=u.text,u=t.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new tt("Invalid number of arguments: "+l);a=parseInt(l),n=t.consumeArg().tokens}return t.macros.set(i,{tokens:n,numArgs:a}),""};W("\\newcommand",t=>x6(t,!1,!0));W("\\renewcommand",t=>x6(t,!0,!1));W("\\providecommand",t=>x6(t,!0,!0));W("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});W("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});W("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),kl[r],Dr.math[r],Dr.text[r]),""});W("\\bgroup","{");W("\\egroup","}");
vendor: 6,443 bytes, line 574
574W("~","\\nobreakspace");W("\\lq","`");W("\\rq","'");W("\\aa","\\r a");W("\\AA","\\r A");W("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");W("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");W("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");W("â¬","\\mathscr{B}");W("â°","\\mathscr{E}");W("â±","\\mathscr{F}");W("â","\\mathscr{H}");W("â","\\mathscr{I}");W("â","\\mathscr{L}");W("â³","\\mathscr{M}");W("â","\\mathscr{R}");W("â","\\mathfrak{C}");W("â","\\mathfrak{H}");W("â¨","\\mathfrak{Z}");W("\\Bbbk","\\Bbb{k}");W("·","\\cdotp");W("\\llap","\\mathllap{\\textrm{#1}}");W("\\rlap","\\mathrlap{\\textrm{#1}}");W("\\clap","\\mathclap{\\textrm{#1}}");W("\\mathstrut","\\vphantom{(}");W("\\underbar","\\underline{\\text{#1}}");W("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');W("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`â }}");W("\\ne","\\neq");W("â ","\\neq");W("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`â}}");W("â","\\notin");W("â","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`â}}");W("â","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`â}}");W("â","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`â}}");W("â","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`â}}");W("â","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`â}}");W("â","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`â}}");W("â","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`â}}");W("â","\\perp");W("â¼","\\mathclose{!\\mkern-0.8mu!}");W("â","\\notni");W("â","\\ulcorner");W("â","\\urcorner");W("â","\\llcorner");W("â","\\lrcorner");W("©","\\copyright");W("®","\\textregistered");W("ï¸","\\textregistered");W("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');W("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');W("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');W("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');W("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");W("â®","\\vdots");W("\\varGamma","\\mathit{\\Gamma}");W("\\varDelta","\\mathit{\\Delta}");W("\\varTheta","\\mathit{\\Theta}");W("\\varLambda","\\mathit{\\Lambda}");W("\\varXi","\\mathit{\\Xi}");W("\\varPi","\\mathit{\\Pi}");W("\\varSigma","\\mathit{\\Sigma}");W("\\varUpsilon","\\mathit{\\Upsilon}");W("\\varPhi","\\mathit{\\Phi}");W("\\varPsi","\\mathit{\\Psi}");W("\\varOmega","\\mathit{\\Omega}");W("\\substack","\\begin{subarray}{c}#1\\end{subarray}");W("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");W("\\boxed","\\fbox{$\\displaystyle{#1}$}");W("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");W("\\implies","\\DOTSB\\;\\Longrightarrow\\;");W("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var gx={",":"\\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"};W("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in gx?e=gx[r]:(r.slice(0,4)==="\\not"||r in Dr.math&&Tt.contains(["bin","rel"],Dr.math[r].group))&&(e="\\dotsb"),e});var k6={")":!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};W("\\dotso",function(t){var e=t.future().text;return e in k6?"\\ldots\\,":"\\ldots"});W("\\dotsc",function(t){var e=t.future().text;return e in k6&&e!==","?"\\ldots\\,":"\\ldots"});W("\\cdots",function(t){var e=t.future().text;return e in k6?"\\@cdots\\,":"\\@cdots"});W("\\dotsb","\\cdots");W("\\dotsm","\\cdots");W("\\dotsi","\\!\\cdots");W("\\dotsx","\\ldots\\,");W("\\DOTSI","\\relax");W("\\DOTSB","\\relax");W("\\DOTSX","\\relax");W("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");W("\\,","\\tmspace+{3mu}{.1667em}");W("\\thinspace","\\,");W("\\>","\\mskip{4mu}");W("\\:","\\tmspace+{4mu}{.2222em}");W("\\medspace","\\:");W("\\;","\\tmspace+{5mu}{.2777em}");W("\\thickspace","\\;");W("\\!","\\tmspace-{3mu}{.1667em}");W("\\negthinspace","\\!");W("\\negmedspace","\\tmspace-{4mu}{.2222em}");W("\\negthickspace","\\tmspace-{5mu}{.277em}");W("\\enspace","\\kern.5em ");W("\\enskip","\\hskip.5em\\relax");W("\\quad","\\hskip1em\\relax");W("\\qquad","\\hskip2em\\relax");W("\\tag","\\@ifstar\\tag@literal\\tag@paren");W("\\tag@paren","\\tag@literal{({#1})}");W("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new tt("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});W("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");W("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");W("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");W("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");W("\\newline","\\\\\\relax");W("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var AI=ut(Ra["Main-Regular"][84][1]-.7*Ra["Main-Regular"][65][1]);W("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+AI+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");W("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+AI+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");
574W("\\hspace","\\@ifstar\\@hspacer\\@hspace");W("\\@hspace","\\hskip #1\\relax");W("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");W("\\ordinarycolon",":");W("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");W("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');W("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');W("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');W("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');W("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');W("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');W("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');W("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');W("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');W("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');W("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');W("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');W("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');W("â·","\\dblcolon");W("â¹","\\eqcolon");W("â","\\coloneqq");W("â","\\eqqcolon");W("â©´","\\Coloneqq");W("\\ratio","\\vcentcolon");W("\\coloncolon","\\dblcolon");W("\\colonequals","\\coloneqq");W("\\coloncolonequals","\\Coloneqq");W("\\equalscolon","\\eqqcolon");W("\\equalscoloncolon","\\Eqqcolon");W("\\colonminus","\\coloneq");W("\\coloncolonminus","\\Coloneq");W("\\minuscolon","\\eqcolon");W("\\minuscoloncolon","\\Eqcolon");W("\\coloncolonapprox","\\Colonapprox");W("\\coloncolonsim","\\Colonsim");W("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");W("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");W("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");W("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");W("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`â}}");W("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");W("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");W("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");W("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");W("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");W("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");W("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");W("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");W("\\gvertneqq","\\html@mathml{\\@gvertneqq}{â©}");W("\\lvertneqq","\\html@mathml{\\@lvertneqq}{â¨}");W("\\ngeqq","\\html@mathml{\\@ngeqq}{â±}");W("\\ngeqslant","\\html@mathml{\\@ngeqslant}{â±}");W("\\nleqq","\\html@mathml{\\@nleqq}{â°}");W("\\nleqslant","\\html@mathml{\\@nleqslant}{â°}");W("\\nshortmid","\\html@mathml{\\@nshortmid}{â¤}");W("\\nshortparallel","\\html@mathml{\\@nshortparallel}{â¦}");W("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{â}");W("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{â}");W("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{â}");W("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{â«}");W("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{â}");W("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{â«}");W("\\imath","\\html@mathml{\\@imath}{ı}");W("\\jmath","\\html@mathml{\\@jmath}{È·}");W("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`â¦}}");W("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`â§}}");W("â¦","\\llbracket");W("â§","\\rrbracket");W("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}
574{\\mathopen{\\char`â¦}}");W("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`â¦}}");W("â¦","\\lBrace");W("â¦","\\rBrace");W("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");W("⦵","\\minuso");W("\\darr","\\downarrow");W("\\dArr","\\Downarrow");W("\\Darr","\\Downarrow");W("\\lang","\\langle");W("\\rang","\\rangle");W("\\uarr","\\uparrow");W("\\uArr","\\Uparrow");W("\\Uarr","\\Uparrow");W("\\N","\\mathbb{N}");W("\\R","\\mathbb{R}");W("\\Z","\\mathbb{Z}");W("\\alef","\\aleph");W("\\alefsym","\\aleph");W("\\Alpha","\\mathrm{A}");W("\\Beta","\\mathrm{B}");W("\\bull","\\bullet");W("\\Chi","\\mathrm{X}");W("\\clubs","\\clubsuit");W("\\cnums","\\mathbb{C}");W("\\Complex","\\mathbb{C}");W("\\Dagger","\\ddagger");W("\\diamonds","\\diamondsuit");W("\\empty","\\emptyset");W("\\Epsilon","\\mathrm{E}");W("\\Eta","\\mathrm{H}");W("\\exist","\\exists");W("\\harr","\\leftrightarrow");W("\\hArr","\\Leftrightarrow");W("\\Harr","\\Leftrightarrow");W("\\hearts","\\heartsuit");W("\\image","\\Im");W("\\infin","\\infty");W("\\Iota","\\mathrm{I}");W("\\isin","\\in");W("\\Kappa","\\mathrm{K}");W("\\larr","\\leftarrow");W("\\lArr","\\Leftarrow");W("\\Larr","\\Leftarrow");W("\\lrarr","\\leftrightarrow");W("\\lrArr","\\Leftrightarrow");W("\\Lrarr","\\Leftrightarrow");W("\\Mu","\\mathrm{M}");W("\\natnums","\\mathbb{N}");W("\\Nu","\\mathrm{N}");W("\\Omicron","\\mathrm{O}");W("\\plusmn","\\pm");W("\\rarr","\\rightarrow");W("\\rArr","\\Rightarrow");W("\\Rarr","\\Rightarrow");W("\\real","\\Re");W("\\reals","\\mathbb{R}");W("\\Reals","\\mathbb{R}");W("\\Rho","\\mathrm{P}");W("\\sdot","\\cdot");W("\\sect","\\S");W("\\spades","\\spadesuit");W("\\sub","\\subset");W("\\sube","\\subseteq");W("\\supe","\\supseteq");W("\\Tau","\\mathrm{T}");W("\\thetasym","\\vartheta");W("\\weierp","\\wp");W("\\Zeta","\\mathrm{Z}");W("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");W("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");W("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");W("\\bra","\\mathinner{\\langle{#1}|}");W("\\ket","\\mathinner{|{#1}\\rangle}");W("\\braket","\\mathinner{\\langle{#1}\\rangle}");W("\\Bra","\\left\\langle#1\\right|");W("\\Ket","\\left|#1\\right\\rangle");var MI=t=>e=>{var r=e.consumeArg().tokens,n=e.consumeArg().tokens,i=e.consumeArg().tokens,s=e.consumeArg().tokens,a=e.macros.get("|"),l=e.macros.get("\\|");e.macros.beginGroup();var u=g=>_=>{t&&(_.macros.set("|",a),i.length&&_.macros.set("\\|",l));var v=g;if(!g&&i.length){var k=_.future();k.text==="|"&&(_.popToken(),v=!0)}return{tokens:v?i:n,numArgs:0}};e.macros.set("|",u(!1)),i.length&&e.macros.set("\\|",u(!0));var p=e.consumeArg().tokens,d=e.expandTokens([...s,...p,...r]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};W("\\bra@ket",MI(!1));W("\\bra@set",MI(!0));W("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");W("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");W("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");W("\\angln","{\\angl n}");W("\\blue","\\textcolor{##6495ed}{#1}");W("\\orange","\\textcolor{##ffa500}{#1}");W("\\pink","\\textcolor{##ff00af}{#1}");W("\\red","\\textcolor{##df0030}{#1}");W("\\green","\\textcolor{##28ae7b}{#1}");W("\\gray","\\textcolor{gray}{#1}");W("\\purple","\\textcolor{##9d38bd}{#1}");W("\\blueA","\\textcolor{##ccfaff}{#1}");W("\\blueB","\\textcolor{##80f6ff}{#1}");W("\\blueC","\\textcolor{##63d9ea}{#1}");W("\\blueD","\\textcolor{##11accd}{#1}");W("\\blueE","\\textcolor{##0c7f99}{#1}");W("\\tealA","\\textcolor{##94fff5}{#1}");W("\\tealB","\\textcolor{##26edd5}{#1}");W("\\tealC","\\textcolor{##01d1c1}{#1}");W("\\tealD","\\textcolor{##01a995}{#1}");W("\\tealE","\\textcolor{##208170}{#1}");W("\\greenA","\\textcolor{##b6ffb0}{#1}");
vendor: 5,995 bytes, line 574
574W("\\greenB","\\textcolor{##8af281}{#1}");W("\\greenC","\\textcolor{##74cf70}{#1}");W("\\greenD","\\textcolor{##1fab54}{#1}");W("\\greenE","\\textcolor{##0d923f}{#1}");W("\\goldA","\\textcolor{##ffd0a9}{#1}");W("\\goldB","\\textcolor{##ffbb71}{#1}");W("\\goldC","\\textcolor{##ff9c39}{#1}");W("\\goldD","\\textcolor{##e07d10}{#1}");W("\\goldE","\\textcolor{##a75a05}{#1}");W("\\redA","\\textcolor{##fca9a9}{#1}");W("\\redB","\\textcolor{##ff8482}{#1}");W("\\redC","\\textcolor{##f9685d}{#1}");W("\\redD","\\textcolor{##e84d39}{#1}");W("\\redE","\\textcolor{##bc2612}{#1}");W("\\maroonA","\\textcolor{##ffbde0}{#1}");W("\\maroonB","\\textcolor{##ff92c6}{#1}");W("\\maroonC","\\textcolor{##ed5fa6}{#1}");W("\\maroonD","\\textcolor{##ca337c}{#1}");W("\\maroonE","\\textcolor{##9e034e}{#1}");W("\\purpleA","\\textcolor{##ddd7ff}{#1}");W("\\purpleB","\\textcolor{##c6b9fc}{#1}");W("\\purpleC","\\textcolor{##aa87ff}{#1}");W("\\purpleD","\\textcolor{##7854ab}{#1}");W("\\purpleE","\\textcolor{##543b78}{#1}");W("\\mintA","\\textcolor{##f5f9e8}{#1}");W("\\mintB","\\textcolor{##edf2df}{#1}");W("\\mintC","\\textcolor{##e0e5cc}{#1}");W("\\grayA","\\textcolor{##f6f7f7}{#1}");W("\\grayB","\\textcolor{##f0f1f2}{#1}");W("\\grayC","\\textcolor{##e3e5e6}{#1}");W("\\grayD","\\textcolor{##d6d8da}{#1}");W("\\grayE","\\textcolor{##babec2}{#1}");W("\\grayF","\\textcolor{##888d93}{#1}");W("\\grayG","\\textcolor{##626569}{#1}");W("\\grayH","\\textcolor{##3b3e40}{#1}");W("\\grayI","\\textcolor{##21242c}{#1}");W("\\kaBlue","\\textcolor{##314453}{#1}");W("\\kaGreen","\\textcolor{##71B307}{#1}");var CI={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class lle{constructor(e,r,n){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=r,this.expansionCount=0,this.feed(e),this.macros=new ale(ole,r.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new px(e,this.settings)}switchMode(e){this.mode=e}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(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,n,i;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new Ms("EOF",n.loc)),this.pushTokens(i),r.range(n,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],n=e&&e.length>0;n||this.consumeSpaces();var i=this.future(),s,a=0,l=0;do{if(s=this.popToken(),r.push(s),s.text==="{")++a;else if(s.text==="}"){if(--a,a===-1)throw new tt("Extra }",s)}else if(s.text==="EOF")throw new tt("Unexpected end of input in a macro argument, expected '"+(e&&n?e[l]:"}")+"'",s);if(e&&n)if((a===0||a===1&&e[l]==="{")&&s.text===e[l]){if(++l,l===e.length){r.splice(-l,l);break}}else l=0}while(a!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:s}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new tt("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;i<n.length;i++){var s=this.popToken();if(n[i]!==s.text)throw new tt("Use of the macro doesn't match its definition",s)}}for(var a=[],l=0;l<e;l++)a.push(this.consumeArg(r&&r[l+1]).tokens);return a}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new tt("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||e&&i.unexpandable){if(e&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new tt("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var s=i.tokens,a=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){s=s.slice();for(var l=s.length-1;l>=0;--l){var u=s[l];if(u.text==="#"){if(l===0)throw new tt("Incomplete placeholder at end of macro body",u);if(u=s[--l],u.text==="#")s.splice(l+1,1);else if(/^[1-9]$/.test(u.text))s.splice(l,2,...a[+u.text-1]);else throw new tt("Not a valid argument number",u)}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Ms(e)]):void 0}expandTokens(e){var r=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(n=>n.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var s=0;if(i.indexOf("#")!==-1)for(var a=i.replace(/##/g,"");a.indexOf("#"+(s+1))!==-1;)++s;for(var l=new px(i,this.settings),u=[],p=l.lex();p.text!=="EOF";)u.push(p),p=l.lex();u.reverse();var d={tokens:u,numArgs:s};return d}return i}isDefined(e){return this.macros.has(e)||kl.hasOwnProperty(e)||Dr.math.hasOwnProperty(e)||Dr.text.hasOwnProperty(e)||CI.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:kl.hasOwnProperty(e)&&!kl[e].primitive}}var _x=/^[âââââââââââ
âââââââᵢⱼââââââáµ£ââᵤᵥâᵦᵧᵨᵩᵪ]/,am=Object.freeze({"â":"+","â":"-","â":"=","â":"(","â":")","â":"0","â":"1","â":"2","â":"3","â":"4","â
":"5","â":"6","â":"7","â":"8","â":"9","â":"a","â
574":"e","â":"h","áµ¢":"i","â±¼":"j","â":"k","â":"l","â":"m","â":"n","â":"o","â":"p","áµ£":"r","â":"s","â":"t","ᵤ":"u","áµ¥":"v","â":"x","ᵦ":"β","áµ§":"γ","ᵨ":"Ï","ᵩ":"Ï","ᵪ":"Ï","âº":"+","â»":"-","â¼":"=","â½":"(","â¾":")","â°":"0","¹":"1","²":"2","³":"3","â´":"4","âµ":"5","â¶":"6","â·":"7","â¸":"8","â¹":"9","á´¬":"A","á´®":"B","á´°":"D","á´±":"E","á´³":"G","á´´":"H","á´µ":"I","á´¶":"J","á´·":"K","á´¸":"L","á´¹":"M","á´º":"N","á´¼":"O","á´¾":"P","á´¿":"R","áµ":"T","áµ":"U","â±½":"V","áµ":"W","áµ":"a","áµ":"b","á¶":"c","áµ":"d","áµ":"e","á¶ ":"f","áµ":"g",ʰ:"h","â±":"i",ʲ:"j","áµ":"k",Ë¡:"l","áµ":"m",â¿:"n","áµ":"o","áµ":"p",ʳ:"r",Ë¢:"s","áµ":"t","áµ":"u","áµ":"v",Ê·:"w",Ë£:"x",ʸ:"y","á¶»":"z","áµ":"β","áµ":"γ","áµ":"δ","áµ ":"Ï","ᵡ":"Ï","á¶¿":"θ"}),$v={"Ì":{text:"\\'",math:"\\acute"},"Ì":{text:"\\`",math:"\\grave"},"Ì":{text:'\\"',math:"\\ddot"},"Ì":{text:"\\~",math:"\\tilde"},"Ì":{text:"\\=",math:"\\bar"},"Ì":{text:"\\u",math:"\\breve"},"Ì":{text:"\\v",math:"\\check"},"Ì":{text:"\\^",math:"\\hat"},"Ì":{text:"\\.",math:"\\dot"},"Ì":{text:"\\r",math:"\\mathring"},"Ì":{text:"\\H"},"̧":{text:"\\c"}},yx={á:"aÌ",à :"aÌ",ä:"aÌ",Ç:"aÌÌ",ã:"aÌ",Ä:"aÌ",Ä:"aÌ",ắ:"aÌÌ",ằ:"aÌÌ",ẵ:"aÌÌ",Ç:"aÌ",â:"aÌ",ấ:"aÌÌ",ầ:"aÌÌ",ẫ:"aÌÌ",ȧ:"aÌ",Ç¡:"aÌÌ",Ã¥:"aÌ",Ç»:"aÌÌ",á¸:"bÌ",Ä:"cÌ",á¸:"çÌ",Ä:"cÌ",Ä:"cÌ",Ä:"cÌ",ç:"ç",Ä:"dÌ",á¸:"dÌ",á¸:"ḑ",é:"eÌ",è:"eÌ",ë:"eÌ",ẽ:"eÌ",Ä:"eÌ",á¸:"eÌÌ",á¸:"eÌÌ",Ä:"eÌ",á¸:"ȩÌ",Ä:"eÌ",ê:"eÌ",ế:"eÌÌ",á»:"eÌÌ",á»
:"eÌÌ",Ä:"eÌ",È©:"ȩ",á¸:"fÌ",ǵ:"gÌ",ḡ:"gÌ",Ä:"gÌ",ǧ:"gÌ",Ä:"gÌ",Ä¡:"gÌ",Ä£:"ģ",ḧ:"hÌ",È:"hÌ",Ä¥:"hÌ",ḣ:"hÌ",ḩ:"ḩ",Ã:"iÌ",ì:"iÌ",ï:"iÌ",ḯ:"iÌÌ",Ä©:"iÌ",Ä«:"iÌ",Ä:"iÌ",Ç:"iÌ",î:"iÌ",ǰ:"jÌ",ĵ:"jÌ",ḱ:"kÌ",Ç©:"kÌ",Ä·:"ķ",ĺ:"lÌ",ľ:"lÌ",ļ:"ļ",ḿ:"mÌ",á¹:"mÌ",Å:"nÌ",ǹ:"nÌ",ñ:"nÌ",Å:"nÌ",á¹
:"nÌ",Å:"ņ",ó:"oÌ",ò:"oÌ",ö:"oÌ",È«:"oÌÌ",õ:"oÌ",á¹:"oÌÌ",á¹:"oÌÌ",È:"oÌÌ",Å:"oÌ",á¹:"oÌÌ",á¹:"oÌÌ",Å:"oÌ",Ç:"oÌ",ô:"oÌ",á»:"oÌÌ",á»:"oÌÌ",á»:"oÌÌ",ȯ:"oÌ",ȱ:"oÌÌ",Å:"oÌ",á¹:"pÌ",á¹:"pÌ",Å:"rÌ",Å:"rÌ",á¹:"rÌ",Å:"ŗ",Å:"sÌ",á¹¥:"sÌÌ",Å¡:"sÌ",á¹§:"sÌÌ",Å:"sÌ",ṡ:"sÌ",Å:"ş",áº:"tÌ",Å¥:"tÌ",ṫ:"tÌ",Å£:"ţ",ú:"uÌ",ù:"uÌ",ü:"uÌ",Ç:"uÌÌ",Ç:"uÌÌ",Ç:"uÌÌ",Ç:"uÌÌ",Å©:"uÌ",á¹¹:"uÌÌ",Å«:"uÌ",á¹»:"uÌÌ",Å:"uÌ",Ç:"uÌ",û:"uÌ",ů:"uÌ",ű:"uÌ",á¹½:"vÌ",áº:"wÌ",áº:"wÌ",áº
:"wÌ",ŵ:"wÌ",áº:"wÌ",áº:"wÌ",áº:"xÌ",áº:"xÌ",ý:"yÌ",ỳ:"yÌ",ÿ:"yÌ",ỹ:"yÌ",ȳ:"yÌ",Å·:"yÌ",áº:"yÌ",áº:"yÌ",ź:"zÌ",ž:"zÌ",áº:"zÌ",ż:"zÌ",Ã:"AÌ",Ã:"AÌ",Ã:"AÌ",Ç:"AÌÌ",Ã:"AÌ",Ä:"AÌ",Ä:"AÌ",Ắ:"AÌÌ",Ằ:"AÌÌ",Ẵ:"AÌÌ",Ç:"AÌ",Ã:"AÌ",Ấ:"AÌÌ",Ầ:"AÌÌ",Ẫ:"AÌÌ",Ȧ:"AÌ",Ç :"AÌÌ",Ã
:"AÌ",Ǻ:"AÌÌ",á¸:"BÌ",Ä:"CÌ",á¸:"ÇÌ",Ä:"CÌ",Ä:"CÌ",Ä:"CÌ",Ã:"Ç",Ä:"DÌ",á¸:"DÌ",á¸:"Ḑ",Ã:"EÌ",Ã:"EÌ",Ã:"EÌ",Ẽ:"EÌ",Ä:"EÌ",á¸:"EÌÌ",á¸:"EÌÌ",Ä:"EÌ",á¸:"ȨÌ",Ä:"EÌ",Ã:"EÌ",Ế:"EÌÌ",á»:"EÌÌ",á»:"EÌÌ",Ä:"EÌ",Ȩ:"Ȩ",á¸:"FÌ",Ç´:"GÌ",Ḡ:"GÌ",Ä:"GÌ",Ǧ:"GÌ",Ä:"GÌ",Ä :"GÌ",Ä¢:"Ģ",Ḧ:"HÌ",È:"HÌ",Ĥ:"HÌ",Ḣ:"HÌ",Ḩ:"Ḩ",Ã:"IÌ",Ã:"IÌ",Ã:"IÌ",Ḯ:"IÌÌ",Ĩ:"IÌ",Ī:"IÌ",Ĭ:"IÌ",Ç:"IÌ",Ã:"IÌ",İ:"IÌ",Ä´:"JÌ",Ḱ:"KÌ",Ǩ:"KÌ",Ķ:"Ķ",Ĺ:"LÌ",Ľ:"LÌ",Ä»:"Ļ",Ḿ:"MÌ",á¹:"MÌ",Å:"NÌ",Ǹ:"NÌ",Ã:"NÌ",Å:"NÌ",á¹:"NÌ",Å
:"Ņ",Ã:"OÌ",Ã:"OÌ",Ã:"OÌ",Ȫ:"OÌÌ",Ã:"OÌ",á¹:"OÌÌ",á¹:"OÌÌ",Ȭ:"OÌÌ",Å:"OÌ",á¹:"OÌÌ",á¹:"OÌÌ",Å:"OÌ",Ç:"OÌ",Ã:"OÌ",á»:"OÌÌ",á»:"OÌÌ",á»:"OÌÌ",È®:"OÌ",Ȱ:"OÌÌ",Å:"OÌ",á¹:"PÌ",á¹:"PÌ",Å:"RÌ",Å:"RÌ",á¹:"RÌ",Å:"Ŗ",Å:"SÌ",Ṥ:"SÌÌ",Å :"SÌ",Ṧ:"SÌÌ",Å:"SÌ",á¹ :"SÌ",Å:"Ş",Ť:"TÌ",Ṫ:"TÌ",Å¢:"Ţ",Ã:"UÌ",Ã:"UÌ",Ã:"UÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ç:"UÌÌ",Ũ:"UÌ",Ṹ:"UÌÌ",Ū:"UÌ",Ṻ:"UÌÌ",Ŭ:"UÌ",Ç:"UÌ",Ã:"UÌ",Å®:"UÌ",Ű:"UÌ",á¹¼:"VÌ",áº:"WÌ",áº:"WÌ",áº:"WÌ",Å´:"WÌ",áº:"WÌ",áº:"XÌ",áº:"XÌ",Ã:"YÌ",Ỳ:"YÌ",Ÿ:"YÌ",Ỹ:"YÌ",Ȳ
vendor: 4,592 bytes, line 574
574:"YÌ",Ŷ:"YÌ",áº:"YÌ",Ź:"ZÌ",Ž:"ZÌ",áº:"ZÌ",Å»:"ZÌ",ά:"αÌ",á½°:"αÌ",á¾±:"αÌ",á¾°:"αÌ",Î:"εÌ",á½²:"εÌ",ή:"ηÌ",á½´:"ηÌ",ί:"ιÌ",á½¶:"ιÌ",Ï:"ιÌ",Î:"ιÌÌ",á¿:"ιÌÌ",á¿:"ιÌ",á¿:"ιÌ",Ï:"οÌ",ὸ:"οÌ",Ï:"Ï
Ì",ὺ:"Ï
Ì",Ï:"Ï
Ì",ΰ:"Ï
ÌÌ",á¿¢:"Ï
ÌÌ",á¿¡:"Ï
Ì",á¿ :"Ï
Ì",Ï:"ÏÌ",á½¼:"ÏÌ",Î:"Î¥Ì",Ὺ:"Î¥Ì",Ϋ:"Î¥Ì",á¿©:"Î¥Ì",Ῠ:"Î¥Ì",Î:"ΩÌ",Ὼ:"ΩÌ"};class w_{constructor(e,r){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 lle(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new tt("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Ms("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(e,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(w_.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||e&&kl[i.text]&&kl[i.text].infix)break;var s=this.parseAtom(r);if(s){if(s.type==="internal")continue}else break;n.push(s)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var r=-1,n,i=0;i<e.length;i++)if(e[i].type==="infix"){if(r!==-1)throw new tt("only one infix operator per group",e[i].token);r=i,n=e[i].replaceWith}if(r!==-1&&n){var s,a,l=e.slice(0,r),u=e.slice(r+1);l.length===1&&l[0].type==="ordgroup"?s=l[0]:s={type:"ordgroup",mode:this.mode,body:l},u.length===1&&u[0].type==="ordgroup"?a=u[0]:a={type:"ordgroup",mode:this.mode,body:u};var p;return n==="\\\\abovefrac"?p=this.callFunction(n,[s,e[r],a],[]):p=this.callFunction(n,[s,a],[]),[p]}else return e}handleSupSubscript(e){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var i=this.parseGroup(e);if(!i)throw new tt("Expected group after '"+n+"'",r);return i}formatUnsupportedCmd(e){for(var r=[],n=0;n<e.length;n++)r.push({type:"textord",mode:"text",text:e[n]});var i={type:"text",mode:this.mode,body:r},s={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return s}parseAtom(e){var r=this.parseGroup("atom",e);if(this.mode==="text")return r;for(var n,i;;){this.consumeSpaces();var s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(r&&r.type==="op"){var a=s.text==="\\limits";r.limits=a,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=s.text==="\\limits");else throw new tt("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(n)throw new tt("Double superscript",s);n=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(i)throw new tt("Double subscript",s);i=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(n)throw new tt("Double superscript",s);var l={type:"textord",mode:this.mode,text:"\\prime"},u=[l];for(this.consume();this.fetch().text==="'";)u.push(l),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:u}}else if(am[s.text]){var p=_x.test(s.text),d=[];for(d.push(new Ms(am[s.text])),this.consume();;){var g=this.fetch().text;if(!am[g]||_x.test(g)!==p)break;d.unshift(new Ms(am[g])),this.consume()}var _=this.subparse(d);p?i={type:"ordgroup",mode:"math",body:_}:n={type:"ordgroup",mode:"math",body:_}}else break}return n||i?{type:"supsub",mode:this.mode,base:r,sup:n,sub:i}:r}parseFunction(e,r){var n=this.fetch(),i=n.text,s=kl[i];if(!s)return null;if(this.consume(),r&&r!=="atom"&&!s.allowedInArgument)throw new tt("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!s.allowedInText)throw new tt("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&s.allowedInMath===!1)throw new tt("Can't use function '"+i+"' in math mode",n);var{args:a,optArgs:l}=this.parseArguments(i,s);return this.callFunction(i,a,l,n,e)}callFunction(e,r,n,i,s){var a={funcName:e,parser:this,token:i,breakOnTokenText:s},l=kl[e];
vendor: 6,385 bytes, lines 574-575
574if(l&&l.handler)return l.handler(a,r,n);throw new tt("No function handler for "+e)}parseArguments(e,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var i=[],s=[],a=0;a<n;a++){var l=r.argTypes&&r.argTypes[a],u=a<r.numOptionalArgs;(r.primitive&&l==null||r.type==="sqrt"&&a===1&&s[0]==null)&&(l="primitive");var p=this.parseGroupOfType("argument to '"+e+"'",l,u);if(u)s.push(p);else if(p!=null)i.push(p);else throw new tt("Null argument, please report this as a bug")}return{args:i,optArgs:s}}parseGroupOfType(e,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var i=this.parseArgumentGroup(n,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var s=this.parseStringGroup("raw",n);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(n)throw new tt("A primitive argument cannot be optional");var a=this.parseGroup(e);if(a==null)throw new tt("Expected group as "+e,this.fetch());return a}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new tt("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(e,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var i="",s;(s=this.fetch()).text!=="EOF";)i+=s.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(e,r){for(var n=this.fetch(),i=n,s="",a;(a=this.fetch()).text!=="EOF"&&e.test(s+a.text);)i=a,s+=i.text,this.consume();if(s==="")throw new tt("Invalid "+r+": '"+n.text+"'",n);return n.range(i,s)}parseColorGroup(e){var r=this.parseStringGroup("color",e);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new tt("Invalid color: '"+r.text+"'",r);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(e){var r,n=!1;if(this.gullet.consumeSpaces(),!e&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",e),!r)return null;!e&&r.text.length===0&&(r.text="0pt",n=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new tt("Invalid size: '"+r.text+"'",r);var s={number:+(i[1]+i[2]),unit:i[3]};if(!UO(s))throw new tt("Invalid unit: '"+s.unit+"'",r);return{type:"size",mode:this.mode,value:s,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(e,r){var n=this.gullet.scanArgument(e);if(n==null)return null;var i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var a={type:"ordgroup",mode:this.mode,loc:n.loc,body:s};return r&&this.switchMode(i),a}parseGroup(e,r){var n=this.fetch(),i=n.text,s;if(i==="{"||i==="\\begingroup"){this.consume();var a=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var l=this.parseExpression(!1,a),u=this.fetch();this.expect(a),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:Yi.range(n,u),body:l,semisimple:i==="\\begingroup"||void 0}}else if(s=this.parseFunction(r,e)||this.parseSymbol(),s==null&&i[0]==="\\"&&!CI.hasOwnProperty(i)){if(this.settings.throwOnError)throw new tt("Undefined control sequence: "+i,n);s=this.formatUnsupportedCmd(i),this.consume()}return s}formLigatures(e){for(var r=e.length-1,n=0;n<r;++n){var i=e[n],s=i.text;s==="-"&&e[n+1].text==="-"&&(n+1<r&&e[n+2].text==="-"?(e.splice(n,3,{type:"textord",mode:"text",loc:Yi.range(i,e[n+2]),text:"---"}),r-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:Yi.range(i,e[n+1]),text:"--"}),r-=1)),(s==="'"||s==="`")&&e[n+1].text===s&&(e.splice(n,2,{type:"textord",mode:"text",loc:Yi.range(i,e[n+1]),text:s+s}),r-=1)}}parseSymbol(){var e=this.fetch(),r=e.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),i=n.charAt(0)==="*";if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new tt(`\\verb assertion failed -- 575 please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}yx.hasOwnProperty(r[0])&&!Dr[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',e),r=yx[r[0]]+r.slice(1));var s=ile.exec(r);s&&(r=r.substring(0,s.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var a;if(Dr[this.mode][r]){this.settings.strict&&this.mode==="math"&&l4.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var l=Dr[this.mode][r].group,u=Yi.range(e),p;if(Xae.hasOwnProperty(l)){var d=l;p={type:"atom",mode:this.mode,family:d,loc:u,text:r}}else p={type:l,mode:this.mode,loc:u,text:r};a=p}else if(r.charCodeAt(0)>=128)this.settings.strict&&(BO(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),a={type:"textord",mode:"text",loc:Yi.range(e),text:r};else return null;if(this.consume(),s)for(var g=0;g<s[0].length;g++){var _=s[0][g];if(!$v[_])throw new tt("Unknown accent ' "+_+"'",e);var v=$v[_][this.mode]||$v[_].text;if(!v)throw new tt("Accent "+_+" unsupported in "+this.mode+" mode",e);a={type:"accent",mode:this.mode,loc:Yi.range(e),label:v,isStretchy:!1,isShifty:!0,base:a}}return a}}w_.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var A6=function(e,r){if(!(typeof e=="string"||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new w_(e,r);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new tt("\\tag works only in display equations");
575i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new Ms("\\df@tag")])}]}return i},OI=function(e,r,n){r.textContent="";var i=M6(e,n).toNode();r.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),OI=function(){throw new tt("KaTeX doesn't work in quirks mode.")});var ule=function(e,r){var n=M6(e,r).toMarkup();return n},cle=function(e,r){var n=new u6(r);return A6(e,n)},II=function(e,r,n){if(n.throwOnError||!(e instanceof tt))throw e;var i=Me.makeSpan(["katex-error"],[new Is(r)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+n.errorColor),i},M6=function(e,r){var n=new u6(r);try{var i=A6(e,n);return voe(i,e,n)}catch(s){return II(s,e,n)}},hle=function(e,r){var n=new u6(r);try{var i=A6(e,n);return boe(i,e,n)}catch(s){return II(s,e,n)}},vx={version:"0.16.11",render:OI,renderToString:ule,ParseError:tt,SETTINGS_SCHEMA:dg,__parse:cle,__renderToDomTree:M6,__renderToHTMLTree:hle,__setFontMetrics:Wae,__defineSymbol:E,__defineFunction:pt,__defineMacro:W,__domTree:{Span:Ld,Anchor:f6,SymbolNode:Is,SvgNode:Co,PathNode:$l,LineNode:o4}};function fle(t,e){const r=String(t);let n=r.indexOf(e),i=n,s=0,a=0;if(typeof e!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===i?++s>a&&(a=s):s=1,i=n+e.length,n=r.indexOf(e,i);return a}function RI(t){if(!t._compiled){const e=(t.atBreak?"[\\r\\n][\\t ]*":"")+(t.before?"(?:"+t.before+")":"");t._compiled=new RegExp((e?"("+e+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(t.character)?"\\":"")+t.character+(t.after?"(?:"+t.after+")":""),"g")}return t._compiled}function dle(t,e){return bx(t,e.inConstruct,!0)&&!bx(t,e.notInConstruct,!1)}function bx(t,e,r){if(typeof e=="string"&&(e=[e]),!e||e.length===0)return r;let n=-1;for(;++n<e.length;)if(t.includes(e[n]))return!0;return!1}function ple(t,e,r){const n=(r.before||"")+(e||"")+(r.after||""),i=[],s=[],a={};let l=-1;for(;++l<t.unsafe.length;){const d=t.unsafe[l];if(!dle(t.stack,d))continue;const g=RI(d);let _;for(;_=g.exec(n);){const v="before"in d||!!d.atBreak,k="after"in d,O=_.index+(v?_[1].length:0);i.includes(O)?(a[O].before&&!v&&(a[O].before=!1),a[O].after&&!k&&(a[O].after=!1)):(i.push(O),a[O]={before:v,after:k})}}i.sort(mle);let u=r.before?r.before.length:0;const p=n.length-(r.after?r.after.length:0);for(l=-1;++l<i.length;){const d=i[l];d<u||d>=p||d+1<p&&i[l+1]===d+1&&a[d].after&&!a[d+1].before&&!a[d+1].after||i[l-1]===d-1&&a[d].before&&!a[d-1].before&&!a[d-1].after||(u!==d&&s.push(wx(n.slice(u,d),"\\")),u=d,/[!-/:-@[-`{-~]/.test(n.charAt(d))&&(!r.encode||!r.encode.includes(n.charAt(d)))?s.push("\\"):(s.push("&#x"+n.charCodeAt(d).toString(16).toUpperCase()+";"),u++))}return s.push(wx(n.slice(u,p),r.after)),s.join("")}function mle(t,e){return t-e}function wx(t,e){const r=/\\(?=[!-/:-@[-`{-~])/g,n=[],i=[],s=t+e;let a=-1,l=0,u;for(;u=r.exec(s);)n.push(u.index);for(;++a<n.length;)l!==n[a]&&i.push(t.slice(l,n[a])),i.push("\\"),l=n[a];return i.push(t.slice(l)),i.join("")}function gle(t){const e=t||{},r=e.now||{};let n=e.lineShift||0,i=r.line||1,s=r.column||1;return{move:u,current:a,shift:l};function a(){return{now:{line:i,column:s},lineShift:n}}function l(p){n+=p}function u(p){const d=p||"",g=d.split(/\r?\n|\r/g),_=g[g.length-1];return i+=g.length-1,s=g.length===1?s+_.length:1+_.length+n,d}}function _le(){return{enter:{mathFlow:t,mathFlowFenceMeta:e,mathText:s},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:l,mathText:a,mathTextData:l}};function t(u){this.enter({type:"math",meta:null,value:"",data:{hName:"div",hProperties:{className:["math","math-display"]},hChildren:[{type:"text",value:""}]}},u)}function e(){this.buffer()}function r(){const u=this.resume(),p=this.stack[this.stack.length-1];p.meta=u}function n(){this.getData("mathFlowInside")||(this.buffer(),this.setData("mathFlowInside",!0))}function i(u){const p=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.exit(u);d.value=p,d.data.hChildren[0].value=p,this.setData("mathFlowInside")}function s(u){this.enter({type:"inlineMath",value:"",data:{hName:"span",hProperties:{className:["math","math-inline"]},hChildren:[{type:"text",value:""}]}},u),this.buffer()}function a(u){const p=this.resume(),d=this.exit(u);d.value=p,d.data.hChildren[0].value=p}function l(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function yle(t){let e=(t||{}).singleDollarTextMath;return e==null&&(e=!0),n.peek=i,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` 576`,inConstruct:"mathFlowMeta"},{character:"$",after:e?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(s,a,l,u){const p=s.value||"",d=gle(u),g="$".repeat(Math.max(fle(p,"$")+1,2)),_=l.enter("mathFlow");let v=d.move(g);if(s.meta){const k=l.enter("mathFlowMeta");v+=d.move(ple(l,s.meta,{before:v,after:` 577`,encode:["$"],...d.current()})),k()}return v+=d.move(` 578`),p&&(v+=d.move(p+` 579`)),v+=d.move(g),_(),v}function n(s,a,l){let u=s.value||"",p=1;for(e||p++;new RegExp("(^|[^$])"+"\\$".repeat(p)+"([^$]|$)").test(u);)p++;const d="$".repeat(p);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let g=-1;for(;++g<l.unsafe.length;){const _=l.unsafe[g],v=RI(_);let k;if(_.atBreak)for(;k=v.exec(u);){let O=k.index;u.codePointAt(O)===10&&u.codePointAt(O-1)===13&&O--,u=u.slice(0,O)+" "+u.slice(k.index+1)}}return d+u+d}function i(){return"$"}}function vle(t={}){const e=this.data();r("micromarkExtensions",pae(t)),r("fromMarkdownExtensions",_le()),r("toMarkdownExtensions",yle(t));function r(n,i){(e[n]?e[n]:e[n]=[]).push(i)}}const Jue=function(t,e,r,n,i){const s=tu(e);return!t||!t.type||typeof t.type!="string"?!1:s.call(i,t,r,n)},tu=function(t){if(t==null)return C6;if(typeof t=="string")return wle(t);if(typeof t=="object")return ble(t);if(typeof t=="function")return FI(t);throw new Error("Expected function, string, or array as test")};function ble(t){const e=[];let r=-1;for(;++r<t.length;)e[r]=tu(t[r]);return FI(n);function n(...i){let s=-1;for(;++s<e.length;)if(e[s].call(this,...i))return!0;return!1}}function wle(t){return e;function e(r){return C6(r)&&r.tagName===t}}function FI(t){return e;function e(r,...n){return C6(r)&&!!t.call(this,r,...n)}}function C6(t){return!!(t&&typeof t=="object"&&t.type==="element"&&typeof t.tagName=="string")}const Ex=function(t,e,r){const n=G3(r);if(!t||!t.type||!t.children)throw new Error("Expected parent node");if(typeof e=="number"){if(e<0||e===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(e=t.children.indexOf(e),e<0)throw new Error("Expected child node or index");for(;++e<t.children.length;)if(n(t.children[e],e,t))return t.children[e];return null},Sx=/\n/g,Tx=/[\t ]+/g,p4=tu("br"),Ele=tu("p"),xx=tu(["th","td"]),kx=tu("tr"),Sle=tu(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",Mle,Cle]),DI=tu(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function Tle(t,e={}){const r="children"in t?t.children:[],n=DI(t),i=LI(t,{whitespace:e.whitespace||"normal"}),s=[];(t.type==="text"||t.type==="comment")&&s.push(...PI(t,{breakBefore:!0,breakAfter:!0}));let a=-1;for(;++a<r.length;)s.push(...NI(r[a],t,{whitespace:i,breakBefore:a?void 0:n,breakAfter:a<r.length-1?p4(r[a+1]):n}));const l=[];let u;for(a=-1;++a<s.length;){const p=s[a];typeof p=="number"?u!==void 0&&p>u&&(u=p):p&&(u!==void 0&&u>-1&&l.push(` 580`.repeat(u)||" "),u=-1,l.push(p))}return l.join("")}function NI(t,e,r){return t.type==="element"?xle(t,e,r):t.type==="text"?r.whitespace==="normal"?PI(t,r):kle(t):[]}function xle(t,e,r){const n=LI(t,r),i=t.children||[];let s=-1,a=[];if(Sle(t))return a;let l,u;for(p4(t)||kx(t)&&Ex(e,t,kx)?u=` 581`:Ele(t)?(l=2,u=2):DI(t)&&(l=1,u=1);++s<i.length;)a=a.concat(NI(i[s],t,{whitespace:n,breakBefore:s?void 0:l,breakAfter:s<i.length-1?p4(i[s+1]):u}));return xx(t)&&Ex(e,t,xx)&&a.push(" "),l&&a.unshift(l),u&&a.push(u),a}function PI(t,e){const r=String(t.value),n=[],i=[];let s=0;for(;s<=r.length;){Sx.lastIndex=s;const u=Sx.exec(r),p=u&&"index"in u?u.index:r.length;n.push(Ale(r.slice(s,p).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),s===0?e.breakBefore:!0,p===r.length?e.breakAfter:!0)),s=p+1}let a=-1,l;for(;++a<n.length;
581)n[a].charCodeAt(n[a].length-1)===8203||a<n.length-1&&n[a+1].charCodeAt(0)===8203?(i.push(n[a]),l=void 0):n[a]?(typeof l=="number"&&i.push(l),i.push(n[a]),l=0):(a===0||a===n.length-1)&&i.push(0);return i}function kle(t){return[String(t.value)]}function Ale(t,e,r){const n=[];let i=0,s;for(;i<t.length;){Tx.lastIndex=i;const a=Tx.exec(t);s=a?a.index:t.length,!i&&!s&&a&&!e&&n.push(""),i!==s&&n.push(t.slice(i,s)),i=a?s+a[0].length:s}return i!==s&&!r&&n.push(""),n.join(" ")}function LI(t,e){if(t.type==="element"){const r=t.properties||{};switch(t.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":e.whitespace;case"textarea":return"pre-wrap"}}return e.whitespace}function Mle(t){return!!(t.properties||{}).hidden}function Cle(t){return t.tagName==="dialog"&&!(t.properties||{}).open}const Ax=/[#.]/g;function Ole(t,e){const r=t||"",n={};let i=0,s,a;for(;i<r.length;){Ax.lastIndex=i;const l=Ax.exec(r),u=r.slice(i,l?l.index:r.length);u&&(s?s==="#"?n.id=u:Array.isArray(n.className)?n.className.push(u):n.className=[u]:a=u,i+=u.length),l&&(s=l[0],i++)}return{type:"element",tagName:a||e||"div",properties:n,children:[]}}const Ile=new Set(["menu","submit","reset","button"]),m4={}.hasOwnProperty;function BI(t,e,r){const n=r&&Nle(r);return function(s,a,...l){let u=-1,p;if(s==null)p={type:"root",children:[]},l.unshift(a);else if(p=Ole(s,e),p.tagName=p.tagName.toLowerCase(),n&&m4.call(n,p.tagName)&&(p.tagName=n[p.tagName]),Rle(a,p.tagName)){let d;for(d in a)m4.call(a,d)&&Fle(t,p.properties,d,a[d])}else l.unshift(a);for(;++u<l.length;)g4(p.children,l[u]);return p.type==="element"&&p.tagName==="template"&&(p.content={type:"root",children:p.children},p.children=[]),p}}function Rle(t,e){return t==null||typeof t!="object"||Array.isArray(t)?!1:e==="input"||!t.type||typeof t.type!="string"?!0:"children"in t&&Array.isArray(t.children)?!1:e==="button"?Ile.has(t.type.toLowerCase()):!("value"in t)}function Fle(t,e,r,n){const i=pC(t,r);let s=-1,a;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;a=n}else typeof n=="boolean"?a=n:typeof n=="string"?i.spaceSeparated?a=Jg(n):i.commaSeparated?a=Zg(n):i.commaOrSpaceSeparated?a=Jg(Zg(n).join(" ")):a=Mx(i,i.property,n):Array.isArray(n)?a=n.concat():a=i.property==="style"?Dle(n):String(n);if(Array.isArray(a)){const l=[];for(;++s<a.length;)l[s]=Mx(i,i.property,a[s]);a=l}i.property==="className"&&Array.isArray(e.className)&&(a=e.className.concat(a)),e[i.property]=a}}function g4(t,e){let r=-1;if(e!=null)if(typeof e=="string"||typeof e=="number")t.push({type:"text",value:String(e)});else if(Array.isArray(e))for(;++r<e.length;)g4(t,e[r]);else if(typeof e=="object"&&"type"in e)e.type==="root"?g4(t,e.children):t.push(e);else throw new Error("Expected node, nodes, or string, got `"+e+"`")}function Mx(t,e,r){if(typeof r=="string"){if(t.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((t.boolean||t.overloadedBoolean)&&(r===""||Qf(r)===Qf(e)))return!0}return r}function Dle(t){const e=[];let r;for(r in t)m4.call(t,r)&&e.push([r,t[r]].join(": "));return e.join("; ")}function Nle(t){const e={};let r=-1;for(;++r<t.length;)e[t[r].toLowerCase()]=t[r];return e}const Ple=BI(mC,"div"),Lle=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Ble=BI(gC,"g",Lle);function Ule(t,e){return(t?UI(t,{}):void 0)||{type:"root",children:[]}}function UI(t,e){const r=zle(t,e);return r&&e.afterTransform&&e.afterTransform(t,r),r}function zle(t,e){switch(t.nodeType){case 1:return Gle(t,e);case 3:return Hle(t);case 8:return Wle(t);case 9:return Cx(t,e);case 10:return jle();case 11:return Cx(t,e);default:return}}function Cx(t,e){return{type:"root",children:zI(t,e)}}function jle(){return{type:"doctype"}}function Hle(t){return{type:"text",value:t.nodeValue||""}}function Wle(t){return{type:"comment",value:t.nodeValue||""}}function Gle(t,e){const r=t.namespaceURI,n=r===Ia.svg?Ble:Ple,i=r===Ia.html?t.tagName.toLowerCase():t.tagName,s=r===Ia.html&&i==="template"?t.content:t,a=t.getAttributeNames(),l={};let u=-1;for(;++u<a.length;)l[a[u]]=t.getAttribute(a[u])||"";return n(i,l,zI(s,e))}function zI(t,e){const r=t.childNodes,n=[];let i=-1;for(;++i<r.length;){const s=UI(r[i],e);s!==void 0&&n.push(s)}return n}new DOMParser;function $le(t,e){const r=qle(t);return Ule(r)}function qle(t){const e=document.createElement("template");return e.innerHTML=t,e.content}const Ox=Object.assign,Vle="rehype-katex";function Yle(t){const e=t||{},r=e.throwOnError||!1;return(n,i)=>{J1(n,"element",s=>{const a=s.properties&&Array.isArray(s.properties.className)?s.properties.className:[],l=a.includes("math-inline"),u=a.includes("math-display");if(!l&&!u)return;const p=Tle(s,{whitespace:"pre"});let d;try{d=vx.renderToString(p,Ox({},e,{displayMode:u,throwOnError:!0}))}catch(_){const v=_,k=r?"fail":"message",O=[Vle,v.name.toLowerCase()].join(":");if(i[k](v.message,s.position,O),v.name!=="ParseError"){s.children=[{type:"element",tagName:"span",properties:{className:["katex-error"],title:String(v),style:"color:"+(e.errorColor||"#cc0000")},children:[{type:"text",value:p}]}];return}d=vx.renderToString(p,Ox({},e,{displayMode:u,throwOnError:!1,strict:"ignore"}))}const g=$le(d);s.children=g.children})}}function Ix({content:t="",allowHtml:e=!1,className:r,style:n,components:i,math:s=!1}){const a=[];e&&a.push(oae),s&&a.push(Yle);const l=Re.jsx(SC,{remarkPlugins:s?[vle]:void 0,rehypePlugins:a.length?a:void 0,components:i,children:t});return r||n?Re.jsx("div",{className:r,style:n,children:l}):l}const Kle="plus_engine.actions.text.reverse.ReverseString",jI={padding:12,borderRadius:12,maxWidth:"85%",width:"fit-content",wordBreak:"break-word"};function Xle({children:t}){return Re.jsx("div",{style:{marginLeft:"auto",marginRight:"0.5rem",width:"fit-content",marginBottom:"0.5rem"},children:Re.jsx("div",{style:{...jI,background:"#2185d0",color:"white",marginLeft:"auto"},children:t})})}function qv({error:t=!1,children:e}){return Re.jsx("div",{style:{marginLeft:"0.5rem",marginBottom:"0.5rem"},children:Re.jsx("div",{style:{...jI,background:t?"#db2828":"#f5f5f5",color:t?"white":"inherit"},children:e})})}function Qle(){const t=K1(),{hostname:e}=Ds(),{username:r}=aa(),[n,i]=$.useState({enabled:!1,icon:"comments",color:"#2185d0"}),[s,a]=$.useState(!1),[l,u]=$.useState(!1),[p,d]=$.useState([]),[g,_]=$.useState(""),[v,k]=$.useState(!1),[O,N]=$.useState(!1),S=$.useRef(null),M=$.useRef(null);$.useEffect(()=>{F();const H=()=>{F()};return window.addEventListener("globalChatbotConfigChanged",H),()=>{window.removeEventListener("globalChatbotConfigChanged",H)}},[e]),$.useEffect(()=>{const H=()=>N(!0),re=()=>N(!1);return window.addEventListener("globalChatbotHide",H),window.addEventListener("globalChatbotShow",re),()=>{window.removeEventListener("globalChatbotHide",H),window.removeEventListener("globalChatbotShow",re)}},[]),$.useEffect(()=>{G()},[p]),$.useEffect(()=>{l&&M.current&&setTimeout(()=>{var H;return(H=M.current)==null?void 0:H.focus()},100)},[l]);const F=async()=>{try{const H=await t.getSiteConfiguration(e);i({enabled:H.global_chatbot_enabled||!1,icon:H.global_chatbot_icon||"comments",color:H.global_chatbot_color||"#2185d0",actionId:H.global_chatbot_action_id,dialogType:H.global_chatbot_dialog_type||"Standard"})}catch(H){console.error("Failed to load global chatbot configuration:",H)}finally{a(!0)}},G=()=>{S.current&&(S.current.scrollTop=S.current.scrollHeight)},X=async()=>
581{if(!g.trim()||v)return;const H=n.actionId||Kle;if(!r){const q={id:"error-".concat(Date.now()),sender:"error",message:"Please log in to use the chatbot.",timestamp:Date.now()};d(Y=>[...Y,q]);return}const re=g.trim();_(""),k(!0);const ie={id:"user-".concat(Date.now()),sender:"user",message:re,timestamp:Date.now()};d(q=>[...q,ie]);try{const q=await t.sendChatbotMessage(H,re,void 0);if(q.success){const Y={id:"bot-".concat(Date.now()),sender:"bot",message:q.reply||"No reply received",timestamp:Date.now(),dialogType:n.dialogType};q.key&&q.key_type==="image"&&(Y.imageUrl=q.key),d(Q=>[...Q,Y])}else throw new Error(q.error||"Failed to get response from chatbot")}catch(q){console.error("Global chatbot error:",q);const Y={id:"error-".concat(Date.now()),sender:"error",message:q.message||"An error occurred while processing your message",timestamp:Date.now()};d(Q=>[...Q,Y])}finally{k(!1),setTimeout(()=>{var q;return(q=M.current)==null?void 0:q.focus()},0)}},z=H=>{H.key==="Enter"&&!v&&(H.preventDefault(),X())},R=()=>{d([])};return!s||!n.enabled||O?null:Re.jsxs("div",{className:"global-chatbot",children:[!l&&Re.jsx("div",{className:"global-chatbot-avatar",onClick:()=>u(!0),style:{backgroundColor:n.color},children:Re.jsx(Qs,{name:n.icon,size:"large",style:{color:"white",margin:0}})}),l&&Re.jsxs("div",{className:"global-chatbot-dialog ".concat(n.dialogType==="Compact"?"compact":""),children:[Re.jsxs("div",{className:"global-chatbot-header",style:{backgroundColor:n.color},children:[Re.jsx(Qs,{name:n.icon,style:{marginRight:"0.5rem"}}),Re.jsx("span",{children:"Chat"}),Re.jsx("button",{className:"global-chatbot-close",onClick:()=>u(!1),children:Re.jsx(Qs,{name:"close"})})]}),Re.jsxs("div",{className:"global-chatbot-messages",ref:S,children:[p.length===0&&Re.jsxs("div",{style:{textAlign:"center",color:"#999",padding:"2rem 1rem"},children:[Re.jsx(Qs,{name:n.icon,size:"huge",style:{opacity:.3}}),Re.jsx("p",{style:{marginTop:"1rem"},children:"How can I help you today?"})]}),p.map(H=>Re.jsxs($.Fragment,{children:[H.sender==="user"&&Re.jsx(Xle,{children:H.message}),H.sender==="bot"&&Re.jsxs(qv,{children:[Re.jsx(Ix,{content:H.message}),H.imageUrl&&Re.jsx("div",{style:{marginTop:"0.5rem"},children:Re.jsx("img",{src:H.imageUrl,alt:"Chatbot response",style:{maxWidth:"100%",maxHeight:"300px",borderRadius:"8px"}})})]}),H.sender==="error"&&Re.jsx(qv,{error:!0,children:Re.jsx(Ix,{content:H.message})})]},H.id)),v&&Re.jsx(qv,{children:Re.jsxs("div",{className:"global-chatbot-typing",children:[Re.jsx("span",{}),Re.jsx("span",{}),Re.jsx("span",{})]})})]}),Re.jsxs("div",{className:"global-chatbot-input",children:[Re.jsx($u,{ref:M,fluid:!0,value:g,onChange:(H,{value:re})=>_(re),onKeyDown:z,placeholder:"Type a message...",disabled:v,action:Re.jsx(li,{icon:!0,style:{backgroundColor:n.color,color:"white"},loading:v,disabled:v||!g.trim(),onClick:X,children:Re.jsx(Qs,{name:"send"})})}),p.length>0&&Re.jsxs(li,{basic:!0,size:"tiny",disabled:v,onClick:R,style:{marginLeft:"0.5rem"},children:[Re.jsx(Qs,{name:"trash"}),"Clear chat history"]})]})]})]})}function Jle({content:t}){const e=ld(),r=window.location.href;return Re.jsx("main",{className:"dashboard-app",children:Re.jsx(La,{container:!0,centered:!0,className:"dashboard-error",style:{padding:"16px",alignItems:"center"},children:Re.jsx(La.Column,{children:Re.jsxs(Zl,{placeholder:!0,raised:!0,children:[Re.jsxs(Ju,{icon:!0,children:[Re.jsx(Qs,{name:"exclamation triangle"}),Re.jsx("div",{children:t||"Page Not Found"}),r]}),Re.jsxs(li,{as:"a",href:"/",color:"teal",onClick:n=>{n.preventDefault(),e("/",{replace:!0})},children:[Re.jsx(Qs,{name:"home"}),"Return"]})]})})})})}function Zle(){return Re.jsx(XH,{children:Re.jsx(cA,{path:"*",element:Re.jsx(Jle,{content:"Misconfigured application type"})})})}var Rx,Fx,Dx;const eue=(Rx=void 0)!=null?Rx:"/api/v1",tue=(Dx=(Fx=Mo)==null?void 0:Fx.api_url)!=null?Dx:eue,rue=30,nue=1e4,iue=250;function u1(t,e){let r=e.getItem(t);return r||(r=crypto.randomUUID(),e.setItem(t,r)),r}function sue(){var t;if(typeof window>"u"||!((t=window.location)!=null&&t.hostname))return!1;const e=window.location.hostname.toLowerCase();return e==="localhost"||e.endsWith(".localhost")||e==="127.0.0.1"||e==="::1"||e==="0.0.0.0"||/^192\.168\./.test(e)||/^10\./.test(e)||/^172\.(1[6-9]|2\d|3[01])\./.test(e)}const aue=sue(),Tf=[];let yl=null;function xf(t=!1){if(Tf.length===0){yl&&(clearTimeout(yl),yl=null);return}const e=Tf.splice(0,Tf.length);yl&&(clearTimeout(yl),yl=null);const r="".concat(tue,"/track"),n=JSON.stringify({events:e}),i=new Blob([n],{type:"application/json"});t&&navigator.sendBeacon||navigator.sendBeacon?navigator.sendBeacon(r,i):fetch(r,{method:"POST",body:i,keepalive:!0}
581).catch(()=>{})}function ef(t){if(!aue){if(Tf.push(t),Tf.length>=rue){xf();return}yl||(yl=setTimeout(()=>xf(),nue))}}function oue({hostname:t}){const e=Ql(),{website_object_id:r}=Ds(),n=$.useRef(""),i=$.useRef(0),s=$.useRef(""),a=$.useRef(0),l=$.useRef(null),u=$.useRef(""),p=$.useRef("");u.current||(u.current=u1("ds_vid",localStorage)),p.current||(p.current=u1("ds_sid",sessionStorage));function d(){return{hostname:t,visitor_id:u.current,session_id:p.current,...r?{site_id:r}:{}}}function g(){const _=s.current;if(!_||!t)return;const v=Math.max(0,Date.now()-i.current);ef({...d(),event_type:"page_duration",path:_,timestamp:Date.now(),duration_ms:v});const k=a.current;k>=25&&ef({...d(),event_type:"scroll_depth",path:_,timestamp:Date.now(),max_depth_pct:k}),s.current="",a.current=0}return $.useEffect(()=>{const _=e.pathname+e.search;if(_===n.current||(s.current&&s.current!==_&&g(),!t))return;n.current=_,i.current=Date.now(),s.current=_,a.current=0;const v=new URLSearchParams(e.search),k=v.get("utm_source")||"",O=v.get("utm_medium")||"",N=v.get("utm_campaign")||"",S=typeof window<"u"?"".concat(window.screen.width,"x").concat(window.screen.height):"";ef({...d(),event_type:"pageview",path:_,timestamp:Date.now(),referrer:document.referrer||"",...k?{utm_source:k}:{},...O?{utm_medium:O}:{},...N?{utm_campaign:N}:{},...S?{screen_resolution:S}:{}})},[e,t,r]),$.useEffect(()=>{if(typeof window>"u")return;function _(v){if(!t)return;const k=(v==null?void 0:v.detail)||{},O=new URLSearchParams(window.location.search);ef({...d(),event_type:"signup",path:k.path||window.location.pathname+window.location.search,timestamp:Date.now(),referrer:document.referrer||"",...O.get("utm_source")?{utm_source:O.get("utm_source")}:{},...O.get("utm_medium")?{utm_medium:O.get("utm_medium")}:{},...O.get("utm_campaign")?{utm_campaign:O.get("utm_campaign")}:{}}),xf()}return window.addEventListener("dsTrackSignup",_),()=>window.removeEventListener("dsTrackSignup",_)},[t,r]),$.useEffect(()=>{if(typeof window>"u")return;function _(){const v=document.documentElement,k=(v.scrollHeight||1)-(window.innerHeight||0),O=window.scrollY||v.scrollTop||0,N=k>0?Math.min(100,Math.round(O/k*100)):0;N>a.current&&(a.current=N)}return l.current=setInterval(_,iue),window.addEventListener("scroll",_,{passive:!0}),()=>{l.current&&clearInterval(l.current),window.removeEventListener("scroll",_)}},[]),$.useEffect(()=>{if(typeof window>"u")return;function _(){g(),xf(!0)}function v(){document.visibilityState==="hidden"&&(g(),xf(!0))}return window.addEventListener("pagehide",_),document.addEventListener("visibilitychange",v),()=>{window.removeEventListener("pagehide",_),document.removeEventListener("visibilitychange",v)}},[t,r]),null}function Zue(t,e){try{ef({event_type:t,hostname:e,path:typeof window<"u"?window.location.pathname:"",visitor_id:u1("ds_vid",localStorage),session_id:u1("ds_sid",sessionStorage),timestamp:Date.now()})}catch{}}var Nx;(Nx=void 0)==null||Nx.toLowerCase();const lue=$.lazy(()=>q0(()=>import("./AppPlus-CHDEHPvq.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,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,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120]))),uue=$.lazy(()=>q0(()=>import("./AppDashboard-jDO_JDpw.js"),__vite__mapDeps([121,7,122,2,3,4,5,65,16,66,120])));$.lazy(()=>q0(()=>import("./AppStore-BMqVZfBp.js"),__vite__mapDeps([123,3,4,62,124,6,125,120])));const cue=$.lazy(()=>q0(()=>import("./AppWebsite-e3LRCs47.js"),__vite__mapDeps([126,14,127,128,76,2,3,4,5,21,20,40,51,11,12,129,130,131,39,132,110,133,38,68,124,118,134]))),hue=$.lazy(()=>q0(()=>import("./AppWebsiteV2-ClyCSvQD.js").then(t=>t.x),__vite__mapDeps([10,11,2,3,4,5,12,13,14,15,16,17,18]))),fue=$.lazy(()=>q0(()=>import("./AppRadioactiveMosquito-7cMreJR9.js"),__vite__mapDeps([135,1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,44,45,31,32,46,33,78,79,80,56,57,58,59,60,61,62,63,64,70,42,71,72,73,55,74,67,68,69,81,82,83,84,85,86,87,88,89,90,91,92,136,137,138,107,40,37,98,139,140,141,94,95,96,97,99,100,101,102,142,143,144,145,146]))),due=uW({window}),$h=({children:t})=>Re.jsxs("div",{className:"presentation-loading",children:[Re.jsxs("div",{className:"presentation-loading-loader",children:[Re.jsx("span",{className:"loader-dot"}),Re.jsx("span",{className:"loader-dot"}),Re.jsx("span",{className:"loader-dot"}),Re.jsx("span",{className:"loader-dot"}),Re.jsx("span",{className:"loader-dot"})]}),t&&Re.jsx("div",{className:"presentation-loading-content",children:t})]}),pue=(t,e)=>{if(t===2)return!0;
581if(t===1||!e)return!1;const r=e.split("/");return r.length===3&&r[2].startsWith("website.")},mue=(t,e,r)=>{switch(t){case"plus":return Re.jsx($.Suspense,{fallback:Re.jsx($h,{}),children:Re.jsx(lue,{})});case"dashboard":return Re.jsx($.Suspense,{fallback:Re.jsx($h,{}),children:Re.jsx(uue,{})});case"website":return pue(e,r)?Re.jsx($.Suspense,{fallback:Re.jsx($h,{}),children:Re.jsx(hue,{})}):Re.jsx($.Suspense,{fallback:Re.jsx($h,{}),children:Re.jsx(cue,{})});case"radmosq":return Re.jsx($.Suspense,{fallback:Re.jsx($h,{}),children:Re.jsx(fue,{})});case"redirect":return null;default:return console.log({appType:t}),Re.jsx(Zle,{})}};function gue(){const{app_type:t,redirect:e,domain:r,hostname:n,website_object_id:i,version:s}=P3();return $.useEffect(()=>{t==="redirect"&&(e!=null&&e.destination_url)&&window.location.replace(e.destination_url)},[t]),Re.jsx(kA,{children:Re.jsx(iQ,{children:Re.jsx(NQ,{children:Re.jsx(YQ,{fallback:DM,children:Re.jsx(RQ,{children:Re.jsx(VQ,{children:Re.jsx(NK,{children:Re.jsx(zQ,{children:Re.jsx(GQ,{children:Re.jsxs(iW,{history:due,future:{v7_startTransition:!0,v7_relativeSplatPath:!0},children:[Re.jsx(JW,{position:"top-center",reverseOrder:!1,toastOptions:{duration:2500,style:{background:"#363636",color:"#fff",maxWidth:"450px",cursor:"pointer"}},children:a=>Re.jsx(vA,{toast:a,children:({icon:l,message:u})=>Re.jsxs("div",{onClick:()=>ZW.dismiss(a.id),style:{display:"flex",alignItems:"center"},children:[l,u]})})}),Re.jsx(QQ,{}),Re.jsx(oue,{hostname:n}),Re.jsx(JQ,{}),Re.jsx(ZQ,{}),Re.jsx(eJ,{}),Re.jsx(FQ,{}),mue(t,s,i),Re.jsx(Qle,{})]})})})})})})})})})})}window.Buffer=k1.Buffer;window.EventEmitter=_j;window.process=$j;const _ue=Yv.createRoot(document.getElementById("root"));_ue.render(Re.jsx(gue,{}));export{Vr as $,Be as A,li as B,TQ as C,Bn as D,C3 as E,CM as F,La as G,Ju as H,Ao as I,mM as J,vQ as K,kd as L,Ix as M,VH as N,wK as O,Qs as P,rQ as Q,XH as R,Zl as S,SC as T,$u as U,ft as V,Ks as W,bM as X,Ot as Y,z$ as Z,q0 as _,Y1 as a,FA as a$,lo as a0,hd as a1,ia as a2,xi as a3,si as a4,Kf as a5,kY as a6,Wr as a7,pK as a8,oM as a9,L3 as aA,k3 as aB,gq as aC,KA as aD,ki as aE,N1 as aF,Jb as aG,jA as aH,RA as aI,gl as aJ,eV as aK,iV as aL,Na as aM,P1 as aN,hY as aO,Yf as aP,pY as aQ,GA as aR,Bl as aS,FV as aT,Z$ as aU,H$ as aV,x8 as aW,CA as aX,$f as aY,S3 as aZ,cd as a_,BA as aa,mq as ab,Fo as ac,F$ as ad,sq as ae,kue as af,Kn as ag,Ai as ah,Xg as ai,iU as aj,h3 as ak,bue as al,Pa as am,AQ as an,Ss as ao,b7 as ap,GK as aq,un as ar,vue as as,jue as at,iq as au,sr as av,Cue as aw,ho as ax,_7 as ay,h0 as az,Ds as b,Ba as b$,x3 as b0,iY as b1,J$ as b2,$$ as b3,M3 as b4,uM as b5,V1 as b6,Gg as b7,yd as b8,xue as b9,Iue as bA,Mo as bB,Oue as bC,vM as bD,yM as bE,Vg as bF,uo as bG,HQ as bH,Uue as bI,zue as bJ,Bue as bK,Ru as bL,Ts as bM,sG as bN,sV as bO,q$ as bP,D1 as bQ,w3 as bR,Xl as bS,Nue as bT,pr as bU,mf as bV,gle as bW,pte as bX,z3 as bY,M0 as bZ,X1 as b_,Tm as ba,uG as bb,lM as bc,Aue as bd,iK as be,lY as bf,nM as bg,HY as bh,Tue as bi,JY as bj,YA as bk,jg as bl,Sm as bm,Dh as bn,$g as bo,BY as bp,Q8 as bq,Qh as br,Mue as bs,Xs as bt,zX as bu,jX as bv,L2 as bw,L7 as bx,fs as by,HK as bz,Sue as c,A1 as c$,U3 as c0,PS as c1,TJ as c2,G3 as c3,ple as c4,at as c5,Yle as c6,vle as c7,J1 as c8,Cre as c9,gC as cA,pC as cB,bC as cC,vC as cD,mC as cE,ite as cF,_te as cG,gte as cH,Jg as cI,Zg as cJ,Qf as cK,Ia as cL,tu as cM,Jue as cN,MS as cO,Tle as cP,dte as cQ,m7 as cR,ya as cS,Pue as cT,LK as cU,FM as cV,IM as cW,yA as cX,Zue as cY,Lue as cZ,df as c_,ur as ca,rX as cb,f0 as cc,WK as cd,P2 as ce,Rue as cf,Pu as cg,Tl as ch,$p as ci,jK as cj,Mee as ck,RI as cl,qu as cm,MG as cn,Qb as co,Ln as cp,jQ as cq,hU as cr,Oee as cs,dle as ct,fle as cu,EJ as cv,JS as cw,eO as cx,_J as cy,zte as cz,K1 as d,ld as e,Eue as f,ra as g,Ql as h,sa as i,Re as j,wue as k,cA as l,Fue as m,mn as n,Due as o,Jle as p,ar as q,$ as r,mr as s,br as t,aa as u,bt as v,Tr as w,Jn as x,fd as y,ZW as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.