vendor: 7,403 bytes, line 1
1import{r as e,a as t}from"./auth-vendor-DroxeIs_.js";import{G as n,n as r,s as a,r as o,T as i,R as s,a as l,_ as c,k as u,c as d}from"./ui-vendor-DgGT7C_3.js";import{r as p,a as f,g as m,c as h}from"./vendor-C7tYskqo.js";import{w as g,c as b,s as y,a as v,b as x,d as S,E as w,i as E,e as C,r as k}from"./utils-vendor-CwsEUG55.js";!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver(e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)}).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}();var T,A,I,N,_=e(),R={exports:{}},O={},L={exports:{}},D={};function P(){return A||(A=1,L.exports=(T||(T=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>a(l,n))c<o&&0>a(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<o&&0>a(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if(e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,s=i.now();e.unstable_now=function(){return i.now()-s}}var l=[],c=[],u=1,d=null,p=3,f=!1,m=!1,h=!1,g=!1,b="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function x(e){for(var a=n(c);null!==a;){if(null===a.callback)r(c);else{if(!(a.startTime<=e))break;r(c),a.sortIndex=a.expirationTime,t(l,a)}a=n(c)}}function S(e){if(h=!1,x(e),!m)if(null!==n(l))m=!0,E||(E=!0,w());else{var t=n(c);null!==t&&R(S,t.startTime-e)}}var w,E=!1,C=-1,k=5,T=-1;function A(){return!(!g&&e.unstable_now()-T<k)}function I(){if(g=!1,E){var t=e.unstable_now();T=t;var a=!0;try{e:{m=!1,h&&(h=!1,y(C),C=-1),f=!0;var o=p;try{t:{for(x(t),d=n(l);null!==d&&!(d.expirationTime>t&&A());){var i=d.callback;if("function"==typeof i){d.callback=null,p=d.priorityLevel;var s=i(d.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof s){d.callback=s,x(t),a=!0;break t}d===n(l)&&r(l),x(t)}else r(l);d=n(l)}if(null!==d)a=!0;else{var u=n(c);null!==u&&R(S,u.startTime-t),a=!1}}break e}finally{d=null,p=o,f=!1}a=void 0}}finally{a?w():E=!1}}}if("function"==typeof v)w=function(){v(I)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,_=N.port2;N.port1.onmessage=I,w=function(){_.postMessage(null)}}else w=function(){b(I,0)};function R(t,n){C=b(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e||(k=0<e?Math.floor(1e3/e):5)},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,a,o){var i=e.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?i+o:i,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return r={id:u++,callback:a,priorityLevel:r,startTime:o,expirationTime:s=o+s,sortIndex:-1},o>i?(r.sortIndex=o,t(c,r),null===n(l)&&r===n(c)&&(h?(y(C),C=-1):h=!0,R(S,o-i))):(r.sortIndex=s,t(l,r),m||f||(m=!0,E||(E=!0,w()))),r},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(D)),D)),L.exports}function M(){if(I)return O;I=1;var e=P(),t=p(),n=f();function r(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function i(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function s(e){if(o(e)!==e)throw Error(r(188))}function l(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=l(e)))return t;e=e.sibling}return null}var c=Object.assign,u=Symbol.for("react.element"),d=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),v=Symbol.for("react.consumer"),x=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),T=Symbol.for("react.activity"),A=Symbol.for("react.memo_cache_sentinel"),N=Symbol.iterator;function _(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=N&&e[N]||e["@@iterator"])?e:null}var R=Symbol.for("react.client.reference");function L(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===R?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case b:return"Profiler";case g:return"StrictMode";case w:return"Suspense";case E:return"SuspenseList";case T:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case m:return"Portal";case x:return(e.displayName||"Context")+".Provider";case v:return(e._context.displayName||"Context")+".Consumer";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case C:return null!==(t=e.displayName||null)?t:L(e.type)||"Memo";case k:t=e._payload,e=e._init;try{return L(e(t))}catch(n){}}return null}var D=Array.isArray,M=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,j=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F={pending:!1,data:null,method:null,action:null},z=[],$=-1;function B(e){return{current:e}}function U(e){0>$||(e.current=z[$],z[$]=null,$--)}function H(e,t){$++,z[$]=e.current,e.current=t}var V=B(null),W=B(null),G=B(null),q=B(null);function Y(e,t){switch(H(G,t),H(W,e),H(V,null),t.nodeType){case 9:case 11:e=(e
vendor: 10,851 bytes, line 1
1=t.documentElement)&&(e=e.namespaceURI)?id(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=sd(t=id(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}U(V),H(V,e)}function X(){U(V),U(W),U(G)}function K(e){null!==e.memoizedState&&H(q,e);var t=V.current,n=sd(t,e.type);t!==n&&(H(W,e),H(V,n))}function Z(e){W.current===e&&(U(V),U(W)),q.current===e&&(U(q),Kd._currentValue=F)}var J=Object.prototype.hasOwnProperty,Q=e.unstable_scheduleCallback,ee=e.unstable_cancelCallback,te=e.unstable_shouldYield,ne=e.unstable_requestPaint,re=e.unstable_now,ae=e.unstable_getCurrentPriorityLevel,oe=e.unstable_ImmediatePriority,ie=e.unstable_UserBlockingPriority,se=e.unstable_NormalPriority,le=e.unstable_LowPriority,ce=e.unstable_IdlePriority,ue=e.log,de=e.unstable_setDisableYieldValue,pe=null,fe=null;function me(e){if("function"==typeof ue&&de(e),fe&&"function"==typeof fe.setStrictMode)try{fe.setStrictMode(pe,e)}catch(t){}}var he=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(ge(e)/be|0)|0},ge=Math.log,be=Math.LN2;var ye=256,ve=4194304;function xe(e){var t=42&e;if(0!==t)return t;switch(e&-e){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:return 64;case 128:return 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 4194048&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Se(e,t,n){var r=e.pendingLanes;if(0===r)return 0;var a=0,o=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var s=134217727&r;return 0!==s?0!==(r=s&~o)?a=xe(r):0!==(i&=s)?a=xe(i):n||0!==(n=s&~e)&&(a=xe(n)):0!==(s=r&~o)?a=xe(s):0!==i?a=xe(i):n||0!==(n=r&~e)&&(a=xe(n)),0===a?0:0!==t&&t!==a&&0===(t&o)&&((o=a&-a)>=(n=t&-t)||32===o&&4194048&n)?t:a}function we(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Ee(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32: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+5e3;default:return-1}}function Ce(){var e=ye;return!(4194048&(ye<<=1))&&(ye=256),e}function ke(){var e=ve;return!(62914560&(ve<<=1))&&(ve=4194304),e}function Te(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ae(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ie(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-he(t);e.entangledLanes|=t,e.entanglements[r]=1073741824|e.entanglements[r]|4194090&n}function Ne(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-he(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}function _e(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Re(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Oe(){var e=j.p;return 0!==e?e:void 0===(e=window.event)?32:dp(e.type)}var Le=Math.random().toString(36).slice(2),De="__reactFiber$"+Le,Pe="__reactProps$"+Le,Me="__reactContainer$"+Le,je="__reactEvents$"+Le,Fe="__reactListeners$"+Le,ze="__reactHandles$"+Le,$e="__reactResources$"+Le,Be="__reactMarker$"+Le;function Ue(e){delete e[De],delete e[Pe],delete e[je],delete e[Fe],delete e[ze]}function He(e){var t=e[De];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Me]||n[De]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Sd(e);null!==e;){if(n=e[De])return n;e=Sd(e)}return t}n=(e=n).parentNode}return null}function Ve(e){if(e=e[De]||e[Me]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function We(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(r(33))}function Ge(e){var t=e[$e];return t||(t=e[$e]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function qe(e){e[Be]=!0}var Ye=new Set,Xe={};function Ke(e,t){Ze(e,t),Ze(e+"Capture",t)}function Ze(e,t){for(Xe[e]=t,e=0;e<t.length;e++)Ye.add(t[e])}var Je,Qe,et=RegExp("^[: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]*$"),tt={},nt={};function rt(e,t,n){if(a=t,J.call(nt,a)||!J.call(tt,a)&&(et.test(a)?nt[a]=!0:(tt[a]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var r=t.toLowerCase().slice(0,5);if("data-"!==r&&"aria-"!==r)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var a}function at(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function ot(e,t,n,r){if(null===r)e.removeAttribute(n);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+r)}}function it(e){if(void 0===Je)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Je=t&&t[1]||"",Qe=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+Je+e+Qe}var st=!1;function lt(e,t){if(!e||st)return"";st=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(a){var r=a}Reflect.construct(e,[],n)}else{try{n.call()}catch(o){r=o}e.call(n.prototype)}}else{try{throw Error()}catch(i){r=i}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(s){if(s&&r&&"string"==typeof s.stack)return[s.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var o=r.DetermineComponentFrameRoot(),i=o[0],s=o[1];if(i&&s){var l=i.split("\n"),c=s.split("\n");for(a=r=0;r<l.length&&!l[r].includes("DetermineComponentFrameRoot");)r++;for(;a<c.length&&!c[a].includes("DetermineComponentFrameRoot");)a++;if(r===l.length||a===c.length)for(r=l.length-1,a=c.length-1;1<=r&&0<=a&&l[r]!==c[a];)a--;for(;1<=r&&0<=a;r--,a--)if(l[r]!==c[a]){if(1!==r||1!==a)do{if(r--,0>--a||l[r]!==c[a]){var u="\n"+l[r].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=r&&0<=a);break}}}finally{st=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?it(n):""}function ct(e){switch(e.tag){case 26:case 27:case 5:return it(e.type);case 16:return it("Lazy");case 13:return it("Suspense");case 19:return it("SuspenseList");case 0:case 15:return lt(e.type,!1);case 11:return lt(e.type.render,!1);case 1:return lt(e.type,!0);case 31:return it("Activity");default:return""}}function ut(e){try{var t="";do{t+=ct(e),e=e.return}while(e);return t}catch(n){return"\nError generating stack: "+n.message+"\n"+n.stack}}function dt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function pt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ft(e){e._valueTracker||(e._valueTracker=function(e){var t=pt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function mt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=pt(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ht(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var gt=/[\n"\\]/g;function bt(e){return e.replace(gt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function yt(e,t,n,r,a,o,i,s){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+dt(t)):e.value!==""+dt(t)&&(e.value=""+dt(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?xt(e,i,dt(t)):null!=n?xt(e,i,dt(n)):null!=r&&e.removeAttribute("value"),null==a&&null!=o&&(e.defaultChecked=!!o),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+dt(s):e.removeAttribute("name")}function vt(e,t,n,r,a,o,i,s){if(null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.type=o),null!=t||null!=n){if(("submit"===o||"reset"===o)&&null==t)return;n=null!=n?""+dt(n):"",t=null!=t?""+dt(t):n,s||t===e.value||(e.value=t),e.defaultValue=t}r="function"!=typeof(r=null!=r?r:a)&&"symbol"!=typeof r&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i)}function xt(e,t,n){"number"===t&&ht(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function St(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+dt(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function wt(e,t,n){null==t||((t=""+dt(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+dt(n):"":e.defaultValue!==t&&(e.defaultValue=t)}
vendor: 4,412 bytes, line 1
1function Et(e,t,n,a){if(null==t){if(null!=a){if(null!=n)throw Error(r(92));if(D(a)){if(1<a.length)throw Error(r(93));a=a[0]}n=a}null==n&&(n=""),t=n}n=dt(t),e.defaultValue=n,(a=e.textContent)===n&&""!==a&&null!==a&&(e.value=a)}function Ct(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var kt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Tt(e,t,n){var r=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?r?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":r?e.setProperty(t,n):"number"!=typeof n||0===n||kt.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function At(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(r(62));if(e=e.style,null!=n){for(var a in n)!n.hasOwnProperty(a)||null!=t&&t.hasOwnProperty(a)||(0===a.indexOf("--")?e.setProperty(a,""):"float"===a?e.cssFloat="":e[a]="");for(var o in t)a=t[o],t.hasOwnProperty(o)&&n[o]!==a&&Tt(e,o,a)}else for(var i in t)t.hasOwnProperty(i)&&Tt(e,i,t[i])}function It(e){if(-1===e.indexOf("-"))return!1;switch(e){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 Nt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["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"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["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"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
1-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"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),_t=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Rt(e){return _t.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Ot=null;function Lt(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Dt=null,Pt=null;function Mt(e){var t=Ve(e);if(t&&(e=t.stateNode)){var n=e[Pe]||null;e:switch(e=t.stateNode,t.type){case"input":if(yt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+bt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var o=a[Pe]||null;if(!o)throw Error(r(90));yt(a,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<n.length;t++)(a=n[t]).form===e.form&&mt(a)}break e;case"textarea":wt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&St(e,!!n.multiple,t,!1)}}}var jt=!1;function Ft(e,t,n){if(jt)return e(t,n);jt=!0;try{return e(t)}finally{if(jt=!1,(null!==Dt||null!==Pt)&&(Hc(),Dt&&(t=Dt,e=Pt,Pt=Dt=null,Mt(t),e)))for(t=0;t<e.length;t++)Mt(e[t])}}function zt(e,t){var n=e.stateNode;if(null===n)return null;var a=n[Pe]||null;if(null===a)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(r(231,t,typeof n));return n}var $t=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Bt=!1;if($t)try{var Ut={};Object.defineProperty(Ut,"passive",{get:function(){Bt=!0}}),window.addEventListener("test",Ut,Ut),window.removeEventListener("test",Ut,Ut)}catch(Pp){Bt=!1}var Ht=null,Vt=null,Wt=null;function Gt(){if(Wt)return Wt;var e,t,n=Vt,r=n.length,a="value"in Ht?Ht.value:Ht.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Wt=a.slice(e,1<t?1-t:void 0)}function qt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Yt(){return!0}function Xt(){return!1}function Kt(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?Yt:Xt,this.isPropagationStopped=Xt,this}return c(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Yt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Yt)},persist:function(){},isPersistent:Yt}),t}var Zt,Jt,Qt,en={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},tn=Kt(en),nn=c({},en,{view:0,detail:0}),rn=Kt(nn),an=c({},nn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:gn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,398 bytes, line 1
1Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Qt&&(Qt&&"mousemove"===e.type?(Zt=e.screenX-Qt.screenX,Jt=e.screenY-Qt.screenY):Jt=Zt=0,Qt=e),Zt)},movementY:function(e){return"movementY"in e?e.movementY:Jt}}),on=Kt(an),sn=Kt(c({},an,{dataTransfer:0})),ln=Kt(c({},nn,{relatedTarget:0})),cn=Kt(c({},en,{animationName:0,elapsedTime:0,pseudoElement:0})),un=Kt(c({},en,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),dn=Kt(c({},en,{data:0})),pn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},fn={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"},mn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=mn[e])&&!!t[e]}function gn(){return hn}var bn=Kt(c({},nn,{key:function(e){if(e.key){var t=pn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=qt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?fn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:gn,charCode:function(e){return"keypress"===e.type?qt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?qt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),yn=Kt(c({},an,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),vn=Kt(c({},nn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:gn})),xn=Kt(c({},en,{propertyName:0,elapsedTime:0,pseudoElement:0})),Sn=Kt(c({},an,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),wn=Kt(c({},en,{newState:0,oldState:0})),En=[9,13,27,32],Cn=$t&&"CompositionEvent"in window,kn=null;$t&&"documentMode"in document&&(kn=document.documentMode);var Tn=$t&&"TextEvent"in window&&!kn,An=$t&&(!Cn||kn&&8<kn&&11>=kn),In=String.fromCharCode(32),Nn=!1;function _n(e,t){switch(e){case"keyup":return-1!==En.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var On=!1;var Ln={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 Dn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ln[e.type]:"textarea"===t}function Pn(e,t,n,r){Dt?Pt?Pt.push(r):Pt=[r]:Dt=r,0<(t=Gu(t,"onChange")).length&&(n=new tn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Mn=null,jn=null;function Fn(e){Fu(e,0)}function zn(e){if(mt(We(e)))return e}function $n(e,t){if("change"===e)return t}var Bn=!1;if($t){var Un;if($t){var Hn="oninput"in document;if(!Hn){var Vn=document.createElement("div");Vn.setAttribute("oninput","return;"),Hn="function"==typeof Vn.oninput}Un=Hn}else Un=!1;Bn=Un&&(!document.documentMode||9<document.documentMode)}function Wn(){Mn&&(Mn.detachEvent("onpropertychange",Gn),jn=Mn=null)}function Gn(e){if("value"===e.propertyName&&zn(jn)){var t=[];Pn(t,jn,e,Lt(e)),Ft(Fn,t)}}function qn(e,t,n){"focusin"===e?(Wn(),jn=n,(Mn=t).attachEvent("onpropertychange",Gn)):"focusout"===e&&Wn()}function Yn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return zn(jn)}function Xn(e,t){if("click"===e)return zn(t)}function Kn(e,t){if("input"===e||"change"===e)return zn(t)}var Zn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function Jn(e,t){if(Zn(e,t))return!0;
vendor: 4,357 bytes, line 1
1if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!J.call(t,a)||!Zn(e[a],t[a]))return!1}return!0}function Qn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function er(e,t){var n,r=Qn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Qn(r)}}function tr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?tr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function nr(e){for(var t=ht((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=ht((e=t.contentWindow).document)}return t}function rr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var ar=$t&&"documentMode"in document&&11>=document.documentMode,or=null,ir=null,sr=null,lr=!1;function cr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;lr||null==or||or!==ht(r)||("selectionStart"in(r=or)&&rr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},sr&&Jn(sr,r)||(sr=r,0<(r=Gu(ir,"onSelect")).length&&(t=new tn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=or)))}function ur(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var dr={animationend:ur("Animation","AnimationEnd"),animationiteration:ur("Animation","AnimationIteration"),animationstart:ur("Animation","AnimationStart"),transitionrun:ur("Transition","TransitionRun"),transitionstart:ur("Transition","TransitionStart"),transitioncancel:ur("Transition","TransitionCancel"),transitionend:ur("Transition","TransitionEnd")},pr={},fr={};function mr(e){if(pr[e])return pr[e];if(!dr[e])return e;var t,n=dr[e];for(t in n)if(n.hasOwnProperty(t)&&t in fr)return pr[e]=n[t];return e}$t&&(fr=document.createElement("div").style,"AnimationEvent"in window||(delete dr.animationend.animation,delete dr.animationiteration.animation,delete dr.animationstart.animation),"TransitionEvent"in window||delete dr.transitionend.transition);var hr=mr("animationend"),gr=mr("animationiteration"),br=mr("animationstart"),yr=mr("transitionrun"),vr=mr("transitionstart"),xr=mr("transitioncancel"),Sr=mr("transitionend"),wr=new Map,Er="abort auxClick beforeToggle 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 Cr(e,t){wr.set(e,t),Ke(t,[e])}Er.push("scrollEnd");var kr=new WeakMap;function Tr(e,t){if("object"==typeof e&&null!==e){var n=kr.get(e);return void 0!==n?n:(t={value:e,source:t,stack:ut(t)},kr.set(e,t),t)}return{value:e,source:t,stack:ut(t)}}var Ar=[],Ir=0,Nr=0;function _r(){for(var e=Ir,t=Nr=Ir=0;t<e;){var n=Ar[t];Ar[t++]=null;var r=Ar[t];Ar[t++]=null;var a=Ar[t];Ar[t++]=null;var o=Ar[t];if(Ar[t++]=null,null!==r&&null!==a){var i=r.pending;null===i?a.next=a:(a.next=i.next,i.next=a),r.pending=a}0!==o&&Dr(n,a,o)}}function Rr(e,t,n,r){Ar[Ir++]=e,Ar[Ir++]=t,Ar[Ir++]=n,Ar[Ir++]=r,Nr|=r,e.lanes|=r,null!==(e=e.alternate)&&(e.lanes|=r)}function Or(e,t,n,r){return Rr(e,t,n,r),Pr(e)}function Lr(e,t){return Rr(e,null,null,t),Pr(e)}function Dr(e,t,n){e.lanes|=n;var r=e.alternate;null!==r&&(r.lanes|=n);for(var a=!1,o=e.return;null!==o;
vendor: 5,893 bytes, line 1
1)o.childLanes|=n,null!==(r=o.alternate)&&(r.childLanes|=n),22===o.tag&&(null===(e=o.stateNode)||1&e._visibility||(a=!0)),e=o,o=o.return;return 3===e.tag?(o=e.stateNode,a&&null!==t&&(a=31-he(n),null===(r=(e=o.hiddenUpdates)[a])?e[a]=[t]:r.push(t),t.lane=536870912|n),o):null}function Pr(e){if(50<Dc)throw Dc=0,Pc=null,Error(r(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Mr={};function jr(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Fr(e,t,n,r){return new jr(e,t,n,r)}function zr(e){return!(!(e=e.prototype)||!e.isReactComponent)}function $r(e,t){var n=e.alternate;return null===n?((n=Fr(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Br(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Ur(e,t,n,a,o,i){var s=0;if(a=e,"function"==typeof e)zr(e)&&(s=1);else if("string"==typeof e)s=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,V.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case T:return(e=Fr(31,n,t,o)).elementType=T,e.lanes=i,e;case h:return Hr(n.children,o,i,t);case g:s=8,o|=24;break;case b:return(e=Fr(12,n,t,2|o)).elementType=b,e.lanes=i,e;case w:return(e=Fr(13,n,t,o)).elementType=w,e.lanes=i,e;case E:return(e=Fr(19,n,t,o)).elementType=E,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case y:case x:s=10;break e;case v:s=9;break e;case S:s=11;break e;case C:s=14;break e;case k:s=16,a=null;break e}s=29,n=Error(r(130,null===e?"null":typeof e,"")),a=null}return(t=Fr(s,n,t,o)).elementType=e,t.type=a,t.lanes=i,t}function Hr(e,t,n,r){return(e=Fr(7,e,r,t)).lanes=n,e}function Vr(e,t,n){return(e=Fr(6,e,null,t)).lanes=n,e}function Wr(e,t,n){return(t=Fr(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Gr=[],qr=0,Yr=null,Xr=0,Kr=[],Zr=0,Jr=null,Qr=1,ea="";function ta(e,t){Gr[qr++]=Xr,Gr[qr++]=Yr,Yr=e,Xr=t}function na(e,t,n){Kr[Zr++]=Qr,Kr[Zr++]=ea,Kr[Zr++]=Jr,Jr=e;var r=Qr;e=ea;var a=32-he(r)-1;r&=~(1<<a),n+=1;var o=32-he(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Qr=1<<32-he(t)+a|n<<a|r,ea=o+e}else Qr=1<<o|n<<a|r,ea=e}function ra(e){null!==e.return&&(ta(e,1),na(e,1,0))}function aa(e){for(;e===Yr;)Yr=Gr[--qr],Gr[qr]=null,Xr=Gr[--qr],Gr[qr]=null;for(;e===Jr;)Jr=Kr[--Zr],Kr[Zr]=null,ea=Kr[--Zr],Kr[Zr]=null,Qr=Kr[--Zr],Kr[Zr]=null}var oa=null,ia=null,sa=!1,la=null,ca=!1,ua=Error(r(519));function da(e){throw ba(Tr(Error(r(418,"")),e)),ua}function pa(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[De]=e,t[Pe]=r,n){case"dialog":zu("cancel",t),zu("close",t);break;case"iframe":case"object":case"embed":zu("load",t);break;case"video":case"audio":for(n=0;n<Mu.length;n++)zu(Mu[n],t);break;case"source":zu("error",t);break;case"img":case"image":case"link":zu("error",t),zu("load",t);break;case"details":zu("toggle",t);break;case"input":zu("invalid",t),vt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0),ft(t);break;case"select":zu("invalid",t);break;case"textarea":zu("invalid",t),Et(t,r.value,r.defaultValue,r.children),ft(t)}"string"!=typeof(n=r.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===r.suppressHydrationWarning||Ju(t.textContent,n)?(null!=r.popover&&(zu("beforetoggle",t),zu("toggle",t)),null!=r.onScroll&&zu("scroll",t),null!=r.onScrollEnd&&zu("scrollend",t),null!=r.onClick&&(t.onclick=Qu),t=!0):t=!1,t||da(e)}function fa(e){for(oa=e.return;oa;)switch(oa.tag){case 5:case 13:return void(ca=!1);case 27:case 3:return void(ca=!0);default:oa=oa.return}}function ma(e){if(e!==oa)return!1;if(!sa)return fa(e),sa=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||ld(e.type,e.memoizedProps)),t=!t),t&&ia&&da(e),fa(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(r(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){ia=vd(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}ia=null}}else 27===n?(n=ia,hd(e.type)?(e=xd,xd=null,ia=e):ia=n):ia=oa?vd(e.stateNode.nextSibling):null;return!0}
vendor: 1,706 bytes, line 1
1function ha(){ia=oa=null,sa=!1}function ga(){var e=la;return null!==e&&(null===Sc?Sc=e:Sc.push.apply(Sc,e),la=null),e}function ba(e){null===la?la=[e]:la.push(e)}var ya=B(null),va=null,xa=null;function Sa(e,t,n){H(ya,t._currentValue),t._currentValue=n}function wa(e){e._currentValue=ya.current,U(ya)}function Ea(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ca(e,t,n,a){var o=e.child;for(null!==o&&(o.return=e);null!==o;){var i=o.dependencies;if(null!==i){var s=o.child;i=i.firstContext;e:for(;null!==i;){var l=i;i=o;for(var c=0;c<t.length;c++)if(l.context===t[c]){i.lanes|=n,null!==(l=i.alternate)&&(l.lanes|=n),Ea(i.return,n,e),a||(s=null);break e}i=l.next}}else if(18===o.tag){if(null===(s=o.return))throw Error(r(341));s.lanes|=n,null!==(i=s.alternate)&&(i.lanes|=n),Ea(s,n,e),s=null}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===e){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}}function ka(e,t,n,a){e=null;for(var o=t,i=!1;null!==o;){if(!i)if(524288&o.flags)i=!0;else if(262144&o.flags)break;if(10===o.tag){var s=o.alternate;if(null===s)throw Error(r(387));if(null!==(s=s.memoizedProps)){var l=o.type;Zn(o.pendingProps.value,s.value)||(null!==e?e.push(l):e=[l])}}else if(o===q.current){if(null===(s=o.alternate))throw Error(r(387));s.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(null!==e?e.push(Kd):e=[Kd])}o=o.return}null!==e&&Ca(t,e,n,a),t.flags|=262144}function Ta(e){for(e=e.firstContext;null!==e;){if(!Zn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}
vendor: 20,361 bytes, line 1
1function Aa(e){va=e,xa=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ia(e){return _a(va,e)}function Na(e,t){return null===va&&Aa(e),_a(e,t)}function _a(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===xa){if(null===e)throw Error(r(308));xa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else xa=xa.next=t;return n}var Ra="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Oa=e.unstable_scheduleCallback,La=e.unstable_NormalPriority,Da={$$typeof:x,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Pa(){return{controller:new Ra,data:new Map,refCount:0}}function Ma(e){e.refCount--,0===e.refCount&&Oa(La,function(){e.controller.abort()})}var ja=null,Fa=0,za=0,$a=null;function Ba(){if(0===--Fa&&null!==ja){null!==$a&&($a.status="fulfilled");var e=ja;ja=null,za=0,$a=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var Ua=M.S;M.S=function(e,t){"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===ja){var n=ja=[];Fa=0,za=Ru(),$a={status:"pending",value:void 0,then:function(e){n.push(e)}}}Fa++,t.then(Ba,Ba)}(0,t),null!==Ua&&Ua(e,t)};var Ha=B(null);function Va(){var e=Ha.current;return null!==e?e:oc.pooledCache}function Wa(e,t){H(Ha,null===t?Ha.current:t.pool)}function Ga(){var e=Va();return null===e?null:{parent:Da._currentValue,pool:e}}var qa=Error(r(460)),Ya=Error(r(474)),Xa=Error(r(542)),Ka={then:function(){}};function Za(e){return"fulfilled"===(e=e.status)||"rejected"===e}function Ja(){}function Qa(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(Ja,Ja),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw no(e=t.reason),e;default:if("string"==typeof t.status)t.then(Ja,Ja);else{if(null!==(e=oc)&&100<e.shellSuspendCounter)throw Error(r(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw no(e=t.reason),e}throw eo=t,qa}}var eo=null;function to(){if(null===eo)throw Error(r(459));var e=eo;return eo=null,e}function no(e){if(e===qa||e===Xa)throw Error(r(483))}var ro=!1;function ao(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function oo(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function io(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function so(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&ac){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,t=Pr(e),Dr(e,null,n),t}return Rr(e,r,t,n),Pr(e)}function lo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ne(e,n)}}function co(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,callbacks:r.callbacks},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var uo=!1;function po(){if(uo){if(null!==$a)throw $a}}function fo(e,t,n,r){uo=!1;var a=e.updateQueue;ro=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,s=a.shared.pending;if(null!==s){a.shared.pending=null;var l=s,u=l.next;l.next=null,null===i?o=u:i.next=u,i=l;var d=e.alternate;null!==d&&((s=(d=d.updateQueue).lastBaseUpdate)!==i&&(null===s?d.firstBaseUpdate=u:s.next=u,d.lastBaseUpdate=l))}if(null!==o){var p=a.baseState;for(i=0,d=u=l=null,s=o;;){var f=-536870913&s.lane,m=f!==s.lane;if(m?(sc&f)===f:(r&f)===f){0!==f&&f===za&&(uo=!0),null!==d&&(d=d.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});e:{var h=e,g=s;f=t;var b=n;switch(g.tag){case 1:if("function"==typeof(h=g.payload)){p=h.call(b,p,f);break e}p=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=g.payload)?h.call(b,p,f):h))break e;p=c({},p,f);break e;case 2:ro=!0}}null!==(f=s.callback)&&(e.flags|=64,m&&(e.flags|=8192),null===(m=a.callbacks)?a.callbacks=[f]:m.push(f))}else m={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===d?(u=d=m,l=p):d=d.next=m,i|=f;if(null===(s=s.next)){if(null===(s=a.shared.pending))break;s=(m=s).next,m.next=null,a.lastBaseUpdate=m,a.shared.pending=null}}null===d&&(l=p),a.baseState=l,a.firstBaseUpdate=u,a.lastBaseUpdate=d,null===o&&(a.shared.lanes=0),hc|=i,e.lanes=i,e.memoizedState=p}}function mo(e,t){if("function"!=typeof e)throw Error(r(191,e));e.call(t)}function ho(e,t){var n=e.callbacks;if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)mo(n[e],t)}var go=B(null),bo=B(0);function yo(e,t){H(bo,e=fc),H(go,t),fc=e|t.baseLanes}function vo(){H(bo,fc),H(go,go.current)}function xo(){fc=bo.current,U(go),U(bo)}var So=0,wo=null,Eo=null,Co=null,ko=!1,To=!1,Ao=!1,Io=0,No=0,_o=null,Ro=0;function Oo(){throw Error(r(321))}function Lo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Zn(e[n],t[n]))return!1;return!0}function Do(e,t,n,r,a,o){return So=o,wo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,M.H=null===e||null===e.memoizedState?Yi:Xi,Ao=!1,o=n(r,a),Ao=!1,To&&(o=Mo(t,n,r,a)),Po(e),o}function Po(e){M.H=qi;var t=null!==Eo&&null!==Eo.next;if(So=0,Co=Eo=wo=null,ko=!1,No=0,_o=null,t)throw Error(r(300));null===e||Ns||null!==(e=e.dependencies)&&Ta(e)&&(Ns=!0)}function Mo(e,t,n,a){wo=e;var o=0;do{if(To&&(_o=null),No=0,To=!1,25<=o)throw Error(r(301));if(o+=1,Co=Eo=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}M.H=Ki,i=t(n,a)}while(To);return i}function jo(){var e=M.H,t=e.useState()[0];return t="function"==typeof t.then?Ho(t):t,e=e.useState()[0],(null!==Eo?Eo.memoizedState:null)!==e&&(wo.flags|=1024),t}function Fo(){var e=0!==Io;return Io=0,e}function zo(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function $o(e){if(ko){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}ko=!1}So=0,Co=Eo=wo=null,To=!1,No=Io=0,_o=null}function Bo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Co?wo.memoizedState=Co=e:Co=Co.next=e,Co}function Uo(){if(null===Eo){var e=wo.alternate;e=null!==e?e.memoizedState:null}else e=Eo.next;var t=null===Co?wo.memoizedState:Co.next;if(null!==t)Co=t,Eo=e;else{if(null===e){if(null===wo.alternate)throw Error(r(467));throw Error(r(310))}e={memoizedState:(Eo=e).memoizedState,baseState:Eo.baseState,baseQueue:Eo.baseQueue,queue:Eo.queue,next:null},null===Co?wo.memoizedState=Co=e:Co=Co.next=e}return Co}function Ho(e){var t=No;return No+=1,null===_o&&(_o=[]),e=Qa(_o,e,t),t=wo,null===(null===Co?t.memoizedState:Co.next)&&(t=t.alternate,M.H=null===t||null===t.memoizedState?Yi:Xi),e}function Vo(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return Ho(e);if(e.$$typeof===x)return Ia(e)}throw Error(r(438,String(e)))}function Wo(e){var t=null,n=wo.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var r=wo.alternate;null!==r&&(null!==(r=r.updateQueue)&&(null!=(r=r.memoCache)&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(null==t&&(t={data:[],index:0}),null===n&&(n={lastEffect:null,events:null,stores:null,memoCache:null},wo.updateQueue=n),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=A;return t.index++,n}function Go(e,t){return"function"==typeof t?t(e):t}function qo(e){return Yo(Uo(),Eo,e)}function Yo(e,t,n){var a=e.queue;if(null===a)throw Error(r(311));a.lastRenderedReducer=n;var o=e.baseQueue,i=a.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}t.baseQueue=o=i,a.pending=null}if(i=e.baseState,null===o)e.memoizedState=i;else{var l=s=null,c=null,u=t=o.next,d=!1;do{var p=-536870913&u.lane;if(p!==u.lane?(sc&p)===p:(So&p)===p){var f=u.revertLane;if(0===f)null!==c&&(c=c.next={lane:0,revertLane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),p===za&&(d=!0);else{if((So&f)===f){u=u.next,f===za&&(d=!0);continue}p={lane:0,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=p,s=i):c=c.next=p,wo.lanes|=f,hc|=f}p=u.action,Ao&&n(i,p),i=u.hasEagerState?u.eagerState:n(i,p)}else f={lane:p,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===c?(l=c=f,s=i):c=c.next=f,wo.lanes|=p,hc|=p;u=u.next}while(null!==u&&u!==t);if(null===c?s=i:c.next=l,!Zn(i,e.memoizedState)&&(Ns=!0,d&&null!==(n=$a)))throw n;e.memoizedState=i,e.baseState=s,e.baseQueue=c,a.lastRenderedState=i}return null===o&&(a.lanes=0),[e.memoizedState,a.dispatch]}function Xo(e){var t=Uo(),n=t.queue;if(null===n)throw Error(r(311));n.lastRenderedReducer=e;var a=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);Zn(i,t.memoizedState)||(Ns=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function Ko(e,t,n){var a=wo,o=Uo(),i=sa;if(i){if(void 0===n)throw Error(r(407));n=n()}else n=t();var s=!Zn((Eo||o).memoizedState,n);if(s&&(o.memoizedState=n,Ns=!0),o=o.queue,vi(2048,8,Qo.bind(null,a,o,e),[e]),o.getSnapshot!==t||s||null!==Co&&1&Co.memoizedState.tag){if(a.flags|=2048,gi(9,{destroy:void 0,resource:void 0},Jo.bind(null,a,o,n,t),null),null===oc)throw Error(r(349));i||124&So||Zo(a,t,n)}return n}function Zo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=wo.updateQueue)?(t={lastEffect:null,events:null,stores:null,memoCache:null},wo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Jo(e,t,n,r){t.value=n,t.getSnapshot=r,ei(t)&&ti(e)}function Qo(e,t,n){return n(function(){ei(t)&&ti(e)})}function ei(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Zn(e,n)}catch(r){return!0}}function ti(e){var t=Lr(e,2);null!==t&&Fc(t,e,2)}function ni(e){var t=Bo();if("function"==typeof e){var n=e;if(e=n(),Ao){me(!0);try{n()}finally{me(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Go,lastRenderedState:e},t}function ri(e,t,n,r){return e.baseState=n,Yo(e,Eo,"function"==typeof r?r:Go)}function ai(e,t,n,a,o){if(Vi(e))throw Error(r(485));if(null!==(e=t.action)){var i={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){i.listeners.push(e)}};null!==M.T?n(!0):i.isTransition=!1,a(i),null===(n=t.pending)?(i.next=t.pending=i,oi(t,i)):(i.next=n.next,t.pending=n.next=i)}}function oi(e,t){var n=t.action,r=t.payload,a=e.state;if(t.isTransition){var o=M.T,i={};M.T=i;try{var s=n(a,r),l=M.S;null!==l&&l(i,s),ii(e,t,s)}catch(c){li(e,t,c)}finally{M.T=o}}else try{ii(e,t,o=n(a,r))}catch(u){li(e,t,u)}}function ii(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){si(e,t,n)},function(n){return li(e,t,n)}):si(e,t,n)}function si(e,t,n){t.status="fulfilled",t.value=n,ci(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(n=n.next,t.next=n,oi(e,n)))}function li(e,t,n){var r=e.pending;if(e.pending=null,null!==r){r=r.next;do{t.status="rejected",t.reason=n,ci(t),t=t.next}while(t!==r)}e.action=null}function ci(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ui(e,t){return t}function di(e,t){if(sa){var n=oc.formState;if(null!==n){e:{var r=wo;if(sa){if(ia){t:{for(var a=ia,o=ca;8!==a.nodeType;){if(!o){a=null;break t}if(null===(a=vd(a.nextSibling))){a=null;break t}}a="F!"===(o=a.data)||"F"===o?a:null}if(a){ia=vd(a.nextSibling),r="F!"===a.data;break e}}da(r)}r=!1}r&&(t=n[0])}}return(n=Bo()).memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ui,lastRenderedState:t},n.queue=r,n=Bi.bind(null,wo,r),r.dispatch=n,r=ni(!1),o=Hi.bind(null,wo,!1,r.queue),a={state:t,dispatch:null,action:e,pending:null},(r=Bo()).queue=a,n=ai.bind(null,wo,a,o,n),a.dispatch=n,r.memoizedState=e,[t,n,!1]}function pi(e){return fi(Uo(),Eo,e)}function fi(e,t,n){if(t=Yo(e,t,ui)[0],e=qo(Go)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var r=Ho(t)}catch(i){if(i===qa)throw Xa;throw i}else r=t;var a=(t=Uo()).queue,o=a.dispatch;return n!==t.memoizedState&&(wo.flags|=2048,gi(9,{destroy:void 0,resource:void 0},mi.bind(null,a,n),null)),[r,o,e]}function mi(e,t){e.action=t}function hi(e){var t=Uo(),n=Eo;if(null!==n)return fi(t,n,e);Uo(),t=t.memoizedState;var r=(n=Uo()).queue.dispatch;return n.memoizedState=e,[t,r,!1]}function gi(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},null===(t=wo.updateQueue)&&(t={lastEffect:null,events:null,stores:null,memoCache:null},wo.updateQueue=t),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function bi(){return Uo().memoizedState}function yi(e,t,n,r){var a=Bo();r=void 0===r?null:r,wo.flags|=e,a.memoizedState=gi(1|t,{destroy:void 0,resource:void 0},n,r)}function vi(e,t,n,r){var a=Uo();r=void 0===r?null:r;var o=a.memoizedState.inst;null!==Eo&&null!==r&&Lo(r,Eo.memoizedState.deps)?a.memoizedState=gi(t,o,n,r):(wo.flags|=e,a.memoizedState=gi(1|t,o,n,r))}function xi(e,t){yi(8390656,8,e,t)}function Si(e,t){vi(2048,8,e,t)}function wi(e,t){return vi(4,2,e,t)}function Ei(e,t){return vi(4,4,e,t)}function Ci(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function ki(e,t,n){n=null!=n?n.concat([e]):null,vi(4,4,Ci.bind(null,t,e),n)}function Ti(){}function Ai(e,t){var n=Uo();t=void 0===t?null:t;var r=n.memoizedState;return null!==t&&Lo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ii(e,t){var n=Uo();t=void 0===t?null:t;var r=n.memoizedState;if(null!==t&&Lo(t,r[1]))return r[0];if(r=e(),Ao){me(!0);try{e()}finally{me(!1)}}return n.memoizedState=[r,t],r}function Ni(e,t,n){return void 0===n||1073741824&So?e.memoizedState=t:(e.memoizedState=n,e=jc(),wo.lanes|=e,hc|=e,n)}function _i(e,t,n,r){return Zn(n,t)?n:null!==go.current?(e=Ni(e,n,r),Zn(e,t)||(Ns=!0),e):42&So?(e=jc(),wo.lanes|=e,hc|=e,t):(Ns=!0,e.memoizedState=n)}function Ri(e,t,n,r,a){var o=j.p;j.p=0!==o&&8>o?o:8;var i,s,l,c=M.T,u={};M.T=u,Hi(e,!1,t,n);try{var d=a(),p=M.S;if(null!==p&&p(u,d),null!==d&&"object"==typeof d&&"function"==typeof d.then)Ui(e,t,(i=r,s=[],l={status:"pending",value:null,reason:null,then:function(e){s.push(e)}},d.then(function(){l.status="fulfilled",l.value=i;for(var e=0;e<s.length;e++)(0,s[e])(i)},function(e){for(l.status="rejected",l.reason=e,e=0;e<s.length;e++)(0,s[e])(void 0)}),l),Mc());else Ui(e,t,r,Mc())}catch(f){Ui(e,t,{then:function(){},status:"rejected",reason:f},Mc())}finally{j.p=o,M.T=c}}function Oi(){}function Li(e,t,n,a){if(5!==e.tag)throw Error(r(476));var o=Di(e).queue;Ri(e,o,t,F,null===n?Oi:function(){return Pi(e),n(a)})}function Di(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:F,baseState:F,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Go,lastRenderedState:F},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Go,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Pi(e){Ui(e,Di(e).next.queue,{},Mc())}function Mi(){return Ia(Kd)}function ji(){return Uo().memoizedState}function Fi(){return Uo().memoizedState}function zi(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Mc(),r=so(t,e=io(n),n);return null!==r&&(Fc(r,t,n),lo(r,t,n)),t={cache:Pa()},void(e.payload=t)}t=t.return}}function $i(e,t,n){var r=Mc();n={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Vi(e)?Wi(t,n):null!==(n=Or(e,t,n,r))&&(Fc(n,e,r),Gi(n,t,r))}function Bi(e,t,n){Ui(e,t,n,Mc())}function Ui(e,t,n,r){var a={lane:r,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vi(e))Wi(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=o(i,n);if(a.hasEagerState=!0,a.eagerState=s,Zn(s,i))return Rr(e,t,a,0),null===oc&&_r(),!1}catch(l){}if(null!==(n=Or(e,t,a,r)))return Fc(n,e,r),Gi(n,t,r),!0}return!1}function Hi(e,t,n,a){if(a={lane:2,revertLane:Ru(),action:a,hasEagerState:!1,eagerState:null,next:null},Vi(e)){if(t)throw Error(r(479))}else null!==(t=Or(e,n,a,2))&&Fc(t,e,2)}function Vi(e){var t=e.alternate;return e===wo||null!==t&&t===wo}function Wi(e,t){To=ko=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gi(e,t,n){if(4194048&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,Ne(e,n)}}var qi={readContext:Ia,use:Vo,useCallback:Oo,useContext:Oo,useEffect:Oo,useImperativeHandle:Oo,useLayoutEffect:Oo,useInsertionEffect:Oo,useMemo:Oo,useReducer:Oo,useRef:Oo,useState:Oo,useDebugValue:Oo,useDeferredValue:Oo,useTransition:Oo,useSyncExternalStore:Oo,useId:Oo,useHostTransitionStatus:Oo,useFormState:Oo,useActionState:Oo,useOptimistic:Oo,useMemoCache:Oo,useCacheRefresh:Oo},Yi={readContext:Ia,use:Vo,useCallback:function(e,t){return Bo().memoizedState=[e,void 0===t?null:t],e},useContext:Ia,useEffect:xi,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,yi(4194308,4,Ci.bind(null,t,e),n)},useLayoutEffect:function(e,t){return yi(4194308,4,e,t)},useInsertionEffect:function(e,t){yi(4,2,e,t)},useMemo:function(e,t){var n=Bo();t=void 0===t?null:t;var r=e();if(Ao){me(!0);try{e()}finally{me(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=Bo();if(void 0!==n){var a=n(t);if(Ao){me(!0);try{n(t)}finally{me(!1)}}}else a=t;return r.memoizedState=r.baseState=a,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},r.queue=e,e=e.dispatch=$i.bind(null,wo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Bo().memoizedState=e},useState:function(e){var t=(e=ni(e)).queue,n=Bi.bind(null,wo,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Ti,useDeferredValue:function(e,t){return Ni(Bo(),e,t)},useTransition:function(){var e=ni(!1);return e=Ri.bind(null,wo,e.queue,!0,!1),Bo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var a=wo,o=Bo();if(sa){if(void 0===n)throw Error(r(407));n=n()}else{if(n=t(),null===oc)throw Error(r(349));124&sc||Zo(a,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,xi(Qo.bind(null,a,i,e),[e]),a.flags|=2048,gi(9,{destroy:void 0,resource:void 0},Jo.bind(null,a,i,n,t),null),n},useId:function(){var e=Bo(),t=oc.identifierPrefix;if(sa){var n=ea;t="«"+t+"R"+(n=(Qr&~(1<<32-he(Qr)-1)).toString(32)+n),0<(n=Io++)&&(t+="H"+n.toString(32)),t+="»"}else t="«"+t+"r"+(n=Ro++).toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Mi,useFormState:di,useActionState:di,useOptimistic:function(e){var t=Bo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=Hi.bind(null,wo,!0,n),n.dispatch=t,[e,t]},useMemoCache:Wo,useCacheRefresh:function(){return Bo().memoizedState=zi.bind(null,wo)}},Xi={readContext:Ia,use:Vo,useCallback:Ai,useContext:Ia,useEffect:Si,useImperativeHandle:ki,useInsertionEffect:wi,useLayoutEffect:Ei,useMemo:Ii,useReducer:qo,useRef:bi,useState:function(){return qo(Go)},useDebugValue:Ti,useDeferredValue:function(e,t){return _i(Uo(),Eo.memoizedState,e,t)},useTransition:function(){var e=qo(Go)[0],t=Uo().memoizedState;return["boolean"==typeof e?e:Ho(e),t]},useSyncExternalStore:Ko,useId:ji,useHostTransitionStatus:Mi,useFormState:pi,useActionState:pi,useOptimistic:function(e,t){return ri(Uo(),0,e,t)},useMemoCache:Wo,useCacheRefresh:Fi},Ki={readContext:Ia,use:Vo,useCallback:Ai,useContext:Ia,useEffect:Si,useImperativeHandle:ki,useInsertionEffect:wi,useLayoutEffect:Ei,useMemo:Ii,useReducer:Xo,useRef
vendor: 12,207 bytes, line 1
1:bi,useState:function(){return Xo(Go)},useDebugValue:Ti,useDeferredValue:function(e,t){var n=Uo();return null===Eo?Ni(n,e,t):_i(n,Eo.memoizedState,e,t)},useTransition:function(){var e=Xo(Go)[0],t=Uo().memoizedState;return["boolean"==typeof e?e:Ho(e),t]},useSyncExternalStore:Ko,useId:ji,useHostTransitionStatus:Mi,useFormState:hi,useActionState:hi,useOptimistic:function(e,t){var n=Uo();return null!==Eo?ri(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Wo,useCacheRefresh:Fi},Zi=null,Ji=0;function Qi(e){var t=Ji;return Ji+=1,null===Zi&&(Zi=[]),Qa(Zi,e,t)}function es(e,t){t=t.props.ref,e.ref=void 0!==t?t:null}function ts(e,t){if(t.$$typeof===u)throw Error(r(525));throw e=Object.prototype.toString.call(t),Error(r(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ns(e){return(0,e._init)(e._payload)}function rs(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function a(e){for(var t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(e,t){return(e=$r(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=67108866,n):r:(t.flags|=67108866,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Vr(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){var a=n.type;return a===h?p(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===k&&ns(a)===t.type)?(es(t=o(t,n.props),n),t.return=e,t):(es(t=Ur(n.type,n.key,n.props,null,e.mode,r),n),t.return=e,t)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Wr(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function p(e,t,n,r,a){return null===t||7!==t.tag?((t=Hr(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Vr(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case d:return es(n=Ur(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case m:return(t=Wr(t,e.mode,n)).return=e,t;case k:return f(e,t=(0,t._init)(t._payload),n)}if(D(t)||_(t))return(t=Hr(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return f(e,Qi(t),n);if(t.$$typeof===x)return f(e,Na(e,t),n);ts(e,t)}return null}function g(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==a?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case d:return n.key===a?c(e,t,n,r):null;case m:return n.key===a?u(e,t,n,r):null;case k:return g(e,t,n=(a=n._init)(n._payload),r)}if(D(n)||_(n))return null!==a?null:p(e,t,n,r,null);if("function"==typeof n.then)return g(e,t,Qi(n),r);if(n.$$typeof===x)return g(e,t,Na(e,n),r);ts(e,n)}return null}function b(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r||"bigint"==typeof r)return l(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case d:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case m:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case k:return b(e,t,n,r=(0,r._init)(r._payload),a)}if(D(r)||_(r))return p(t,e=e.get(n)||null,r,a,null);if("function"==typeof r.then)return b(e,t,n,Qi(r),a);if(r.$$typeof===x)return b(e,t,n,Na(t,r),a);ts(t,r)}return null}function y(l,c,u,p){if("object"==typeof u&&null!==u&&u.type===h&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case d:e:{for(var v=u.key;null!==c;){if(c.key===v){if((v=u.type)===h){if(7===c.tag){n(l,c.sibling),(p=o(c,u.props.children)).return=l,l=p;break e}}else if(c.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===k&&ns(v)===c.type){n(l,c.sibling),es(p=o(c,u.props),u),p.return=l,l=p;break e}n(l,c);break}t(l,c),c=c.sibling}u.type===h?((p=Hr(u.props.children,l.mode,p,u.key)).return=l,l=p):(es(p=Ur(u.type,u.key,u.props,null,l.mode,p),u),p.return=l,l=p)}return s(l);case m:e:{for(v=u.key;null!==c;){if(c.key===v){if(4===c.tag&&c.stateNode.containerInfo===u.containerInfo&&c.stateNode.implementation===u.implementation){n(l,c.sibling),(p=o(c,u.children||[])).return=l,l=p;break e}n(l,c);break}t(l,c),c=c.sibling}(p=Wr(u,l.mode,p)).return=l,l=p}return s(l);case k:return y(l,c,u=(v=u._init)(u._payload),p)}if(D(u))return function(r,o,s,l){for(var c=null,u=null,d=o,p=o=0,m=null;null!==d&&p<s.length;p++){d.index>p?(m=d,d=null):m=d.sibling;var h=g(r,d,s[p],l);if(null===h){null===d&&(d=m);break}e&&d&&null===h.alternate&&t(r,d),o=i(h,o,p),null===u?c=h:u.sibling=h,u=h,d=m}if(p===s.length)return n(r,d),sa&&ta(r,p),c;if(null===d){for(;p<s.length;p++)null!==(d=f(r,s[p],l))&&(o=i(d,o,p),null===u?c=d:u.sibling=d,u=d);return sa&&ta(r,p),c}for(d=a(d);p<s.length;p++)null!==(m=b(d,r,p,s[p],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?p:m.key),o=i(m,o,p),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach(function(e){return t(r,e)}),sa&&ta(r,p),c}(l,c,u,p);if(_(u)){if("function"!=typeof(v=_(u)))throw Error(r(150));return function(o,s,l,c){if(null==l)throw Error(r(151));for(var u=null,d=null,p=s,m=s=0,h=null,y=l.next();null!==p&&!y.done;m++,y=l.next()){p.index>m?(h=p,p=null):h=p.sibling;var v=g(o,p,y.value,c);if(null===v){null===p&&(p=h);break}e&&p&&null===v.alternate&&t(o,p),s=i(v,s,m),null===d?u=v:d.sibling=v,d=v,p=h}if(y.done)return n(o,p),sa&&ta(o,m),u;if(null===p){for(;!y.done;m++,y=l.next())null!==(y=f(o,y.value,c))&&(s=i(y,s,m),null===d?u=y:d.sibling=y,d=y);return sa&&ta(o,m),u}for(p=a(p);!y.done;m++,y=l.next())null!==(y=b(p,o,m,y.value,c))&&(e&&null!==y.alternate&&p.delete(null===y.key?m:y.key),s=i(y,s,m),null===d?u=y:d.sibling=y,d=y);return e&&p.forEach(function(e){return t(o,e)}),sa&&ta(o,m),u}(l,c,u=v.call(u),p)}if("function"==typeof u.then)return y(l,c,Qi(u),p);if(u.$$typeof===x)return y(l,c,Na(l,u),p);ts(l,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(u=""+u,null!==c&&6===c.tag?(n(l,c.sibling),(p=o(c,u)).return=l,l=p):(n(l,c),(p=Vr(u,l.mode,p)).return=l,l=p),s(l)):n(l,c)}return function(e,t,n,r){try{Ji=0;var a=y(e,t,n,r);return Zi=null,a}catch(i){if(i===qa||i===Xa)throw i;var o=Fr(29,i,null,e.mode);return o.lanes=r,o.return=e,o}}}var as=rs(!0),os=rs(!1),is=B(null),ss=null;function ls(e){var t=e.alternate;H(ps,1&ps.current),H(is,e),null===ss&&(null===t||null!==go.current||null!==t.memoizedState)&&(ss=e)}function cs(e){if(22===e.tag){if(H(ps,ps.current),H(is,e),null===ss){var t=e.alternate;null!==t&&null!==t.memoizedState&&(ss=e)}}else us()}function us(){H(ps,ps.current),H(is,is.current)}function ds(e){U(is),ss===e&&(ss=null),U(ps)}var ps=B(0);function fs(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||yd(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function ms(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:c({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var hs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Mc(),a=io(r);a.payload=t,null!=n&&(a.callback=n),null!==(t=so(e,a,r))&&(Fc(t,e,r),lo(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Mc(),a=io(r);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=so(e,a,r))&&(Fc(t,e,r),lo(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Mc(),r=io(n);r.tag=2,null!=t&&(r.callback=t),null!==(t=so(e,r,n))&&(Fc(t,e,n),lo(t,e,n))}};function gs(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!Jn(n,r)||!Jn(a,o))}function bs(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&hs.enqueueReplaceState(t,t.state,null)}function ys(e,t){var n=t;if("ref"in t)for(var r in n={},t)"ref"!==r&&(n[r]=t[r]);if(e=e.defaultProps)for(var a in n===t&&(n=c({},n)),e)void 0===n[a]&&(n[a]=e[a]);return n}var vs="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)};function xs(e){vs(e)}function Ss(e){}function ws(e){vs(e)}function Es(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function Cs(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(r){setTimeout(function(){throw r})}}function ks(e,t,n){return(n=io(n)).tag=3,n.payload={element:null},n.callback=function(){Es(e,t)},n}function Ts(e){return(e=io(e)).tag=3,e}function As(e,t,n,r){var a=n.type.getDerivedStateFromError;if("function"==typeof a){var o=r.value;e.payload=function(){return a(o)},e.callback=function(){Cs(t,n,r)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){Cs(t,n,r),"function"!=typeof a&&(null===Tc?Tc=new Set([this]):Tc.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})})}var Is=Error(r(461)),Ns=!1;function _s(e,t,n,r){t.child=null===e?os(t,null,n,r):as(t,e.child,n,r)}function Rs(e,t,n,r,a){n=n.render;var o=t.ref;if("ref"in r){var i={};for(var s in r)"ref"!==s&&(i[s]=r[s])}else i=r;return Aa(t),r=Do(e,t,n,i,o,a),s=Fo(),null===e||Ns?(sa&&s&&ra(t),t.flags|=1,_s(e,t,r,a),t.child):(zo(e,t,a),Zs(e,t,a))}function Os(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||zr(o)||void 0!==o.defaultProps||null!==n.compare?((e=Ur(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ls(e,t,o,r,a))}if(o=e.child,!Js(e,a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:Jn)(i,r)&&e.ref===t.ref)return Zs(e,t,a)}return t.flags|=1,(e=$r(o,r)).ref=t.ref,e.return=t,t.child=e}function Ls(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(Jn(o,r)&&e.ref===t.ref){if(Ns=!1,t.pendingProps=r=o,!Js(e,a))return t.lanes=e.lanes,Zs(e,t,a);131072&e.flags&&(Ns=!0)}}return js(e,t,n,r,a)}function Ds(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode){if(128&t.flags){if(r=null!==o?o.baseLanes|n:n,null!==e){for(a=t.child=e.child,o=0;null!==a;)o=o|a.lanes|a.childLanes,a=a.sibling;t.childLanes=o&~r}else t.childLanes=0,t.child=null;return Ps(e,t,r,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,Ps(e,t,null!==o?o.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Wa(0,null!==o?o.cachePool:null),null!==o?yo(t,o):vo(),cs(t)}else null!==o?(Wa(0,o.cachePool),yo(t,o),us(),t.memoizedState=null):(null!==e&&Wa(0,null),vo(),us());return _s(e,t,a,n),t.child}function Ps(e,t,n,r){var a=Va();return a=null===a?null:{parent:Da._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},null!==e&&Wa(0,null),vo(),cs(t),null!==e&&ka(e,t,r,!0),null}function Ms(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(r(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function js(e,t,n,r,a){return Aa(t),n=Do(e,t,n,r,void 0,a),r=Fo(),null===e||Ns?(sa&&r&&ra(t),t.flags|=1,_s(e,t,n,a),t.child):(zo(e,t,a),Zs(e,t,a))}function Fs(e,t,n,r,a,o){return Aa(t),t.updateQueue=null,n=Mo(t,r,n,a),Po(e),r=Fo(),null===e||Ns?(sa&&r&&ra(t),t.flags|=1,_s(e,t,n,o),t.child):(zo(e,t,o),Zs(e,t,o))}function zs(e,t,n,r,a){if(Aa(t),null===t.stateNode){var o=Mr,i=n.
vendor: 4,214 bytes, line 1
1contextType;"object"==typeof i&&null!==i&&(o=Ia(i)),o=new n(r,o),t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,o.updater=hs,t.stateNode=o,o._reactInternals=t,(o=t.stateNode).props=r,o.state=t.memoizedState,o.refs={},ao(t),i=n.contextType,o.context="object"==typeof i&&null!==i?Ia(i):Mr,o.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(ms(t,n,i,r),o.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(i=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),i!==o.state&&hs.enqueueReplaceState(o,o.state,null),fo(t,r,o,a),po(),o.state=t.memoizedState),"function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!0}else if(null===e){o=t.stateNode;var s=t.memoizedProps,l=ys(n,s);o.props=l;var c=o.context,u=n.contextType;i=Mr,"object"==typeof u&&null!==u&&(i=Ia(u));var d=n.getDerivedStateFromProps;u="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate,s=t.pendingProps!==s,u||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s||c!==i)&&bs(t,o,r,i),ro=!1;var p=t.memoizedState;o.state=p,fo(t,r,o,a),po(),c=t.memoizedState,s||p!==c||ro?("function"==typeof d&&(ms(t,n,d,r),c=t.memoizedState),(l=ro||gs(t,n,l,r,p,c,i))?(u||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),o.props=r,o.state=c,o.context=i,r=l):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,oo(e,t),u=ys(n,i=t.memoizedProps),o.props=u,d=t.pendingProps,p=o.context,c=n.contextType,l=Mr,"object"==typeof c&&null!==c&&(l=Ia(c)),(c="function"==typeof(s=n.getDerivedStateFromProps)||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(i!==d||p!==l)&&bs(t,o,r,l),ro=!1,p=t.memoizedState,o.state=p,fo(t,r,o,a),po();var f=t.memoizedState;i!==d||p!==f||ro||null!==e&&null!==e.dependencies&&Ta(e.dependencies)?("function"==typeof s&&(ms(t,n,s,r),f=t.memoizedState),(u=ro||gs(t,n,u,r,p,f,l)||null!==e&&null!==e.dependencies&&Ta(e.dependencies))?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,f,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=f),o.props=r,o.state=f,o.context=l,r=u):("function"!=typeof o.componentDidUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return o=r,Ms(e,t),r=!!(128&t.flags),o||r?(o=t.stateNode,n=r&&"function"!=typeof n.getDerivedStateFromError?null:o.render(),t.flags|=1,null!==e&&r?(t.child=as(t,e.child,null,a),t.child=as(t,null,n,a)):_s(e,t,n,a),t.memoizedState=o.state,e=t.child):e=Zs(e,t,a),e}function $s(e,t,n,r){return ha(),t.flags|=256,_s(e,t,n,r),t.child}var Bs={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Us(e){return{baseLanes:e,cachePool:Ga()}}function Hs(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=yc),e}function Vs(e,t,n){var a,o=t.pendingProps,i=!1,s=!!(128&t.flags);if((a=s)||(a=(null===e||null!==e.memoizedState)&&!!(2&ps.current)),a&&(i=!0,t.flags&=-129),a=!!(32&t.flags),t.flags&=-33,null===e){if(sa){if
vendor: 8,761 bytes, line 1
1(i?ls(t):us(),sa){var l,c=ia;if(l=c){e:{for(l=c,c=ca;8!==l.nodeType;){if(!c){c=null;break e}if(null===(l=vd(l.nextSibling))){c=null;break e}}c=l}null!==c?(t.memoizedState={dehydrated:c,treeContext:null!==Jr?{id:Qr,overflow:ea}:null,retryLane:536870912,hydrationErrors:null},(l=Fr(18,null,null,0)).stateNode=c,l.return=t,t.child=l,oa=t,ia=null,l=!0):l=!1}l||da(t)}if(null!==(c=t.memoizedState)&&null!==(c=c.dehydrated))return yd(c)?t.lanes=32:t.lanes=536870912,null;ds(t)}return c=o.children,o=o.fallback,i?(us(),c=Gs({mode:"hidden",children:c},i=t.mode),o=Hr(o,i,n,null),c.return=t,o.return=t,c.sibling=o,t.child=c,(i=t.child).memoizedState=Us(n),i.childLanes=Hs(e,a,n),t.memoizedState=Bs,o):(ls(t),Ws(t,c))}if(null!==(l=e.memoizedState)&&null!==(c=l.dehydrated)){if(s)256&t.flags?(ls(t),t.flags&=-257,t=qs(e,t,n)):null!==t.memoizedState?(us(),t.child=e.child,t.flags|=128,t=null):(us(),i=o.fallback,c=t.mode,o=Gs({mode:"visible",children:o.children},c),(i=Hr(i,c,n,null)).flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,as(t,e.child,null,n),(o=t.child).memoizedState=Us(n),o.childLanes=Hs(e,a,n),t.memoizedState=Bs,t=i);else if(ls(t),yd(c)){if(a=c.nextSibling&&c.nextSibling.dataset)var u=a.dgst;a=u,(o=Error(r(419))).stack="",o.digest=a,ba({value:o,source:null,stack:null}),t=qs(e,t,n)}else if(Ns||ka(e,t,n,!1),a=0!==(n&e.childLanes),Ns||a){if(null!==(a=oc)&&(0!==(o=0!==((o=42&(o=n&-n)?1:_e(o))&(a.suspendedLanes|n))?0:o)&&o!==l.retryLane))throw l.retryLane=o,Lr(e,o),Fc(a,e,o),Is;"$?"===c.data||Xc(),t=qs(e,t,n)}else"$?"===c.data?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,ia=vd(c.nextSibling),oa=t,sa=!0,la=null,ca=!1,null!==e&&(Kr[Zr++]=Qr,Kr[Zr++]=ea,Kr[Zr++]=Jr,Qr=e.id,ea=e.overflow,Jr=t),(t=Ws(t,o.children)).flags|=4096);return t}return i?(us(),i=o.fallback,c=t.mode,u=(l=e.child).sibling,(o=$r(l,{mode:"hidden",children:o.children})).subtreeFlags=65011712&l.subtreeFlags,null!==u?i=$r(u,i):(i=Hr(i,c,n,null)).flags|=2,i.return=t,o.return=t,o.sibling=i,t.child=o,o=i,i=t.child,null===(c=e.child.memoizedState)?c=Us(n):(null!==(l=c.cachePool)?(u=Da._currentValue,l=l.parent!==u?{parent:u,pool:u}:l):l=Ga(),c={baseLanes:c.baseLanes|n,cachePool:l}),i.memoizedState=c,i.childLanes=Hs(e,a,n),t.memoizedState=Bs,o):(ls(t),e=(n=e.child).sibling,(n=$r(n,{mode:"visible",children:o.children})).return=t,n.sibling=null,null!==e&&(null===(a=t.deletions)?(t.deletions=[e],t.flags|=16):a.push(e)),t.child=n,t.memoizedState=null,n)}function Ws(e,t){return(t=Gs({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Gs(e,t){return(e=Fr(22,e,null,t)).lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function qs(e,t,n){return as(t,e.child,null,n),(e=Ws(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ys(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function Xs(e,t,n,r,a){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=a)}function Ks(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(_s(e,t,r.children,n),2&(r=ps.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ys(e,n,t);else if(19===e.tag)Ys(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}switch(H(ps,r),a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===fs(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Xs(t,!1,a,n,o);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===fs(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Xs(t,!0,n,null,o);break;case"together":Xs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Zs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),hc|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(ka(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(r(153));if(null!==t.child){for(n=$r(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=$r(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Js(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!Ta(e))}function Qs(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Ns=!0;else{if(!(Js(e,n)||128&t.flags))return Ns=!1,function(e,t,n){switch(t.tag){case 3:Y(t,t.stateNode.containerInfo),Sa(0,Da,e.memoizedState.cache),ha();break;case 27:case 5:K(t);break;case 4:Y(t,t.stateNode.containerInfo);break;case 10:Sa(0,t.type,t.memoizedProps.value);break;case 13:var r=t.memoizedState;if(null!==r)return null!==r.dehydrated?(ls(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Vs(e,t,n):(ls(t),null!==(e=Zs(e,t,n))?e.sibling:null);ls(t);break;case 19:var a=!!(128&e.flags);if((r=0!==(n&t.childLanes))||(ka(e,t,n,!1),r=0!==(n&t.childLanes)),a){if(r)return Ks(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),H(ps,ps.current),r)break;return null;case 22:case 23:return t.lanes=0,Ds(e,t,n);case 24:Sa(0,Da,e.memoizedState.cache)}return Zs(e,t,n)}(e,t,n);Ns=!!(131072&e.flags)}else Ns=!1,sa&&1048576&t.flags&&na(t,Xr,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var a=t.elementType,o=a._init;if(a=o(a._payload),t.type=a,"function"!=typeof a){if(null!=a){if((o=a.$$typeof)===S){t.tag=11,t=Rs(null,t,a,e,n);break e}if(o===C){t.tag=14,t=Os(null,t,a,e,n);break e}}throw t=L(a)||a,Error(r(306,t,""))}zr(a)?(e=ys(a,e),t.tag=1,t=zs(null,t,a,e,n)):(t.tag=0,t=js(null,t,a,e,n))}return t;case 0:return js(e,t,t.type,t.pendingProps,n);case 1:return zs(e,t,a=t.type,o=ys(a,t.pendingProps),n);case 3:e:{if(Y(t,t.stateNode.containerInfo),null===e)throw Error(r(387));a=t.pendingProps;var i=t.memoizedState;o=i.element,oo(e,t),fo(t,a,null,n);var s=t.memoizedState;if(a=s.cache,Sa(0,Da,a),a!==i.cache&&Ca(t,[Da],n,!0),po(),a=s.element,i.isDehydrated){if(i={element:a,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=$s(e,t,a,n);break e}if(a!==o){ba(o=Tr(Error(r(424)),t)),t=$s(e,t,a,n);break e}if(9===(e=t.stateNode.containerInfo).nodeType)e=e.body;else e="HTML"===e.nodeName?e.ownerDocument.body:e;for(ia=vd(e.firstChild),oa=t,sa=!0,la=null,ca=!0,n=os(t,null,a,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),a===o){t=Zs(e,t,n);break e}_s(e,t,a,n)}t=t.child}return t;case 26:return Ms(e,t),null===e?(n=_d(t.type,null,t.pendingProps,null))?t.memoizedState=n:sa||(n=t.type,e=t.pendingProps,(a=od(G.current).createElement(n))[De]=t,a[Pe]=e,nd(a,n,e),qe(a),t.stateNode=a):t.memoizedState=_d(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return K(t),null===e&&sa&&(a=t.stateNode=wd(t.type,t.pendingProps,G.current),oa=t,ca=!0,o=ia,hd(t.type)?(xd=o,ia=vd(a.firstChild)):ia=o),_s(e,t,t.pendingProps.children,n),Ms(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&sa&&((o=a=ia)&&(null!==(a=function(e,t,n,r){for(;1===e.nodeType;){var a=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(r){if(!e[Be])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(o=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(o!==a.rel||e.getAttribute("href")!==(null==a.href||""===a.href?null:a.href)||e.getAttribute("crossorigin")!==(null==a.crossOrigin?null:a.crossOrigin)||e.getAttribute("title")!==(null==a.title?null:a.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((o=e.getAttribute("src"))!==(null==a.src?null:a.src)||e.getAttribute("type")!==(null==a.type?null:a.type)||e.getAttribute("crossorigin")!==(null==a.crossOrigin?null:a.crossOrigin))&&o&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var o=null==a.name?null:""+a.name;if("hidden"===a.type&&e.getAttribute("name")===o)return e}if(null===(e=vd(e.nextSibling)))break}return null}(a,t.type,t.pendingProps,ca))?(t.stateNode=a,oa=t,ia=vd(a.firstChild),ca=!1,o=!0):o=!1),o||da(t)),K(t),o=t.type,i=t.pendingProps,s=null!==e?e.memoizedProps:null,a=i.children,ld(o,i)?a=null:null!==s&&ld(o,s)&&(t.flags|=32),null!==t.memoizedState&&(o=Do(e,t,jo,null,null,n),Kd._currentValue=o),Ms(e,t),_s(e,t,a,n),t.child;case 6:return null===e&&sa&&((e=n=ia)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;
vendor: 8,975 bytes, line 1
1){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=vd(e.nextSibling)))return null}return e}(n,t.pendingProps,ca))?(t.stateNode=n,oa=t,ia=null,e=!0):e=!1),e||da(t)),null;case 13:return Vs(e,t,n);case 4:return Y(t,t.stateNode.containerInfo),a=t.pendingProps,null===e?t.child=as(t,null,a,n):_s(e,t,a,n),t.child;case 11:return Rs(e,t,t.type,t.pendingProps,n);case 7:return _s(e,t,t.pendingProps,n),t.child;case 8:case 12:return _s(e,t,t.pendingProps.children,n),t.child;case 10:return a=t.pendingProps,Sa(0,t.type,a.value),_s(e,t,a.children,n),t.child;case 9:return o=t.type._context,a=t.pendingProps.children,Aa(t),a=a(o=Ia(o)),t.flags|=1,_s(e,t,a,n),t.child;case 14:return Os(e,t,t.type,t.pendingProps,n);case 15:return Ls(e,t,t.type,t.pendingProps,n);case 19:return Ks(e,t,n);case 31:return a=t.pendingProps,n=t.mode,a={mode:a.mode,children:a.children},null===e?((n=Gs(a,n)).ref=t.ref,t.child=n,n.return=t,t=n):((n=$r(e.child,a)).ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Ds(e,t,n);case 24:return Aa(t),a=Ia(Da),null===e?(null===(o=Va())&&(o=oc,i=Pa(),o.pooledCache=i,i.refCount++,null!==i&&(o.pooledCacheLanes|=n),o=i),t.memoizedState={parent:a,cache:o},ao(t),Sa(0,Da,o)):(0!==(e.lanes&n)&&(oo(e,t),fo(t,null,null,n),po()),o=e.memoizedState,i=t.memoizedState,o.parent!==a?(o={parent:a,cache:a},t.memoizedState=o,0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=o),Sa(0,Da,a)):(a=i.cache,Sa(0,Da,a),a!==o.cache&&Ca(t,[Da],n,!0))),_s(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(r(156,t.tag))}function el(e){e.flags|=4}function tl(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!Hd(t)){if(null!==(t=is.current)&&((4194048&sc)===sc?null!==ss:(62914560&sc)!==sc&&!(536870912&sc)||t!==ss))throw eo=Ka,Ya;e.flags|=8192}}function nl(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?ke():536870912,e.lanes|=t,vc|=t)}function rl(e,t){if(!sa)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function al(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=65011712&a.subtreeFlags,r|=65011712&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,r|=a.subtreeFlags,r|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function ol(e,t,n){var a=t.pendingProps;switch(aa(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return al(t),null;case 3:return n=t.stateNode,a=null,null!==e&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),wa(Da),X(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(ma(t)?el(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,ga())),al(t),null;case 26:return n=t.memoizedState,null===e?(el(t),null!==n?(al(t),tl(t,n)):(al(t),t.flags&=-16777217)):n?n!==e.memoizedState?(el(t),al(t),tl(t,n)):(al(t),t.flags&=-16777217):(e.memoizedProps!==a&&el(t),al(t),t.flags&=-16777217),null;case 27:Z(t),n=G.current;var o=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==a&&el(t);else{if(!a){if(null===t.stateNode)throw Error(r(166));return al(t),null}e=V.current,ma(t)?pa(t):(e=wd(o,a,n),t.stateNode=e,el(t))}return al(t),null;case 5:if(Z(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==a&&el(t);else{if(!a){if(null===t.stateNode)throw Error(r(166));return al(t),null}if(e=V.current,ma(t))pa(t);else{switch(o=od(G.current),e){case 1:e=o.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=o.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=o.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=o.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof a.is?o.createElement("select",{is:a.is}):o.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e="string"==typeof a.is?o.createElement(n,{is:a.is}):o.createElement(n)}}e[De]=t,e[Pe]=a;e:for(o=t.child;null!==o;){if(5===o.tag||6===o.tag)e.appendChild(o.stateNode);else if(4!==o.tag&&27!==o.tag&&null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break e;for(;null===o.sibling;){if(null===o.return||o.return===t)break e;o=o.return}o.sibling.return=o.return,o=o.sibling}t.stateNode=e;e:switch(nd(e,n,a),n){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&el(t)}}return al(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==a&&el(t);else{if("string"!=typeof a&&null===t.stateNode)throw Error(r(166));if(e=G.current,ma(t)){if(e=t.stateNode,n=t.memoizedProps,a=null,null!==(o=oa))switch(o.tag){case 27:case 5:a=o.memoizedProps}e[De]=t,(e=!!(e.nodeValue===n||null!==a&&!0===a.suppressHydrationWarning||Ju(e.nodeValue,n)))||da(t)}else(e=od(e).createTextNode(a))[De]=t,t.stateNode=e}return al(t),null;case 13:if(a=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(o=ma(t),null!==a&&null!==a.dehydrated){if(null===e){if(!o)throw Error(r(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(r(317));o[De]=t}else ha(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;al(t),o=!1}else o=ga(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return 256&t.flags?(ds(t),t):(ds(t),null)}if(ds(t),128&t.flags)return t.lanes=n,t;if(n=null!==a,e=null!==e&&null!==e.memoizedState,n){o=null,null!==(a=t.child).alternate&&null!==a.alternate.memoizedState&&null!==a.alternate.memoizedState.cachePool&&(o=a.alternate.memoizedState.cachePool.pool);var i=null;null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(i=a.memoizedState.cachePool.pool),i!==o&&(a.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),nl(t,t.updateQueue),al(t),null;case 4:return X(),null===e&&Uu(t.stateNode.containerInfo),al(t),null;case 10:return wa(t.type),al(t),null;case 19:if(U(ps),null===(o=t.memoizedState))return al(t),null;if(a=!!(128&t.flags),null===(i=o.rendering))if(a)rl(o,!1);else{if(0!==mc||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=fs(e))){for(t.flags|=128,rl(o,!1),e=i.updateQueue,t.updateQueue=e,nl(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Br(n,e),n=n.sibling;return H(ps,1&ps.current|2),t.child}e=e.sibling}null!==o.tail&&re()>Cc&&(t.flags|=128,a=!0,rl(o,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=fs(i))){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,nl(t,e),rl(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate&&!sa)return al(t),null}else 2*re()-o.renderingStartTime>Cc&&536870912!==n&&(t.flags|=128,a=!0,rl(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=o.last)?e.sibling=i:t.child=i,o.last=i)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=re(),t.sibling=null,e=ps.current,H(ps,a?1&e|2:1&e),t):(al(t),null);case 22:case 23:return ds(t),xo(),a=null!==t.memoizedState,null!==e?null!==e.memoizedState!==a&&(t.flags|=8192):a&&(t.flags|=8192),a?!!(536870912&n)&&!(128&t.flags)&&(al(t),6&t.subtreeFlags&&(t.flags|=8192)):al(t),null!==(n=t.updateQueue)&&nl(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),a=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(a=t.memoizedState.cachePool.pool),a!==n&&(t.flags|=2048),null!==e&&U(Ha),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),wa(Da),al(t),null;case 25:case 30:return null}throw Error(r(156,t.tag))}function il(e,t){switch(aa(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return wa(Da),X(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return Z(t),null;case 13:if(ds(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(r(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return U(ps),null;case 4:return X(),null;case 10:return wa(t.type),null;case 22:case 23:return ds(t),xo(),null!==e&&U(Ha),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return wa(Da),null;default:return null}}function sl(e,t){switch(aa(t),t.tag){case 3:wa(Da),X();break;case 26:case 27:case 5:Z(t);break;case 4:X();break;case 13:ds(t);break;case 19:U(ps);break;case 10:wa(t.type);break;case 22:case 23:ds(t),xo(),null!==e&&U(Ha);break;case 24:wa(Da)}}function ll(e,t){try{var n=t.updateQueue,r=null!==n?n.lastEffect:null;
vendor: 4,719 bytes, line 1
1if(null!==r){var a=r.next;n=a;do{if((n.tag&e)===e){r=void 0;var o=n.create,i=n.inst;r=o(),i.destroy=r}n=n.next}while(n!==a)}}catch(s){pu(t,t.return,s)}}function cl(e,t,n){try{var r=t.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var o=a.next;r=o;do{if((r.tag&e)===e){var i=r.inst,s=i.destroy;if(void 0!==s){i.destroy=void 0,a=t;var l=n,c=s;try{c()}catch(u){pu(a,l,u)}}}r=r.next}while(r!==o)}}catch(u){pu(t,t.return,u)}}function ul(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{ho(t,n)}catch(r){pu(e,e.return,r)}}}function dl(e,t,n){n.props=ys(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(r){pu(e,t,r)}}function pl(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;default:r=e.stateNode}"function"==typeof n?e.refCleanup=n(r):n.current=r}}catch(a){pu(e,t,a)}}function fl(e,t){var n=e.ref,r=e.refCleanup;if(null!==n)if("function"==typeof r)try{r()}catch(a){pu(e,t,a)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(o){pu(e,t,o)}else n.current=null}function ml(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&r.focus();break e;case"img":n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(a){pu(e,e.return,a)}}function hl(e,t,n){try{var a=e.stateNode;!function(e,t,n,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,i=null,s=null,l=null,c=null,u=null,d=null;for(m in n){var p=n[m];if(n.hasOwnProperty(m)&&null!=p)switch(m){case"checked":case"value":break;case"defaultValue":c=p;default:a.hasOwnProperty(m)||ed(e,t,m,null,a,p)}}for(var f in a){var m=a[f];if(p=n[f],a.hasOwnProperty(f)&&(null!=m||null!=p))switch(f){case"type":i=m;break;case"name":o=m;break;case"checked":u=m;break;case"defaultChecked":d=m;break;case"value":s=m;break;case"defaultValue":l=m;break;case"children":case"dangerouslySetInnerHTML":if(null!=m)throw Error(r(137,t));break;default:m!==p&&ed(e,t,f,m,a,p)}}return void yt(e,s,l,c,u,d,i,o);case"select":for(i in m=s=l=f=null,n)if(c=n[i],n.hasOwnProperty(i)&&null!=c)switch(i){case"value":break;case"multiple":m=c;default:a.hasOwnProperty(i)||ed(e,t,i,null,a,c)}for(o in a)if(i=a[o],c=n[o],a.hasOwnProperty(o)&&(null!=i||null!=c))switch(o){case"value":f=i;break;case"defaultValue":l=i;break;case"multiple":s=i;default:i!==c&&ed(e,t,o,i,a,c)}return t=l,n=s,a=m,void(null!=f?St(e,!!n,f,!1):!!a!=!!n&&(null!=t?St(e,!!n,t,!0):St(e,!!n,n?[]:"",!1)));case"textarea":for(l in m=f=null,n)if(o=n[l],n.hasOwnProperty(l)&&null!=o&&!a.hasOwnProperty(l))switch(l){case"value":case"children":break;default:ed(e,t,l,null,a,o)}for(s in a)if(o=a[s],i=n[s],a.hasOwnProperty(s)&&(null!=o||null!=i))switch(s){case"value":f=o;break;case"defaultValue":m=o;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=o)throw Error(r(91));break;default:o!==i&&ed(e,t,s,o,a,i)}return void wt(e,f,m);case"option":for(var h in n)if(f=n[h],n.hasOwnProperty(h)&&null!=f&&!a.hasOwnProperty(h))if("selected"===h)e.selected=!1;else ed(e,t,h,null,a,f);for(c in a)if(f=a[c],m=n[c],a.hasOwnProperty(c)&&f!==m&&(null!=f||null!=m))if("selected"===c)e.selected=f&&"function"!=typeof f&&"symbol"!=typeof f;else ed(e,t,c,f,a,m);return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var g in n)f=n[g],n.hasOwnProperty(g)&&null!=f&&!a.hasOwnProperty(g)&&ed(e,t,g,null,a,f);for(u in a)if(f=a[u],m=n[u],a.hasOwnProperty(u)&&f!==m&&(null!=f||null!=m))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=f)throw Error(r(137,t));break;default:ed(e,t,u,f,a,m)}return;default:if(It(t)){for(var b in n)f=n[b],n.hasOwnProperty(b)&&void 0!==f&&!a.hasOwnProperty(b)&&td(e,t,b,void 0,a,f);for(d in a)f=a[d],m=n[d],!a.hasOwnProperty(d)||f===m||void 0===f&&void 0===m||td(e,t,d,f,a,m);return}}for(var y in n)f=n[y],n.hasOwnProperty(y)&&null!=f&&!a.hasOwnProperty(y)&&ed(e,t,y,null,a,f);for(p in a)f=a[p],m=n[p],!a.hasOwnProperty(p)||f===m||null==f&&null==m||ed(e,t,p,f,a,m)}(a,e.type,n,t),a[Pe]=t}catch(o){pu(e,e.return,o)}}function gl(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&hd(e.type)||4===e.tag}function bl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||gl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&hd(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function yl(e,t,n){var r=e.tag;
vendor: 31,722 bytes, line 1
1if(5===r||6===r)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Qu));else if(4!==r&&(27===r&&hd(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(yl(e,t,n),e=e.sibling;null!==e;)yl(e,t,n),e=e.sibling}function vl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&(27===r&&hd(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(vl(e,t,n),e=e.sibling;null!==e;)vl(e,t,n),e=e.sibling}function xl(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);nd(t,r,n),t[De]=e,t[Pe]=n}catch(o){pu(e,e.return,o)}}var Sl=!1,wl=!1,El=!1,Cl="function"==typeof WeakSet?WeakSet:Set,kl=null;function Tl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:zl(e,n),4&r&&ll(5,n);break;case 1:if(zl(e,n),4&r)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(i){pu(n,n.return,i)}else{var a=ys(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(s){pu(n,n.return,s)}}64&r&&ul(n),512&r&&pl(n,n.return);break;case 3:if(zl(e,n),64&r&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{ho(e,t)}catch(i){pu(n,n.return,i)}}break;case 27:null===t&&4&r&&xl(n);case 26:case 5:zl(e,n),null===t&&4&r&&ml(n),512&r&&pl(n,n.return);break;case 12:zl(e,n);break;case 13:zl(e,n),4&r&&Ol(e,n),64&r&&(null!==(e=n.memoizedState)&&(null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$?"!==e.data||"complete"===n.readyState)t();else{var r=function(){t(),n.removeEventListener("DOMContentLoaded",r)};n.addEventListener("DOMContentLoaded",r),e._reactRetry=r}}(e,n=gu.bind(null,n))));break;case 22:if(!(r=null!==n.memoizedState||Sl)){t=null!==t&&null!==t.memoizedState||wl,a=Sl;var o=wl;Sl=r,(wl=t)&&!o?Bl(e,n,!!(8772&n.subtreeFlags)):zl(e,n),Sl=a,wl=o}break;case 30:break;default:zl(e,n)}}function Al(e){var t=e.alternate;null!==t&&(e.alternate=null,Al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&Ue(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Il=null,Nl=!1;function _l(e,t,n){for(n=n.child;null!==n;)Rl(e,t,n),n=n.sibling}function Rl(e,t,n){if(fe&&"function"==typeof fe.onCommitFiberUnmount)try{fe.onCommitFiberUnmount(pe,n)}catch(o){}switch(n.tag){case 26:wl||fl(n,t),_l(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:wl||fl(n,t);var r=Il,a=Nl;hd(n.type)&&(Il=n.stateNode,Nl=!1),_l(e,t,n),Ed(n.stateNode),Il=r,Nl=a;break;case 5:wl||fl(n,t);case 6:if(r=Il,a=Nl,Il=null,_l(e,t,n),Nl=a,null!==(Il=r))if(Nl)try{(9===Il.nodeType?Il.body:"HTML"===Il.nodeName?Il.ownerDocument.body:Il).removeChild(n.stateNode)}catch(i){pu(n,t,i)}else try{Il.removeChild(n.stateNode)}catch(i){pu(n,t,i)}break;case 18:null!==Il&&(Nl?(gd(9===(e=Il).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Np(e)):gd(Il,n.stateNode));break;case 4:r=Il,a=Nl,Il=n.stateNode.containerInfo,Nl=!0,_l(e,t,n),Il=r,Nl=a;break;case 0:case 11:case 14:case 15:wl||cl(2,n,t),wl||cl(4,n,t),_l(e,t,n);break;case 1:wl||(fl(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount&&dl(n,t,r)),_l(e,t,n);break;case 21:_l(e,t,n);break;case 22:wl=(r=wl)||null!==n.memoizedState,_l(e,t,n),wl=r;break;default:_l(e,t,n)}}function Ol(e,t){if(null===t.memoizedState&&(null!==(e=t.alternate)&&(null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))))try{Np(e)}catch(n){pu(t,t.return,n)}}function Ll(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new Cl),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new Cl),t;default:throw Error(r(435,e.tag))}}(e);t.forEach(function(t){var r=bu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}function Dl(e,t){var n=t.deletions;if(null!==n)for(var a=0;a<n.length;a++){var o=n[a],i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 27:if(hd(l.type)){Il=l.stateNode,Nl=!1;break e}break;case 5:Il=l.stateNode,Nl=!1;break e;case 3:case 4:Il=l.stateNode.containerInfo,Nl=!0;break e}l=l.return}if(null===Il)throw Error(r(160));Rl(i,s,o),Il=null,Nl=!1,null!==(i=o.alternate)&&(i.return=null),o.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)Ml(t,e),t=t.sibling}var Pl=null;function Ml(e,t){var n=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Dl(t,e),jl(e),4&a&&(cl(3,e,e.return),ll(3,e),cl(5,e,e.return));break;case 1:Dl(t,e),jl(e),512&a&&(wl||null===n||fl(n,n.return)),64&a&&Sl&&(null!==(e=e.updateQueue)&&(null!==(a=e.callbacks)&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===n?a:n.concat(a))));break;case 26:var o=Pl;if(Dl(t,e),jl(e),512&a&&(wl||null===n||fl(n,n.return)),4&a){var i=null!==n?n.memoizedState:null;if(a=e.memoizedState,null===n)if(null===a)if(null===e.stateNode){e:{a=e.type,n=e.memoizedProps,o=o.ownerDocument||o;t:switch(a){case"title":(!(i=o.getElementsByTagName("title")[0])||i[Be]||i[De]||"http://www.w3.org/2000/svg"===i.namespaceURI||i.hasAttribute("itemprop"))&&(i=o.createElement(a),o.head.insertBefore(i,o.querySelector("head > title"))),nd(i,a,n),i[De]=e,qe(i),a=i;break e;case"link":var s=Bd("link","href",o).get(a+(n.href||""));if(s)for(var l=0;l<s.length;l++)if((i=s[l]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&i.getAttribute("rel")===(null==n.rel?null:n.rel)&&i.getAttribute("title")===(null==n.title?null:n.title)&&i.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){s.splice(l,1);break t}nd(i=o.createElement(a),a,n),o.head.appendChild(i);break;case"meta":if(s=Bd("meta","content",o).get(a+(n.content||"")))for(l=0;l<s.length;l++)if((i=s[l]).getAttribute("content")===(null==n.content?null:""+n.content)&&i.getAttribute("name")===(null==n.name?null:n.name)&&i.getAttribute("property")===(null==n.property?null:n.property)&&i.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&i.getAttribute("charset")===(null==n.charSet?null:n.charSet)){s.splice(l,1);break t}nd(i=o.createElement(a),a,n),o.head.appendChild(i);break;default:throw Error(r(468,a))}i[De]=e,qe(i),a=i}e.stateNode=a}else Ud(o,e.type,e.stateNode);else e.stateNode=Md(o,a,e.memoizedProps);else i!==a?(null===i?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):i.count--,null===a?Ud(o,e.type,e.stateNode):Md(o,a,e.memoizedProps)):null===a&&null!==e.stateNode&&hl(e,e.memoizedProps,n.memoizedProps)}break;case 27:Dl(t,e),jl(e),512&a&&(wl||null===n||fl(n,n.return)),null!==n&&4&a&&hl(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Dl(t,e),jl(e),512&a&&(wl||null===n||fl(n,n.return)),32&e.flags){o=e.stateNode;try{Ct(o,"")}catch(m){pu(e,e.return,m)}}4&a&&null!=e.stateNode&&hl(e,o=e.memoizedProps,null!==n?n.memoizedProps:o),1024&a&&(El=!0);break;case 6:if(Dl(t,e),jl(e),4&a){if(null===e.stateNode)throw Error(r(162));a=e.memoizedProps,n=e.stateNode;try{n.nodeValue=a}catch(m){pu(e,e.return,m)}}break;case 3:if($d=null,o=Pl,Pl=Td(t.containerInfo),Dl(t,e),Pl=o,jl(e),4&a&&null!==n&&n.memoizedState.isDehydrated)try{Np(t.containerInfo)}catch(m){pu(e,e.return,m)}El&&(El=!1,Fl(e));break;case 4:a=Pl,Pl=Td(e.stateNode.containerInfo),Dl(t,e),jl(e),Pl=a;break;case 12:default:Dl(t,e),jl(e);break;case 13:Dl(t,e),jl(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(Ec=re()),4&a&&(null!==(a=e.updateQueue)&&(e.updateQueue=null,Ll(e,a)));break;case 22:o=null!==e.memoizedState;var c=null!==n&&null!==n.memoizedState,u=Sl,d=wl;if(Sl=u||o,wl=d||c,Dl(t,e),wl=d,Sl=u,jl(e),8192&a)e:for(t=e.stateNode,t._visibility=o?-2&t._visibility:1|t._visibility,o&&(null===n||c||Sl||wl||$l(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){c=n=t;try{if(i=c.stateNode,o)"function"==typeof(s=i.style).setProperty?s.setProperty("display","none","important"):s.display="none";else{l=c.stateNode;var p=c.memoizedProps.style,f=null!=p&&p.hasOwnProperty("display")?p.display:null;l.style.display=null==f||"boolean"==typeof f?"":(""+f).trim()}}catch(m){pu(c,c.return,m)}}}else if(6===t.tag){if(null===n){c=t;try{c.stateNode.nodeValue=o?"":c.memoizedProps}catch(m){pu(c,c.return,m)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&a&&(null!==(a=e.updateQueue)&&(null!==(n=a.retryQueue)&&(a.retryQueue=null,Ll(e,n))));break;case 19:Dl(t,e),jl(e),4&a&&(null!==(a=e.updateQueue)&&(e.updateQueue=null,Ll(e,a)));case 30:case 21:}}function jl(e){var t=e.flags;if(2&t){try{for(var n,a=e.return;null!==a;){if(gl(a)){n=a;break}a=a.return}if(null==n)throw Error(r(160));switch(n.tag){case 27:var o=n.stateNode;vl(e,bl(e),o);break;case 5:var i=n.stateNode;32&n.flags&&(Ct(i,""),n.flags&=-33),vl(e,bl(e),i);break;case 3:case 4:var s=n.stateNode.containerInfo;yl(e,bl(e),s);break;default:throw Error(r(161))}}catch(l){pu(e,e.return,l)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Fl(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Fl(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function zl(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Tl(e,t.alternate,t),t=t.sibling}function $l(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:cl(4,t,t.return),$l(t);break;case 1:fl(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&dl(t,t.return,n),$l(t);break;case 27:Ed(t.stateNode);case 26:case 5:fl(t,t.return),$l(t);break;case 22:null===t.memoizedState&&$l(t);break;default:$l(t)}e=e.sibling}}function Bl(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var r=t.alternate,a=e,o=t,i=o.flags;switch(o.tag){case 0:case 11:case 15:Bl(a,o,n),ll(4,o);break;case 1:if(Bl(a,o,n),"function"==typeof(a=(r=o).stateNode).componentDidMount)try{a.componentDidMount()}catch(c){pu(r,r.return,c)}if(null!==(a=(r=o).updateQueue)){var s=r.stateNode;try{var l=a.shared.hiddenCallbacks;if(null!==l)for(a.shared.hiddenCallbacks=null,a=0;a<l.length;a++)mo(l[a],s)}catch(c){pu(r,r.return,c)}}n&&64&i&&ul(o),pl(o,o.return);break;case 27:xl(o);case 26:case 5:Bl(a,o,n),n&&null===r&&4&i&&ml(o),pl(o,o.return);break;case 12:Bl(a,o,n);break;case 13:Bl(a,o,n),n&&4&i&&Ol(a,o);break;case 22:null===o.memoizedState&&Bl(a,o,n),pl(o,o.return);break;case 30:break;default:Bl(a,o,n)}t=t.sibling}}function Ul(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Ma(n))}function Hl(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Ma(e))}function Vl(e,t,n,r){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Wl(e,t,n,r),t=t.sibling}function Wl(e,t,n,r){var a=t.flags;switch(t.tag){case 0:case 11:case 15:Vl(e,t,n,r),2048&a&&ll(9,t);break;case 1:case 13:default:Vl(e,t,n,r);break;case 3:Vl(e,t,n,r),2048&a&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Ma(e)));break;case 12:if(2048&a){Vl(e,t,n,r),e=t.stateNode;try{var o=t.memoizedProps,i=o.id,s=o.onPostCommit;"function"==typeof s&&s(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(l){pu(t,t.return,l)}}else Vl(e,t,n,r);break;case 23:break;case 22:o=t.stateNode,i=t.alternate,null!==t.memoizedState?2&o._visibility?Vl(e,t,n,r):ql(e,t):2&o._visibility?Vl(e,t,n,r):(o._visibility|=2,Gl(e,t,n,r,!!(10256&t.subtreeFlags))),2048&a&&Ul(i,t);break;case 24:Vl(e,t,n,r),2048&a&&Hl(t.alternate,t)}}function Gl(e,t,n,r,a){for(a=a&&!!(10256&t.subtreeFlags),t=t.child;null!==t;){var o=e,i=t,s=n,l=r,c=i.flags;switch(i.tag){case 0:case 11:case 15:Gl(o,i,s,l,a),ll(8,i);break;case 23:break;case 22:var u=i.stateNode;null!==i.memoizedState?2&u._visibility?Gl(o,i,s,l,a):ql(o,i):(u._visibility|=2,Gl(o,i,s,l,a)),a&&2048&c&&Ul(i.alternate,i);break;case 24:Gl(o,i,s,l,a),a&&2048&c&&Hl(i.alternate,i);break;default:Gl(o,i,s,l,a)}t=t.sibling}}function ql(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,r=t,a=r.flags;switch(r.tag){case 22:ql(n,r),2048&a&&Ul(r.alternate,r);break;case 24:ql(n,r),2048&a&&Hl(r.alternate,r);break;default:ql(n,r)}t=t.sibling}}var Yl=8192;function Xl(e){if(e.subtreeFlags&Yl)for(e=e.child;null!==e;)Kl(e),e=e.sibling}function Kl(e){switch(e.tag){case 26:Xl(e),e.flags&Yl&&null!==e.memoizedState&&function(e,t,n){if(null===Vd)throw Error(r(475));var a=Vd;if(!("stylesheet"!==t.type||"string"==typeof n.media&&!1===matchMedia(n.media).matches||4&t.state.loading)){if(null===t.instance){var o=Rd(n.href),i=e.querySelector(Od(o));if(i)return null!==(e=i._p)&&"object"==typeof e&&"function"==typeof e.then&&(a.count++,a=Gd.bind(a),e.then(a,a)),t.state.loading|=4,t.instance=i,void qe(i);i=e.ownerDocument||e,n=Ld(n),(o=Cd.get(o))&&Fd(n,o),qe(i=i.createElement("link"));var s=i;s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),nd(i,"link",n),t.instance=i}null===a.stylesheets&&(a.stylesheets=new Map),a.stylesheets.set(t,e),(e=t.state.preload)&&!(3&t.state.loading)&&(a.count++,t=Gd.bind(a),e.addEventListener("load",t),e.addEventListener("error",t))}}(Pl,e.memoizedState,e.memoizedProps);break;case 5:default:Xl(e);break;case 3:case 4:var t=Pl;Pl=Td(e.stateNode.containerInfo),Xl(e),Pl=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=Yl,Yl=16777216,Xl(e),Yl=t):Xl(e))}}function Zl(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function Jl(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];kl=r,tc(r,e)}Zl(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Ql(e),e=e.sibling}function Ql(e){switch(e.tag){case 0:case 11:case 15:Jl(e),2048&e.flags&&cl(9,e,e.return);break;case 3:case 12:default:Jl(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,ec(e)):Jl(e)}}function ec(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var r=t[n];kl=r,tc(r,e)}Zl(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:cl(8,t,t.return),ec(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,ec(t));break;default:ec(t)}e=e.sibling}}function tc(e,t){for(;null!==kl;){var n=kl;switch(n.tag){case 0:case 11:case 15:cl(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var r=n.memoizedState.cachePool.pool;null!=r&&r.refCount++}break;case 24:Ma(n.memoizedState.cache)}if(null!==(r=n.child))r.return=n,kl=r;else e:for(n=e;null!==kl;){var a=(r=kl).sibling,o=r.return;if(Al(r),r===n){kl=null;break e}if(null!==a){a.return=o,kl=a;break e}kl=o}}}var nc={getCacheForType:function(e){var t=Ia(Da),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},rc="function"==typeof WeakMap?WeakMap:Map,ac=0,oc=null,ic=null,sc=0,lc=0,cc=null,uc=!1,dc=!1,pc=!1,fc=0,mc=0,hc=0,gc=0,bc=0,yc=0,vc=0,xc=null,Sc=null,wc=!1,Ec=0,Cc=1/0,kc=null,Tc=null,Ac=0,Ic=null,Nc=null,_c=0,Rc=0,Oc=null,Lc=null,Dc=0,Pc=null;function Mc(){if(2&ac&&0!==sc)return sc&-sc;if(null!==M.T){return 0!==za?za:Ru()}return Oe()}function jc(){0===yc&&(yc=536870912&sc&&!sa?536870912:Ce());var e=is.current;return null!==e&&(e.flags|=32),yc}function Fc(e,t,n){(e!==oc||2!==lc&&9!==lc)&&null===e.cancelPendingCommit||(Wc(e,0),Uc(e,sc,yc,!1)),Ae(e,n),2&ac&&e===oc||(e===oc&&(!(2&ac)&&(gc|=n),4===mc&&Uc(e,sc,yc,!1)),Cu(e))}function zc(e,t,n){if(6&ac)throw Error(r(327));for(var a=!n&&!(124&t)&&0===(t&e.expiredLanes)||we(e,t),o=a?function(e,t){var n=ac;ac|=2;var a=qc(),o=Yc();oc!==e||sc!==t?(kc=null,Cc=re()+500,Wc(e,t)):dc=we(e,t);e:for(;;)try{if(0!==lc&&null!==ic){t=ic;var i=cc;t:switch(lc){case 1:lc=0,cc=null,tu(e,t,i,1);break;case 2:case 9:if(Za(i)){lc=0,cc=null,eu(t);break}t=function(){2!==lc&&9!==lc||oc!==e||(lc=7),Cu(e)},i.then(t,t);break e;case 3:lc=7;break e;case 4:lc=5;break e;case 7:Za(i)?(lc=0,cc=null,eu(t)):(lc=0,cc=null,tu(e,t,i,7));break;case 5:var s=null;switch(ic.tag){case 26:s=ic.memoizedState;case 5:case 27:var l=ic;if(!s||Hd(s)){lc=0,cc=null;var c=l.sibling;if(null!==c)ic=c;else{var u=l.return;null!==u?(ic=u,nu(u)):ic=null}break t}}lc=0,cc=null,tu(e,t,i,5);break;case 6:lc=0,cc=null,tu(e,t,i,6);break;case 8:Vc(),mc=6;break e;default:throw Error(r(462))}}Jc();break}catch(d){Gc(e,d)}return xa=va=null,M.H=a,M.A=o,ac=n,null!==ic?0:(oc=null,sc=0,_r(),mc)}(e,t):Kc(e,t,!0),i=a;;){if(0===o){dc&&!a&&Uc(e,t,0,!1);break}if(n=e.current.alternate,!i||Bc(n)){if(2===o){if(i=t,e.errorRecoveryDisabledLanes&i)var s=0;else s=0!==(s=-536870913&e.pendingLanes)?s:536870912&s?536870912:0;if(0!==s){t=s;e:{var l=e;o=xc;var c=l.current.memoizedState.isDehydrated;if(c&&(Wc(l,s).flags|=256),2!==(s=Kc(l,s,!1))){if(pc&&!c){l.errorRecoveryDisabledLanes|=i,gc|=i,o=4;break e}i=Sc,Sc=o,null!==i&&(null===Sc?Sc=i:Sc.push.apply(Sc,i))}o=s}if(i=!1,2!==o)continue}}if(1===o){Wc(e,0),Uc(e,t,0,!0);break}e:{switch(a=e,i=o){case 0:case 1:throw Error(r(345));case 4:if((4194048&t)!==t)break;case 6:Uc(a,t,yc,!uc);break e;case 2:Sc=null;break;case 3:case 5:break;default:throw Error(r(329))}if((62914560&t)===t&&10<(o=Ec+300-re())){if(Uc(a,t,yc,!uc),0!==Se(a,0,!0))break e;a.timeoutHandle=ud($c.bind(null,a,n,Sc,kc,wc,t,yc,gc,vc,uc,i,2,-0,0),o)}else $c(a,n,Sc,kc,wc,t,yc,gc,vc,uc,i,0,-0,0)}break}o=Kc(e,t,!1),i=!1}Cu(e)}function $c(e,t,n,a,o,i,s,l,c,u,d,p,f,m){if(e.timeoutHandle=-1,(8192&(p=t.subtreeFlags)||!(16785408&~p))&&(Vd={stylesheets:null,count:0,unsuspend:Wd},Kl(t),null!==(p=function(){if(null===Vd)throw Error(r(475));var e=Vd;return e.stylesheets&&0===e.count&&Yd(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Yd(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=p(au.bind(null,e,t,i,n,a,o,s,l,c,d,1,f,m)),void Uc(e,i,s,!u);au(e,t,i,n,a,o,s,l,c)}function Bc(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&(null!==(n=t.updateQueue)&&null!==(n=n.stores)))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!Zn(o(),a))return!1}catch(i){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Uc(e,t,n,r){t&=~bc,t&=~gc,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var a=t;0<a;){var o=31-he(a),i=1<<o;r[o]=-1,a&=~i}0!==n&&Ie(e,n,t)}function Hc(){return!!(6&ac)||(ku(0),!1)}function Vc(){if(null!==ic){if(0===lc)var e=ic.return;else xa=va=null,$o(e=ic),Zi=null,Ji=0,e=ic;for(;null!==e;)sl(e.alternate,e),e=e.return;ic=null}}function Wc(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,dd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Vc(),oc=e,ic=n=$r(e.current,null),sc=t,lc=0,cc=null,uc=!1,dc=we(e,t),pc=!1,vc=yc=bc=gc=hc=mc=0,Sc=xc=null,wc=!1,8&t&&(t|=32&t);var r=e.entangledLanes;if(0!==r)for(e=e.entanglements,r&=t;0<r;){var a=31-he(r),o=1<<a;t|=e[a],r&=~o}return fc=t,_r(),n}function Gc(e,t){wo=null,M.H=qi,t===qa||t===Xa?(t=to(),lc=3):t===Ya?(t=to(),lc=4):lc=t===Is?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,cc=t,null===ic&&(mc=1,Es(e,Tr(t,e.current)))}function qc(){var e=M.H;return M.H=qi,null===e?qi:e}function Yc(){var e=M.A;return M.A=nc,e}function Xc(){mc=4,uc||(4194048&sc)!==sc&&null!==is.current||(dc=!0),!(134217727&hc)&&!(134217727&gc)||null===oc||Uc(oc,sc,yc,!1)}function Kc(e,t,n){var r=ac;ac|=2;var a=qc(),o=Yc();oc===e&&sc===t||(kc=null,Wc(e,t)),t=!1;var i=mc;e:for(;;)try{if(0!==lc&&null!==ic){var s=ic,l=cc;switch(lc){case 8:Vc(),i=6;break e;case 3:case 2:case 9:case 6:null===is.current&&(t=!0);var c=lc;if(lc=0,cc=null,tu(e,s,l,c),n&&dc){i=0;break e}break;default:c=lc,lc=0,cc=null,tu(e,s,l,c)}}Zc(),i=mc;break}catch(u){Gc(e,u)}return t&&e.shellSuspendCounter++,xa=va=null,ac=r,M.H=a,M.A=o,null===ic&&(oc=null,sc=0,_r()),i}function Zc(){for(;null!==ic;)Qc(ic)}function Jc(){for(;null!==ic&&!te();)Qc(ic)}function Qc(e){var t=Qs(e.alternate,e,fc);e.memoizedProps=e.pendingProps,null===t?nu(e):ic=t}function eu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Fs(n,t,t.pendingProps,t.type,void 0,sc);break;case 11:t=Fs(n,t,t.pendingProps,t.type.render,t.ref,sc);break;case 5:$o(t);default:sl(n,t),t=Qs(n,t=ic=Br(t,fc),fc)}e.memoizedProps=e.pendingProps,null===t?nu(e):ic=t}function tu(e,t,n,a){xa=va=null,$o(t),Zi=null,Ji=0;var o=t.return;try{if(function(e,t,n,a,o){if(n.flags|=32768,null!==a&&"object"==typeof a&&"function"==typeof a.then){if(null!==(t=n.alternate)&&ka(t,n,o,!0),null!==(n=is.current)){switch(n.tag){case 13:return null===ss?Xc():null===n.alternate&&0===mc&&(mc=3),n.flags&=-257,n.flags|=65536,n.lanes=o,a===Ka?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([a]):t.add(a),fu(e,a,o)),!1;case 22:return n.flags|=65536,a===Ka?n.flags|=16384:(null===(t=n.updateQueue)?(t={transitions:null,markerInstances:null,retryQueue:new Set([a])},n.updateQueue=t):null===(n=t.retryQueue)?t.retryQueue=new Set([a]):n.add(a),fu(e,a,o)),!1}throw Error(r(435,n.tag))}return fu(e,a,o),Xc(),!1}if(sa)return null!==(t=is.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=o,a!==ua&&ba(Tr(e=Error(r(422),{cause:a}),n))):(a!==ua&&ba(Tr(t=Error(r(423),{cause:a}),n)),(e=e.current.alternate).flags|=65536,o&=-o,e.lanes|=o,a=Tr(a,n),co(e,o=ks(e.stateNode,a,o)),4!==mc&&(mc=2)),!1;var i=Error(r(520),{cause:a});if(i=Tr(i,n),null===xc?xc=[i]:xc.push(i),4!==mc&&(mc=2),null===t)return!0;a=Tr(a,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=o&-o,n.lanes|=e,co(n,e=ks(n.stateNode,a,e)),!1;case 1:if(t=n.type,i=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===i||"function"!=typeof i.componentDidCatch||null!==Tc&&Tc.has(i))))return n.flags|=65536,o&=-o,n.lanes|=o,As(o=Ts(o),e,n,a),co(n,o),!1}n=n.return}while(null!==n);return!1}(e,o,t,n,sc))return mc=1,Es(e,Tr(n,e.current)),void(ic=null)}catch(i){if(null!==o)throw ic=o,i;return mc=1,Es(e,Tr(n,e.current)),void(ic=null)}32768&t.flags?(sa||1===a?e=!0:dc||536870912&sc?e=!1:(uc=e=!0,(2===a||9===a||3===a||6===a)&&(null!==(a=is.current)&&13===a.tag&&(a.flags|=16384))),ru(t,e)):nu(t)}function nu(e){var t=e;do{if(32768&t.flags)return void ru(t,uc);e=t.return;var n=ol(t.alternate,t,fc);if(null!==n)return void(ic=n);if(null!==(t=t.sibling))return void(ic=t);ic=t=e}while(null!==t);0===mc&&(mc=5)}function ru(e,t){do{var n=il(e.alternate,e);if(null!==n)return n.flags&=32767,void(ic=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(ic=e);ic=e=n}while(null!==e);mc=6,ic=null}function au(e,t,n,a,o,i,s,l,c){e.cancelPendingCommit=null;do{cu()}while(0!==Ac);if(6&ac)throw Error(r(327));if(null!==t){if(t===e.current)throw Error(r(177));if(i=t.lanes|t.childLanes,function(e,t,n,r,a,o){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,l=e.expirationTimes,c=e.hiddenUpdates;for(n=i&~n;0<n;){var u=31-he(n),d=1<<u;s[u]=0,l[u]=-1;var p=c[u];if(null!==p)for(c[u]=null,u=0;u<p.length;u++){var f=p[u];null!==f&&(f.lane&=-536870913)}n&=~d}0!==r&&Ie(e,r,0),0!==o&&0===a&&0!==e.tag&&(e.suspendedLanes|=o&~(i&~t))}(e,n,i|=Nr,s,l,c),e===oc&&(ic=oc=null,sc=0),Nc=t,Ic=e,_c=n,Rc=i,Oc=o,Lc=a,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,Q(se,function(){return uu(),null})):(e.callbackNode=null,e.callbackPriority=0),a=!!(13878&t.flags),13878&t.subtreeFlags||a){a=M.T,M.T=null,o=j.p,j.p=2,s=ac,ac|=4;try{!function(e,t){if(e=e.containerInfo,rd=ap,rr(e=nr(e))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var a=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(a&&0!==a.rangeCount){n=a.anchorNode;var o=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{n.nodeType,i.nodeType}catch(g){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var m;p!==n||0!==o&&3!==p.nodeType||(l=s+o),p!==i||0!==a&&3!==p.nodeType||(c=s+a),3===p.nodeType&&(s+=p.nodeValue.length),null!==(m=p.firstChild);)f=p,p=m;for(;;){if(p===e)break t;if(f===n&&++u===o&&(l=s),f===i&&++d===a&&(c=s),null!==(m=p.nextSibling))break;f=(p=f).parentNode}p=m}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ad={focusedElem:e,selectionRange:n},ap=!1,kl=t;null!==kl;)if(e=(t=kl).child,1024&t.subtreeFlags&&null!==e)e.return=t,kl=e;else for(;null!==kl;){switch(i=(t=kl).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==i){e=void 0,n=t,o=i.memoizedProps,i=i.memoizedState,a=n.stateNode;try{var h=ys(n.type,o,(n.elementType,n.type));e=a.getSnapshotBeforeUpdate(h,i),a.__reactInternalSnapshotBeforeUpdate=e}catch(b){pu(n,n.return,b)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))bd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":bd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(r(163))}if(null!==(e=t.sibling)){e.return=t.return,kl=e;break}kl=t.return}}(e,t)}finally{ac=s,j.p=o,M.T=a}}Ac=1,ou(),iu(),su()}}function ou(){if(1===Ac){Ac=0;var e=Ic,t=Nc,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=M.T,M.T=null;var r=j.p;j.p=2;var a=ac;ac|=4;try{Ml(t,e);var o=ad,i=nr(e.containerInfo),s=o.focusedElem,l=o.selectionRange;if(i!==s&&s&&s.ownerDocument&&tr(s.ownerDocument.documentElement,s)){if(null!==l&&rr(s)){var c=l.start,u=l.end;if(void 0===u&&(u=c),"selectionStart"in s)s.selectionStart=c,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,p=d&&d.defaultView||window;if(p.getSelection){var f=p.getSelection(),m=s.textContent.length,h=Math.min(l.start,m),g=void 0===l.end?h:Math.min(l.end,m);!f.extend&&h>g&&(i=g,g=h,h=i);var b=er(s,h),y=er(s,g);if(b&&y&&(1!==f.rangeCount||f.anchorNode!==b.node||f.anchorOffset!==b.offset||f.focusNode!==y.node||f.focusOffset!==y.offset)){var v=d.createRange();v.setStart(b.node,b.offset),f.removeAllRanges(),h>g?(f.addRange(v),f.extend(y.node,y.offset)):(v.setEnd(y.node,y.offset),f.addRange(v))}}}}for(d=[],f=s;f=f.parentNode;)1===f.nodeType&&d.push({element:f,left:f.scrollLeft,top:f.scrollTop});for("function"==typeof s.focus&&s.focus(),s=0;s<d.length;s++){var x=d[s];x.element.scrollLeft=x.left,x.element.scrollTop=x.top}}ap=!!rd,ad=rd=null}finally{ac=a,j.p=r,M.T=n}}e.current=t,Ac=2}}function iu(){if(2===Ac){Ac=0;var e=Ic,t=Nc,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=M.T,M.T=null;var r=j.p;j.p=2;var a=ac;ac|=4;try{Tl(e,t.alternate,t)}finally{ac=a,j.p=r,M.T=n}}Ac=3}}function su(){if(4===Ac||3===Ac){Ac=0,ne();var e=Ic,t=Nc,n=_c,r=Lc;10256&t.subtreeFlags||10256&t.flags?Ac=5:(Ac=0,Nc=Ic=null,lu(e,e.pendingLanes));var a=e.pendingLanes;if(0===a&&(Tc=null),Re(n),t=t.stateNode,fe&&"function"==typeof fe.onCommitFiberRoot)try{fe.onCommitFiberRoot(pe,t,void 0,!(128&~t.current.flags))}catch(l){}if(null!==r){t=M.T,a=j.p,j.p=2,M.T=null;try{for(var o=e.onRecoverableError,i=0;i<r.length;i++){var s=r[i];o(s.value,{componentStack:s.stack})}}finally{M.T=t,j.p=a}}3&_c&&cu(),Cu(e),a=e.pendingLanes,4194090&n&&42&a?e===Pc?Dc++:(Dc=0,Pc=e):Dc=0,ku(0)}}function lu(e,t){0===(e.pooledCacheLanes&=t)&&(null!=(t=e.pooledCache)&&(e.pooledCache=null,Ma(t)))}function cu(e){return ou(),iu(),su(),uu()}function uu(){if(5!==Ac)return!1;var e=Ic,t=Rc;Rc=0;var n=Re(_c),a=M.T,o=j.p;try{j.p=32>n?32:n,M.T=null,n=Oc,Oc=null;var i=Ic,s=_c;if(Ac=0,Nc=Ic=null,_c=0,6&ac)throw Error(r(331));var l=ac;if(ac|=4,Ql(i.current),Wl(i,i.current,s,n),ac=l,ku(0,!1),fe&&"function"==typeof fe.onPostCommitFiberRoot)try{fe.onPostCommitFiberRoot(pe,i)}catch(c){}return!0}finally{j.p=o,M.T=a,lu(e,t)}}function du(e,t,n){t=Tr(n,t),null!==(e=so(e,t=ks(e.stateNode,t,2),2))&&(Ae(e,2),Cu(e))}function pu(e,t,n){if(3===e.tag)du(e,e,n);else for(;null!==t;){if(3===t.tag){du(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Tc||!Tc.has(r))){e=Tr(n,e),null!==(r=so(t,n=Ts(2),2))&&(As(n,r,t,e),Ae(r,2),Cu(r));break}}t=t.return}}function fu(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new rc;var a=new Set;r.set(t,a)}else void 0===(a=r.get(t))&&(a=new Set,r.set(t,a));a.has(n)||(pc=!0,a.add(n),e=mu.bind(null,e,t,n),t.then(e,e))}function mu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,oc===e&&(sc&n)===n&&(4===mc||3===mc&&(62914560&sc)===sc&&300>re()-Ec?!(2&ac)&&Wc(e,0):bc|=n,vc===sc&&(vc=0)),Cu(e)}function hu(e,t){0===t&&(t=ke()),null!==(e=Lr(e,t))&&(Ae(e,t),Cu(e))}function gu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),hu(e,n)}function bu(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(r(314))}null!==a&&a.delete(t),hu(e,n)}var yu=null,vu=null,xu=!1,Su=!1,wu=!1,Eu=0;function Cu(e){e!==vu&&null===e.next&&(null===vu?yu=vu=e:vu=vu.next=e),Su=!0,xu||(xu=!0,fd(function(){6&ac?Q(oe,Tu):Au()}))}function ku(e,t){if(!wu&&Su){wu=!0;do{for(var n=!1,r=yu;null!==r;){if(0!==e){var a=r.pendingLanes;if(0===a)var o=0;else{var i=r.suspendedLanes,s=r.pingedLanes;o=(1<<31-he(42|e)+1)-1,o=201326741&(o&=a&~(i&~s))?201326741&o|1:o?2|o:0}0!==o&&(n=!0,_u(r,o))}else o=sc,!(3&(o=Se(r,r===oc?o:0,null!==r.cancelPendingCommit||-1!==r.timeoutHandle)))||we(r,o)||(n=!0,_u(r,o));r=r.next}}while(n);wu=!1}}function Tu(){Au()}function Au(){Su=xu=!1;var e=0;0!==Eu&&(function(){var e=window.event;if(e&&"popstate"===e.type)return e!==cd&&(cd=e,!0);return cd=null,!1}()&&(e=Eu),Eu=0);for(var t=re(),n=null,r=yu;null!==r;){var a=r.next,o=Iu(r,t);0===o?(r.next=null,null===n?yu=a:n.next=a,null===a&&(vu=n)):(n=r,(0!==e||3&o)&&(Su=!0)),r=a}ku(e)}function Iu(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=-62914561&e.pendingLanes;0<o;){var i=31-he(o),s=1<<i,l=a[i];-1===l?0!==(s&n)&&0===(s&r)||(a[i]=Ee(s,t)):l<=t&&(e.expiredLanes|=s),o&=~s}if(n=sc,n=Se(e,e===(t=oc)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),r=e.callbackNode,0===n||e===t&&(2===lc||9===lc)||null!==e.cancelPendingCommit)return null!==r&&null!==r&&ee(r),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||we(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==r&&ee(r),Re(n)){case 2:case 8:n=ie;break;case 32:default:n=se;break;case 268435456:n=ce}return r=Nu.bind(null,e),n=Q(n,r),e.callbackPriority=t,e.callbackNode=n,t}return null!==r&&null!==r&&ee(r),e.callbackPriority=2,e.callbackNode=null,2}function Nu(e,t){if(0!==Ac&&5!==Ac)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(cu()&&e.callbackNode!==n)return null;var r=sc;return 0===(r=Se(e,e===oc?r:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(zc(e,r,t),Iu(e,re()),null!=e.callbackNode&&e.callbackNode===n?Nu.bind(null,e):null)}function _u(e,t){if(cu())return null;zc(e,t,!0)}
vendor: 4,154 bytes, line 1
1function Ru(){return 0===Eu&&(Eu=Ce()),Eu}function Ou(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Rt(""+e)}function Lu(e,t){var n=t.ownerDocument.createElement("input");return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Du=0;Du<Er.length;Du++){var Pu=Er[Du];Cr(Pu.toLowerCase(),"on"+(Pu[0].toUpperCase()+Pu.slice(1)))}Cr(hr,"onAnimationEnd"),Cr(gr,"onAnimationIteration"),Cr(br,"onAnimationStart"),Cr("dblclick","onDoubleClick"),Cr("focusin","onFocus"),Cr("focusout","onBlur"),Cr(yr,"onTransitionRun"),Cr(vr,"onTransitionStart"),Cr(xr,"onTransitionCancel"),Cr(Sr,"onTransitionEnd"),Ze("onMouseEnter",["mouseout","mouseover"]),Ze("onMouseLeave",["mouseout","mouseover"]),Ze("onPointerEnter",["pointerout","pointerover"]),Ze("onPointerLeave",["pointerout","pointerover"]),Ke("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ke("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ke("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ke("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ke("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ke("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mu="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(" "),ju=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Mu));function Fu(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var s=r[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==o&&a.isPropagationStopped())break e;o=s,a.currentTarget=c;try{o(a)}catch(u){vs(u)}a.currentTarget=null,o=l}else for(i=0;i<r.length;i++){if(l=(s=r[i]).instance,c=s.currentTarget,s=s.listener,l!==o&&a.isPropagationStopped())break e;o=s,a.currentTarget=c;try{o(a)}catch(u){vs(u)}a.currentTarget=null,o=l}}}}function zu(e,t){var n=t[je];void 0===n&&(n=t[je]=new Set);var r=e+"__bubble";n.has(r)||(Hu(t,e,2,!1),n.add(r))}function $u(e,t,n){var r=0;t&&(r|=4),Hu(n,e,r,t)}var Bu="_reactListening"+Math.random().toString(36).slice(2);function Uu(e){if(!e[Bu]){e[Bu]=!0,Ye.forEach(function(t){"selectionchange"!==t&&(ju.has(t)||$u(t,!1,e),$u(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Bu]||(t[Bu]=!0,$u("selectionchange",!1,t))}}function Hu(e,t,n,r){switch(dp(t)){case 2:var a=op;break;case 8:a=ip;break;default:a=sp}n=a.bind(null,t,n,e),a=void 0,!Bt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Vu(e,t,n,r,a){var i=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var s=r.tag;if(3===s||4===s){var l=r.stateNode.containerInfo;if(l===a)break;if(4===s)for(s=r.return;null!==s;){var c=s.tag;if((3===c||4===c)&&s.stateNode.containerInfo===a)return;s=s.return}for(;null!==l;){if(null===(s=He(l)))return;if(5===(c=s.tag)||6===c||26===c||27===c){r=i=s;continue e}l=l.parentNode}}r=r.return}Ft(function(){var r=i,a=Lt(n),s=[];e:{var l=wr.get(e);if(void 0!==l){var c=tn,u=e;switch(e){case"keypress":if(0===qt(n))break e;case"keydown":case"keyup":c=bn;break;case"focusin":u="focus",c=ln;break;case"focusout":u="blur",c=ln;break;case"beforeblur":case"afterblur":c=ln;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":c=on;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":c=sn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":c=v
vendor: 5,286 bytes, line 1
1n;break;case hr:case gr:case br:c=cn;break;case Sr:c=xn;break;case"scroll":case"scrollend":c=rn;break;case"wheel":c=Sn;break;case"copy":case"cut":case"paste":c=un;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":c=yn;break;case"toggle":case"beforetoggle":c=wn}var d=!!(4&t),p=!d&&("scroll"===e||"scrollend"===e),f=d?null!==l?l+"Capture":null:l;d=[];for(var m,h=r;null!==h;){var g=h;if(m=g.stateNode,5!==(g=g.tag)&&26!==g&&27!==g||null===m||null===f||null!=(g=zt(h,f))&&d.push(Wu(h,g,m)),p)break;h=h.return}0<d.length&&(l=new c(l,u,null,n,a),s.push({event:l,listeners:d}))}}if(!(7&t)){if(c="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===Ot||!(u=n.relatedTarget||n.fromElement)||!He(u)&&!u[Me])&&(c||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,c?(c=r,null!==(u=(u=n.relatedTarget||n.toElement)?He(u):null)&&(p=o(u),d=u.tag,u!==p||5!==d&&27!==d&&6!==d)&&(u=null)):(c=null,u=r),c!==u)){if(d=on,g="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(d=yn,g="onPointerLeave",f="onPointerEnter",h="pointer"),p=null==c?l:We(c),m=null==u?l:We(u),(l=new d(g,h+"leave",c,n,a)).target=p,l.relatedTarget=m,g=null,He(a)===r&&((d=new d(f,h+"enter",u,n,a)).target=m,d.relatedTarget=p,g=d),p=g,c&&u)e:{for(f=u,h=0,m=d=c;m;m=qu(m))h++;for(m=0,g=f;g;g=qu(g))m++;for(;0<h-m;)d=qu(d),h--;for(;0<m-h;)f=qu(f),m--;for(;h--;){if(d===f||null!==f&&d===f.alternate)break e;d=qu(d),f=qu(f)}d=null}else d=null;null!==c&&Yu(s,l,c,d,!1),null!==u&&null!==p&&Yu(s,p,u,d,!0)}if("select"===(c=(l=r?We(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===c&&"file"===l.type)var b=$n;else if(Dn(l))if(Bn)b=Kn;else{b=Yn;var y=qn}else!(c=l.nodeName)||"input"!==c.toLowerCase()||"checkbox"!==l.type&&"radio"!==l.type?r&&It(r.elementType)&&(b=$n):b=Xn;switch(b&&(b=b(e,r))?Pn(s,b,n,a):(y&&y(e,l,r),"focusout"===e&&r&&"number"===l.type&&null!=r.memoizedProps.value&&xt(l,"number",l.value)),y=r?We(r):window,e){case"focusin":(Dn(y)||"true"===y.contentEditable)&&(or=y,ir=r,sr=null);break;case"focusout":sr=ir=or=null;break;case"mousedown":lr=!0;break;case"contextmenu":case"mouseup":case"dragend":lr=!1,cr(s,n,a);break;case"selectionchange":if(ar)break;case"keydown":case"keyup":cr(s,n,a)}var v;if(Cn)e:{switch(e){case"compositionstart":var x="onCompositionStart";break e;case"compositionend":x="onCompositionEnd";break e;case"compositionupdate":x="onCompositionUpdate";break e}x=void 0}else On?_n(e,n)&&(x="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(x="onCompositionStart");x&&(An&&"ko"!==n.locale&&(On||"onCompositionStart"!==x?"onCompositionEnd"===x&&On&&(v=Gt()):(Vt="value"in(Ht=a)?Ht.value:Ht.textContent,On=!0)),0<(y=Gu(r,x)).length&&(x=new dn(x,e,null,n,a),s.push({event:x,listeners:y}),v?x.data=v:null!==(v=Rn(n))&&(x.data=v))),(v=Tn?function(e,t){switch(e){case"compositionend":return Rn(t);case"keypress":return 32!==t.which?null:(Nn=!0,In);case"textInput":return(e=t.data)===In&&Nn?null:e;default:return null}}(e,n):function(e,t){if(On)return"compositionend"===e||!Cn&&_n(e,t)?(e=Gt(),Wt=Vt=Ht=null,On=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return An&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(x=Gu(r,"onBeforeInput")).length&&(y=new dn("onBeforeInput","beforeinput",null,n,a),s.push({event:y,listeners:x}),y.data=v)),function(e,t,n,r,a){if("submit"===t&&n&&n.stateNode===a){var o=Ou((a[Pe]||null).action),i=r.submitter;i&&null!==(t=(t=i[Pe]||null)?Ou(t.formAction):i.getAttribute("formAction"))&&(o=t,i=null);var s=new tn("action","action",null,r,a);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(0!==Eu){var e=i?Lu(a,i):new FormData(a);Li(n,{pending:!0,data:e,method:a.method,action:o},null,e)}}else"function"==typeof o&&(s.preventDefault(),e=i?Lu(a,i):new FormData(a),Li(n,{pending:!0,data:e,method:a.method,action:o},o,e))},currentTarget:a}]})}}(s,e,r,n,a)}Fu(s,t)})}function Wu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Gu(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===o||(null!=(a=zt(e,n))&&r.unshift(Wu(e,a,o)),null!=(a=zt(e,t))&&r.push(Wu(e,a,o))),3===e.tag)return r;e=e.return}return[]}function qu(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Yu(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(s=s.tag,null!==l&&l===r)break;5!==s&&26!==s&&27!==s||null===c||(l=c,a?null!=(c=zt(n,o))&&i.unshift(Wu(n,c,l)):a||null!=(c=zt(n,o))&&i.push(Wu(n,c,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Xu=/\r\n?/g,Ku=/\u0000|\uFFFD/g;function Zu(e){return("string"==typeof e?e:""+e).replace(Xu,"\n").replace(Ku,"")}function Ju(e,t){return t=Zu(t),Zu(e)===t}function Qu(){}function ed(e,t,n,a,o,i){switch(n){case"children":"string"==typeof a?"body"===t||"textarea"===t&&""===a||Ct(e,a):("number"==typeof a||"bigint"==typeof a)&&"body"!==t&&Ct(e,""+a);break;
vendor: 4,239 bytes, line 1
1case"className":at(e,"class",a);break;case"tabIndex":at(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":at(e,n,a);break;case"style":At(e,a,i);break;case"data":if("object"!==t){at(e,"data",a);break}case"src":case"href":if(""===a&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==a||"function"==typeof a||"symbol"==typeof a||"boolean"==typeof a){e.removeAttribute(n);break}a=Rt(""+a),e.setAttribute(n,a);break;case"action":case"formAction":if("function"==typeof a){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&ed(e,t,"name",o.name,o,null),ed(e,t,"formEncType",o.formEncType,o,null),ed(e,t,"formMethod",o.formMethod,o,null),ed(e,t,"formTarget",o.formTarget,o,null)):(ed(e,t,"encType",o.encType,o,null),ed(e,t,"method",o.method,o,null),ed(e,t,"target",o.target,o,null))),null==a||"symbol"==typeof a||"boolean"==typeof a){e.removeAttribute(n);break}a=Rt(""+a),e.setAttribute(n,a);break;case"onClick":null!=a&&(e.onclick=Qu);break;case"onScroll":null!=a&&zu("scroll",e);break;case"onScrollEnd":null!=a&&zu("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=a){if("object"!=typeof a||!("__html"in a))throw Error(r(61));if(null!=(n=a.__html)){if(null!=o.children)throw Error(r(60));e.innerHTML=n}}break;case"multiple":e.multiple=a&&"function"!=typeof a&&"symbol"!=typeof a;break;case"muted":e.muted=a&&"function"!=typeof a&&"symbol"!=typeof a;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==a||"function"==typeof a||"boolean"==typeof a||"symbol"==typeof a){e.removeAttribute("xlink:href");break}n=Rt(""+a),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=a&&"function"!=typeof a&&"symbol"!=typeof a?e.setAttribute(n,""+a):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&"function"!=typeof a&&"symbol"!=typeof a?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===a?e.setAttribute(n,""):!1!==a&&null!=a&&"function"!=typeof a&&"symbol"!=typeof a?e.setAttribute(n,a):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&!isNaN(a)&&1<=a?e.setAttribute(n,a):e.removeAttribute(n);break;case"rowSpan":case"start":null==a||"function"==typeof a||"symbol"==typeof a||isNaN(a)?e.removeAttribute(n):e.setAttribute(n,a);break;case"popover":zu("beforetoggle",e),zu("toggle",e),rt(e,"popover",a);break;case"xlinkActuate":ot(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":ot(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":ot(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":ot(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":ot(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":ot(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":ot(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":ot(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":ot(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":rt(e,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&&rt(e,n=Nt.get(n)||n,a)}}function td(e,t,n,a,o,i){switch(n){case"style":At(e,a,i);break;
vendor: 4,386 bytes, line 1
1case"dangerouslySetInnerHTML":if(null!=a){if("object"!=typeof a||!("__html"in a))throw Error(r(61));if(null!=(n=a.__html)){if(null!=o.children)throw Error(r(60));e.innerHTML=n}}break;case"children":"string"==typeof a?Ct(e,a):("number"==typeof a||"bigint"==typeof a)&&Ct(e,""+a);break;case"onScroll":null!=a&&zu("scroll",e);break;case"onScrollEnd":null!=a&&zu("scrollend",e);break;case"onClick":null!=a&&(e.onclick=Qu);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:Xe.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(o=n.endsWith("Capture"),t=n.slice(2,o?n.length-7:void 0),"function"==typeof(i=null!=(i=e[Pe]||null)?i[n]:null)&&e.removeEventListener(t,i,o),"function"!=typeof a)?n in e?e[n]=a:!0===a?e.setAttribute(n,""):rt(e,n,a):("function"!=typeof i&&null!==i&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,a,o)))}}function nd(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":zu("error",e),zu("load",e);var a,o=!1,i=!1;for(a in n)if(n.hasOwnProperty(a)){var s=n[a];if(null!=s)switch(a){case"src":o=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:ed(e,t,a,s,n,null)}}return i&&ed(e,t,"srcSet",n.srcSet,n,null),void(o&&ed(e,t,"src",n.src,n,null));case"input":zu("invalid",e);var l=a=s=i=null,c=null,u=null;for(o in n)if(n.hasOwnProperty(o)){var d=n[o];if(null!=d)switch(o){case"name":i=d;break;case"type":s=d;break;case"checked":c=d;break;case"defaultChecked":u=d;break;case"value":a=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(r(137,t));break;default:ed(e,t,o,d,n,null)}}return vt(e,a,l,c,u,s,i,!1),void ft(e);case"select":for(i in zu("invalid",e),o=s=a=null,n)if(n.hasOwnProperty(i)&&null!=(l=n[i]))switch(i){case"value":a=l;break;case"defaultValue":s=l;break;case"multiple":o=l;default:ed(e,t,i,l,n,null)}return t=a,n=s,e.multiple=!!o,void(null!=t?St(e,!!o,t,!1):null!=n&&St(e,!!o,n,!0));case"textarea":for(s in zu("invalid",e),a=i=o=null,n)if(n.hasOwnProperty(s)&&null!=(l=n[s]))switch(s){case"value":o=l;break;case"defaultValue":i=l;break;case"children":a=l;break;case"dangerouslySetInnerHTML":if(null!=l)throw Error(r(91));break;default:ed(e,t,s,l,n,null)}return Et(e,o,i,a),void ft(e);case"option":for(c in n)if(n.hasOwnProperty(c)&&null!=(o=n[c]))if("selected"===c)e.selected=o&&"function"!=typeof o&&"symbol"!=typeof o;else ed(e,t,c,o,n,null);return;case"dialog":zu("beforetoggle",e),zu("toggle",e),zu("cancel",e),zu("close",e);break;case"iframe":case"object":zu("load",e);break;case"video":case"audio":for(o=0;o<Mu.length;o++)zu(Mu[o],e);break;case"image":zu("error",e),zu("load",e);break;case"details":zu("toggle",e);break;case"embed":case"source":case"link":zu("error",e),zu("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(o=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,t));default:ed(e,t,u,o,n,null)}return;default:if(It(t)){for(d in n)n.hasOwnProperty(d)&&(void 0!==(o=n[d])&&td(e,t,d,o,n,void 0));return}}for(l in n)n.hasOwnProperty(l)&&(null!=(o=n[l])&&ed(e,t,l,o,n,null))}var rd=null,ad=null;function od(e){return 9===e.nodeType?e:e.ownerDocument}function id(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function sd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function ld(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var cd=null;var ud="function"==typeof setTimeout?setTimeout:void 0,dd="function"==typeof clearTimeout?clearTimeout:void 0,pd="function"==typeof Promise?Promise:void 0,fd="function"==typeof queueMicrotask?queueMicrotask:void 0!==pd?function(e){return pd.resolve(null).then(e).catch(md)}:ud;function md(e){setTimeout(function(){throw e})}function hd(e){return"head"===e}function gd(e,t){var n=t,r=0,a=0;do{var o=n.nextSibling;
vendor: 9,218 bytes, line 1
1if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0<r&&8>r){n=r;var i=e.ownerDocument;if(1&n&&Ed(i.documentElement),2&n&&Ed(i.body),4&n)for(Ed(n=i.head),i=n.firstChild;i;){var s=i.nextSibling,l=i.nodeName;i[Be]||"SCRIPT"===l||"STYLE"===l||"LINK"===l&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=s}}if(0===a)return e.removeChild(o),void Np(t);a--}else"$"===n||"$?"===n||"$!"===n?a++:r=n.charCodeAt(0)-48;else r=0;n=o}while(n);Np(t)}function bd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":bd(n),Ue(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function yd(e){return"$!"===e.data||"$?"===e.data&&"complete"===e.ownerDocument.readyState}function vd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}var xd=null;function Sd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}function wd(e,t,n){switch(t=od(n),e){case"html":if(!(e=t.documentElement))throw Error(r(452));return e;case"head":if(!(e=t.head))throw Error(r(453));return e;case"body":if(!(e=t.body))throw Error(r(454));return e;default:throw Error(r(451))}}function Ed(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);Ue(e)}var Cd=new Map,kd=new Set;function Td(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var Ad=j.d;j.d={f:function(){var e=Ad.f(),t=Hc();return e||t},r:function(e){var t=Ve(e);null!==t&&5===t.tag&&"form"===t.type?Pi(t):Ad.r(e)},D:function(e){Ad.D(e),Nd("dns-prefetch",e,null)},C:function(e,t){Ad.C(e,t),Nd("preconnect",e,t)},L:function(e,t,n){Ad.L(e,t,n);var r=Id;if(r&&e&&t){var a='link[rel="preload"][as="'+bt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(a+='[imagesrcset="'+bt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(a+='[imagesizes="'+bt(n.imageSizes)+'"]')):a+='[href="'+bt(e)+'"]';var o=a;switch(t){case"style":o=Rd(e);break;case"script":o=Dd(e)}Cd.has(o)||(e=c({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),Cd.set(o,e),null!==r.querySelector(a)||"style"===t&&r.querySelector(Od(o))||"script"===t&&r.querySelector(Pd(o))||(nd(t=r.createElement("link"),"link",e),qe(t),r.head.appendChild(t)))}},m:function(e,t){Ad.m(e,t);var n=Id;if(n&&e){var r=t&&"string"==typeof t.as?t.as:"script",a='link[rel="modulepreload"][as="'+bt(r)+'"][href="'+bt(e)+'"]',o=a;switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":o=Dd(e)}if(!Cd.has(o)&&(e=c({rel:"modulepreload",href:e},t),Cd.set(o,e),null===n.querySelector(a))){switch(r){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Pd(o)))return}nd(r=n.createElement("link"),"link",e),qe(r),n.head.appendChild(r)}}},X:function(e,t){Ad.X(e,t);var n=Id;if(n&&e){var r=Ge(n).hoistableScripts,a=Dd(e),o=r.get(a);o||((o=n.querySelector(Pd(a)))||(e=c({src:e,async:!0},t),(t=Cd.get(a))&&zd(e,t),qe(o=n.createElement("script")),nd(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(a,o))}},S:function(e,t,n){Ad.S(e,t,n);var r=Id;if(r&&e){var a=Ge(r).hoistableStyles,o=Rd(e);t=t||"default";var i=a.get(o);if(!i){var s={loading:0,preload:null};if(i=r.querySelector(Od(o)))s.loading=5;else{e=c({rel:"stylesheet",href:e,"data-precedence":t},n),(n=Cd.get(o))&&Fd(e,n);var l=i=r.createElement("link");qe(l),nd(l,"link",e),l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),l.addEventListener("load",function(){s.loading|=1}),l.addEventListener("error",function(){s.loading|=2}),s.loading|=4,jd(i,t,r)}i={type:"stylesheet",instance:i,count:1,state:s},a.set(o,i)}}},M:function(e,t){Ad.M(e,t);var n=Id;if(n&&e){var r=Ge(n).hoistableScripts,a=Dd(e),o=r.get(a);o||((o=n.querySelector(Pd(a)))||(e=c({src:e,async:!0,type:"module"},t),(t=Cd.get(a))&&zd(e,t),qe(o=n.createElement("script")),nd(o,"link",e),n.head.appendChild(o)),o={type:"script",instance:o,count:1,state:null},r.set(a,o))}}};var Id="undefined"==typeof document?null:document;function Nd(e,t,n){var r=Id;if(r&&"string"==typeof t&&t){var a=bt(t);a='link[rel="'+e+'"][href="'+a+'"]',"string"==typeof n&&(a+='[crossorigin="'+n+'"]'),kd.has(a)||(kd.add(a),e={rel:e,crossOrigin:n,href:t},null===r.querySelector(a)&&(nd(t=r.createElement("link"),"link",e),qe(t),r.head.appendChild(t)))}}function _d(e,t,n,a){var o=(o=G.current)?Td(o):null;if(!o)throw Error(r(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Rd(n.href),(a=(n=Ge(o).hoistableStyles).get(t))||(a={type:"style",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Rd(n.href);var i=Ge(o).hoistableStyles,s=i.get(e);if(s||(o=o.ownerDocument||o,s={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,s),(i=o.querySelector(Od(e)))&&!i._p&&(s.instance=i,s.state.loading=5),Cd.has(e)||(n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},Cd.set(e,n),i||function(e,t,n,r){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?r.loading=1:(t=e.createElement("link"),r.preload=t,t.addEventListener("load",function(){return r.loading|=1}),t.addEventListener("error",function(){return r.loading|=2}),nd(t,"link",n),qe(t),e.head.appendChild(t))}(o,e,n,s.state))),t&&null===a)throw Error(r(528,""));return s}if(t&&null!==a)throw Error(r(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Dd(n),(a=(n=Ge(o).hoistableScripts).get(t))||(a={type:"script",instance:null,count:0,state:null},n.set(t,a)),a):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,e))}}function Rd(e){return'href="'+bt(e)+'"'}function Od(e){return'link[rel="stylesheet"]['+e+"]"}function Ld(e){return c({},e,{"data-precedence":e.precedence,precedence:null})}function Dd(e){return'[src="'+bt(e)+'"]'}function Pd(e){return"script[async]"+e}function Md(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var a=e.querySelector('style[data-href~="'+bt(n.href)+'"]');if(a)return t.instance=a,qe(a),a;var o=c({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return qe(a=(e.ownerDocument||e).createElement("style")),nd(a,"style",o),jd(a,n.precedence,e),t.instance=a;case"stylesheet":o=Rd(n.href);var i=e.querySelector(Od(o));if(i)return t.state.loading|=4,t.instance=i,qe(i),i;a=Ld(n),(o=Cd.get(o))&&Fd(a,o),qe(i=(e.ownerDocument||e).createElement("link"));var s=i;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),nd(i,"link",a),t.state.loading|=4,jd(i,n.precedence,e),t.instance=i;case"script":return i=Dd(n.src),(o=e.querySelector(Pd(i)))?(t.instance=o,qe(o),o):(a=n,(o=Cd.get(i))&&zd(a=c({},n),o),qe(o=(e=e.ownerDocument||e).createElement("script")),nd(o,"link",a),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(r(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(a=t.instance,t.state.loading|=4,jd(a,n.precedence,e));return t.instance}function jd(e,t,n){for(var r=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=r.length?r[r.length-1]:null,o=a,i=0;i<r.length;i++){var s=r[i];if(s.dataset.precedence===t)o=s;else if(o!==a)break}o?o.parentNode.insertBefore(e,o.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Fd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function zd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var $d=null;function Bd(e,t,n){if(null===$d){var r=new Map,a=$d=new Map;a.set(n,r)}else(r=(a=$d).get(n))||(r=new Map,a.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var o=n[a];if(!(o[Be]||o[De]||"link"===e&&"stylesheet"===o.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==o.namespaceURI){var i=o.getAttribute(t)||"";i=e+i;var s=r.get(i);s?s.push(o):r.set(i,[o])}}return r}function Ud(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function Hd(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var Vd=null;function Wd(){}function Gd(){if(this.count--,0===this.count)if(this.stylesheets)Yd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var qd=null;function Yd(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,qd=new Map,t.forEach(Xd,e),qd=null,Gd.call(e))}function Xd(e,t){if(!(4&t.state.loading)){var n=qd.get(e);
vendor: 5,757 bytes, line 1
1if(n)var r=n.get(null);else{n=new Map,qd.set(e,n);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),o=0;o<a.length;o++){var i=a[o];"LINK"!==i.nodeName&&"not all"===i.getAttribute("media")||(n.set(i.dataset.precedence,i),r=i)}r&&n.set(null,r)}i=(a=t.instance).getAttribute("data-precedence"),(o=n.get(i)||r)===r&&n.set(null,a),n.set(i,a),this.count++,r=Gd.bind(this),a.addEventListener("load",r),a.addEventListener("error",r),o?o.parentNode.insertBefore(a,o.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var Kd={$$typeof:x,Provider:null,Consumer:null,_currentValue:F,_currentValue2:F,_threadCount:0};function Zd(e,t,n,r,a,o,i,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Te(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Te(0),this.hiddenUpdates=Te(null),this.identifierPrefix=r,this.onUncaughtError=a,this.onCaughtError=o,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.incompleteTransitions=new Map}function Jd(e,t,n,r,a,o,i,s,l,c,u,d){return e=new Zd(e,t,n,i,s,l,c,d),t=1,!0===o&&(t|=24),o=Fr(3,null,null,t),e.current=o,o.stateNode=e,(t=Pa()).refCount++,e.pooledCache=t,t.refCount++,o.memoizedState={element:r,isDehydrated:n,cache:t},ao(o),e}function Qd(e){return e?e=Mr:Mr}function ep(e,t,n,r,a,o){a=Qd(a),null===r.context?r.context=a:r.pendingContext=a,(r=io(t)).payload={element:n},null!==(o=void 0===o?null:o)&&(r.callback=o),null!==(n=so(e,r,t))&&(Fc(n,0,t),lo(n,e,t))}function tp(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function np(e,t){tp(e,t),(e=e.alternate)&&tp(e,t)}function rp(e){if(13===e.tag){var t=Lr(e,67108864);null!==t&&Fc(t,0,67108864),np(e,67108864)}}var ap=!0;function op(e,t,n,r){var a=M.T;M.T=null;var o=j.p;try{j.p=2,sp(e,t,n,r)}finally{j.p=o,M.T=a}}function ip(e,t,n,r){var a=M.T;M.T=null;var o=j.p;try{j.p=8,sp(e,t,n,r)}finally{j.p=o,M.T=a}}function sp(e,t,n,r){if(ap){var a=lp(r);if(null===a)Vu(e,t,r,cp,n),xp(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return fp=Sp(fp,e,t,n,r,a),!0;case"dragenter":return mp=Sp(mp,e,t,n,r,a),!0;case"mouseover":return hp=Sp(hp,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return gp.set(o,Sp(gp.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,bp.set(o,Sp(bp.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(xp(e,r),4&t&&-1<vp.indexOf(e)){for(;null!==a;){var o=Ve(a);if(null!==o)switch(o.tag){case 3:if((o=o.stateNode).current.memoizedState.isDehydrated){var i=xe(o.pendingLanes);if(0!==i){var s=o;for(s.pendingLanes|=2,s.entangledLanes|=2;i;){var l=1<<31-he(i);s.entanglements[1]|=l,i&=~l}Cu(o),!(6&ac)&&(Cc=re()+500,ku(0))}}break;case 13:null!==(s=Lr(o,2))&&Fc(s,0,2),Hc(),np(o,2)}if(null===(o=lp(r))&&Vu(e,t,r,cp,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Vu(e,t,r,null,n)}}function lp(e){return up(e=Lt(e))}var cp=null;function up(e){if(cp=null,null!==(e=He(e))){var t=o(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=i(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return cp=e,null}function dp(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ae()){case oe:return 2;case ie:return 8;case se:case le:return 32;case ce:return 268435456;default:return 32}default:return 32}}var pp=!1,fp=null,mp=null,hp=null,gp=new Map,bp=new Map,yp=[],vp="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".split(" ");function xp(e,t){switch(e){case"focusin":case"focusout":fp=null;break;case"dragenter":case"dragleave":mp=null;break;case"mouseover":case"mouseout":hp=null;break;case"pointerover":case"pointerout":gp.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":bp.delete(t.pointerId)}}function Sp(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=Ve(t))&&rp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.pu
vendor: 5,237 bytes, line 1
1sh(a),e)}function wp(e){var t=He(e.target);if(null!==t){var n=o(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=i(n)))return e.blockedOn=t,void function(e,t){var n=j.p;try{return j.p=e,t()}finally{j.p=n}}(e.priority,function(){if(13===n.tag){var e=Mc();e=_e(e);var t=Lr(n,e);null!==t&&Fc(t,0,e),np(n,e)}})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ep(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=lp(e.nativeEvent);if(null!==n)return null!==(t=Ve(n))&&rp(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ot=r,n.target.dispatchEvent(r),Ot=null,t.shift()}return!0}function Cp(e,t,n){Ep(e)&&n.delete(t)}function kp(){pp=!1,null!==fp&&Ep(fp)&&(fp=null),null!==mp&&Ep(mp)&&(mp=null),null!==hp&&Ep(hp)&&(hp=null),gp.forEach(Cp),bp.forEach(Cp)}function Tp(t,n){t.blockedOn===n&&(t.blockedOn=null,pp||(pp=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,kp)))}var Ap=null;function Ip(t){Ap!==t&&(Ap=t,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Ap===t&&(Ap=null);for(var e=0;e<t.length;e+=3){var n=t[e],r=t[e+1],a=t[e+2];if("function"!=typeof r){if(null===up(r||n))continue;break}var o=Ve(n);null!==o&&(t.splice(e,3),e-=3,Li(o,{pending:!0,data:a,method:n.method,action:r},r,a))}}))}function Np(e){function t(t){return Tp(t,e)}null!==fp&&Tp(fp,e),null!==mp&&Tp(mp,e),null!==hp&&Tp(hp,e),gp.forEach(t),bp.forEach(t);for(var n=0;n<yp.length;n++){var r=yp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<yp.length&&null===(n=yp[0]).blockedOn;)wp(n),null===n.blockedOn&&yp.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(r=0;r<n.length;r+=3){var a=n[r],o=n[r+1],i=a[Pe]||null;if("function"==typeof o)i||Ip(n);else if(i){var s=null;if(o&&o.hasAttribute("formAction")){if(a=o,i=o[Pe]||null)s=i.formAction;else if(null!==up(a))continue}else s=i.action;"function"==typeof s?n[r+1]=s:(n.splice(r,3),r-=3),Ip(n)}}}function _p(e){this._internalRoot=e}function Rp(e){this._internalRoot=e}Rp.prototype.render=_p.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(r(409));ep(t.current,Mc(),e,t,null,null)},Rp.prototype.unmount=_p.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ep(e.current,2,null,e,null,null),Hc(),t[Me]=null}},Rp.prototype.unstable_scheduleHydration=function(e){if(e){var t=Oe();e={blockedOn:null,target:e,priority:t};for(var n=0;n<yp.length&&0!==t&&t<yp[n].priority;n++);yp.splice(n,0,e),0===n&&wp(e)}};var Op=t.version;if("19.1.0"!==Op)throw Error(r(527,Op,"19.1.0"));j.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(r(188));throw e=Object.keys(e).join(","),Error(r(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=o(e)))throw Error(r(188));return t!==e?null:e}for(var n=e,a=t;;){var i=n.return;if(null===i)break;var l=i.alternate;if(null===l){if(null!==(a=i.return)){n=a;continue}break}if(i.child===l.child){for(l=i.child;l;){if(l===n)return s(i),e;if(l===a)return s(i),t;l=l.sibling}throw Error(r(188))}if(n.return!==a.return)n=i,a=l;else{for(var c=!1,u=i.child;u;){if(u===n){c=!0,n=i,a=l;break}if(u===a){c=!0,a=i,n=l;break}u=u.sibling}if(!c){for(u=l.child;u;){if(u===n){c=!0,n=l,a=i;break}if(u===a){c=!0,a=l,n=i;break}u=u.sibling}if(!c)throw Error(r(189))}}if(n.alternate!==a)throw Error(r(190))}if(3!==n.tag)throw Error(r(188));return n.stateNode.current===n?e:t}(t),e=null===(e=null!==e?l(e):null)?null:e.stateNode};var Lp={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:M,reconcilerVersion:"19.1.0"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Dp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Dp.isDisabled&&Dp.supportsFiber)try{pe=Dp.inject(Lp),fe=Dp}catch(Mp){}}return O.createRoot=function(e,t){if(!a(e))throw Error(r(299));var n=!1,o="",i=xs,s=Ss,l=ws;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(s=t.onCaughtError),void 0!==t.onRecoverableError&&(l=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks),t=Jd(e,1,!1,null,0,n,o,i,s,l,0,null),e[Me]=t.current,Uu(e),new _p(t)},O.hydrateRoot=function(e,t,n){if(!a(e))throw Error(r(299));var o=!1,i="",s=xs,l=Ss,c=ws,u=null;return null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(s=n.onUncaughtError),void 0!==n.onCaughtError&&(l=n.onCaughtError),void 0!==n.onRecoverableError&&(c=n.onRecoverableError),void 0!==n.unstable_transitionCallbacks&&n.unstable_transitionCallbacks,void 0!==n.formState&&(u=n.formState)),(t=Jd(e,1,!0,t,0,o,i,s,l,c,0,u)).context=Qd(null),n=t.current,(i=io(o=_e(o=Mc()))).callback=null,so(n,i,o),n=o,t.current.lanes=n,Ae(t,n),Cu(t),e[Me]=t.current,Uu(e),new Rp(t)},O.version="19.1.0",O}var j=(N||(N=1,function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){}}
1(),R.exports=M()),R.exports);const F={black:"#000",white:"#fff"},z="#e57373",$="#ef5350",B="#f44336",U="#d32f2f",H="#c62828",V="#f3e5f5",W="#ce93d8",G="#ba68c8",q="#ab47bc",Y="#9c27b0",X="#7b1fa2",K="#e3f2fd",Z="#90caf9",J="#42a5f5",Q="#1976d2",ee="#1565c0",te="#4fc3f7",ne="#29b6f6",re="#03a9f4",ae="#0288d1",oe="#01579b",ie="#81c784",se="#66bb6a",le="#4caf50",ce="#388e3c",ue="#2e7d32",de="#1b5e20",pe="#ffb74d",fe="#ffa726",me="#ff9800",he="#f57c00",ge="#e65100",be={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function ye(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${n} for the full message.`}const ve="$$material";function xe(e){const{styles:t,defaultTheme:r={}}=e,a="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return _.jsx(n,{styles:a})}function Se(e,t){return r(e,t)}const we=[];function Ee(e){return we[0]=e,a(we)}var Ce,ke,Te={exports:{}},Ae={};function Ie(){if(Ce)return Ae;Ce=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),i=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function m(f){if("object"==typeof f&&null!==f){var m=f.$$typeof;switch(m){case e:switch(f=f.type){case n:case a:case r:case l:case c:case p:return f;default:switch(f=f&&f.$$typeof){case i:case s:case d:case u:case o:return f;default:return m}}case t:return m}}}return Ae.ContextConsumer=o,Ae.ContextProvider=i,Ae.Element=e,Ae.ForwardRef=s,Ae.Fragment=n,Ae.Lazy=d,Ae.Memo=u,Ae.Portal=t,Ae.Profiler=a,Ae.StrictMode=r,Ae.Suspense=l,Ae.SuspenseList=c,Ae.isContextConsumer=function(e){return m(e)===o},Ae.isContextProvider=function(e){return m(e)===i},Ae.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},Ae.isForwardRef=function(e){return m(e)===s},Ae.isFragment=function(e){return m(e)===n},Ae.isLazy=function(e){return m(e)===d},Ae.isMemo=function(e){return m(e)===u},Ae.isPortal=function(e){return m(e)===t},Ae.isProfiler=function(e){return m(e)===a},Ae.isStrictMode=function(e){return m(e)===r},Ae.isSuspense=function(e){return m(e)===l},Ae.isSuspenseList=function(e){return m(e)===c},Ae.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===a||e===r||e===l||e===c||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===u||e.$$typeof===i||e.$$typeof===o||e.$$typeof===s||e.$$typeof===f||void 0!==e.getModuleId)},Ae.typeOf=m,Ae}function Ne(){return ke||(ke=1,Te.exports=Ie()),Te.exports}var _e=Ne();function Re(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Oe(e){if(o.isValidElement(e)||_e.isValidElementType(e)||!Re(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Oe(e[n])}),t}function Le(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Re(e)&&Re(t)&&Object.keys(t).forEach(a=>{o.isValidElement(t[a])||_e.isValidElementType(t[a])?r[a]=t[a]:Re(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&Re(e[a])?r[a]=Le(e[a],t[a],n):n.clone?r[a]=Re(t[a])?Oe(t[a]):t[a]:r[a]=t[a]}),r}function De(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...a}=e,o=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})})(t),i=Object.keys(o);function s(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function l(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-r/100}${n})`}function c(e,a){const o=i.indexOf(a);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==o&&"number"==typeof t[i[o]]?t[i[o]]:a)-r/100}${n})`}return{keys:i,values:o,up:s,down:l,between:c,only:function(e){return i.indexOf(e)+1<i.length?c(e,i[i.indexOf(e)+1]):s(e)},not:function(e){const t=i.indexOf(e);return 0===t?s(i[1]):t===i.length-1?l(i[t]):c(e,i[i.indexOf(e)+1]).replace("@media","@media not all and")},unit:n,...a}}const Pe={borderRadius:4};function Me(e,t){return t?Le(e,t,{clone:!1}):e}const je={xs:0,sm:600,md:900,lg:1200,xl:1536},Fe={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${je[e]}px)`},ze={containerQueries:e=>({up:t=>{let n="number"==typeof t?t:je[t]||t;return"number"==typeof n&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function $e(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||Fe;return t.reduce((r,a,o)=>(r[e.up(e.keys[o])]=n(t[o]),r),{})}if("object"==typeof t){const e=r.breakpoints||Fe;return Object.keys(t).reduce((a,o)=>
1{if(i=e.keys,"@"===(s=o)||s.startsWith("@")&&(i.some(e=>s.startsWith(`@${e}`))||s.match(/^@\d/))){const e=function(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,a]=n,o=Number.isNaN(+r)?r||0:+r;return e.containerQueries(a).up(o)}(r.containerQueries?r:ze,o);e&&(a[e]=n(t[o],o))}else if(Object.keys(e.values||je).includes(o)){a[e.up(o)]=n(t[o],o)}else{const e=o;a[e]=t[e]}var i,s;return a},{})}return n(t)}function Be(e={}){const t=e.keys?.reduce((t,n)=>(t[e.up(n)]={},t),{});return t||{}}function Ue(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function He({values:e,breakpoints:t,base:n}){const r=n||function(e,t){if("object"!=typeof e)return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((t,r)=>{r<e.length&&(n[t]=!0)}):r.forEach(t=>{null!=e[t]&&(n[t]=!0)}),n}(e,t),a=Object.keys(r);if(0===a.length)return e;let o;return a.reduce((t,n,r)=>(Array.isArray(e)?(t[n]=null!=e[r]?e[r]:e[o],o=r):"object"==typeof e?(t[n]=null!=e[n]?e[n]:e[o],o=n):t[n]=e,t),{})}function Ve(e){if("string"!=typeof e)throw new Error(ye(7));return e.charAt(0).toUpperCase()+e.slice(1)}function We(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=n)return n}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function Ge(e,t,n,r=n){let a;return a="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:We(e,n)||r,t&&(a=t(a,r,e)),a}function qe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:a}=e,o=e=>{if(null==e[t])return null;const o=e[t],i=We(e.theme,r)||{};return $e(e,o,e=>{let r=Ge(i,a,e);return e===r&&"string"==typeof e&&(r=Ge(i,a,`${t}${"default"===e?"":Ve(e)}`,e)),!1===n?r:{[n]:r}})};return o.propTypes={},o.filterProps=[t],o}const Ye={m:"margin",p:"padding"},Xe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ke={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ze=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!Ke[e])return[e];e=Ke[e]}const[t,n]=e.split(""),r=Ye[t],a=Xe[n]||"";return Array.isArray(a)?a.map(e=>r+e):[r+a]}),Je=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Qe=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function et(e,t,n,r){const a=We(e,t,!0)??n;return"number"==typeof a||"string"==typeof a?e=>"string"==typeof e?e:"string"==typeof a?a.startsWith("var(")&&0===e?0:a.startsWith("var(")&&1===e?a:`calc(${e} * ${a})`:a*e:Array.isArray(a)?e=>{if("string"==typeof e)return e;const t=Math.abs(e),n=a[t];return e>=0?n:"number"==typeof n?-n:"string"==typeof n&&n.startsWith("var(")?`calc(-1 * ${n})`:`-${n}`}:"function"==typeof a?a:()=>{}}function tt(e){return et(e,"spacing",8)}function nt(e,t){return"string"==typeof t||null==t?t:e(t)}function rt(e,t,n,r){if(!t.includes(n))return null;const a=function(e,t){return n=>e.reduce((e,r)=>(e[r]=nt(t,n),e),{})}(Ze(n),r);return $e(e,e[n],a)}function at(e,t){const n=tt(e.theme);return Object.keys(e).map(r=>rt(e,t,r,n)).reduce(Me,{})}function ot(e){return at(e,Je)}function it(e){return at(e,Qe)}function st(e=8,t=tt({spacing:e})){if(e.mui)return e;const n=(...e)=>(0===e.length?[1]:e).map(e=>{const n=t(e);return"number"==typeof n?`${n}px`:n}).join(" ");return n.mui=!0,n}function lt(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Me(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function ct(e){return"number"!=typeof e?e:`${e}px solid`}function ut(e,t){return qe({prop:e,themeKey:"borders",transform:t})}ot.propTypes={},ot.filterProps=Je,it.propTypes={},it.filterProps=Qe;const dt=ut("border",ct),pt=ut("borderTop",ct),ft=ut("borderRight",ct),mt=ut("borderBottom",ct),ht=ut("borderLeft",ct),gt=ut("borderColor"),bt=ut("borderTopColor"),yt=ut("borderRightColor"),vt=ut("borderBottomColor"),xt=ut("borderLeftColor"),St=ut("outline",ct),wt=ut("outlineColor"),Et=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=et(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:nt(t,e)});return $e(e,e.borderRadius,n)}return null};Et.propTypes={},Et.filterProps=["borderRadius"],lt(dt,pt,ft,mt,ht,gt,bt,yt,vt,xt,Et,St,wt);const Ct=e=>{if(void 0!==e.gap&&null!==e.gap){const t=et(e.theme,"spacing",8),n=e=>({gap:nt(t,e)});return $e(e,e.gap,n)}return null};Ct.propTypes={},Ct.filterProps=["gap"];const kt=e=>
1{if(void 0!==e.columnGap&&null!==e.columnGap){const t=et(e.theme,"spacing",8),n=e=>({columnGap:nt(t,e)});return $e(e,e.columnGap,n)}return null};kt.propTypes={},kt.filterProps=["columnGap"];const Tt=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=et(e.theme,"spacing",8),n=e=>({rowGap:nt(t,e)});return $e(e,e.rowGap,n)}return null};Tt.propTypes={},Tt.filterProps=["rowGap"];function At(e,t){return"grey"===t?t:e}lt(Ct,kt,Tt,qe({prop:"gridColumn"}),qe({prop:"gridRow"}),qe({prop:"gridAutoFlow"}),qe({prop:"gridAutoColumns"}),qe({prop:"gridAutoRows"}),qe({prop:"gridTemplateColumns"}),qe({prop:"gridTemplateRows"}),qe({prop:"gridTemplateAreas"}),qe({prop:"gridArea"}));function It(e){return e<=1&&0!==e?100*e+"%":e}lt(qe({prop:"color",themeKey:"palette",transform:At}),qe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:At}),qe({prop:"backgroundColor",themeKey:"palette",transform:At}));const Nt=qe({prop:"width",transform:It}),_t=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{const n=e.theme?.breakpoints?.values?.[t]||je[t];return n?"px"!==e.theme?.breakpoints?.unit?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:It(t)}};return $e(e,e.maxWidth,t)}return null};_t.filterProps=["maxWidth"];const Rt=qe({prop:"minWidth",transform:It}),Ot=qe({prop:"height",transform:It}),Lt=qe({prop:"maxHeight",transform:It}),Dt=qe({prop:"minHeight",transform:It});qe({prop:"size",cssProperty:"width",transform:It}),qe({prop:"size",cssProperty:"height",transform:It});lt(Nt,_t,Rt,Ot,Lt,Dt,qe({prop:"boxSizing"}));const Pt={border:{themeKey:"borders",transform:ct},borderTop:{themeKey:"borders",transform:ct},borderRight:{themeKey:"borders",transform:ct},borderBottom:{themeKey:"borders",transform:ct},borderLeft:{themeKey:"borders",transform:ct},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:ct},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Et},color:{themeKey:"palette",transform:At},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:At},backgroundColor:{themeKey:"palette",transform:At},p:{style:it},pt:{style:it},pr:{style:it},pb:{style:it},pl:{style:it},px:{style:it},py:{style:it},padding:{style:it},paddingTop:{style:it},paddingRight:{style:it},paddingBottom:{style:it},paddingLeft:{style:it},paddingX:{style:it},paddingY:{style:it},paddingInline:{style:it},paddingInlineStart:{style:it},paddingInlineEnd:{style:it},paddingBlock:{style:it},paddingBlockStart:{style:it},paddingBlockEnd:{style:it},m:{style:ot},mt:{style:ot},mr:{style:ot},mb:{style:ot},ml:{style:ot},mx:{style:ot},my:{style:ot},margin:{style:ot},marginTop:{style:ot},marginRight:{style:ot},marginBottom:{style:ot},marginLeft:{style:ot},marginX:{style:ot},marginY:{style:ot},marginInline:{style:ot},marginInlineStart:{style:ot},marginInlineEnd:{style:ot},marginBlock:{style:ot},marginBlockStart:{style:ot},marginBlockEnd:{style:ot},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Ct},rowGap:{style:Tt},columnGap:{style:kt},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:It},maxWidth:{style:_t},minWidth:{transform:It},height:{transform:It},maxHeight:{transform:It},minHeight:{transform:It},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const Mt=function(){function e(e,t,n,r){const a={[e]:t,theme:n},o=r[e];if(!o)return{[e]:t};const{cssProperty:i=e,themeKey:s,transform:l,style:c}=o;if(null==t)return null;if("typography"===s&&"inherit"===t)return{[e]:t};const u=We(n,s)||{};if(c)return c(a);return $e(a,t,t=>{let n=Ge(u,l,t);return t===n&&"string"==typeof t&&(n=Ge(u,l,`${e}${"default"===t?"":Ve(t)}`,t)),!1===i?n:{[i]:n}})}return function t(n){const{sx:r,theme:a={}}=n||{};if(!r)return null;const o=a.unstable_sxConfig??Pt;function i(n){let r=n;if("function"==typeof n)r=n(a);else if("object"!=typeof n)return n;if(!r)return null;const i=Be(a.breakpoints),s=Object.keys(i);let l=i;return Object.keys(r).forEach(n=>{const i=function(e,t){return"function"==typeof e?e(t):e}(r[n],a);if(null!=i)if("object"==typeof i)if(o[n])l=Me(l,e(n,i,a,o));else{const e=$e({theme:a},i,e=>({[n]:e}));!function(...e){const t=e.reduce((e,t)=>
1e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}(e,i)?l=Me(l,e):l[n]=t({sx:i,theme:a})}else l=Me(l,e(n,i,a,o))}),function(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{const n=/min-width:\s*([0-9.]+)/;return+(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{const r=t[n];return delete e[n],e[n]=r,e},{...t}):t}(a,Ue(s,l))}return Array.isArray(r)?r.map(i):i(r)}}();function jt(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||"function"!=typeof n.getColorSchemeSelector)return{};let r=n.getColorSchemeSelector(e);return"&"===r?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function Ft(e={},...t){const{breakpoints:n={},palette:r={},spacing:a,shape:o={},...i}=e;let s=Le({breakpoints:De(n),direction:"ltr",components:{},palette:{mode:"light",...r},spacing:st(a),shape:{...Pe,...o}},i);return s=function(e){const t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{const a=t(e.breakpoints.not(...n),r);return a.includes("not all and")?a.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):a}}const r={},a=e=>(n(r,e),r);return n(a),{...e,containerQueries:a}}(s),s.applyStyles=jt,s=t.reduce((e,t)=>Le(e,t),s),s.unstable_sxConfig={...Pt,...i?.unstable_sxConfig},s.unstable_sx=function(e){return Mt({sx:e,theme:this})},s}function zt(e=null){const t=o.useContext(i);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}Mt.filterProps=["sx"];const $t=Ft();function Bt(e=$t){return zt(e)}function Ut({styles:e,themeId:t,defaultTheme:n={}}){const r=Bt(n),a="function"==typeof e?e(t&&r[t]||r):e;return _.jsx(xe,{styles:a})}function Ht(e){const{sx:t,...n}=e,{systemProps:r,otherProps:a}=(e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Pt;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t})(n);let o;return o=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return Re(n)?{...r,...n}:r}:{...r,...t},{...a,sx:o}}const Vt=e=>e,Wt=(()=>{let e=Vt;return{configure(t){e=t},generate:t=>e(t),reset(){e=Vt}}})();function Gt(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=Gt(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function qt(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=Gt(e))&&(r&&(r+=" "),r+=t);return r}const Yt={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Xt(e,t,n="Mui"){const r=Yt[t];return r?`${n}-${r}`:`${Wt.generate(e)}-${t}`}function Kt(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=Xt(e,t,n)}),r}function Zt(e){const{variants:t,...n}=e,r={variants:t,style:Ee(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=Ee(e.style))}),r}const Jt=Ft();function Qt(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function en(e){return e?(t,n)=>n[e]:null}function tn(e,t){const n="function"==typeof t?t(e):t;if(Array.isArray(n))return n.flatMap(t=>tn(e,t));if(Array.isArray(n?.variants)){let t;if(n.isProcessed)t=n.style;else{const{variants:e,...r}=n;t=r}return nn(e,n.variants,[t])}return n?.isProcessed?n.style:n}function nn(e,t,n=[]){let r;e:for(let a=0;a<t.length;a+=1){const o=t[a];if("function"==typeof o.props){if(r??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(r))continue}else for(const t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue e;"function"==typeof o.style?(r??={...e,...e.ownerState,ownerState:e.ownerState},n.push(o.style(r))):n.push(o.style)}return n}function rn(e={}){const{themeId:t,defaultTheme:n=Jt,rootShouldForwardProp:r=Qt,slotShouldForwardProp:a=Qt}=e;function o(e){!function(e,t,n){e.theme=function(e){for(const t in e)return!1;return!0}(e.theme)?n:e.theme[t]||e.theme}(e,t,n)}return(e,t={})=>{!function(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}(e,e=>e.filter(e=>e!==Mt));const{name:n,slot:i,skipVariantsResolver:s,skipSx:l,overridesResolver:c=en(on(i)),...u}=t,d=void 0!==s?s:i&&"Root"!==i&&"root"!==i||!1,p=l||!1;let f=Qt;"Root"===i||"root"===i?f=r:i?f=a:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(f=void 0);const m=Se(e,{shouldForwardProp:f,label:an(),...u}),h=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return tn(t,e)};if(Re(e)){const t=Zt(e);return t.variants?function(e){return tn(e,t)}:t.style}return e},g=(...t)=>{const r=[],a=t.map(h),i=[];if(r.push(o),n&&c&&i.push(function(e){const t=e.theme,r=t.components?.[n]?.styleOverrides;if(!r)return null;const a={};for(const n in r)a[n]=tn(e,r[n]);return c(e,a)}),n&&!d&&i.push(function(e){const t=e.theme,r=t?.components?.[n]?.variants;return r?nn(e,r):null}),p||i.push(Mt),Array.isArray(a[0])){const e=a.shift(),t=new Array(r.length).fill(""),n=new Array(i.length).fill("");let o;o=[...t,...e,...n],o.raw=[...t,...e.raw,...n],r.unshift(o)}const s=[...r,...a,...i],l=m(...s);return e.muiName&&(l.muiName=e.muiName),l};return m.withConfig&&(g.withConfig=m.withConfig),g}}function an(e,t){}function on(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}const sn=rn();function ln(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const a=r;if("components"===a||"slots"===a)n[a]={...e[a],...n[a]};else if("componentsProps"===a||"slotProps"===a){const r=e[a],o=t[a];if(o)if(r){n[a]={...o};for(const e in r)if(Object.prototype.hasOwnProperty.call(r,e)){const t=e;n[a][t]=ln(r[t],o[t])}}else n[a]=o;else n[a]=r||{}}else void 0===n[a]&&(n[a]=e[a])}return n}function cn(e){const{theme:t,name:n,props:r}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?ln(t.components[n].defaultProps,r):r}function un({props:e,name:t,defaultTheme:n,themeId:r}){let a=Bt(n);return r&&(a=a[r]||a),cn({theme:a,name:t,props:e})}const dn="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function pn(e,t,n,r,a){const[i,s]=o.useState(()=>a&&n?n(e).matches:r?r(e).matches:t);return dn(()=>
1{if(!n)return;const t=n(e),r=()=>{s(t.matches)};return r(),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[e,n]),i}const mn={...s}.useSyncExternalStore;function hn(e,t,n,r,a){const i=o.useCallback(()=>t,[t]),s=o.useMemo(()=>{if(a&&n)return()=>n(e).matches;if(null!==r){const{matches:t}=r(e);return()=>t}return i},[i,e,r,a,n]),[l,c]=o.useMemo(()=>{if(null===n)return[i,()=>()=>{}];const t=n(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[i,n,e]);return mn(c,l,s)}function gn(e={}){const{themeId:t}=e;return function(e,n={}){let r=zt();r&&t&&(r=r[t]||r);const a="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:i=(a?window.matchMedia:null),ssrMatchMedia:s=null,noSsr:l=!1}=cn({name:"MuiUseMediaQuery",props:n,theme:r});let c="function"==typeof e?e(r):e;c=c.replace(/^@media( ?)/m,""),c.includes("print");return(void 0!==mn?hn:pn)(c,o,i,s,l)}}function bn(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function yn(e,t=0,n=1){return bn(e,t,n)}function vn(e){if(e.type)return e;if("#"===e.charAt(0))return vn(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map(e=>e+e)),n?`rgb${4===n.length?"a":""}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(ye(9,e));let r,a=e.substring(t+1,e.length-1);if("color"===n){if(a=a.split(" "),r=a.shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(r))throw new Error(ye(10,r))}else a=a.split(",");return a=a.map(e=>parseFloat(e)),{type:n,values:a,colorSpace:r}}gn();const xn=(e,t)=>{try{return(e=>{const t=vn(e);return t.values.slice(0,3).map((e,n)=>t.type.includes("hsl")&&0!==n?`${e}%`:e).join(" ")})(e)}catch(n){return e}};function Sn(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function wn(e){e=vn(e);const{values:t}=e,n=t[0],r=t[1]/100,a=t[2]/100,o=r*Math.min(a,1-a),i=(e,t=(e+n/30)%12)=>a-o*Math.max(Math.min(t-3,9-t,1),-1);let s="rgb";const l=[Math.round(255*i(0)),Math.round(255*i(8)),Math.round(255*i(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),Sn({type:s,values:l})}function En(e){let t="hsl"===(e=vn(e)).type||"hsla"===e.type?vn(wn(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function Cn(e,t){return e=vn(e),t=yn(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Sn(e)}function kn(e,t,n){try{return Cn(e,t)}catch(r){return e}}function Tn(e,t){if(e=vn(e),t=yn(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Sn(e)}function An(e,t,n){try{return Tn(e,t)}catch(r){return e}}function In(e,t){if(e=vn(e),t=yn(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Sn(e)}function Nn(e,t,n){try{return In(e,t)}catch(r){return e}}function _n(e,t=.15){return En(e)>.5?Tn(e,t):In(e,t)}function Rn(e,t,n){try{return _n(e,t)}catch(r){return e}}const On=o.createContext(null);function Ln(){return o.useContext(On)}const Dn="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Pn(e){const{children:t,theme:n}=e,r=Ln(),a=o.useMemo(()=>{const e=null===r?{...n}:function(e,t){if("function"==typeof t)return t(e);return{...e,...t}}(r,n);return null!=e&&(e[Dn]=null!==r),e},[n,r]);return _.jsx(On.Provider,{value:a,children:t})}const Mn=o.createContext();function jn({value:e,...t}){return _.jsx(Mn.Provider,{value:e??!0,...t})}const Fn=()=>o.useContext(Mn)??!1,zn=o.createContext(void 0);function $n({value:e,children:t}){return _.jsx(zn.Provider,{value:e,children:t})}function Bn({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const a=t.components[n];return a.defaultProps?ln(a.defaultProps,r):a.styleOverrides||a.variants?r:ln(a,r)}({props:e,name:t,theme:{components:o.useContext(zn)}})}const Un={};function Hn(e,t,n,r=!1){return o.useMemo(()=>{const a=e&&t[e]||t;if("function"==typeof n){const o=n(a),i=e?{...t,[e]:o}:o;return r?()=>i:i}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function Vn(e){const{children:t,theme:n,themeId:r}=e,a=zt(Un),o=Ln()||Un,s=Hn(r,a,n),l=Hn(r,o,n,!0),c="rtl"===(r?s[r]:s).direction;return _.jsx(Pn,{theme:l,children:_.jsx(i.Provider,{value:s,children:_.jsx(jn,{value:c,children:_.jsx($n,{value:r?s[r].components:s.components,children:t})})})})}const Wn={theme:void 0};const Gn="mode",qn="color-scheme",Yn="data-color-scheme";function Xn(){}const Kn=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(n){if("undefined"==typeof window)return;if(!t)return n;let r;try{r=t.localStorage.getItem(e)}catch{}return r||n},set:n=>{if(t)try{t.localStorage.setItem(e,n)}catch{}},subscribe:n=>{if(!t)return Xn;const r=t=>{const r=t.newValue;t.key===e&&n(r)};return t.addEventListener("storage",r),()=>{t.removeEventListener("storage",r)}}});function Zn(){}function Jn(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
1k":"light"}}function Qn(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function er(e){const{defaultMode:t="light",defaultLightColorScheme:n,defaultDarkColorScheme:r,supportedColorSchemes:a=[],modeStorageKey:i=Gn,colorSchemeStorageKey:s=qn,storageWindow:l=("undefined"==typeof window?void 0:window),storageManager:c=Kn,noSsr:u=!1}=e,d=a.join(","),p=a.length>1,f=o.useMemo(()=>c?.({key:i,storageWindow:l}),[c,i,l]),m=o.useMemo(()=>c?.({key:`${s}-light`,storageWindow:l}),[c,s,l]),h=o.useMemo(()=>c?.({key:`${s}-dark`,storageWindow:l}),[c,s,l]),[g,b]=o.useState(()=>{const e=f?.get(t)||t,a=m?.get(n)||n,o=h?.get(r)||r;return{mode:e,systemMode:Jn(e),lightColorScheme:a,darkColorScheme:o}}),[y,v]=o.useState(u||!p);o.useEffect(()=>{v(!0)},[]);const x=function(e){return Qn(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}(g),S=o.useCallback(e=>{b(n=>{if(e===n.mode)return n;const r=e??t;return f?.set(r),{...n,mode:r,systemMode:Jn(r)}})},[f,t]),w=o.useCallback(e=>{e?"string"==typeof e?e&&!d.includes(e)||b(t=>{const n={...t};return Qn(t,t=>{"light"===t&&(m?.set(e),n.lightColorScheme=e),"dark"===t&&(h?.set(e),n.darkColorScheme=e)}),n}):b(t=>{const a={...t},o=null===e.light?n:e.light,i=null===e.dark?r:e.dark;return o&&d.includes(o)&&(a.lightColorScheme=o,m?.set(o)),i&&d.includes(i)&&(a.darkColorScheme=i,h?.set(i)),a}):b(e=>(m?.set(n),h?.set(r),{...e,lightColorScheme:n,darkColorScheme:r}))},[d,m,h,n,r]),E=o.useCallback(e=>{"system"===g.mode&&b(t=>{const n=e?.matches?"dark":"light";return t.systemMode===n?t:{...t,systemMode:n}})},[g.mode]),C=o.useRef(E);return C.current=E,o.useEffect(()=>{if("function"!=typeof window.matchMedia||!p)return;const e=(...e)=>C.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[p]),o.useEffect(()=>{if(p){const e=f?.subscribe(e=>{e&&!["light","dark","system"].includes(e)||S(e||t)})||Zn,n=m?.subscribe(e=>{e&&!d.match(e)||w({light:e})})||Zn,r=h?.subscribe(e=>{e&&!d.match(e)||w({dark:e})})||Zn;return()=>{e(),n(),r()}}},[w,S,d,t,l,p,f,m,h]),{...g,mode:y?g.mode:void 0,systemMode:y?g.systemMode:void 0,colorScheme:y?x:void 0,setMode:S,setColorScheme:w}}function tr(e=""){function t(...n){if(!n.length)return"";const r=n[0];return"string"!=typeof r||r.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${r}`:`, var(--${e?`${e}-`:""}${r}${t(...n.slice(1))})`}return(n,...r)=>`var(--${e?`${e}-`:""}${n}${t(...r)})`}const nr=(e,t,n,r=[])=>{let a=e;t.forEach((e,o)=>{o===t.length-1?Array.isArray(a)?a[Number(e)]=n:a&&"object"==typeof a&&(a[e]=n):a&&"object"==typeof a&&(a[e]||(a[e]=r.includes(e)?[]:{}),a=a[e])})};function rr(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},a={},o={},i={};var s,l;return s=(e,t,s)=>{if(!("string"!=typeof t&&"number"!=typeof t||r&&r(e,t))){const r=`--${n?`${n}-`:""}${e.join("-")}`,l=((e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t)(e,t);Object.assign(a,{[r]:l}),nr(o,e,`var(${r})`,s),nr(i,e,`var(${r}, ${l})`,s)}},l=e=>"vars"===e[0],function e(t,n=[],r=[]){Object.entries(t).forEach(([t,a])=>{(!l||l&&!l([...n,t]))&&null!=a&&("object"==typeof a&&Object.keys(a).length>0?e(a,[...n,t],Array.isArray(a)?[...r,t]:r):s([...n,t],a,r))})}(e),{css:a,vars:o,varsWithDefaults:i}}function ar(e,t,n=void 0){const r={};for(const a in e){const o=e[a];let i="",s=!0;for(let e=0;e<o.length;e+=1){const r=o[e];r&&(i+=(!0===s?"":" ")+t(r),s=!1,n&&n[r]&&(i+=" "+n[r]))}r[a]=i}return r}const or=Ft(),ir=sn("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Ve(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),sr=e=>un({props:e,name:"MuiContainer",defaultTheme:or});function lr(e,t){return o.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)}const cr=Ft(),ur=sn("div",{name:"MuiStack",slot:"Root"});function dr(e){return un({props:e,name:"MuiStack",defaultTheme:cr})}
1function pr(e,t){const n=o.Children.toArray(e).filter(Boolean);return n.reduce((e,r,a)=>(e.push(r),a<n.length-1&&e.push(o.cloneElement(t,{key:`separator-${a}`})),e),[])}const fr=({ownerState:e,theme:t})=>{let n={display:"flex",flexDirection:"column",...$e({theme:t},He({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e}))};if(e.spacing){const r=tt(t),a=Object.keys(t.breakpoints.values).reduce((t,n)=>(("object"==typeof e.spacing&&null!=e.spacing[n]||"object"==typeof e.direction&&null!=e.direction[n])&&(t[n]=!0),t),{}),o=He({values:e.direction,base:a}),i=He({values:e.spacing,base:a});"object"==typeof o&&Object.keys(o).forEach((e,t,n)=>{if(!o[e]){const r=t>0?o[n[t-1]]:"column";o[e]=r}});n=Le(n,$e({theme:t},i,(t,n)=>{return e.useFlexGap?{gap:nt(r,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${a=n?o[n]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[a]}`]:nt(r,t)}};var a}))}return n=function(e,...t){const n=Be(e),r=[n,...t].reduce((e,t)=>Le(e,t),{});return Ue(Object.keys(n),r)}(t.breakpoints,n),n};function mr(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:F.white,default:F.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const hr=mr();function gr(){return{text:{primary:F.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:F.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const br=gr();function yr(e,t,n,r){const a=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=In(e.main,a):"dark"===t&&(e.dark=Tn(e.main,o)))}function vr(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...a}=e,o=e.primary||function(e="light"){return"dark"===e?{main:Z,light:K,dark:J}:{main:Q,light:J,dark:ee}}(t),i=e.secondary||function(e="light"){return"dark"===e?{main:W,light:V,dark:q}:{main:Y,light:G,dark:X}}(t),s=e.error||function(e="light"){return"dark"===e?{main:B,light:z,dark:U}:{main:U,light:$,dark:H}}(t),l=e.info||function(e="light"){return"dark"===e?{main:ne,light:te,dark:ae}:{main:ae,light:re,dark:oe}}(t),c=e.success||function(e="light"){return"dark"===e?{main:se,light:ie,dark:ce}:{main:ue,light:le,dark:de}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:fe,light:pe,dark:he}:{main:"#ed6c02",light:me,dark:ge}}(t);function d(e){const t=function(e,t){const n=En(e),r=En(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,br.text.primary)>=n?br.text.primary:hr.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:a=300,darkShade:o=700})=>{if(!(e={...e}).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(ye(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(ye(12,t?` (${t})`:"",JSON.stringify(e.main)));return yr(e,"light",a,r),yr(e,"dark",o,r),e.contrastText||(e.contrastText=d(e.main)),e};let f;"light"===t?f=mr():"dark"===t&&(f=gr());return Le({common:{...F},mode:t,primary:p({color:o,name:"primary"}),secondary:p({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:be,contrastThreshold:n,getContrastText:d,augmentColor:p,tonalOffset:r,...f},a)}function xr(e){const t={};return Object.entries(e).forEach(e=>{const[n,r]=e;"object"==typeof r&&(t[n]=`${r.fontStyle?`${r.fontStyle} `:""}${r.fontVariant?`${r.fontVariant} `:""}${r.fontWeight?`${r.fontWeight} `:""}${r.fontStretch?`${r.fontStretch} `:""}${r.fontSize||""}${r.lineHeight?`/${r.lineHeight} `:""}${r.fontFamily||""}`)}),t}const Sr={textTransform:"uppercase"},wr='"Roboto", "Helvetica", "Arial", sans-serif';function Er(e,t){const{fontFamily:n=wr,fontSize:r=14,fontWeightLight:a=300,fontWeightRegular:o=400,fontWeightMedium:i=500,fontWeightBold:s=
1700,htmlFontSize:l=16,allVariants:c,pxToRem:u,...d}="function"==typeof t?t(e):t,p=r/14,f=u||(e=>e/l*p+"rem"),m=(e,t,r,a,o)=>{return{fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:r,...n===wr?{letterSpacing:(i=a/t,Math.round(1e5*i)/1e5)+"em"}:{},...o,...c};var i},h={h1:m(a,96,1.167,-1.5),h2:m(a,60,1.2,-.5),h3:m(o,48,1.167,0),h4:m(o,34,1.235,.25),h5:m(o,24,1.334,0),h6:m(i,20,1.6,.15),subtitle1:m(o,16,1.75,.15),subtitle2:m(i,14,1.57,.1),body1:m(o,16,1.5,.15),body2:m(o,14,1.43,.15),button:m(i,14,1.75,.4,Sr),caption:m(o,12,1.66,.4),overline:m(o,12,2.66,1,Sr),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Le({htmlFontSize:l,pxToRem:f,fontFamily:n,fontSize:r,fontWeightLight:a,fontWeightRegular:o,fontWeightMedium:i,fontWeightBold:s,...h},d,{clone:!1})}function Cr(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const kr=["none",Cr(0,2,1,-1,0,1,1,0,0,1,3,0),Cr(0,3,1,-2,0,2,2,0,0,1,5,0),Cr(0,3,3,-2,0,3,4,0,0,1,8,0),Cr(0,2,4,-1,0,4,5,0,0,1,10,0),Cr(0,3,5,-1,0,5,8,0,0,1,14,0),Cr(0,3,5,-1,0,6,10,0,0,1,18,0),Cr(0,4,5,-2,0,7,10,1,0,2,16,1),Cr(0,5,5,-3,0,8,10,1,0,3,14,2),Cr(0,5,6,-3,0,9,12,1,0,3,16,2),Cr(0,6,6,-3,0,10,14,1,0,4,18,3),Cr(0,6,7,-4,0,11,15,1,0,4,20,3),Cr(0,7,8,-4,0,12,17,2,0,5,22,4),Cr(0,7,8,-4,0,13,19,2,0,5,24,4),Cr(0,7,9,-4,0,14,21,2,0,5,26,4),Cr(0,8,9,-5,0,15,22,2,0,6,28,5),Cr(0,8,10,-5,0,16,24,2,0,6,30,5),Cr(0,8,11,-5,0,17,26,2,0,6,32,5),Cr(0,9,11,-5,0,18,28,2,0,7,34,6),Cr(0,9,12,-6,0,19,29,2,0,7,36,6),Cr(0,10,13,-6,0,20,31,3,0,8,38,7),Cr(0,10,13,-6,0,21,33,3,0,8,40,7),Cr(0,10,14,-6,0,22,35,3,0,8,42,7),Cr(0,11,14,-7,0,23,36,3,0,9,44,8),Cr(0,11,15,-7,0,24,38,3,0,9,46,8)],Tr={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Ar={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ir(e){return`${Math.round(e)}ms`}function Nr(e){if(!e)return 0;const t=e/36;return Math.min(Math.round(10*(4+15*t**.25+t/5)),3e3)}function _r(e){const t={...Tr,...e.easing},n={...Ar,...e.duration};return{getAutoHeightDuration:Nr,create:(e=["all"],r={})=>{const{duration:a=n.standard,easing:o=t.easeInOut,delay:i=0,...s}=r;return(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof a?a:Ir(a)} ${o} ${"string"==typeof i?i:Ir(i)}`).join(",")},...e,easing:t,duration:n}}const Rr={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Or(e){return Re(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function Lr(e={}){const t={...e};return function e(t){const n=Object.entries(t);for(let r=0;r<n.length;r++){const[a,o]=n[r];!Or(o)||a.startsWith("unstable_")?delete t[a]:Re(o)&&(t[a]={...o},e(t[a]))}}(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(t,null,2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`}function Dr(e={},...t){const{breakpoints:n,mixins:r={},spacing:a,palette:o={},transitions:i={},typography:s={},shape:l,...c}=e;if(e.vars&&void 0===e.generateThemeVars)throw new Error(ye(20));const u=vr(o),d=Ft(e);let p=Le(d,{mixins:(f=d.breakpoints,m=r,{toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}},...m}),palette:u,shadows:kr.slice(),typography:Er(u,s),transitions:_r(i),zIndex:{...Rr}});var f,m;return p=Le(p,c),p=t.reduce((e,t)=>Le(e,t),p),p.unstable_sxConfig={...Pt,...c?.unstable_sxConfig},p.unstable_sx=function(e){return Mt({sx:e,theme:this})},p.toRuntimeSource=Lr,p}function Pr(e){let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,Math.round(10*t)/1e3}const Mr=[...Array(25)].map((e,t)=>{if(0===t)return"none";const n=Pr(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function jr(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function Fr(e){return"dark"===e?Mr:[]}function zr(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const $r=e=>(t,n)=>{const r=e.rootSelector||":root",a=e.colorSchemeSelector;let o=a;if("class"===a&&(o=".%s"),"data"===a&&(o="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(o=`[${a}="%s"]`),e.defaultColorScheme===t){if("dark"===t){const a={};return(i=e.cssVarPrefix,[...[...Array(25)].map((e,t)=>`--${i?`${i}-`:""}overlays-${t}`),`--${i?`${i}-`:""}palette-AppBar-darkBg`,`--${i?`${i}-`:""}
1palette-AppBar-darkColor`]).forEach(e=>{a[e]=n[e],delete n[e]}),"media"===o?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:a}}:o?{[o.replace("%s",t)]:a,[`${r}, ${o.replace("%s",t)}`]:n}:{[r]:{...n,...a}}}if(o&&"media"!==o)return`${r}, ${o.replace("%s",String(t))}`}else if(t){if("media"===o)return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(o)return o.replace("%s",String(t))}var i;return r};function Br(e,t,n){!e[t]&&n&&(e[t]=n)}function Ur(e){return"string"==typeof e&&e.startsWith("hsl")?wn(e):e}function Hr(e,t){`${t}Channel`in e||(e[`${t}Channel`]=xn(Ur(e[t])))}const Vr=e=>{try{return e()}catch(t){}};function Wr(e,t,n,r){if(!t)return;t=!0===t?{}:t;const a="dark"===r?"dark":"light";if(!n)return void(e[r]=function(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...a}=e,o=vr(t);return{palette:o,opacity:{...jr(o.mode),...n},overlays:r||Fr(o.mode),...a}}({...t,palette:{mode:a,...t?.palette}}));const{palette:o,...i}=Dr({...n,palette:{mode:a,...t?.palette}});return e[r]={...t,palette:o,opacity:{...jr(a),...t?.opacity},overlays:t?.overlays||Fr(a)},i}function Gr(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:a=!1,cssVarPrefix:o="mui",shouldSkipGeneratingVar:i=zr,colorSchemeSelector:s=(n.light&&n.dark?"media":void 0),rootSelector:l=":root",...c}=e,u=Object.keys(n)[0],d=r||(n.light&&"light"!==u?"light":u),p=((e="mui")=>tr(e))(o),{[d]:f,light:m,dark:h,...g}=n,b={...g};let y=f;if(("dark"===d&&!("dark"in n)||"light"===d&&!("light"in n))&&(y=!0),!y)throw new Error(ye(21,d));const v=Wr(b,y,c,d);m&&!b.light&&Wr(b,m,void 0,"light"),h&&!b.dark&&Wr(b,h,void 0,"dark");let x={defaultColorScheme:d,...v,cssVarPrefix:o,colorSchemeSelector:s,rootSelector:l,getCssVar:p,colorSchemes:b,font:{...xr(v.typography),...v.font},spacing:(S=c.spacing,"number"==typeof S?`${S}px`:"string"==typeof S||"function"==typeof S||Array.isArray(S)?S:"8px")};var S;Object.keys(x.colorSchemes).forEach(e=>{const t=x.colorSchemes[e].palette,n=e=>{const n=e.split("-"),r=n[1],a=n[2];return p(e,t[r][a])};var r;if("light"===t.mode&&(Br(t.common,"background","#fff"),Br(t.common,"onBackground","#000")),"dark"===t.mode&&(Br(t.common,"background","#000"),Br(t.common,"onBackground","#fff")),r=t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"].forEach(e=>{r[e]||(r[e]={})}),"light"===t.mode){Br(t.Alert,"errorColor",An(t.error.light,.6)),Br(t.Alert,"infoColor",An(t.info.light,.6)),Br(t.Alert,"successColor",An(t.success.light,.6)),Br(t.Alert,"warningColor",An(t.warning.light,.6)),Br(t.Alert,"errorFilledBg",n("palette-error-main")),Br(t.Alert,"infoFilledBg",n("palette-info-main")),Br(t.Alert,"successFilledBg",n("palette-success-main")),Br(t.Alert,"warningFilledBg",n("palette-warning-main")),Br(t.Alert,"errorFilledColor",Vr(()=>t.getContrastText(t.error.main))),Br(t.Alert,"infoFilledColor",Vr(()=>t.getContrastText(t.info.main))),Br(t.Alert,"successFilledColor",Vr(()=>t.getContrastText(t.success.main))),Br(t.Alert,"warningFilledColor",Vr(()=>t.getContrastText(t.warning.main))),Br(t.Alert,"errorStandardBg",Nn(t.error.light,.9)),Br(t.Alert,"infoStandardBg",Nn(t.info.light,.9)),Br(t.Alert,"successStandardBg",Nn(t.success.light,.9)),Br(t.Alert,"warningStandardBg",Nn(t.warning.light,.9)),Br(t.Alert,"errorIconColor",n("palette-error-main")),Br(t.Alert,"infoIconColor",n("palette-info-main")),Br(t.Alert,"successIconColor",n("palette-success-main")),Br(t.Alert,"warningIconColor",n("palette-warning-main")),Br(t.AppBar,"defaultBg",n("palette-grey-100")),Br(t.Avatar,"defaultBg",n("palette-grey-400")),Br(t.Button,"inheritContainedBg",n("palette-grey-300")),Br(t.Button,"inheritContainedHoverBg",n("palette-grey-A100")),Br(t.Chip,"defaultBorder",n("palette-grey-400")),Br(t.Chip,"defaultAvatarColor",n("palette-grey-700")),Br(t.Chip,"defaultIconColor",n("palette-grey-700")),Br(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),Br(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),Br(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),Br(t.LinearProgress,"primaryBg",Nn(t.primary.main,.62)),Br(t.LinearProgress,"secondaryBg",Nn(t.secondary.main,.62)),Br(t.LinearProgress,"errorBg",Nn(t.error.main,.62)),Br(t.LinearProgress,"infoBg",Nn(t.
vendor: 4,275 bytes, line 1
1info.main,.62)),Br(t.LinearProgress,"successBg",Nn(t.success.main,.62)),Br(t.LinearProgress,"warningBg",Nn(t.warning.main,.62)),Br(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.11)`),Br(t.Slider,"primaryTrack",Nn(t.primary.main,.62)),Br(t.Slider,"secondaryTrack",Nn(t.secondary.main,.62)),Br(t.Slider,"errorTrack",Nn(t.error.main,.62)),Br(t.Slider,"infoTrack",Nn(t.info.main,.62)),Br(t.Slider,"successTrack",Nn(t.success.main,.62)),Br(t.Slider,"warningTrack",Nn(t.warning.main,.62));const e=Rn(t.background.default,.8);Br(t.SnackbarContent,"bg",e),Br(t.SnackbarContent,"color",Vr(()=>t.getContrastText(e))),Br(t.SpeedDialAction,"fabHoverBg",Rn(t.background.paper,.15)),Br(t.StepConnector,"border",n("palette-grey-400")),Br(t.StepContent,"border",n("palette-grey-400")),Br(t.Switch,"defaultColor",n("palette-common-white")),Br(t.Switch,"defaultDisabledColor",n("palette-grey-100")),Br(t.Switch,"primaryDisabledColor",Nn(t.primary.main,.62)),Br(t.Switch,"secondaryDisabledColor",Nn(t.secondary.main,.62)),Br(t.Switch,"errorDisabledColor",Nn(t.error.main,.62)),Br(t.Switch,"infoDisabledColor",Nn(t.info.main,.62)),Br(t.Switch,"successDisabledColor",Nn(t.success.main,.62)),Br(t.Switch,"warningDisabledColor",Nn(t.warning.main,.62)),Br(t.TableCell,"border",Nn(kn(t.divider,1),.88)),Br(t.Tooltip,"bg",kn(t.grey[700],.92))}if("dark"===t.mode){Br(t.Alert,"errorColor",Nn(t.error.light,.6)),Br(t.Alert,"infoColor",Nn(t.info.light,.6)),Br(t.Alert,"successColor",Nn(t.success.light,.6)),Br(t.Alert,"warningColor",Nn(t.warning.light,.6)),Br(t.Alert,"errorFilledBg",n("palette-error-dark")),Br(t.Alert,"infoFilledBg",n("palette-info-dark")),Br(t.Alert,"successFilledBg",n("palette-success-dark")),Br(t.Alert,"warningFilledBg",n("palette-warning-dark")),Br(t.Alert,"errorFilledColor",Vr(()=>t.getContrastText(t.error.dark))),Br(t.Alert,"infoFilledColor",Vr(()=>t.getContrastText(t.info.dark))),Br(t.Alert,"successFilledColor",Vr(()=>t.getContrastText(t.success.dark))),Br(t.Alert,"warningFilledColor",Vr(()=>t.getContrastText(t.warning.dark))),Br(t.Alert,"errorStandardBg",An(t.error.light,.9)),Br(t.Alert,"infoStandardBg",An(t.info.light,.9)),Br(t.Alert,"successStandardBg",An(t.success.light,.9)),Br(t.Alert,"warningStandardBg",An(t.warning.light,.9)),Br(t.Alert,"errorIconColor",n("palette-error-main")),Br(t.Alert,"infoIconColor",n("palette-info-main")),Br(t.Alert,"successIconColor",n("palette-success-main")),Br(t.Alert,"warningIconColor",n("palette-warning-main")),Br(t.AppBar,"defaultBg",n("palette-grey-900")),Br(t.AppBar,"darkBg",n("palette-background-paper")),Br(t.AppBar,"darkColor",n("palette-text-primary")),Br(t.Avatar,"defaultBg",n("palette-grey-600")),Br(t.Button,"inheritContainedBg",n("palette-grey-800")),Br(t.Button,"inheritContainedHoverBg",n("palette-grey-700")),Br(t.Chip,"defaultBorder",n("palette-grey-700")),Br(t.Chip,"defaultAvatarColor",n("palette-grey-300")),Br(t.Chip,"defaultIconColor",n("palette-grey-300")),Br(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),Br(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),Br(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),Br(t.LinearProgress,"primaryBg",An(t.primary.main,.5)),Br(t.LinearProgress,"secondaryBg",An(t.secondary.main,.5)),Br(t.LinearProgress,"errorBg",An(t.error.main,.5)),Br(t.LinearProgress,"infoBg",An(t.info.main,.5)),Br(t.LinearProgress,"successBg",An(t.success.main,.5)),Br(t.LinearProgress,"warningBg",An(t.warning.main,.5)),Br(t.Skeleton,"bg",`rgba(${n("palette-text-primaryChannel")} / 0.13)`),Br(t.Slider,"primaryTrack",An(t.primary.main,.5)),Br(t.Slider,"secondaryTrack",An(t.secondary.main,.5)),Br(t.Slider,"errorTrack",An(t.error.main,.5)),Br(t.Slider,"infoTrack",An(t.info.main,.5)),Br(t.Slider,"successTrack",An(t.success.main,.5)),Br(t.Slider,"warningTrack",An(t.warning.main,.5));const e=Rn(t.background.default,.98);Br(t.SnackbarContent,"bg",e),Br(t.SnackbarContent,"color",Vr(()=>t.getContrastText(e))),Br(t.SpeedDialAction,"fabHoverBg",Rn(t.background.paper,.15)),Br(t.StepConnector,"border",n("palette-grey-600")),Br(t.StepContent,"border",n("palette-grey-600")),Br(t.Switch,"defaultColor",n("palette-grey-300")),Br(t.Switch,"defaultDisabledColor",n("palette-grey-600")),Br(t.Switch,"primaryDisabledColor",An(t.primary.main,.55)),Br(t.Switch,"secondary
1DisabledColor",An(t.secondary.main,.55)),Br(t.Switch,"errorDisabledColor",An(t.error.main,.55)),Br(t.Switch,"infoDisabledColor",An(t.info.main,.55)),Br(t.Switch,"successDisabledColor",An(t.success.main,.55)),Br(t.Switch,"warningDisabledColor",An(t.warning.main,.55)),Br(t.TableCell,"border",An(kn(t.divider,1),.68)),Br(t.Tooltip,"bg",kn(t.grey[700],.92))}Hr(t.background,"default"),Hr(t.background,"paper"),Hr(t.common,"background"),Hr(t.common,"onBackground"),Hr(t,"divider"),Object.keys(t).forEach(e=>{const n=t[e];"tonalOffset"!==e&&n&&"object"==typeof n&&(n.main&&Br(t[e],"mainChannel",xn(Ur(n.main))),n.light&&Br(t[e],"lightChannel",xn(Ur(n.light))),n.dark&&Br(t[e],"darkChannel",xn(Ur(n.dark))),n.contrastText&&Br(t[e],"contrastTextChannel",xn(Ur(n.contrastText))),"text"===e&&(Hr(t[e],"primary"),Hr(t[e],"secondary")),"action"===e&&(n.active&&Hr(t[e],"active"),n.selected&&Hr(t[e],"selected")))})}),x=t.reduce((e,t)=>Le(e,t),x);const w={prefix:o,disableCssColorScheme:a,shouldSkipGeneratingVar:i,getSelector:$r(x)},{vars:E,generateThemeVars:C,generateStyleSheets:k}=function(e,t={}){const{getSelector:n=g,disableCssColorScheme:r,colorSchemeSelector:a}=t,{colorSchemes:o={},components:i,defaultColorScheme:s="light",...l}=e,{vars:c,css:u,varsWithDefaults:d}=rr(l,t);let p=d;const f={},{[s]:m,...h}=o;if(Object.entries(h||{}).forEach(([e,n])=>{const{vars:r,css:a,varsWithDefaults:o}=rr(n,t);p=Le(p,o),f[e]={css:a,vars:r}}),m){const{css:e,vars:n,varsWithDefaults:r}=rr(m,t);p=Le(p,r),f[s]={css:e,vars:n}}function g(t,n){let r=a;if("class"===a&&(r=".%s"),"data"===a&&(r="[data-%s]"),a?.startsWith("data-")&&!a.includes("%s")&&(r=`[${a}="%s"]`),t){if("media"===r){if(e.defaultColorScheme===t)return":root";const r=o[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${r})`]:{":root":n}}}if(r)return e.defaultColorScheme===t?`:root, ${r.replace("%s",String(t))}`:r.replace("%s",String(t))}return":root"}return{vars:p,generateThemeVars:()=>{let e={...c};return Object.entries(f).forEach(([,{vars:t}])=>{e=Le(e,t)}),e},generateStyleSheets:()=>{const t=[],a=e.defaultColorScheme||"light";function i(e,n){Object.keys(n).length&&t.push("string"==typeof e?{[e]:{...n}}:e)}i(n(void 0,{...u}),u);const{[a]:s,...l}=f;if(s){const{css:e}=s,t=o[a]?.palette?.mode,l=!r&&t?{colorScheme:t,...e}:{...e};i(n(a,{...l}),l)}return Object.entries(l).forEach(([e,{css:t}])=>{const a=o[e]?.palette?.mode,s=!r&&a?{colorScheme:a,...t}:{...t};i(n(e,{...s}),s)}),t}}}(x,w);return x.vars=E,Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([e,t])=>{x[e]=t}),x.generateThemeVars=C,x.generateStyleSheets=k,x.generateSpacing=function(){return st(c.spacing,tt(this))},x.getColorSchemeSelector=function(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}(s),x.spacing=x.generateSpacing(),x.shouldSkipGeneratingVar=i,x.unstable_sxConfig={...Pt,...c?.unstable_sxConfig},x.unstable_sx=function(e){return Mt({sx:e,theme:this})},x.toRuntimeSource=Lr,x}function qr(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...!0!==n&&n,palette:vr({...!0===n?{}:n.palette,mode:t})})}function Yr(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:a=(n?void 0:{light:!0}),defaultColorScheme:o=n?.mode,...i}=e,s=o||"light",l=a?.[s],c={...a,...n?{[s]:{..."boolean"!=typeof l&&l,palette:n}}:void 0};if(!1===r){if(!("colorSchemes"in e))return Dr(e,...t);let r=n;"palette"in e||c[s]&&(!0!==c[s]?r=c[s].palette:"dark"===s&&(r={mode:"dark"}));const a=Dr({...e,palette:r},...t);return a.defaultColorScheme=s,a.colorSchemes=c,"light"===a.palette.mode&&(a.colorSchemes.light={...!0!==c.light&&c.light,palette:a.palette},qr(a,"dark",c.dark)),"dark"===a.palette.mode&&(a.colorSchemes.dark={...!0!==c.dark&&c.dark,palette:a.palette},qr(a,"light",c.light)),a}return n||"light"in c||"light"!==s||(c.light=!0),Gr({...i,colorSchemes:c,defaultColorScheme:s,..."boolean"!=typeof r&&r},...t)}const Xr=Yr();function Kr(){const e=Bt(Xr);return e[ve]||e}function Zr(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const Jr=e=>Zr(e)&&"classes"!==e,Qr=rn({themeId:ve,defaultTheme:Xr,rootShouldForwardProp:Jr});function ea({theme:e,...t}){const n=ve in e?e[ve]:void 0;return _.jsx(Vn,{...t,themeId:n?ve:void 0,theme:n||e})}const ta="mui-color-scheme",na="light",ra="dark",aa="mui-mode",{CssVarsProvi
1der:oa}=function(e){const{themeId:t,theme:n={},modeStorageKey:r=Gn,colorSchemeStorageKey:a=qn,disableTransitionOnChange:i=!1,defaultColorScheme:s,resolveTheme:l}=e,c={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},u=o.createContext(void 0),d={},p={},f="string"==typeof s?s:s.light,m="string"==typeof s?s:s.dark;return{CssVarsProvider:function(e){const{children:c,theme:f,modeStorageKey:m=r,colorSchemeStorageKey:h=a,disableTransitionOnChange:g=i,storageManager:b,storageWindow:y=("undefined"==typeof window?void 0:window),documentNode:v=("undefined"==typeof document?void 0:document),colorSchemeNode:x=("undefined"==typeof document?void 0:document.documentElement),disableNestedContext:S=!1,disableStyleSheetGeneration:w=!1,defaultMode:E="system",forceThemeRerender:C=!1,noSsr:k}=e,T=o.useRef(!1),A=Ln(),I=o.useContext(u),N=!!I&&!S,R=o.useMemo(()=>f||("function"==typeof n?n():n),[f]),O=R[t],L=O||R,{colorSchemes:D=d,components:P=p,cssVarPrefix:M}=L,j=Object.keys(D).filter(e=>!!D[e]).join(","),F=o.useMemo(()=>j.split(","),[j]),z="string"==typeof s?s:s.light,$="string"==typeof s?s:s.dark,B=D[z]&&D[$]?E:D[L.defaultColorScheme]?.palette?.mode||L.palette?.mode,{mode:U,setMode:H,systemMode:V,lightColorScheme:W,darkColorScheme:G,colorScheme:q,setColorScheme:Y}=er({supportedColorSchemes:F,defaultLightColorScheme:z,defaultDarkColorScheme:$,modeStorageKey:m,colorSchemeStorageKey:h,defaultMode:B,storageManager:b,storageWindow:y,noSsr:k});let X=U,K=q;N&&(X=I.mode,K=I.colorScheme);let Z=K||L.defaultColorScheme;L.vars&&!C&&(Z=L.defaultColorScheme);const J=o.useMemo(()=>{const e=L.generateThemeVars?.()||L.vars,t={...L,components:P,colorSchemes:D,cssVarPrefix:M,vars:e};if("function"==typeof t.generateSpacing&&(t.spacing=t.generateSpacing()),Z){const e=D[Z];e&&"object"==typeof e&&Object.keys(e).forEach(n=>{e[n]&&"object"==typeof e[n]?t[n]={...t[n],...e[n]}:t[n]=e[n]})}return l?l(t):t},[L,Z,P,D,M]),Q=L.colorSchemeSelector;dn(()=>{if(K&&x&&Q&&"media"!==Q){const e=Q;let t=Q;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))x.classList.remove(...F.map(e=>t.substring(1).replace("%s",e))),x.classList.add(t.substring(1).replace("%s",K));else{const e=t.replace("%s",K).match(/\[([^\]]+)\]/);if(e){const[t,n]=e[1].split("=");n||F.forEach(e=>{x.removeAttribute(t.replace(K,e))}),x.setAttribute(t,n?n.replace(/"|'/g,""):"")}else x.setAttribute(t,K)}}},[K,Q,x,F]),o.useEffect(()=>{let e;if(g&&T.current&&v){const t=v.createElement("style");t.appendChild(v.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),v.head.appendChild(t),window.getComputedStyle(v.body),e=setTimeout(()=>{v.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[K,g,v]),o.useEffect(()=>(T.current=!0,()=>{T.current=!1}),[]);const ee=o.useMemo(()=>({allColorSchemes:F,colorScheme:K,darkColorScheme:G,lightColorScheme:W,mode:X,setColorScheme:Y,setMode:H,systemMode:V}),[F,K,G,W,X,Y,H,V,J.colorSchemeSelector]);let te=!0;(w||!1===L.cssVariables||N&&A?.cssVarPrefix===M)&&(te=!1);const ne=_.jsxs(o.Fragment,{children:[_.jsx(Vn,{themeId:O?t:void 0,theme:J,children:c}),te&&_.jsx(xe,{styles:J.generateStyleSheets?.()||[]})]});return N?ne:_.jsx(u.Provider,{value:ee,children:ne})},useColorScheme:()=>o.useContext(u)||c,getInitColorSchemeScript:e=>function(e){const{defaultMode:t="system",defaultLightColorScheme:n="light",defaultDarkColorScheme:r="dark",modeStorageKey:a=Gn,colorSchemeStorageKey:o=qn,attribute:i=Yn,colorSchemeNode:s="document.documentElement",nonce:l}=e||{};let c="",u=i;if("class"===i&&(u=".%s"),"data"===i&&(u="[data-%s]"),u.startsWith(".")){const e=u.substring(1);c+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));\n ${s}.classList.add('${e}'.replace('%s', colorScheme));`}const d=u.match(/\[([^\]]+)\]/);if(d){const[e,t]=d[1].split("=");t||(c+=`${s}.removeAttribute('${e}'.replace('%s', light));\n ${s}.removeAttribute('${e}'.replace('%s', dark));`),c+=`\n ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else c+=`${s}.setAttribute('${u}', colorScheme);`;return _.jsx("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() {\
1ntry {\n let colorScheme = '';\n const mode = localStorage.getItem('${a}') || '${t}';\n const dark = localStorage.getItem('${o}-dark') || '${r}';\n const light = localStorage.getItem('${o}-light') || '${n}';\n if (mode === 'system') {\n // handle system mode\n const mql = window.matchMedia('(prefers-color-scheme: dark)');\n if (mql.matches) {\n colorScheme = dark\n } else {\n colorScheme = light\n }\n }\n if (mode === 'light') {\n colorScheme = light;\n }\n if (mode === 'dark') {\n colorScheme = dark;\n }\n if (colorScheme) {\n ${c}\n }\n} catch(e){}})();`}},"mui-color-scheme-init")}({colorSchemeStorageKey:a,defaultLightColorScheme:f,defaultDarkColorScheme:m,modeStorageKey:r,...e})}}({themeId:ve,theme:()=>Yr({cssVariables:!0}),colorSchemeStorageKey:ta,modeStorageKey:aa,defaultColorScheme:{light:na,dark:ra},resolveTheme:e=>{const t={...e,typography:Er(e.palette,e.typography)};return t.unstable_sx=function(e){return Mt({sx:e,theme:this})},t}}),ia=oa;function sa({theme:e,...t}){const n=o.useMemo(()=>{if("function"==typeof e)return e;const t=ve in e?e[ve]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return n?_.jsx(ea,{theme:n,...t}):_.jsx(ia,{theme:e,...t})}function la(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function ca(e){return _.jsx(Ut,{...e,defaultTheme:Xr,themeId:ve})}function ua(e){return function(t){return _.jsx(ca,{styles:"function"==typeof e?n=>e({theme:n,...t}):e})}}const da=function(e){let t,n;return function(r){let a=t;return void 0!==a&&r.theme===n||(Wn.theme=r.theme,a=Zt(e(Wn)),t=a,n=r.theme),a}};function pa(e){return Bn(e)}function fa(e){return Xt("MuiSvgIcon",e)}Kt("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ma=Qr("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Ve(n.color)}`],t[`fontSize${Ve(n.fontSize)}`]]}})(da(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,e])=>e&&e.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),ha=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiSvgIcon"}),{children:r,className:a,color:i="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:p="0 0 24 24",...f}=n,m=o.isValidElement(r)&&"svg"===r.type,h={...n,color:i,component:s,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:m},g={};u||(g.viewBox=p);const b=(e=>{const{color:t,fontSize:n,classes:r}=e;return ar({root:["root","inherit"!==t&&`color${Ve(t)}`,`fontSize${Ve(n)}`]},fa,r)})(h);return _.jsxs(ma,{as:s,className:qt(b.root,a),focusable:"false",color:c,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t,...g,...f,...m&&r.props,ownerState:h,children:[m?r.props.children:r,d?_.jsx("title",{children:d}):null]})});function ga(e,t){function n(t,n){return _.jsx(ha,{"data-testid":void 0,ref:n,...t,children:e})}return n.muiName=ha.muiName,o.memo(o.forwardRef(n))}function ba(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}function ya(e){return e&&e.ownerDocument||document}function va(e){return ya(e).defaultView||window}function xa(e,t){"function"==typeof e?e(t):e&&(e.current=t)}ha.muiName="SvgIcon";let Sa=0;const wa={...s}.useId;function Ea(e){if(void 0!==wa){const t=wa();return e??t}return function(e){const[t,n]=o.useState(e),r=e||t;return o.useEffect(()=>{null==t&&(Sa+=1,n(`mui-${Sa}`))},[t]),r}(e)}function Ca(e){const{controlled:t,default:n,name:r,state:a="value"}=e,{current:i}=o.useRef(void 0!==t),[s,l]=o.useState(n);return[i?t:s,o.useCallback(e=>{i||l(e)},[])]}function ka(e){const t=o.useRef(e);return dn(()=>{t.current=e}),o.useRef((...e)=>(0,t.current)(...e)).current}function Ta(...e){const t=o.useRef(void 0),n=o.useCallback(t=>{const n=e.map(e=>{if(null==e)return null;if("function"==typeof e){const n=e,r=n(t);return"function"==typeof r?r:()=>{n(null)}}return e.current=t,()=>{e.current=null}});return()=>
1{n.forEach(e=>e?.())}},e);return o.useMemo(()=>e.every(e=>null==e)?null:e=>{t.current&&(t.current(),t.current=void 0),null!=e&&(t.current=n(e))},e)}function Aa(e,t){if(!e)return t;function n(e,t){const n={};return Object.keys(t).forEach(r=>{(function(e,t){const n=e.charCodeAt(2);return"o"===e[0]&&"n"===e[1]&&n>=65&&n<=90&&"function"==typeof t})(r,t[r])&&"function"==typeof e[r]&&(n[r]=(...n)=>{e[r](...n),t[r](...n)})}),n}if("function"==typeof e||"function"==typeof t)return r=>{const a="function"==typeof t?t(r):t,o="function"==typeof e?e({...r,...a}):e,i=qt(r?.className,a?.className,o?.className),s=n(o,a);return{...a,...o,...s,...!!i&&{className:i},...a?.style&&o?.style&&{style:{...a.style,...o.style}},...a?.sx&&o?.sx&&{sx:[...Array.isArray(a.sx)?a.sx:[a.sx],...Array.isArray(o.sx)?o.sx:[o.sx]]}}};const r=t,a=n(e,r),o=qt(r?.className,e?.className);return{...t,...e,...a,...!!o&&{className:o},...r?.style&&e?.style&&{style:{...r.style,...e.style}},...r?.sx&&e?.sx&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Ia(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}function Na(e,t){return Na=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Na(e,t)}function _a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Na(e,t)}var Ra=f();const Oa=m(Ra),La=!1,Da=l.createContext(null);var Pa="unmounted",Ma="exited",ja="entering",Fa="entered",za="exiting",$a=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var a,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(a=Ma,r.appearStatus=ja):a=Fa:a=t.unmountOnExit||t.mountOnEnter?Pa:Ma,r.state={status:a},r.nextCallback=null,r}_a(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Pa?{status:Ma}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==ja&&n!==Fa&&(t=ja):n!==ja&&n!==Fa||(t=za)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===ja){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:Oa.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ma&&this.setState({status:Pa})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,a=this.props.nodeRef?[r]:[Oa.findDOMNode(this),r],o=a[0],i=a[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||La?this.safeSetState({status:Fa},function(){t.props.onEntered(o)}):(this.props.onEnter(o,i),this.safeSetState({status:ja},function(){t.props.onEntering(o,i),t.onTransitionEnd(l,function(){t.safeSetState({status:Fa},function(){t.props.onEntered(o,i)})})}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:Oa.findDOMNode(this);t&&!La?(this.props.onExit(r),this.safeSetState({status:za},function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:Ma},function(){e.props.onExited(r)})})})):this.safeSetState({status:Ma},function(){e.props.onExited(r)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:Oa.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=a[0],i=a[1];this.props.addEndListener(o,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Pa)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=Ia(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return l.createElement(Da.Provider,{value:null},"function"==typeof n?n(e,r):l.cloneElement(l.Children.only(n),r))},t}(l.Component);function Ba(){}function Ua(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ha(e,t){var n=Object.create(null);return e&&o.Children.map(e,function(e){return e}
vendor: 1,697 bytes, line 1
1).forEach(function(e){n[e.key]=function(e){return t&&o.isValidElement(e)?t(e):e}(e)}),n}function Va(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Wa(e,t,n){var r=Ha(e.children),a=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,a=Object.create(null),o=[];for(var i in e)i in t?o.length&&(a[i]=o,o=[]):o.push(i);var s={};for(var l in t){if(a[l])for(r=0;r<a[l].length;r++){var c=a[l][r];s[a[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(a).forEach(function(i){var s=a[i];if(o.isValidElement(s)){var l=i in t,c=i in r,u=t[i],d=o.isValidElement(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&o.isValidElement(u)&&(a[i]=o.cloneElement(s,{onExited:n.bind(null,s),in:u.props.in,exit:Va(s,"exit",e),enter:Va(s,"enter",e)})):a[i]=o.cloneElement(s,{in:!1}):a[i]=o.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:Va(s,"exit",e),enter:Va(s,"enter",e)})}}),a}$a.contextType=Da,$a.propTypes={},$a.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Ba,onEntering:Ba,onEntered:Ba,onExit:Ba,onExiting:Ba,onExited:Ba},$a.UNMOUNTED=Pa,$a.EXITED=Ma,$a.ENTERING=ja,$a.ENTERED=Fa,$a.EXITING=za;var Ga=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},qa=function(e){function t(t,n){var r,a=(r=e.call(this,t,n)||this).handleExited.bind(Ua(r));return r.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},r}_a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,a=t.children,i=t.handleExited;
1return{children:t.firstRender?(n=e,r=i,Ha(n.children,function(e){return o.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:Va(e,"appear",n),enter:Va(e,"enter",n),exit:Va(e,"exit",n)})})):Wa(e,a,i),firstRender:!1}},n.handleExited=function(e,t){var n=Ha(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var n=c({},t.children);return delete n[e.key],{children:n}}))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Ia(e,["component","childFactory"]),a=this.state.contextValue,o=Ga(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?l.createElement(Da.Provider,{value:a},o):l.createElement(Da.Provider,{value:a},l.createElement(t,r,o))},t}(l.Component);qa.propTypes={},qa.defaultProps={component:"div",childFactory:function(e){return e}};const Ya={};function Xa(e,t){const n=o.useRef(Ya);return n.current===Ya&&(n.current=e(t)),n}const Ka=[];class Za{static create(){return new Za}currentId=null;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Ja(){const e=Xa(Za.create).current;return function(e){o.useEffect(e,Ka)}(e.disposeEffect),e}const Qa=e=>e.scrollTop;function eo(e,t){const{timeout:n,easing:r,style:a={}}=e;return{duration:a.transitionDuration??("number"==typeof n?n:n[t.mode]||0),easing:a.transitionTimingFunction??("object"==typeof r?r[t.mode]:r),delay:a.transitionDelay}}function to(e){return Xt("MuiCollapse",e)}Kt("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const no=Qr("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],"entered"===n.state&&t.entered,"exited"===n.state&&!n.in&&"0px"===n.collapsedSize&&t.hidden]}})(da(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]}))),ro=Qr("div",{name:"MuiCollapse",slot:"Wrapper"})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),ao=Qr("div",{name:"MuiCollapse",slot:"WrapperInner"})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),oo=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiCollapse"}),{addEndListener:r,children:a,className:i,collapsedSize:s="0px",component:l,easing:c,in:u,onEnter:d,onEntered:p,onEntering:f,onExit:m,onExited:h,onExiting:g,orientation:b="vertical",style:y,timeout:v=Ar.standard,TransitionComponent:x=$a,...S}=n,w={...n,orientation:b,collapsedSize:s},E=(e=>{const{orientation:t,classes:n}=e;return ar({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},to,n)})(w),C=Kr(),k=Ja(),T=o.useRef(null),A=o.useRef(),I="number"==typeof s?`${s}px`:s,N="horizontal"===b,R=N?"width":"height",O=o.useRef(null),L=Ta(t,O),D=e=>t=>{if(e){const n=O.current;void 0===t?e(n):e(n,t)}},P=()=>T.current?T.current[N?"clientWidth":"clientHeight"]:0,M=D((e,t)=>{T.current&&N&&(T.current.style.position="absolute"),e.style[R]=I,d&&d(e,t)}),j=D((e,t)=>{const n=P();T.current&&N&&(T.current.style.position="");const{duration:r,easing:a}=eo({style:y,timeout:v,easing:c},{mode:"enter"});if("auto"===v){const t=C.transitions.getAutoHeightDuration(n);e.style.transitionDuration=`${t}ms`,A.current=t}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[R]=`${n}px`,e.style.transitionTimingFunction=a,f&&f(e,t)}),F=D((e,t)=>{e.style[R]="auto",p&&p(e,t)}),z=D(e=>{e.style[R]=`${P()}px`,m&&m(e)}),$=D(h),B=D(e=>{const t=P(),{duration:n,easing:r}=eo({style:y,timeout:v,easing:c},{mode:"exit"});if("auto"===v){const n=C.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${n}ms`,A.current=n}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[R]=I,e.style.transitionTimingFunction=r,g&&g(e)});return _.jsx(x,{in:u,onEnter:M,onEntered:F,onEntering:j,onExit:z,onExited:$,onExiting:
vendor: 4,084 bytes, line 1
1B,addEndListener:e=>{"auto"===v&&k.start(A.current||0,e),r&&r(O.current,e)},nodeRef:O,timeout:"auto"===v?null:v,...S,children:(e,{ownerState:t,...n})=>_.jsx(no,{as:l,className:qt(E.root,i,{entered:E.entered,exited:!u&&"0px"===I&&E.hidden}[e]),style:{[N?"minWidth":"minHeight"]:I,...y},ref:L,ownerState:{...w,state:e},...n,children:_.jsx(ro,{ownerState:{...w,state:e},className:E.wrapper,ref:T,children:_.jsx(ao,{ownerState:{...w,state:e},className:E.wrapperInner,children:a})})})})});function io(e){return Xt("MuiPaper",e)}oo&&(oo.muiSupportAuto=!0),Kt("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const so=Qr("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})(da(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:e})=>!e.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),lo=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiPaper"}),r=Kr(),{className:a,component:o="div",elevation:i=1,square:s=!1,variant:l="elevation",...c}=n,u={...n,component:o,elevation:i,square:s,variant:l},d=(e=>{const{square:t,elevation:n,variant:r,classes:a}=e;return ar({root:["root",r,!t&&"rounded","elevation"===r&&`elevation${n}`]},io,a)})(u);return _.jsx(so,{as:o,ownerState:u,className:qt(d.root,a),ref:t,...c,style:{..."elevation"===l&&{"--Paper-shadow":(r.vars||r).shadows[i],...r.vars&&{"--Paper-overlay":r.vars.overlays?.[i]},...!r.vars&&"dark"===r.palette.mode&&{"--Paper-overlay":`linear-gradient(${Cn("#fff",Pr(i))}, ${Cn("#fff",Pr(i))})`}},...c.style}})});function co(e,t,n){return void 0===e||"string"==typeof e?t:{...t,ownerState:{...t.ownerState,...n}}}function uo(e,t,n){return"function"==typeof e?e(t,n):e}function po(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter(n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n)).forEach(t=>{n[t]=e[t]}),n}function fo(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(n=>{t[n]=e[n]}),t}function mo(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:a,className:o}=e;if(!t){const e=qt(n?.className,o,a?.className,r?.className),t={...n?.style,...a?.style,...r?.style},i={...n,...a,...r};return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}const i=po({...a,...r}),s=fo(r),l=fo(a),c=t(i),u=qt(c?.className,n?.className,o,a?.className,r?.className),d={...c?.style,...n?.style,...a?.style,...r?.style},p={...c,...n,...l,...s};return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}function ho(e,t){const{className:n,elementType:r,ownerState:a,externalForwardedProps:o,internalForwardedProps:i,shouldForwardComponentProp:s=!1,...l}=t,{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...p}=o,f=u[e]||r,m=uo(d[e],a),{props:{component:h,...g},internalRef:b}=mo({className:n,...l,externalForwardedProps:"root"===e?p:void 0,externalSlotProps:m}),y=Ta(b,m?.ref,t.ref),v="root"===e?h||c:h;return[f,co(f,{..."root"===e&&!c&&!u[e]&&i,..."root"!==e&&!u[e]&&i,...g,...v&&!s&&{as:v},...v&&s&&{component:v},ref:y},a)]}function go(e){try{return e.matches(":focus-visible")}catch(t){}return!1}class bo{static create(){return new bo}static use(){const e=Xa(bo.create).current,[t,n]=o.useState(!1);
1return e.shouldMount=t,e.setShouldMount=n,o.useEffect(e.mountEffect,[t]),e}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=function(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n}(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())};start(...e){this.mount().then(()=>this.ref.current?.start(...e))}stop(...e){this.mount().then(()=>this.ref.current?.stop(...e))}pulsate(...e){this.mount().then(()=>this.ref.current?.pulsate(...e))}}const yo=Kt("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),vo=u` 2 0% { 3 transform: scale(0); 4 opacity: 0.1; 5 } 6 7 100% { 8 transform: scale(1); 9 opacity: 0.3; 10 } 11`,xo=u` 12 0% { 13 opacity: 1; 14 } 15 16 100% { 17 opacity: 0; 18 } 19`,So=u` 20 0% { 21 transform: scale(1); 22 } 23 24 50% { 25 transform: scale(0.92); 26 } 27 28 100% { 29 transform: scale(1); 30 } 31`,wo=Qr("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Eo=Qr(function(e){const{className:t,classes:n,pulsate:r=!1,rippleX:a,rippleY:i,rippleSize:s,in:l,onExited:c,timeout:u}=e,[d,p]=o.useState(!1),f=qt(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:s,height:s,top:-s/2+i,left:-s/2+a},h=qt(n.child,d&&n.childLeaving,r&&n.childPulsate);return l||d||p(!0),o.useEffect(()=>{if(!l&&null!=c){const e=setTimeout(c,u);return()=>{clearTimeout(e)}}},[c,l,u]),_.jsx("span",{className:f,style:m,children:_.jsx("span",{className:h})})},{name:"MuiTouchRipple",slot:"Ripple"})` 32 opacity: 0; 33 position: absolute; 34 35 &.${yo.rippleVisible} { 36 opacity: 0.3; 37 transform: scale(1); 38 animation-name: ${vo}; 39 animation-duration: ${550}ms; 40 animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; 41 } 42 43 &.${yo.ripplePulsate} { 44 animation-duration: ${({theme:e})=>e.transitions.duration.shorter}ms; 45 } 46 47 & .${yo.child} { 48 opacity: 1; 49 display: block; 50 width: 100%; 51 height: 100%; 52 border-radius: 50%; 53 background-color: currentColor; 54 } 55 56 & .${yo.childLeaving} { 57 opacity: 0; 58 animation-name: ${xo}; 59 animation-duration: ${550}ms; 60 animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; 61 } 62 63 & .${yo.childPulsate} { 64 position: absolute; 65 /* @noflip */ 66 left: 0px; 67 top: 0; 68 animation-name: ${So}; 69 animation-duration: 2500ms; 70 animation-timing-function: ${({theme:e})=>e.transitions.easing.easeInOut}; 71 animation-iteration-count: infinite; 72 animation-delay: 200ms; 73 } 74`,Co=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:a={},className:i,...s}=n,[l,c]=o.useState([]),u=o.useRef(0),d=o.useRef(null);o.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const p=o.useRef(!1),f=Ja(),m=o.useRef(null),h=o.useRef(null),g=o.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:o,cb:i}=e;c(e=>[...e,_.jsx(Eo,{classes:{ripple:qt(a.ripple,yo.ripple),rippleVisible:qt(a.rippleVisible,yo.rippleVisible),ripplePulsate:qt(a.ripplePulsate,yo.ripplePulsate),child:qt(a.child,yo.child),childLeaving:qt(a.childLeaving,yo.childLeaving),childPulsate:qt(a.childPulsate,yo.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:o},u.current)]),u.current+=1,d.current=i},[a]),b=o.useCallback((e={},t={},n=()=>{})=>{const{pulsate:a=!1,center:o=r||t.pulsate,fakeElement:i=!1}=t;if("mousedown"===e?.type&&p.current)return void(p.current=!1);"touchstart"===e?.type&&(p.current=!0);const s=i?null:h.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(o||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(n-l.top)}if(o)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);
74else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}e?.touches?null===m.current&&(m.current=()=>{g({pulsate:a,rippleX:c,rippleY:u,rippleSize:d,cb:n})},f.start(80,()=>{m.current&&(m.current(),m.current=null)})):g({pulsate:a,rippleX:c,rippleY:u,rippleSize:d,cb:n})},[r,g,f]),y=o.useCallback(()=>{b({},{pulsate:!0})},[b]),v=o.useCallback((e,t)=>{if(f.clear(),"touchend"===e?.type&&m.current)return m.current(),m.current=null,void f.start(0,()=>{v(e,t)});m.current=null,c(e=>e.length>0?e.slice(1):e),d.current=t},[f]);return o.useImperativeHandle(t,()=>({pulsate:y,start:b,stop:v}),[y,b,v]),_.jsx(wo,{className:qt(yo.root,a.root,i),ref:h,...s,children:_.jsx(qa,{component:null,exit:!0,children:l})})});function ko(e){return Xt("MuiButtonBase",e)}const To=Kt("MuiButtonBase",["root","disabled","focusVisible"]),Ao=Qr("button",{name:"MuiButtonBase",slot:"Root"})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${To.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Io=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:a=!1,children:i,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:p=!1,focusVisibleClassName:f,LinkComponent:m="a",onBlur:h,onClick:g,onContextMenu:b,onDragLeave:y,onFocus:v,onFocusVisible:x,onKeyDown:S,onKeyUp:w,onMouseDown:E,onMouseLeave:C,onMouseUp:k,onTouchEnd:T,onTouchMove:A,onTouchStart:I,tabIndex:N=0,TouchRippleProps:R,touchRippleRef:O,type:L,...D}=n,P=o.useRef(null),M=bo.use(),j=Ta(M.ref,O),[F,z]=o.useState(!1);c&&F&&z(!1),o.useImperativeHandle(r,()=>({focusVisible:()=>{z(!0),P.current.focus()}}),[]);const $=M.shouldMount&&!u&&!c;o.useEffect(()=>{F&&p&&!u&&M.pulsate()},[u,p,F,M]);const B=No(M,"start",E,d),U=No(M,"stop",b,d),H=No(M,"stop",y,d),V=No(M,"stop",k,d),W=No(M,"stop",e=>{F&&e.preventDefault(),C&&C(e)},d),G=No(M,"start",I,d),q=No(M,"stop",T,d),Y=No(M,"stop",A,d),X=No(M,"stop",e=>{go(e.target)||z(!1),h&&h(e)},!1),K=ka(e=>{P.current||(P.current=e.currentTarget),go(e.target)&&(z(!0),x&&x(e)),v&&v(e)}),Z=()=>{const e=P.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},J=ka(e=>{p&&!e.repeat&&F&&" "===e.key&&M.stop(e,()=>{M.start(e)}),e.target===e.currentTarget&&Z()&&" "===e.key&&e.preventDefault(),S&&S(e),e.target===e.currentTarget&&Z()&&"Enter"===e.key&&!c&&(e.preventDefault(),g&&g(e))}),Q=ka(e=>{p&&" "===e.key&&F&&!e.defaultPrevented&&M.stop(e,()=>{M.pulsate(e)}),w&&w(e),g&&e.target===e.currentTarget&&Z()&&" "===e.key&&!e.defaultPrevented&&g(e)});let ee=l;"button"===ee&&(D.href||D.to)&&(ee=m);const te={};"button"===ee?(te.type=void 0===L?"button":L,te.disabled=c):(D.href||D.to||(te.role="button"),c&&(te["aria-disabled"]=c));const ne=Ta(t,P),re={...n,centerRipple:a,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:p,tabIndex:N,focusVisible:F},ae=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:a}=e,o=ar({root:["root",t&&"disabled",n&&"focusVisible"]},ko,a);return n&&r&&(o.root+=` ${r}`),o})(re);return _.jsxs(Ao,{as:ee,className:qt(ae.root,s),ownerState:re,onBlur:X,onClick:g,onContextMenu:U,onFocus:K,onKeyDown:J,onKeyUp:Q,onMouseDown:B,onMouseLeave:W,onMouseUp:V,onDragLeave:H,onTouchEnd:q,onTouchMove:Y,onTouchStart:G,ref:ne,tabIndex:c?-1:N,type:L,...te,...D,children:[i,$?_.jsx(Co,{ref:j,center:a,...R}):null]})});function No(e,t,n,r=!1){return ka(a=>(n&&n(a),r||e[t](a),!0))}function _o(e=[]){return([,t])=>t&&function(e,t=[]){if(!function(e){return"string"==typeof e.main}(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||"string"!=typeof e[n])return!1;return!0}(t,e)}function Ro(e){return Xt("MuiAlert",e)}const Oo=Kt("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Lo(e){return Xt("MuiCircularProgress",e)}Kt("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const Do=44,Po=u` 75 0% { 76 transform: rotate(0deg); 77 } 78 79 100% { 80 transform: rotate(360deg); 81 } 82`,Mo=u` 83 0% { 84 stroke-dasharray: 1px, 200px; 85 stroke-dashoffset: 0; 86 } 87 88 50% { 89 stroke-dasharray: 100px, 200px; 90 stroke-dashoffset: -15px; 91 } 92 93 100% { 94 stroke-dasharray: 1px, 200px; 95 stroke-dashoffset: -126px; 96 } 97`,jo="string"!=typeof Po?d` 98 animation: ${Po} 1.4s linear infinite; 99 `:null,Fo="string"!=typeof Mo?d` 100 animation: ${Mo} 1.4s ease-in-out infinite; 101 `:null,zo=Qr("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${Ve(n.color)}`]]}})(da(({theme:e})=>({display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("transform")}},{props:{variant:"indeterminate"},style:jo||{animation:`${Po} 1.4s linear infinite`}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}}))]}))),$o=Qr("svg",{name:"MuiCircularProgress",slot:"Svg"})({display:"block"}),Bo=Qr("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${Ve(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(da(({theme:e})=>({stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:e.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink,style:Fo||{animation:`${Mo} 1.4s ease-in-out infinite`}}]}))),Uo=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiCircularProgress"}),{className:r,color:a="primary",disableShrink:o=!1,size:i=40,style:s,thickness:l=3.6,value:c=0,variant:u="indeterminate",...d}=n,p={...n,color:a,disableShrink:o,size:i,thickness:l,value:c,variant:u},f=(e=>{const{classes:t,variant:n,color:r,disableShrink:a}=e;return ar({root:["root",n,`color${Ve(r)}
101`],svg:["svg"],circle:["circle",`circle${Ve(n)}`,a&&"circleDisableShrink"]},Lo,t)})(p),m={},h={},g={};if("determinate"===u){const e=2*Math.PI*((Do-l)/2);m.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(c),m.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,h.transform="rotate(-90deg)"}return _.jsx(zo,{className:qt(f.root,r),style:{width:i,height:i,...h,...s},ownerState:p,ref:t,role:"progressbar",...g,...d,children:_.jsx($o,{className:f.svg,ownerState:p,viewBox:"22 22 44 44",children:_.jsx(Bo,{className:f.circle,style:m,ownerState:p,cx:Do,cy:Do,r:(Do-l)/2,fill:"none",strokeWidth:l})})})});function Ho(e){return Xt("MuiIconButton",e)}const Vo=Kt("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"]),Wo=Qr(Io,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.loading&&t.loading,"default"!==n.color&&t[`color${Ve(n.color)}`],n.edge&&t[`edge${Ve(n.edge)}`],t[`size${Ve(n.size)}`]]}})(da(({theme:e})=>({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette.action.active,e.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]})),da(({theme:e})=>({variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{"--IconButton-hoverBg":e.vars?`rgba(${(e.vars||e).palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn((e.vars||e).palette[t].main,e.palette.action.hoverOpacity)}})),{props:{size:"small"},style:{padding:5,fontSize:e.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:e.typography.pxToRem(28)}}],[`&.${Vo.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled},[`&.${Vo.loading}`]:{color:"transparent"}}))),Go=Qr("span",{name:"MuiIconButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(e.vars||e).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]})),qo=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiIconButton"}),{edge:r=!1,children:a,className:o,color:i="default",disabled:s=!1,disableFocusRipple:l=!1,size:c="medium",id:u,loading:d=null,loadingIndicator:p,...f}=n,m=Ea(u),h=p??_.jsx(Uo,{"aria-labelledby":m,color:"inherit",size:16}),g={...n,edge:r,color:i,disabled:s,disableFocusRipple:l,loading:d,loadingIndicator:h,size:c},b=(e=>{const{classes:t,disabled:n,color:r,edge:a,size:o,loading:i}=e;return ar({root:["root",i&&"loading",n&&"disabled","default"!==r&&`color${Ve(r)}`,a&&`edge${Ve(a)}`,`size${Ve(o)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},Ho,t)})(g);return _.jsxs(Wo,{id:d?m:u,className:qt(b.root,o),centerRipple:!0,focusRipple:!l,disabled:s||d,ref:t,...f,ownerState:g,children:["boolean"==typeof d&&_.jsx("span",{className:b.loadingWrapper,style:{display:"contents"},children:_.jsx(Go,{className:b.loadingIndicator,ownerState:g,children:d&&h})}),a]})}),Yo=ga(_.jsx("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"})),Xo=ga(_.jsx("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"})),Ko=ga(_.jsx("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),Zo=ga(_.jsx("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"})),Jo=ga(_.jsx("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),Qo=Qr(lo,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ve(n.color||n.severity)}`]]}})(da(({theme:e})=>{const t="light"===e.palette.mode?Tn:In,n="light"===e.palette.mode?In:Tn;return{...e.typography.body2,backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(_o(["light"])).map(([r])=>({props:{colorSeverity:r,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${r}StandardBg`]:n(e.palette[r].light,.9),[`& .${Oo.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(_o(["light"])).map(([n])=>({props:{colorSeverity:n,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),border:`1px solid ${(e.vars||e).palette[n].light}`,[`& .${Oo.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(_o(["dark"])).map(([t])=>({props:{colorSeverity:t,variant:"filled"},style:{fontWeight:e.typography.fontWeightMedium,...e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)}}}))]}})),ei=Qr("div",{name:"MuiAlert",slot:"Icon"})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),ti=Qr("div",{name:"MuiAlert",slot:"Message"})({padding:"8px 0",minWidth:0,overflow:"auto"}),ni=Qr("div",{name:"MuiAlert",slot:"Action"})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),ri={success:_.jsx(Yo,{fontSize:"inherit"}),warning:_.jsx(Xo,{fontSize:"inherit"}),error:_.jsx(Ko,{fontSize:"inherit"}),info:_.jsx(Zo,{fontSize:"inherit"})},ai=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiAlert"}),{action:r,children:a,className:o,closeText:i="Close",color:s,components:l={},componentsProps:c={},icon:u,iconMapping:d=ri,onClose:p,role:f="alert",severity:m="success",slotProps:h={},slots:g={},variant:b="standard",...y}=n,v={...n,color:s,severity:m,variant:b,colorSeverity:s||m},x=(e=>{const{variant:t,color:n,severity:r,classes:a}=e;return ar({root:["root",`color${Ve(n||r)}`,`${t}${Ve(n||r)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]},Ro,a)})(v),S={slots:{closeButton:l.CloseButton,closeIcon:l.CloseIcon,...g},slotProps:{...c,...h}},[w,E]=ho("root",{ref:t,shouldForwardComponentProp:!0,className:qt(x.root,o),elementType:Qo,externalForwardedProps:{...S,...y},ownerState:v,additionalProps:{role:f,elevation:0}}),[C,k]=ho("icon",{className:x.icon,elementType:ei,externalForwardedProps:S,ownerState:v}),[T,A]=ho("message",{className:x.message,elementType:ti,externalForwardedProps:S,ownerState:v}),[I,N]=ho("action",{className:x.action,elementType:ni,externalForwardedProps:S,ownerState:v}),[R,O]=ho("closeButton",{elementType:qo,externalForwardedProps:S,ownerState:v}),[L,D]=ho("closeIcon",{elementType:Jo,externalForwardedProps:S,ownerState:v});return _.jsxs(w,{...E,children:[!1!==u?_.jsx(C,{...k,children:u||d[m]||ri[m]}):null,_.jsx(T,{...A,children:a}),null!=r?_.jsx(I,{...N,children:r}):null,null==r&&p?_.jsx(I,{...N,children:_.jsx(R,{size:"small","aria-label":i,title:i,color:"inherit",onClick:p,...O,children:_.jsx(L,{fontSize:"small",...D})})}):null]})});function oi(e){return Xt("MuiTypography",e)}const ii=Kt("MuiTypography",["root","h1","h2","h3","h4","h5","h6","
101subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]),si={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},li=Ht,ci=Qr("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Ve(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(da(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${Ve(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),ui={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},di=o.forwardRef(function(e,t){const{color:n,...r}=pa({props:e,name:"MuiTypography"}),a=li({...r,...!si[n]&&{color:n}}),{align:o="inherit",className:i,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=ui,...f}=a,m={...a,align:o,color:n,className:i,component:s,gutterBottom:l,noWrap:c,paragraph:u,variant:d,variantMapping:p},h=s||(u?"p":p[d]||ui[d])||"span",g=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:a,variant:o,classes:i}=e;return ar({root:["root",o,"inherit"!==e.align&&`align${Ve(t)}`,n&&"gutterBottom",r&&"noWrap",a&&"paragraph"]},oi,i)})(m);return _.jsx(ci,{as:h,ref:t,className:qt(g.root,i),...f,ownerState:m,style:{..."inherit"!==o&&{"--Typography-textAlign":o},...f.style}})});function pi(e){return Xt("MuiAppBar",e)}Kt("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const fi=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,mi=Qr(lo,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Ve(n.position)}`],t[`color${Ve(n.color)}`]]}})(da(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter(_o(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:e=>!0===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>!1===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?fi(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?fi(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),hi=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiAppBar"}),{className:r,color:a="primary",enableColorOnDark:o=!1,position:i="fixed",...s}=n,l={...n,color:a,position:i,enableColorOnDark:o},c=(e=>{const{color:t,position:n,classes:r}=e;return ar({root:["root",`color${Ve(t)}`,`position${Ve(n)}`]},pi,r)})(l);return _.jsx(mi,{square:!0,component:"header",ownerState:l,elevation:4,className:qt(c.root,r,"fixed"===i&&"mui-fixed"),ref:t,...s})}),gi=e=>{const t=o.useRef({});return o.useEffect(()=>{t.current=e}),t.current};function bi(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}const yi=function(e={}){const{ignoreAccents:t=!0,ignoreCase:n=!0,limit:r,matchFrom:a="any",stringify:o,trim:i=!1}=e;return(e,{inputValue:s,getOptionLabel:l})=>{let c=i?s.trim():s;n&&(c=c.toLowerCase()),t&&(c=bi(c));const u=c?e.filter(e=>{let r=(o||l)(e);return n&&(r=r.toLowerCase()),t&&(r=bi(r)),"start"===a?r.startsWith(c):r.includes(c)}):e;return"number"==typeof r?u.slice(0,r):u}}(),vi=e=>null!==e.current&&e.current.parentElement?.contains(document.activeElement),xi=[];function Si(e,t,n,r){if(t||null==e||r)return"";const a=n(e);return"string"==typeof a?a:""}function wi(e){const{unstable_isActiveElementInListbox:t=vi,unstable_classNamePrefix:n="Mui",autoComplete:r=!1,autoHighlight:a=!1,autoSelect:i=!1,blurOnSelect:s=!1,clearOnBlur:l=!e.freeSolo,clearOnEscape:c=!1,componentName:u="useAutocomplete",defaultValue:d=(e.multiple?xi:null),disableClearable:p=!1,disableCloseOnSelect:f=!1,disabled:m,disabledItemsFocusable:h=!1,disableListWrap:g=!1,filterOptions:b=yi,filterSelectedOptions:y=!1,freeSolo:v=!1,getOptionDisabled:x,getOptionKey:S,getOptionLabel:w=e=>e.label??e,groupBy:E,handleHomeEndKeys:C=!e.freeSolo,id:k,includeInputInList:T=!1,inputValue:A,isOptionEqualToValue:I=(e,t)=>e===t,multiple:N=!1,onChange:_,onClose:R,onHighlightChange:O,onInputChange:L,onOpen:D,open:P,openOnFocus:M=!1,options:j,readOnly:F=!1,renderValue:z,selectOnFocus:$=!e.freeSolo,value:B}=e,U=Ea(k);let H=w;H=e=>{const t=w(e);return"string"!=typeof t?String(t):t};const V=o.useRef(!1),W=o.useRef(!0),G=o.useRef(null),q=o.useRef(null),[Y,X]=o.useState(null),[K,Z]=o.use
101State(-1),J=a?0:-1,Q=o.useRef(J),ee=o.useRef(Si(d??B,N,H)).current,[te,ne]=Ca({controlled:B,default:d,name:u}),[re,ae]=Ca({controlled:A,default:ee,name:u,state:"inputValue"}),[oe,ie]=o.useState(!1),se=o.useCallback((e,t,n)=>{if(!(N?te.length<t.length:null!==t)&&!l)return;const r=Si(t,N,H,z);re!==r&&(ae(r),L&&L(e,r,n))},[H,re,N,L,ae,l,te,z]),[le,ce]=Ca({controlled:P,default:!1,name:u,state:"open"}),[ue,de]=o.useState(!0),pe=!N&&null!=te&&re===H(te),fe=le&&!F,me=fe?b(j.filter(e=>!y||!(N?te:[te]).some(t=>null!==t&&I(e,t))),{inputValue:pe&&ue?"":re,getOptionLabel:H}):[],he=gi({filteredOptions:me,value:te,inputValue:re});o.useEffect(()=>{const e=te!==he.value;oe&&!e||v&&!e||se(null,te,"reset")},[te,se,oe,he.value,v]);const ge=le&&me.length>0&&!F,be=ka(e=>{if(-1===e)G.current.focus();else{const t=z?"data-item-index":"data-tag-index";Y.querySelector(`[${t}="${e}"]`).focus()}});o.useEffect(()=>{N&&K>te.length-1&&(Z(-1),be(-1))},[te,N,K,be]);const ye=ka(({event:e,index:t,reason:r})=>{if(Q.current=t,-1===t?G.current.removeAttribute("aria-activedescendant"):G.current.setAttribute("aria-activedescendant",`${U}-option-${t}`),O&&["mouse","keyboard","touch"].includes(r)&&O(e,-1===t?null:me[t],r),!q.current)return;const a=q.current.querySelector(`[role="option"].${n}-focused`);a&&(a.classList.remove(`${n}-focused`),a.classList.remove(`${n}-focusVisible`));let o=q.current;if("listbox"!==q.current.getAttribute("role")&&(o=q.current.parentElement.querySelector('[role="listbox"]')),!o)return;if(-1===t)return void(o.scrollTop=0);const i=q.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${n}-focused`),"keyboard"===r&&i.classList.add(`${n}-focusVisible`),o.scrollHeight>o.clientHeight&&"mouse"!==r&&"touch"!==r)){const e=i,t=o.clientHeight+o.scrollTop,n=e.offsetTop+e.offsetHeight;n>t?o.scrollTop=n-o.clientHeight:e.offsetTop-e.offsetHeight*(E?1.3:0)<o.scrollTop&&(o.scrollTop=e.offsetTop-e.offsetHeight*(E?1.3:0))}}),ve=ka(({event:e,diff:t,direction:n="next",reason:a})=>{if(!fe)return;const o=function(e,t){if(!q.current||e<0||e>=me.length)return-1;let n=e;for(;;){const r=q.current.querySelector(`[data-option-index="${n}"]`),a=!h&&(!r||r.disabled||"true"===r.getAttribute("aria-disabled"));if(r&&r.hasAttribute("tabindex")&&!a)return n;if(n="next"===t?(n+1)%me.length:(n-1+me.length)%me.length,n===e)return-1}}((()=>{const e=me.length-1;if("reset"===t)return J;if("start"===t)return 0;if("end"===t)return e;const n=Q.current+t;return n<0?-1===n&&T?-1:g&&-1!==Q.current||Math.abs(t)>1?0:e:n>e?n===e+1&&T?-1:g||Math.abs(t)>1?e:0:n})(),n);if(ye({index:o,reason:a,event:e}),r&&"reset"!==t)if(-1===o)G.current.value=re;else{const e=H(me[o]);G.current.value=e;0===e.toLowerCase().indexOf(re.toLowerCase())&&re.length>0&&G.current.setSelectionRange(re.length,e.length)}}),xe=o.useCallback(()=>{if(!fe)return;const e=(()=>{if(-1!==Q.current&&he.filteredOptions&&he.filteredOptions.length!==me.length&&he.inputValue===re&&(N?te.length===he.value.length&&he.value.every((e,t)=>H(te[t])===H(e)):(e=he.value,t=te,(e?H(e):"")===(t?H(t):"")))){const e=he.filteredOptions[Q.current];if(e)return me.findIndex(t=>H(t)===H(e))}var e,t;return-1})();if(-1!==e)return void(Q.current=e);const t=N?te[0]:te;if(0!==me.length&&null!=t){if(q.current){if(null!=t){const e=me[Q.current];if(N&&e&&-1!==te.findIndex(t=>I(e,t)))return;const n=me.findIndex(e=>I(e,t));return void(-1===n?ve({diff:"reset"}):ye({index:n}))}Q.current>=me.length-1?ye({index:me.length-1}):ye({index:Q.current})}}else ve({diff:"reset"})},[me.length,!N&&te,y,ve,ye,fe,re,N]),Se=ka(e=>{xa(q,e),e&&xe()});o.useEffect(()=>{xe()},[xe]);const we=e=>{le||(ce(!0),de(!0),D&&D(e))},Ee=(e,t)=>{le&&(ce(!1),R&&R(e,t))},Ce=(e,t,n,r)=>{if(N){if(te.length===t.length&&te.every((e,n)=>e===t[n]))return}else if(te===t)return;_&&_(e,t,n,r),ne(t)},ke=o.useRef(!1),Te=(e,t,n="selectOption",r="options")=>{let a=n,o=t;if(N){o=Array.isArray(te)?te.slice():[];const e=o.findIndex(e=>I(t,e));-1===e?o.push(t):"freeSolo"!==r&&(o.splice(e,1),a="removeOption")}se(e,o,a),Ce(e,o,a,{option:t}),f||e&&(e.ctrlKey||e.metaKey)||Ee(e,a),(!0===s||"touch"===s&&ke.current||"mouse"===s&&!ke.current)&&G.current.blur()};const Ae=(e,t)=>
101{if(!N)return;""===re&&Ee(e,"toggleInput");let n=K;-1===K?""===re&&"previous"===t&&(n=te.length-1):(n+="next"===t?1:-1,n<0&&(n=0),n===te.length&&(n=-1)),n=function(e,t){if(-1===e)return-1;let n=e;for(;;){if("next"===t&&n===te.length||"previous"===t&&-1===n)return-1;const e=z?"data-item-index":"data-tag-index",r=Y.querySelector(`[${e}="${n}"]`);if(r&&r.hasAttribute("tabindex")&&!r.disabled&&"true"!==r.getAttribute("aria-disabled"))return n;n+="next"===t?1:-1}}(n,t),Z(n),be(n)},Ie=e=>{V.current=!0,ae(""),L&&L(e,"","clear"),Ce(e,N?[]:null,"clear")},Ne=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1===K||["ArrowLeft","ArrowRight"].includes(t.key)||(Z(-1),be(-1)),229!==t.which))switch(t.key){case"Home":fe&&C&&(t.preventDefault(),ve({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":fe&&C&&(t.preventDefault(),ve({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),ve({diff:-5,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"PageDown":t.preventDefault(),ve({diff:5,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowDown":t.preventDefault(),ve({diff:1,direction:"next",reason:"keyboard",event:t}),we(t);break;case"ArrowUp":t.preventDefault(),ve({diff:-1,direction:"previous",reason:"keyboard",event:t}),we(t);break;case"ArrowLeft":!N&&z?be(0):Ae(t,"previous");break;case"ArrowRight":!N&&z?be(-1):Ae(t,"next");break;case"Enter":if(-1!==Q.current&&fe){const e=me[Q.current],n=!!x&&x(e);if(t.preventDefault(),n)return;Te(t,e,"selectOption"),r&&G.current.setSelectionRange(G.current.value.length,G.current.value.length)}else v&&""!==re&&!1===pe&&(N&&t.preventDefault(),Te(t,re,"createOption","freeSolo"));break;case"Escape":fe?(t.preventDefault(),t.stopPropagation(),Ee(t,"escape")):c&&(""!==re||N&&te.length>0||z)&&(t.preventDefault(),t.stopPropagation(),Ie(t));break;case"Backspace":if(N&&!F&&""===re&&te.length>0){const e=-1===K?te.length-1:K,n=te.slice();n.splice(e,1),Ce(t,n,"removeOption",{option:te[e]})}N||!z||F||(ne(null),be(-1));break;case"Delete":if(N&&!F&&""===re&&te.length>0&&-1!==K){const e=K,n=te.slice();n.splice(e,1),Ce(t,n,"removeOption",{option:te[e]})}N||!z||F||(ne(null),be(-1))}},_e=e=>{ie(!0),M&&!V.current&&we(e)},Re=e=>{t(q)?G.current.focus():(ie(!1),W.current=!0,V.current=!1,i&&-1!==Q.current&&fe?Te(e,me[Q.current],"blur"):i&&v&&""!==re?Te(e,re,"blur","freeSolo"):l&&se(e,te,"blur"),Ee(e,"blur"))},Oe=e=>{const t=e.target.value;re!==t&&(ae(t),de(!1),L&&L(e,t,"input")),""===t?p||N||Ce(e,null,"clear"):we(e)},Le=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Q.current!==t&&ye({event:e,index:t,reason:"mouse"})},De=e=>{ye({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),ke.current=!0},Pe=e=>{const t=Number(e.currentTarget.getAttribute("data-option-index"));Te(e,me[t],"selectOption"),ke.current=!1},Me=e=>t=>{const n=te.slice();n.splice(e,1),Ce(t,n,"removeOption",{option:te[e]})},je=e=>{Ce(e,null,"removeOption",{option:te})},Fe=e=>{le?Ee(e,"toggleInput"):we(e)},ze=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==U&&e.preventDefault()},$e=e=>{e.currentTarget.contains(e.target)&&(G.current.focus(),$&&W.current&&G.current.selectionEnd-G.current.selectionStart===0&&G.current.select(),W.current=!1)},Be=e=>{m||""!==re&&le||Fe(e)};let Ue=v&&re.length>0;Ue=Ue||(N?te.length>0:null!==te);let He=me;return E&&(He=me.reduce((e,t,n)=>{const r=E(t);return e.length>0&&e[e.length-1].group===r?e[e.length-1].options.push(t):e.push({key:n,index:n,group:r,options:[t]}),e},[])),m&&oe&&Re(),{getRootProps:(e={})=>({...e,onKeyDown:Ne(e),onMouseDown:ze,onClick:$e}),getInputLabelProps:()=>({id:`${U}-label`,htmlFor:U}),getInputProps:()=>({id:U,value:re,onBlur:Re,onFocus:_e,onChange:Oe,onMouseDown:Be,"aria-activedescendant":fe?"":null,"aria-autocomplete":r?"both":"list","aria-controls":ge?`${U}-listbox`:void 0,"aria-expanded":ge,autoComplete:"off",ref:G,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:m}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:Ie}),getItemProps:({index:e=0}={})=>({...N&&{key:e},...z?{"data-item-index":e}:{"data-tag-index":e},tabIndex:-1,...!F&&{onDelete:N?Me(e):je}}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:Fe}),getTagProps:({index:e})=>({key:e,"data-tag-index":e,tabIndex:-1,...!F&&{onDelete:Me(e)}}),getListboxProps:()=>({role:"listbox",id:`${U}-listbox`,"aria-labelledby":`${U}-label`,ref:Se,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{const n=(N?te:[te]).some(e=>null!=e&&I(t,e)),r=!!x&&x(t);return{key:S?.(t)??H(t),tabIndex:-1,role:"option",id:`${U}-option-${e}`,onMouseMove:Le,onClick:Pe,onTouchStart:De,"data-option-index":e,"aria-disabled":r,"aria-selected":n}},id:U,inputValue:re,value:te,dirty:Ue,expanded:fe&&Y,popupOpen:fe,focused:oe||-1!==K,anchorEl:Y,setAnchorEl:X,focusedItem:K,focusedTag:K,groupedOptions:He}}var Ei="top",Ci="bottom",ki="right",Ti="left",Ai="auto",Ii=[Ei,Ci,ki,Ti],Ni="start",_i="end",Ri="viewport",Oi="popper",Li=Ii.reduce(function(e,t){return e.concat([t+"-"+Ni,t+"-"+_i])},[]),Di=[].concat(Ii,[Ai]).reduce(function(e,t){return e.concat([t,t+"-"+Ni,t+"-"+_i])},[]),Pi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Mi(e){return e?(e.nodeName||"").toLowerCase():null}function ji(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Fi(e){return e instanceof ji(e).Element||e instanceof Element}function zi(e){return e instanceof ji(e).HTMLElement||e instanceof HTMLElement}function $i(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ji(e).ShadowRoot||e instanceof ShadowRoot)}const Bi={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;
vendor: 14,050 bytes, line 101
101Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},a=t.elements[e];zi(a)&&Mi(a)&&(Object.assign(a.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?a.removeAttribute(e):a.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],a=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});zi(r)&&Mi(r)&&(Object.assign(r.style,o),Object.keys(a).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function Ui(e){return e.split("-")[0]}var Hi=Math.max,Vi=Math.min,Wi=Math.round;function Gi(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function qi(){return!/^((?!chrome|android).)*safari/i.test(Gi())}function Yi(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),a=1,o=1;t&&zi(e)&&(a=e.offsetWidth>0&&Wi(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Wi(r.height)/e.offsetHeight||1);var i=(Fi(e)?ji(e):window).visualViewport,s=!qi()&&n,l=(r.left+(s&&i?i.offsetLeft:0))/a,c=(r.top+(s&&i?i.offsetTop:0))/o,u=r.width/a,d=r.height/o;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function Xi(e){var t=Yi(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Ki(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&$i(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Zi(e){return ji(e).getComputedStyle(e)}function Ji(e){return["table","td","th"].indexOf(Mi(e))>=0}function Qi(e){return((Fi(e)?e.ownerDocument:e.document)||window.document).documentElement}function es(e){return"html"===Mi(e)?e:e.assignedSlot||e.parentNode||($i(e)?e.host:null)||Qi(e)}function ts(e){return zi(e)&&"fixed"!==Zi(e).position?e.offsetParent:null}function ns(e){for(var t=ji(e),n=ts(e);n&&Ji(n)&&"static"===Zi(n).position;)n=ts(n);return n&&("html"===Mi(n)||"body"===Mi(n)&&"static"===Zi(n).position)?t:n||function(e){var t=/firefox/i.test(Gi());if(/Trident/i.test(Gi())&&zi(e)&&"fixed"===Zi(e).position)return null;var n=es(e);for($i(n)&&(n=n.host);zi(n)&&["html","body"].indexOf(Mi(n))<0;){var r=Zi(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function rs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function as(e,t,n){return Hi(e,Vi(t,n))}function os(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function is(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}const ss={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,a=e.options,o=n.elements.arrow,i=n.modifiersData.popperOffsets,s=Ui(n.placement),l=rs(s),c=[Ti,ki].indexOf(s)>=0?"height":"width";if(o&&i){var u=function(e,t){return os("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:is(e,Ii))}(a.padding,n),d=Xi(o),p="y"===l?Ei:Ti,f="y"===l?Ci:ki,m=n.rects.reference[c]+n.rects.reference[l]-i[l]-n.rects.popper[c],h=i[l]-n.rects.reference[l],g=ns(o),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=m/2-h/2,v=u[p],x=b-d[c]-u[f],S=b/2-d[c]/2+y,w=as(v,S,x),E=l;n.modifiersData[r]=((t={})[E]=w,t.centerOffset=w-S,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&Ki(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ls(e){return e.split("-")[1]}var cs={top:"auto",right:"auto",bottom:"auto",left:"auto"};function us(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,m=i.y,h=void 0===m?0:m,g="function"==typeof u?u({x:f,y:h}):{x:f,y:h};f=g.x,h=g.y;var b=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),v=Ti,x=Ei,S=window;if(c){var w=ns(n),E="clientHeight",C="clientWidth";if(w===ji(n)&&"static"!==Zi(w=Qi(n)).position&&"absolute"===s&&(E="scrollHeight",C="scrollWidth"),a===Ei||(a===Ti||a===ki)&&o===_i)x=Ci,h-=(d&&w===S&&S.visualViewport?S.visualViewport.height:w[E])-r.height,h*=l?1:-1;if(a===Ti||(a===Ei||a===Ci)&&o===_i)v=ki,f-=(d&&w===S&&S.visualViewport?S.visualViewport.width:w[C])-r.width,f*=l?1:-1}var k,T=Object.assign({position:s},c&&cs),A=!0===u?function(e,t){var n=e.x,r=e.y,a=t.devicePixelRatio||1;return{x:Wi(n*a)/a||0,y:Wi(r*a)/a||0}}({x:f,y:h},ji(n)):{x:f,y:h};return f=A.x,h=A.y,l?Object.assign({},T,((k={})[x]=y?"0":"",k[v]=b?"0":"",k.transform=(S.devicePixelRatio||1)<=1?"translate("+f+"px, "+h+"px)":"translate3d("+f+"px, "+h+"px, 0)",k)):Object.assign({},T,((t={})[x]=y?h+"px":"",t[v]=b?f+"px":"",t.transform="",t))}var ds={passive:!0};var ps={left:"right",right:"left",bottom:"top",top:"bottom"};function fs(e){return e.replace(/left|right|bottom|top/g,function(e){return ps[e]})}var ms={start:"end",end:"start"};function hs(e){return e.replace(/start|end/g,function(e){return ms[e]})}function gs(e){var t=ji(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function bs(e){return Yi(Qi(e)).left+gs(e).scrollLeft}function ys(e){var t=Zi(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function vs(e){return["html","body","#document"].indexOf(Mi(e))>=0?e.ownerDocument.body:zi(e)&&ys(e)?e:vs(es(e))}function xs(e,t){var n;void 0===t&&(t=[]);var r=vs(e),a=r===(null==(n=e.ownerDocument)?void 0:n.body),o=ji(r),i=a?[o].concat(o.visualViewport||[],ys(r)?r:[]):r,s=t.concat(i);return a?s:s.concat(xs(es(i)))}function Ss(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ws(e,t,n){return t===Ri?Ss(function(e,t){var n=ji(e),r=Qi(e),a=n.visualViewport,o=r.clientWidth,i=r.clientHeight,s=0,l=0;if(a){o=a.width,i=a.height;var c=qi();(c||!c&&"fixed"===t)&&(s=a.offsetLeft,l=a.offsetTop)}return{width:o,height:i,x:s+bs(e),y:l}}(e,n)):Fi(t)?function(e,t){var n=Yi(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Ss(function(e){var t,n=Qi(e),r=gs(e),a=null==(t=e.ownerDocument)?void 0:t.body,o=Hi(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=Hi(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+bs(e),l=-r.scrollTop;return"rtl"===Zi(a||n).direction&&(s+=Hi(n.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}(Qi(e)))}function Es(e,t,n,r){var a="clippingParents"===t?function(e){var t=xs(es(e)),n=["absolute","fixed"].indexOf(Zi(e).position)>=0&&zi(e)?ns(e):e;return Fi(n)?t.filter(function(e){return Fi(e)&&Ki(e,n)&&"body"!==Mi(e)}):[]}(e):[].concat(t),o=[].concat(a,[n]),i=o[0],s=o.reduce(function(t,n){var a=ws(e,n,r);return t.top=Hi(a.top,t.top),t.right=Vi(a.right,t.right),t.bottom=Vi(a.bottom,t.bottom),t.left=Hi(a.left,t.left),t},ws(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Cs(e){var t,n=e.reference,r=e.element,a=e.placement,o=a?Ui(a):null,i=a?ls(a):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case Ei:t={x:s,y:n.y-r.height};break;case Ci:t={x:s,y:n.y+n.height};break;case ki:t={x:n.x+n.width,y:l};break;case Ti:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?rs(o):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case Ni:t[c]=t[c]-(n[u]/2-r[u]/2);break;case _i:t[c]=t[c]+(n[u]/2-r[u]/2)}}return t}function ks(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=void 0===r?e.placement:r,o=n.strategy,i=void 0===o?e.strategy:o,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?Ri:c,d=n.elementContext,p=void 0===d?Oi:d,f=n.altBoundary,m=void 0!==f&&f,h=n.padding,g=void 0===h?0:h,b=os("number"!=typeof g?g:is(g,Ii)),y=p===Oi?"reference":Oi,v=e.rects.popper,x=e.elements[m?y:p],S=Es(Fi(x)?x:x.contextElement||Qi(e.elements.popper),l,u,i),w=Yi(e.elements.reference),E=Cs({reference:w,element:v,placement:a}),C=Ss(Object.assign({},v,E)),k=p===Oi?C:w,T={top:S.top-k.top+b.top,bottom:k.bottom-S.bottom+b.bottom,left:S.left-k.left+b.left,right:k.right-S.right+b.right},A=e.modifiersData.offset;if(p===Oi&&A){var I=A[a];Object.keys(T).forEach(function(e){var t=[ki,Ci].indexOf(e)>=0?1:-1,n=[Ei,Ci].indexOf(e)>=0?"y":"x";T[e]+=I[n]*t})}return T}function Ts(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Di:l,u=ls(r),d=u?s?Li:Li.filter(function(e){return ls(e)===u}):Ii,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var f=p.reduce(function(t,n){return t[n]=ks(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[Ui(n)],t},{});return Object.keys(f).sort(function(e,t){return f[e]-f[t]})}const As={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0===i||i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,m=void 0===f||f,h=n.allowedAutoPlacements,g=t.options.placement,b=Ui(g),y=l||(b===g||!m?[fs(g)]:function(e){if(Ui(e)===Ai)return[];var t=fs(e);return[hs(e),t,hs(t)]}(g)),v=[g].concat(y).reduce(function(e,n){return e.concat(Ui(n)===Ai?Ts(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:m,allowedAutoPlacements:h}):n)},[]),x=t.rects.reference,S=t.rects.popper,w=new Map,E=!0,C=v[0],k=0;k<v.length;k++){var T=v[k],A=Ui(T),I=ls(T)===Ni,N=[Ei,Ci].indexOf(A)>=0,_=N?"width":"height",R=ks(t,{placement:T,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),O=N?I?ki:Ti:I?Ci:Ei;x[_]>S[_]&&(O=fs(O));var L=fs(O),D=[];if(o&&D.push(R[A]<=0),s&&D.push(R[O]<=0,R[L]<=0),D.every(function(e){return e})){C=T,E=!1;break}w.set(T,D)}if(E)for(var P=function(e){var t=v.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},M=m?3:1;M>0;M--){if("break"===P(M))break}t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Is(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Ns(e){return[Ei,ki,Ci,Ti].some(function(t){return e[t]>=0})}const _s={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=Di.reduce(function(e,n){return e[n]=function(e,t,n){var r=Ui(e),a=[Ti,Ei].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[Ti,ki].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(n,t.rects,o),e},{}),s=i[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i}};const Rs={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,o=void 0===a||a,i=n.altAxis,s=void 0!==i&&i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,m=n.tetherOffset,h=void 0===m?0:m,g=ks(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=Ui(t.placement),y=ls(t.placement),v=!y,x=rs(b),S="x"===x?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,C=t.rects.popper,k="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,T="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(w){if(o){var N,_="y"===x?Ei:Ti,R="y"===x?Ci:ki,O="y"===x?"height":"width",L=w[x],D=L+g[_],P=L-g[R],M=f?-C[O]/2:0,j=y===Ni?E[O]:C[O],F=y===Ni?-C[O]:-E[O],z=t.elements.arrow,$=f&&z?Xi(z):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=B[_],H=B[R],V=as(0,E[O],$[O]),W=v?E[O]/2-M-V-U-T.mainAxis:j-V-U-T.mainAxis,G=v?-E[O]/2+M+V+H+T.mainAxis:F+V+H+T.mainAxis,q=t.elements.arrow&&ns(t.elements.arrow),Y=q?"y"===x?q.clientTop||0:q.clientLeft||0:0,X=null!=(N=null==A?void 0:A[x])?N:0,K=L+G-X,Z=as(f?Vi(D,L+W-X-Y):D,L,f?Hi(P,K):P);w[x]=Z,I[x]=Z-L}if(s){var J,Q="x"===x?Ei:Ti,ee="x"===x?Ci:ki,te=w[S],ne="y"===S?"height":"width",re=te+g[Q],ae=te-g[ee],oe=-1!==[Ei,Ti].indexOf(b),ie=null!=(J=null==A?void 0:A[S])?J:0,se=oe?re:te-E[ne]-C[ne]-ie+T.altAxis,le=oe?te+E[ne]+C[ne]-ie-T.altAxis:ae,ce=f&&oe?function(e,t,n){var r=as(e,t,n);return r>n?n:r}(se,te,le):as(f?se:re,te,f?le:ae);w[S]=ce,I[S]=ce-te}t.modifiersData[r]=I}},requiresIfExists:["offset"]};function Os(e,t,n){void 0===n&&(n=!1);var r,a,o=zi(t),i=zi(t)&&function(e){var t=e.getBoundingClientRect(),n=Wi(t.width)/e.offsetWidth||1,r=Wi(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=Qi(t),l=Yi(e,i,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Mi(t)||ys(s))&&(c=(r=t)!==ji(r)&&zi(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:gs(r)),zi(t)?((u=Yi(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):s&&(u.x=bs(s))),{x:l.left+c.scrollLeft-u.x,y:l.top+c.scrollTop-u.y,width:l.width,height:l.height}}function Ls(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEac
vendor: 4,237 bytes, line 101
101h(function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||a(e)}),r}function Ds(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}var Ps={placement:"bottom",modifiers:[],strategy:"absolute"};function Ms(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function js(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,a=t.defaultOptions,o=void 0===a?Ps:a;return function(e,t,n){void 0===n&&(n=o);var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ps,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],s=!1,l={state:a,setOptions:function(n){var s="function"==typeof n?n(a.options):n;c(),a.options=Object.assign({},o,a.options,s),a.scrollParents={reference:Fi(e)?xs(e):e.contextElement?xs(e.contextElement):[],popper:xs(t)};var u,d,p=function(e){var t=Ls(e);return Pi.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((u=[].concat(r,a.options.modifiers),d=u.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),Object.keys(d).map(function(e){return d[e]})));return a.orderedModifiers=p.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var s=o({state:a,name:t,instance:l,options:r}),c=function(){};i.push(s||c)}}),l.update()},forceUpdate:function(){if(!s){var e=a.elements,t=e.reference,n=e.popper;if(Ms(t,n)){a.rects={reference:Os(t,ns(n),"fixed"===a.options.strategy),popper:Xi(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var o=a.orderedModifiers[r],i=o.fn,c=o.options,u=void 0===c?{}:c,d=o.name;"function"==typeof i&&(a=i({state:a,options:u,name:d,instance:l})||a)}else a.reset=!1,r=-1}}},update:Ds(function(){return new Promise(function(e){l.forceUpdate(),e(a)})}),destroy:function(){c(),s=!0}};if(!Ms(e,t))return l;function c(){i.forEach(function(e){return e()}),i=[]}return l.setOptions(n).then(function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)}),l}}var Fs=js({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,i=r.resize,s=void 0===i||i,l=ji(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&c.forEach(function(e){e.addEventListener("scroll",n.update,ds)}),s&&l.addEventListener("resize",n.update,ds),function(){o&&c.forEach(function(e){e.removeEventListener("scroll",n.update,ds)}),s&&l.removeEventListener("resize",n.update,ds)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Cs({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,c={placement:Ui(t.placement),variation:ls(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,us(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,us(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Bi,_s,As,Rs,ss,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.re
101cts.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=ks(t,{elementContext:"reference"}),s=ks(t,{altBoundary:!0}),l=Is(i,r),c=Is(s,a,o),u=Ns(l),d=Ns(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});function zs(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:a=!1,...o}=e,i=a?{}:uo(n,r),{props:s,internalRef:l}=mo({...o,externalSlotProps:i});return co(t,{...s,ref:Ta(l,i?.ref,e.additionalProps?.ref)},r)}function $s(e){return parseInt(o.version,10)>=19?e?.props?.ref||null:e?.ref||null}const Bs=o.forwardRef(function(e,t){const{children:n,container:r,disablePortal:a=!1}=e,[i,s]=o.useState(null),l=Ta(o.isValidElement(n)?$s(n):null,t);if(dn(()=>{a||s(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,a]),dn(()=>{if(i&&!a)return xa(t,i),()=>{xa(t,null)}},[t,i,a]),a){if(o.isValidElement(n)){const e={ref:l};return o.cloneElement(n,e)}return n}return i?Ra.createPortal(n,i):i});function Us(e){return Xt("MuiPopper",e)}function Hs(e){return"function"==typeof e?e():e}Kt("MuiPopper",["root"]);const Vs={},Ws=o.forwardRef(function(e,t){const{anchorEl:n,children:r,direction:a,disablePortal:i,modifiers:s,open:l,placement:c,popperOptions:u,popperRef:d,slotProps:p={},slots:f={},TransitionProps:m,ownerState:h,...g}=e,b=o.useRef(null),y=Ta(b,t),v=o.useRef(null),x=Ta(v,d),S=o.useRef(x);dn(()=>{S.current=x},[x]),o.useImperativeHandle(d,()=>v.current,[]);const w=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(c,a),[E,C]=o.useState(w),[k,T]=o.useState(Hs(n));o.useEffect(()=>{v.current&&v.current.forceUpdate()}),o.useEffect(()=>{n&&T(Hs(n))},[n]),dn(()=>{if(!k||!l)return;let e=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{C(e.placement)}}];null!=s&&(e=e.concat(s)),u&&null!=u.modifiers&&(e=e.concat(u.modifiers));const t=Fs(k,b.current,{placement:w,...u,modifiers:e});return S.current(t),()=>{t.destroy(),S.current(null)}},[k,i,s,l,u,w]);const A={placement:E};null!==m&&(A.TransitionProps=m);const I=(e=>{const{classes:t}=e;return ar({root:["root"]},Us,t)})(e),N=f.root??"div",R=zs({elementType:N,externalSlotProps:p.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:y},ownerState:e,className:I.root});return _.jsx(N,{...R,children:"function"==typeof r?r(A):r})}),Gs=o.forwardRef(function(e,t){const{anchorEl:n,children:r,container:a,direction:i="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:p=Vs,popperRef:f,style:m,transition:h=!1,slotProps:g={},slots:b={},...y}=e,[v,x]=o.useState(!0);if(!l&&!u&&(!h||v))return null;let S;if(a)S=a;else if(n){const e=Hs(n);S=e&&void 0!==e.nodeType?ya(e).body:ya(null).body}const w=u||!l||h&&!v?void 0:"none",E=h?{in:u,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return _.jsx(Bs,{disablePortal:s,container:S,children:_.jsx(Ws,{anchorEl:n,direction:i,disablePortal:s,modifiers:c,ref:t,open:h?!v:u,placement:d,popperOptions:p,popperRef:f,slotProps:g,slots:b,...y,style:{position:"fixed",top:0,left:0,display:w,...m},TransitionProps:E,children:r})})}),qs=Qr(Gs,{name:"MuiPopper",slot:"Root"})({}),Ys=o.forwardRef(function(e,t){const n=Fn(),r=pa({props:e,name:"MuiPopper"}),{anchorEl:a,component:o,components:i,componentsProps:s,container:l,disablePortal:c,keepMounted:u,modifiers:d,open:p,placement:f,popperOptions:m,popperRef:h,transition:g,slots:b,slotProps:y,...v}=r,x=b?.root??i?.Root,S={anchorEl:a,container:l,disablePortal:c,keepMounted:u,modifiers:d,open:p,placement:f,popperOptions:m,popperRef:h,transition:g,...v};return _.jsx(qs,{as:o,direction:n?"rtl":"ltr",slots:{root:x},slotProps:y??s,...S,ref:t})});function Xs(e){return Xt("MuiListSubheader",e)}Kt("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);const Ks=Qr("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"default"!==n.color&&t[`color${Ve(n.color)}`],!n.disableGutters&&t.gutters,n.inset&&t.inset,!n.disableSticky&&t.sticky]}})(da(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),Zs=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiListSubheader"}),{className:r,color:a="default",component:o="li",disableGutters:i=!1,disableSticky:s=!1,inset:l=!1,...c}=n,u={...n,color:a,component:o,disableGutters:i,disableSticky:s,inset:l},d=(e=>{const{classes:t,color:n,disableGutters:r,inset:a,disableSticky:o}=e;return ar({root:["root","default"!==n&&`color${Ve(n)}`,!r&&"gutters",a&&"inset",!o&&"sticky"]},Xs,t)})(u);return _.jsx(Ks,{as:o,className:qt(d.root,r),ref:t,ownerState:u,...c})});Zs&&(Zs.muiSkipListHighlight=!0);const Js=ga(_.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}));function Qs(e){return Xt("MuiChip",e)}const el=Kt("MuiChip",["root","sizeSmall","sizeMedium","colorDefault","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),tl=Qr("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{color:r,iconColor:a,clickable:o,onDelete:i,size:s,variant:l}=n;return[{[`& .${el.avatar}`]:t.avatar},{[`& .${el.avatar}`]:t[`avatar${Ve(s)}`]},{[`& .${el.avatar}`]:t[`avatarColor${Ve(r)}`]},{[`& .${el.icon}`]:t.icon},{[`& .${el.icon}`]:t[`icon${Ve(s)}`]},{[`& .${el.icon}`]:t[`iconColor${Ve(a)}`]},{[`& .${el.deleteIcon}`]:t.deleteIcon},{[`& .${el.deleteIcon}`]:t[`deleteIcon${Ve(s)}`]},{[`& .${el.deleteIcon}`]:t[`deleteIconColor${Ve(r)}`]},{[`& .${el.deleteIcon}`]:t[`deleteIcon${Ve(l)}Color${Ve(r)}`]},t.root,t[`size${Ve(s)}`],t[`color${Ve(r)}`],o&&t.clickable,o&&"default"!==r&&t[`clickableColor${Ve(r)})`],i&&t.deletable,i&&"default"!==r&&t[`deletableColor${Ve(r)}`],t[l],t[`${l}${Ve(r)}`]]}})(da(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return{maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${el.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${el.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:t,fontSize:e.typography.pxToRem(12)},[`& .${el.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${el.avatarColorSecondary}
101`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${el.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${el.icon}`]:{marginLeft:5,marginRight:-6},[`& .${el.deleteIcon}`]:{WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:Cn(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:Cn(e.palette.text.primary,.4)}},variants:[{props:{size:"small"},style:{height:24,[`& .${el.icon}`]:{fontSize:18,marginLeft:4,marginRight:-4},[`& .${el.deleteIcon}`]:{fontSize:16,marginRight:4,marginLeft:-4}}},...Object.entries(e.palette).filter(_o(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText,[`& .${el.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].contrastTextChannel} / 0.7)`:Cn(e.palette[t].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].contrastText}}}})),{props:e=>e.iconColor===e.color,style:{[`& .${el.icon}`]:{color:e.vars?e.vars.palette.Chip.defaultIconColor:t}}},{props:e=>e.iconColor===e.color&&"default"!==e.color,style:{[`& .${el.icon}`]:{color:"inherit"}}},{props:{onDelete:!0},style:{[`&.${el.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Cn(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}},...Object.entries(e.palette).filter(_o(["dark"])).map(([t])=>({props:{color:t,onDelete:!0},style:{[`&.${el.focusVisible}`]:{background:(e.vars||e).palette[t].dark}}})),{props:{clickable:!0},style:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Cn(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${el.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Cn(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}}},...Object.entries(e.palette).filter(_o(["dark"])).map(([t])=>({props:{color:t,clickable:!0},style:{[`&:hover, &.${el.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t].dark}}})),{props:{variant:"outlined"},style:{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${el.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${el.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${el.avatar}`]:{marginLeft:4},[`& .${el.avatarSmall}`]:{marginLeft:2},[`& .${el.icon}`]:{marginLeft:4},[`& .${el.iconSmall}`]:{marginLeft:2},[`& .${el.deleteIcon}`]:{marginRight:5},[`& .${el.deleteIconSmall}`]:{marginRight:3}}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{variant:"outlined",color:t},style:{color:(e.vars||e).palette[t].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:Cn(e.palette[t].main,.7)}`,[`&.${el.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette[t].main,e.palette.action.hoverOpacity)},[`&.${el.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.focusOpacity})`:Cn(e.palette[t].main,e.palette.action.focusOpacity)},[`& .${el.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.7)`:Cn(e.palette[t].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t].main}}}}))]}})),nl=Qr("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:n}=e,{size:r}=n;return[t.label,t[`label${Ve(r)}`]]}})({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap",variants:[{props:{variant:"outlined"},style:{paddingLeft:11,paddingRight:11}},{props:{size:"small"},style:{paddingLeft:8,paddingRight:8}},{props:{size:"small",variant:"outlined"},style:{paddingLeft:7,paddingRight:7}}]});function rl(e){return"Backspace"===e.key||"Delete"===e.key}const al=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiChip"}),{avatar:r,className:a,clickable:i,color:s="default",component:l,deleteIcon:c,disabled:u=!1,icon:d,label:p,onClick:f,onDelete:m,onKeyDown:h,onKeyUp:g,size:b="medium",variant:y="filled",tabIndex:v,skipFocusWhenDisabled:x=!1,slots:S={},slotProps:w={},...E}=n,C=Ta(o.useRef(null),t),k=e=>{e.stopPropagation(),m&&m(e)},T=!(!1===i||!f)||i,A=T||m?Io:l||"div",I={...n,component:A,disabled:u,size:b,color:s,iconColor:o.isValidElement(d)&&d.props.color||s,onDelete:!!m,clickable:T,variant:y},N=(e=>{const{classes:t,disabled:n,size:r,color:a,iconColor:o,onDelete:i,clickable:s,variant:l}=e;return ar({root:["root",l,n&&"disabled",`size${Ve(r)}`,`color${Ve(a)}`,s&&"clickable",s&&`clickableColor${Ve(a)}`,i&&"deletable",i&&`deletableColor${Ve(a)}`,`${l}${Ve(a)}`],label:["label",`label${Ve(r)}`],avatar:["avatar",`avatar${Ve(r)}`,`avatarColor${Ve(a)}`],icon:["icon",`icon${Ve(r)}`,`iconColor${Ve(o)}`],deleteIcon:["deleteIcon",`deleteIcon${Ve(r)}`,`deleteIconColor${Ve(a)}`,`deleteIcon${Ve(l)}Color${Ve(a)}`]},Qs,t)}
101)(I),R=A===Io?{component:l||"div",focusVisibleClassName:N.focusVisible,...m&&{disableRipple:!0}}:{};let O=null;m&&(O=c&&o.isValidElement(c)?o.cloneElement(c,{className:qt(c.props.className,N.deleteIcon),onClick:k}):_.jsx(Js,{className:N.deleteIcon,onClick:k}));let L=null;r&&o.isValidElement(r)&&(L=o.cloneElement(r,{className:qt(N.avatar,r.props.className)}));let D=null;d&&o.isValidElement(d)&&(D=o.cloneElement(d,{className:qt(N.icon,d.props.className)}));const P={slots:S,slotProps:w},[M,j]=ho("root",{elementType:tl,externalForwardedProps:{...P,...E},ownerState:I,shouldForwardComponentProp:!0,ref:C,className:qt(N.root,a),additionalProps:{disabled:!(!T||!u)||void 0,tabIndex:x&&u?-1:v,...R},getSlotProps:e=>({...e,onClick:t=>{e.onClick?.(t),f(t)},onKeyDown:t=>{e.onKeyDown?.(t),(e=>{e.currentTarget===e.target&&rl(e)&&e.preventDefault(),h&&h(e)})(t)},onKeyUp:t=>{e.onKeyUp?.(t),(e=>{e.currentTarget===e.target&&m&&rl(e)&&m(e),g&&g(e)})(t)}})}),[F,z]=ho("label",{elementType:nl,externalForwardedProps:P,ownerState:I,className:N.label});return _.jsxs(M,{as:A,...j,children:[L||D,_.jsx(F,{...z,children:p}),O]})});function ol(e){return parseInt(e,10)||0}const il={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function sl(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const ll=o.forwardRef(function(e,t){const{onChange:n,maxRows:r,minRows:a=1,style:i,value:s,...l}=e,{current:c}=o.useRef(null!=s),u=o.useRef(null),d=Ta(t,u),p=o.useRef(null),f=o.useRef(null),m=o.useCallback(()=>{const t=u.current,n=f.current;if(!t||!n)return;const o=va(t).getComputedStyle(t);if("0px"===o.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=o.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const i=o.boxSizing,s=ol(o.paddingBottom)+ol(o.paddingTop),l=ol(o.borderBottomWidth)+ol(o.borderTopWidth),c=n.scrollHeight;n.value="x";const d=n.scrollHeight;let p=c;a&&(p=Math.max(Number(a)*d,p)),r&&(p=Math.min(Number(r)*d,p)),p=Math.max(p,d);return{outerHeightStyle:p+("border-box"===i?s+l:0),overflowing:Math.abs(p-c)<=1}},[r,a,e.placeholder]),h=ka(()=>{const e=u.current,t=m();if(!e||!t||sl(t))return!1;const n=t.outerHeightStyle;return null!=p.current&&p.current!==n}),g=o.useCallback(()=>{const e=u.current,t=m();if(!e||!t||sl(t))return;const n=t.outerHeightStyle;p.current!==n&&(p.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""},[m]),b=o.useRef(-1);dn(()=>{const e=ba(g),t=u?.current;if(!t)return;const n=va(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(()=>{h()&&(r.unobserve(t),cancelAnimationFrame(b.current),g(),b.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(b.current),n.removeEventListener("resize",e),r&&r.disconnect()}},[m,g,h]),dn(()=>{g()});return _.jsxs(o.Fragment,{children:[_.jsx("textarea",{value:s,onChange:e=>{c||g();const t=e.target,r=t.value.length,a=t.value.endsWith("\n"),o=t.selectionStart===r;a&&o&&t.setSelectionRange(r,r),n&&n(e)},ref:d,rows:a,style:i,...l}),_.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:{...il,...i,paddingTop:0,paddingBottom:0}})]})});function cl(e){return"string"==typeof e}function ul({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}const dl=o.createContext(void 0);function pl(){return o.useContext(dl)}function fl(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function ml(e,t=!1){return e&&(fl(e.value)&&""!==e.value||t&&fl(e.defaultValue)&&""!==e.defaultValue)}function hl(e){return Xt("MuiInputBase",e)}const gl=Kt("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var bl;const yl=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Ve(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},vl=(e,t)=>
101{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},xl=Qr("div",{name:"MuiInputBase",slot:"Root",overridesResolver:yl})(da(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${gl.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),Sl=Qr("input",{name:"MuiInputBase",slot:"Input",overridesResolver:vl})(da(({theme:e})=>{const t="light"===e.palette.mode,n={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${gl.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${gl.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),wl=ua({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),El=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiInputBase"}),{"aria-describedby":r,autoComplete:a,autoFocus:i,className:s,color:l,components:c={},componentsProps:u={},defaultValue:d,disabled:p,disableInjectingGlobalStyles:f,endAdornment:m,error:h,fullWidth:g=!1,id:b,inputComponent:y="input",inputProps:v={},inputRef:x,margin:S,maxRows:w,minRows:E,multiline:C=!1,name:k,onBlur:T,onChange:A,onClick:I,onFocus:N,onKeyDown:R,onKeyUp:O,placeholder:L,readOnly:D,renderSuffix:P,rows:M,size:j,slotProps:F={},slots:z={},startAdornment:$,type:B="text",value:U,...H}=n,V=null!=v.value?v.value:U,{current:W}=o.useRef(null!=V),G=o.useRef(),q=o.useCallback(e=>{},[]),Y=Ta(G,x,v.ref,q),[X,K]=o.useState(!1),Z=pl(),J=ul({props:n,muiFormControl:Z,states:["color","disabled","error","hiddenLabel","size","required","filled"]});J.focused=Z?Z.focused:X,o.useEffect(()=>{!Z&&p&&X&&(K(!1),T&&T())},[Z,p,X,T]);const Q=Z&&Z.onFilled,ee=Z&&Z.onEmpty,te=o.useCallback(e=>{ml(e)?Q&&Q():ee&&ee()},[Q,ee]);dn(()=>{W&&te({value:V})},[V,te,W]);o.useEffect(()=>{te(G.current)},[]);let ne=y,re=v;C&&"input"===ne&&(re=M?{type:void 0,minRows:M,maxRows:M,...re}:{type:void 0,maxRows:w,minRows:E,...re},ne=ll);o.useEffect(()=>{Z&&Z.setAdornedStart(Boolean($))},[Z,$]);const ae={...n,color:J.color||"primary",disabled:J.disabled,endAdornment:m,error:J.error,focused:J.focused,formControl:Z,fullWidth:g,hiddenLabel:J.hiddenLabel,multiline:C,size:J.size,startAdornment:$,type:B},oe=(e=>{const{classes:t,color:n,disabled:r,error:a,endAdornment:o,focused:i,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:f,type:m}=e;return ar({root:["root",`color${Ve(n)}`,r&&"disabled",a&&"error",l&&"fullWidth",i&&"focused",s&&"formControl",p&&"medium"!==p&&`size${Ve(p)}`,u&&"multiline",f&&"adornedStart",o&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===m&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",f&&"inputAdornedStart",o&&"inputAdornedEnd",d&&"readOnly"]},hl,t)})(ae),ie=z.root||c.Root||xl,se=F.root||u.root||{},le=z.input||c.Input||Sl;return re={...re,...F.input??u.input},_.jsxs(o.Fragment,{children:[!f&&"function"==typeof wl&&(bl||(bl=_.jsx(wl,{}))),_.jsxs(ie,{...se,ref:t,onClick:e=>{G.current&&e.currentTarget===e.target&&G.current.focus(),I&&I(e)},...H,...!cl(ie)&&{ownerState:{...ae,...se.ownerState}},className:qt(oe.root,se.className,s,D&&"MuiInputBase-readOnly"),children:[$,_.jsx(dl.Provider,{value:null,children:_.jsx(le,{"aria-invalid":J.error,"aria-describedby":r,autoComplete:a,autoFocus:i,defaultValue:d,disabled:J.disabled,id:b,onAnimationStart:e=>{te("mui-auto-fill-cancel"===e.animationName?G.current:{value:"x"})},name:k,placeholder:L,readOnly:D,required:J.required,rows:M,value:V,onKeyDown:R,onKeyUp:O,type:B,...re,...!cl(le)&&{as:ne,ownerState:{...ae,...re.ownerState}},ref:Y,className:qt(oe.input,re.className,D&&"MuiInputBase-readOnly"),onBlur:e=>{T&&T(e),v.onBlur&&v.onBlur(e),Z&&Z.onBlur?Z.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!W){const t=e.target||G.current;if(null==t)throw new Error(ye(1));te({value:t.value})}v.onChange&&v.onChange(e,...t),A&&A(e,...t)},onFocus:e=>{N&&N(e),v.onFocus&&v.onFocus(e),Z&&Z.onFocus?Z.onFocus(e):K(!0)}})}),m,P?P({...J,startAdornment:$}):null]})]})});function Cl(e){return Xt("MuiInput",e)}const kl={...gl,...Kt("MuiInput",["root","underline","input"])};function Tl(e){return Xt("MuiOutlinedInput",e)}const Al={...gl,...Kt("MuiOutlinedInput",["root","notchedOutline","input"])};function Il(e){return Xt("MuiFilledInput",e)}const Nl={...gl,...Kt("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},_l=ga(_.jsx("path",{d:"M7 10l5 5 5-5z"}));function Rl(e){return Xt("MuiAutocomplete",e)}const Ol=Kt("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","
101input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var Ll,Dl;const Pl=Qr("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e,{fullWidth:r,hasClearIcon:a,hasPopupIcon:o,inputFocused:i,size:s}=n;return[{[`& .${Ol.tag}`]:t.tag},{[`& .${Ol.tag}`]:t[`tagSize${Ve(s)}`]},{[`& .${Ol.inputRoot}`]:t.inputRoot},{[`& .${Ol.input}`]:t.input},{[`& .${Ol.input}`]:i&&t.inputFocused},t.root,r&&t.fullWidth,o&&t.hasPopupIcon,a&&t.hasClearIcon]}})({[`&.${Ol.focused} .${Ol.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${Ol.clearIndicator}`]:{visibility:"visible"}},[`& .${Ol.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${Ol.inputRoot}`]:{[`.${Ol.hasPopupIcon}&, .${Ol.hasClearIcon}&`]:{paddingRight:30},[`.${Ol.hasPopupIcon}.${Ol.hasClearIcon}&`]:{paddingRight:56},[`& .${Ol.input}`]:{width:0,minWidth:30}},[`& .${kl.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${kl.root}.${gl.sizeSmall}`]:{[`& .${kl.input}`]:{padding:"2px 4px 3px 0"}},[`& .${Al.root}`]:{padding:9,[`.${Ol.hasPopupIcon}&, .${Ol.hasClearIcon}&`]:{paddingRight:39},[`.${Ol.hasPopupIcon}.${Ol.hasClearIcon}&`]:{paddingRight:65},[`& .${Ol.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${Ol.endAdornment}`]:{right:9}},[`& .${Al.root}.${gl.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${Ol.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${Nl.root}`]:{paddingTop:19,paddingLeft:8,[`.${Ol.hasPopupIcon}&, .${Ol.hasClearIcon}&`]:{paddingRight:39},[`.${Ol.hasPopupIcon}.${Ol.hasClearIcon}&`]:{paddingRight:65},[`& .${Nl.input}`]:{padding:"7px 4px"},[`& .${Ol.endAdornment}`]:{right:9}},[`& .${Nl.root}.${gl.sizeSmall}`]:{paddingBottom:1,[`& .${Nl.input}`]:{padding:"2.5px 4px"}},[`& .${gl.hiddenLabel}`]:{paddingTop:8},[`& .${Nl.root}.${gl.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${Ol.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${Nl.root}.${gl.hiddenLabel}.${gl.sizeSmall}`]:{[`& .${Ol.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${Ol.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0}
vendor: 4,351 bytes, line 101
101,variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${Ol.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${Ol.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${Ol.inputRoot}`]:{flexWrap:"wrap"}}}]}),Ml=Qr("div",{name:"MuiAutocomplete",slot:"EndAdornment"})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),jl=Qr(qo,{name:"MuiAutocomplete",slot:"ClearIndicator"})({marginRight:-2,padding:4,visibility:"hidden"}),Fl=Qr(qo,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popupIndicator,n.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),zl=Qr(Ys,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Ol.option}`]:t.option},t.popper,n.disablePortal&&t.popperDisablePortal]}})(da(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),$l=Qr(lo,{name:"MuiAutocomplete",slot:"Paper"})(da(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),Bl=Qr("div",{name:"MuiAutocomplete",slot:"Loading"})(da(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Ul=Qr("div",{name:"MuiAutocomplete",slot:"NoOptions"})(da(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),Hl=Qr("ul",{name:"MuiAutocomplete",slot:"Listbox"})(da(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${Ol.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${Ol.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${Ol.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ol.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${Ol.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),Vl=Qr(Zs,{name:"MuiAutocomplete",slot:"GroupLabel"})(da(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),Wl=Qr("ul",{name:"MuiAutocomplete",slot:"GroupUl"})({padding:0,[`& .${Ol.option}`]:{paddingLeft:24}}),Gl=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiAutocomplete"}),{autoComplete:r=!1,autoHighlight:a=!1,autoSelect:i=!1,blurOnSelect:s=!1,ChipProps:l,className:c,clearIcon:u=Ll||(Ll=_.jsx(Jo,{fontSize:"small"})),clearOnBlur:d=!n.freeSolo,clearOnEscape:p=!1,clearText:f="Clear",closeText:m="Close",componentsProps:h,defaultValue:g=(n.multiple?[]:null),disableClearable:b=!1,disableCloseOnSelect:y=!1,disabled:v=!1,disabledItemsFocusable:x=!1,disableListWrap:S=!1,disablePortal:w=!1,filterOptions:E,filterSelectedOptions:C=!1,forcePopupIcon:k="auto",freeSolo:T=!1,fullWidth:A=!1,getLimitTagsText:I=e=>`+${e}`,getOptionDisabled:N,getOptionKey:R,getOptionLabel:O,isOptionEqualToValue:L,groupBy:D,handleHomeEndKeys:P=!n.freeSolo,id:M,includeInputInList:j=!1,inputValue:F,limitTags:z=-1,ListboxComponent:$,ListboxProps:B,loading:U=!1,loadingText:H="Loadingâ¦",multiple:V=!1,noOptionsText:W="No options",onChange:G,onClose:q,onHighlightChange:Y,onInputChange:X,onOpen:K,open:Z,openOnFocus:J=!1,openText:Q="Open",options:ee,PaperComponent:te,Po
vendor: 1,676 bytes, line 101
101pperComponent:ne,popupIcon:re=Dl||(Dl=_.jsx(_l,{})),readOnly:ae=!1,renderGroup:oe,renderInput:ie,renderOption:se,renderTags:le,renderValue:ce,selectOnFocus:ue=!n.freeSolo,size:de="medium",slots:pe={},slotProps:fe={},value:me,...he}=n,{getRootProps:ge,getInputProps:be,getInputLabelProps:ye,getPopupIndicatorProps:ve,getClearProps:xe,getItemProps:Se,getListboxProps:we,getOptionProps:Ee,value:Ce,dirty:ke,expanded:Te,id:Ae,popupOpen:Ie,focused:Ne,focusedItem:_e,anchorEl:Re,setAnchorEl:Oe,inputValue:Le,groupedOptions:De}=wi({...n,componentName:"Autocomplete"}),Pe=!b&&!v&&ke&&!ae,Me=(!T||!0===k)&&!1!==k,{onMouseDown:je}=be(),{ref:Fe,...ze}=we(),$e=O||(e=>e.label??e),Be={...n,disablePortal:w,expanded:Te,focused:Ne,fullWidth:A,getOptionLabel:$e,hasClearIcon:Pe,hasPopupIcon:Me,inputFocused:-1===_e,popupOpen:Ie,size:de},Ue=(e=>{const{classes:t,disablePortal:n,expanded:r,focused:a,fullWidth:o,hasClearIcon:i,hasPopupIcon:s,inputFocused:l,popupOpen:c,size:u}=e;return ar({root:["root",r&&"expanded",a&&"focused",o&&"fullWidth",i&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",l&&"inputFocused"],tag:["tag",`tagSize${Ve(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",c&&"popupIndicatorOpen"],popper:["popper",n&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]},Rl,t)})(Be),He={slots:{paper:te,popper:ne,...pe},slotProps:{chip:l,listbox:B,...h,...fe}},[We,Ge]=ho("listbox",{elementType:Hl,externalForwardedProps:He,ownerState:Be,className:Ue.listbox,additionalProps:ze,ref:Fe}
101),[qe,Ye]=ho("paper",{elementType:lo,externalForwardedProps:He,ownerState:Be,className:Ue.paper}),[Xe,Ke]=ho("popper",{elementType:Ys,externalForwardedProps:He,ownerState:Be,className:Ue.popper,additionalProps:{disablePortal:w,style:{width:Re?Re.clientWidth:null},role:"presentation",anchorEl:Re,open:Ie}});let Ze;const Je=e=>({className:Ue.tag,disabled:v,...Se(e)});if(V?Ce.length>0&&(Ze=le?le(Ce,Je,Be):ce?ce(Ce,Je,Be):Ce.map((e,t)=>{const{key:n,...r}=Je({index:t});return _.jsx(al,{label:$e(e),size:de,...r,...He.slotProps.chip},n)})):ce&&null!=Ce&&(Ze=ce(Ce,Je,Be)),z>-1&&Array.isArray(Ze)){const e=Ze.length-z;!Ne&&e>0&&(Ze=Ze.splice(0,z),Ze.push(_.jsx("span",{className:Ue.tag,children:I(e)},Ze.length)))}const Qe=oe||(e=>_.jsxs("li",{children:[_.jsx(Vl,{className:Ue.groupLabel,ownerState:Be,component:"div",children:e.group}),_.jsx(Wl,{className:Ue.groupUl,ownerState:Be,children:e.children})]},e.key)),et=se||((e,t)=>{const{key:n,...r}=e;return _.jsx("li",{...r,children:$e(t)},n)}),tt=(e,t)=>{const n=Ee({option:e,index:t});return et({...n,className:Ue.option},e,{selected:n["aria-selected"],index:t,inputValue:Le},Be)},nt=He.slotProps.clearIndicator,rt=He.slotProps.popupIndicator;return _.jsxs(o.Fragment,{children:[_.jsx(Pl,{ref:t,className:qt(Ue.root,c),ownerState:Be,...ge(he),children:ie({id:Ae,disabled:v,fullWidth:!0,size:"small"===de?"small":void 0,InputLabelProps:ye(),InputProps:{ref:Oe,className:Ue.inputRoot,startAdornment:Ze,onMouseDown:e=>{e.target===e.currentTarget&&je(e)},...(Pe||Me)&&{endAdornment:_.jsxs(Ml,{className:Ue.endAdornment,ownerState:Be,children:[Pe?_.jsx(jl,{...xe(),"aria-label":f,title:f,ownerState:Be,...nt,className:qt(Ue.clearIndicator,nt?.className),children:u}):null,Me?_.jsx(Fl,{...ve(),disabled:v,"aria-label":Ie?m:Q,title:Ie?m:Q,ownerState:Be,...rt,className:qt(Ue.popupIndicator,rt?.className),children:re}):null]})}},inputProps:{className:Ue.input,disabled:v,readOnly:ae,...be()}})}),Re?_.jsx(zl,{as:Xe,...Ke,children:_.jsxs($l,{as:qe,...Ye,children:[U&&0===De.length?_.jsx(Bl,{className:Ue.loading,ownerState:Be,children:H}):null,0!==De.length||T||U?null:_.jsx(Ul,{className:Ue.noOptions,ownerState:Be,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:W}),De.length>0?_.jsx(We,{as:$,...Ge,children:De.map((e,t)=>D?Qe({key:e.key,group:e.group,children:e.options.map((t,n)=>tt(t,e.index+n))}):tt(e,t))}):null]})}):null]})}),ql=ga(_.jsx("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}));function Yl(e){return Xt("MuiAvatar",e)}Kt("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);const Xl=Qr("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],n.colorDefault&&t.colorDefault]}})(da(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:{color:(e.vars||e).palette.background.default,...e.vars?{backgroundColor:e.vars.palette.Avatar.defaultBg}:{backgroundColor:e.palette.grey[400],...e.applyStyles("dark",{backgroundColor:e.palette.grey[600]})}}}]}))),Kl=Qr("img",{name:"MuiAvatar",slot:"Img"})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),Zl=Qr(ql,{name:"MuiAvatar",slot:"Fallback"})({width:"75%",height:"75%"});const Jl=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiAvatar"}),{alt:r,children:a,className:i,component:s="div",slots:l={},slotProps:c={},imgProps:u,sizes:d,src:p,srcSet:f,variant:m="circular",...h}=n;let g=null;const b={...n,component:s,variant:m},y=function({crossOrigin:e,referrerPolicy:t,src:n,srcSet:r}){const[a,i]=o.useState(!1);return o.useEffect(()=>{if(!n&&!r)return;i(!1);let a=!0;const o=new Image;return o.onload=()=>{a&&i("loaded")},o.onerror=()=>{a&&i("error")},o.crossOrigin=e,o.referrerPolicy=t,o.src=n,r&&(o.srcset=r),()=>{a=!1}},[e,t,n,r]),a}({...u,..."function"==typeof c.img?c.img(b):c.img,src:p,srcSet:f}),v=p||f,x=v&&"error"!==y;b.colorDefault=!x,delete b.ownerState;const S=(e=>{const{classes:t,variant:n,colorDefault:r}=e;return ar({root:["root",n,r&&"colorDefault"],img:["img"],fallback:["fallback"]},Yl,t)}
101)(b),[w,E]=ho("root",{ref:t,className:qt(S.root,i),elementType:Xl,externalForwardedProps:{slots:l,slotProps:c,component:s,...h},ownerState:b}),[C,k]=ho("img",{className:S.img,elementType:Kl,externalForwardedProps:{slots:l,slotProps:{img:{...u,...c.img}}},additionalProps:{alt:r,src:p,srcSet:f,sizes:d},ownerState:b}),[T,A]=ho("fallback",{className:S.fallback,elementType:Zl,externalForwardedProps:{slots:l,slotProps:c},shouldForwardComponentProp:!0,ownerState:b});return g=x?_.jsx(C,{...k}):a||0===a?a:v&&r?r[0]:_.jsx(T,{...A}),_.jsx(w,{...E,children:g})}),Ql={entering:{opacity:1},entered:{opacity:1}},ec=o.forwardRef(function(e,t){const n=Kr(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:a,appear:i=!0,children:s,easing:l,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:f,onExited:m,onExiting:h,style:g,timeout:b=r,TransitionComponent:y=$a,...v}=e,x=o.useRef(null),S=Ta(x,$s(s),t),w=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},E=w(p),C=w((e,t)=>{Qa(e);const r=eo({style:g,timeout:b,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)}),k=w(d),T=w(h),A=w(e=>{const t=eo({style:g,timeout:b,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),f&&f(e)}),I=w(m);return _.jsx(y,{appear:i,in:c,nodeRef:x,onEnter:C,onEntered:k,onEntering:E,onExit:A,onExited:I,onExiting:T,addEndListener:e=>{a&&a(x.current,e)},timeout:b,...v,children:(e,{ownerState:t,...n})=>o.cloneElement(s,{style:{opacity:0,visibility:"exited"!==e||c?void 0:"hidden",...Ql[e],...g,...s.props.style},ref:S,...n})})});function tc(e){return Xt("MuiBackdrop",e)}Kt("MuiBackdrop",["root","invisible"]);const nc=Qr("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),rc=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiBackdrop"}),{children:r,className:a,component:o="div",invisible:i=!1,open:s,components:l={},componentsProps:c={},slotProps:u={},slots:d={},TransitionComponent:p,transitionDuration:f,...m}=n,h={...n,component:o,invisible:i},g=(e=>{const{classes:t,invisible:n}=e;return ar({root:["root",n&&"invisible"]},tc,t)})(h),b={slots:{transition:p,root:l.Root,...d},slotProps:{...c,...u}},[y,v]=ho("root",{elementType:nc,externalForwardedProps:b,className:qt(g.root,a),ownerState:h}),[x,S]=ho("transition",{elementType:ec,externalForwardedProps:b,ownerState:h});return _.jsx(x,{in:s,timeout:f,...m,...S,children:_.jsx(y,{"aria-hidden":!0,...v,classes:g,ref:t,children:r})})});function ac(e){return Xt("MuiBadge",e)}const oc=Kt("MuiBadge",["root","badge","dot","standard","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft","invisible","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","overlapRectangular","overlapCircular","anchorOriginTopLeftCircular","anchorOriginTopLeftRectangular","anchorOriginTopRightCircular","anchorOriginTopRightRectangular","anchorOriginBottomLeftCircular","anchorOriginBottomLeftRectangular","anchorOriginBottomRightCircular","anchorOriginBottomRightRectangular"]),ic=Qr("span",{name:"MuiBadge",slot:"Root"})({position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0}),sc=Qr("span",{name:"MuiBadge",slot:"Badge",overridesResolver:(e,t)=>{const{ownerState:n}=e;
101return[t.badge,t[n.variant],t[`anchorOrigin${Ve(n.anchorOrigin.vertical)}${Ve(n.anchorOrigin.horizontal)}${Ve(n.overlap)}`],"default"!==n.color&&t[`color${Ve(n.color)}`],n.invisible&&t.invisible]}})(da(({theme:e})=>({display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen}),variants:[...Object.entries(e.palette).filter(_o(["contrastText"])).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main,color:(e.vars||e).palette[t].contrastText}})),{props:{variant:"dot"},style:{borderRadius:4,height:8,minWidth:8,padding:0}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${oc.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${oc.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${oc.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"rectangular"===e.overlap,style:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${oc.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%",[`&.${oc.invisible}`]:{transform:"scale(0) translate(50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"right"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%",[`&.${oc.invisible}`]:{transform:"scale(0) translate(50%, 50%)"}}},{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%",[`&.${oc.invisible}`]:{transform:"scale(0) translate(-50%, -50%)"}}},{props:({ownerState:e})=>"bottom"===e.anchorOrigin.vertical&&"left"===e.anchorOrigin.horizontal&&"circular"===e.overlap,style:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%",[`&.${oc.invisible}`]:{transform:"scale(0) translate(-50%, 50%)"}}},{props:{invisible:!0},style:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}]})));function lc(e){return{vertical:e?.vertical??"top",horizontal:e?.horizontal??"right"}}const cc=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiBadge"}),{anchorOrigin:r,className:a,classes:o,component:i,components:s={},componentsProps:l={},children:c,overlap:u="rectangular",color:d="default",invisible:p=!1,max:f=99,badgeContent:m,slots:h,slotProps:g,showZero:b=!1,variant:y="standard",...v}=n,{badgeContent:x,invisible:S,max:w,displayValue:E}=function(e){const{badgeContent:t,invisible:n=!1,max:r=99,showZero:a=!1}=e,o=gi({badgeContent:t,max:r});let i=n;!1!==n||0!==t||a||(i=!0);const{badgeContent:s,max:l=r}=i?o:e;return{badgeContent:s,invisible:i,max:l,displayValue:s&&Number(s)>l?`${l}+`:s}}({max:f,invisible:p,badgeContent:m,showZero:b}),C=gi({anchorOrigin:lc(r),color:d,overlap:u,variant:y,badgeContent:m}),k=S||null==x&&"dot"!==y,{color:T=d,overlap:A=u,anchorOrigin:I,variant:N=y}=k?C:n,R=lc(I),O="dot"!==N?E:void 0,L={...n,badgeContent:x,invisible:k,max:w,displayValue:O,showZero:b,anchorOrigin:R,color:T,overlap:A,variant:N},D=(e=>{const{color:t,anchorOrigin:n,invisible:r,overlap:a,variant:o,classes:i={}}=e;return ar({root:["root"],badge:["badge",o,r&&"invisible",`anchorOrigin${Ve(n.vertical)}${Ve(n.horizontal)}`,`anchorOrigin${Ve(n.vertical)}${Ve(n.horizontal)}${Ve(a)}`,`overlap${Ve(a)}`,"default"!==t&&`color${Ve(t)}`]},ac,i)})(L),P={slots:{root:h?.root??s.Root,badge:h?.badge??s.Badge},slotProps:{root:g?.root??l.root,badge:g?.badge??l.badge}},[M,j]=ho("root",{elementType:ic,externalForwardedProps:{...P,...v},ownerState:L,className:qt(D.root,a),ref:t,additionalProps:{as:i}}),[F,z]=ho("badge",{elementType:sc,externalForwardedProps:P,ownerState:L,className:D.badge});return _.jsxs(M,{...j,children:[c,_.jsx(F,{...z,children:O})]})}),uc=Kt("MuiBox",["root"]),dc=Yr(),pc=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:a}=e,i=Se("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Mt);
vendor: 4,167 bytes, line 101
101return o.forwardRef(function(e,o){const s=Bt(n),{className:l,component:c="div",...u}=Ht(e);return _.jsx(i,{as:c,ref:o,className:qt(l,a?a(r):r),theme:t&&s[t]||s,...u})})}({themeId:ve,defaultTheme:dc,defaultClassName:uc.root,generateClassName:Wt.generate});function fc(e){return Xt("MuiButton",e)}const mc=Kt("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"]),hc=o.createContext({}),gc=o.createContext(void 0),bc=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],yc=Qr(Io,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Ve(n.color)}`],t[`size${Ve(n.size)}`],t[`${n.variant}Size${Ve(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth,n.loading&&t.loading]}})(da(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],n="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return{...e.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none"},[`&.${mc.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(e.vars||e).shadows[2],"&:hover":{boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2]}},"&:active":{boxShadow:(e.vars||e).shadows[8]},[`&.${mc.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},[`&.${mc.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",[`&.${mc.disabled}`]:{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{"--variant-textColor":(e.vars||e).palette[t].main,"--variant-outlinedColor":(e.vars||e).palette[t].main,"--variant-outlinedBorder":e.vars?`rgba(${e.vars.palette[t].mainChannel} / 0.5)`:Cn(e.palette[t].main,.5),"--variant-containedColor":(e.vars||e).palette[t].contrastText,"--variant-containedBg":(e.vars||e).palette[t].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(e.vars||e).palette[t].dark,"--variant-textBg":e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette[t].main,e.palette.action.hoverOpacity),"--variant-outlinedBorder":(e.vars||e).palette[t].main,"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette[t].mainCh
101annel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette[t].main,e.palette.action.hoverOpacity)}}}})),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedBg:t,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":e.vars?e.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette.text.primary,e.palette.action.hoverOpacity),"--variant-outlinedBg":e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette.text.primary,e.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${mc.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${mc.disabled}`]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),[`&.${mc.loading}`]:{color:"transparent"}}}]}})),vc=Qr("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,n.loading&&t.startIconLoadingStart,t[`iconSize${Ve(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...bc]})),xc=Qr("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,n.loading&&t.endIconLoadingEnd,t[`iconSize${Ve(n.size)}`]]}})(({theme:e})=>({display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:e.transitions.create(["opacity"],{duration:e.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...bc]})),Sc=Qr("span",{name:"MuiButton",slot:"LoadingIndicator"})(({theme:e})=>({display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(e.vars||e).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]})),wc=Qr("span",{name:"MuiButton",slot:"LoadingIconPlaceholder"})({display:"inline-block",width:"1em",height:"1em"}),Ec=o.forwardRef(function(e,t){const n=o.useContext(hc),r=o.useContext(gc),a=pa({props:ln(n,e),name:"MuiButton"}),{children:i,color:s="primary",component:l="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:p=!1,endIcon:f,focusVisibleClassName:m,fullWidth:h=!1,id:g,loading:b=null,loadingIndicator:y,loadingPosition:v="center",size:x="medium",startIcon:S,type:w,variant:E="text",...C}=a,k=Ea(g),T=y??_.jsx(Uo,{"aria-labelledby":k,color:"inherit",size:16}),A={...a,color:s,component:l,disabled:u,disableElevation:d,disableFocusRipple:p,fullWidth:h,loading:b,loadingIndicator:T,loadingPosition:v,size:x,type:w,variant:E},I=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:a,variant:o,loading:i,loadingPosition:s,classes:l}=e,c=ar({root:["root",i&&"loading",o,`${o}${Ve(t)}`,`size${Ve(a)}`,`${o}Size${Ve(a)}`,`color${Ve(t)}`,n&&"disableElevation",r&&"fullWidth",i&&`loadingPosition${Ve(s)}`],startIcon:["icon","startIcon",`iconSize${Ve(a)}`],endIcon:["icon","endIcon",`iconSize${Ve(a)}`],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},fc,l);return{...l,...c}})(A),N=(S||b&&"start"===v)&&_.jsx(vc,{className:I.startIcon,ownerState:A,children:S||_.jsx(wc,{className:I.loadingIconPlaceholder,ownerState:A})}),R=(f||b&&"end"===v)&&_.jsx(xc,{className:I.endIcon,ownerState:A,children:f||_.jsx(wc,{className:I.loadingIconPlaceholder,ownerState:A})}),O=r||"",L="boolean"==typeof b?_.jsx("span",{className:I.loadingWrapper,style:{display:"contents"},children:b&&_.jsx(Sc,{className:I.loadingIndicator,ownerState:A,children:T})}):null;return _.jsxs(yc,{ownerState:A,className:qt(n.className,I.root,c,O),component:l,disabled:u||b,focusRipple:!p,focusVisibleClassName:qt(I.focusVisible,m),ref:t,type:w,id:b?k:g,...C,classes:I,children:[N,"end"!==v&&L,i,"end"===v&&L,R]})});function Cc(e){return Xt("MuiCard",e)}Kt("MuiCard",["root"]);const kc=Qr(lo,{name:"MuiCard",slot:"Root"})({overflow:"hidden"}),Tc=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiCard"}),{className:r,raised:a=!1,...o}=n,i={...n,raised:a},s=(e=>{const{classes:t}=e;return ar({root:["root"]},Cc,t)})(i);return _.jsx(kc,{className:qt(s.root,r),elevation:a?8:void 0,ref:t,ownerState:i,...o})});function Ac(e){return Xt("MuiCardContent",e)}Kt("MuiCardContent",["root"]);const Ic=Qr("div",{name:"MuiCardContent",slot:"Root"})({padding:16,"&:last-child":{paddingBottom:24}}),Nc=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiCardContent"}),{className:r,component:a="div",...o}=n,i={...n,component:a},s=(e=>{const{classes:t}=e;return ar({root:["root"]},Ac,t)})(i);return _.jsx(Ic,{as:a,className:qt(s.root,r),ownerState:i,ref:t,...o}
101)});function _c(e){return Xt("PrivateSwitchBase",e)}Kt("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const Rc=Qr(Io)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),Oc=Qr("input",{shouldForwardProp:Jr})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Lc=o.forwardRef(function(e,t){const{autoFocus:n,checked:r,checkedIcon:a,defaultChecked:o,disabled:i,disableFocusRipple:s=!1,edge:l=!1,icon:c,id:u,inputProps:d,inputRef:p,name:f,onBlur:m,onChange:h,onFocus:g,readOnly:b,required:y=!1,tabIndex:v,type:x,value:S,slots:w={},slotProps:E={},...C}=e,[k,T]=Ca({controlled:r,default:Boolean(o),name:"SwitchBase",state:"checked"}),A=pl();let I=i;A&&void 0===I&&(I=A.disabled);const N="checkbox"===x||"radio"===x,R={...e,checked:k,disabled:I,disableFocusRipple:s,edge:l},O=(e=>{const{classes:t,checked:n,disabled:r,edge:a}=e;return ar({root:["root",n&&"checked",r&&"disabled",a&&`edge${Ve(a)}`],input:["input"]},_c,t)})(R),L={slots:w,slotProps:{input:d,...E}},[D,P]=ho("root",{ref:t,elementType:Rc,className:O.root,shouldForwardComponentProp:!0,externalForwardedProps:{...L,component:"span",...C},getSlotProps:e=>({...e,onFocus:t=>{e.onFocus?.(t),(e=>{g&&g(e),A&&A.onFocus&&A.onFocus(e)})(t)},onBlur:t=>{e.onBlur?.(t),(e=>{m&&m(e),A&&A.onBlur&&A.onBlur(e)})(t)}}),ownerState:R,additionalProps:{centerRipple:!0,focusRipple:!s,disabled:I,role:void 0,tabIndex:null}}),[M,j]=ho("input",{ref:p,elementType:Oc,className:O.input,externalForwardedProps:L,getSlotProps:e=>({...e,onChange:t=>{e.onChange?.(t),(e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;T(t),h&&h(e,t)})(t)}}),ownerState:R,additionalProps:{autoFocus:n,checked:r,defaultChecked:o,disabled:I,id:N?u:void 0,name:f,readOnly:b,required:y,tabIndex:v,type:x,..."checkbox"===x&&void 0===S?{}:{value:S}}});return _.jsxs(D,{...P,children:[_.jsx(M,{...j}),k?a:c]})}),Dc=ga(_.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),Pc=ga(_.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),Mc=ga(_.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}));function jc(e){return Xt("MuiCheckbox",e)}const Fc=Kt("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),zc=Qr(Lc,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${Ve(n.size)}`],"default"!==n.color&&t[`color${Ve(n.color)}`]]}})(da(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{[`&.${Fc.checked}, &.${Fc.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${Fc.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),$c=_.jsx(Pc,{}),Bc=_.jsx(Dc,{}),Uc=_.jsx(Mc,{}),Hc=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiCheckbox"}),{checkedIcon:r=$c,color:a="primary",icon:i=Bc,indeterminate:s=!1,indeterminateIcon:l=Uc,inputProps:c,size:u="medium",disableRipple:d=!1,className:p,slots:f={},slotProps:m={},...h}=n,g=s?l:i,b=s?l:r,y={...n,disableRipple:d,color:a,indeterminate:s,size:u},v=(e=>{const{classes:t,indeterminate:n,color:r,size:a}=e,o=ar({root:["root",n&&"indeterminate",`color${Ve(r)}`,`size${Ve(a)}`]},jc,t);return{...t,...o}})(y),x=m.input??c,[S,w]=ho("root",{ref:t,elementType:zc,className:qt(v.root,p),shouldForwardComponentProp:!0,externalForwardedProps:{slots:f,slotProps:m,...h},ownerState:y,additionalProps:{type:"checkbox",icon:o.cloneElement(g,{fontSize:g.props.fontSize??u}),checkedIcon:o.cloneElement(b,{fontSize:b.props.fontSize??u}),disableRipple:d,slots:f,slotProps:{input:Aa("function"==typeof x?x(y):x,{"data-indeterminate":s})}}});return _.jsx(S,{...w,classes:v})});function Vc(e){return e.substring(2).toLowerCase()}function Wc(e){const{children:t,disableReactTree:n=!1,mouseEvent:r="onClick",onClickAway:a,touchEvent:i="onTouchEnd"}=e,s=o.useRef(!1),l=o.useRef(null),c=o.useRef(!1),u=o.useRef(!1);o.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const d=Ta($s(t),l),p=ka(e=>{const t=u.current;u.current=!1;const r=ya(l.current);if(!c.current||!l.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(s.current)return void(s.current=!1);let o;o=e.composedPath?e.composedPath().includes(l.current):!r.documentElement.contains(e.target)||l.current.contains(e.target),o||!n&&t||a(e)}),f=e=>n=>{u.current=!0;const r=t.props[e];r&&r(n)},m={ref:d};return!1!==i&&(m[i]=f(i)),o.useEffect(()=>{if(!1!==i){const e=Vc(i),t=ya(l.current),n=()=>{s.current=!0};return t.addEventListener(e,p),t.addEventListener("touchmove",n),()=>{t.removeEventListener(e,p),t.removeEventListener("touchmove",n)}}},[p,i]),!1!==r&&(m[r]=f(r)),o.useEffect(()=>{if(!1!==r){const e=Vc(r),t=ya(l.current);return t.addEventListener(e,p),()=>{t.removeEventListener(e,p)}}},[p,r]),o.cloneElement(t,m)}const Gc=function(e={}){const{createStyledComponent:t=ir,useThemeProps:n=sr,componentName:r="MuiContainer"}=e,a=t(({theme:e,ownerState:t})=>({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",...!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,n)=>{const r=n,a=e.breakpoints.values[r];return 0!==a&&(t[e.breakpoints.up(r)]={maxWidth:`${a}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>({..."xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},...t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}})),i=o.forwardRef(function(e,t){const o=n(e),{className:i,component:s="div",disableGutters:l=!1,fixed:c=!1,maxWidth:u="lg",classes:d,...p}=o,f={...o,component:s,disableGutters:l,fixed:c,maxWidth:u},m=((e,t)=>{const{classes:n,fixed:r,disableGutters:a,maxWidth:o}=e;return ar({root:["root",o&&`maxWidth${Ve(String(o))}`,r&&"fixed",a&&"disableGutters"]},e=>Xt(t,e),n)})(f,r);return _.jsx(a,{as:s,ownerState:f,className:qt(m.root,i),ref:t,...p})});return i}({createStyledComponent:Qr("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`maxWidth${Ve(String(n.maxWidth))}`],n.fixed&&t.fixed,n.disableGutters&&t.disableGutters]}}),useThemeProps:e=>pa({props:e,name:"MuiContainer"})}),qc="function"==typeof ua({}),Yc=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),Xc=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Kc=(e,t=!1)=>{const n={};t&&e.colorSchemes&&"function"==typeof e.getColorSchemeSelector&&Object.entries(e.colorSchemes).forEac
101h(([t,r])=>{const a=e.getColorSchemeSelector(t);a.startsWith("@")?n[a]={":root":{colorScheme:r.palette?.mode}}:n[a.replace(/\s*&/,"")]={colorScheme:r.palette?.mode}});let r={html:Yc(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...Xc(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...n};const a=e.components?.MuiCssBaseline?.styleOverrides;return a&&(r=[r,a]),r},Zc="mui-ecs",Jc=ua(qc?({theme:e,enableColorScheme:t})=>Kc(e,t):({theme:e})=>(e=>{const t=Kc(e,!1),n=Array.isArray(t)?t[0]:t;return!e.vars&&n&&(n.html[`:root:has(${Zc})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([t,r])=>{const a=e.getColorSchemeSelector(t);a.startsWith("@")?n[a]={[`:root:not(:has(.${Zc}))`]:{colorScheme:r.palette?.mode}}:n[a.replace(/\s*&/,"")]={[`&:not(:has(.${Zc}))`]:{colorScheme:r.palette?.mode}}}),t})(e));function Qc(e){const t=pa({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return _.jsxs(o.Fragment,{children:[qc&&_.jsx(Jc,{enableColorScheme:r}),!qc&&!r&&_.jsx("span",{className:Zc,style:{display:"none"}}),n]})}function eu(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function tu(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function nu(e){return parseInt(va(e).getComputedStyle(e).paddingRight,10)||0}function ru(e,t,n,r,a){const o=[t,n,...r];[].forEach.call(e.children,e=>{const t=!o.includes(e),n=!function(e){const t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&tu(e,a)})}function au(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}function ou(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=ya(e);return t.body===e?va(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=eu(va(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${nu(r)+e}px`;const t=ya(r).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${nu(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=ya(r).body;else{const t=r.parentElement,n=va(r);e="HTML"===t?.nodeName&&"scroll"===n.getComputedStyle(t).overflowY?t:r}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach(({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)})}}const iu=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function su(e){const t=[],n=[];return Array.from(e.querySelectorAll(iu)).forEach((e,r)=>{const a=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==a&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===a?t.push(e):n.push({documentOrder:r,tabIndex:a,node:e}))}),n.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function lu(){return!0}function cu(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:a=!1,getTabbable:i=su,isEnabled:s=lu,open:l}=e,c=o.useRef(!1),u=o.useRef(null),d=o.useRef(null),p=o.useRef(null),f=o.useRef(null),m=o.useRef(!1),h=o.useRef(null),g=Ta($s(t),h),b=o.useRef(null);o.useEffect(()=>{l&&h.current&&(m.current=!n)},[n,l]),o.useEffect(()=>{if(!l||!h.current)return;const e=ya(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),m.current&&h.current.focus()),()=>{a||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}},[l]),o.useEffect(()=>{if(!l||!h.current)return;const e=ya(h.current),t=t=>{b.current=t,!r&&s()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!s()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==f.current)f.current=null;else if(null!==f.current)return;if(!m.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(n=i(h.current)),n.length>0){const e=Boolean(b.current?.shiftKey&&"Tab"===b.current?.key),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}
101else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const a=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()},50);return()=>{clearInterval(a),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}},[n,r,a,s,l,i]);const y=e=>{null===p.current&&(p.current=e.relatedTarget),m.current=!0};return _.jsxs(o.Fragment,{children:[_.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),o.cloneElement(t,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),m.current=!0,f.current=e.target;const n=t.props.onFocus;n&&n(e)}}),_.jsx("div",{tabIndex:l?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})}const uu=()=>{},du=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&tu(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);ru(t,e.mount,e.modalRef,r,!0);const a=au(this.containers,e=>e.container===t);return-1!==a?(this.containers[a].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=au(this.containers,t=>t.modals.includes(e)),r=this.containers[n];r.restore||(r.restore=ou(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=au(this.containers,t=>t.modals.includes(e)),a=this.containers[r];if(a.modals.splice(a.modals.indexOf(e),1),this.modals.splice(n,1),0===a.modals.length)a.restore&&a.restore(),e.modalRef&&tu(e.modalRef,t),ru(a.container,e.mount,e.modalRef,a.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=a.modals[a.modals.length-1];e.modalRef&&tu(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function pu(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:a=!1,onTransitionEnter:i,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:d}=e,p=o.useRef({}),f=o.useRef(null),m=o.useRef(null),h=Ta(m,d),[g,b]=o.useState(!u),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(l);let v=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(v=!1);const x=()=>(p.current.modalRef=m.current,p.current.mount=f.current,p.current),S=()=>{du.mount(x(),{disableScrollLock:r}),m.current&&(m.current.scrollTop=0)},w=ka(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||ya(f.current).body;du.add(x(),e),m.current&&S()}),E=()=>du.isTopModal(x()),C=ka(e=>{f.current=e,e&&(u&&E()?S():m.current&&tu(m.current,v))}),k=o.useCallback(()=>{du.remove(x(),v)},[v]);o.useEffect(()=>()=>{k()},[k]),o.useEffect(()=>{u?w():y&&a||k()},[u,k,y,a,w]);const T=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&E()&&(n||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},A=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const n=po(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r={...n,...t};return{role:"presentation",...r,onKeyDown:T(r),ref:h}},getBackdropProps:(e={})=>{const t=e;return{"aria-hidden":!0,...t,onClick:A(t),open:u}},getTransitionProps:()=>({onEnter:la(()=>{b(!1),i&&i()},l?.props.onEnter??uu),onExited:la(()=>{b(!0),s&&s(),a&&k()},l?.props.onExited??uu)}),rootRef:h,portalRef:C,isTopModal:E,exited:g,hasTransition:y}}function fu(e){return Xt("MuiModal",e)}Kt("MuiModal",["root","hidden","backdrop"]);const mu=Qr("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(da(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),hu=Qr(rc,{name:"MuiModal",slot:"Backdrop"})({zIndex:-1}),gu=o.forwardRef(function(e,t){const n=pa({name:"MuiModal",props:e}),{BackdropComponent:r=hu,BackdropProps:a,classes:i,className:s,closeAfterTransition:l=!1,children:c,container:u,component:d,components:p={},componentsProps:f={},disableAutoFocus:m=!1,disableEnforceFocus:h=!1,disableEscapeKeyDown:g=!1,disablePortal:b=!1,disableRestoreFocus:y=!1,disableScrollLock:v=!1,hideBackdrop:x=!1,keepMounted:S=!1,onClose:w,onTransitionEnter:E,onTransitionExited:C,open:k,slotProps:T={},slots:A={},theme:I,...N}=n,R={...n,closeAfterTransition:l,disableAutoFocus:m,disableEnforceFocus:h,disableEscapeKeyDown:g,disablePortal:b,disableRestoreFocus:y,disableScrollLock:v,hideBackdrop:x,keepMounted:S},{getRootProps:O,getBackdropProps:L,getTransitionProps:D,portalRef:P,isTopModal:M,exited:j,hasTransition:F}=pu({...R,rootRef:t}),z={...R,exited:j},$=(e=>{const{open:t,exited:n,classes:r}=e;return ar({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},fu,r)})(z),B={};if(void 0===c.props.tabIndex&&(B.tabIndex="-1"),F){const{onEnter:e,onExited:t}=D();B.onEnter=e,B.onExited=t}const U={slots:{root:p.Root,backdrop:p.Backdrop,...A},slotProps:{...f,...T}},[H,V]=ho("root",{ref:t,elementType:mu,externalForwardedProps:{...U,...N,component:d},getSlotProps:O,ownerState:z,className:qt(s,$?.root,!z.open&&z.exited&&$?.hidden)}),[W,G]=ho("backdrop",{ref:a?.ref,elementType:r,externalForwardedProps:U,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:e=>L({...e,onClick:t=>{e?.onClick&&e.onClick(t)}}),className:qt(a?.className,$?.backdrop),ownerState:z});return S||k||F&&!j?_.jsx(Bs,{ref:P,container:u,disablePortal:b,children:_.jsxs(H,{...V,children:[!x&&r?_.jsx(W,{...G}):null,_.jsx(cu,{disableEnforceFocus:h,disableAutoFocus:m,disableRestoreFocus:y,isEnabled:M,open:k,children:o.cloneElement(c,B)})]})}):null});function bu(e){return Xt("MuiDialog",e)}const yu=Kt("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),vu=o.createContext({}),xu=Qr(rc,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),Su=Qr(gu,{name:"MuiDialog",slot:"Root"})({"@media print":{position:"absolute !important"}}),wu=Qr("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.container,t[`scroll${Ve(n.scroll)}`]]}})({height:"100%","@media print":{height:"auto"},outline:0,variants:[{props:{scroll:"paper"},style:{display:"flex",justifyContent:"center",alignItems:"center"}},{props:{scroll:"body"},style:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',dis
vendor: 2,458 bytes, line 101
101play:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}}}]}),Eu=Qr(lo,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.paper,t[`scrollPaper${Ve(n.scroll)}`],t[`paperWidth${Ve(String(n.maxWidth))}`],n.fullWidth&&t.paperFullWidth,n.fullScreen&&t.paperFullScreen]}})(da(({theme:e})=>({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"},variants:[{props:{scroll:"paper"},style:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"}},{props:{scroll:"body"},style:{display:"inline-block",verticalAlign:"middle",textAlign:"initial"}},{props:({ownerState:e})=>!e.maxWidth,style:{maxWidth:"calc(100% - 64px)"}},{props:{maxWidth:"xs"},style:{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${yu.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}}},...Object.keys(e.breakpoints.values).filter(e=>"xs"!==e).map(t=>({props:{maxWidth:t},style:{maxWidth:`${e.breakpoints.values[t]}${e.breakpoints.unit}`,[`&.${yu.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t]+64)]:{maxWidth:"calc(100% - 64px)"}}}})),{props:({ownerState:e})=>e.fullWidth,style:{width:"calc(100% - 64px)"}},{props:({ownerState:e})=>e.fullScreen,style:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${yu.paperScrollBody}`]:{margin:0,maxWidth:"100%"}}}]}))),Cu=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiDialog"}),r=Kr(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{"aria-describedby":i,"aria-labelledby":s,"aria-modal":l=!0,BackdropComponent:c,BackdropProps:u,children:d,className:p,disableEscapeKeyDown:f=!1,fullScreen:m=!1,fullWidth:h=!1,maxWidth:g="sm",onClick:b,onClose:y,open:v,PaperComponent:x=lo,PaperProps:S={},scroll:w="paper",slots:E={},slotProps:C={},TransitionComponent:k=ec,transitionDuration:T=a,TransitionProps:A,...I}=n,N={...n,disableEscapeKeyDown:f,fullScreen:m,fullWidth:h,maxWidth:g,scroll:w},R=(e=>{const{classes:t,scroll:n,maxWidth:r,fullWidth:a,fullScreen:o}=e;return ar({root:["root"],container:["container",`scroll${Ve(n)}`],paper:["paper",`paperScroll${Ve(n)}`,`paperWidth${Ve(String(r))}`,a&&"paperFullWidth",o&&"paperFullScreen"]},bu,t)})(N),O=o.useRef(),L=Ea(s),D=o.useMemo(()=>({titleId:L}
101),[L]),P={slots:{transition:k,...E},slotProps:{transition:A,paper:S,backdrop:u,...C}},[M,j]=ho("root",{elementType:Su,shouldForwardComponentProp:!0,externalForwardedProps:P,ownerState:N,className:qt(R.root,p),ref:t}),[F,z]=ho("backdrop",{elementType:xu,shouldForwardComponentProp:!0,externalForwardedProps:P,ownerState:N}),[$,B]=ho("paper",{elementType:Eu,shouldForwardComponentProp:!0,externalForwardedProps:P,ownerState:N,className:qt(R.paper,S.className)}),[U,H]=ho("container",{elementType:wu,externalForwardedProps:P,ownerState:N,className:R.container}),[V,W]=ho("transition",{elementType:ec,externalForwardedProps:P,ownerState:N,additionalProps:{appear:!0,in:v,timeout:T,role:"presentation"}});return _.jsx(M,{closeAfterTransition:!0,slots:{backdrop:F},slotProps:{backdrop:{transitionDuration:T,as:c,...z}},disableEscapeKeyDown:f,onClose:y,open:v,onClick:e=>{b&&b(e),O.current&&(O.current=null,y&&y(e,"backdropClick"))},...j,...I,children:_.jsx(V,{...W,children:_.jsx(U,{onMouseDown:e=>{O.current=e.target===e.currentTarget},...H,children:_.jsx($,{as:x,elevation:24,role:"dialog","aria-describedby":i,"aria-labelledby":L,"aria-modal":l,...B,children:_.jsx(vu.Provider,{value:D,children:d})})})})})});function ku(e){return Xt("MuiDialogActions",e)}Kt("MuiDialogActions",["root","spacing"]);const Tu=Qr("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto",variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),Au=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiDialogActions"}),{className:r,disableSpacing:a=!1,...o}=n,i={...n,disableSpacing:a},s=(e=>{const{classes:t,disableSpacing:n}=e;return ar({root:["root",!n&&"spacing"]},ku,t)})(i);return _.jsx(Tu,{className:qt(s.root,r),ownerState:i,ref:t,...o})});function Iu(e){return Xt("MuiDialogContent",e)}function Nu(e){return Xt("MuiDialogTitle",e)}Kt("MuiDialogContent",["root","dividers"]);const _u=Kt("MuiDialogTitle",["root"]),Ru=Qr("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dividers&&t.dividers]}})(da(({theme:e})=>({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px",variants:[{props:({ownerState:e})=>e.dividers,style:{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}},{props:({ownerState:e})=>!e.dividers,style:{[`.${_u.root} + &`]:{paddingTop:0}}}]}))),Ou=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiDialogContent"}),{className:r,dividers:a=!1,...o}=n,i={...n,dividers:a},s=(e=>{const{classes:t,dividers:n}=e;return ar({root:["root",n&&"dividers"]},Iu,t)})(i);return _.jsx(Ru,{className:qt(s.root,r),ownerState:i,ref:t,...o})});function Lu(e){return Xt("MuiDialogContentText",e)}Kt("MuiDialogContentText",["root"]);const Du=Qr(di,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiDialogContentText",slot:"Root"})({}),Pu=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiDialogContentText"}),{children:r,className:a,...o}=n,i=(e=>{const{classes:t}=e,n=ar({root:["root"]},Lu,t);return{...t,...n}})(o);return _.jsx(Du,{component:"p",variant:"body1",color:"textSecondary",ref:t,ownerState:o,className:qt(i.root,a),...n,classes:i})}),Mu=Qr(di,{name:"MuiDialogTitle",slot:"Root"})({padding:"16px 24px",flex:"0 0 auto"}),ju=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiDialogTitle"}),{className:r,id:a,...i}=n,s=n,l=(e=>{const{classes:t}=e;return ar({root:["root"]},Nu,t)})(s),{titleId:c=a}=o.useContext(vu);return _.jsx(Mu,{component:"h2",className:qt(l.root,r),ownerState:s,ref:t,variant:"h6",id:a??c,...i})});function Fu(e){return Xt("MuiDivider",e)}const zu=Kt("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),$u=Qr("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})(da(({theme:e})=>({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin",variants:[{props:{absolute:!0},style:{position:"absolute",bottom:0,left:0,width:"100%"}},{props:{light:!0},style:{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:Cn(e.palette.divider,.08)}},{props:{variant:"inset"},style:{marginLeft:72}},{props:{variant:"middle",orientation:"horizontal"},style:{marginLeft:e.spacing(2),marginRight:e.spacing(2)}},{props:{variant:"middle",orientation:"vertical"},style:{marginTop:e.spacing(1),marginBottom:e.spacing(1)}},{props:{orientation:"vertical"},style:{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"}},{props:{flexItem:!0},style:{alignSelf:"stretch",height:"auto"}},{props:({ownerState:e})=>!!e.children,style:{display:"flex",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}},{props:({ownerState:e})=>e.children&&"vertical"!==e.orientation,style:{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}},{props:({ownerState:e})=>"vertical"===e.orientation&&e.children,style:{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}},{props:({ownerState:e})=>"right"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"90%"},"&::after":{width:"10%"}}},{props:({ownerState:e})=>"left"===e.textAlign&&"vertical"!==e.orientation,style:{"&::before":{width:"10%"},"&::after":{width:"90%"}}}]}))),Bu=Qr("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})(da(({theme:e})=>({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`,whiteSpace:"nowrap",variants:[{props:{orientation:"vertical"},style:{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}}]}))),Uu=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiDivider"}
101),{absolute:r=!1,children:a,className:o,orientation:i="horizontal",component:s=(a||"vertical"===i?"div":"hr"),flexItem:l=!1,light:c=!1,role:u=("hr"!==s?"separator":void 0),textAlign:d="center",variant:p="fullWidth",...f}=n,m={...n,absolute:r,component:s,flexItem:l,light:c,orientation:i,role:u,textAlign:d,variant:p},h=(e=>{const{absolute:t,children:n,classes:r,flexItem:a,light:o,orientation:i,textAlign:s,variant:l}=e;return ar({root:["root",t&&"absolute",l,o&&"light","vertical"===i&&"vertical",a&&"flexItem",n&&"withChildren",n&&"vertical"===i&&"withChildrenVertical","right"===s&&"vertical"!==i&&"textAlignRight","left"===s&&"vertical"!==i&&"textAlignLeft"],wrapper:["wrapper","vertical"===i&&"wrapperVertical"]},Fu,r)})(m);return _.jsx($u,{as:s,className:qt(h.root,o),role:u,ref:t,ownerState:m,"aria-orientation":"separator"!==u||"hr"===s&&"vertical"!==i?void 0:i,...f,children:a?_.jsx(Bu,{className:h.wrapper,ownerState:m,children:a}):null})});function Hu(e,t,n){var r;const a=function(e,t,n){const r=t.getBoundingClientRect(),a=n&&n.getBoundingClientRect(),o=va(t);let i;if(t.fakeTransform)i=t.fakeTransform;else{const e=o.getComputedStyle(t);i=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(i&&"none"!==i&&"string"==typeof i){const e=i.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?a?`translateX(${a.right+s-r.left}px)`:`translateX(${o.innerWidth+s-r.left}px)`:"right"===e?a?`translateX(-${r.right-a.left-s}px)`:`translateX(-${r.left+r.width-s}px)`:"up"===e?a?`translateY(${a.bottom+l-r.top}px)`:`translateY(${o.innerHeight+l-r.top}px)`:a?`translateY(-${r.top-a.top+r.height-l}px)`:`translateY(-${r.top+r.height-l}px)`}(e,t,"function"==typeof(r=n)?r():r);a&&(t.style.webkitTransform=a,t.style.transform=a)}Uu&&(Uu.muiSkipListHighlight=!0);const Vu=o.forwardRef(function(e,t){const n=Kr(),r={enter:n.transitions.easing.easeOut,exit:n.transitions.easing.sharp},a={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,container:c,direction:u="down",easing:d=r,in:p,onEnter:f,onEntered:m,onEntering:h,onExit:g,onExited:b,onExiting:y,style:v,timeout:x=a,TransitionComponent:S=$a,...w}=e,E=o.useRef(null),C=Ta($s(l),E,t),k=e=>t=>{e&&(void 0===t?e(E.current):e(E.current,t))},T=k((e,t)=>{Hu(u,e,c),Qa(e),f&&f(e,t)}),A=k((e,t)=>{const r=eo({timeout:x,style:v,easing:d},{mode:"enter"});e.style.webkitTransition=n.transitions.create("-webkit-transform",{...r}),e.style.transition=n.transitions.create("transform",{...r}),e.style.webkitTransform="none",e.style.transform="none",h&&h(e,t)}),I=k(m),N=k(y),R=k(e=>{const t=eo({timeout:x,style:v,easing:d},{mode:"exit"});e.style.webkitTransition=n.transitions.create("-webkit-transform",t),e.style.transition=n.transitions.create("transform",t),Hu(u,e,c),g&&g(e)}),O=k(e=>{e.style.webkitTransition="",e.style.transition="",b&&b(e)}),L=o.useCallback(()=>{E.current&&Hu(u,E.current,c)},[u,c]);return o.useEffect(()=>{if(p||"down"===u||"right"===u)return;const e=ba(()=>{E.current&&Hu(u,E.current,c)}),t=va(E.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[u,p,c]),o.useEffect(()=>{p||L()},[p,L]),_.jsx(S,{nodeRef:E,onEnter:T,onEntered:I,onEntering:A,onExit:R,onExited:O,onExiting:N,addEndListener:e=>{i&&i(E.current,e)},appear:s,in:p,timeout:x,...w,children:(e,{ownerState:t,...n})=>o.cloneElement(l,{ref:C,style:{visibility:"exited"!==e||p?void 0:"hidden",...v,...l.props.style},...n})})});function Wu(e){return Xt("MuiFab",e)}const Gu=Kt("MuiFab",["root","primary","secondary","extended","circular","focusVisible","disabled","colorInherit","sizeSmall","sizeMedium","sizeLarge","info","error","warning","success"]),qu=Qr(Io,{name:"MuiFab",slot:"Root",shouldForwardProp:e=>Jr(e)||"classes"===e,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`size${Ve(n.size)}`],"inherit"===n.color&&t.colorInherit,t[Ve(n.size)],t[n.color]]}})(da(({theme:e})=>({...e.typography.button,minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border-color"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,zIndex:(e.vars||e).zIndex.fab,boxShadow:(e.vars||e).shadows[6],"&:active":{boxShadow:(e.vars||e).shadows[12]},color:e.vars?e.vars.palette.grey[900]:e.palette.getContrastText?.(e.palette.grey[300]),backgroundColor:(e.vars||e).palette.grey[300],"&:hover":{backgroundColor:(e.vars||e).palette.grey.A100,"@media (hover: none)":{backgroundColor:(e.vars||e).palette.grey[300]},textDecoration:"none"},[`&.${Gu.focusVisible}`]:{boxShadow:(e.vars||e).shadows[6]},variants:[{props:{size:"small"},style:{width:40,height:40}},{props:{size:"medium"},style:{width:48,height:48}},{props:{variant:"extended"}
vendor: 5,837 bytes, line 101
101,style:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48}},{props:{variant:"extended",size:"small"},style:{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34}},{props:{variant:"extended",size:"medium"},style:{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},{props:{color:"inherit"},style:{color:"inherit"}}]})),da(({theme:e})=>({variants:[...Object.entries(e.palette).filter(_o(["dark","contrastText"])).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].contrastText,backgroundColor:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:(e.vars||e).palette[t].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t].main}}}}))]})),da(({theme:e})=>({[`&.${Gu.disabled}`]:{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground}}))),Yu=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiFab"}),{children:r,className:a,color:o="default",component:i="button",disabled:s=!1,disableFocusRipple:l=!1,focusVisibleClassName:c,size:u="large",variant:d="circular",...p}=n,f={...n,color:o,component:i,disabled:s,disableFocusRipple:l,size:u,variant:d},m=(e=>{const{color:t,variant:n,classes:r,size:a}=e,o=ar({root:["root",n,`size${Ve(a)}`,"inherit"===t?"colorInherit":t]},Wu,r);return{...r,...o}})(f);return _.jsx(qu,{className:qt(m.root,a),component:i,disabled:s,focusRipple:!l,focusVisibleClassName:qt(m.focusVisible,c),ownerState:f,ref:t,...p,classes:m,children:r})}),Xu=Qr(xl,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...yl(e,t),!n.disableUnderline&&t.underline]}})(da(({theme:e})=>{const t="light"===e.palette.mode,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${Nl.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${Nl.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:o},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Nl.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Nl.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:n}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Nl.disabled}, .${Nl.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Nl.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),Ku=Qr(Sl,{name:"MuiFilledInput",slot:"Input",overridesResolver:vl})(da(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),Zu=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiFilledInput"}),{disableUnderline:r=!1,components:a={},componentsProps:o,fullWidth:i=!1,hiddenLabel:s,inputComponent:l="input",multiline:c=!1,slotProps:u,slots:d={},type:p="text",...f}=n,m={...n,disableUnderline:r,fullWidth:i,inputComponent:l,multiline:c,type:p},h=(e=>{const{classes:t,disableUnderline:n,startAdornment:r,endAdornment:a,size:o,hiddenLabel:i,multiline:s}
101=e,l=ar({root:["root",!n&&"underline",r&&"adornedStart",a&&"adornedEnd","small"===o&&`size${Ve(o)}`,i&&"hiddenLabel",s&&"multiline"],input:["input"]},Il,t);return{...t,...l}})(n),g={root:{ownerState:m},input:{ownerState:m}},b=u??o?Le(g,u??o):g,y=d.root??a.Root??Xu,v=d.input??a.Input??Ku;return _.jsx(El,{slots:{root:y,input:v},slotProps:b,fullWidth:i,inputComponent:l,multiline:c,ref:t,type:p,...f,classes:h})});function Ju(e){return Xt("MuiFormControl",e)}Zu.muiName="Input",Kt("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Qu=Qr("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`margin${Ve(n.margin)}`],n.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),ed=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiFormControl"}),{children:r,className:a,color:i="primary",component:s="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:d=!1,hiddenLabel:p=!1,margin:f="none",required:m=!1,size:h="medium",variant:g="outlined",...b}=n,y={...n,color:i,component:s,disabled:l,error:c,fullWidth:d,hiddenLabel:p,margin:f,required:m,size:h,variant:g},v=(e=>{const{classes:t,margin:n,fullWidth:r}=e;return ar({root:["root","none"!==n&&`margin${Ve(n)}`,r&&"fullWidth"]},Ju,t)})(y),[x,S]=o.useState(()=>{let e=!1;return r&&o.Children.forEach(r,t=>{if(!lr(t,["Input","Select"]))return;const n=lr(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}),e}),[w,E]=o.useState(()=>{let e=!1;return r&&o.Children.forEach(r,t=>{lr(t,["Input","Select"])&&(ml(t.props,!0)||ml(t.props.inputProps,!0))&&(e=!0)}),e}),[C,k]=o.useState(!1);l&&C&&k(!1);const T=void 0===u||l?C:u;let A;o.useRef(!1);const I=o.useCallback(()=>{E(!0)},[]),N=o.useCallback(()=>{E(!1)},[]),R=o.useMemo(()=>({adornedStart:x,setAdornedStart:S,color:i,disabled:l,error:c,filled:w,focused:T,fullWidth:d,hiddenLabel:p,size:h,onBlur:()=>{k(!1)},onFocus:()=>{k(!0)},onEmpty:N,onFilled:I,registerEffect:A,required:m,variant:g}),[x,i,l,c,w,T,d,p,A,N,I,m,h,g]);return _.jsx(dl.Provider,{value:R,children:_.jsx(Qu,{as:s,ownerState:y,className:qt(v.root,a),ref:t,...b,children:r})})});function td(e){return Xt("MuiFormControlLabel",e)}const nd=Kt("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),rd=Qr("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${nd.label}`]:t.label},t.root,t[`labelPlacement${Ve(n.labelPlacement)}`]]}})(da(({theme:e})=>({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${nd.disabled}`]:{cursor:"default"},[`& .${nd.label}`]:{[`&.${nd.disabled}`]:{color:(e.vars||e).palette.text.disabled}},variants:[{props:{labelPlacement:"start"},style:{flexDirection:"row-reverse",marginRight:-11}},{props:{labelPlacement:"top"},style:{flexDirection:"column-reverse"}},{props:{labelPlacement:"bottom"},style:{flexDirection:"column"}},{props:({labelPlacement:e})=>"start"===e||"top"===e||"bottom"===e,style:{marginLeft:16}}]}))),ad=Qr("span",{name:"MuiFormControlLabel",slot:"Asterisk"})(da(({theme:e})=>({[`&.${nd.error}`]:{color:(e.vars||e).palette.error.main}}))),od=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiFormControlLabel"}),{checked:r,className:a,componentsProps:i={},control:s,disabled:l,disableTypography:c,inputRef:u,label:d,labelPlacement:p="end",name:f,onChange:m,required:h,slots:g={},slotProps:b={},value:y,...v}=n,x=pl(),S=l??s.props.disabled??x?.disabled,w=h??s.props.required,E={disabled:S,required:w};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===s.props[e]&&void 0!==n[e]&&(E[e]=n[e])});const C=ul({props:n,muiFormControl:x,states:["error"]}),k={...n,disabled:S,labelPlacement:p,required:w,error:C.error},T=(e=>{const{classes:t,disabled:n,labelPlacement:r,error:a,required:o}=e;return ar({root:["root",n&&"disabled",`labelPlacement${Ve(r)}`,a&&"error",o&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",a&&"error"]},td,t)})(k),A={slots:g,slotProps:{...i,...b}},[I,N]=ho("typography",{elementType:di,externalForwardedProps:A,ownerState:k});let R=d;return null==R||R.type===di||c||(R=_.jsx(I,{component:"span",...N,className:qt(T.label,N?.className),children:R})),_.jsxs(rd,{className:qt(T.root,a),ownerState:k,ref:t,...v,children:[o.cloneElement(s,E),w?_.jsxs("div",{children:[R,_.jsxs(ad,{ownerState:k,"aria-hidden":!0,
101className:T.asterisk,children:["â","*"]})]}):R]})});function id(e){return Xt("MuiFormGroup",e)}Kt("MuiFormGroup",["root","row","error"]);const sd=Qr("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.row&&t.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),ld=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiFormGroup"}),{className:r,row:a=!1,...o}=n,i=ul({props:n,muiFormControl:pl(),states:["error"]}),s={...n,row:a,error:i.error},l=(e=>{const{classes:t,row:n,error:r}=e;return ar({root:["root",n&&"row",r&&"error"]},id,t)})(s);return _.jsx(sd,{className:qt(l.root,r),ownerState:s,ref:t,...o})});function cd(e){return Xt("MuiFormHelperText",e)}const ud=Kt("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var dd;const pd=Qr("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${Ve(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(da(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${ud.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${ud.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),fd=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiFormHelperText"}),{children:r,className:a,component:o="p",disabled:i,error:s,filled:l,focused:c,margin:u,required:d,variant:p,...f}=n,m=ul({props:n,muiFormControl:pl(),states:["variant","size","disabled","error","filled","focused","required"]}),h={...n,component:o,contained:"filled"===m.variant||"outlined"===m.variant,variant:m.variant,size:m.size,disabled:m.disabled,error:m.error,filled:m.filled,focused:m.focused,required:m.required};delete h.ownerState;const g=(e=>{const{classes:t,contained:n,size:r,disabled:a,error:o,filled:i,focused:s,required:l}=e;return ar({root:["root",a&&"disabled",o&&"error",r&&`size${Ve(r)}`,n&&"contained",s&&"focused",i&&"filled",l&&"required"]},cd,t)})(h);return _.jsx(pd,{as:o,className:qt(g.root,a),ref:t,...f,ownerState:h,children:" "===r?dd||(dd=_.jsx("span",{className:"notranslate","aria-hidden":!0,children:"â"})):r})});function md(e){return Xt("MuiFormLabel",e)}const hd=Kt("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),gd=Qr("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"secondary"===n.color&&t.colorSecondary,n.filled&&t.filled]}})(da(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{[`&.${hd.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${hd.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${hd.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),bd=Qr("span",{name:"MuiFormLabel",slot:"Asterisk"})(da(({theme:e})=>({[`&.${hd.error}`]:{color:(e.vars||e).palette.error.main}}))),yd=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiFormLabel"}),{children:r,className:a,color:o,component:i="label",disabled:s,error:l,filled:c,focused:u,required:d,...p}=n,f=ul({props:n,muiFormControl:pl(),states:["color","required","focused","disabled","error","filled"]}),m={...n,color:f.color||"primary",component:i,disabled:f.disabled,error:f.error,filled:f.filled,focused:f.focused,required:f.required},h=(e=>{const{classes:t,color:n,focused:r,disabled:a,error:o,filled:i,required:s}=e;return ar({root:["root",`color${Ve(n)}`,a&&"disabled",o&&"error",i&&"filled",r&&"focused",s&&"required"],asterisk:["asterisk",o&&"error"]},md,t)})(m);return _.jsxs(gd,{as:i,ownerState:m,className:qt(h.root,a),ref:t,...p,children:[r,f.required&&_.jsxs(bd,{ownerState:m,"aria-hidden":!0,
101className:h.asterisk,children:["â","*"]})]})});function vd(e){return`scale(${e}, ${e**2})`}const xd={entering:{opacity:1,transform:vd(1)},entered:{opacity:1,transform:"none"}},Sd="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),wd=o.forwardRef(function(e,t){const{addEndListener:n,appear:r=!0,children:a,easing:i,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:p,onExiting:f,style:m,timeout:h="auto",TransitionComponent:g=$a,...b}=e,y=Ja(),v=o.useRef(),x=Kr(),S=o.useRef(null),w=Ta(S,$s(a),t),E=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},C=E(u),k=E((e,t)=>{Qa(e);const{duration:n,delay:r,easing:a}=eo({style:m,timeout:h,easing:i},{mode:"enter"});let o;"auto"===h?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=n,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:r}),x.transitions.create("transform",{duration:Sd?o:.666*o,delay:r,easing:a})].join(","),l&&l(e,t)}),T=E(c),A=E(f),I=E(e=>{const{duration:t,delay:n,easing:r}=eo({style:m,timeout:h,easing:i},{mode:"exit"});let a;"auto"===h?(a=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=a):a=t,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:n}),x.transitions.create("transform",{duration:Sd?a:.666*a,delay:Sd?n:n||.333*a,easing:r})].join(","),e.style.opacity=0,e.style.transform=vd(.75),d&&d(e)}),N=E(p);return _.jsx(g,{appear:r,in:s,nodeRef:S,onEnter:k,onEntered:T,onEntering:C,onExit:I,onExited:N,onExiting:A,addEndListener:e=>{"auto"===h&&y.start(v.current||0,e),n&&n(S.current,e)},timeout:"auto"===h?null:h,...b,children:(e,{ownerState:t,...n})=>o.cloneElement(a,{style:{opacity:0,transform:vd(.75),visibility:"exited"!==e||s?void 0:"hidden",...xd[e],...m,...a.props.style},ref:w,...n})})});wd&&(wd.muiSupportAuto=!0);const Ed=Qr(xl,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...yl(e,t),!n.disableUnderline&&t.underline]}})(da(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${kl.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${kl.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${kl.disabled}, .${kl.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${kl.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),Cd=Qr(Sl,{name:"MuiInput",slot:"Input",overridesResolver:vl})({}),kd=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiInput"}),{disableUnderline:r=!1,components:a={},componentsProps:o,fullWidth:i=!1,inputComponent:s="input",multiline:l=!1,slotProps:c,slots:u={},type:d="text",...p}=n,f=(e=>{const{classes:t,disableUnderline:n}=e,r=ar({root:["root",!n&&"underline"],input:["input"]},Cl,t);return{...t,...r}})(n),m={root:{ownerState:{disableUnderline:r}}},h=c??o?Le(c??o,m):m,g=u.root??a.Root??Ed,b=u.input??a.Input??Cd;return _.jsx(El,{slots:{root:g,input:b},slotProps:h,fullWidth:i,inputComponent:s,multiline:l,ref:t,type:d,...p,classes:f})});function Td(e){return Xt("MuiInputAdornment",e)}kd.muiName="Input";const Ad=Kt("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Id;const Nd=Qr("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Ve(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})(da(({theme:e})=>({display:"flex",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active,variants:[{props:{variant:"filled"},style:{[`&.${Ad.positionStart}&:not(.${Ad.hiddenLabel})`]:{marginTop:16}}},{props:{position:"start"},style:{marginRight:8}},{props:{position:"end"},style:{marginLeft:8}},{props:{disablePointerEvents:!0},style:{pointerEvents:"none"}}]}))),_d=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiInputAdornment"}),{children:r,className:a,component:i="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:c,variant:u,...d}=n,p=pl()||{};let f=u;u&&p.variant,p&&!f&&(f=p.variant);const m={...n,hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:s,position:c,variant:f},h=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:a,size:o,variant:i}=e;return ar({root:["root",n&&"disablePointerEvents",a&&`position${Ve(a)}`,i,r&&"hiddenLabel",o&&`size${Ve(o)}`]},Td,t)})(m);return _.jsx(dl.Provider,{value:null,children:_.jsx(Nd,{as:i,ownerState:m,className:qt(h.root,a),ref:t,...d,children:"string"!=typeof r||l?_.jsxs(o.Fragment,{children:["start"===c?Id||(Id=_.jsx("span",{className:"notranslate","aria-hidden":!0,
101children:"â"})):null,r]}):_.jsx(di,{color:"textSecondary",children:r})})})});function Rd(e){return Xt("MuiInputLabel",e)}Kt("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Od=Qr(yd,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${hd.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,"small"===n.size&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(da(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:n})=>"filled"===e&&t.shrink&&"small"===n,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Ld=o.forwardRef(function(e,t){const n=pa({name:"MuiInputLabel",props:e}),{disableAnimation:r=!1,margin:a,shrink:o,variant:i,className:s,...l}=n,c=pl();let u=o;void 0===u&&c&&(u=c.filled||c.focused||c.adornedStart);const d=ul({props:n,muiFormControl:c,states:["size","variant","required","focused"]}),p={...n,disableAnimation:r,formControl:c,shrink:u,size:d.size,variant:d.variant,required:d.required,focused:d.focused},f=(e=>{const{classes:t,formControl:n,size:r,shrink:a,disableAnimation:o,variant:i,required:s}=e,l=ar({root:["root",n&&"formControl",!o&&"animated",a&&"shrink",r&&"medium"!==r&&`size${Ve(r)}`,i],asterisk:[s&&"asterisk"]},Rd,t);return{...t,...l}})(p);return _.jsx(Od,{"data-shrink":u,ref:t,className:qt(f.root,s),...l,ownerState:p,classes:f})});function Dd(e){return Xt("MuiLinearProgress",e)}Kt("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","bar1","bar2","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const Pd=u` 102 0% { 103 left: -35%; 104 right: 100%; 105 } 106 107 60% { 108 left: 100%; 109 right: -90%; 110 } 111 112 100% { 113 left: 100%; 114 right: -90%; 115 } 116`,Md="string"!=typeof Pd?d` 117 animation: ${Pd} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; 118 `:null,jd=u` 119 0% { 120 left: -200%; 121 right: 100%; 122 } 123 124 60% { 125 left: 107%; 126 right: -8%; 127 } 128 129 100% { 130 left: 107%; 131 right: -8%; 132 } 133`,Fd="string"!=typeof jd?d` 134 animation: ${jd} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; 135 `:null,zd=u` 136 0% { 137 opacity: 1; 138 background-position: 0 -23px; 139 } 140 141 60% { 142 opacity: 0; 143 background-position: 0 -23px; 144 } 145 146 100% { 147 opacity: 1; 148 background-position: -200px -23px; 149 } 150`,$d="string"!=typeof zd?d` 151 animation: ${zd} 3s infinite linear; 152 `:null,Bd=(e,t)=>e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?In(e.palette[t].main,.62):Tn(e.palette[t].main,.5),Ud=Qr("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Ve(n.color)}`],t[n.variant]]}})(da(({theme:e})=>({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},variants:[...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{backgroundColor:Bd(e,t)}})),{props:({ownerState:e})=>"inherit"===e.color&&"buffer"!==e.variant,style:{"&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}}},{props:{variant:"buffer"},style:{backgroundColor:"transparent"}},{props:{variant:"query"},style:{transform:"rotate(180deg)"}}]}))),Hd=Qr("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${Ve(n.color)}`]]}})(da(({theme:e})=>({position:"absolute",marginTop:0,height:"100%",width:"100%",backgroundSize:"10px 10px",backgroundPosition:"0 -23px",variants:[{props:{color:"inherit"},style:{opacity:.3,backgroundImage:"radial-gradient(currentColor 0%, currentColor 16%, transparent 42%)"}},...Object.entries(e.palette).filter(_o()).map(([t])=>{const n=Bd(e,t);return{props:{color:t},style:{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`}}})]})),$d||{animation:`${zd} 3s infinite linear`}),Vd=Qr("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t.bar1,t[`barColor${Ve(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar1Indeterminate,"determinate"===n.variant&&t.bar1Determinate,"buffer"===n.variant&&t.bar1Buffer]}})(da(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[{props:{color:"inherit"},style:{backgroundColor:"currentColor"}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{backgroundColor:(e.vars||e).palette[t].main}})),{props:{variant:"determinate"},style:{transition:"transform .4s linear"}},{props:{variant:"buffer"},style:{zIndex:1,transition:"transform .4s linear"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:Md||{animation:`${Pd} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite`}}]}))),Wd=Qr("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t.bar2,t[`barColor${Ve(n.color)}`],("indeterminate"===n.variant||"query"===n.variant)&&t.bar2Indeterminate,"buffer"===n.variant&&t.bar2Buffer]}})(da(({theme:e})=>({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",variants:[...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{"--LinearProgressBar2-barColor":(e.vars||e).palette[t].main}})),{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"!==e.color,style:{backgroundColor:"var(--LinearProgressBar2-barColor, currentColor)"}},{props:({ownerState:e})=>"buffer"!==e.variant&&"inherit"===e.color,style:{backgroundColor:"currentColor"}},{props:{color:"inherit"},style:{opacity:.3}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t,variant:"buffer"},style:{backgroundColor:Bd(e,t),transition:"transform .4s linear"}})),{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:{width:"auto"}},{props:({ownerState:e})=>"indeterminate"===e.variant||"query"===e.variant,style:Fd||{animation:`${jd} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite`}}]}))),Gd=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiLinearProgress"}),{className:r,color:a="primary",value:o,valueBuffer:i,variant:s="indeterminate",...l}=n,c={...n,color:a,variant:s},u=(e=>{const{classes:t,variant:n,color:r}=e;return ar({root:["root",`color${Ve(r)}`,n],dashed:["dashed",`dashedColor${Ve(r)}`],bar1:["bar","bar1",`barColor${Ve(r)}`,("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","bar2","buffer"!==n&&`barColor${Ve(r)}`,"buffer"===n&&`color${Ve(r)}`,("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]},Dd,t)})(c),d=Fn(),p={},f={bar1:{},bar2:{}};if(("determinate"===s||"buffer"===s)&&void 0!==o){p["aria-valuenow"]=Math.round(o),p["aria-valuemin"]=0,p["aria-valuemax"]=100;let e=o-100;d&&(e=-e),f.bar1.transform=`translateX(${e}%)`}if("buffer"===s&&void 0!==i){let e=(i||0)-100;d&&(e=-e),f.bar2.transform=`translateX(${e}%)`}return _.jsxs(Ud,{className:qt(u.root,r),ownerState:c,role:"progressbar",...p,ref:t,...l,children:["buffer"===s?_.jsx(Hd,{className:u.dashed,ownerState:c}):null,_.jsx(Vd,{className:u.bar1,ownerState:c,style:f.bar1}),"determinate"===s?null:_.jsx(Wd,{className:u.bar2,ownerState:c,style:f.bar2})]})}),qd=o.createContext({});function Yd(e){return Xt("MuiList",e)}Kt("MuiList",["root","padding","dense","subheader"]);const Xd=Qr("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Kd=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiList"}),{children:r,className:a,component:i="ul",dense:s=!1,disablePadding:l=!1,subheader:c,...u}=n,d=o.useMemo(()=>({dense:s}),[s]),p={...n,component:i,dense:s,disablePadding:l},f=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:a}=e;return ar({root:["root",!n&&"padding",r&&"dense",a&&"subheader"]},Yd,t)})(p);return _.jsx(qd.Provider,{value:d,children:_.jsxs(Xd,{as:i,className:qt(f.root,a),ref:t,ownerState:p,...u,children:[c,r]})})});function Zd(e){return Xt("MuiListItem",e)}function Jd(e){return Xt("MuiListItemButton",e)}
152Kt("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);const Qd=Kt("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),ep=Qr(Io,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(da(({theme:e})=>({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Qd.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Qd.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Qd.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Qd.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Qd.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},variants:[{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.dense,style:{paddingTop:4,paddingBottom:4}}]}))),tp=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:a=!1,component:i="div",children:s,dense:l=!1,disableGutters:c=!1,divider:u=!1,focusVisibleClassName:d,selected:p=!1,className:f,...m}=n,h=o.useContext(qd),g=o.useMemo(()=>({dense:l||h.dense||!1,alignItems:r,disableGutters:c}),[r,h.dense,l,c]),b=o.useRef(null);dn(()=>{a&&b.current&&b.current.focus()},[a]);const y={...n,alignItems:r,dense:g.dense,disableGutters:c,divider:u,selected:p},v=(e=>{const{alignItems:t,classes:n,dense:r,disabled:a,disableGutters:o,divider:i,selected:s}=e,l=ar({root:["root",r&&"dense",!o&&"gutters",i&&"divider",a&&"disabled","flex-start"===t&&"alignItemsFlexStart",s&&"selected"]},Jd,n);return{...n,...l}})(y),x=Ta(b,t);return _.jsx(qd.Provider,{value:g,children:_.jsx(ep,{ref:x,href:m.href||m.to,component:(m.href||m.to)&&"div"===i?"button":i,focusVisibleClassName:qt(v.focusVisible,d),ownerState:y,className:qt(v.root,f),...m,classes:v,children:s})})});function np(e){return Xt("MuiListItemSecondaryAction",e)}Kt("MuiListItemSecondaryAction",["root","disableGutters"]);const rp=Qr("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),ap=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiListItemSecondaryAction"}),{className:r,...a}=n,i=o.useContext(qd),s={...n,disableGutters:i.disableGutters},l=(e=>{const{disableGutters:t,classes:n}=e;return ar({root:["root",t&&"disableGutters"]},np,n)})(s);return _.jsx(rp,{className:qt(l.root,r),ownerState:s,ref:t,...a})});ap.muiName="ListItemSecondaryAction";const op=Qr("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.hasSecondaryAction&&t.secondaryAction]}})(da(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${Qd.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]}))),ip=Qr("li",{name:"MuiListItem",slot:"Container"})({position:"relative"}),sp=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiListItem"}),{alignItems:r="center",children:a,className:i,component:s,components:l={},componentsProps:c={},ContainerComponent:u="li",ContainerProps:{className:d,...p}={},dense:f=!1,disableGutters:m=!1,disablePadding:h=!1,divider:g=!1,secondaryAction:b,slotProps:y={},slots:v={},...x}=n,S=o.useContext(qd),w=o.useMemo(()=>({dense:f||S.dense||!1,alignItems:r,disableGutters:m}),[r,S.dense,f,m]),E=o.useRef(null),C=o.Children.toArray(a),k=C.length&&lr(C[C.length-1],["ListItemSecondaryAction"]),T={...n,alignItems:r,dense:w.dense,disableGutters:m,disablePadding:h,divider:g,hasSecondaryAction:k},A=(e=>{const{alignItems:t,classes:n,dense:r,disableGutters:a,disablePadding:o,divider:i,hasSecondaryAction:s}=e;return ar({root:["root",r&&"dense",!a&&"gutters",!o&&"padding",i&&"divider","flex-start"===t&&"alignItemsFlexStart",s&&"secondaryAction"],container:["container"]},Zd,n)})(T),I=Ta(E,t),N=v.root||l.Root||op,R=y.root||c.root||{},O={className:qt(A.root,R.className,i),...x};let L=s||"li";return k?(L=O.component||s?L:"div","li"===u&&("li"===L?L="div":"li"===O.component&&(O.component="div")),_.jsx(qd.Provider,{value:w,children:_.jsxs(ip,{as:u,className:qt(A.container,d),ref:I,ownerState:T,...p,children:[_.jsx(N,{...R,...!cl(N)&&{as:L,ownerState:{...T,...R.ownerState}},...O,children:C}),C.pop()]})})):_.jsx(qd.Provider,{value:w,children:_.jsxs(N,{...R,as:L,ref:I,...!cl(N)&&{ownerState:{...T,...R.ownerState}},...O,children:[C,b&&_.jsx(ap,{children:b})]})})});function lp(e){return Xt("MuiListItemIcon",e)}const cp=Kt("MuiListItemIcon",["root","alignItemsFlexStart"]),up=Qr("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})(da(({theme:e})=>({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex",variants:[{props:{alignItems:"flex-start"},style:{marginTop:8}}]}))),dp=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiListItemIcon"}),{className:r,...a}=n,i=o.useContext(qd),s={...n,alignItems:i.alignItems},l=(e=>{const{alignItems:t,classes:n}=e;return ar({root:["root","flex-start"===t&&"alignItemsFlexStart"]},lp,n)})(s);return _.jsx(up,{className:qt(l.root,r),ownerState:s,ref:t,...a})});function pp(e){return Xt("MuiListItemText",e)}const fp=Kt("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),mp=Qr("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${fp.primary}`]:t.primary},{[`& .${fp.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4,[`.${ii.root}:where(& .${fp.primary})`]:{display:"block"},[`.${ii.root}:where(& .${fp.secondary})`]:{display:"block"},variants:[{props:({ownerState:e})=>e.primary&&e.secondary,style:{marginTop:6,marginBottom:6}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:56}}]}),hp=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiListItemText"}),{children:r,className:a,disableTypography:i=!1,inset:s=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:d,slots:p={},slotProps:f={},...m}=n,{dense:h}=o.useContext(qd);let g=null!=l?l:r,b=u;const y={...n,disableTypography:i,inset:s,primary:!!g,secondary:!!b,dense:h},v=(e=>{const{classes:t,inset:n,primary:r,secondary:a,dense:o}=e;return ar({root:["root",n&&"inset",o&&"dense",r&&a&&"multiline"],primary:["primary"],secondary:["secondary"]},pp,t)})(y),x={slots:p,slotProps:{primary:c,secondary:d,...f}},[S,w]=ho("root",{className:qt(v.root,a),elementType:mp,externalForwardedProps:{...x,...m},ownerState:y,ref:t}),[E,C]=ho("primary",{className:v.primary,elementType:di,externalForwardedProps:x,ownerState:y}),[k,T]=ho("secondary",{className:v.secondary,elementType:di,externalForwardedProps:x,ownerState:y});return null==g||g.type===di||i||(g=_.jsx(E,{variant:h?"body2":"body1",component:C?.variant?void 0:"span",...C,children:g})),null==b||b.type===di||i||(b=_.jsx(k,{variant:"body2",color:"textSecondary",...T,children:b})),_.jsxs(S,{...w,children:[g,b]})});function gp(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}
152function bp(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function yp(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:n.startsWith(t.keys.join("")))}function vp(e,t,n,r,a,o){let i=!1,s=a(e,t,!!t&&n);for(;s;){if(s===e.firstChild){if(i)return!1;i=!0}const t=!r&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&yp(s,o)&&!t)return s.focus(),!0;s=a(e,s,n)}return!1}const xp=o.forwardRef(function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:a=!1,children:i,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu",...p}=e,f=o.useRef(null),m=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});dn(()=>{r&&f.current.focus()},[r]),o.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!f.current.style.width;if(e.clientHeight<f.current.clientHeight&&n){const n=`${eu(va(e))}px`;f.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,f.current.style.width=`calc(100% + ${n})`}return f.current}}),[]);const h=Ta(f,t);let g=-1;o.Children.forEach(i,(e,t)=>{o.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===g)&&(g=t),g===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(g+=1,g>=i.length&&(g=-1))):g===t&&(g+=1,g>=i.length&&(g=-1))});const b=o.Children.map(i,(e,t)=>{if(t===g){const t={};return a&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(t.tabIndex=0),o.cloneElement(e,t)}return e});return _.jsx(Kd,{role:"menu",ref:h,className:s,onKeyDown:e=>{const t=f.current,n=e.key;if(e.ctrlKey||e.metaKey||e.altKey)return void(u&&u(e));const r=ya(t).activeElement;if("ArrowDown"===n)e.preventDefault(),vp(t,r,c,l,gp);else if("ArrowUp"===n)e.preventDefault(),vp(t,r,c,l,bp);else if("Home"===n)e.preventDefault(),vp(t,null,c,l,gp);else if("End"===n)e.preventDefault(),vp(t,null,c,l,bp);else if(1===n.length){const a=m.current,o=n.toLowerCase(),i=performance.now();a.keys.length>0&&(i-a.lastTime>500?(a.keys=[],a.repeating=!0,a.previousKeyMatched=!0):a.repeating&&o!==a.keys[0]&&(a.repeating=!1)),a.lastTime=i,a.keys.push(o);const s=r&&!a.repeating&&yp(r,a);a.previousKeyMatched&&(s||vp(t,r,!1,l,gp,a))?e.preventDefault():a.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1,...p,children:b})});function Sp(e){return Xt("MuiPopover",e)}function wp(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Ep(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Cp(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function kp(e){return"function"==typeof e?e():e}Kt("MuiPopover",["root","paper"]);const Tp=Qr(gu,{name:"MuiPopover",slot:"Root"})({}),Ap=Qr(lo,{name:"MuiPopover",slot:"Paper"})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ip=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiPopover"}),{action:r,anchorEl:a,anchorOrigin:i={vertical:"top",horizontal:"left"},anchorPosition:s,anchorReference:l="anchorEl",children:c,className:u,container:d,elevation:p=8,marginThreshold:f=16,open:m,PaperProps:h={},slots:g={},slotProps:b={},transformOrigin:y={vertical:"top",horizontal:"left"},TransitionComponent:v,transitionDuration:x="auto",TransitionProps:S={},disableScrollLock:w=!1,...E}=n,C=o.useRef(),k={...n,anchorOrigin:i,anchorReference:l,elevation:p,marginThreshold:f,transformOrigin:y,TransitionComponent:v,transitionDuration:x,TransitionProps:S},T=(e=>{const{classes:t}=e;return ar({root:["root"],paper:["paper"]},Sp,t)})(k),A=o.useCallback(()=>{if("anchorPosition"===l)return s;const e=kp(a),t=(e&&1===e.nodeType?e:ya(C.current).body).getBoundingClientRect();return{top:t.top+wp(t,i.vertical),left:t.left+Ep(t,i.horizontal)}},[a,i.horizontal,i.vertical,s,l]),I=o.useCallback(e=>({vertical:wp(e,y.vertical),horizontal:Ep(e,y.horizontal)}),[y.horizontal,y.vertical]),N=o.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=I(t);if("none"===l)return{top:null,left:null,transformOrigin:Cp(n)};const r=A();let o=r.top-n.vertical,i=r.left-n.horizontal;
152const s=o+t.height,c=i+t.width,u=va(kp(a)),d=u.innerHeight-f,p=u.innerWidth-f;if(null!==f&&o<f){const e=o-f;o-=e,n.vertical+=e}else if(null!==f&&s>d){const e=s-d;o-=e,n.vertical+=e}if(null!==f&&i<f){const e=i-f;i-=e,n.horizontal+=e}else if(c>p){const e=c-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Cp(n)}},[a,l,A,I,f]),[R,O]=o.useState(m),L=o.useCallback(()=>{const e=C.current;if(!e)return;const t=N(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,O(!0)},[N]);o.useEffect(()=>(w&&window.addEventListener("scroll",L),()=>window.removeEventListener("scroll",L)),[a,w,L]);o.useEffect(()=>{m&&L()}),o.useImperativeHandle(r,()=>m?{updatePosition:()=>{L()}}:null,[m,L]),o.useEffect(()=>{if(!m)return;const e=ba(()=>{L()}),t=va(kp(a));return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[a,m,L]);let D=x;const P={slots:{transition:v,...g},slotProps:{transition:S,paper:h,...b}},[M,j]=ho("transition",{elementType:wd,externalForwardedProps:P,ownerState:k,getSlotProps:e=>({...e,onEntering:(t,n)=>{e.onEntering?.(t,n),L()},onExited:t=>{e.onExited?.(t),O(!1)}}),additionalProps:{appear:!0,in:m}});"auto"!==x||M.muiSupportAuto||(D=void 0);const F=d||(a?ya(kp(a)).body:void 0),[z,{slots:$,slotProps:B,...U}]=ho("root",{ref:t,elementType:Tp,externalForwardedProps:{...P,...E},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:g.backdrop},slotProps:{backdrop:Aa("function"==typeof b.backdrop?b.backdrop(k):b.backdrop,{invisible:!0})},container:F,open:m},ownerState:k,className:qt(T.root,u)}),[H,V]=ho("paper",{ref:C,className:T.paper,elementType:Ap,externalForwardedProps:P,shouldForwardComponentProp:!0,additionalProps:{elevation:p,style:R?void 0:{opacity:0}},ownerState:k});return _.jsx(z,{...U,...!cl(z)&&{slots:$,slotProps:B,disableScrollLock:w},children:_.jsx(M,{...j,timeout:D,children:_.jsx(H,{...V,children:c})})})});function Np(e){return Xt("MuiMenu",e)}Kt("MuiMenu",["root","paper","list"]);const _p={vertical:"top",horizontal:"right"},Rp={vertical:"top",horizontal:"left"},Op=Qr(Ip,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiMenu",slot:"Root"})({}),Lp=Qr(Ap,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Dp=Qr(xp,{name:"MuiMenu",slot:"List"})({outline:0}),Pp=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiMenu"}),{autoFocus:r=!0,children:a,className:i,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:c,open:u,PaperProps:d={},PopoverClasses:p,transitionDuration:f="auto",TransitionProps:{onEntering:m,...h}={},variant:g="selectedMenu",slots:b={},slotProps:y={},...v}=n,x=Fn(),S={...n,autoFocus:r,disableAutoFocusItem:s,MenuListProps:l,onEntering:m,PaperProps:d,transitionDuration:f,TransitionProps:h,variant:g},w=(e=>{const{classes:t}=e;return ar({root:["root"],paper:["paper"],list:["list"]},Np,t)})(S),E=r&&!s&&u,C=o.useRef(null);let k=-1;o.Children.map(a,(e,t)=>{o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===g&&e.props.selected||-1===k)&&(k=t))});const T={slots:b,slotProps:{list:l,transition:h,paper:d,...y}},A=zs({elementType:b.root,externalSlotProps:y.root,ownerState:S,className:[w.root,i]}),[I,N]=ho("paper",{className:w.paper,elementType:Lp,externalForwardedProps:T,shouldForwardComponentProp:!0,ownerState:S}),[R,O]=ho("list",{className:qt(w.list,l.className),elementType:Dp,shouldForwardComponentProp:!0,externalForwardedProps:T,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))})(t),e.onKeyDown?.(t)}}),ownerState:S}),L="function"==typeof T.slotProps.transition?T.slotProps.transition(S):T.slotProps.transition;return _.jsx(Op,{onClose:c,anchorOrigin:{vertical:"bottom",horizontal:x?"right":"left"},transformOrigin:x?_p:Rp,slots:{root:b.root,paper:I,backdrop:b.backdrop,...b.transition&&{transition:b.transition}},slotProps:{root:A,paper:N,backdrop:"function"==typeof y.backdrop?y.backdrop(S):y.backdrop,transition:{...L,onEntering:(...e)=>{((e,t)=>{C.current&&C.current.adjustStyleForScrollbar(e,{direction:x?"rtl":"ltr"}),m&&m(e,t)})(...e),L?.onEntering?.(...e)}}},open:u,ref:t,transitionDuration:f,ownerState:S,...v,classes:p,children:_.jsx(R,{actions:C,autoFocus:r&&(-1===k||s),autoFocusItem:E,variant:g,...O,children:a})})});function Mp(e){return Xt("MuiMenuItem",e)}const jp=Kt("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Fp=Qr(Io,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})(da(({theme:e})=>({...e.typography.body1,display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap","&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${jp.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${jp.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${jp.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Cn(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${jp.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${jp.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${zu.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${zu.inset}`]:{marginLeft:52},[`& .${fp.root}`]:{marginTop:0,marginBottom:0},[`& .${fp.inset}`]:{paddingLeft:36},[`& .${cp.root}`]:{minWidth:36},variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>!e.dense,style:{[e.breakpoints.up("sm")]:{minHeight:"auto"}}},{props:({ownerState:e})=>e.dense,style:{minHeight:32,paddingTop:4,paddingBottom:4,...e.typography.body2,[`& .${cp.root} svg`]:{fontSize:"1.25rem"}}}]}))),zp=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:a="li",dense:i=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:p,...f}=n,m=o.useContext(qd),h=o.useMemo(()=>({dense:i||m.dense||!1,disableGutters:l}),[m.dense,i,l]),g=o.useRef(null);dn(()=>{r&&g.current&&g.current.focus()},[r]);const b={...n,dense:h.dense,divider:s,disableGutters:l},y=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:a,selected:o,classes:i}=e,s=ar({root:["root",n&&"dense",t&&"disabled",!a&&"gutters",r&&"divi
152der",o&&"selected"]},Mp,i);return{...i,...s}})(n),v=Ta(g,t);let x;return n.disabled||(x=void 0!==d?d:-1),_.jsx(qd.Provider,{value:h,children:_.jsx(Fp,{ref:v,role:u,tabIndex:x,component:a,focusVisibleClassName:qt(y.focusVisible,c),className:qt(y.root,p),...f,ownerState:b,classes:y})})});function $p(e){return Xt("MuiNativeSelect",e)}const Bp=Kt("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Up=Qr("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${Bp.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Hp=Qr(Up,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Jr,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${Bp.multiple}`]:t.multiple}]}})({}),Vp=Qr("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${Bp.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),Wp=Qr(Vp,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Ve(n.variant)}`],n.open&&t.iconOpen]}})({}),Gp=o.forwardRef(function(e,t){const{className:n,disabled:r,error:a,IconComponent:i,inputRef:s,variant:l="standard",...c}=e,u={...e,disabled:r,variant:l,error:a},d=(e=>{const{classes:t,variant:n,disabled:r,multiple:a,open:o,error:i}=e;return ar({select:["select",n,r&&"disabled",a&&"multiple",i&&"error"],icon:["icon",`icon${Ve(n)}`,o&&"iconOpen",r&&"disabled"]},$p,t)})(u);return _.jsxs(o.Fragment,{children:[_.jsx(Hp,{ownerState:u,className:qt(d.select,n),disabled:r,ref:s||t,...c}),e.multiple?null:_.jsx(Wp,{as:i,ownerState:u,className:d.icon})]})});var qp;const Yp=Qr("fieldset",{shouldForwardProp:Jr})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),Xp=Qr("legend",{shouldForwardProp:Jr})(da(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));const Kp=Qr(xl,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:yl})(da(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Al.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Al.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${Al.focused} .${Al.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{[`&.${Al.focused} .${Al.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${Al.error} .${Al.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Al.disabled} .${Al.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),Zp=Qr(function(e){const{children:t,classes:n,className:r,label:a,notched:o,...i}=e,s=null!=a&&""!==a,l={...e,notched:o,withLabel:s};
152return _.jsx(Yp,{"aria-hidden":!0,className:r,ownerState:l,...i,children:_.jsx(Xp,{ownerState:l,children:s?_.jsx("span",{children:a}):qp||(qp=_.jsx("span",{className:"notranslate","aria-hidden":!0,children:"â"}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline"})(da(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),Jp=Qr(Sl,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:vl})(da(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),Qp=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiOutlinedInput"}),{components:r={},fullWidth:a=!1,inputComponent:i="input",label:s,multiline:l=!1,notched:c,slots:u={},slotProps:d={},type:p="text",...f}=n,m=(e=>{const{classes:t}=e,n=ar({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Tl,t);return{...t,...n}})(n),h=pl(),g=ul({props:n,muiFormControl:h,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),b={...n,color:g.color||"primary",disabled:g.disabled,error:g.error,focused:g.focused,formControl:h,fullWidth:a,hiddenLabel:g.hiddenLabel,multiline:l,size:g.size,type:p},y=u.root??r.Root??Kp,v=u.input??r.Input??Jp,[x,S]=ho("notchedOutline",{elementType:Zp,className:m.notchedOutline,shouldForwardComponentProp:!0,ownerState:b,externalForwardedProps:{slots:u,slotProps:d},additionalProps:{label:null!=s&&""!==s&&g.required?_.jsxs(o.Fragment,{children:[s,"â","*"]}):s}});return _.jsx(El,{slots:{root:y,input:v},slotProps:d,renderSuffix:e=>_.jsx(x,{...S,notched:void 0!==c?c:Boolean(e.startAdornment||e.filled||e.focused)}),fullWidth:a,inputComponent:i,multiline:l,ref:t,type:p,...f,classes:{...m,notchedOutline:null}})});Qp.muiName="Input";const ef=ga(_.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),tf=ga(_.jsx("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"})),nf=Qr("span",{shouldForwardProp:Jr})({position:"relative",display:"flex"}),rf=Qr(ef)({transform:"scale(1)"}),af=Qr(tf)(da(({theme:e})=>({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest}),variants:[{props:{checked:!0},style:{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}}]})));function of(e){const{checked:t=!1,classes:n={},fontSize:r}=e,a={...e,checked:t};return _.jsxs(nf,{className:n.root,ownerState:a,children:[_.jsx(rf,{fontSize:r,className:n.background,ownerState:a}),_.jsx(af,{fontSize:r,className:n.dot,ownerState:a})]})}const sf=o.createContext(void 0);function lf(e){return Xt("MuiRadio",e)}const cf=Kt("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),uf=Qr(Lc,{shouldForwardProp:e=>Jr(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"medium"!==n.size&&t[`size${Ve(n.size)}`],t[`color${Ve(n.color)}`]]}})(da(({theme:e})=>({color:(e.vars||e).palette.text.secondary,[`&.${cf.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:{color:"default",disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t,disabled:!1,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainCh
152annel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t,disabled:!1},style:{[`&.${cf.checked}`]:{color:(e.vars||e).palette[t].main}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})));const df=_.jsx(of,{checked:!0}),pf=_.jsx(of,{}),ff=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiRadio"}),{checked:r,checkedIcon:a=df,color:i="primary",icon:s=pf,name:l,onChange:c,size:u="medium",className:d,disabled:p,disableRipple:f=!1,slots:m={},slotProps:h={},inputProps:g,...b}=n,y=pl();let v=p;y&&void 0===v&&(v=y.disabled),v??=!1;const x={...n,disabled:v,disableRipple:f,color:i,size:u},S=(e=>{const{classes:t,color:n,size:r}=e,a={root:["root",`color${Ve(n)}`,"medium"!==r&&`size${Ve(r)}`]};return{...t,...ar(a,lf,t)}})(x),w=o.useContext(sf);let E=r;const C=la(c,w&&w.onChange);let k=l;w&&(void 0===E&&(E=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(w.value,n.value)),void 0===k&&(k=w.name));const T=h.input??g,[A,I]=ho("root",{ref:t,elementType:uf,className:qt(S.root,d),shouldForwardComponentProp:!0,externalForwardedProps:{slots:m,slotProps:h,...b},getSlotProps:e=>({...e,onChange:(t,...n)=>{e.onChange?.(t,...n),C(t,...n)}}),ownerState:x,additionalProps:{type:"radio",icon:o.cloneElement(s,{fontSize:s.props.fontSize??u}),checkedIcon:o.cloneElement(a,{fontSize:a.props.fontSize??u}),disabled:v,name:k,checked:E,slots:m,slotProps:{input:"function"==typeof T?T(x):T}}});return _.jsx(A,{...I,classes:S})});function mf(e){return Xt("MuiRadioGroup",e)}Kt("MuiRadioGroup",["root","row","error"]);const hf=o.forwardRef(function(e,t){const{actions:n,children:r,className:a,defaultValue:i,name:s,onChange:l,value:c,...u}=e,d=o.useRef(null),p=(e=>{const{classes:t,row:n,error:r}=e;return ar({root:["root",n&&"row",r&&"error"]},mf,t)})(e),[f,m]=Ca({controlled:c,default:i,name:"RadioGroup"});o.useImperativeHandle(n,()=>({focus:()=>{let e=d.current.querySelector("input:not(:disabled):checked");e||(e=d.current.querySelector("input:not(:disabled)")),e&&e.focus()}}),[]);const h=Ta(t,d),g=Ea(s),b=o.useMemo(()=>({name:g,onChange(e){m(e.target.value),l&&l(e,e.target.value)},value:f}),[g,l,m,f]);return _.jsx(sf.Provider,{value:b,children:_.jsx(ld,{role:"radiogroup",ref:h,className:qt(p.root,a),...u,children:r})})}),gf={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function bf(e){return Xt("MuiSelect",e)}const yf=Kt("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var vf;const xf=Qr(Up,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${yf.select}`]:t.select},{[`&.${yf.select}`]:t[n.variant]},{[`&.${yf.error}`]:t.error},{[`&.${yf.multiple}`]:t.multiple}]}})({[`&.${yf.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),Sf=Qr(Vp,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${Ve(n.variant)}`],n.open&&t.iconOpen]}})({}),wf=Qr("input",{shouldForwardProp:e=>Zr(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ef(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function Cf(e){return null==e||"string"==typeof e&&!e.trim()}const kf=o.forwardRef(function(e,t){const{"aria-describedby":n,"aria-label":r,autoFocus:a,autoWidth:i,children:s,className:l,defaultOpen:c,defaultValue:u,disabled:d,displayEmpty:p,error:f=!1,IconComponent:m,inputRef:h,labelId:g,MenuProps:b={},multiple:y,name:v,onBlur:x,onChange:S,onClose:w,onFocus:E,onOpen:C,open:k,readOnly:T,renderValue:A,required:I,SelectDisplayProps:N={},tabIndex:R,type:O,value:L,variant:D="standard",...P}=e,[M,j]=Ca({controlled:L,default:u,name:"Select"}),[F,z]=Ca({controlled:k,default:c,name:"Select"}
152),$=o.useRef(null),B=o.useRef(null),[U,H]=o.useState(null),{current:V}=o.useRef(null!=k),[W,G]=o.useState(),q=Ta(t,h),Y=o.useCallback(e=>{B.current=e,e&&H(e)},[]),X=U?.parentNode;o.useImperativeHandle(q,()=>({focus:()=>{B.current.focus()},node:$.current,value:M}),[M]),o.useEffect(()=>{c&&F&&U&&!V&&(G(i?null:X.clientWidth),B.current.focus())},[U,i]),o.useEffect(()=>{a&&B.current.focus()},[a]),o.useEffect(()=>{if(!g)return;const e=ya(B.current).getElementById(g);if(e){const t=()=>{getSelection().isCollapsed&&B.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[g]);const K=(e,t)=>{e?C&&C(t):w&&w(t),V||(G(i?null:X.clientWidth),z(e))},Z=o.Children.toArray(s),J=e=>t=>{let n;if(t.currentTarget.hasAttribute("tabindex")){if(y){n=Array.isArray(M)?M.slice():[];const t=M.indexOf(e.props.value);-1===t?n.push(e.props.value):n.splice(t,1)}else n=e.props.value;if(e.props.onClick&&e.props.onClick(t),M!==n&&(j(n),S)){const r=t.nativeEvent||t,a=new r.constructor(r.type,r);Object.defineProperty(a,"target",{writable:!0,value:{value:n,name:v}}),S(a,e)}y||K(!1,t)}},Q=null!==U&&F;let ee,te;delete P["aria-invalid"];const ne=[];let re=!1;(ml({value:M})||p)&&(A?ee=A(M):re=!0);const ae=Z.map(e=>{if(!o.isValidElement(e))return null;let t;if(y){if(!Array.isArray(M))throw new Error(ye(2));t=M.some(t=>Ef(t,e.props.value)),t&&re&&ne.push(e.props.children)}else t=Ef(M,e.props.value),t&&re&&(te=e.props.children);return o.cloneElement(e,{"aria-selected":t?"true":"false",onClick:J(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});re&&(ee=y?0===ne.length?null:ne.reduce((e,t,n)=>(e.push(t),n<ne.length-1&&e.push(", "),e),[]):te);let oe,ie=W;!i&&V&&U&&(ie=X.clientWidth),oe=void 0!==R?R:d?null:0;const se=N.id||(v?`mui-component-select-${v}`:void 0),le={...e,variant:D,value:M,open:Q,error:f},ce=(e=>{const{classes:t,variant:n,disabled:r,multiple:a,open:o,error:i}=e;return ar({select:["select",n,r&&"disabled",a&&"multiple",i&&"error"],icon:["icon",`icon${Ve(n)}`,o&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]},bf,t)})(le),ue={...b.PaperProps,...b.slotProps?.paper},de=Ea();return _.jsxs(o.Fragment,{children:[_.jsx(xf,{as:"div",ref:Y,tabIndex:oe,role:"combobox","aria-controls":Q?de:void 0,"aria-disabled":d?"true":void 0,"aria-expanded":Q?"true":"false","aria-haspopup":"listbox","aria-label":r,"aria-labelledby":[g,se].filter(Boolean).join(" ")||void 0,"aria-describedby":n,"aria-required":I?"true":void 0,"aria-invalid":f?"true":void 0,onKeyDown:e=>{if(!T){[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),K(!0,e))}},onMouseDown:d||T?null:e=>{0===e.button&&(e.preventDefault(),B.current.focus(),K(!0,e))},onBlur:e=>{!Q&&x&&(Object.defineProperty(e,"target",{writable:!0,value:{value:M,name:v}}),x(e))},onFocus:E,...N,ownerState:le,className:qt(N.className,ce.select,l),id:se,children:Cf(ee)?vf||(vf=_.jsx("span",{className:"notranslate","aria-hidden":!0,children:"â"})):ee}),_.jsx(wf,{"aria-invalid":f,value:Array.isArray(M)?M.join(","):M,name:v,ref:$,"aria-hidden":!0,onChange:e=>{const t=Z.find(t=>t.props.value===e.target.value);void 0!==t&&(j(t.props.value),S&&S(e,t))},tabIndex:-1,disabled:d,className:ce.nativeInput,autoFocus:a,required:I,...P,ownerState:le}),_.jsx(Sf,{as:m,className:ce.icon,ownerState:le}),_.jsx(Pp,{id:`menu-${v||""}`,anchorEl:X,open:Q,onClose:e=>{K(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...b,slotProps:{...b.slotProps,list:{"aria-labelledby":g,role:"listbox","aria-multiselectable":y?"true":void 0,disableListWrap:!0,id:de,...b.MenuListProps},paper:{...ue,style:{minWidth:ie,...null!=ue?ue.style:null}}},children:ae})]})}),Tf={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>Jr(e)&&"variant"!==e},Af=Qr(kd,Tf)(""),If=Qr(Qp,Tf)(""),Nf=Qr(Zu,Tf)(""),_f=o.forwardRef(function(e,t){const n=pa({name:"MuiSelect",props:e}),{autoWidth:r=!1,children:a,classes:i={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=_l,id:d,input:p,inputProps:f,label:m,labelId:h,MenuProps:g,multiple:b=!1,native:y=!1,onClose:v,onOpen:x,open:S,renderValue:w,SelectDisplayProps:E,variant:C="outlined",...k}=n,T=y?Gp:kf,A=ul({props:n,muiFormControl:pl(),states:["variant","error"]}),I=A.variant||C,N={...n,variant:I,classes:i},R=(e=>{const{classes:t}=e,n=ar({root:["root"]},bf,t);return{...t,...n}})(N),{root:O,...L}=R,D=p||{standard:_.jsx(Af,{ownerState:N}),outlined:_.jsx(If,{label:m,ownerState:N}),filled:_.jsx(Nf,{ownerState:N})}[I],P=Ta(t,$s(D));return _.jsx(o.Fragment,{children:o.cloneElement(D,{inputComponent:T,inputProps:{children:a,error:A.error,IconComponent:u,variant:I,type:void 0,multiple:b,...y?{id:d}
152:{autoWidth:r,defaultOpen:l,displayEmpty:c,labelId:h,MenuProps:g,onClose:v,onOpen:x,open:S,renderValue:w,SelectDisplayProps:{id:d,...E}},...f,classes:f?Le(L,f.classes):L,...p?p.props.inputProps:{}},...(b&&y||c)&&"outlined"===I?{notched:!0}:{},ref:P,className:qt(D.props.className,s,R.root),...!p&&{variant:I},...k})})});_f.muiName="Select";function Rf(e,t,n,r,a){return 1===n?Math.min(e+t,a):Math.max(e-t,r)}function Of(e,t){return e-t}function Lf(e,t){const{index:n}=e.reduce((e,n,r)=>{const a=Math.abs(t-n);return null===e||a<e.distance||a===e.distance?{distance:a,index:r}:e},null)??{};return n}function Df(e,t){if(void 0!==t.current&&e.changedTouches){const n=e;for(let e=0;e<n.changedTouches.length;e+=1){const r=n.changedTouches[e];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function Pf(e,t,n){return 100*(e-t)/(n-t)}function Mf(e,t,n){const r=Math.round((e-n)/t)*t+n;return Number(r.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}function jf({values:e,newValue:t,index:n}){const r=e.slice();return r[n]=t,r.sort(Of)}function Ff({sliderRef:e,activeIndex:t,setActive:n}){const r=ya(e.current);e.current?.contains(r.activeElement)&&Number(r?.activeElement?.getAttribute("data-index"))===t||e.current?.querySelector(`[type="range"][data-index="${t}"]`).focus(),n&&n(t)}function zf(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,n=(e,t)=>e===t){return e.length===t.length&&e.every((e,r)=>n(e,t[r]))}(e,t)}const $f={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},Bf=e=>e;let Uf;function Hf(){return void 0===Uf&&(Uf="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),Uf}function Vf(e){const{"aria-labelledby":t,defaultValue:n,disabled:r=!1,disableSwap:a=!1,isRtl:i=!1,marks:s=!1,max:l=100,min:c=0,name:u,onChange:d,onChangeCommitted:p,orientation:f="horizontal",rootRef:m,scale:h=Bf,step:g=1,shiftStep:b=10,tabIndex:y,value:v}=e,x=o.useRef(void 0),[S,w]=o.useState(-1),[E,C]=o.useState(-1),[k,T]=o.useState(!1),A=o.useRef(0),I=o.useRef(null),[N,_]=Ca({controlled:v,default:n??c,name:"Slider"}),R=d&&((e,t,n)=>{const r=e.nativeEvent||e,a=new r.constructor(r.type,r);Object.defineProperty(a,"target",{writable:!0,value:{value:t,name:u}}),I.current=t,d(a,t,n)}),O=Array.isArray(N);let L=O?N.slice().sort(Of):[N];L=L.map(e=>null==e?c:bn(e,c,l));const D=!0===s&&null!==g?[...Array(Math.floor((l-c)/g)+1)].map((e,t)=>({value:c+g*t})):s||[],P=D.map(e=>e.value),[M,j]=o.useState(-1),F=o.useRef(null),z=Ta(m,F),$=e=>t=>{const n=Number(t.currentTarget.getAttribute("data-index"));go(t.target)&&j(n),C(n),e?.onFocus?.(t)},B=e=>t=>{go(t.target)||j(-1),C(-1),e?.onBlur?.(t)},U=(e,t)=>{const n=Number(e.currentTarget.getAttribute("data-index")),r=L[n],o=P.indexOf(r);let i=t;if(D&&null==g){const e=P[P.length-1];i=i>=e?e:i<=P[0]?P[0]:i<r?P[o-1]:P[o+1]}if(i=bn(i,c,l),O){a&&(i=bn(i,L[n-1]||-1/0,L[n+1]||1/0));const e=i;i=jf({values:L,newValue:i,index:n});let t=n;a||(t=i.indexOf(e)),Ff({sliderRef:F,activeIndex:t})}_(i),j(n),R&&!zf(i,N)&&R(e,i,n),p&&p(e,I.current??i)},H=e=>t=>{if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(t.key)){t.preventDefault();const e=Number(t.currentTarget.getAttribute("data-index")),n=L[e];let r=null;if(null!=g){const e=t.shiftKey?b:g;switch(t.key){case"ArrowUp":r=Rf(n,e,1,c,l);break;case"ArrowRight":r=Rf(n,e,i?-1:1,c,l);break;case"ArrowDown":r=Rf(n,e,-1,c,l);break;case"ArrowLeft":r=Rf(n,e,i?1:-1,c,l);break;case"PageUp":r=Rf(n,b,1,c,l);break;case"PageDown":r=Rf(n,b,-1,c,l);break;case"Home":r=c;break;case"End":r=l}}else if(D){const e=P[P.length-1],a=P.indexOf(n),o=[i?"ArrowLeft":"ArrowRight","ArrowUp","PageUp","End"];[i?"ArrowRight":"ArrowLeft","ArrowDown","PageDown","Home"].includes(t.key)?r=0===a?P[0]:P[a-1]:o.includes(t.key)&&(r=a===P.length-1?e:P[a+1])}null!=r&&U(t,r)}e?.onKeyDown?.(t)};dn(()=>{r&&F.current.contains(document.activeElement)&&document.activeElement?.blur()},[r]),r&&-1!==S&&w(-1),r&&-1!==M&&j(-1);const V=o.useRef(void 0);let W=f;i&&"horizontal"===f&&(W+="-reverse");const G=({finger:e,move:t=!1})=>{const{current:n}
152=F,{width:r,height:o,bottom:i,left:s}=n.getBoundingClientRect();let u,d;if(u=W.startsWith("vertical")?(i-e.y)/o:(e.x-s)/r,W.includes("-reverse")&&(u=1-u),d=function(e,t,n){return(n-t)*e+t}(u,c,l),g)d=Mf(d,g,c);else{const e=Lf(P,d);d=P[e]}d=bn(d,c,l);let p=0;if(O){p=t?V.current:Lf(L,d),a&&(d=bn(d,L[p-1]||-1/0,L[p+1]||1/0));const e=d;d=jf({values:L,newValue:d,index:p}),a&&t||(p=d.indexOf(e),V.current=p)}return{newValue:d,activeIndex:p}},q=ka(e=>{const t=Df(e,x);if(!t)return;if(A.current+=1,"mousemove"===e.type&&0===e.buttons)return void Y(e);const{newValue:n,activeIndex:r}=G({finger:t,move:!0});Ff({sliderRef:F,activeIndex:r,setActive:w}),_(n),!k&&A.current>2&&T(!0),R&&!zf(n,N)&&R(e,n,r)}),Y=ka(e=>{const t=Df(e,x);if(T(!1),!t)return;const{newValue:n}=G({finger:t,move:!0});w(-1),"touchend"===e.type&&C(-1),p&&p(e,I.current??n),x.current=void 0,K()}),X=ka(e=>{if(r)return;Hf()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(x.current=t.identifier);const n=Df(e,x);if(!1!==n){const{newValue:t,activeIndex:r}=G({finger:n});Ff({sliderRef:F,activeIndex:r,setActive:w}),_(t),R&&!zf(t,N)&&R(e,t,r)}A.current=0;const a=ya(F.current);a.addEventListener("touchmove",q,{passive:!0}),a.addEventListener("touchend",Y,{passive:!0})}),K=o.useCallback(()=>{const e=ya(F.current);e.removeEventListener("mousemove",q),e.removeEventListener("mouseup",Y),e.removeEventListener("touchmove",q),e.removeEventListener("touchend",Y)},[Y,q]);o.useEffect(()=>{const{current:e}=F;return e.addEventListener("touchstart",X,{passive:Hf()}),()=>{e.removeEventListener("touchstart",X),K()}},[K,X]),o.useEffect(()=>{r&&K()},[r,K]);const Z=Pf(O?L[0]:c,c,l),J=Pf(L[L.length-1],c,l)-Z,Q=e=>t=>{e.onMouseLeave?.(t),C(-1)};let ee;"vertical"===f&&(ee=i?"vertical-rl":"vertical-lr");return{active:S,axis:W,axisProps:$f,dragging:k,focusedThumbIndex:M,getHiddenInputProps:(n={})=>{const a=po(n),o={onChange:(s=a||{},e=>{s.onChange?.(e),U(e,e.target.valueAsNumber)}),onFocus:$(a||{}),onBlur:B(a||{}),onKeyDown:H(a||{})};var s;const d={...a,...o};return{tabIndex:y,"aria-labelledby":t,"aria-orientation":f,"aria-valuemax":h(l),"aria-valuemin":h(c),name:u,type:"range",min:e.min,max:e.max,step:null===e.step&&e.marks?"any":e.step??void 0,disabled:r,...n,...d,style:{...gf,direction:i?"rtl":"ltr",width:"100%",height:"100%",writingMode:ee}}},getRootProps:(e={})=>{const t=po(e),n={onMouseDown:(a=t||{},e=>{if(a.onMouseDown?.(e),r)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const t=Df(e,x);if(!1!==t){const{newValue:n,activeIndex:r}=G({finger:t});Ff({sliderRef:F,activeIndex:r,setActive:w}),_(n),R&&!zf(n,N)&&R(e,n,r)}A.current=0;const n=ya(F.current);n.addEventListener("mousemove",q,{passive:!0}),n.addEventListener("mouseup",Y)})};var a;const o={...t,...n};return{...e,ref:z,...o}},getThumbProps:(e={})=>{const t=po(e),n={onMouseOver:(r=t||{},e=>{r.onMouseOver?.(e);const t=Number(e.currentTarget.getAttribute("data-index"));C(t)}),onMouseLeave:Q(t||{})};var r;return{...e,...t,...n}},marks:D,open:E,range:O,rootRef:z,trackLeap:J,trackOffset:Z,values:L,getThumbStyle:e=>({pointerEvents:-1!==S&&S!==e?"none":void 0})}}function Wf(e){return Xt("MuiSlider",e)}const Gf=Kt("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]);function qf(e){return e}const Yf=Qr("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${Ve(n.color)}`],"medium"!==n.size&&t[`size${Ve(n.size)}`],n.marked&&t.marked,"vertical"===n.orientation&&t.vertical,"inverted"===n.track&&t.trackInverted,!1===n.track&&t.trackFalse]}})(da(({theme:e})=>({borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",curs
vendor: 3,075 bytes, line 152
152or:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${Gf.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${Gf.dragging}`]:{[`& .${Gf.thumb}, & .${Gf.track}`]:{transition:"none"}},variants:[...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}))),Xf=Qr("span",{name:"MuiSlider",slot:"Rail"})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),Kf=Qr("span",{name:"MuiSlider",slot:"Track"})(da(({theme:e})=>({display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t,track:"inverted"},style:{...e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:{backgroundColor:In(e.palette[t].main,.62),borderColor:In(e.palette[t].main,.62),...e.applyStyles("dark",{backgroundColor:Tn(e.palette[t].main,.5)}),...e.applyStyles("dark",{borderColor:Tn(e.palette[t].main,.5)})}}}))]}))),Zf=Qr("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.thumb,t[`thumbColor${Ve(n.color)}`],"medium"!==n.size&&t[`thumbSize${Ve(n.size)}`]]}})(da(({theme:e})=>({position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,he
152ight:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${Gf.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{[`&:hover, &.${Gf.focusVisible}`]:{...e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${Cn(e.palette[t].main,.16)}`},"@media (hover: none)":{boxShadow:"none"}},[`&.${Gf.active}`]:{...e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 14px ${Cn(e.palette[t].main,.16)}`}}}}))]}))),Jf=Qr(function(e){const{children:t,className:n,value:r}=e,a=(e=>{const{open:t}=e;return{offset:qt(t&&Gf.valueLabelOpen),circle:Gf.valueLabelCircle,label:Gf.valueLabelLabel}})(e);return t?o.cloneElement(t,{className:t.props.className},_.jsxs(o.Fragment,{children:[t.props.children,_.jsx("span",{className:qt(a.offset,n),"aria-hidden":!0,children:_.jsx("span",{className:a.circle,children:_.jsx("span",{className:a.label,children:r})})})]})):null},{name:"MuiSlider",slot:"ValueLabel"})(da(({theme:e})=>({zIndex:1,whiteSpace:"nowrap",...e.typography.body2,fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${Gf.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${Gf.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]}))),Qf=Qr("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>Zr(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:n}=e;return[t.mark,n&&t.markActive]}})(da(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]}))),em=Qr("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>Zr(e)&&"markLabelActive"!==e})(da(({theme:e})=>({...e.typography.body2,color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]}))),tm=({children:e})=>e,nm=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiSlider"}),r=Fn(),{"aria-label":a,"aria-valuetext":i,"aria-labelledby":s,component:l="span",components:c={},componentsProps:u={},color:d="primary",classes:p,className:f,disableSwap:m=!1,disabled:h=!1,getAriaLabel:g,getAriaValueText:b,marks:y=!1,max:v=100,min:x=0,name:S,onChange:w,onChangeCommitted:E,orientation:C="horizontal",shiftStep:k=10,size:T="medium",step:A=1,scale:I=qf,slotProps:N,slots:R,tabIndex:O,track:L="normal",value:D,valueLabelDisplay:P="off",valueLabelFormat:M=qf,...j}=n,F={...n,isRtl:r,max:v,min:x,classes:p,disabled:h,disableSwap:m,orientation:C,marks:y,color:d,size:T,step:A,shiftStep:k,scale:I,track:L,valueLabelDisplay:P,valueLabelFormat:M},{axisProps:z,getRootProps:$,getHiddenInputProps:B,getThumbProps:U,open:H,active:V,axis:W,focusedThumbIndex:G,range:q,dragging:Y,marks:X,values:K,trackOffset:Z,trackLeap:J,getThumbStyle:Q}=Vf({...F,rootRef:t});F.marked=X.length>0&&X.some(e=>e.label),F.dragging=Y,F.focusedThumbIndex=G;const ee=(e=>{const{disabled:t,dragging:n,marked:r,orientation:a,track:o,classes:i,color:s,size:l}=e;return ar({root:["root",t&&"disabled",n&&"dragging",r&&"marked","vertical"===a&&"vertical","inverted"===o&&"trackInverted",!1===o&&"trackFalse",s&&`color${Ve(s)}`,l&&`size${Ve(l)}
152`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${Ve(l)}`,s&&`thumbColor${Ve(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},Wf,i)})(F),te=R?.root??c.Root??Yf,ne=R?.rail??c.Rail??Xf,re=R?.track??c.Track??Kf,ae=R?.thumb??c.Thumb??Zf,oe=R?.valueLabel??c.ValueLabel??Jf,ie=R?.mark??c.Mark??Qf,se=R?.markLabel??c.MarkLabel??em,le=R?.input??c.Input??"input",ce=N?.root??u.root,ue=N?.rail??u.rail,de=N?.track??u.track,pe=N?.thumb??u.thumb,fe=N?.valueLabel??u.valueLabel,me=N?.mark??u.mark,he=N?.markLabel??u.markLabel,ge=N?.input??u.input,be=zs({elementType:te,getSlotProps:$,externalSlotProps:ce,externalForwardedProps:j,additionalProps:{...(ye=te,(!ye||!cl(ye))&&{as:l})},ownerState:{...F,...ce?.ownerState},className:[ee.root,f]});var ye;const ve=zs({elementType:ne,externalSlotProps:ue,ownerState:F,className:ee.rail}),xe=zs({elementType:re,externalSlotProps:de,additionalProps:{style:{...z[W].offset(Z),...z[W].leap(J)}},ownerState:{...F,...de?.ownerState},className:ee.track}),Se=zs({elementType:ae,getSlotProps:U,externalSlotProps:pe,ownerState:{...F,...pe?.ownerState},className:ee.thumb}),we=zs({elementType:oe,externalSlotProps:fe,ownerState:{...F,...fe?.ownerState},className:ee.valueLabel}),Ee=zs({elementType:ie,externalSlotProps:me,ownerState:F,className:ee.mark}),Ce=zs({elementType:se,externalSlotProps:he,ownerState:F,className:ee.markLabel}),ke=zs({elementType:le,getSlotProps:B,externalSlotProps:ge,ownerState:F});return _.jsxs(te,{...be,children:[_.jsx(ne,{...ve}),_.jsx(re,{...xe}),X.filter(e=>e.value>=x&&e.value<=v).map((e,t)=>{const n=Pf(e.value,x,v),r=z[W].offset(n);let a;return a=!1===L?K.includes(e.value):"normal"===L&&(q?e.value>=K[0]&&e.value<=K[K.length-1]:e.value<=K[0])||"inverted"===L&&(q?e.value<=K[0]||e.value>=K[K.length-1]:e.value>=K[0]),_.jsxs(o.Fragment,{children:[_.jsx(ie,{"data-index":t,...Ee,...!cl(ie)&&{markActive:a},style:{...r,...Ee.style},className:qt(Ee.className,a&&ee.markActive)}),null!=e.label?_.jsx(se,{"aria-hidden":!0,"data-index":t,...Ce,...!cl(se)&&{markLabelActive:a},style:{...r,...Ce.style},className:qt(ee.markLabel,Ce.className,a&&ee.markLabelActive),children:e.label}):null]},t)}),K.map((e,t)=>{const n=Pf(e,x,v),r=z[W].offset(n),o="off"===P?tm:oe;return _.jsx(o,{...!cl(o)&&{valueLabelFormat:M,valueLabelDisplay:P,value:"function"==typeof M?M(I(e),t):M,index:t,open:H===t||V===t||"on"===P,disabled:h},...we,children:_.jsx(ae,{"data-index":t,...Se,className:qt(ee.thumb,Se.className,V===t&&ee.active,G===t&&ee.focusVisible),style:{...r,...Q(t),...Se.style},children:_.jsx(le,{"data-index":t,"aria-label":g?g(t):a,"aria-valuenow":I(e),"aria-labelledby":s,"aria-valuetext":b?b(I(e),t):i,value:K[t],...ke})})},t)})]})});function rm(e){return Xt("MuiSnackbarContent",e)}Kt("MuiSnackbarContent",["root","message","action"]);const am=Qr(lo,{name:"MuiSnackbarContent",slot:"Root"})(da(({theme:e})=>{const t="light"===e.palette.mode?.8:.98;return{...e.typography.body2,color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(_n(e.palette.background.default,t)),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:_n(e.palette.background.default,t),display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}}})),om=Qr("div",{name:"MuiSnackbarContent",slot:"Message"})({padding:"8px 0"}),im=Qr("div",{name:"MuiSnackbarContent",slot:"Action"})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),sm=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiSnackbarContent"}),{action:r,className:a,message:o,role:i="alert",...s}=n,l=n,c=(e=>{const{classes:t}=e;return ar({root:["root"],action:["action"],message:["message"]},rm,t)})(l);return _.jsxs(am,{role:i,elevation:6,className:qt(c.root,a),ownerState:l,ref:t,...s,children:[_.jsx(om,{className:c.message,ownerState:l,children:o}),r?_.jsx(im,{className:c.action,ownerState:l,children:r}):null]})});function lm(e){return Xt("MuiSnackbar",e)}
152Kt("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const cm=Qr("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`anchorOrigin${Ve(n.anchorOrigin.vertical)}${Ve(n.anchorOrigin.horizontal)}`]]}})(da(({theme:e})=>({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center",variants:[{props:({ownerState:e})=>"top"===e.anchorOrigin.vertical,style:{top:8,[e.breakpoints.up("sm")]:{top:24}}},{props:({ownerState:e})=>"top"!==e.anchorOrigin.vertical,style:{bottom:8,[e.breakpoints.up("sm")]:{bottom:24}}},{props:({ownerState:e})=>"left"===e.anchorOrigin.horizontal,style:{justifyContent:"flex-start",[e.breakpoints.up("sm")]:{left:24,right:"auto"}}},{props:({ownerState:e})=>"right"===e.anchorOrigin.horizontal,style:{justifyContent:"flex-end",[e.breakpoints.up("sm")]:{right:24,left:"auto"}}},{props:({ownerState:e})=>"center"===e.anchorOrigin.horizontal,style:{[e.breakpoints.up("sm")]:{left:"50%",right:"auto",transform:"translateX(-50%)"}}}]}))),um=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiSnackbar"}),r=Kr(),a={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{action:i,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:u,className:d,ClickAwayListenerProps:p,ContentProps:f,disableWindowBlurListener:m=!1,message:h,onBlur:g,onClose:b,onFocus:y,onMouseEnter:v,onMouseLeave:x,open:S,resumeHideDuration:w,slots:E={},slotProps:C={},TransitionComponent:k,transitionDuration:T=a,TransitionProps:{onEnter:A,onExited:I,...N}={},...R}=n,O={...n,anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:c,disableWindowBlurListener:m,TransitionComponent:k,transitionDuration:T},L=(e=>{const{classes:t,anchorOrigin:n}=e;return ar({root:["root",`anchorOrigin${Ve(n.vertical)}${Ve(n.horizontal)}`]},lm,t)})(O),{getRootProps:D,onClickAway:P}=function(e={}){const{autoHideDuration:t=null,disableWindowBlurListener:n=!1,onClose:r,open:a,resumeHideDuration:i}=e,s=Ja();o.useEffect(()=>{if(a)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"===e.key&&r?.(e,"escapeKeyDown")}},[a,r]);const l=ka((e,t)=>{r?.(e,t)}),c=ka(e=>{r&&null!=e&&s.start(e,()=>{l(null,"timeout")})});o.useEffect(()=>(a&&c(t),s.clear),[a,t,c,s]);const u=s.clear,d=o.useCallback(()=>{null!=t&&c(null!=i?i:.5*t)},[t,i,c]),p=e=>t=>{const n=e.onFocus;n?.(t),u()},f=e=>t=>{const n=e.onMouseEnter;n?.(t),u()},m=e=>t=>{const n=e.onMouseLeave;n?.(t),d()};return o.useEffect(()=>{if(!n&&a)return window.addEventListener("focus",d),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",u)}},[n,a,d,u]),{getRootProps:(t={})=>{const n={...po(e),...po(t)};return{role:"presentation",...t,...n,onBlur:(r=n,e=>{const t=r.onBlur;t?.(e),d()}),onFocus:p(n),onMouseEnter:f(n),onMouseLeave:m(n)};var r},onClickAway:e=>{r?.(e,"clickaway")}}}({...O}),[M,j]=o.useState(!0),F={slots:{transition:k,...E},slotProps:{content:f,clickAwayListener:p,transition:N,...C}},[z,$]=ho("root",{ref:t,className:[L.root,d],elementType:cm,getSlotProps:D,externalForwardedProps:{...F,...R},ownerState:O}),[B,{ownerState:U,...H}]=ho("clickAwayListener",{elementType:Wc,externalForwardedProps:F,getSlotProps:e=>({onClickAway:(...t)=>{const n=t[0];e.onClickAway?.(...t),n?.defaultMuiPrevented||P(...t)}}),ownerState:O}),[V,W]=ho("content",{elementType:sm,shouldForwardComponentProp:!0,externalForwardedProps:F,additionalProps:{message:h,action:i},ownerState:O}),[G,q]=ho("transition",{elementType:wd,externalForwardedProps:F,getSlotProps:e=>({onEnter:(...t)=>{e.onEnter?.(...t),((e,t)=>{j(!1),A&&A(e,t)})(...t)},onExited:(...t)=>{e.onExited?.(...t),(e=>{j(!0),I&&I(e)})(...t)}}),additionalProps:{appear:!0,in:S,timeout:T,direction:"top"===s?"down":"up"},ownerState:O});return!S&&M?null:_.jsx(B,{...H,...E.clickAwayListener&&{ownerState:U},children:_.jsx(z,{...$,children:_.jsx(G,{...q,children:u||_.jsx(V,{...W})})})})});function dm(e){return Xt("MuiTooltip",e)}const pm=Kt("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);const fm=Qr(Ys,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(da(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:e})=>!e.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:e})=>!e,style:{pointerEvents:"none"}},{props:({ownerState:e})=>e.arrow,style:{[`&[data-popper-placement*="bottom"] .${pm.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${pm.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${pm.arrow}
152`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${pm.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="right"] .${pm.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="right"] .${pm.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!e.isRtl,style:{[`&[data-popper-placement*="left"] .${pm.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:e})=>e.arrow&&!!e.isRtl,style:{[`&[data-popper-placement*="left"] .${pm.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),mm=Qr("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Ve(n.placement.split("-")[0])}`]]}})(da(({theme:e})=>{return{backgroundColor:e.vars?e.vars.palette.Tooltip.bg:Cn(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${pm.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${pm.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${pm.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${pm.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:e})=>e.arrow,style:{position:"relative",margin:0}},{props:({ownerState:e})=>e.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(t=16/14,Math.round(1e5*t)/1e5)+"em",fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:e})=>!e.isRtl,style:{[`.${pm.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${pm.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:e})=>!e.isRtl&&e.touch,style:{[`.${pm.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${pm.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:e})=>!!e.isRtl,style:{[`.${pm.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${pm.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:e})=>!!e.isRtl&&e.touch,style:{[`.${pm.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${pm.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${pm.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:e})=>e.touch,style:{[`.${pm.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]};var t})),hm=Qr("span",{name:"MuiTooltip",slot:"Arrow"})(da(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:Cn(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let gm=!1;const bm=new Za;let ym={x:0,y:0};function vm(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const xm=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiTooltip"}),{arrow:r=!1,children:a,classes:i,components:s={},componentsProps:l={},describeChild:c=!1,disableFocusListener:u=!1,disableHoverListener:d=!1,disableInteractive:p=!1,disableTouchListener:f=!1,enterDelay:m=100,enterNextDelay:h=0,enterTouchDelay:g=700,followCursor:b=!1,id:y,leaveDelay:v=0,leaveTouchDelay:x=1500,onClose:S,onOpen:w,open:E,placement:C="bottom",PopperComponent:k,PopperProps:T={},slotProps:A={},slots:I={},title:N,TransitionComponent:R,TransitionProps:O,...L}=n,D=o.isValidElement(a)?a:_.jsx("span",{children:a}),P=Kr(),M=Fn(),[j,F]=o.useState(),[z,$]=o.useState(null),B=o.useRef(!1),U=p||b,H=Ja(),V=Ja(),W=Ja(),G=Ja(),[q,Y]=Ca({controlled:E,default:!1,name:"Tooltip",state:"open"});let X=q;const K=Ea(y),Z=o.useRef(),J=ka(()=>{void 0!==Z.current&&(document.body.style.WebkitUserSelect=Z.current,Z.current=void 0),G.clear()});o.useEffect(()=>J,[J]);const Q=e=>{bm.clear(),gm=!0,Y(!0),w&&!X&&w(e)},ee=ka(e=>{bm.start(800+v,()=>{gm=!1}),Y(!1),S&&X&&S(e),H.start(P.transitions.duration.shortest,()=>{B.current=!1})}),te=e=>{B.current&&"touchstart"!==e.type||(j&&j.removeAttribute("title"),V.clear(),W.clear(),m||gm&&h?V.start(gm?h:m,()=>{Q(e)}):Q(e))},ne=e=>{V.clear(),W.start(v,()=>{ee(e)})},[,re]=o.useState(!1),ae=e=>{go(e.target)||(re(!1),ne(e))},oe=e=>{j||F(e.currentTarget),go(e.target)&&(re(!0),te(e))},ie=e=>{B.current=!0;const t=D.props;t.onTouchStart&&t.onTouchStart(e)},se=e=>{ie(e),W.clear(),H.clear(),J(),Z.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",G.start(g,()=>{document.body.style.WebkitUserSelect=Z.current,te(e)})},le=e=>{D.props.onTouchEnd&&D.props.onTouchEnd(e),J(),W.start(x,()=>{ee(e)})};o.useEffect(()=>{if(X)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&ee(e)}},[ee,X]);const ce=Ta($s(D),F,t);N||0===N||(X=!1);const ue=o.useRef(),de={},pe="string"==typeof N;c?(de.title=X||!pe||d?null:N,de["aria-describedby"]=X?K:null):(de["aria-label"]=pe?N:null,de["aria-labelledby"]=X&&!pe?K:null);const fe={...de,...L,...D.props,className:qt(L.className,D.props.className),onTouchStart:ie,ref:ce,...b?{onMouseMove:e=>{const t=D.props;t.onMouseMove&&t.onMouseMove(e),ym={x:e.clientX,y:e.clientY}
152,ue.current&&ue.current.update()}}:{}},me={};f||(fe.onTouchStart=se,fe.onTouchEnd=le),d||(fe.onMouseOver=vm(te,fe.onMouseOver),fe.onMouseLeave=vm(ne,fe.onMouseLeave),U||(me.onMouseOver=te,me.onMouseLeave=ne)),u||(fe.onFocus=vm(oe,fe.onFocus),fe.onBlur=vm(ae,fe.onBlur),U||(me.onFocus=oe,me.onBlur=ae));const he={...n,isRtl:M,arrow:r,disableInteractive:U,placement:C,PopperComponentProp:k,touch:B.current},ge="function"==typeof A.popper?A.popper(he):A.popper,be=o.useMemo(()=>{let e=[{name:"arrow",enabled:Boolean(z),options:{element:z,padding:4}}];return T.popperOptions?.modifiers&&(e=e.concat(T.popperOptions.modifiers)),ge?.popperOptions?.modifiers&&(e=e.concat(ge.popperOptions.modifiers)),{...T.popperOptions,...ge?.popperOptions,modifiers:e}},[z,T.popperOptions,ge?.popperOptions]),ye=(e=>{const{classes:t,disableInteractive:n,arrow:r,touch:a,placement:o}=e;return ar({popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",a&&"touch",`tooltipPlacement${Ve(o.split("-")[0])}`],arrow:["arrow"]},dm,t)})(he),ve="function"==typeof A.transition?A.transition(he):A.transition,xe={slots:{popper:s.Popper,transition:s.Transition??R,tooltip:s.Tooltip,arrow:s.Arrow,...I},slotProps:{arrow:A.arrow??l.arrow,popper:{...T,...ge??l.popper},tooltip:A.tooltip??l.tooltip,transition:{...O,...ve??l.transition}}},[Se,we]=ho("popper",{elementType:fm,externalForwardedProps:xe,ownerState:he,className:qt(ye.popper,T?.className)}),[Ee,Ce]=ho("transition",{elementType:wd,externalForwardedProps:xe,ownerState:he}),[ke,Te]=ho("tooltip",{elementType:mm,className:ye.tooltip,externalForwardedProps:xe,ownerState:he}),[Ae,Ie]=ho("arrow",{elementType:hm,className:ye.arrow,externalForwardedProps:xe,ownerState:he,ref:$});return _.jsxs(o.Fragment,{children:[o.cloneElement(D,fe),_.jsx(Se,{as:k??Ys,placement:C,anchorEl:b?{getBoundingClientRect:()=>({top:ym.y,left:ym.x,right:ym.x,bottom:ym.y,width:0,height:0})}:j,popperRef:ue,open:!!j&&X,id:K,transition:!0,...me,...we,popperOptions:be,children:({TransitionProps:e})=>_.jsx(Ee,{timeout:P.transitions.duration.shorter,...e,...Ce,children:_.jsxs(ke,{...Te,children:[N,r?_.jsx(Ae,{...Ie}):null]})})})]})}),Sm=function(e={}){const{createStyledComponent:t=ur,useThemeProps:n=dr,componentName:r="MuiStack"}=e,a=t(fr);return o.forwardRef(function(e,t){const o=Ht(n(e)),{component:i="div",direction:s="column",spacing:l=0,divider:c,children:u,className:d,useFlexGap:p=!1,...f}=o,m={direction:s,spacing:l,useFlexGap:p},h=ar({root:["root"]},e=>Xt(r,e),{});return _.jsx(a,{as:i,ownerState:m,ref:t,className:qt(h.root,d),...f,children:c?pr(u,c):u})})}({createStyledComponent:Qr("div",{name:"MuiStack",slot:"Root"}),useThemeProps:e=>pa({props:e,name:"MuiStack"})});function wm(e){return Xt("MuiSwitch",e)}const Em=Kt("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),Cm=Qr("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.edge&&t[`edge${Ve(n.edge)}`],t[`size${Ve(n.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Em.thumb}`]:{width:16,height:16},[`& .${Em.switchBase}`]:{padding:4,[`&.${Em.checked}`]:{transform:"translateX(16px)"}}}}]}),km=Qr(Lc,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.switchBase,{[`& .${Em.input}`]:t.input},"default"!==n.color&&t[`color${Ve(n.color)}`]]}})(da(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Em.checked}`]:{transform:"translateX(20px)"},[`&.${Em.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Em.checked} + .${Em.track}`]:{opacity:.5},[`&.${Em.disabled} + .${Em.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${Em.input}`]:{left:"-100%",width:"300%"}})),da(({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(_o(["light"])).map(([t])=>({props:{color:t},style:{[`&.${Em.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainCh
152annel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Em.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?In(e.palette[t].main,.62):Tn(e.palette[t].main,.55)}`}},[`&.${Em.checked} + .${Em.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),Tm=Qr("span",{name:"MuiSwitch",slot:"Track"})(da(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)}))),Am=Qr("span",{name:"MuiSwitch",slot:"Thumb"})(da(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),Im=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiSwitch"}),{className:r,color:a="primary",edge:o=!1,size:i="medium",sx:s,slots:l={},slotProps:c={},...u}=n,d={...n,color:a,edge:o,size:i},p=(e=>{const{classes:t,edge:n,size:r,color:a,checked:o,disabled:i}=e,s=ar({root:["root",n&&`edge${Ve(n)}`,`size${Ve(r)}`],switchBase:["switchBase",`color${Ve(a)}`,o&&"checked",i&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},wm,t);return{...t,...s}})(d),f={slots:l,slotProps:c},[m,h]=ho("root",{className:qt(p.root,r),elementType:Cm,externalForwardedProps:f,ownerState:d,additionalProps:{sx:s}}),[g,b]=ho("thumb",{className:p.thumb,elementType:Am,externalForwardedProps:f,ownerState:d}),y=_.jsx(g,{...b}),[v,x]=ho("track",{className:p.track,elementType:Tm,externalForwardedProps:f,ownerState:d});return _.jsxs(m,{...h,children:[_.jsx(km,{type:"checkbox",icon:y,checkedIcon:y,ref:t,ownerState:d,...u,classes:{...p,root:p.switchBase},slots:{...l.switchBase&&{root:l.switchBase},...l.input&&{input:l.input}},slotProps:{...c.switchBase&&{root:"function"==typeof c.switchBase?c.switchBase(d):c.switchBase},...c.input&&{input:"function"==typeof c.input?c.input(d):c.input}}}),_.jsx(v,{...x})]})});function Nm(e){return Xt("MuiTab",e)}const _m=Kt("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),Rm=Qr(Io,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Ve(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${_m.iconWrapper}`]:t.iconWrapper},{[`& .${_m.icon}`]:t.icon}]}})(da(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:e})=>e.label&&("top"===e.iconPosition||"bottom"===e.iconPosition),style:{flexDirection:"column"}},{props:({ownerState:e})=>e.label&&"top"!==e.iconPosition&&"bottom"!==e.iconPosition,style:{flexDirection:"row"}},{props:({ownerState:e})=>e.icon&&e.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"top"===t,style:{[`& > .${_m.icon}`]:{marginBottom:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"bottom"===t,style:{[`& > .${_m.icon}`]:{marginTop:6}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"start"===t,style:{[`& > .${_m.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:e,iconPosition:t})=>e.icon&&e.label&&"end"===t,style:{[`& > .${_m.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${_m.selected}`]:{opacity:1},[`&.${_m.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${_m.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${_m.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${_m.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${_m.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:e})=>e.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:e})=>e.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),Om=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiTab"}),{className:r,disabled:a=!1,disableFocusRipple:i=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:u,label:d,onChange:p,onClick:f,onFocus:m,selected:h,selectionFollowsFocus:g,textColor:b="inherit",value:y,wrapped:v=!1,...x}=n,S={...n,disabled:a,disableFocusRipple:i,selected:h,icon:!!l,iconPosition:c,label:!!d,fullWidth:s,textColor:b,wrapped:v},w=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:a,icon:o,label:i,selected:s,disabled:l}=e;return ar({root:["root",o&&i&&"labelIcon",`textColor${Ve(n)}`,r&&"fullWidth",a&&"wrapped",s&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]},Nm,t)})(S),E=l&&d&&o.isValidElement(l)?o.cloneElement(l,{className:qt(w.icon,l.props.className)}):l;return _.jsxs(Rm,{focusRipple:!i,className:qt(w.root,r),ref:t,role:"tab","aria-selected":h,disabled:a,onClick:e=>{!h&&p&&p(e,y),f&&f(e)},onFocus:e=>{g&&!h&&p&&p(e,y),m&&m(e)},ownerState:S,tabIndex:h?0:-1,...x,children:["top"===c||"start"===c?_.jsxs(o.Fragment,{children:[E,d]}):_.jsxs(o.Fragment,{children:[d,E]}),u]})});function Lm(e){return Xt("MuiToolbar",e)}Kt("MuiToolbar",["root","gutters","regular","dense"]);const Dm=Qr("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(da(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),Pm=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiToolbar"}),{className:r,component:a="div",disableGutters:o=!1,variant:i="regular",...s}=n,l={...n,component:a,disableGutters:o,variant:i},c=(e=>{const{classes:t,disableGutters:n,variant:r}=e;return ar({root:["root",!n&&"gutters",r]},Lm,t)})(l);return _.jsx(Dm,{as:a,className:qt(c.root,r),ref:t,ownerState:l,...s})}),Mm=ga(_.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"})),jm=ga(_.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}));function Fm(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const zm={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function $m(e){return Xt("MuiTabScrollButton",e)}const Bm=Kt("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Um=Qr(Io,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${Bm.disabled}`]:{opacity:0}
152,variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),Hm=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiTabScrollButton"}),{className:r,slots:a={},slotProps:o={},direction:i,orientation:s,disabled:l,...c}=n,u=Fn(),d={isRtl:u,...n},p=(e=>{const{classes:t,orientation:n,disabled:r}=e;return ar({root:["root",n,r&&"disabled"]},$m,t)})(d),f=a.StartScrollButtonIcon??Mm,m=a.EndScrollButtonIcon??jm,h=zs({elementType:f,externalSlotProps:o.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),g=zs({elementType:m,externalSlotProps:o.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return _.jsx(Um,{component:"div",className:qt(p.root,r),ref:t,role:null,ownerState:d,tabIndex:null,...c,style:{...c.style,..."vertical"===s&&{"--TabScrollButton-svgRotate":`rotate(${u?-90:90}deg)`}},children:"left"===i?_.jsx(f,{...h}):_.jsx(m,{...g})})});function Vm(e){return Xt("MuiTabs",e)}const Wm=Kt("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
152indicator"]),Gm=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,qm=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Ym=(e,t,n)=>{let r=!1,a=n(e,t);for(;a;){if(a===e.firstChild){if(r)return;r=!0}const t=a.disabled||"true"===a.getAttribute("aria-disabled");if(a.hasAttribute("tabindex")&&!t)return void a.focus();a=n(e,a)}},Xm=Qr("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Wm.scrollButtons}`]:t.scrollButtons},{[`& .${Wm.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(da(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.scrollButtonsHideMobile,style:{[`& .${Wm.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),Km=Qr("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),Zm=Qr("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.list,t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),Jm=Qr("span",{name:"MuiTabs",slot:"Indicator"})(da(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:e})=>e.vertical,style:{height:"100%",width:2,right:0}}]}))),Qm=Qr(function(e){const{onChange:t,...n}=e,r=o.useRef(),a=o.useRef(null),i=()=>{r.current=a.current.offsetHeight-a.current.clientHeight};return dn(()=>{const e=ba(()=>{const e=r.current;i(),e!==r.current&&t(r.current)}),n=va(a.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}},[t]),o.useEffect(()=>{i(),t(r.current)},[t]),_.jsx("div",{style:zm,...n,ref:a})})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),eh={},th=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiTabs"}),r=Kr(),a=Fn(),{"aria-label":i,"aria-labelledby":s,action:l,centered:c=!1,children:u,className:d,component:p="div",allowScrollButtonsMobile:f=!1,indicatorColor:m="primary",onChange:h,orientation:g="horizontal",ScrollButtonComponent:b,scrollButtons:y="auto",selectionFollowsFocus:v,slots:x={},slotProps:S={},TabIndicatorProps:w={},TabScrollButtonProps:E={},textColor:C="primary",value:k,variant:T="standard",visibleScrollbar:A=!1,...I}=n,N="scrollable"===T,R="vertical"===g,O=R?"scrollTop":"scrollLeft",L=R?"top":"left",D=R?"bottom":"right",P=R?"clientHeight":"clientWidth",M=R?"height":"width",j={...n,component:p,allowScrollButtonsMobile:f,indicatorColor:m,orientation:g,vertical:R,scrollButtons:y,textColor:C,variant:T,visibleScrollbar:A,fixed:!N,hideScrollbar:N&&!A,scrollableX:N&&!R,scrollableY:N&&R,centered:c&&!N,scrollButtonsHideMobile:!f},F=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:a,scrollableY:o,centered:i,scrollButtonsHideMobile:s,classes:l}=e;return ar({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",a&&"scrollableX",o&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",i&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[a&&"scrollableX"],hideScrollbar:[r&&"hide
152Scrollbar"]},Vm,l)})(j),z=zs({elementType:x.StartScrollButtonIcon,externalSlotProps:S.startScrollButtonIcon,ownerState:j}),$=zs({elementType:x.EndScrollButtonIcon,externalSlotProps:S.endScrollButtonIcon,ownerState:j}),[B,U]=o.useState(!1),[H,V]=o.useState(eh),[W,G]=o.useState(!1),[q,Y]=o.useState(!1),[X,K]=o.useState(!1),[Z,J]=o.useState({overflow:"hidden",scrollbarWidth:0}),Q=new Map,ee=o.useRef(null),te=o.useRef(null),ne={slots:x,slotProps:{indicator:w,scrollButton:E,...S}},re=()=>{const e=ee.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==k){const e=te.current.children;if(e.length>0){const t=e[Q.get(k)];n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},ae=ka(()=>{const{tabsMeta:e,tabMeta:t}=re();let n,r=0;R?(n="top",t&&e&&(r=t.top-e.top+e.scrollTop)):(n=a?"right":"left",t&&e&&(r=(a?-1:1)*(t[n]-e[n]+e.scrollLeft)));const o={[n]:r,[M]:t?t[M]:0};if("number"!=typeof H[n]||"number"!=typeof H[M])V(o);else{const e=Math.abs(H[n]-o[n]),t=Math.abs(H[M]-o[M]);(e>=1||t>=1)&&V(o)}}),oe=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},a=()=>{}){const{ease:o=Fm,duration:i=300}=r;let s=null;const l=t[e];let c=!1;const u=()=>{c=!0},d=r=>{if(c)return void a(new Error("Animation cancelled"));null===s&&(s=r);const u=Math.min(1,(r-s)/i);t[e]=o(u)*(n-l)+l,u>=1?requestAnimationFrame(()=>{a(null)}):requestAnimationFrame(d)};l===n?a(new Error("Element already at target position")):requestAnimationFrame(d)}(O,ee.current,e,{duration:r.transitions.duration.standard}):ee.current[O]=e},ie=e=>{let t=ee.current[O];t+=R?e:e*(a?-1:1),oe(t)},se=()=>{const e=ee.current[P];let t=0;const n=Array.from(te.current.children);for(let r=0;r<n.length;r+=1){const a=n[r];if(t+a[P]>e){0===r&&(t=e);break}t+=a[P]}return t},le=()=>{ie(-1*se())},ce=()=>{ie(se())},[ue,{onChange:de,...pe}]=ho("scrollbar",{className:qt(F.scrollableX,F.hideScrollbar),elementType:Qm,shouldForwardComponentProp:!0,externalForwardedProps:ne,ownerState:j}),fe=o.useCallback(e=>{de?.(e),J({overflow:null,scrollbarWidth:e})},[de]),[me,he]=ho("scrollButtons",{className:qt(F.scrollButtons,E.className),elementType:Hm,externalForwardedProps:ne,ownerState:j,additionalProps:{orientation:g,slots:{StartScrollButtonIcon:x.startScrollButtonIcon||x.StartScrollButtonIcon,EndScrollButtonIcon:x.endScrollButtonIcon||x.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:z,endScrollButtonIcon:$}}}),ge=ka(e=>{const{tabsMeta:t,tabMeta:n}=re();if(n&&t)if(n[L]<t[L]){const r=t[O]+(n[L]-t[L]);oe(r,{animation:e})}else if(n[D]>t[D]){const r=t[O]+(n[D]-t[D]);oe(r,{animation:e})}}),be=ka(()=>{N&&!1!==y&&K(!X)});o.useEffect(()=>{const e=ba(()=>{ee.current&&ae()});let t;const n=n=>{n.forEach(e=>{e.removedNodes.forEach(e=>{t?.unobserve(e)}),e.addedNodes.forEach(e=>{t?.observe(e)})}),e(),be()},r=va(ee.current);let a;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(te.current.children).forEach(e=>{t.observe(e)})),"undefined"!=typeof MutationObserver&&(a=new MutationObserver(n),a.observe(te.current,{childList:!0})),()=>{e.clear(),r.removeEventListener("resize",e),a?.disconnect(),t?.disconnect()}},[ae,be]),o.useEffect(()=>{const e=Array.from(te.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&N&&!1!==y){const n=e[0],r=e[t-1],a={root:ee.current,threshold:.99},o=new IntersectionObserver(e=>{G(!e[0].isIntersecting)},a);o.observe(n);const i=new IntersectionObserver(e=>{Y(!e[0].isIntersecting)},a);return i.observe(r),()=>{o.disconnect(),i.disconnect()}}},[N,y,X,u?.length]),o.useEffect(()=>{U(!0)},[]),o.useEffect(()=>{ae()}),o.useEffect(()=>{ge(eh!==H)},[ge,H]),o.useImperativeHandle(l,()=>({updateIndicator:ae,updateScrollButtons:be}),[ae,be]);const[ye,ve]=ho("indicator",{className:qt(F.indicator,w.className),elementType:Jm,externalForwardedProps:ne,ownerState:j,additionalProps:{style:H}}),xe=_.jsx(ye,{...ve});let Se=0;const we=o.Children.map(u,e=>{if(!o.isValidElement(e))return null;const t=void 0===e.props.value?Se:e.props.value;Q.set(t,Se);const n=t===k;return Se+=1,o.cloneElement(e,{fullWidth:"fullWidth"===T,indicator:n&&!B&&xe,selected:n,selectionFollowsFocus:v,onChange:h,textColor:C,value:t,...1!==Se||!1!==k||e.props.tabIndex?{}:{tabIndex:0}})}),Ee=(()=>{const e={};e.scrollbarSizeListener=N?_.jsx(ue,{...pe,onChange:fe}):null;const t=N&&("auto"===y&&(W||q)||!0===y);return e.scrollButtonStart=t?_.jsx(me,{direction:a?"right":"left",onClick:le,disabled:!W,...he}):null,e.scrollButtonEnd=t?_.jsx(me,{direction:a?"left":"right",onClick:ce,disabled:!q,...he}):null,e})(),[Ce,ke]=ho("root",{ref:t,className:qt(F.root,d),elementType:Xm,externalForwardedProps:{...ne,...I,component:p},ownerState:j}),[Te,Ae]=ho("scroller",{ref:ee,className:F.scroller,elementType:Km,externalForwardedProps:ne,ownerState:j,additionalProps:{style:{overflow:Z.overflow,[R?"margin"+(a?"Left":"Right"):"marginBottom"]:A?void 0:-Z.scrollbarWidth}}}),[Ie,Ne]=ho("list",{ref:te,className:qt(F.list,F.flexContainer),elementType:Zm,externalForwardedProps:ne,ownerState:j,getSlotProps:e=>({...e,onKeyDown:t=>{(e=>{if(e.altKey||e.shiftKey||e.ctrlKey||e.metaKey)return;const t=te.current,n=ya(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===g?"ArrowLeft":"ArrowUp",o="horizontal"===g?"ArrowRight":"ArrowDown";switch("horizontal"===g&&a&&(r="ArrowRight",o="ArrowLeft"),e.key){case r:e.preventDefault(),Ym(t,n,qm);break;case o:e.preventDefault(),Ym(t,n,Gm);break;case"Home":e.preventDefault(),Ym(t,null,Gm);break;case"End":e.preventDefault(),Ym(t,null,qm)}})(t),e.onKeyDown?.(t)}})});return _.jsxs(Ce,{...ke,children:[Ee.scrollButtonStart,Ee.scrollbarSizeListener,_.jsxs(Te,{...Ae,children:[_.jsx(Ie,{"aria-label":i,"aria-labelledby":s,"aria-orientation":"vertical"===g?"vertical":null,role:"tablist",...Ne,children:we}),B&&xe]}),Ee.scrollButtonEnd]})});function nh(e){return Xt("MuiTextField",e)}Kt("MuiTextField",["root"]);const rh={standard:kd,filled:Zu,outlined:Qp}
152,ah=Qr(ed,{name:"MuiTextField",slot:"Root"})({}),oh=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:a=!1,children:o,className:i,color:s="primary",defaultValue:l,disabled:c=!1,error:u=!1,FormHelperTextProps:d,fullWidth:p=!1,helperText:f,id:m,InputLabelProps:h,inputProps:g,InputProps:b,inputRef:y,label:v,maxRows:x,minRows:S,multiline:w=!1,name:E,onBlur:C,onChange:k,onFocus:T,placeholder:A,required:I=!1,rows:N,select:R=!1,SelectProps:O,slots:L={},slotProps:D={},type:P,value:M,variant:j="outlined",...F}=n,z={...n,autoFocus:a,color:s,disabled:c,error:u,fullWidth:p,multiline:w,required:I,select:R,variant:j},$=(e=>{const{classes:t}=e;return ar({root:["root"]},nh,t)})(z),B=Ea(m),U=f&&B?`${B}-helper-text`:void 0,H=v&&B?`${B}-label`:void 0,V=rh[j],W={slots:L,slotProps:{input:b,inputLabel:h,htmlInput:g,formHelperText:d,select:O,...D}},G={},q=W.slotProps.inputLabel;"outlined"===j&&(q&&void 0!==q.shrink&&(G.notched=q.shrink),G.label=v),R&&(O&&O.native||(G.id=void 0),G["aria-describedby"]=void 0);const[Y,X]=ho("root",{elementType:ah,shouldForwardComponentProp:!0,externalForwardedProps:{...W,...F},ownerState:z,className:qt($.root,i),ref:t,additionalProps:{disabled:c,error:u,fullWidth:p,required:I,color:s,variant:j}}),[K,Z]=ho("input",{elementType:V,externalForwardedProps:W,additionalProps:G,ownerState:z}),[J,Q]=ho("inputLabel",{elementType:Ld,externalForwardedProps:W,ownerState:z}),[ee,te]=ho("htmlInput",{elementType:"input",externalForwardedProps:W,ownerState:z}),[ne,re]=ho("formHelperText",{elementType:fd,externalForwardedProps:W,ownerState:z}),[ae,oe]=ho("select",{elementType:_f,externalForwardedProps:W,ownerState:z}),ie=_.jsx(K,{"aria-describedby":U,autoComplete:r,autoFocus:a,defaultValue:l,fullWidth:p,multiline:w,name:E,rows:N,maxRows:x,minRows:S,type:P,value:M,id:B,inputRef:y,onBlur:C,onChange:k,onFocus:T,placeholder:A,inputProps:te,slots:{input:L.htmlInput?ee:void 0},...Z});return _.jsxs(Y,{...X,children:[null!=v&&""!==v&&_.jsx(J,{htmlFor:B,id:H,...Q,children:v}),R?_.jsx(ae,{"aria-describedby":U,id:B,labelId:H,value:M,input:ie,...oe,children:o}):ie,f&&_.jsx(ne,{id:U,...re,children:f})]})});function ih(e){return Xt("MuiToggleButton",e)}const sh=Kt("MuiToggleButton",["root","disabled","selected","standard","primary","secondary","sizeSmall","sizeMedium","sizeLarge","fullWidth"]),lh=o.createContext({}),ch=o.createContext(void 0);function uh(e,t){return void 0!==t&&void 0!==e&&(Array.isArray(t)?t.includes(e):e===t)}const dh=Qr(Io,{name:"MuiToggleButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`size${Ve(n.size)}`]]}})(da(({theme:e})=>({...e.typography.button,borderRadius:(e.vars||e).shape.borderRadius,padding:11,border:`1px solid ${(e.vars||e).palette.divider}`,color:(e.vars||e).palette.action.active,[`&.${sh.disabled}`]:{color:(e.vars||e).palette.action.disabled,border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"&:hover":{textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Cn(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[{props:{color:"standard"},style:{[`&.${sh.selected}`]:{color:(e.vars||e).palette.text.primary,backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:Cn(e.palette.text.primary,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Cn(e.palette.text.primary,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.selectedOpacity})`:Cn(e.palette.text.primary,e.palette.action.selectedOpacity)}}}}},...Object.entries(e.palette).filter(_o()).map(([t])=>({props:{color:t},style:{[`&.${sh.selected}`]:{color:(e.vars||e).palette[t].main,backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainCh
152annel} / ${e.vars.palette.action.selectedOpacity})`:Cn(e.palette[t].main,e.palette.action.selectedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Cn(e.palette[t].main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Cn(e.palette[t].main,e.palette.action.selectedOpacity)}}}}})),{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{padding:7,fontSize:e.typography.pxToRem(13)}},{props:{size:"large"},style:{padding:15,fontSize:e.typography.pxToRem(15)}}]}))),ph=o.forwardRef(function(e,t){const{value:n,...r}=o.useContext(lh),a=o.useContext(ch),i=pa({props:ln({...r,selected:uh(e.value,n)},e),name:"MuiToggleButton"}),{children:s,className:l,color:c="standard",disabled:u=!1,disableFocusRipple:d=!1,fullWidth:p=!1,onChange:f,onClick:m,selected:h,size:g="medium",value:b,...y}=i,v={...i,color:c,disabled:u,disableFocusRipple:d,fullWidth:p,size:g},x=(e=>{const{classes:t,fullWidth:n,selected:r,disabled:a,size:o,color:i}=e;return ar({root:["root",r&&"selected",a&&"disabled",n&&"fullWidth",`size${Ve(o)}`,i]},ih,t)})(v),S=a||"";return _.jsx(dh,{className:qt(r.className,x.root,l,S),disabled:u,focusRipple:!d,ref:t,onClick:e=>{m&&(m(e,b),e.defaultPrevented)||f&&f(e,b)},onChange:f,value:b,ownerState:v,"aria-pressed":h,...y,children:s})});function fh(e){return Xt("MuiToggleButtonGroup",e)}const mh=Kt("MuiToggleButtonGroup",["root","selected","horizontal","vertical","disabled","grouped","groupedHorizontal","groupedVertical","fullWidth","firstButton","lastButton","middleButton"]),hh=Qr("div",{name:"MuiToggleButtonGroup",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${mh.grouped}`]:t.grouped},{[`& .${mh.grouped}`]:t[`grouped${Ve(n.orientation)}`]},{[`& .${mh.firstButton}`]:t.firstButton},{[`& .${mh.lastButton}`]:t.lastButton},{[`& .${mh.middleButton}`]:t.middleButton},t.root,"vertical"===n.orientation&&t.vertical,n.fullWidth&&t.fullWidth]}})(da(({theme:e})=>({display:"inline-flex",borderRadius:(e.vars||e).shape.borderRadius,variants:[{props:{orientation:"vertical"},style:{flexDirection:"column",[`& .${mh.grouped}`]:{[`&.${mh.selected} + .${mh.grouped}.${mh.selected}`]:{borderTop:0,marginTop:0}},[`& .${mh.firstButton},& .${mh.middleButton}`]:{borderBottomLeftRadius:0,borderBottomRightRadius:0},[`& .${mh.lastButton},& .${mh.middleButton}`]:{marginTop:-1,borderTop:"1px solid transparent",borderTopLeftRadius:0,borderTopRightRadius:0},[`& .${mh.lastButton}.${sh.disabled},& .${mh.middleButton}.${sh.disabled}`]:{borderTop:"1px solid transparent"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{orientation:"horizontal"},style:{[`& .${mh.grouped}`]:{[`&.${mh.selected} + .${mh.grouped}.${mh.selected}`]:{borderLeft:0,marginLeft:0}},[`& .${mh.firstButton},& .${mh.middleButton}`]:{borderTopRightRadius:0,borderBottomRightRadius:0},[`& .${mh.lastButton},& .${mh.middleButton}`]:{marginLeft:-1,borderLeft:"1px solid transparent",borderTopLeftRadius:0,borderBottomLeftRadius:0},[`& .${mh.lastButton}.${sh.disabled},& .${mh.middleButton}.${sh.disabled}`]:{borderLeft:"1px solid transparent"}}}]}))),gh=o.forwardRef(function(e,t){const n=pa({props:e,name:"MuiToggleButtonGroup"}),{children:r,className:a,color:i="standard",disabled:s=!1,exclusive:l=!1,fullWidth:c=!1,onChange:u,orientation:d="horizontal",size:p="medium",value:f,...m}=n,h={...n,disabled:s,fullWidth:c,orientation:d,size:p},g=(e=>{const{classes:t,orientation:n,fullWidth:r,disabled:a}=e;return ar({root:["root",n,r&&"fullWidth"],grouped:["grouped",`grouped${Ve(n)}`,a&&"disabled"],firstButton:["firstButton"],lastButton:["lastButton"],middleButton:["middleButton"]},fh,t)})(h),b=o.useCallback((e,t)=>{if(!u)return;const n=f&&f.indexOf(t);let r;f&&n>=0?(r=f.slice(),r.splice(n,1)):r=f?f.concat(t):[t],u(e,r)},[u,f]),y=o.useCallback((e,t)=>{u&&u(e,f===t?null:t)},[u,f]),v=o.useMemo(()=>({className:g.grouped,onChange:l?y:b,value:f,size:p,fullWidth:c,color:i,disabled:s}),[g.grouped,l,y,b,f,p,c,i,s]),x=function(e){return o.Children.toArray(e).filter(e=>o.isValidElement(e))}(r),S=x.length,w=e=>{const t=0===e,n=e===S-1;return t&&n?"":t?g.firstButton:n?g.lastButton:g.middleButton};return _.jsx(hh,{role:"group",className:qt(g.root,a),ref:t,ownerState:h,...m,children:_.jsx(lh.Provider,{value:v,children:x.map((e,t)=>_.jsx(ch.Provider,{value:w(t),children:e},t))})})}),bh=gn({themeId:ve}),yh=ga(_.jsx("path",{d:"M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z"})),vh=ga(_.jsx("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12s-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6c3.31 0 6 2.69 6 6s-2.69 6-6 6"})),xh=ga(_.jsx("path",{d:"M20 8.69V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12zM12 18c-3.31 0-6-2.69-6-6s2.69-6 6-6 6 2.69 6 6-2.69 6-6 6m0-10c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4"})),Sh=ga(_.jsx("path",{d:"M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"})),wh=ga(_.jsx("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"})),Eh=ga(_.jsx("path",{d:"M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m-9 3h2v2h-2zm0 3h2v2h-2zM8 8h2v2H8zm0 3h2v2H8zm-1 2H5v-2h2zm0-3H5V8h2zm9 7H8v-2h8zm0-4h-2v-2h2zm0-3h-2V8h2zm3 3h-2v-2h2zm0-3h-2V8h2z"})),Ch=ga(_.jsx("path",{d:"M10 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2h-8z"})),kh=ga(_.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm4 18H6V4h7v5h5zM8 15.01l1.41 1.41L11 14.84V19h2v-4.16l1.59 1.59L16 15.01 12.01 11z"})),Th=ga(_.jsx("path",{d:"M19 2h-4.18C14.4.84 13.3 0 12 0S9.6.84 9.18 2H5c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m7 18H5V4h2v3h10V4h2z"})),Ah=ga(_.jsx("path",{d:"M4 7v2c0 .55-.45 1-1 1H2v4h1c.55 0 1 .45 1 1v2c0 1.65 1.35 3 3 3h3v-2H7c-.55 0-1-.45-1-1v-2c0-1.3-.84-2.42-2-2.83v-.34C5.16 11.42 6 10.3 6 9V7c0-.55.45-1 1-1h3V4H7C5.35 4 4 5.35 4 7m17 3c-.55 0-1-.45-1-1V7c0-1.65-1.35-3-3-3h-3v2h3c.55 0 1 .45 1 1v2c0 1.3.84 2.42 2 2.83v.34c-1.16.41-2 1.52-2 2.83v2c0 .55-.45 1-1 1h-3v2h3c1.65 0 3-1.35 3-3v-2c0-.55.45-1 1-1h1v-4z"})),Ih=ga(_.jsx("path",{d:"M22 11V3h-7v3H9V3H2v8h7V8h2v10h4v3h7v-8h-7v3h-2V8h2v3z"})),Nh=ga([_.jsx("path",{d:"M20 6v14H6v2h14c1.1 0 2-.9 2-2V6z"},"0"),_.jsx("path",{d:"M16 2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M9 16H4v-5h5zm7 0h-5v-5h5zm0-7H4V4h12z"},"1")]),_h=ga(_.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2M9 17H7v-5h2zm4 0h-2v-3h2zm0-5h-2v-2h2zm4 5h-2V7h2z"})),Rh=ga(_.jsx("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"})),Oh=ga(_.jsx("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"})),Lh=o.createContext(void 0),Dh=()=>{const e=o.useContext(Lh);if(!e)throw new Error("useThemeContext must be used within a ThemeContextProvider");return e},Ph=({children:e})=>{const t=bh("(prefers-color-scheme: dark)"),[n,r]=o.useState((()=>{const e=localStorage.getItem("theme-mode");return"light"===e||"dark"===e?e:t?"dark":"light"})());o.useEffect(()=>{localStorage.setItem("theme-mode",n)},[n]);const a=o.useMemo(()=>(e=>Yr({palette:{mode:e,..."light"===e?{primary:{main:"#1976d2"},secondary:{main:"#dc004e"},background:{default:"#f4f6f8",paper:"#ffffff"},text:{primary:"#212121",secondary:"#616161"}}:{primary:{main:"#90caf9"},secondary:{main:"#f48fb1"},background:{default:"#1e1e1e",paper:"#252526"},text:{primary:"#cccccc",secondary:"#8e8e8e"},attributeKey:{main:"#87BEEB"}}},typography:{fontFamily:'"Roboto", "Helvetica", "Arial", sans-serif'},components:{MuiButton:{styleOverrides:{root:({theme:e,ownerState:t})=>({..."contained"===t.variant&&{boxShadow:"none","&:hover":{boxShadow:"none"}}})}},MuiAppBar:{styleOverrides:{root:({theme:e})=>({})}},MuiToolbar:{styleOverrides:{root:({theme:e})=>({backgroundColor:e.palette.background.paper})}},MuiDrawer:{styleOverrides:{paper:({theme:e})=>({backgroundColor:e.palette.background.paper,borderRight:`1px solid ${e.palette.divider}`})}},MuiTab:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.secondary,"&.Mui-selected":{color:e.palette.primary.main}})}},MuiTabs:{styleOverrides:{indicator:({theme:e})=>({backgroundColor:e.palette.primary.main})}}}}))(n),[n]);return _.jsx(Lh.Provider,{value:{mode:n,toggleTheme:()=>{r(e=>"light"===e?"dark":"light")}},children:_.jsx(sa,{theme:a,children:e})})};function Mh(){return Mh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mh.apply(null,arguments)}var jh="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};
152function Fh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var zh,$h,Bh,Uh,Hh,Vh={exports:{}},Wh=(zh||(zh=1,$h=Vh,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var o=typeof a;if("string"===o||"number"===o)n.push(a);else if(Array.isArray(a)){if(a.length){var i=t.apply(null,a);i&&n.push(i)}}else if("object"===o)if(a.toString===Object.prototype.toString)for(var s in a)e.call(a,s)&&a[s]&&n.push(s);else n.push(a.toString())}}return n.join(" ")}$h.exports?(t.default=t,$h.exports=t):window.classNames=t}()),Vh.exports),Gh=Fh(Wh),qh=Fh(function(){if(Uh)return Bh;Uh=1;var e=/^\s+|\s+$/g,t=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,r=/^0o[0-7]+$/i,a=parseInt,o=Object.prototype.toString;function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function s(s){if("number"==typeof s)return s;if("symbol"==typeof(l=s)||function(e){return!!e&&"object"==typeof e}(l)&&"[object Symbol]"==o.call(l))return NaN;var l;if(i(s)){var c="function"==typeof s.valueOf?s.valueOf():s;s=i(c)?c+"":c}if("string"!=typeof s)return 0===s?s:+s;s=s.replace(e,"");var u=n.test(s);return u||r.test(s)?a(s.slice(2),u?2:8):t.test(s)?NaN:+s}return Bh=function(e,t,n){return void 0===n&&(n=t,t=void 0),void 0!==n&&(n=(n=s(n))==n?n:0),void 0!==t&&(t=(t=s(t))==t?t:0),r=s(e),a=t,o=n,r==r&&(void 0!==o&&(r=r<=o?r:o),void 0!==a&&(r=r>=a?r:a)),r;var r,a,o}}()),Yh={exports:{}},Xh=(Hh||(Hh=1,function(e,t){var n="__lodash_hash_undefined__",r=9007199254740991,a="[object Arguments]",o="[object Array]",i="[object Boolean]",s="[object Date]",l="[object Error]",c="[object Function]",u="[object Map]",d="[object Number]",p="[object Object]",f="[object Promise]",m="[object RegExp]",h="[object Set]",g="[object String]",b="[object WeakMap]",y="[object ArrayBuffer]",v="[object DataView]",x=/^\[object .+?Constructor\]$/,S=/^(?:0|[1-9]\d*)$/,w={};w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w[a]=w[o]=w[y]=w[i]=w[v]=w[s]=w[l]=w[c]=w[u]=w[d]=w[p]=w[m]=w[h]=w[g]=w[b]=!1;var E="object"==typeof jh&&jh&&jh.Object===Object&&jh,C="object"==typeof self&&self&&self.Object===Object&&self,k=E||C||Function("return this")(),T=t&&!t.nodeType&&t,A=T&&e&&!e.nodeType&&e,I=A&&A.exports===T,N=I&&E.process,_=function(){try{return N&&N.binding&&N.binding("util")}catch(e){}}(),R=_&&_.isTypedArray;function O(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function L(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function D(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var P,M,j,F=Array.prototype,z=Function.prototype,$=Object.prototype,B=k["__core-js_shared__"],U=z.toString,H=$.hasOwnProperty,V=(P=/[^.]+$/.exec(B&&B.keys&&B.keys.IE_PROTO||""))?"Symbol(src)_1."+P:"",W=$.toString,G=RegExp("^"+U.call(H).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=I?k.Buffer:void 0,Y=k.Symbol,X=k.Uint8Array,K=$.propertyIsEnumerable,Z=F.splice,J=Y?Y.toStringTag:void 0,Q=Object.getOwnPropertySymbols,ee=q?q.isBuffer:void 0,te=(M=Object.keys,j=Object,function(e){return M(j(e))}),ne=Ae(k,"DataView"),re=Ae(k,"Map"),ae=Ae(k,"Promise"),oe=Ae(k,"Set"),ie=Ae(k,"WeakMap"),se=Ae(Object,"create"),le=Re(ne),ce=Re(re),ue=Re(ae),de=Re(oe),pe=Re(ie),fe=Y?Y.prototype:void 0,me=fe?fe.valueOf:void 0;function he(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ge(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function be(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ye(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new be;++t<n;)this.add(e[t])}function ve(e){var t=this.__data__=new ge(e);this.size=t.size}function xe(e,t){for(var n=e.length;n--;)if(Oe(e[n][0],t))return n;return-1}
vendor: 1,210 bytes, line 152
152function Se(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":J&&J in Object(e)?function(e){var t=H.call(e,J),n=e[J];try{e[J]=void 0;var r=!0}catch(o){}var a=W.call(e);return r&&(t?e[J]=n:delete e[J]),a}(e):(t=e,W.call(t));var t}function we(e){return ze(e)&&Se(e)==a}function Ee(e,t,n,r,c){return e===t||(null==e||null==t||!ze(e)&&!ze(t)?e!=e&&t!=t:function(e,t,n,r,c,f){var b=De(e),x=De(t),S=b?o:Ne(e),w=x?o:Ne(t),E=(S=S==a?p:S)==p,C=(w=w==a?p:w)==p,k=S==w;if(k&&Pe(e)){if(!Pe(t))return!1;b=!0,E=!1}if(k&&!E)return f||(f=new ve),b||$e(e)?Ce(e,t,n,r,c,f):function(e,t,n,r,a,o,c){switch(n){case v:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case y:return!(e.byteLength!=t.byteLength||!o(new X(e),new X(t)));case i:case s:case d:return Oe(+e,+t);case l:return e.name==t.name&&e.message==t.message;case m:case g:return e==t+"";case u:var p=L;case h:var f=1&r;if(p||(p=D),e.size!=t.size&&!f)return!1;var b=c.get(e);if(b)return b==t;r|=2,c.set(e,t);var x=Ce(p(e),p(t),r,a,o,c);return c.delete(e),x;case"[object Symbol]":if(me)return me.call(e)==me.call(t)}return!1}(e,t,S,n,r,c,f);if(!(1&n)){var T=E&&H.call(e,"__wrapped__"),A=C&&H.call(t,"__wrapped__");
vendor: 5,647 bytes, line 152
152if(T||A){var I=T?e.value():e,N=A?t.value():t;return f||(f=new ve),c(I,N,n,r,f)}}return!!k&&(f||(f=new ve),function(e,t,n,r,a,o){var i=1&n,s=ke(e),l=s.length;if(l!=ke(t).length&&!i)return!1;for(var c=l;c--;){var u=s[c];if(!(i?u in t:H.call(t,u)))return!1}var d=o.get(e);if(d&&o.get(t))return d==t;var p=!0;o.set(e,t),o.set(t,e);for(var f=i;++c<l;){var m=e[u=s[c]],h=t[u];if(r)var g=i?r(h,m,u,t,e,o):r(m,h,u,e,t,o);if(!(void 0===g?m===h||a(m,h,n,r,o):g)){p=!1;break}f||(f="constructor"==u)}if(p&&!f){var b=e.constructor,y=t.constructor;b==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(p=!1)}return o.delete(e),o.delete(t),p}(e,t,n,r,c,f))}(e,t,n,r,Ee,c))}function Ce(e,t,n,r,a,o){var i=1&n,s=e.length,l=t.length;if(s!=l&&!(i&&l>s))return!1;var c=o.get(e);if(c&&o.get(t))return c==t;var u=-1,d=!0,p=2&n?new ye:void 0;for(o.set(e,t),o.set(t,e);++u<s;){var f=e[u],m=t[u];if(r)var h=i?r(m,f,u,t,e,o):r(f,m,u,e,t,o);if(void 0!==h){if(h)continue;d=!1;break}if(p){if(!O(t,function(e,t){if(i=t,!p.has(i)&&(f===e||a(f,e,n,r,o)))return p.push(t);var i})){d=!1;break}}else if(f!==m&&!a(f,m,n,r,o)){d=!1;break}}return o.delete(e),o.delete(t),d}function ke(e){return n=Ie,r=Be(t=e),De(t)?r:function(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}(r,n(t));var t,n,r}function Te(e,t){var n,r,a=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?a["string"==typeof t?"string":"hash"]:a.map}function Ae(e,t){var n,r,a=(r=t,null==(n=e)?void 0:n[r]);return function(e){return!(!Fe(e)||(t=e,V&&V in t))&&(Me(e)?G:x).test(Re(e));var t}(a)?a:void 0}he.prototype.clear=function(){this.__data__=se?se(null):{},this.size=0},he.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},he.prototype.get=function(e){var t=this.__data__;if(se){var r=t[e];return r===n?void 0:r}return H.call(t,e)?t[e]:void 0},he.prototype.has=function(e){var t=this.__data__;return se?void 0!==t[e]:H.call(t,e)},he.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=se&&void 0===t?n:t,this},ge.prototype.clear=function(){this.__data__=[],this.size=0},ge.prototype.delete=function(e){var t=this.__data__,n=xe(t,e);return!(n<0||(n==t.length-1?t.pop():Z.call(t,n,1),--this.size,0))},ge.prototype.get=function(e){var t=this.__data__,n=xe(t,e);return n<0?void 0:t[n][1]},ge.prototype.has=function(e){return xe(this.__data__,e)>-1},ge.prototype.set=function(e,t){var n=this.__data__,r=xe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},be.prototype.clear=function(){this.size=0,this.__data__={hash:new he,map:new(re||ge),string:new he}},be.prototype.delete=function(e){var t=Te(this,e).delete(e);return this.size-=t?1:0,t},be.prototype.get=function(e){return Te(this,e).get(e)},be.prototype.has=function(e){return Te(this,e).has(e)},be.prototype.set=function(e,t){var n=Te(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},ye.prototype.add=ye.prototype.push=function(e){return this.__data__.set(e,n),this},ye.prototype.has=function(e){return this.__data__.has(e)},ve.prototype.clear=function(){this.__data__=new ge,this.size=0},ve.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ve.prototype.get=function(e){return this.__data__.get(e)},ve.prototype.has=function(e){return this.__data__.has(e)},ve.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ge){var r=n.__data__;if(!re||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new be(r)}return n.set(e,t),this.size=n.size,this};var Ie=Q?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i)&&(o[a++]=i)}return o}(Q(e),function(t){return K.call(e,t)}))}:function(){return[]},Ne=Se;function _e(e,t){return!!(t=null==t?r:t)&&("number"==typeof e||S.test(e))&&e>-1&&e%1==0&&e<t}function Re(e){if(null!=e){try{return U.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function Oe(e,t){return e===t||e!=e&&t!=t}(ne&&Ne(new ne(new ArrayBuffer(1)))!=v||re&&Ne(new re)!=u||ae&&Ne(ae.resolve())!=f||oe&&Ne(new oe)!=h||ie&&Ne(new ie)!=b)&&(Ne=function(e){var t=Se(e),n=t==p?e.constructor:void 0,r=n?Re(n):"";if(r)switch(r){case le:return v;case ce:return u;case ue:return f;case de:return h;case pe:return b}return t});var Le=we(function(){return arguments}())?we:function(e){return ze(e)&&H.call(e,"callee")&&!K.call(e,"callee")},De=Array.isArray,Pe=ee||function(){return!1};function Me(e){if(!Fe(e))return!1;var t=Se(e);return t==c||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function je(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}function Fe(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ze(e){return null!=e&&"object"==typeof e}var $e=R?function(e){return function(t){return e(t)}}(R):function(e){return ze(e)&&je(e.length)&&!!w[Se(e)]};function Be(e){return null!=(t=e)&&je(t.length)&&!Me(t)?function(e){var t=De(e),n=!t&&Le(e),r=!t&&!n&&Pe(e),a=!t&&!n&&!r&&$e(e),o=t||n||r||a,i=o?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=i.length;for(var l in e)!H.call(e,l)||o&&("length"==l||r&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||_e(l,s))||i.push(l);return i}(e):function(e){if(n=(t=e)&&t.constructor,t!==("function"==typeof n&&n.prototype||$))return te(e);var t,n,r=[];for(var a in Object(e))H.call(e,a)&&"constructor"!=a&&r.push(a);return r}(e);var t}e.exports=function(e,t){return Ee(e,t)}}
152(Yh,Yh.exports)),Yh.exports),Kh=Fh(Xh);function Zh(e,t,n){return e[t]?e[t][0]?e[t][0][n]:e[t][n]:"contentBoxSize"===t?e.contentRect["inlineSize"===n?"width":"height"]:void 0}var Jh="allotment-module_splitViewView__MGZ6O",Qh="allotment-module_separatorBorder__x-rDS";let eg,tg=!1,ng=!1;"object"==typeof navigator&&(eg=navigator.userAgent,ng=eg.indexOf("Macintosh")>=0,tg=(eg.indexOf("Macintosh")>=0||eg.indexOf("iPad")>=0||eg.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0);const rg=tg,ag=ng,og="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?o.useLayoutEffect:o.useEffect;class ig{constructor(){this._size=void 0}getSize(){return this._size}setSize(e){this._size=e}}function sg(e,t){const n=e.length,r=n-t.length;return r>=0&&e.slice(r,n)===t}var lg,cg,ug,dg={exports:{}},pg=(lg||(lg=1,function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function a(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function o(e,t,r,o,i){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new a(r,o||e,i),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function i(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,a=[];if(0===this._eventsCount)return a;for(r in e=this._events)t.call(e,r)&&a.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?a.concat(Object.getOwnPropertySymbols(e)):a},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var a=0,o=r.length,i=new Array(o);a<o;a++)i[a]=r[a].fn;return i},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,a,o,i){var s=n?n+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,a),!0;case 5:return u.fn.call(u.context,t,r,a,o),!0;case 6:return u.fn.call(u.context,t,r,a,o,i),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var p,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,a);break;default:if(!l)for(p=1,l=new Array(d-1);p<d;p++)l[p-1]=arguments[p];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,n){return o(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return o(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,a){var o=n?n+e:e;if(!this._events[o])return this;if(!t)return i(this,o),this;var s=this._events[o];if(s.fn)s.fn!==t||a&&!s.once||r&&s.context!==r||i(this,o);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||a&&!s[l].once||r&&s[l].context!==r)&&c.push(s[l]);c.length?this._events[o]=1===c.length?c[0]:c:i(this,o)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&i(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s}(dg)),dg.exports),fg=Fh(pg);function mg(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.unshift(t))}function hg(e,t){const n=e.indexOf(t);n>-1&&(e.splice(n,1),e.push(t))}function gg(e,t,n=1){const r=Math.max(0,Math.ceil((t-e)/n)),a=new Array(r);let o=-1;for(;++o<r;)a[o]=e+o*n;return a}var bg=Fh(function(){if(ug)return cg;ug=1;var e=/^\s+|\s+$/g,t=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,r=/^0o[0-7]+$/i,a=parseInt,o="object"==typeof jh&&jh&&jh.Object===Object&&jh,i="object"==typeof self&&self&&self.Object===Object&&self,s=o||i||Function("return this")(),l=Object.prototype.toString,c=Math.max,u=Math.min,d=function(){return s.Date.now()};function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function f(o){if("number"==typeof o)return o;if("symbol"==typeof(i=o)||function(e){return!!e&&"object"==typeof e}(i)&&"[object Symbol]"==l.call(i))return NaN;var i;if(p(o)){var s="function"==typeof o.valueOf?o.valueOf():o;o=p(s)?s+"":s}if("string"!=typeof o)return 0===o?o:+o;o=o.replace(e,"");var c=n.test(o);return c||r.test(o)?a(o.slice(2),c?2:8):t.test(o)?NaN:+o}return cg=function(e,t,n){var r,a,o,i,s,l,m=0,h=!1,g=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=r,o=a;return r=a=void 0,m=t,i=e.apply(o,n)}function v(e){var n=e-l;return void 0===l||n>=t||n<0||g&&e-m>=o}function x(){var e,n,r=d();if(v(r))return S(r);s=setTimeout(x,(n=t-((e=r)-l),g?u(n,o-(e-m)):n))}function S(e){return s=void 0,b&&r?y(e):(r=a=void 0,i)}function w(){var e,n=d(),o=v(n);if(r=arguments,a=this,l=n,o){if(void 0===s)return m=e=l,s=setTimeout(x,t),h?y(e):i;if(g)return s=setTimeout(x,t),y(l)}return void 0===s&&(s=setTimeout(x,t)),i}return t=f(t)||0,p(n)&&(h=!!n.leading,o=(g="maxWait"in n)?c(f(n.maxWait)||0,t):o,b="trailing"in n?!!n.trailing:b),w.cancel=function(){void 0!==s&&clearTimeout(s),m=0,r=l=a=s=void 0},w.flush=function(){return void 0===s?i:S(d())},w}}()),yg="sash-module_vertical__pB-rs",vg="sash-module_horizontal__kFbiw",xg="sash-module_hover__80W6I",Sg="sash-module_active__bJspD";let wg=((kg={}).Vertical="VERTICAL",kg.Horizontal="HORIZONTAL",kg),Eg=function(e){return e.Disabled="DISABLED",e.Minimum="MINI
152MUM",e.Maximum="MAXIMUM",e.Enabled="ENABLED",e}({}),Cg=rg?20:8;var kg;const Tg=new fg;class Ag extends fg{get state(){return this._state}set state(e){this._state!==e&&(this.el.classList.toggle("sash-module_disabled__Hm-wx",e===Eg.Disabled),this.el.classList.toggle("sash-disabled",e===Eg.Disabled),this.el.classList.toggle("sash-module_minimum__-UKxp",e===Eg.Minimum),this.el.classList.toggle("sash-minimum",e===Eg.Minimum),this.el.classList.toggle("sash-module_maximum__TCWxD",e===Eg.Maximum),this.el.classList.toggle("sash-maximum",e===Eg.Maximum),this._state=e,this.emit("enablementChange",e))}constructor(e,t,n){var r;super(),this.el=void 0,this.layoutProvider=void 0,this.orientation=void 0,this.size=void 0,this.hoverDelay=300,this.hoverDelayer=bg(e=>e.classList.add("sash-hover",xg),this.hoverDelay),this._state=Eg.Enabled,this.onPointerStart=e=>{const t=e.pageX,n=e.pageY,r={startX:t,currentX:t,startY:n,currentY:n};this.el.classList.add("sash-active",Sg),this.emit("start",r),this.el.setPointerCapture(e.pointerId);const a=e=>{e.preventDefault();const r={startX:t,currentX:e.pageX,startY:n,currentY:e.pageY};this.emit("change",r)},o=e=>{e.preventDefault(),this.el.classList.remove("sash-active",Sg),this.hoverDelayer.cancel(),this.emit("end"),this.el.releasePointerCapture(e.pointerId),window.removeEventListener("pointermove",a),window.removeEventListener("pointerup",o)};window.addEventListener("pointermove",a),window.addEventListener("pointerup",o)},this.onPointerDoublePress=()=>{this.emit("reset")},this.onMouseEnter=()=>{this.el.classList.contains(Sg)?(this.hoverDelayer.cancel(),this.el.classList.add("sash-hover",xg)):this.hoverDelayer(this.el)},this.onMouseLeave=()=>{this.hoverDelayer.cancel(),this.el.classList.remove("sash-hover",xg)},this.el=document.createElement("div"),this.el.classList.add("sash","sash-module_sash__K-9lB"),this.el.dataset.testid="sash",e.append(this.el),ag&&this.el.classList.add("sash-mac","sash-module_mac__Jf6OJ"),this.el.addEventListener("pointerdown",this.onPointerStart),this.el.addEventListener("dblclick",this.onPointerDoublePress),this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("mouseleave",this.onMouseLeave),"number"==typeof n.size?(this.size=n.size,n.orientation===wg.Vertical?this.el.style.width=`${this.size}px`:this.el.style.height=`${this.size}px`):(this.size=Cg,Tg.on("onDidChangeGlobalSize",e=>{this.size=e,this.layout()})),this.layoutProvider=t,this.orientation=null!=(r=n.orientation)?r:wg.Vertical,this.orientation===wg.Horizontal?(this.el.classList.add("sash-horizontal",vg),this.el.classList.remove("sash-vertical",yg)):(this.el.classList.remove("sash-horizontal",vg),this.el.classList.add("sash-vertical",yg)),this.layout()}layout(){if(this.orientation===wg.Vertical){const e=this.layoutProvider;this.el.style.left=e.getVerticalSashLeft(this)-this.size/2+"px",e.getVerticalSashTop&&(this.el.style.top=e.getVerticalSashTop(this)+"px"),e.getVerticalSashHeight&&(this.el.style.height=e.getVerticalSashHeight(this)+"px")}else{const e=this.layoutProvider;this.el.style.top=e.getHorizontalSashTop(this)-this.size/2+"px",e.getHorizontalSashLeft&&(this.el.style.left=e.getHorizontalSashLeft(this)+"px"),e.getHorizontalSashWidth&&(this.el.style.width=e.getHorizontalSashWidth(this)+"px")}}dispose(){this.el.removeEventListener("pointerdown",this.onPointerStart),this.el.removeEventListener("dblclick",this.onPointerDoublePress),this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("mouseleave",()=>this.onMouseLeave),this.el.remove()}}let Ig;var Ng;(Ng=Ig||(Ig={})).Distribute={type:"distribute"},Ng.Split=function(e){return{type:"split",index:e}},Ng.Invisible=function(e){return{type:"invisible",cachedVisibleSize:e}};let _g=function(e){return e.Normal="NORMAL",e.Low="LOW",e.High="HIGH",e}({});class Rg{constructor(e,t,n){this.container=void 0,this.view=void 0,this._size=void 0,this._cachedVisibleSize=void 0,this.container=e,this.view=t,this.container.classList.add("split-view-view",Jh),this.container.dataset.testid="split-view-view","number"==typeof n?(this._size=n,this._cachedVisibleSize=void 0,e.classList.add("split-view-view-v
152isible")):(this._size=0,this._cachedVisibleSize=n.cachedVisibleSize)}set size(e){this._size=e}get size(){return this._size}get priority(){return this.view.priority}get snap(){return!!this.view.snap}get cachedVisibleSize(){return this._cachedVisibleSize}get visible(){return void 0===this._cachedVisibleSize}setVisible(e,t){e!==this.visible&&(e?(this.size=qh(this._cachedVisibleSize,this.viewMinimumSize,this.viewMaximumSize),this._cachedVisibleSize=void 0):(this._cachedVisibleSize="number"==typeof t?t:this.size,this.size=0),this.container.classList.toggle("split-view-view-visible",e),this.view.setVisible&&this.view.setVisible(e))}get minimumSize(){return this.visible?this.view.minimumSize:0}get viewMinimumSize(){return this.view.minimumSize}get maximumSize(){return this.visible?this.view.maximumSize:0}get viewMaximumSize(){return this.view.maximumSize}set enabled(e){this.container.style.pointerEvents=e?"":"none"}layout(e){this.layoutContainer(e),this.view.layout(this.size,e)}}let Og=class extends Rg{layoutContainer(e){this.container.style.left=`${e}px`,this.container.style.width=`${this.size}px`}};class Lg extends Rg{layoutContainer(e){this.container.style.top=`${e}px`,this.container.style.height=`${this.size}px`}}class Dg extends fg{get startSnappingEnabled(){return this._startSnappingEnabled}set startSnappingEnabled(e){this._startSnappingEnabled!==e&&(this._startSnappingEnabled=e,this.updateSashEnablement())}get endSnappingEnabled(){return this._endSnappingEnabled}set endSnappingEnabled(e){this._endSnappingEnabled!==e&&(this._endSnappingEnabled=e,this.updateSashEnablement())}constructor(e,t={},n,r,a){var o,i;if(super(),this.onDidChange=void 0,this.onDidDragStart=void 0,this.onDidDragEnd=void 0,this.orientation=void 0,this.sashContainer=void 0,this.size=0,this.contentSize=0,this.proportions=void 0,this.viewItems=[],this.sashItems=[],this.sashDragState=void 0,this.proportionalLayout=void 0,this.get
152SashOrthogonalSize=void 0,this._startSnappingEnabled=!0,this._endSnappingEnabled=!0,this.onSashEnd=e=>{this.emit("sashchange",e),this.saveProportions();for(const t of this.viewItems)t.enabled=!0},this.orientation=null!=(o=t.orientation)?o:wg.Vertical,this.proportionalLayout=null==(i=t.proportionalLayout)||i,this.getSashOrthogonalSize=t.getSashOrthogonalSize,n&&(this.onDidChange=n),r&&(this.onDidDragStart=r),a&&(this.onDidDragEnd=a),this.sashContainer=document.createElement("div"),this.sashContainer.classList.add("sash-container","allotment-module_sashContainer__fzwJF"),e.prepend(this.sashContainer),t.descriptor){this.size=t.descriptor.size;for(const[e,n]of t.descriptor.views.entries()){const t=n.size,r=n.container,a=n.view;this.addView(r,a,t,e,!0)}this.contentSize=this.viewItems.reduce((e,t)=>e+t.size,0),this.saveProportions()}}addView(e,t,n,r=this.viewItems.length,a){let o;o="number"==typeof n?n:"split"===n.type?this.getViewSize(n.index)/2:"invisible"===n.type?{cachedVisibleSize:n.cachedVisibleSize}:t.minimumSize;const i=this.orientation===wg.Vertical?new Lg(e,t,o):new Og(e,t,o);if(this.viewItems.splice(r,0,i),this.viewItems.length>1){const e=this.orientation===wg.Vertical?new Ag(this.sashContainer,{getHorizontalSashTop:e=>this.getSashPosition(e),getHorizontalSashWidth:this.getSashOrthogonalSize},{orientation:wg.Horizontal}):new Ag(this.sashContainer,{getVerticalSashLeft:e=>this.getSashPosition(e),getVerticalSashHeight:this.getSashOrthogonalSize},{orientation:wg.Vertical}),t=this.orientation===wg.Vertical?t=>({sash:e,start:t.startY,current:t.currentY}):t=>({sash:e,start:t.startX,current:t.currentX});e.on("start",e=>{var n;this.emit("sashDragStart"),this.onSashStart(t(e));const r=this.viewItems.map(e=>e.size);null==(n=this.onDidDragStart)||n.call(this,r)}),e.on("change",e=>this.onSashChange(t(e))),e.on("end",()=>{var t;this.emit("sashDragEnd"),this.onSashEnd(this.sashItems.findIndex(t=>t.sash===e));const n=this.viewItems.map(e=>e.size);null==(t=this.onDidDragEnd)||t.call(this,n)}),e.on("reset",()=>{const t=this.sashItems.findIndex(t=>t.sash===e),n=gg(t,-1,-1),r=gg(t+1,this.viewItems.length),a=this.findFirstSnapIndex(n),o=this.findFirstSnapIndex(r);("number"!=typeof a||this.viewItems[a].visible)&&("number"!=typeof o||this.viewItems[o].visible)&&this.emit("sashreset",t)});const n={sash:e};this.sashItems.splice(r-1,0,n)}a||this.relayout(),a||"number"==typeof n||"distribute"!==n.type||this.distributeViewSizes()}removeView(e,t){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");const n=this.viewItems.splice(e,1)[0].view;if(this.viewItems.length>=1){const t=Math.max(e-1,0);this.sashItems.splice(t,1)[0].sash.dispose()}return this.relayout(),t&&"distribute"===t.type&&this.distributeViewSizes(),n}moveView(e,t,n){const r=this.getViewCachedVisibleSize(t),a=void 0===r?this.getViewSize(t):Ig.Invisible(r),o=this.removeView(t);this.addView(e,o,a,n)}getViewCachedVisibleSize(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].cachedVisibleSize}layout(e=this.size){const t=Math.max(this.size,this.contentSize);if(this.size=e,this.proportions)for(let n=0;n<this.viewItems.length;n++){const t=this.viewItems[n];t.size=qh(Math.round(this.proportions[n]*e),t.minimumSize,t.maximumSize)}else{const n=gg(0,this.viewItems.length),r=n.filter(e=>this.viewItems[e].priority===_g.Low),a=n.filter(e=>this.viewItems[e].priority===_g.High);this.resize(this.viewItems.length-1,e-t,void 0,r,a)}this.distributeEmptySpace(),this.layoutViews()}resizeView(e,t){if(e<0||e>=this.viewItems.length)return;const n=gg(0,this.viewItems.length).filter(t=>t!==e),r=[...n.filter(e=>this.viewItems[e].priority===_g.Low),e],a=n.filter(e=>this.viewItems[e].priority===_g.High),o=this.viewItems[e];t=Math.round(t),t=qh(t,o.minimumSize,Math.min(o.maximumSize,this.size)),o.size=t,this.relayout(r,a)}resizeViews(e){for(let t=0;t<e.length;t++){const n=this.viewItems[t];let r=e[t];r=Math.round(r),r=qh(r,n.minimumSize,Math.min(n.maximumSize,this.size)),n.size=r}this.contentSize=this.viewItems.reduce((e,t)=>e+t.size,0),this.saveProportions(),this.layout(this.size)}getViewSize(e){return e<0||e>=this.viewItems.length?-1:this.viewItems[e].size}isViewVisible(e){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");return this.viewItems[e].visible}setViewVisible(e,t){if(e<0||e>=this.viewItems.length)throw new Error("Index out of bounds");
152this.viewItems[e].setVisible(t),this.distributeEmptySpace(e),this.layoutViews(),this.saveProportions()}distributeViewSizes(){const e=[];let t=0;for(const i of this.viewItems)i.maximumSize-i.minimumSize>0&&(e.push(i),t+=i.size);const n=Math.floor(t/e.length);for(const i of e)i.size=qh(n,i.minimumSize,i.maximumSize);const r=gg(0,this.viewItems.length),a=r.filter(e=>this.viewItems[e].priority===_g.Low),o=r.filter(e=>this.viewItems[e].priority===_g.High);this.relayout(a,o)}dispose(){this.sashItems.forEach(e=>e.sash.dispose()),this.sashItems=[],this.sashContainer.remove()}relayout(e,t){const n=this.viewItems.reduce((e,t)=>e+t.size,0);this.resize(this.viewItems.length-1,this.size-n,void 0,e,t),this.distributeEmptySpace(),this.layoutViews(),this.saveProportions()}onSashStart({sash:e,start:t}){const n=this.sashItems.findIndex(t=>t.sash===e);(e=>{const t=this.viewItems.map(e=>e.size);let r,a,o=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;const s=gg(n,-1,-1),l=gg(n+1,this.viewItems.length),c=s.reduce((e,n)=>e+(this.viewItems[n].minimumSize-t[n]),0),u=s.reduce((e,n)=>e+(this.viewItems[n].viewMaximumSize-t[n]),0),d=0===l.length?Number.POSITIVE_INFINITY:l.reduce((e,n)=>e+(t[n]-this.viewItems[n].minimumSize),0),p=0===l.length?Number.NEGATIVE_INFINITY:l.reduce((e,n)=>e+(t[n]-this.viewItems[n].viewMaximumSize),0);o=Math.max(c,p),i=Math.min(d,u);const f=this.findFirstSnapIndex(s),m=this.findFirstSnapIndex(l);if("number"==typeof f){const e=this.viewItems[f],t=Math.floor(e.viewMinimumSize/2);r={index:f,limitDelta:e.visible?o-t:o+t,size:e.size}}if("number"==typeof m){const e=this.viewItems[m],t=Math.floor(e.viewMinimumSize/2);a={index:m,limitDelta:e.visible?i+t:i-t,size:e.size}}this.sashDragState={start:e,current:e,index:n,sizes:t,minDelta:o,maxDelta:i,snapBefore:r,snapAfter:a}})(t)}onSashChange({current:e}){const{index:t,start:n,sizes:r,minDelta:a,maxDelta:o,snapBefore:i,snapAfter:s}=this.sashDragState;this.sashDragState.current=e;const l=e-n;this.resize(t,l,r,void 0,void 0,a,o,i,s),this.distributeEmptySpace(),this.layoutViews()}getSashPosition(e){let t=0;for(let n=0;n<this.sashItems.length;n++)if(t+=this.viewItems[n].size,this.sashItems[n].sash===e)return t;return 0}resize(e,t,n=this.viewItems.map(e=>e.size),r,a,o=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY,s,l){if(e<0||e>=this.viewItems.length)return 0;const c=gg(e,-1,-1),u=gg(e+1,this.viewItems.length);if(a)for(const w of a)mg(c,w),mg(u,w);if(r)for(const w of r)hg(c,w),hg(u,w);const d=c.map(e=>this.viewItems[e]),p=c.map(e=>n[e]),f=u.map(e=>this.viewItems[e]),m=u.map(e=>n[e]),h=c.reduce((e,t)=>e+(this.viewItems[t].minimumSize-n[t]),0),g=c.reduce((e,t)=>e+(this.viewItems[t].maximumSize-n[t]),0),b=0===u.length?Number.POSITIVE_INFINITY:u.reduce((e,t)=>e+(n[t]-this.viewItems[t].minimumSize),0),y=0===u.length?Number.NEGATIVE_INFINITY:u.reduce((e,t)=>e+(n[t]-this.viewItems[t].maximumSize),0),v=Math.max(h,y,o),x=Math.min(b,g,i);let S=!1;if(s){const e=this.viewItems[s.index],n=t>=s.limitDelta;S=n!==e.visible,e.setVisible(n,s.size)}if(!S&&l){const e=this.viewItems[l.index],n=t<l.limitDelta;S=n!==e.visible,e.setVisible(n,l.size)}if(S)return this.resize(e,t,n,r,a,o,i);for(let w=0,E=t=qh(t,v,x);w<d.length;w++){const e=d[w],t=qh(p[w]+E,e.minimumSize,e.maximumSize);E-=t-p[w],e.size=t}for(let w=0,E=t;w<f.length;w++){const e=f[w],t=qh(m[w]-E,e.minimumSize,e.maximumSize);E+=t-m[w],e.size=t}return t}distributeEmptySpace(e){const t=this.viewItems.reduce((e,t)=>e+t.size,0);let n=this.size-t;const r=gg(this.viewItems.length-1,-1,-1);"number"==typeof e&&hg(r,e);for(let a=0;0!==n&&a<r.length;a++){const e=this.viewItems[r[a]],t=qh(e.size+n,e.minimumSize,e.maximumSize);n-=t-e.size,e.size=t}}layoutViews(){var e;this.contentSize=this.viewItems.reduce((e,t)=>e+t.size,0);let t=0;for(const n of this.viewItems)n.layout(t),t+=n.size;null!=(e=this.onDidChange)&&e.call(this,this.viewItems.map(e=>e.size)),this.sashItems.forEach(e=>e.sash.layout()),this.updateSashEnablement()}saveProportions(){this.proportionalLayout&&this.contentSize>0&&(this.proportions=this.viewItems.map(e=>e.size/this.contentSize))}updateSashEnablement(){let e=!1;const t=this.viewItems.map(t=>e=t.size-t.minimumSize>0||e);e=!1;const n=this.viewItems.map(t=>e=t.maximumSize-t.size>0||e),r=[...this.viewItems].reverse();e=!1;const a=r.map(t=>e=t.size-t.minimumSize>0||e).reverse();e=!1;const o=r.map(t=>e=t.maximumSize-t.size>0||e).reverse();let i=0;for(let s=0;s<this.sashItems.length;s++){const{sash:e}=this.sashItems[s];i+=this.viewItems[s].size;const r=!(t[s]&&o[s+1]),l=!(n[s]&&a[s+1]);if(r&&l){const n=gg(s,-1,-1),r=gg(s+1,this.viewItems.length),o=this.findFirstSnapIndex(n),l=this.findFirstSnapIndex(r),c="number"==typeof o&&!this.viewItems[o].visible,u="number"==typeof l&&!this.viewItems[l].visible;c&&a[s]&&(i>
1520||this.startSnappingEnabled)?e.state=Eg.Minimum:u&&t[s]&&(i<this.contentSize||this.endSnappingEnabled)?e.state=Eg.Maximum:e.state=Eg.Disabled}else e.state=r&&!l?Eg.Minimum:!r&&l?Eg.Maximum:Eg.Enabled}}findFirstSnapIndex(e){for(const t of e){const e=this.viewItems[t];if(e.visible&&e.snap)return t}for(const t of e){const e=this.viewItems[t];if(e.visible&&e.maximumSize-e.minimumSize>0)return;if(!e.visible&&e.snap)return t}}}class Pg{constructor(e){this.size=void 0,this.size=e}getPreferredSize(){return this.size}}let Mg=class{constructor(e,t){this.proportion=void 0,this.layoutService=void 0,this.proportion=e,this.layoutService=t}getPreferredSize(){return this.proportion*this.layoutService.getSize()}};class jg{getPreferredSize(){}}class Fg{get preferredSize(){return this.layoutStrategy.getPreferredSize()}set preferredSize(e){if("number"==typeof e)this.layoutStrategy=new Pg(e);else if("string"==typeof e){const t=e.trim();if(sg(t,"%")){const e=Number(t.slice(0,-1))/100;this.layoutStrategy=new Mg(e,this.layoutService)}else if(sg(t,"px")){const e=Number(t.slice(0,-2))/100;this.layoutStrategy=new Pg(e)}else if("number"==typeof Number.parseFloat(t)){const e=Number.parseFloat(t);this.layoutStrategy=new Pg(e)}else this.layoutStrategy=new jg}else this.layoutStrategy=new jg}constructor(e,t){var n;if(this.minimumSize=0,this.maximumSize=Number.POSITIVE_INFINITY,this.element=void 0,this.priority=void 0,this.snap=void 0,this.layoutService=void 0,this.layoutStrategy=void 0,this.layoutService=e,this.element=t.element,this.minimumSize="number"==typeof t.minimumSize?t.minimumSize:30,this.maximumSize="number"==typeof t.maximumSize?t.maximumSize:Number.POSITIVE_INFINITY,"number"==typeof t.preferredSize)this.layoutStrategy=new Pg(t.preferredSize);else if("string"==typeof t.preferredSize){const e=t.preferredSize.trim();if(sg(e,"%")){const t=Number(e.slice(0,-1))/100;this.layoutStrategy=new Mg(t,this.layoutService)}else if(sg(e,"px")){const t=Number(e.slice(0,-2));this.layoutStrategy=new Pg(t)}else if("number"==typeof Number.parseFloat(e)){const t=Number.parseFloat(e);this.layoutStrategy=new Pg(t)}else this.layoutStrategy=new jg}else this.layoutStrategy=new jg;this.priority=null!=(n=t.priority)?n:_g.Normal,this.snap="boolean"==typeof t.snap&&t.snap}layout(e){}}function zg(e){return void 0!==e.minSize||void 0!==e.maxSize||void 0!==e.preferredSize||void 0!==e.priority||void 0!==e.visible}const $g=o.forwardRef(({className:e,children:t},n)=>l.createElement("div",{ref:n,className:Gh("split-view-view",Jh,e)},t));$g.displayName="Allotment.Pane";const Bg=o.forwardRef(({children:e,className:t,id:n,maxSize:r=1/0,minSize:a=30,proportionalLayout:i=!0,separator:s=!0,sizes:c,defaultSizes:u=c,snap:d=!1,vertical:p=!1,onChange:f,onReset:m,onVisibleChange:h,onDragStart:g,onDragEnd:b},y)=>{const v=o.useRef(null),x=o.useRef([]),S=o.useRef(new Map),w=o.useRef(null),E=o.useRef(new Map),C=o.useRef(new ig),k=o.useRef([]),[T,A]=o.useState(!1),I=o.useMemo(()=>l.Children.toArray(e).filter(l.isValidElement),[e]),N=o.useCallback(e=>{var t,n;const r=null==(t=k.current)?void 0:t[e];return"number"==typeof(null==r?void 0:r.preferredSize)&&(null!=(n=w.current)&&n.resizeView(e,Math.round(r.preferredSize)),!0)},[]);return o.useImperativeHandle(y,()=>({reset:()=>{if(m)m();else{var e;null==(e=w.current)||e.distributeViewSizes();for(let e=0;e<k.current.length;e++)N(e)}},resize:e=>{var t;null==(t=w.current)||t.resizeViews(e)}})),og(()=>{let e=!0;u&&E.current.size!==u.length&&(e=!1),e&&u&&(x.current=I.map(e=>e.key));const t=Mh({orientation:p?wg.Vertical:wg.Horizontal,proportionalLayout:i},e&&u&&{descriptor:{size:u.reduce((e,t)=>e+t,0),views:u.map((e,t)=>{var n,o,i,s;const l=S.current.get(x.current[t]),c=new Fg(C.current,Mh({element:document.createElement("div"),minimumSize:null!=(n=null==l?void 0:l.minSize)?n:a,maximumSize:null!=(o=null==l?void 0:l.maxSize)?o:r,priority:null!=(i=null==l?void 0:l.priority)?i:_g.Normal},(null==l?void 0:l.preferredSize)&&{preferredSize:null==l?void 0:l.preferredSize},{snap:null!=(s=null==l?void 0:l.snap)?s:d}));return k.current.push(c),{container:[...E.current.values()][t],size:e,view:c}})}});
152w.current=new Dg(v.current,t,f,g,b),w.current.on("sashDragStart",()=>{var e;null==(e=v.current)||e.classList.add("split-view-sash-dragging")}),w.current.on("sashDragEnd",()=>{var e;null==(e=v.current)||e.classList.remove("split-view-sash-dragging")}),w.current.on("sashchange",e=>{if(h&&w.current){const e=I.map(e=>e.key);for(let t=0;t<e.length;t++){const n=S.current.get(e[t]);void 0!==(null==n?void 0:n.visible)&&n.visible!==w.current.isViewVisible(t)&&h(t,w.current.isViewVisible(t))}}}),w.current.on("sashreset",e=>{if(m)m();else{var t;if(N(e))return;if(N(e+1))return;null==(t=w.current)||t.distributeViewSizes()}});const n=w.current;return()=>{n.dispose()}},[]),og(()=>{if(T){const m=I.map(e=>e.key),h=[...x.current],g=m.filter(e=>!x.current.includes(e)),b=m.filter(e=>x.current.includes(e)),y=x.current.map(e=>!m.includes(e));for(let t=y.length-1;t>=0;t--){var e;y[t]&&(null!=(e=w.current)&&e.removeView(t),h.splice(t,1),k.current.splice(t,1))}for(const e of g){var t,n,o,i,s;const l=S.current.get(e),c=new Fg(C.current,Mh({element:document.createElement("div"),minimumSize:null!=(t=null==l?void 0:l.minSize)?t:a,maximumSize:null!=(n=null==l?void 0:l.maxSize)?n:r,priority:null!=(o=null==l?void 0:l.priority)?o:_g.Normal},(null==l?void 0:l.preferredSize)&&{preferredSize:null==l?void 0:l.preferredSize},{snap:null!=(i=null==l?void 0:l.snap)?i:d}));null!=(s=w.current)&&s.addView(E.current.get(e),c,Ig.Distribute,m.findIndex(t=>t===e)),h.splice(m.findIndex(t=>t===e),0,e),k.current.splice(m.findIndex(t=>t===e),0,c)}for(;!Kh(m,h);)for(const[e,t]of m.entries()){const n=h.findIndex(e=>e===t);if(n!==e){var l;null==(l=w.current)||l.moveView(E.current.get(t),n,e);const r=h[n];h.splice(n,1),h.splice(e,0,r);break}}for(const e of g){var c;const t=m.findIndex(t=>t===e),n=k.current[t].preferredSize;void 0!==n&&(null==(c=w.current)||c.resizeView(t,n))}for(const e of[...g,...b]){var u,p;const t=S.current.get(e),n=m.findIndex(t=>t===e);t&&zg(t)&&void 0!==t.visible&&(null==(u=w.current)?void 0:u.isViewVisible(n))!==t.visible&&(null==(p=w.current)||p.setViewVisible(n,t.visible))}for(const e of b){const t=S.current.get(e),n=m.findIndex(t=>t===e);if(t&&zg(t)){var f;void 0!==t.preferredSize&&k.current[n].preferredSize!==t.preferredSize&&(k.current[n].preferredSize=t.preferredSize);let e=!1;void 0!==t.minSize&&k.current[n].minimumSize!==t.minSize&&(k.current[n].minimumSize=t.minSize,e=!0),void 0!==t.maxSize&&k.current[n].maximumSize!==t.maxSize&&(k.current[n].maximumSize=t.maxSize,e=!0),e&&(null==(f=w.current)||f.layout())}}(g.length>0||y.length>0)&&(x.current=m)}},[I,T,r,a,d]),o.useEffect(()=>{w.current&&(w.current.onDidChange=f)},[f]),o.useEffect(()=>{w.current&&(w.current.onDidDragStart=g)},[g]),o.useEffect(()=>{w.current&&(w.current.onDidDragEnd=b)},[b]),function(e){void 0===e&&(e={});var t=e.onResize,n=o.useRef(void 0);n.current=t;var r=e.round||Math.round,a=o.useRef(),i=o.useState({width:void 0,height:void 0}),s=i[0],l=i[1],c=o.useRef(!1);o.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var u=o.useRef({width:void 0,height:void 0}),d=function(e,t){var n=o.useRef(null),r=o.useRef(null);r.current=t;var a=o.useRef(null);o.useEffect(function(){i()});var i=o.useCallback(function(){var t=a.current,o=r.current,i=t||(o?o instanceof Element?o:o.current:null);n.current&&n.current.element===i&&n.current.subscriber===e||(n.current&&n.current.cleanup&&n.current.cleanup(),n.current={element:i,subscriber:e,cleanup:i?e(i):void 0})},[e]);return o.useEffect(function(){return function(){n.current&&n.current.cleanup&&(n.current.cleanup(),n.current=null)}},[]),o.useCallback(function(e){a.current=e,i()},[i])}(o.useCallback(function(t){return a.current&&a.current.box===e.box&&a.current.round===r||(a.current={box:e.box,round:r,instance:new ResizeObserver(function(t){var a=t[0],o="border-box"===e.box?"borderBoxSize":"device-pixel-content-box"===e.box?"devicePixelContentBoxSize":"contentBoxSize",i=Zh(a,o,"inlineSize"),s=Zh(a,o,"blockSize"),d=i?r(i):void 0,p=s?r(s):void 0;if(u.current.width!==d||u.current.height!==p){var f={width:d,height:p};u.current.width=d,u.current.height=p,n.current?n.current(f):c.current||l(f)}})}),a.current.instance.observe(t,{box:e.box}),function(){a.current&&a.current.instance.unobserve(t)}},[e.box,r]),e.ref);o.useMemo(function(){return{ref:d,width:s.width,height:s.height}},[d,s.width,s.height])}({ref:v,onResize:({width:e,height:t})=>{var n;e&&t&&(null!=(n=w.current)&&n.layout(p?t:e),C.current.setSize(p?t:e),A(!0))}}),o.useEffect(()=>{rg&&function(e){const t=qh(e,4,20),n=qh(e,1,8);document.documentElement.style.setProperty("--sash-size",t+"px"),document.documentElement.style.setProperty("--sash-hover-size",n+"px"),r=t,Cg=r,Tg.emit("onDidChangeGlobalSize",r);var r}(20)},[]),l.createElement("div",{ref:v,className:Gh("split-view",p?"split-view-vertical":"split-view-horizontal",{"split-view-separator-border":s},"allotment-module_splitView__L-yRc",p?"allotment-module_vertical__WSwwa":"allotment-module_horizontal__7doS8",{[Qh]:s},t),id:n},l.createElement("div",{className:Gh("split-view-container","allotment-module_splitViewContainer__rQnVa")},l.Children.toArray(e).map(e=>{if(!l.isValidElement(e))return null;const t=e.key;return"Allotment.Pane"===e.type.displayName?(S.current.set(t,e.props),l.cloneElement(e,{key:t,ref:n=>{const r=e.ref;r&&(r.current=n),n?E.current.set(t,n):E.current.delete(t)}})):l.createElement($g,{key:t,ref:e=>{e?E.current.set(t,e):E.current.delete(t)}},e)})))});Bg.displayName="Allotment";var Ug,Hg=Object.assign(Bg,{Pane:$g}),Vg={};!function(){if(Ug)return Vg;
vendor: 1,190 bytes, line 152
152Ug=1,Object.defineProperty(Vg,"__esModule",{value:!0}),Vg.parse=function(e,t){const n=new o,r=e.length;if(r<2)return n;const a=t?.decode||l;let c=0;do{const t=e.indexOf("=",c);if(-1===t)break;const o=e.indexOf(";",c),l=-1===o?r:o;if(t>l){c=e.lastIndexOf(";",t-1)+1;continue}const u=i(e,c,t),d=s(e,t,u),p=e.slice(u,d);if(void 0===n[p]){let r=i(e,t+1,l),o=s(e,l,r);const c=a(e.slice(r,o));n[p]=c}c=l+1}while(c<r);return n},Vg.serialize=function(o,i,s){const l=s?.encode||encodeURIComponent;if(!e.test(o))throw new TypeError(`argument name is invalid: ${o}`);const c=l(i);if(!t.test(c))throw new TypeError(`argument val is invalid: ${i}`);let u=o+"="+c;if(!s)return u;if(void 0!==s.maxAge){if(!Number.isInteger(s.maxAge))throw new TypeError(`option maxAge is invalid: ${s.maxAge}`);u+="; Max-Age="+s.maxAge}if(s.domain){if(!n.test(s.domain))throw new TypeError(`option domain is invalid: ${s.domain}`);u+="; Domain="+s.domain}if(s.path){if(!r.test(s.path))throw new TypeError(`option path is invalid: ${s.path}`);u+="; Path="+s.path}if(s.expires){if(!function(e){return"[object Date]"===a.call(e)}(s.expires)||!Number.isFinite(s.expires.valueOf()))throw new TypeError(`option expires is invali
152d: ${s.expires}`);u+="; Expires="+s.expires.toUTCString()}s.httpOnly&&(u+="; HttpOnly");s.secure&&(u+="; Secure");s.partitioned&&(u+="; Partitioned");if(s.priority){switch("string"==typeof s.priority?s.priority.toLowerCase():void 0){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${s.priority}`)}}if(s.sameSite){switch("string"==typeof s.sameSite?s.sameSite.toLowerCase():s.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${s.sameSite}`)}}return u};const e=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,t=/^[\u0021-\u003A\u003C-\u007E]*$/,n=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,r=/^[\u0020-\u003A\u003D-\u007E]*$/,a=Object.prototype.toString,o=(()=>{const e=function(){};return e.prototype=Object.create(null),e})();function i(e,t,n){do{const n=e.charCodeAt(t);if(32!==n&&9!==n)return t}while(++t<n);return n}function s(e,t,n){for(;t>n;){const n=e.charCodeAt(--t);if(32!==n&&9!==n)return t+1}return n}function l(e){if(-1===e.indexOf("%"))return e;try{return decodeURIComponent(e)}catch(t){return e}}}();var Wg="popstate";function Gg(e={}){return function(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:o=!1}=r,i=a.history,s="POP",l=null,c=u();null==c&&(c=0,i.replaceState({...i.state,idx:c},""));function u(){return(i.state||{idx:null}).idx}function d(){s="POP";let e=u(),t=null==e?null:e-c;c=e,l&&l({action:s,location:h.location,delta:t})}function p(e,t){s="PUSH";let n=Kg(h.location,e,t);c=u()+1;let r=Xg(n,c),d=h.createHref(n);try{i.pushState(r,"",d)}catch(p){if(p instanceof DOMException&&"DataCloneError"===p.name)throw p;a.location.assign(d)}o&&l&&l({action:s,location:h.location,delta:1})}function f(e,t){s="REPLACE";let n=Kg(h.location,e,t);c=u();let r=Xg(n,c),a=h.createHref(n);i.replaceState(r,"",a),o&&l&&l({action:s,location:h.location,delta:0})}function m(e){return function(e,t=!1){let n="http://localhost";"undefined"!=typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href);qg(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:Zg(e);r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r);return new URL(r,n)}(e)}let h={get action(){return s},get location(){return e(a,i)},listen(e){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(Wg,d),l=e,()=>{a.removeEventListener(Wg,d),l=null}},createHref:e=>t(a,e),createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:p,replace:f,go:e=>i.go(e)};return h}(function(e,t){let{pathname:n,search:r,hash:a}=e.location;return Kg("",{pathname:n,search:r,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:Zg(t)},0,e)}function qg(e,t){if(!1===e||null==e)throw new Error(t)}function Yg(e,t){if(!e)try{throw new Error(t)}catch(n){}}function Xg(e,t){return{usr:e.state,key:e.key,idx:t}}function Kg(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?Jg(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function Zg({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function Jg(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function Qg(e,t,n="/"){return function(e,t,n,r){let a="string"==typeof t?Jg(t):t,o=fb(a.pathname||"/",n);if(null==o)return null;let i=eb(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(i);let s=null;for(let l=0;null==s&&l<i.length;++l){let e=pb(o);s=ub(i[l],e,r)}return s}(e,t,n,!1)}function eb(e,t=[],n=[],r=""){let a=(e,a,o)=>{let i={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};i.relativePath.startsWith("/")&&(qg(i.relativePath.startsWith(r),`Absolute route path "${i.relativePath}" nested under path "${r}
152" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),i.relativePath=i.relativePath.slice(r.length));let s=bb([r,i.relativePath]),l=n.concat(i);e.children&&e.children.length>0&&(qg(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${s}".`),eb(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:cb(s,e.index),routesMeta:l})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of tb(e.path))a(e,t,n);else a(e,t)}),t}function tb(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===r.length)return a?[o,""]:[o];let i=tb(r.join("/")),s=[];return s.push(...i.map(e=>""===e?o:[o,e].join("/"))),a&&s.push(...i),s.map(t=>e.startsWith("/")&&""===t?"/":t)}var nb=/^:[\w-]+$/,rb=3,ab=2,ob=1,ib=10,sb=-2,lb=e=>"*"===e;function cb(e,t){let n=e.split("/"),r=n.length;return n.some(lb)&&(r+=sb),t&&(r+=ab),n.filter(e=>!lb(e)).reduce((e,t)=>e+(nb.test(t)?rb:""===t?ob:ib),r)}function ub(e,t,n=!1){let{routesMeta:r}=e,a={},o="/",i=[];for(let s=0;s<r.length;++s){let e=r[s],l=s===r.length-1,c="/"===o?t:t.slice(o.length)||"/",u=db({path:e.relativePath,caseSensitive:e.caseSensitive,end:l},c),d=e.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=db({path:e.relativePath,caseSensitive:e.caseSensitive,end:!1},c)),!u)return null;
152Object.assign(a,u.params),i.push({params:a,pathname:bb([o,u.pathname]),pathnameBase:yb(bb([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=bb([o,u.pathnameBase]))}return i}function db(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){Yg("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));e.endsWith("*")?(r.push({paramName:"*"}),a+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==e&&"/"!==e&&(a+="(?:(?=\\/|$))");let o=new RegExp(a,t?void 0:"i");return[o,r]}(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let o=a[0],i=o.replace(/(.)\/+$/,"$1"),s=a.slice(1),l=r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=s[r]||"";i=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const a=s[r];return e[t]=n&&!a?void 0:(a||"").replace(/%2F/g,"/"),e},{});return{params:l,pathname:o,pathnameBase:i,pattern:e}}function pb(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return Yg(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function fb(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function mb(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function hb(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function gb(e,t,n,r=!1){let a;"string"==typeof e?a=Jg(e):(a={...e},qg(!a.pathname||!a.pathname.includes("?"),mb("?","pathname","search",a)),qg(!a.pathname||!a.pathname.includes("#"),mb("#","pathname","hash",a)),qg(!a.search||!a.search.includes("#"),mb("#","search","hash",a)));let o,i=""===e||""===a.pathname,s=i?"/":a.pathname;if(null==s)o=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;a.pathname=t.join("/")}o=e>=0?t[e]:"/"}let l=function(e,t="/"){let{pathname:n,search:r="",hash:a=""}="string"==typeof e?Jg(e):e,o=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:o,search:vb(r),hash:xb(a)}}(a,o),c=s&&"/"!==s&&s.endsWith("/"),u=(i||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!c&&!u||(l.pathname+="/"),l}var bb=e=>e.join("/").replace(/\/\/+/g,"/"),yb=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),vb=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",xb=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";var Sb=["POST","PUT","PATCH","DELETE"];new Set(Sb);var wb=["GET",...Sb];new Set(wb);var Eb=o.createContext(null);Eb.displayName="DataRouter";var Cb=o.createContext(null);Cb.displayName="DataRouterState";var kb=o.createContext({isTransitioning:!1});kb.displayName="ViewTransition",o.createContext(new Map).displayName="Fetchers",o.createContext(null).displayName="Await";var Tb=o.createContext(null);Tb.displayName="Navigation";var Ab=o.createContext(null);Ab.displayName="Location";var Ib=o.createContext({outlet:null,matches:[],isDataRoute:!1});Ib.displayName="Route";var Nb=o.createContext(null);function _b(){return null!=o.useContext(Ab)}function Rb(){return qg(_b(),"useLocation() may be used only in the context of a <Router> component."),o.useContext(Ab).location}Nb.displayName="RouteError";var Ob="You should call navigate() in a React.useEffect(), not when your component is first rendered.";
152function Lb(e){o.useContext(Tb).static||o.useLayoutEffect(e)}function Db(){let{isDataRoute:e}=o.useContext(Ib);return e?function(){let{router:e}=function(e){let t=o.useContext(Eb);return qg(t,Hb(e)),t}("useNavigate"),t=Vb("useNavigate"),n=o.useRef(!1);return Lb(()=>{n.current=!0}),o.useCallback(async(r,a={})=>{Yg(n.current,Ob),n.current&&("number"==typeof r?e.navigate(r):await e.navigate(r,{fromRouteId:t,...a}))},[e,t])}():function(){qg(_b(),"useNavigate() may be used only in the context of a <Router> component.");let e=o.useContext(Eb),{basename:t,navigator:n}=o.useContext(Tb),{matches:r}=o.useContext(Ib),{pathname:a}=Rb(),i=JSON.stringify(hb(r)),s=o.useRef(!1);return Lb(()=>{s.current=!0}),o.useCallback((r,o={})=>{if(Yg(s.current,Ob),!s.current)return;if("number"==typeof r)return void n.go(r);let l=gb(r,JSON.parse(i),a,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:bb([t,l.pathname])),(o.replace?n.replace:n.push)(l,o.state,o)},[t,n,i,a,e])}()}var Pb=o.createContext(null);function Mb(){return o.useContext(Pb)}function jb(e,{relative:t}={}){let{matches:n}=o.useContext(Ib),{pathname:r}=Rb(),a=JSON.stringify(hb(n));return o.useMemo(()=>gb(e,JSON.parse(a),r,"path"===t),[e,a,r,t])}function Fb(e,t,n,r){qg(_b(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=o.useContext(Tb),{matches:i}=o.useContext(Ib),s=i[i.length-1],l=s?s.params:{},c=s?s.pathname:"/",u=s?s.pathnameBase:"/",d=s&&s.route;{let e=d&&d.path||"";Gb(c,!d||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let p,f=Rb();if(t){let e="string"==typeof t?Jg(t):t;qg("/"===u||e.pathname?.startsWith(u),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${u}" but pathname "${e.pathname}" was given in the \`location\` prop.`),p=e}else p=f;let m=p.pathname||"/",h=m;if("/"!==u){let e=u.replace(/^\//,"").split("/");h="/"+m.replace(/^\//,"").split("/").slice(e.length).join("/")}let g=Qg(e,{pathname:h});Yg(d||null!=g,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),Yg(null==g||void 0!==g[g.length-1].route.element||void 0!==g[g.length-1].route.Component||void 0!==g[g.length-1].route.lazy,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let b=function(e,t=[],n=null){if(null==e){if(!n)return null;if(n.errors)e=n.matches;else{if(0!==t.length||n.initialized||!(n.matches.length>0))return null;e=n.matches}}let r=e,a=n?.errors;if(null!=a){let e=r.findIndex(e=>e.route.id&&void 0!==a?.[e.route.id]);qg(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`),r=r.slice(0,Math.min(r.length,e+1))}let i=!1,s=-1;if(n)for(let o=0;o<r.length;o++){let e=r[o];if((e.route.HydrateFallback||e.route.hydrateFallbackElement)&&(s=o),e.route.id){let{loaderData:t,errors:a}=n,o=e.route.loader&&!t.hasOwnProperty(e.route.id)&&(!a||void 0===a[e.route.id]);if(e.route.lazy||o){i=!0,r=s>=0?r.slice(0,s+1):[r[0]];break}}}return r.reduceRight((e,l,c)=>{let u,d=!1,p=null,f=null;n&&(u=a&&l.route.id?a[l.route.id]:void 0,p=l.route.errorElement||$b,i&&(s<0&&0===c?(Gb("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,f=null):s===c&&(d=!0,f=l.route.hydrateFallbackElement||null)));let m=t.concat(r.slice(0,c+1)),h=()=>{let t;return t=u?p:d?f:l.route.Component?o.createElement(l.route.Component,null):l.route.element?l.route.element:e,o.createElement(Ub,{match:l,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(l.route.ErrorBoundary||l.route.errorElement||0===c)?o.createElement(Bb,{location:n.location,revalidation:n.revalidation,component:p,error:u,children:h(),routeC
152ontext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}(g&&g.map(e=>Object.assign({},e,{params:Object.assign({},l,e.params),pathname:bb([u,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?u:bb([u,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),i,n,r);return t&&b?o.createElement(Ab.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...p},navigationType:"POP"}},b):b}function zb(){let e=function(){let e=o.useContext(Nb),t=function(e){let t=o.useContext(Cb);return qg(t,Hb(e)),t}("useRouteError"),n=Vb("useRouteError");if(void 0!==e)return e;return t.errors?.[n]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return s=o.createElement(o.Fragment,null,o.createElement("p",null,"ð¿ Hey developer ð"),o.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",o.createElement("code",{style:i},"ErrorBoundary")," or"," ",o.createElement("code",{style:i},"errorElement")," prop on your route.")),o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},t),n?o.createElement("pre",{style:a},n):null,s)}var $b=o.createElement(zb,null),Bb=class extends o.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,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){}render(){return void 0!==this.state.error?o.createElement(Ib.Provider,{value:this.props.routeContext},o.createElement(Nb.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function Ub({routeContext:e,match:t,children:n}){let r=o.useContext(Eb);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),o.createElement(Ib.Provider,{value:e},n)}function Hb(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Vb(e){let t=function(e){let t=o.useContext(Ib);return qg(t,Hb(e)),t}(e),n=t.matches[t.matches.length-1];return qg(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}var Wb={};function Gb(e,t,n){t||Wb[e]||(Wb[e]=!0,Yg(!1,n))}function qb(e){return function(e){let t=o.useContext(Ib).outlet;return t?o.createElement(Pb.Provider,{value:e},t):t}(e.context)}function Yb(e){qg(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Xb({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:i=!1}){qg(!_b(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),l=o.useMemo(()=>({basename:s,navigator:a,static:i,future:{}}),[s,a,i]);"string"==typeof n&&(n=Jg(n));let{pathname:c="/",search:u="",hash:d="",state:p=null,key:f="default"}=n,m=o.useMemo(()=>{let e=fb(c,s);return null==e?null:{location:{pathname:e,search:u,hash:d,state:p,key:f},navigationType:r}},[s,c,u,d,p,f,r]);return Yg(null!=m,`<Router basename="${s}"> is not able to match the URL "${c}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),null==m?null:o.createElement(Tb.Provider,{value:l},o.createElement(Ab.Provider,{children:t,value:m}))}function Kb({children:e,location:t}){return Fb(Zb(e),t)}function Zb(e,t=[]){let n=[];
152return o.Children.forEach(e,(e,r)=>{if(!o.isValidElement(e))return;let a=[...t,r];if(e.type===o.Fragment)return void n.push.apply(n,Zb(e.props.children,a));qg(e.type===Yb,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),qg(!e.props.index||!e.props.children,"An index route cannot have child routes.");let i={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(i.children=Zb(e.props.children,a)),n.push(i)}),n}o.memo(function({routes:e,future:t,state:n}){return Fb(e,void 0,n,t)});var Jb="get",Qb="application/x-www-form-urlencoded";function ey(e){return null!=e&&"string"==typeof e.tagName}function ty(e=""){return new URLSearchParams("string"==typeof e||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}var ny=null;var ry=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ay(e){return null==e||ry.has(e)?e:(Yg(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Qb}"`),null)}function oy(e,t){let n,r,a,o,i;if(ey(s=e)&&"form"===s.tagName.toLowerCase()){let i=e.getAttribute("action");r=i?fb(i,t):null,n=e.getAttribute("method")||Jb,a=ay(e.getAttribute("enctype"))||Qb,o=new FormData(e)}else if(function(e){return ey(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return ey(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let i=e.form;if(null==i)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||i.getAttribute("action");if(r=s?fb(s,t):null,n=e.getAttribute("formmethod")||i.getAttribute("method")||Jb,a=ay(e.getAttribute("formenctype"))||ay(i.getAttribute("enctype"))||Qb,o=new FormData(i,e),!function(){if(null===ny)try{new FormData(document.createElement("form"),0),ny=!1}catch(e){ny=!0}return ny}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";o.append(`${e}x`,"0"),o.append(`${e}y`,"0")}else t&&o.append(t,r)}}else{if(ey(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Jb,r=null,a=Qb,i=e}var s;return o&&"text/plain"===a&&(i=o,o=void 0),{action:r,method:n.toLowerCase(),encType:a,formData:o,body:i}}function iy(e,t){if(!1===e||null==e)throw new Error(t)}function sy(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}async function ly(e,t,n){return function(e,t){let n=new Set;return new Set(t),e.reduce((e,t)=>{let r=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(t));return n.has(r)||(n.add(r),e.push({key:r,link:t})),e},[])}((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(sy).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}function cy(e,t,n,r,a,o){let i=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===o?t.filter((e,t)=>
152i(e,t)||s(e,t)):"data"===o?t.filter((t,o)=>{let l=r.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(i(t,o)||s(t,o))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function uy(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let a=[r.module];return r.clientActionModule&&(a=a.concat(r.clientActionModule)),r.clientLoaderModule&&(a=a.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(a=a.concat(r.hydrateFallbackModule)),r.imports&&(a=a.concat(r.imports)),a}).flat(1),[...new Set(r)];var r}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function dy(){let e=o.useContext(Eb);return iy(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}var py=o.createContext(void 0);function fy(){let e=o.useContext(py);return iy(e,"You must render this element inside a <HydratedRouter> element"),e}function my(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function hy({page:e,...t}){let{router:n}=dy(),r=o.useMemo(()=>Qg(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?o.createElement(gy,{page:e,matches:r,...t}):null}function gy({page:e,matches:t,...n}){let r=Rb(),{manifest:a,routeModules:i}=fy(),{basename:s}=dy(),{loaderData:l,matches:c}=function(){let e=o.useContext(Cb);return iy(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}(),u=o.useMemo(()=>cy(e,t,c,a,r,"data"),[e,t,c,a,r]),d=o.useMemo(()=>cy(e,t,c,a,r,"assets"),[e,t,c,a,r]),p=o.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,o=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];t&&t.hasLoader&&(!u.some(t=>t.route.id===e.route.id)&&e.route.id in l&&i[e.route.id]?.shouldRevalidate||t.hasClientLoader?o=!0:n.add(e.route.id))}),0===n.size)return[];let c=function(e,t){let n="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===n.pathname?n.pathname="_root.data":t&&"/"===fb(n.pathname,t)?n.pathname=`${t.replace(/\/$/,"")}/_root.data`:n.pathname=`${n.pathname.replace(/\/$/,"")}.data`,n}(e,s);return o&&n.size>0&&c.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[c.pathname+c.search]},[s,l,r,a,u,t,e,i]),f=o.useMemo(()=>uy(d,a),[d,a]),m=function(e){let{manifest:t,routeModules:n}=fy(),[r,a]=o.useState([]);return o.useEffect(()=>{let r=!1;return ly(e,t,n).then(e=>{r||a(e)}),()=>{r=!0}},[e,t,n]),r}(d);return o.createElement(o.Fragment,null,p.map(e=>o.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...n})),f.map(e=>o.createElement("link",{key:e,rel:"modulepreload",href:e,...n})),m.map(({key:e,link:t})=>o.createElement("link",{key:e,...t})))}function by(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}py.displayName="FrameworkContext";var yy="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{yy&&(window.__reactRouterVersion="7.6.2")}catch(yU){}function vy({basename:e,children:t,window:n}){let r=o.useRef();null==r.current&&(r.current=Gg({window:n,v5Compat:!0}));let a=r.current,[i,s]=o.useState({action:a.action,location:a.location}),l=o.useCallback(e=>{o.startTransition(()=>s(e))},[s]);return o.useLayoutEffect(()=>a.listen(l),[a,l]),o.createElement(Xb,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:a})}var xy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Sy=o.forwardRef(function({onClick:e,discover:t="render",prefetch:n="none",relative:r,reloadDocument:a,replace:i,state:s,target:l,to:c,preventScrollReset:u,viewTransition:d,...p},f){let m,{basename:h}=o.useContext(Tb),g="string"==typeof c&&xy.test(c),b=!1;if("string"==typeof c&&g&&(m=c,yy))try{let e=new URL(window.location.href),t=c.startsWith("//")?new URL(e.protocol+c):new URL(c),n=fb(t.pathname,h);t.origin===e.origin&&null!=n?c=n+t.search+t.hash:b=!0}catch(yU){Yg(!1,`<Link to="${c}">
152 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let y=function(e,{relative:t}={}){qg(_b(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=o.useContext(Tb),{hash:a,pathname:i,search:s}=jb(e,{relative:t}),l=i;return"/"!==n&&(l="/"===i?n:bb([n,i])),r.createHref({pathname:l,search:s,hash:a})}(c,{relative:r}),[v,x,S]=function(e,t){let n=o.useContext(py),[r,a]=o.useState(!1),[i,s]=o.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:u,onMouseLeave:d,onTouchStart:p}=t,f=o.useRef(null);o.useEffect(()=>{if("render"===e&&s(!0),"viewport"===e){let e=new IntersectionObserver(e=>{e.forEach(e=>{s(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),o.useEffect(()=>{if(r){let e=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(e)}}},[r]);let m=()=>{a(!0)},h=()=>{a(!1),s(!1)};return n?"intent"!==e?[i,f,{}]:[i,f,{onFocus:my(l,m),onBlur:my(c,h),onMouseEnter:my(u,m),onMouseLeave:my(d,h),onTouchStart:my(p,m)}]:[!1,f,{}]}(n,p),w=function(e,{target:t,replace:n,state:r,preventScrollReset:a,relative:i,viewTransition:s}={}){let l=Db(),c=Rb(),u=jb(e,{relative:i});return o.useCallback(o=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(o,t)){o.preventDefault();let t=void 0!==n?n:Zg(c)===Zg(u);l(e,{replace:t,state:r,preventScrollReset:a,relative:i,viewTransition:s})}},[c,l,u,n,r,t,e,a,i,s])}(c,{replace:i,state:s,target:l,preventScrollReset:u,relative:r,viewTransition:d});let E=o.createElement("a",{...p,...S,href:m||y,onClick:b||a?e:function(t){e&&e(t),t.defaultPrevented||w(t)},ref:by(f,x),target:l,"data-discover":g||"render"!==t?void 0:"true"});return v&&!g?o.createElement(o.Fragment,null,E,o.createElement(hy,{page:y})):E});Sy.displayName="Link";var wy=o.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:n="",end:r=!1,style:a,to:i,viewTransition:s,children:l,...c},u){let d=jb(i,{relative:c.relative}),p=Rb(),f=o.useContext(Cb),{navigator:m,basename:h}=o.useContext(Tb),g=null!=f&&function(e,t={}){let n=o.useContext(kb);qg(null!=n,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Cy("useViewTransitionState"),a=jb(e,{relative:t.relative});if(!n.isTransitioning)return!1;let i=fb(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=fb(n.nextLocation.pathname,r)||n.nextLocation.pathname;return null!=db(a.pathname,s)||null!=db(a.pathname,i)}(d)&&!0===s,b=m.encodeLocation?m.encodeLocation(d).pathname:d.pathname,y=p.pathname,v=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(y=y.toLowerCase(),v=v?v.toLowerCase():null,b=b.toLowerCase()),v&&h&&(v=fb(v,h)||v);const x="/"!==b&&b.endsWith("/")?b.length-1:b.length;let S,w=y===b||!r&&y.startsWith(b)&&"/"===y.charAt(x),E=null!=v&&(v===b||!r&&v.startsWith(b)&&"/"===v.charAt(b.length)),C={isActive:w,isPending:E,isTransitioning:g},k=w?e:void 0;S="function"==typeof n?n(C):[n,w?"active":null,E?"pending":null,g?"transitioning":null].filter(Boolean).join(" ");let T="function"==typeof a?a(C):a;return o.createElement(Sy,{...c,"aria-current":k,className:S,ref:u,style:T,to:i,viewTransition:s},"function"==typeof l?l(C):l)});wy.displayName="NavLink";var Ey=o.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:a,state:i,method:s=Jb,action:l,onSubmit:c,relative:u,preventScrollReset:d,viewTransition:p,...f},m)=>{let h=function(){let{router:e}=Cy("useSubmit"),{basename:t}=o.useContext(Tb),n=Vb("useRouteId");return o.useCallback(async(r,a={})=>{let{action:o,method:i,encType:s,formData:l,body:c}=oy(r,t);if(!1===a.navigate){let t=a.fetcherKey||Ay();await e.fetch(t,n,a.action||o,{preventScrollReset:a.preventScrollReset,formData:l,body:c,formMethod:a.method||i,formEncType:a.encType||s,flushSync:a.flushSync})}else await e.navigate(a.action||o,{preventScrollReset:a.preventScrollReset,formData:l,body:c,formMethod:a.method||i,formEncType:a.encType||s,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[e,t,n])}(),g=function(e,{relative:t}={}){let{basename:n}=o.useContext(Tb),r=o.useContext(Ib);qg(r,"useFormAction must be used inside a RouteContext");let[a]=r.matches.slice(-1),i={...jb(e||".",{relative:t})},s=Rb();if(null==e){i.search=s.search;let e=new URLSearchParams(i.search),t=e.getAll("index"),n=t.some(e=>""===e);if(n){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();i.search=n?`?${n}`:""}}e&&"."!==e||!a.route.index||(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index");"/"!==n&&(i.pathname="/"===i.pathname?n:bb([n,i.pathname]));return Zg(i)}(l,{relative:u}),b="get"===s.toLowerCase()?"get":"post",y="string"==typeof l&&xy.test(l);return o.createElement("form",{ref:m,method:b,action:g,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,o=r?.getAttribute("formmethod")||s;h(r||e.currentTarget,{fetcherKey:t,method:o,navigate:n,replace:a,state:i,relative:u,preventScrollReset:d,viewTransition:p})},...f,"data-discover":y||"render"!==e?void 0:"true"})});function Cy(e){let t=o.useContext(Eb);return qg(t,function(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}function ky(e){Yg("undefined"!=typeof URLSearchParams,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");
152let t=o.useRef(ty(e)),n=o.useRef(!1),r=Rb(),a=o.useMemo(()=>function(e,t){let n=ty(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}(r.search,n.current?null:t.current),[r.search]),i=Db(),s=o.useCallback((e,t)=>{const r=ty("function"==typeof e?e(a):e);n.current=!0,i("?"+r,t)},[i,a]);return[a,s]}Ey.displayName="Form";var Ty=0,Ay=()=>`__${String(++Ty)}__`;var Iy=t();const Ny=(e,t)=>{g(n=>{n.setTag("errorType",t.errorType),n.setTag("app","nodeflip"),t.fileName&&n.setTag("fileName",t.fileName),t.fileSize&&(n.setTag("fileSize",t.fileSize>1048576?"large":"normal"),n.setContext("file",{name:t.fileName,size:t.fileSize,sizeFormatted:Py(t.fileSize)})),t.userTier&&n.setTag("userTier",t.userTier),t.operation&&n.setTag("operation",t.operation),t.additionalData&&n.setContext("additional",t.additionalData),"string"==typeof e?b(e,"error"):S(e)})},_y=e=>{y({id:e.id,email:e.email,username:e.given_name&&e.family_name?`${e.given_name} ${e.family_name}`:e.email})},Ry=e=>{v("userTier",e),x("subscription",{tier:e})},Oy=(e,t,n)=>{g(r=>{r.setTag("performance","data_analysis"),r.setTag("operation",e),r.setTag("fileCount",Ly(n.fileCount)),r.setTag("totalSizeMB",Dy(n.totalSizeBytes)),r.setTag("hasLargeFiles",n.largestFileBytes>10485760),r.setTag("hasZipFiles",(n.zipFileCount||0)>0),r.setFingerprint(["performance",e,Ly(n.fileCount),Dy(n.totalSizeBytes)]),r.setContext("performanceMetrics",{operation:e,durationMs:t,durationSeconds:Math.round(t/1e3*100)/100,aggregateMetrics:{count:n.fileCount,totalSizeMB:Math.round(n.totalSizeBytes/1048576*100)/100,averageSizeMB:Math.round(n.averageSizeBytes/1048576*100)/100,largestSizeMB:Math.round(n.largestFileBytes/1048576*100)/100,hasXML:n.fileTypes.includes("xml"),hasJSON:n.fileTypes.includes("json"),hasZIP:(n.zipFileCount||0)>0,tolerance:n.tolerance},performanceStats:{filesPerSecond:Math.round(n.fileCount/(t/1e3)*100)/100,mbPerSecond:Math.round(n.totalSizeBytes/1048576/(t/1e3)*100)/100}});const a=t>15e3?"warning":"debug",o=`Data analysis: ${e} processed ${n.fileCount} files (${Math.round(n.totalSizeBytes/1048576)}MB) in ${Math.round(t/1e3)}s`;b(o,a)})};function Ly(e){return e<=5?"small":e<=20?"medium":e<=50?"large":"xlarge"}function Dy(e){const t=e/1048576;return t<=10?"small":t<=100?"medium":t<=500?"large":"xlarge"}const Py=e=>{if(0===e)return"0 Bytes";const t=Math.floor(Math.log(e)/Math.log(1024));return parseFloat((e/Math.pow(1024,t)).toFixed(2))+" "+["Bytes","KB","MB","GB"][t]},My=(e,t,n)=>{Ny(e,{errorType:"file_upload",fileName:t,fileSize:n,operation:"file_processing"})},jy=(e,t,n)=>{Ny(e,{errorType:"xml_parsing",fileName:t,operation:"xml_parsing",additionalData:{lineNumber:n}})},Fy=(e,t,n)=>{Ny(e,{errorType:"data_analysis",operation:t,additionalData:{recordCount:n}})},zy=e=>{Ny(e,{errorType:"authentication",operation:"authentication"})},$y=(e,t)=>{Ny(e,{errorType:"billing",operation:t})};class By{startTime;operation;enabled;constructor(e,t=!0){this.operation=e,this.enabled=t,this.startTime=performance.now()}complete(e,t=[],n){const r=performance.now()-this.startTime;return this.enabled&&setTimeout(()=>{const a=function(e,t=[],n){let r=0,a=0;const o=new Set;for(const i of e){let e=0;i.originalContentString?e=2*i.originalContentString.length:i.content&&"string"==typeof i.content?e=2*i.content.length:(i._rawParsedContent||i.data)&&(e=1024),r+=e,a=Math.max(a,e),o.add(i.type)}return{fileCount:e.length,totalSizeBytes:r,averageSizeBytes:e.length>0?r/e.length:0,largestFileBytes:a,fileTypes:Array.from(o),zipFileCount:t.length,tolerance:n}}(e,t,n);Oy(this.operation,r,a)},0),r}getElapsed(){return performance.now()-this.startTime}}const Uy=!0,Hy=()=>{const[e,t]=o.useState(""),{user:n}=Iy.useKindeAuth(),r=(e,n)=>{try{n(),t(`â
${e} - Sent to Sentry!`)}catch(r){t(`â ${e} - Failed: ${r}`)}},a=()=>{throw new Error("𧪠Test React Error from Sentry Test Page - Error Boundary should catch this!")},i=()=>{My(new Error("𧪠Test file processing error from test page"),"test-large-file.xml",26214400)},s=()=>{Fy(new Error("𧪠Test data analysis error from test page"),"structure_detection",5e3)},l=()=>{zy("𧪠Test authentication error from test page")},c=()=>{$y(new Error("𧪠Test billing error from test page"),"stripe_checkout")},u=()=>{const e=Date.now();setTimeout(()=>
152{((e,t,n)=>{t<=3e4||g(r=>{r.setTag("performance","slow_operation"),r.setTag("operation",e),r.setContext("performance",{operation:e,duration:t,...n}),b(`Extremely slow operation: ${e} took ${t}ms`,"error")})})("test_slow_operation",Date.now()-e+3e3,{fileSize:52428800,recordCount:1e5})},100)},d=()=>{n?(_y({id:n.id,email:n.email,given_name:n.givenName,family_name:n.familyName}),Ry("pro")):(_y({id:"test-user-123",email:"[email protected]",given_name:"Test",family_name:"User"}),Ry("free"))},p=()=>{jy(new Error("𧪠Test XML parsing error from test page"),"malformed-test.xml",1247)},f=()=>{const e=new By("test_data_analysis");setTimeout(()=>{const t=[{type:"json",content:"mock json content".repeat(1e3),originalContentString:"",_rawParsedContent:null},{type:"xml",content:"mock xml content".repeat(2e3),originalContentString:"",_rawParsedContent:null},{type:"csv",content:"mock csv content".repeat(1500),originalContentString:"",_rawParsedContent:null}];e.complete(t,[{type:"zip",content:"mock zip",originalContentString:"",_rawParsedContent:null}],.8)},100)};return _.jsx(pc,{sx:{maxWidth:800,margin:"0 auto",padding:3},children:_.jsx(lo,{sx:{p:4},children:_.jsxs(Sm,{spacing:3,children:[_.jsxs(pc,{children:[_.jsx(di,{variant:"h4",gutterBottom:!0,children:"ð§ Sentry Testing Dashboard"}),_.jsxs(di,{variant:"body1",color:"text.secondary",sx:{mb:2},children:["Comprehensive error tracking testing for Nodeflip. Access this page at ",_.jsx("code",{children:"/sentry-test"})," when deployed to Vercel."]}),_.jsxs(ai,{severity:"info",sx:{mb:3},children:[_.jsx("strong",{children:"How to use:"})," Click any button below to test different types of errors. Check your Sentry dashboard to verify they appear correctly with proper context."]}),n&&_.jsx(al,{label:`Logged in as: ${n.givenName} ${n.familyName} (${n.email})`,color:"primary",sx:{mb:2}}),_.jsxs(ai,{severity:"info",sx:{mb:2},children:[_.jsx("strong",{children:"Performance tracking:"})," ","Enabled",_.jsx("br",{}),_.jsx("small",{children:"To control email notifications, configure them in your Sentry Dashboard â User Settings â Notifications"})]})]}),e&&_.jsx(ai,{severity:e.startsWith("â
")?"success":"error",children:e}),_.jsx(Uu,{}),_.jsxs(pc,{children:[_.jsx(di,{variant:"h6",gutterBottom:!0,color:"error",children:"â ï¸ React & General Errors"}),_.jsxs(Sm,{direction:"row",spacing:2,sx:{mb:3},children:[_.jsx(Ec,{variant:"contained",color:"error",onClick:()=>r("React Error",a),children:"Test React Error"}),_.jsx(Ec,{variant:"contained",color:"warning",onClick:()=>r("Auth Error",l),children:"Test Auth Error"})]})]}),_.jsxs(pc,{children:[_.jsx(di,{variant:"h6",gutterBottom:!0,color:"warning.main",children:"ð File Processing Errors"}),_.jsxs(Sm,{direction:"row",spacing:2,sx:{mb:3},children:[_.jsx(Ec,{variant:"contained",color:"warning",onClick:()=>r("File Error",i),children:"Test File Error"}),_.jsx(Ec,{variant:"contained",color:"warning",onClick:()=>r("XML Error",p),children:"Test XML Error"})]})]}),_.jsxs(pc,{children:[_.jsx(di,{variant:"h6",gutterBottom:!0,color:"info.main",children:"ð Data Analysis & Performance"}),_.jsxs(Sm,{direction:"row",spacing:2,sx:{mb:3},children:[_.jsx(Ec,{variant:"contained",color:"info",onClick:()=>r("Analysis Error",s),children:"Test Analysis Error"}),_.jsx(Ec,{variant:"outlined",color:"info",onClick:()=>r("Performance Issue",u),children:"Test Performance"}),_.jsx(Ec,{variant:"contained",color:"info",onClick:()=>r("Data Analysis Performance",f),children:"Test Data Analysis Performance"})]})]}),_.jsxs(pc,{children:[_.jsx(di,{variant:"h6",gutterBottom:!0,color:"success.main",children:"ð³ Billing & Context"}),_.jsxs(Sm,{direction:"row",spacing:2,sx:{mb:3},children:[_.jsx(Ec,{variant:"contained",color:"success",onClick:()=>r("Billing Error",c),children:"Test Billing Error"}),_.jsx(Ec,{variant:"outlined",color:"success",onClick:()=>r("Set User Context",d),children:"Set User Context"})]})]}),_.jsx(Uu,{}),_.jsxs(pc,{children:[_.jsx(di,{variant:"h6",gutterBottom:!0,children:"ð Verification Steps"}),_.jsx(di,{variant:"body2",component:"div",children:_.jsxs("ol",{children:[_.jsx("li",{children:"Click any test button above"}),_.jsxs("li",{children:["Go to your ",_.jsx("strong",{children:"Sentry Dashboard"})]}),_.jsxs("li",{children:["Check ",_.jsx("strong",{children:"Issues"})," â Should see new errors with 𧪠prefix"]}),_.jsxs("li",{children:["Check ",_.jsx("strong",{children:"Performance"})," â Should see performance data"]}),_.jsxs("li",{children:["Check ",_.jsx("strong",{children:"Replays"})," â Should see session recordings"]}),_.jsxs("li",{children:["Verify proper ",_.jsx("strong",{children:"tags and context"})," are attached to errors"]})]})})]}),_.jsxs(ai,{severity:"warning",children:[_.jsx("strong",{children:"Production Note:"})," This page is accessible in all environments. Test errors will be marked with 𧪠emoji for easy identification in Sentry."]})]})})})},Vy="/assets/nodeflip_icon_dark_theme.svg",Wy="/assets/nodeflip_icon_light_theme.svg",Gy="_navItem_f9k89_28",qy="_active_f9k89_38",Yy="_navIcon_f9k89_47",Xy="_navText_f9k89_55",Ky="_navItemMinimized_f9k89_65",Zy=ga(_.jsx("path",{d:"M5 13h14v-2H5zm-2 4h14v-2H3zM7 7v2h14V7z"})),Jy=ga(_.jsx("path",{d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58
152L18 14z"})),Qy=ga(_.jsx("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"})),ev=ga(_.jsx("path",{d:"M18.41 5.8 17.2 4.59c-.78-.78-2.05-.78-2.83 0l-2.68 2.68L3 15.96V20h4.04l8.74-8.74 2.63-2.63c.79-.78.79-2.05 0-2.83M6.21 18H5v-1.21l8.66-8.66 1.21 1.21zM11 20l4-4h6v4z"})),tv=ga(_.jsx("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"})),nv=ga(_.jsx("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"})),rv="_filesSectionContainer_11b6j_2",av="_filesSectionHeader_11b6j_10",ov="_active_11b6j_26",iv="_filesContentArea_11b6j_36",sv="_filesIcon_11b6j_44",lv="_filesText_11b6j_54",cv="_buttonContainer_11b6j_66",uv="_buttonRow_11b6j_72",dv="_compactButton_11b6j_77";var pv=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function fv(e,t){return e===t||!(!pv(e)||!pv(t))}function mv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!fv(e[n],t[n]))return!1;return!0}function hv(e,t){var n;void 0===t&&(t=mv);var r,a=[],o=!1;return function(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];return o&&n===this&&t(i,a)||(r=e.apply(this,i),o=!0,n=this,a=i),r}}var gv="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function bv(e){cancelAnimationFrame(e.id)}var yv=-1;function vv(e){if(void 0===e&&(e=!1),-1===yv||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),yv=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return yv}var xv=null;function Sv(e){if(void 0===e&&(e=!1),null===xv||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),a=r.style;return a.width="100px",a.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?xv="positive-descending":(t.scrollLeft=1,xv=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),xv}return xv}var wv=function(e,t){return e};function Ev(e){var t,n=e.getItemOffset,r=e.getEstimatedTotalSize,a=e.getItemSize,i=e.getOffsetForIndexAndAlignment,s=e.getStartIndexForOffset,l=e.getStopIndexForStartIndex,u=e.initInstanceProps,d=e.shouldResetStyleCacheOnItemSizeChange,p=e.validateProps;return t=function(e){function t(t){var r;return(r=e.call(this,t)||this)._instanceProps=u(r.props,Ua(r)),r._outerRef=void 0,r._resetIsScrollingTimeoutId=null,r.state={instance:Ua(r),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof r.props.initialScrollOffset?r.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},r._callOnItemsRendered=void 0,r._callOnItemsRendered=hv(function(e,t,n,a){return r.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:n,visibleStopIndex:a})}),r._callOnScroll=void 0,r._callOnScroll=hv(function(e,t,n){return r.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:n})}),r._getItemStyle=void 0,r._getItemStyle=function(e){var t,o=r.props,i=o.direction,s=o.itemSize,l=o.layout,c=r._getItemStyleCache(d&&s,d&&l,d&&i);if(c.hasOwnProperty(e))t=c[e];else{var u=n(r.props,e,r._instanceProps),p=a(r.props,e,r._instanceProps),f="horizontal"===i||"horizontal"===l,m="rtl"===i,h=f?u:0;c[e]=t={position:"absolute",left:m?void 0:h,right:m?h:void 0,top:f?0:u,height:f?"100%":p,width:f?p:"100%"}}return t},r._getItemStyleCache=void 0,r._getItemStyleCache=hv(function(e,t,n){return{}}),r._onScrollHorizontal=function(e){var t=e.currentTarget,n=t.clientWidth,a=t.scrollLeft,o=t.scrollWidth;r.setState(function(e){if(e.scrollOffset===a)return null;var t=r.props.direction,i=a;if("rtl"===t)switch(Sv()){case"negative":i=-a;break;case"positive-descending":i=o-n-a}return i=Math.max(0,Math.min(i,o-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<i?"forward":"backward",scrollOffset:i,scrollUpdateWasRequested:!1}},r._resetIsScrollingDebounced)},r._onScrollVertical=function(e){var t=e.currentTarget,n=t.clientHeight,a=t.scrollHeight,o=t.scrollTop;r.setState(function(e){if(e.scrollOffset===o)return null;var t=Math.max(0,Math.min(o,a-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}},r._resetIsScrollingDebounced)},r._outerRefSetter=function(e){var t=r.props.outerRef;r._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},r._resetIsScrollingDebounced=function(){null!==r._resetIsScrollingTimeoutId&&bv(r._resetIsScrollingTimeoutId),r._resetIsScrollingTimeoutId=function(e,t){var n=gv(),r={id:requestAnimationFrame(function a(){gv()-n>=t?e.call(null):r.id=requestAnimationFrame(a)})};return r}(r._resetIsScrolling,150)},r._resetIsScrolling=function(){r._resetIsScrollingTimeoutId=null,r.setState({isScrolling:!1},function(){r._getItemStyleCache(-1,null)})},r}_a(t,e),t.getDerivedStateFromProps=function(e,t){return Cv(e,t),p(e),null};var f=t.prototype;return f.scrollTo=function(e){e=Math.max(0,e),this.setState(function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},f.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props,r=n.itemCount,a=n.layout,o=this.state.scrollOffset;e=Math.max(0,Math.min(e,r-1));var s=0;if(this._outerRef){var l=this._outerRef;s="vertical"===a?l.scrollWidth>l.clientWidth?vv():0:l.scrollHeight>l.clientHeight?vv():0}this.scrollTo(i(this.props,e,t,o,this._instanceProps,s))},f.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var a=this._outerRef;"horizontal"===t||"horizontal"===r?a.scrollLeft=n:a.scrollTop=n}this._callPropsCallbacks()},f.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,a=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var o=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(Sv()){case"negative":o.scrollLeft=-a;break;case"positive-ascending":o.scrollLeft=a;break;default:var i=o.clientWidth,s=o.scrollWidth;o.scrollLeft=s-i-a}else o.scrollLeft=a;else o.scrollTop=a}this._callPropsCallbacks()},f.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&bv(this._resetIsScrollingTimeoutId)},f.render=function(){var e=this.props,t=e.children,n=e.className,a=e.direction,i=e.he
vendor: 4,124 bytes, line 152
152ight,s=e.innerRef,l=e.innerElementType,u=e.innerTagName,d=e.itemCount,p=e.itemData,f=e.itemKey,m=void 0===f?wv:f,h=e.layout,g=e.outerElementType,b=e.outerTagName,y=e.style,v=e.useIsScrolling,x=e.width,S=this.state.isScrolling,w="horizontal"===a||"horizontal"===h,E=w?this._onScrollHorizontal:this._onScrollVertical,C=this._getRangeToRender(),k=C[0],T=C[1],A=[];if(d>0)for(var I=k;I<=T;I++)A.push(o.createElement(t,{data:p,key:m(I,p),index:I,isScrolling:v?S:void 0,style:this._getItemStyle(I)}));var N=r(this.props,this._instanceProps);return o.createElement(g||b||"div",{className:n,onScroll:E,ref:this._outerRefSetter,style:c({position:"relative",height:i,width:x,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:a},y)},o.createElement(l||u||"div",{children:A,ref:s,style:{height:w?"100%":N,pointerEvents:S?"none":void 0,width:w?N:"100%"}}))},f._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],a=e[3];this._callOnItemsRendered(t,n,r,a)}if("function"==typeof this.props.onScroll){var o=this.state,i=o.scrollDirection,s=o.scrollOffset,l=o.scrollUpdateWasRequested;this._callOnScroll(i,s,l)}},f._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,a=r.isScrolling,o=r.scrollDirection,i=r.scrollOffset;if(0===t)return[0,0,0,0];var c=s(this.props,i,this._instanceProps),u=l(this.props,c,i,this._instanceProps),d=a&&"backward"!==o?1:Math.max(1,n),p=a&&"forward"!==o?1:Math.max(1,n);return[Math.max(0,c-d),Math.max(0,Math.min(t-1,u+p)),c,u]},t}(o.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var Cv=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},kv=function(e,t,n){var r=e.itemSize,a=n.itemMetadataMap,o=n.lastMeasuredIndex;if(t>o){var i=0;if(o>=0){var s=a[o];i=s.offset+s.size}for(var l=o+1;l<=t;l++){var c=r(l);a[l]={offset:i,size:c},i+=c}n.lastMeasuredIndex=t}return a[t]},Tv=function(e,t,n,r,a){for(;r<=n;){var o=r+Math.floor((n-r)/2),i=kv(e,o,t).offset;if(i===a)return o;i<a?r=o+1:i>a&&(n=o-1)}return r>0?r-1:0},Av=function(e,t,n,r){for(var a=e.itemCount,o=1;n<a&&kv(e,n,t).offset<r;)n+=o,o*=2;return Tv(e,t,Math.min(n,a-1),Math.floor(n/2),r)},Iv=function(e,t){var n=e.itemCount,r=t.itemMetadataMap,a=t.estimatedItemSize,o=t.lastMeasuredIndex,i=0;if(o>=n&&(o=n-1),o>=0){var s=r[o];i=s.offset+s.size}return i+(n-o-1)*a},Nv=Ev({getItemOffset:function(e,t,n){return kv(e,t,n).offset},getItemSize:function(e,t,n){return n.itemMetadataMap[t].size},getEstimatedTotalSize:Iv,getOffsetForIndexAndAlignment:function(e,t,n,r,a,o){var i=e.direction,s=e.height,l=e.layout,c=e.width,u="horizontal"===i||"horizontal"===l?c:s,d=kv(e,t,a),p=Iv(e,a),f=Math.max(0,Math.min(p-u,d.offset)),m=Math.max(0,d.offset-u+d.size+o);switch("smart"===n&&(n=r>=m-u&&r<=f+u?"auto":"center"),n){case"start":return f;case"end":return m;case"center":return Math.round(m+(f-m)/2);default:return r>=m&&r<=f?r:r<m?m:f}},getStartIndexForOffset:function(e,t,n){return function(e,t,n){var r=t.itemMetadataMap,a=t.lastMeasuredIndex;return(a>0?r[a].offset:0)>=n?Tv(e,t,a,0,n):Av(e,t,Math.max(0,a),n)}(e,n,t)},getStopIndexForStartIndex:function(e,t,n,r){for(var a=e.direction,o=e.height,i=e.itemCount,s=e.layout,l=e.width,c="horizontal"===a||"horizontal"===s?l:o,u=kv(e,t,r),d=n+c,p=u.offset+u.size,f=t;f<i-1&&p<d;)f++,p+=kv(e,f,r).size;return f},initInstanceProps:function(e,t){var n={itemMetadataMap:{},estimatedItemSize:e.estimatedItemSize||50,lastMeasuredIndex:-1};return t.resetAfterIndex=function(e,r){void 0===r&&(r=!0),n.lastMeasuredIndex=Math.min(n.lastMeasuredIndex,e-1),t._getItemStyleCache(-1),r&&t.forceUpdate()},n},shouldResetStyleCacheOnItemSizeChange:!1,validateProps:function(e){e.itemSize}}),_v=Ev({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r,a,o){var i=e.direction,s=e.he
152ight,l=e.itemCount,c=e.itemSize,u=e.layout,d=e.width,p="horizontal"===i||"horizontal"===u?d:s,f=Math.max(0,l*c-p),m=Math.min(f,t*c),h=Math.max(0,t*c-p+c+o);switch("smart"===n&&(n=r>=h-p&&r<=m+p?"auto":"center"),n){case"start":return m;case"end":return h;case"center":var g=Math.round(h+(m-h)/2);return g<Math.ceil(p/2)?0:g>f+Math.floor(p/2)?f:g;default:return r>=h&&r<=m?r:r<h?h:m}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,a=e.height,o=e.itemCount,i=e.itemSize,s=e.layout,l=e.width,c=t*i,u="horizontal"===r||"horizontal"===s?l:a,d=Math.ceil((u+n-c)/i);return Math.max(0,Math.min(o-1,t+d-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});const Rv=ga(_.jsx("path",{d:"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8zm2 16H8v-2h8zm0-4H8v-2h8zm-3-5V3.5L18.5 9z"})),Ov=ga(_.jsx("path",{d:"M20 6h-8l-2-2H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2m-2 6h-2v2h2v2h-2v2h-2v-2h2v-2h-2v-2h2v-2h-2V8h2v2h2z"})),Lv=ga(_.jsx("path",{d:"M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"})),Dv="_fileListItem_1s3ep_1",Pv="_selected_1s3ep_8",Mv="_editing_1s3ep_13",jv="_fileActions_1s3ep_18",Fv="_listItemIcon_1s3ep_22",zv="_fileIcon_1s3ep_26",$v="_fileNameText_1s3ep_31",Bv="_zipToggleButton_1s3ep_45",Uv="_menuButton_1s3ep_49",Hv="_zipContentCollapse_1s3ep_62",Vv="_zipExtractButtonContainer_1s3ep_67",Wv="_internalFileListContainer_1s3ep_73",Gv="_internalFileRow_1s3ep_80",qv="_internalFileCheckbox_1s3ep_85",Yv="_internalFileName_1s3ep_90",Xv="_fileTypeBadge_1s3ep_95",Kv=l.memo(({index:e,style:t,data:n})=>{const{internalFiles:r,handleInternalFileSelect:a}=n,o=r[e];if(!o)return null;return _.jsxs(sp,{style:t,dense:!0,onClick:e=>e.stopPropagation(),className:Gv,children:[_.jsx(Hc,{size:"small",checked:o.selected,onChange:e=>{e.stopPropagation(),a(o.id,e.target.checked)},onClick:e=>e.stopPropagation(),className:qv}),_.jsx(hp,{primary:o.name,primaryTypographyProps:{noWrap:!0,className:Yv},title:o.pathInZip}),_.jsx(pc,{className:Xv,"data-file-type":o.fileType,children:(e=>{switch(e){case"xml":return"XML";case"json":return"JSON";default:return"file"}})(o.fileType)})]},o.id)});Kv.displayName="InternalFileRow";const Zv=l.memo(({file:e,isSelected:t,isEditing:n,onSelect:r,onToggleZip:a,onToggleInternalFile:i,onExtractFromZip:s,onMenuOpen:c,onCommitRename:u,onDelete:d,onStartRename:p})=>{const f=Rb(),[m,h]=l.useState(e.name),g=l.useRef(null);l.useEffect(()=>{if(n&&g.current){const t=g.current;t.focus();const n=e.name.match(/\.(xml|json|zip)$/i),r=n?e.name.lastIndexOf(n[0]):-1;r>0?t.setSelectionRange(0,r):t.select()}},[n,e.name]),l.useEffect(()=>{h(e.name)},[e.name]),l.useEffect(()=>{if(!t||n)return;const r=t=>{if(n)return;const r="/viewer"===f.pathname;("Delete"===t.key||"Backspace"===t.key&&(t.metaKey||t.ctrlKey))&&r&&(t.preventDefault(),d(e.id));const a="/"===f.pathname||"/viewer"===f.pathname,o=window.__nodeflipIsSourceEditing||!1,i=t.target instanceof HTMLInputElement||t.target instanceof HTMLTextAreaElement;(navigator.platform.toUpperCase().indexOf("MAC")>=0&&"Enter"===t.key||"F2"===t.key)&&(!a||o||i||(t.preventDefault(),p(e.id)))};return window.addEventListener("keydown",r),()=>{window.removeEventListener("keydown",r)}},[t,n,e.id,d,p,f.pathname]);const b=(t,n)=>{i(e.id,t)},y=o.useMemo(()=>e.internalFiles?.some(e=>e.selected)||!1,[e.internalFiles]),v=o.useMemo(()=>({internalFiles:e.internalFiles||[],handleInternalFileSelect:b}),[e.internalFiles,b]),x=e.isZip?_.jsx(Ov,{className:zv}):_.jsx(Rv,{className:zv});return _.jsxs(_.Fragment,{children:[_.jsx(sp,{id:`file-item-${e.id}`,className:`${Dv} ${n?Mv:t?Pv:""}`,disablePadding:!0,children:_.jsxs(tp,{onClick:()=>{n||(e.isZip?(a(e.id),t||r(e.id)):r(e.id))},title:e.name,sx:{py:.25,px:1,"&.MuiListItemButton-root":{backgroundColor:"transparent","&:hover":{backgroundColor:"action.hover"}}},children:[_.jsx(dp,{className:Fv,children:x}),_.jsx(pc,{sx:{flexGrow:1,overflow:"hidden",minWidth:0}
152,children:n?_.jsx(oh,{variant:"outlined",size:"small",value:m,onChange:e=>h(e.target.value),onKeyDown:t=>{"Enter"===t.key?(t.preventDefault(),t.stopPropagation(),u(e.id,m)):"Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),u(e.id,e.name))},onBlur:()=>{u(e.id,m)},onClick:e=>e.stopPropagation(),inputRef:g,sx:{width:"100%","& .MuiInputBase-root":{height:"32px",fontSize:"0.875rem",fontWeight:500,backgroundColor:e=>e.palette.background.paper},"& .MuiOutlinedInput-input":{padding:"4px 8px"}}}):_.jsx(hp,{primaryTypographyProps:{noWrap:!0,className:$v},children:e.name})}),_.jsxs(pc,{className:jv,children:[_.jsx(qo,{size:"small",className:Uv,onClick:t=>{t.stopPropagation(),c(t,e.id)},children:_.jsx(Lv,{fontSize:"small"})}),e.isZip&&_.jsx(qo,{size:"small",className:Bv,onClick:t=>{t.stopPropagation(),a(e.id)},disableRipple:!0,sx:{"&:hover, &:focus, &:active":{backgroundColor:"transparent"}},children:e.isExpanded?_.jsx(Jy,{}):_.jsx(Qy,{})})]})]})}),e.isZip&&_.jsxs(oo,{in:e.isExpanded,timeout:"auto",unmountOnExit:!0,className:Hv,children:[y&&_.jsx(pc,{className:Vv,children:_.jsxs(Ec,{variant:"outlined",size:"small",onClick:t=>{t.stopPropagation(),s(e.id)},children:["Extract Selected (",e.internalFiles?.filter(e=>e.selected).length,")"]})}),_.jsx(pc,{className:Wv,children:e.internalFiles&&e.internalFiles.length>0?_.jsx(_v,{height:Math.min(35*e.internalFiles.length,210),itemCount:e.internalFiles.length,itemSize:35,width:"100%",itemData:v,children:Kv}):_.jsx(hp,{secondary:"No XML or JSON files found in ZIP.",sx:{pl:2,py:1,fontSize:"0.8rem"}})})]})]})});Zv.displayName="FileListItem";const Jv="_fileListContainer_1yhgp_1";function Qv({files:e,selectedFileId:t,editingFileId:n,onFileSelect:r,onToggleZip:a,onToggleInternalFile:i,onExtractFromZip:s,onMenuOpen:l,onCommitRename:c,onDelete:u,onStartRename:d}){const p=Rb();return o.useEffect(()=>{const a=a=>{const o="/"===p.pathname||"/viewer"===p.pathname,i=window.__nodeflipIsSourceEditing||!1;if(!a.shiftKey||n||!o||i)return;const s=e.findIndex(e=>e.id===t);if(-1===s)return;let l=-1;"ArrowUp"===a.key?s>0&&(a.preventDefault(),l=s-1):"ArrowDown"===a.key&&s<e.length-1&&(a.preventDefault(),l=s+1),-1!==l&&r(e[l].id)};return window.addEventListener("keydown",a),()=>{window.removeEventListener("keydown",a)}},[e,t,n,r,p.pathname]),e&&0!==e.length?_.jsx(Kd,{dense:!0,className:Jv,children:e.map(e=>_.jsx(Zv,{file:e,isSelected:e.id===t,isEditing:e.id===n,onSelect:r,onToggleZip:a,onToggleInternalFile:i,onExtractFromZip:s,onMenuOpen:l,onCommitRename:c,onDelete:u,onStartRename:d},e.id))}):null}const ex=e=>{if(!e||"string"!=typeof e)throw new Error("Content must be a non-empty string");const t=e.trim();try{return JSON.parse(t)}catch(n){if(t.includes("\n"))try{const e=t.split("\n").filter(e=>e.trim());if(e.length>1){return e.map(e=>JSON.parse(e.trim()))}}catch(r){}try{let e=t;return e=e.replace(/([{,]\s*)([a-zA-Z_$][a-zA-Z0-9_$]*)\s*:/g,'$1"$2":'),e=e.replace(/^(\s*)([a-zA-Z_$][a-zA-Z0-9_$]*)\s*:/g,'$1"$2":'),JSON.parse(e)}catch(a){throw n}}},tx=e=>{if("string"!=typeof e||!e.trim().startsWith("<"))return!1;try{const t=(new DOMParser).parseFromString(e,"application/xml");return!t.querySelector("parsererror")}catch(yU){return!1}},nx=e=>{if("string"!=typeof e||!e.trim())return!1;const t=e.trim();if(t.startsWith("{")||t.startsWith("["))try{return JSON.parse(t),!0}catch(yU){}if(t.includes("\n"))try{const e=t.split("\n").filter(e=>e.trim());if(e.length>1){for(let t=0;t<Math.min(e.length,3);t++)JSON.parse(e[t].trim());return!0}}catch(yU){}if(t.includes(":")&&(t.includes("{")||t.includes("[")))try{return ex(t),!0}catch(yU){return!1}return!1},rx=({open:e,onClose:t,onSubmit:n})=>{const[r,a]=o.useState(""),[i,s]=o.useState(""),[l,c]=o.useState("xml"),[u,d]=o.useState(!1),p=e=>{const t=new Date;return`pasted_${`${t.getHours()}${t.getMinutes()}${t.getSeconds()}`}.${e}`};return o.useEffect(()=>{e&&(a(""),s(""),c("xml"),d(!1))},[e]),_.jsxs(Cu,{open:e,onClose:t,fullWidth:!0,maxWidth:"sm",children:[_.jsx(ju,{children:"Paste Content"}),_.jsxs(Ou,{dividers:!0,children:[_.jsx(oh,{autoFocus:!0,margin:"dense",id:"fileName",label:"File Name (e.g., data.xml)",type:"text",fullWidth:!0,variant:"outlined",value:r,onChange:e=>{a(e.target.value),d(!0)}
152,sx:{mb:2}}),_.jsxs(ed,{fullWidth:!0,sx:{mb:2},children:[_.jsx(Ld,{id:"type-hint-label",children:"File Type"}),_.jsxs(_f,{labelId:"type-hint-label",id:"typeHint",value:l,label:"File Type",onChange:e=>{const t=e.target.value;c(t),u||a(p(t))},children:[_.jsx(zp,{value:"xml",children:"XML"}),_.jsx(zp,{value:"json",children:"JSON"})]})]}),_.jsx(oh,{margin:"dense",id:"content",label:"Paste your XML or JSON content here",type:"text",fullWidth:!0,multiline:!0,rows:10,variant:"outlined",value:i,onChange:e=>{const t=e.target.value;s(t);let n=null;tx(t)?n="xml":nx(t)&&(n="json"),n&&(c(n),u||a(p(n)))}})]}),_.jsxs(Au,{children:[_.jsx(Ec,{onClick:t,children:"Cancel"}),_.jsx(Ec,{onClick:()=>{const e=r.trim()||p(l);i.trim()&&(n(i,e,l),t())},variant:"contained",disabled:!i.trim(),children:"Add File"})]})]})},ax=({open:e,title:t,message:n,onConfirm:r,onClose:a})=>_.jsxs(Cu,{open:e,onClose:a,"aria-labelledby":"confirm-dialog-title","aria-describedby":"confirm-dialog-description",children:[_.jsx(ju,{id:"confirm-dialog-title",children:t}),_.jsx(Ou,{children:_.jsx(Pu,{id:"confirm-dialog-description",children:n})}),_.jsxs(Au,{children:[_.jsx(Ec,{onClick:a,children:"Cancel"}),_.jsx(Ec,{onClick:r,color:"primary",autoFocus:!0,children:"Confirm"})]})]}),ox=e=>{const{isFilesActive:t,isFileUploadSectionVisible:n,onToggleVisibility:r,files:a,selectedFileId:i,isLoading:s,error:l,selectFile:c,addFilesFromInput:u,addPastedContent:d,getDragAndDropHandlers:p,removeFile:f,renameFile:m,clearAllFiles:h,clearError:g,toggleZipExpansion:b,toggleInternalFileSelect:y,extractSelectedFromZip:v}=e,[x,S]=o.useState(!1),[w,E]=o.useState(!1),C=o.useRef(null),[k,T]=o.useState(null),[A,I]=o.useState(null),N=Boolean(k),[R,O]=o.useState(null),L=()=>{T(null),I(null)};return _.jsxs(pc,{className:rv,children:[_.jsxs(pc,{onClick:r,className:`${av} ${t?ov:""}`,id:"files-section-header",children:[_.jsx(Ch,{className:`${sv} ${t?ov:""}`}),_.jsx(di,{variant:"body1",className:`${lv} ${t?ov:""}`,children:"Files"}),n?_.jsx(Jy,{color:"action"}):_.jsx(Qy,{color:"action"})]}),n&&_.jsxs(pc,{className:`${iv}`,children:[_.jsx(oo,{in:!!l,children:_.jsx(ai,{severity:"error",onClose:g,sx:{m:1,borderRadius:1},children:l})}),_.jsxs(pc,{className:cv,children:[_.jsxs(pc,{className:uv,children:[_.jsx(Ec,{id:"load-button1",startIcon:_.jsx(kh,{}),variant:"contained",size:"small",className:dv,fullWidth:!0,onClick:()=>{C.current&&C.current.click()},"data-navigate":"true",children:"LOAD"}),_.jsx(kd,{type:"file",onChange:e=>{const t=e.target.files;t&&t.length>0&&u(Array.from(t)),e.target&&(e.target.value="")},inputProps:{multiple:!0},inputRef:C,sx:{display:"none"}})]}),_.jsxs(pc,{className:uv,sx:{marginTop:"8px"},children:[_.jsx(Ec,{startIcon:_.jsx(tv,{}),variant:"outlined",size:"small",color:"warning",className:dv,fullWidth:!0,onClick:()=>{E(!0)},disabled:0===a.length,children:"CLEAR ALL"}),_.jsx(Ec,{startIcon:_.jsx(Th,{}),variant:"outlined",size:"small",className:dv,fullWidth:!0,onClick:()=>S(!0),"data-navigate":"true",children:"PASTE"})]})]}),_.jsx(Qv,{files:a,selectedFileId:i,editingFileId:R,onFileSelect:c,onToggleZip:b,onToggleInternalFile:y,onExtractFromZip:v,onMenuOpen:(e,t)=>{T(e.currentTarget),I(t)},onCommitRename:(e,t)=>{const n=t.trim();n&&m(e,n),O(null)},onDelete:f,onStartRename:e=>{O(e)}})]}),_.jsx(rx,{open:x,onClose:()=>
152S(!1),onSubmit:(e,t,n)=>{d(e,t,n)}}),_.jsx(ax,{open:w,onClose:()=>{E(!1)},onConfirm:()=>{h(),E(!1)},title:"Confirm Clear All",message:"Are you sure you want to remove all files? This action cannot be undone."}),_.jsxs(Pp,{anchorEl:k,open:N,onClose:L,MenuListProps:{"aria-labelledby":"file-actions-button"},children:[_.jsxs(zp,{onClick:()=>{if(!A)return;const e=a.find(e=>e.id===A);if(e){try{let t=null,n=e.name||"download";if(e.isZip)e.rawData&&(t=new Blob([e.rawData],{type:"application/zip"}),/\.zip$/i.test(n)||(n=`${n}.zip`));else if("string"==typeof e.sourceContent){const n="json"===e.fileType?"application/json":"xml"===e.fileType?"application/xml":"text/plain";t=new Blob([e.sourceContent],{type:n})}if(t){const e=URL.createObjectURL(t),r=document.createElement("a");r.href=e,r.download=n,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(e)}}catch(t){}L()}else L()},children:[_.jsx(dp,{children:_.jsx(nv,{fontSize:"small"})}),_.jsx(hp,{children:"Download"})]}),_.jsxs(zp,{onClick:()=>{A&&O(A),L()},children:[_.jsx(dp,{children:_.jsx(ev,{fontSize:"small"})}),_.jsx(hp,{children:"Rename"})]}),_.jsxs(zp,{onClick:()=>{A&&f(A),L()},children:[_.jsx(dp,{children:_.jsx(tv,{fontSize:"small"})}),_.jsx(hp,{children:"Delete"})]})]})]})};const ix={debug:(...e)=>{},info:(...e)=>{},warn:(...e)=>{},error:(...e)=>{}},sx={debug:(...e)=>{},info:(...e)=>{},warn:(...e)=>{},error:(...e)=>{}},lx=()=>{const e=!1;o.useEffect(()=>{"undefined"!=typeof window&&window.__USE_USER_TIER_OVERRIDE__&&(delete window.__USE_USER_TIER_OVERRIDE__,ix.debug("ð [SECURITY] Removed development override function from production"))},[e]);const{user:t,getPermission:n,getClaim:r,isLoading:a}=Iy.useKindeAuth(),[i,s]=o.useState({name:"Guest",file_count_limit:2,data_analysis_limit:2}),[l,c]=o.useState(!0),[u,d]=o.useState(0);return o.useEffect(()=>{(async()=>{if(c(!0),ix.debug("ð [BILLING DEBUG] Starting tier detection..."),ix.debug("ð [BILLING DEBUG] Auth loading:",a),ix.debug("ð [BILLING DEBUG] User object:",t),ix.debug("ð [BILLING DEBUG] Environment:","production"),ix.debug("ð [BILLING DEBUG] Kinde domain:","https://nodeflip.kinde.com"),a)return void ix.debug("â³ [BILLING DEBUG] Still authenticating, waiting...");if(!t)return ix.debug("ð¤ [BILLING DEBUG] No user - setting Guest tier"),s({name:"Guest",file_count_limit:2,data_analysis_limit:2}),void c(!1);ix.debug("â
[BILLING DEBUG] User authenticated:",{id:t.id,email:t.email,given_name:t.givenName,family_name:t.familyName});const e=await r("roles"),o=e?.value||[];ix.debug("ð [BILLING DEBUG] Raw roles claim:",e),ix.debug("ð [BILLING DEBUG] Parsed roles array:",o);const i=o.some(e=>"paid_tier"===e.key),l=o.some(e=>"registered_free_tier"===e.key);ix.debug("ð° [BILLING DEBUG] Has paid tier:",i),ix.debug("ð [BILLING DEBUG] Has free registered tier:",l);const u={roles:await r("roles"),permissions:await r("permissions"),organization_code:await r("organization_code"),feature_flags:await r("feature_flags"),sub:await r("sub"),aud:await r("aud"),exp:await r("exp"),iat:await r("iat"),iss:await r("iss")};if(ix.debug("ð [BILLING DEBUG] All available claims:",u),i){ix.debug("ð [BILLING DEBUG] User has paid tier - checking specific permissions...");const e=await n("module:data_analysis_pro_plus");if(ix.debug("ð [BILLING DEBUG] Pro+ permission check:",e),e?.isGranted)return ix.debug("â
[BILLING DEBUG] User has Pro+ permissions - setting Pro+ tier"),s({name:"Pro+",file_count_limit:1/0,data_analysis_limit:1/0}),void c(!1);const t=await n("module:data_analysis_pro");if(ix.debug("ð [BILLING DEBUG] Pro permission check:",t),t?.isGranted)return ix.debug("â
[BILLING DEBUG] User has Pro permissions - setting Pro tier"),s({name:"Pro",file_count_limit:1/0,data_analysis_limit:100}),void c(!1);const r=await n("file:open_unlimited"),a=await n("feature:zip_upload");return ix.debug("ð [BILLING DEBUG] Other paid permissions:",{unlimitedFiles:r,zipUpload:a}),ix.debug("â ï¸ [BILLING DEBUG] Paid tier but no specific permissions - setting Pro tier (fallback)"),s({name:"Pro",file_count_limit:1/0,data_analysis_limit:100}),void c(!1)}if(l){const e=await n("file:enforce_count_limit");if(e?.isGranted){const e=await r("file_count_limit"),t=e?.value?parseInt(e.value,10):10,n=isNaN(t)?10:t;return s({name:"Free",file_count_limit:n,data_analysis_limit:n}),void c(!1)}return s({name:"Free",file_count_limit:5,data_analysis_limit:5}),void c(!1)}ix.debug("[useUserTier] No recognized roles found, setting tier to Guest"),s({name:"Guest",file_count_limit:2,data_analysis_limit:2}),c(!1)})()},[t,a,u,false]),{tier:i,isLoading:l||a,refreshTier:()=>{ix.debug("ð [TIER REFRESH] Manually triggering tier refresh..."),d(e=>e+1)}}},cx=[];for(let fn=0;fn<256;++fn)cx.push((fn+256).toString(16).slice(1));let ux;const dx=new Uint8Array(16);const px={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function fx(e,t,n){if(px.randomUUID&&!e)return px.randomUUID();const r=(e=e||{}).random??e.rng?.()??function(){if(!ux){if("undefined"==typeof crypto||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");ux=crypto.getRandomValues.bind(crypto)}return ux(dx)}();if(r.length<16)throw new Error("Random bytes length must be >= 16");return r[6]=15&r[6]|64,r[8]=63&r[8]|128,function(e,t=0){return(cx[e[t+0]]+cx[e[t+1
vendor: 4,801 bytes, line 152
152]]+cx[e[t+2]]+cx[e[t+3]]+"-"+cx[e[t+4]]+cx[e[t+5]]+"-"+cx[e[t+6]]+cx[e[t+7]]+"-"+cx[e[t+8]]+cx[e[t+9]]+"-"+cx[e[t+10]]+cx[e[t+11]]+cx[e[t+12]]+cx[e[t+13]]+cx[e[t+14]]+cx[e[t+15]]).toLowerCase()}(r)}function mx(){return fx()}function hx(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var gx,bx={exports:{}};var yx=(gx||(gx=1,bx.exports=function e(t,n,r){function a(i,s){if(!n[i]){if(!t[i]){if(!s&&hx)return hx(i);if(o)return o(i,!0);var l=new Error("Cannot find module '"+i+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[i]={exports:{}};t[i][0].call(c.exports,function(e){return a(t[i][1][e]||e)},c,c.exports,e,t,n,r)}return n[i].exports}for(var o=hx,i=0;i<r.length;i++)a(r[i]);return a}({1:[function(e,t,n){var r=e("./utils"),a=e("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.encode=function(e){for(var t,n,a,i,s,l,c,u=[],d=0,p=e.length,f=p,m="string"!==r.getTypeOf(e);d<e.length;)f=p-d,a=m?(t=e[d++],n=d<p?e[d++]:0,d<p?e[d++]:0):(t=e.charCodeAt(d++),n=d<p?e.charCodeAt(d++):0,d<p?e.charCodeAt(d++):0),i=t>>2,s=(3&t)<<4|n>>4,l=1<f?(15&n)<<2|a>>6:64,c=2<f?63&a:64,u.push(o.charAt(i)+o.charAt(s)+o.charAt(l)+o.charAt(c));return u.join("")},n.decode=function(e){var t,n,r,i,s,l,c=0,u=0,d="data:";if(e.substr(0,d.length)===d)throw new Error("Invalid base64 input, it looks like a data url.");var p,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===o.charAt(64)&&f--,e.charAt(e.length-2)===o.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(p=a.uint8array?new Uint8Array(0|f):new Array(0|f);c<e.length;)t=o.indexOf(e.charAt(c++))<<2|(i=o.indexOf(e.charAt(c++)))>>4,n=(15&i)<<4|(s=o.indexOf(e.charAt(c++)))>>2,r=(3&s)<<6|(l=o.indexOf(e.charAt(c++))),p[u++]=t,64!==s&&(p[u++]=n),64!==l&&(p[u++]=r);return p}},{"./support":30,"./utils":32}],2:[function(e,t,n){var r=e("./external"),a=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),i=e("./stream/DataLengthProbe");function s(e,t,n,r,a){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=a}s.prototype={getContentWorker:function(){var e=new a(r.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new a(r.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},s.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new i("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new i("compressedSize")).withStreamInfo("compression",t)},t.exports=s},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var r=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new r("STORE compression")},uncompressWorker:function(){return new r("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var r=e("./utils"),a=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==r.getTypeOf(e)?function(e,t,n,r){var o=a,i=r+n;e^=-1;for(var s=r;s<i;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}(0|t,e,e.length,0):function(e,t,n,r){var o=a,i=r+n;e^=-1;for(var s=r;s<i;s++)e=e>>>8^o[255&(e^t.charCodeAt(s))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var r=null;r="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:r}},{lie:37}],7:[function(e,t,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,a=e("pako"),o=e("./utils"),i=e("./stream/GenericWorker"),s=r?"uint8array":"array";function l(e,t){i.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(l,i),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(s,e.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)}
vendor: 6,775 bytes, line 152
152,l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new a[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function r(e,t){var n,r="";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r}function a(e,t,n,a,i,u){var d,p,f=e.file,m=e.compression,h=u!==s.utf8encode,g=o.transformTo("string",u(f.name)),b=o.transformTo("string",s.utf8encode(f.name)),y=f.comment,v=o.transformTo("string",u(y)),x=o.transformTo("string",s.utf8encode(y)),S=b.length!==f.name.length,w=x.length!==y.length,E="",C="",k="",T=f.dir,A=f.date,I={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(I.crc32=e.crc32,I.compressedSize=e.compressedSize,I.uncompressedSize=e.uncompressedSize);var N=0;t&&(N|=8),h||!S&&!w||(N|=2048);var _=0,R=0;T&&(_|=16),"UNIX"===i?(R=798,_|=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16}(f.unixPermissions,T)):(R=20,_|=function(e){return 63&(e||0)}(f.dosPermissions)),d=A.getUTCHours(),d<<=6,d|=A.getUTCMinutes(),d<<=5,d|=A.getUTCSeconds()/2,p=A.getUTCFullYear()-1980,p<<=4,p|=A.getUTCMonth()+1,p<<=5,p|=A.getUTCDate(),S&&(C=r(1,1)+r(l(g),4)+b,E+="up"+r(C.length,2)+C),w&&(k=r(1,1)+r(l(v),4)+x,E+="uc"+r(k.length,2)+k);var O="";return O+="\n\0",O+=r(N,2),O+=m.magic,O+=r(d,2),O+=r(p,2),O+=r(I.crc32,4),O+=r(I.compressedSize,4),O+=r(I.uncompressedSize,4),O+=r(g.length,2),O+=r(E.length,2),{fileRecord:c.LOCAL_FILE_HEADER+O+g+E,dirRecord:c.CENTRAL_FILE_HEADER+r(R,2)+O+r(v.length,2)+"\0\0\0\0"+r(_,4)+r(a,4)+g+E+v}}var o=e("../utils"),i=e("../stream/GenericWorker"),s=e("../utf8"),l=e("../crc32"),c=e("../signature");function u(e,t,n,r){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(u,i),u.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},u.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=a(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=a(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+r(e.crc32,4)+r(e.compressedSize,4)+r(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,a=function(e,t,n,a,i){var s=o.transformTo("string",i(a));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+r(e,2)+r(e,2)+r(t,4)+r(n,4)+r(s.length,2)+s}(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:a,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on("error",function(e){t.error(e)}),this},u.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(e){var t=this._sources;if(!i.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},u.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=u},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,n){var r=e("../compressions"),a=e("./ZipFileWorker");n.generateWorker=function(e,t,n){var o=new a(t.streamFiles,n,t.platform,t.encodeFileName),i=0;try{e.forEach(function(e,n){i++;var a=function(e,t){var n=e||t,a=r[n];if(!a)throw new Error(n+" is not a valid compression method !");return a}(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},l=n.dir,c=n.date;n._compressWorker(a,s).withStreamInfo("file",{name:e,dir:l,date:c,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(o)}),o.entriesCount=i}catch(e){o.error(e)}return o}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,n){function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new r;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(r.prototype=e("./object")).loadAsync=e("./load"),r.support=e("./support"),r.defaults=e("./defaults"),r.version="3.10.1",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=e("./external"),t.exports=r},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,n){var r=e("./utils"),a=e("./external"),o=e("./utf8"),i=e("./zipEntries"),s=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function c(e){return new a.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new s);r.on("error",function(e){n(e)}).on("end",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error("Corrupted zip : CRC32 mismatch")):t()}).resume()})}t.exports=function(e,t){var n=this;return t=r.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),l.isNode&&l.isStream(e)?a.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):r.prepareContent("the loaded zip f
152ile",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new i(t);return n.load(e),n}).then(function(e){var n=[a.Promise.resolve(e)],r=e.files;if(t.checkCRC32)for(var o=0;o<r.length;o++)n.push(c(r[o]));return a.Promise.all(n)}).then(function(e){for(var a=e.shift(),o=a.files,i=0;i<o.length;i++){var s=o[i],l=s.fileNameStr,c=r.resolve(s.fileNameStr);n.file(c,s.decompressed,{binary:!0,optimizedBinaryString:!0,date:s.date,dir:s.dir,comment:s.fileCommentStr.length?s.fileCommentStr:null,unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions,createFolders:t.createFolders}),s.dir||(n.file(c).unsafeOriginalName=l)}return a.zipComment.length&&(n.comment=a.zipComment),n})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,n){var r=e("../utils"),a=e("../stream/GenericWorker");function o(e,t){a.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}r.inherits(o,a),o.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",function(e){t.push({data:e,meta:{percent:0}})}).on("error",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on("end",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},o.prototype.pause=function(){return!!a.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,n){var r=e("readable-stream").Readable;function a(e,t,n){r.call(this,t),this._helper=e;var a=this;e.on("data",function(e,t){a.push(e)||a._helper.pause(),n&&n(t)}).on("error",function(e){a.emit("error",e)}).on("end",function(){a.push(null)})}e("../utils").inherits(a,r),a.prototype._read=function(){this._helper.resume()},t.exports=a},{"../utils":32,"readable-stream":16}],14:[function(e,t,n){t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(e,t){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(e,t);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new Buffer(e,t)},allocBuffer:function(e){if(Buffer.alloc)return Buffer.alloc(e);var t=new Buffer(e);return t.fill(0),t},isBuffer:function(e){return Buffer.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,n){function r(e,t,n){var r,a=o.getTypeOf(t),s=o.extend(n||{},l);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),"string"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=h(e)),s.createFolders&&(r=m(e))&&g.call(this,r,!0);var d="string"===a&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!d),(t instanceof c&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t="",s.compression="STORE",a="string");var b=null;b=t instanceof c||t instanceof i?t:p.isNode&&p.isStream(t)?new f(e,t):o.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var y=new u(e,b,s);this.files[e]=y}var a=e("./utf8"),o=e("./utils"),i=e("./stream/GenericWorker"),s=e("./stream/StreamHelper"),l=e("./defaults"),c=e("./compressedObject"),u=e("./zipObject"),d=e("./generate"),p=e("./nodejsUtils"),f=e("./nodejs/NodejsStreamInputAdapter"),m=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},h=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},g=function(e,t){return t=void 0!==t?t:l.createFolders,e=h(e),this.files[e]||r.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function b(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var y={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,n,r;for(t in this.files)r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r)},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(1!==arguments.length)return e=this.root+e,r.call(this,e,t,n),this;if(b(e)){var a=e;return this.filter(function(e,t){return!t.dir&&a.test(e)})}var o=this.files[this.root+e];return o&&!o.dir?o:null},folder:function(e){if(!e)return this;if(b(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=g.call(this,t),r=this.clone();return r.root=n.name,r},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")}
vendor: 5,661 bytes, line 152
152,generateInternalStream:function(e){var t,n={};try{if((n=o.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:a.utf8encode})).type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),"binarystring"===n.type&&(n.type="string"),!n.type)throw new Error("No output type specified.");o.checkSupport(n.type),"darwin"!==n.platform&&"freebsd"!==n.platform&&"linux"!==n.platform&&"sunos"!==n.platform||(n.platform="UNIX"),"win32"===n.platform&&(n.platform="DOS");var r=n.comment||this.comment||"";t=d.generateWorker(this,n,r)}catch(e){(t=new i("error")).error(e)}return new s(t,n.type||"string",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=y},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,n){t.exports=e("stream")},{stream:void 0}],17:[function(e,t,n){var r=e("./DataReader");function a(e){r.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(a,r),a.prototype.byteAt=function(e){return this.data[this.zero+e]},a.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),a=e.charCodeAt(3),o=this.length-4;0<=o;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===a)return o-this.zero;return-1},a.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),a=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&a===o[3]},a.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=a},{"../utils":32,"./DataReader":18}],18:[function(e,t,n){var r=e("../utils");function a(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}a.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return r.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=a},{"../utils":32}],19:[function(e,t,n){var r=e("./Uint8ArrayReader");function a(e){r.call(this,e)}e("../utils").inherits(a,r),a.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=a},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var r=e("./DataReader");function a(e){r.call(this,e)}e("../utils").inherits(a,r),a.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},a.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},a.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},a.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=a},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var r=e("./ArrayReader");function a(e){r.call(this,e)}e("../utils").inherits(a,r),a.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=a},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var r=e("../utils"),a=e("../support"),o=e("./ArrayReader"),i=e("./StringReader"),s=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),"string"!==t||a.uint8array?"nodebuffer"===t?new s(e):a.uint8array?new l(r.transformTo("uint8array",e)):new o(r.transformTo("array",e)):new i(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER="PK��",n.CENTRAL_FILE_HEADER="PK��",n.CENTRAL_DIRECTORY_END="PK��",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK��",n.ZIP64_CENTRAL_DIRECTORY_END="PK��",n.DATA_DESCRIPTOR="PK�\b"},{}],24:[function(e,t,n){var r=e("./GenericWorker"),a=e("../utils");function o(e){r.call(this,"ConvertWorker to "+e),this.destType=e}a.inherits(o,r),o.prototype.processChunk=function(e){this.push({data:a.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var r=e("./GenericWorker"),a=e("../crc32");function o(){r.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,r),o.prototype.processChunk=function(e){this.streamInfo.crc32=a(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var r=e("../utils"),a=e("./GenericWorker");function o(e){a.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}
vendor: 4,668 bytes, line 152
152r.inherits(o,a),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}a.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var r=e("../utils"),a=e("./GenericWorker");function o(e){a.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=r.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}r.inherits(o,a),o.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!a.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,r.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(r.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function r(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",function(e){t.processChunk(e)}),e.on("end",function(){t.end()}),e.on("error",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=r},{}],29:[function(e,t,n){var r=e("../utils"),a=e("./ConvertWorker"),o=e("./GenericWorker"),i=e("../base64"),s=e("../support"),l=e("../external"),c=null;if(s.nodestream)try{c=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function u(e,t){return new l.Promise(function(n,a){var o=[],s=e._internalType,l=e._outputType,c=e._mimeType;e.on("data",function(e,n){o.push(e),t&&t(n)}).on("error",function(e){o=[],a(e)}).on("end",function(){try{var e=function(e,t,n){switch(e){case"blob":return r.newBlob(r.transformTo("arraybuffer",t),n);case"base64":return i.encode(t);default:return r.transformTo(e,t)}}(l,function(e,t){var n,r=0,a=null,o=0;for(n=0;n<t.length;n++)o+=t[n].length;switch(e){case"string":return t.join("");case"array":return Array.prototype.concat.apply([],t);case"uint8array":for(a=new Uint8Array(o),n=0;n<t.length;n++)a.set(t[n],r),r+=t[n].length;return a;case"nodebuffer":return Buffer.concat(t);default:throw new Error("concat : unsupported type '"+e+"'")}}
vendor: 6,148 bytes, line 152
152(s,o),c);n(e)}catch(e){a(e)}o=[]}).resume()})}function d(e,t,n){var i=t;switch(t){case"blob":case"arraybuffer":i="uint8array";break;case"base64":i="string"}try{this._internalType=i,this._outputType=t,this._mimeType=n,r.checkSupport(i),this._worker=e.pipe(new a(i)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}d.prototype={accumulate:function(e){return u(this,e)},on:function(e,t){var n=this;return"data"===e?this._worker.on(e,function(e){t.call(n,e.data,e.meta)}):this._worker.on(e,function(){r.delay(t,arguments,n)}),this},resume:function(){return r.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(r.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new c(this,{objectMode:"nodebuffer"!==this._outputType},e)}},t.exports=d},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,t,n){if(n.base64=!0,n.array=!0,n.string=!0,n.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,n.nodebuffer="undefined"!=typeof Buffer,n.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)n.blob=!1;else{var r=new ArrayBuffer(0);try{n.blob=0===new Blob([r],{type:"application/zip"}).size}catch(e){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);a.append(r),n.blob=0===a.getBlob("application/zip").size}catch(e){n.blob=!1}}}try{n.nodestream=!!e("readable-stream").Readable}catch(e){n.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,n){for(var r=e("./utils"),a=e("./support"),o=e("./nodejsUtils"),i=e("./stream/GenericWorker"),s=new Array(256),l=0;l<256;l++)s[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){i.call(this,"utf-8 decode"),this.leftOver=null}function u(){i.call(this,"utf-8 encode")}s[254]=s[254]=1,n.utf8encode=function(e){return a.nodebuffer?o.newBufferFrom(e,"utf-8"):function(e){var t,n,r,o,i,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=a.uint8array?new Uint8Array(l):new Array(l),o=i=0;i<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[i++]=n:(n<2048?t[i++]=192|n>>>6:(n<65536?t[i++]=224|n>>>12:(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63),t[i++]=128|n>>>6&63),t[i++]=128|63&n);return t}(e)},n.utf8decode=function(e){return a.nodebuffer?r.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,a,o,i=e.length,l=new Array(2*i);for(t=n=0;t<i;)if((a=e[t++])<128)l[n++]=a;else if(4<(o=s[a]))l[n++]=65533,t+=o-1;else{for(a&=2===o?31:3===o?15:7;1<o&&t<i;)a=a<<6|63&e[t++],o--;1<o?l[n++]=65533:a<65536?l[n++]=a:(a-=65536,l[n++]=55296|a>>10&1023,l[n++]=56320|1023&a)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),r.applyFromCharCode(l)}(e=r.transformTo(a.uint8array?"uint8array":"array",e))},r.inherits(c,i),c.prototype.processChunk=function(e){var t=r.transformTo(a.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var i=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+s[e[n]]>t?n:t}(t),l=t;i!==t.length&&(a.uint8array?(l=t.subarray(0,i),this.leftOver=t.subarray(i,t.length)):(l=t.slice(0,i),this.leftOver=t.slice(i,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=c,r.inherits(u,i),u.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=u},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var r=e("./support"),a=e("./base64"),o=e("./nodejsUtils"),i=e("./external");function s(e){return e}function l(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}e("setimmediate"),n.newBlob=function(t,r){n.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return a.append(t),a.getBlob(r)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(e,t,n){var r=[],a=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);for(;a<o;)"array"===t||"nodebuffer"===t?r.push(String.fromCharCode.apply(null,e.slice(a,Math.min(a+n,o)))):r.push(String.fromCharCode.apply(null,e.subarray(a,Math.min(a+n,o)))),a+=n;return r.join("")},stringifyByChar:function(e){for(var t="",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return r.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return r.nodebuffer&&1===String.fromCharCode.apply(null,o.allocBuffer(1)).length}catch(e){return!1}}()}};function u(e){var t=65536,r=n.getTypeOf(e),a=!0;if("uint8array"===r?a=c.applyCanBeUsed.uint8array:"nodebuffer"===r&&(a=c.applyCanBeUsed.nodebuffer),a)for(;1<t;)try{return c.stringifyByChunk(e,r,t)}catch(e){t=Math.floor(t/2)}return c.stringifyByChar(e)}function d(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}n.applyFromCharCode=u;var p={};p.string={string:s,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return p.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,o.allocBuffer(e.length))}},p.array={string:u,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(e)}}
vendor: 4,911 bytes, line 152
152,p.arraybuffer={string:function(e){return u(new Uint8Array(e))},array:function(e){return d(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return o.newBufferFrom(new Uint8Array(e))}},p.uint8array={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return o.newBufferFrom(e)}},p.nodebuffer={string:u,array:function(e){return d(e,new Array(e.length))},arraybuffer:function(e){return p.nodebuffer.uint8array(e).buffer},uint8array:function(e){return d(e,new Uint8Array(e.length))},nodebuffer:s},n.transformTo=function(e,t){if(t=t||"",!e)return t;n.checkSupport(e);var r=n.getTypeOf(t);return p[r][e](t)},n.resolve=function(e){for(var t=e.split("/"),n=[],r=0;r<t.length;r++){var a=t[r];"."===a||""===a&&0!==r&&r!==t.length-1||(".."===a?n.pop():n.push(a))}return n.join("/")},n.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":r.nodebuffer&&o.isBuffer(e)?"nodebuffer":r.uint8array&&e instanceof Uint8Array?"uint8array":r.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},n.checkSupport=function(e){if(!r[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},n.MAX_VALUE_16BITS=65535,n.MAX_VALUE_32BITS=-1,n.pretty=function(e){var t,n,r="";for(n=0;n<(e||"").length;n++)r+="\\x"+((t=e.charCodeAt(n))<16?"0":"")+t.toString(16).toUpperCase();return r},n.delay=function(e,t,n){setImmediate(function(){e.apply(n||null,t||[])})},n.inherits=function(e,t){function n(){}n.prototype=t.prototype,e.prototype=new n},n.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},n.prepareContent=function(e,t,o,s,c){return i.Promise.resolve(t).then(function(e){return r.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new i.Promise(function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)}):e}).then(function(t){var u=n.getTypeOf(t);return u?("arraybuffer"===u?t=n.transformTo("uint8array",t):"string"===u&&(c?t=a.decode(t):o&&!0!==s&&(t=function(e){return l(e,r.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):i.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,n){var r=e("./reader/readerFor"),a=e("./utils"),o=e("./signature"),i=e("./zipEntry"),s=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+a.pretty(t)+", expected "+a.pretty(e)+")")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4)===t;return this.reader.setIndex(n),r},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=s.uint8array?"uint8array":"array",n=a.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;
vendor: 4,643 bytes, line 152
152for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(e=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===a.MAX_VALUE_16BITS||this.diskWithCentralDirStart===a.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===a.MAX_VALUE_16BITS||this.centralDirRecords===a.MAX_VALUE_16BITS||this.centralDirSize===a.MAX_VALUE_32BITS||this.centralDirOffset===a.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(0<r)this.isSignature(t,o.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error("Corrupted zip: missing "+Math.abs(r)+" bytes.")},prepareReader:function(e){this.reader=r(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,n){var r=e("./reader/readerFor"),a=e("./utils"),o=e("./compressedObject"),i=e("./crc32"),s=e("./utf8"),l=e("./compressions"),c=e("./support");function u(e,t){this.options=e,this.loadOptions=t}u.prototype={isEncrypted:function(){return!(1&~this.bitFlag)},useUTF8:function(){return!(2048&~this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+a.pretty(this.compressionMethod)+" unknown (inner file : "+a.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=r(this.extraFields[1].value);
vendor: 2,524 bytes, line 152
152this.uncompressedSize===a.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===a.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===a.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===a.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,r,a=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<a;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r};e.setIndex(a)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=s.utf8decode(this.fileName),this.fileCommentStr=s.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=a.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var o=a.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=r(e.value);return 1!==t.readInt(1)||i(this.fileName)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=r(e.value);return 1!==t.readInt(1)||i(this.fileComment)!==t.readInt(4)?null:s.utf8decode(t.readData(e.length-5))}return null}},t.exports=u},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,n){function r(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var a=e("./stream/StreamHelper"),o=e("./stream/DataWorker"),i=e("./utf8"),s=e("./compressedObject"),l=e("./stream/GenericWorker");r.prototype={internalStream:function(e){var t=null,n="string";try{if(!e)throw new Error("No output type specified.");var r="string"===(n=e.toLowerCase())||"text"===n;"binarystring"!==n&&"text"!==n||(n="string"),t=this._decompressWorker();var o=!this._dataBinary;o&&!r&&(t=t.pipe(new i.Utf8EncodeWorker)),!o&&r&&(t=t.pipe(new i.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new a(t,n,"")},async:function(e,t){return this.internalStream(e).accumulate(t)}
vendor: 6,332 bytes, line 152
152,nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof s&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new i.Utf8EncodeWorker)),s.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof s?this._data.getContentWorker():this._data instanceof l?this._data:new o(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],u=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},d=0;d<c.length;d++)r.prototype[c[d]]=u;t.exports=r},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,n){(function(e){var n,r,a=e.MutationObserver||e.WebKitMutationObserver;if(a){var o=0,i=new a(u),s=e.document.createTextNode("");i.observe(s,{characterData:!0}),n=function(){s.data=o=++o%2}}else if(e.setImmediate||void 0===e.MessageChannel)n="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var l=new e.MessageChannel;l.port1.onmessage=u,n=function(){l.port2.postMessage(0)}}var c=[];function u(){var e,t;r=!0;for(var n=c.length;n;){for(t=c,c=[],e=-1;++e<n;)t[e]();n=c.length}r=!1}t.exports=function(e){1!==c.push(e)||r||n()}}).call(this,void 0!==h?h:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,n){var r=e("immediate");function a(){}var o={},i=["REJECTED"],s=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==a&&f(this,e)}function u(e,t,n){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function d(e,t,n){r(function(){var r;try{r=t(n)}catch(r){return o.reject(e,r)}r===e?o.reject(e,new TypeError("Cannot resolve promise with itself")):o.resolve(e,r)})}function p(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function f(e,t){var n=!1;function r(t){n||(n=!0,o.reject(e,t))}function a(t){n||(n=!0,o.resolve(e,t))}var i=m(function(){t(a,r)});"error"===i.status&&r(i.value)}function m(e,t){var n={};try{n.value=e(t),n.status="success"}catch(e){n.status="error",n.value=e}return n}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===s||"function"!=typeof t&&this.state===i)return this;var n=new this.constructor(a);return this.state!==l?d(n,this.state===s?e:t,this.outcome):this.queue.push(new u(n,e,t)),n},u.prototype.callFulfilled=function(e){o.resolve(this.promise,e)},u.prototype.otherCallFulfilled=function(e){d(this.promise,this.onFulfilled,e)},u.prototype.callRejected=function(e){o.reject(this.promise,e)},u.prototype.otherCallRejected=function(e){d(this.promise,this.onRejected,e)},o.resolve=function(e,t){var n=m(p,t);if("error"===n.status)return o.reject(e,n.value);var r=n.value;if(r)f(e,r);else{e.state=s,e.outcome=t;for(var a=-1,i=e.queue.length;++a<i;)e.queue[a].callFulfilled(t)}return e},o.reject=function(e,t){e.state=i,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:o.resolve(new this(a),e)},c.reject=function(e){var t=new this(a);return o.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var i=new Array(n),s=0,l=-1,c=new this(a);++l<n;)u(e[l],l);return c;function u(e,a){t.resolve(e).then(function(e){i[a]=e,++s!==n||r||(r=!0,o.resolve(c,i))},function(e){r||(r=!0,o.reject(c,e))})}},c.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var n=e.length,r=!1;if(!n)return this.resolve([]);for(var i,s=-1,l=new this(a);++s<n;)i=e[s],t.resolve(i).then(function(e){r||(r=!0,o.resolve(l,e))},function(e){r||(r=!0,o.reject(l,e))});return l}},{immediate:36}],38:[function(e,t,n){var r={};(0,e("./lib/utils/common").assign)(r,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=r},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,n){var r=e("./zlib/deflate"),a=e("./utils/common"),o=e("./utils/strings"),i=e("./zlib/messages"),s=e("./zlib/zstream"),l=Object.prototype.toString,c=0,u=-1,d=0,p=8;function f(e){if(!(this instanceof f))return new f(e);this.options=a.assign({level:u,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==c)throw new Error(i[n]);if(t.header&&r.deflateSetHeader(this.strm,t.header),t.dictionary){var m;if(m="string"==typeof t.dictionary?o.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=r.deflateSetDictionary(this.strm,m))!==c)throw new Error(i[n]);this._dict_set=!0}}function m(e,t){var n=new f(t);if(n.push(e,!0),n.err)throw n.msg||i[n.err];return n.result}f.prototype.push=function(e,t){var n,i,s=this.strm,u=this.options.chunkSize;if(this.ended)return!1;i=t===~~t?t:!0===t?4:0,"string"==typeof e?s.input=o.string2buf(e):"[object ArrayBuffer]"===l.call(e)?s.input=new
vendor: 5,532 bytes, line 152
152Uint8Array(e):s.input=e,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new a.Buf8(u),s.next_out=0,s.avail_out=u),1!==(n=r.deflate(s,i))&&n!==c)return this.onEnd(n),!(this.ended=!0);0!==s.avail_out&&(0!==s.avail_in||4!==i&&2!==i)||("string"===this.options.to?this.onData(o.buf2binstring(a.shrinkBuf(s.output,s.next_out))):this.onData(a.shrinkBuf(s.output,s.next_out)))}while((0<s.avail_in||0===s.avail_out)&&1!==n);return 4===i?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===c):2!==i||(this.onEnd(c),!(s.avail_out=0))},f.prototype.onData=function(e){this.chunks.push(e)},f.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Deflate=f,n.deflate=m,n.deflateRaw=function(e,t){return(t=t||{}).raw=!0,m(e,t)},n.gzip=function(e,t){return(t=t||{}).gzip=!0,m(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,n){var r=e("./zlib/inflate"),a=e("./utils/common"),o=e("./utils/strings"),i=e("./zlib/constants"),s=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),u=Object.prototype.toString;function d(e){if(!(this instanceof d))return new d(e);this.options=a.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&!(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,t.windowBits);if(n!==i.Z_OK)throw new Error(s[n]);this.header=new c,r.inflateGetHeader(this.strm,this.header)}function p(e,t){var n=new d(t);if(n.push(e,!0),n.err)throw n.msg||s[n.err];return n.result}d.prototype.push=function(e,t){var n,s,l,c,d,p,f=this.strm,m=this.options.chunkSize,h=this.options.dictionary,g=!1;if(this.ended)return!1;s=t===~~t?t:!0===t?i.Z_FINISH:i.Z_NO_FLUSH,"string"==typeof e?f.input=o.binstring2buf(e):"[object ArrayBuffer]"===u.call(e)?f.input=new Uint8Array(e):f.input=e,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new a.Buf8(m),f.next_out=0,f.avail_out=m),(n=r.inflate(f,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&h&&(p="string"==typeof h?o.string2buf(h):"[object ArrayBuffer]"===u.call(h)?new Uint8Array(h):h,n=r.inflateSetDictionary(this.strm,p)),n===i.Z_BUF_ERROR&&!0===g&&(n=i.Z_OK,g=!1),n!==i.Z_STREAM_END&&n!==i.Z_OK)return this.onEnd(n),!(this.ended=!0);f.next_out&&(0!==f.avail_out&&n!==i.Z_STREAM_END&&(0!==f.avail_in||s!==i.Z_FINISH&&s!==i.Z_SYNC_FLUSH)||("string"===this.options.to?(l=o.utf8border(f.output,f.next_out),c=f.next_out-l,d=o.buf2string(f.output,l),f.next_out=c,f.avail_out=m-c,c&&a.arraySet(f.output,f.output,l,c,0),this.onData(d)):this.onData(a.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(g=!0)}while((0<f.avail_in||0===f.avail_out)&&n!==i.Z_STREAM_END);return n===i.Z_STREAM_END&&(s=i.Z_FINISH),s===i.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===i.Z_OK):s!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),!(f.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===i.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=a.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},n.Inflate=d,n.inflate=p,n.inflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},n.ungzip=p},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,n){var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;n.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}}return e},n.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var a={arraySet:function(e,t,n,r,a){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),a);else for(var o=0;o<r;o++)e[a+o]=t[n+o]},flattenChunks:function(e){var t,n,r,a,o,i;for(t=r=0,n=e.length;t<n;t++)r+=e[t].length;for(i=new Uint8Array(r),t=a=0,n=e.length;t<n;t++)o=e[t],i.set(o,a),a+=o.length;return i}},o={arraySet:function(e,t,n,r,a){for(var o=0;o<r;o++)e[a+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};n.setTyped=function(e){e?(n.Buf8=Uint8Array,n.Buf16=Uint16Array,n.Buf32=Int32Array,n.assign(n,a)):(n.Buf8=Array,n.Buf16=Array,n.Buf32=Array,n.assign(n,o))},n.setTyped(r)},{}],42:[function(e,t,n){var r=e("./common"),a=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(e){a=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){o=!1}for(var i=new r.Buf8(256),s=0;s<256;s++)i[s]=252<=s?6:248<=s?5:240<=s?4:224<=s?3:192<=s?2:1;function l(e,t){if(t<65537&&(e.subarray&&o||!e.subarray&&a))return String.fromCharCode.apply(null,r.shrinkBuf(e,t));for(var n="",i=0;i<t;i++)n+=String.fromCharCode(e[i]);return n}i[254]=i[254]=1,n.string2buf=function(e){var t,n,a,o,i,s=e.length,l=0;for(o=0;o<s;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(a=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(a-56320),o++),l+=n<128?1:n<2048?2:n<65536?3:4;for(t=new r.Buf8(l),o=i=0;
vendor: 5,090 bytes, line 152
152i<l;o++)55296==(64512&(n=e.charCodeAt(o)))&&o+1<s&&56320==(64512&(a=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(a-56320),o++),n<128?t[i++]=n:(n<2048?t[i++]=192|n>>>6:(n<65536?t[i++]=224|n>>>12:(t[i++]=240|n>>>18,t[i++]=128|n>>>12&63),t[i++]=128|n>>>6&63),t[i++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new r.Buf8(e.length),n=0,a=t.length;n<a;n++)t[n]=e.charCodeAt(n);return t},n.buf2string=function(e,t){var n,r,a,o,s=t||e.length,c=new Array(2*s);for(n=r=0;n<s;)if((a=e[n++])<128)c[r++]=a;else if(4<(o=i[a]))c[r++]=65533,n+=o-1;else{for(a&=2===o?31:3===o?15:7;1<o&&n<s;)a=a<<6|63&e[n++],o--;1<o?c[r++]=65533:a<65536?c[r++]=a:(a-=65536,c[r++]=55296|a>>10&1023,c[r++]=56320|1023&a)}return l(c,r)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0||0===n?t:n+i[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,r){for(var a=65535&e,o=e>>>16&65535,i=0;0!==n;){for(n-=i=2e3<n?2e3:n;o=o+(a=a+t[r++]|0)|0,--i;);a%=65521,o%=65521}return a|o<<16}},{}],44:[function(e,t,n){t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,n){var r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,a){var o=r,i=a+n;e^=-1;for(var s=a;s<i;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}},{}],46:[function(e,t,n){var r,a=e("../utils/common"),o=e("./trees"),i=e("./adler32"),s=e("./crc32"),l=e("./messages"),c=0,u=4,d=0,p=-2,f=-1,m=4,h=2,g=8,b=9,y=286,v=30,x=19,S=2*y+1,w=15,E=3,C=258,k=C+E+1,T=42,A=113,I=1,N=2,_=3,R=4;function O(e,t){return e.msg=l[t],t}function L(e){return(e<<1)-(4<e?9:0)}function D(e){for(var t=e.length;0<=--t;)e[t]=0}function P(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(a.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function M(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,P(e.strm)}function j(e,t){e.pending_buf[e.pending++]=t}function F(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function z(e,t){var n,r,a=e.max_chain_length,o=e.strstart,i=e.prev_length,s=e.nice_match,l=e.strstart>e.w_size-k?e.strstart-(e.w_size-k):0,c=e.window,u=e.w_mask,d=e.prev,p=e.strstart+C,f=c[o+i-1],m=c[o+i];e.prev_length>=e.good_match&&(a>>=2),s>e.lookahead&&(s=e.lookahead);do{if(c[(n=t)+i]===m&&c[n+i-1]===f&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<p);if(r=C-(p-o),o=p-C,i<r){if(e.match_start=t,s<=(i=r))break;f=c[o+i-1],m=c[o+i]}}}while((t=d[t&u])>l&&0!=--a);return i<=e.lookahead?i:e.lookahead}function $(e){var t,n,r,o,l,c,u,d,p,f,m=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-k)){for(a.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;r=e.head[--t],e.head[t]=m<=r?r-m:0,--n;);for(t=n=m;r=e.prev[--t],e.prev[t]=m<=r?r-m:0,--n;);o+=m}if(0===e.strm.avail_in)break;if(c=e.strm,u=e.window,d=e.strstart+e.lookahead,f=void 0,(p=o)<(f=c.avail_in)&&(f=p),n=0===f?0:(c.avail_in-=f,a.arraySet(u,c.input,c.next_in,f,d),1===c.state.wrap?c.adler=i(c.adler,u,f,d):2===c.state.wrap&&(c.adler=s(c.adler,u,f,d)),c.next_in+=f,c.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=E)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+E-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<E)););}while(e.lookahead<k&&0!==e.strm.avail_in)}function B(e,t){for(var n,r;;){if(e.lookahead<k){if($(e),e.lookahead<k&&t===c)return I;if(0===e.lookahead)break}if(n=0,e.lookahead>=E&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-k&&(e.match_length=z(e,n)),e.match_length>=E)if(r=o._tr_tally(e,e.strstart-e.match_start,e.match_length-E),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=E){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;
vendor: 8,961 bytes, line 152
152else r=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(M(e,!1),0===e.strm.avail_out))return I}return e.insert=e.strstart<E-1?e.strstart:E-1,t===u?(M(e,!0),0===e.strm.avail_out?_:R):e.last_lit&&(M(e,!1),0===e.strm.avail_out)?I:N}function U(e,t){for(var n,r,a;;){if(e.lookahead<k){if($(e),e.lookahead<k&&t===c)return I;if(0===e.lookahead)break}if(n=0,e.lookahead>=E&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=E-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-k&&(e.match_length=z(e,n),e.match_length<=5&&(1===e.strategy||e.match_length===E&&4096<e.strstart-e.match_start)&&(e.match_length=E-1)),e.prev_length>=E&&e.match_length<=e.prev_length){for(a=e.strstart+e.lookahead-E,r=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-E),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+E-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=E-1,e.strstart++,r&&(M(e,!1),0===e.strm.avail_out))return I}else if(e.match_available){if((r=o._tr_tally(e,0,e.window[e.strstart-1]))&&M(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return I}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=o._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<E-1?e.strstart:E-1,t===u?(M(e,!0),0===e.strm.avail_out?_:R):e.last_lit&&(M(e,!1),0===e.strm.avail_out)?I:N}function H(e,t,n,r,a){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=a}function V(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=g,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new a.Buf16(2*S),this.dyn_dtree=new a.Buf16(2*(2*v+1)),this.bl_tree=new a.Buf16(2*(2*x+1)),D(this.dyn_ltree),D(this.dyn_dtree),D(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new a.Buf16(w+1),this.heap=new a.Buf16(2*y+1),D(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new a.Buf16(2*y+1),D(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function W(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=h,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?T:A,e.adler=2===t.wrap?0:1,t.last_flush=c,o._tr_init(t),d):O(e,p)}function G(e){var t=W(e);return t===d&&function(e){e.window_size=2*e.w_size,D(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=E-1,e.match_available=0,e.ins_h=0}(e.state),t}function q(e,t,n,r,o,i){if(!e)return p;var s=1;if(t===f&&(t=6),r<0?(s=0,r=-r):15<r&&(s=2,r-=16),o<1||b<o||n!==g||r<8||15<r||t<0||9<t||i<0||m<i)return O(e,p);8===r&&(r=9);var l=new V;return(e.state=l).strm=e,l.wrap=s,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=o+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+E-1)/E),l.window=new a.Buf8(2*l.w_size),l.head=new a.Buf16(l.hash_size),l.prev=new a.Buf16(l.w_size),l.lit_bufsize=1<<o+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new a.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=i,l.method=n,G(e)}r=[new H(0,0,0,0,function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if($(e),0===e.lookahead&&t===c)return I;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,M(e,!1),0===e.strm.avail_out))return I;if(e.strstart-e.block_start>=e.w_size-k&&(M(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(M(e,!0),0===e.strm.avail_out?_:R):(e.strstart>e.block_start&&(M(e,!1),e.strm.avail_out),I)}),new H(4,4,8,4,B),new H(4,5,16,8,B),new H(4,6,32,32,B),new H(4,4,16,16,U),new H(8,16,32,32,U),new H(8,16,128,128,U),new H(8,32,128,256,U),new H(32,128,258,1024,U),new H(32,258,258,4096,U)],n.deflateInit=function(e,t){return q(e,t,g,15,8,0)},n.deflateInit2=q,n.deflateReset=G,n.deflateResetKeep=W,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?p:(e.state.gzhead=t,d):p},n.deflate=function(e,t){var n,a,i,l;if(!e||!e.state||5<t||t<0)return e?O(e,p):p;if(a=e.state,!e.output||!e.input&&0!==e.avail_in||666===a.status&&t!==u)return O(e,0===e.avail_out?-5:p);if(a.strm=e,n=a.last_flush,a.last_flush=t,a.status===T)if(2===a.wrap)e.adler=0,j(a,31),j(a,139),j(a,8),a.gzhead?(j(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),j(a,255&a.gzhead.time),j(a,a.gzhead.time>>8&255),j(a,a.gzhead.time>>16&255),j(a,a.gzhead.time>>24&255),j(a,9===a.level?2:2<=a.strategy||a.level<2?4:0),j(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(j(a,255&a.gzhead.extra.length),j(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=s(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69):(j(a,0),j(a,0),j(a,0),j(a,0),j(a,0),j(a,9===a.level?2:2<=a.strategy||a.level<2?4:0),j(a,3),a.status=A);else{var f=g+(a.w_bits-8<<4)<<8;f|=(2<=a.strategy||a.level<2?0:a.level<6?1:6===a.level?2:3)<<6,0!==a.strstart&&(f|=32),f+=31-f%31,a.status=A,F(a,f),0!==a.strstart&&(F(a,e.adler>>>16),F(a,65535&e.adler)),e.adler=1}if(69===a.status)if(a.gzhead.extra){for(i=a.pending;a.gzindex<(65535&a.gzhead.extra.length)&&(a.pending!==a.pending_buf_size||(a.gzhead.hcrc&&a.pending>i&&(e.adler=s(e.adler,a.pending_buf,a.pending-i,i)),P(e),i=a.pending,a.pending!==a.pending_buf_size));)j(a,255&a.gzhead.extra[a.gzindex]),a.gzindex++;a.gzhead.hcrc&&a.pending>i&&(e.adler=s(e.adler,a.pending_buf,a.pending-i,i)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=73)}else a.status=73;if(73===a.status)if(a.gzhead.name){i=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>i&&(e.adler=s(e.adler,a.pending_buf,a.pending-i,i)),P(e),i=a.pending,a.pending===a.pending_buf_size)){l=1;break}l=a.gzindex<a.gzhead.name.length?255&a.gzhead.name.charCodeAt(a.gzindex++):0,j(a,l)}while(0!==l);a.gzhead.hcrc&&a.pending>i&&(e.adler=s(e.adler,a.pending_buf,a.pending-i,i)),0===l&&(a.gzindex=0,a.status=91)}else a.status=91;if(91===a.status)if(a.gzhead.comment){i=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>i&&(e.adler=s(e.adler,a.pending_buf,a.pending-i,i)),P(e),i=a.pending,a.pending===a.pending_buf_size)){l=1;break}l=a.gzindex<a.gzhead.comment.length?255&a.gzhead.comment.charCodeAt(a.gzindex++):0,j(a,l)}while(0!==l);a.gzhead.hcrc&&a.pending>i&&(e.adler=s(e.adler,a.pending_buf,a.pending-i,i)),0===l&&(a.status=103)}else a.status=103;if(103===a.status&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&P(e),a.pending+2<=a.pending_buf_size&&(j(a,255&e.adler),j(a,e.adler>>8&255),e.adler=0,a.status=A)):a.status=A),0!==a.pending){if(P(e),0===e.avail_out)return a.last_flush=-1,d}else if(0===e.avail_in&&L(t)<=L(n)&&t!==u)return O(e,-5);if(666===a.status&&0!==e.avail_in)return O(e,-5);if(0!==e.avail_in||0!==a.lookahead||t!==c&&666!==a.status){var m=2===a.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&($(e),0===e.lookahead)){if(t===c)return I;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(M(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(M(e,!0),0===e.strm.avail_out?_:R):e.last_lit&&(M(e,!1),0===e.strm.avail_out)?I:N}(a,t):3===a.strategy?function(e,t){for(var n,r,a,i,s=e.window;;){if(e.lookahead<=C){if($(e),e.lookahead<=C&&t===c)return I;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=E&&0<e.strstart&&(r=s[a=e.strstart-1])===s[++a]&&r===s[++a]&&r===s[++a]){i=e.strstart+C;do{}while(r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&r===s[++a]&&a<i);e.match_length=C-(i-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=E?(n=o._tr_tally(e,1,e.match_length-E),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.
vendor: 17,777 bytes, line 152
152window[e.strstart]),e.lookahead--,e.strstart++),n&&(M(e,!1),0===e.strm.avail_out))return I}return e.insert=0,t===u?(M(e,!0),0===e.strm.avail_out?_:R):e.last_lit&&(M(e,!1),0===e.strm.avail_out)?I:N}(a,t):r[a.level].func(a,t);if(m!==_&&m!==R||(a.status=666),m===I||m===_)return 0===e.avail_out&&(a.last_flush=-1),d;if(m===N&&(1===t?o._tr_align(a):5!==t&&(o._tr_stored_block(a,0,0,!1),3===t&&(D(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),P(e),0===e.avail_out))return a.last_flush=-1,d}return t!==u?d:a.wrap<=0?1:(2===a.wrap?(j(a,255&e.adler),j(a,e.adler>>8&255),j(a,e.adler>>16&255),j(a,e.adler>>24&255),j(a,255&e.total_in),j(a,e.total_in>>8&255),j(a,e.total_in>>16&255),j(a,e.total_in>>24&255)):(F(a,e.adler>>>16),F(a,65535&e.adler)),P(e),0<a.wrap&&(a.wrap=-a.wrap),0!==a.pending?d:1)},n.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==T&&69!==t&&73!==t&&91!==t&&103!==t&&t!==A&&666!==t?O(e,p):(e.state=null,t===A?O(e,-3):d):p},n.deflateSetDictionary=function(e,t){var n,r,o,s,l,c,u,f,m=t.length;if(!e||!e.state)return p;if(2===(s=(n=e.state).wrap)||1===s&&n.status!==T||n.lookahead)return p;for(1===s&&(e.adler=i(e.adler,t,m,0)),n.wrap=0,m>=n.w_size&&(0===s&&(D(n.head),n.strstart=0,n.block_start=0,n.insert=0),f=new a.Buf8(n.w_size),a.arraySet(f,t,m-n.w_size,n.w_size,0),t=f,m=n.w_size),l=e.avail_in,c=e.next_in,u=e.input,e.avail_in=m,e.next_in=0,e.input=t,$(n);n.lookahead>=E;){for(r=n.strstart,o=n.lookahead-(E-1);n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+E-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++,--o;);n.strstart=r,n.lookahead=E-1,$(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=E-1,n.match_available=0,e.next_in=c,e.input=u,e.avail_in=l,n.wrap=s,d},n.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,n){t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,n){t.exports=function(e,t){var n,r,a,o,i,s,l,c,u,d,p,f,m,h,g,b,y,v,x,S,w,E,C,k,T;n=e.state,r=e.next_in,k=e.input,a=r+(e.avail_in-5),o=e.next_out,T=e.output,i=o-(t-e.avail_out),s=o+(e.avail_out-257),l=n.dmax,c=n.wsize,u=n.whave,d=n.wnext,p=n.window,f=n.hold,m=n.bits,h=n.lencode,g=n.distcode,b=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{m<15&&(f+=k[r++]<<m,m+=8,f+=k[r++]<<m,m+=8),v=h[f&b];t:for(;;){if(f>>>=x=v>>>24,m-=x,0==(x=v>>>16&255))T[o++]=65535&v;else{if(!(16&x)){if(!(64&x)){v=h[(65535&v)+(f&(1<<x)-1)];continue t}if(32&x){n.mode=12;break e}e.msg="invalid literal/length code",n.mode=30;break e}S=65535&v,(x&=15)&&(m<x&&(f+=k[r++]<<m,m+=8),S+=f&(1<<x)-1,f>>>=x,m-=x),m<15&&(f+=k[r++]<<m,m+=8,f+=k[r++]<<m,m+=8),v=g[f&y];n:for(;;){if(f>>>=x=v>>>24,m-=x,!(16&(x=v>>>16&255))){if(!(64&x)){v=g[(65535&v)+(f&(1<<x)-1)];continue n}e.msg="invalid distance code",n.mode=30;break e}if(w=65535&v,m<(x&=15)&&(f+=k[r++]<<m,(m+=8)<x&&(f+=k[r++]<<m,m+=8)),l<(w+=f&(1<<x)-1)){e.msg="invalid distance too far back",n.mode=30;break e}if(f>>>=x,m-=x,(x=o-i)<w){if(u<(x=w-x)&&n.sane){e.msg="invalid distance too far back",n.mode=30;break e}if(C=p,(E=0)===d){if(E+=c-x,x<S){for(S-=x;T[o++]=p[E++],--x;);E=o-w,C=T}}else if(d<x){if(E+=c+d-x,(x-=d)<S){for(S-=x;T[o++]=p[E++],--x;);if(E=0,d<S){for(S-=x=d;T[o++]=p[E++],--x;);E=o-w,C=T}}}else if(E+=d-x,x<S){for(S-=x;T[o++]=p[E++],--x;);E=o-w,C=T}for(;2<S;)T[o++]=C[E++],T[o++]=C[E++],T[o++]=C[E++],S-=3;S&&(T[o++]=C[E++],1<S&&(T[o++]=C[E++]))}else{for(E=o-w;T[o++]=T[E++],T[o++]=T[E++],T[o++]=T[E++],2<(S-=3););S&&(T[o++]=T[E++],1<S&&(T[o++]=T[E++]))}break}}break}}while(r<a&&o<s);r-=S=m>>3,f&=(1<<(m-=S<<3))-1,e.next_in=r,e.next_out=o,e.avail_in=r<a?a-r+5:5-(r-a),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=f,n.bits=m}},{}],49:[function(e,t,n){var r=e("../utils/common"),a=e("./adler32"),o=e("./crc32"),i=e("./inffast"),s=e("./inftrees"),l=1,c=2,u=0,d=-2,p=1,f=852,m=592;function h(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function b(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=p,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new r.Buf32(f),t.distcode=t.distdyn=new r.Buf32(m),t.sane=1,t.back=-1,u):d}function y(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,b(e)):d}function v(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?d:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,y(e))):d}function x(e,t){var n,r;return e?(r=new g,(e.state=r).window=null,(n=v(e,t))!==u&&(e.state=null),n):d}var S,w,E=!0;function C(e){if(E){var t;for(S=new r.Buf32(512),w=new r.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(s(l,e.lens,0,288,S,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;s(c,e.lens,0,32,w,0,e.work,{bits:5}),E=!1}e.lencode=S,e.lenbits=9,e.distcode=w,e.distbits=5}function k(e,t,n,a){var o,i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new r.Buf8(i.wsize)),a>=i.wsize?(r.arraySet(i.window,t,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):(a<(o=i.wsize-i.wnext)&&(o=a),r.arraySet(i.window,t,n-a,o,i.wnext),(a-=o)?(r.arraySet(i.window,t,n-a,a,0),i.wnext=a,i.whave=i.wsize):(i.wnext+=o,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=o))),0}n.inflateReset=y,n.inflateReset2=v,n.inflateResetKeep=b,n.inflateInit=function(e){return x(e,15)},n.inflateInit2=x,n.inflate=function(e,t){var n,f,m,g,b,y,v,x,S,w,E,T,A,I,N,_,R,O,L,D,P,M,j,F,z=0,$=new r.Buf8(4),B=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return d;12===(n=e.state).mode&&(n.mode=13),b=e.next_out,m=e.output,v=e.avail_out,g=e.next_in,f=e.input,y=e.avail_in,x=n.hold,S=n.bits,w=y,E=v,M=u;e:for(;;)switch(n.mode){case p:if(0===n.wrap){n.mode=13;break}for(;S<16;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}if(2&n.wrap&&35615===x){$[n.check=0]=255&x,$[1]=x>>>8&255,n.check=o(n.check,$,2,0),S=x=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&x)<<8)+(x>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&x)){e.msg="unknown compression method",n.mode=30;break}if(S-=4,P=8+(15&(x>>>=4)),0===n.wbits)n.wbits=P;else if(P>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1<<P,e.adler=n.check=1,n.mode=512&x?10:12,S=x=0;break;case 2:for(;S<16;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}if(n.flags=x,8!=(255&n.flags)){e.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){e.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=x>>8&1),512&n.flags&&($[0]=255&x,$[1]=x>>>8&255,n.check=o(n.check,$,2,0)),S=x=0,n.mode=3;case 3:for(;S<32;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}n.head&&(n.head.time=x),512&n.flags&&($[0]=255&x,$[1]=x>>>8&255,$[2]=x>>>16&255,$[3]=x>>>24&255,n.check=o(n.check,$,4,0)),S=x=0,n.mode=4;case 4:for(;S<16;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}n.head&&(n.head.xflags=255&x,n.head.os=x>>8),512&n.flags&&($[0]=255&x,$[1]=x>>>8&255,n.check=o(n.check,$,2,0)),S=x=0,n.mode=5;case 5:if(1024&n.flags){for(;S<16;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}n.length=x,n.head&&(n.head.extra_len=x),512&n.flags&&($[0]=255&x,$[1]=x>>>8&255,n.check=o(n.check,$,2,0)),S=x=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(y<(T=n.length)&&(T=y),T&&(n.head&&(P=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,f,g,T,P)),512&n.flags&&(n.check=o(n.check,f,T,g)),y-=T,g+=T,n.length-=T),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===y)break e;for(T=0;P=f[g+T++],n.head&&P&&n.length<65536&&(n.head.name+=String.fromCharCode(P)),P&&T<y;);if(512&n.flags&&(n.check=o(n.check,f,T,g)),y-=T,g+=T,P)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===y)break e;for(T=0;P=f[g+T++],n.head&&P&&n.length<65536&&(n.head.comment+=String.fromCharCode(P)),P&&T<y;);if(512&n.flags&&(n.check=o(n.check,f,T,g)),y-=T,g+=T,P)break e}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;S<16;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}if(x!==(65535&n.check)){e.msg="header crc mismatch",n.mode=30;break}S=x=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;S<32;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}e.adler=n.check=h(x),S=x=0,n.mode=11;case 11:if(0===n.havedict)return e.next_out=b,e.avail_out=v,e.next_in=g,e.avail_in=y,n.hold=x,n.bits=S,2;e.adler=n.check=1,n.mode=12;case 12:if(5===t||6===t)break e;case 13:if(n.last){x>>>=7&S,S-=7&S,n.mode=27;break}for(;S<3;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}switch(n.last=1&x,S-=1,3&(x>>>=1)){case 0:n.mode=14;break;case 1:if(C(n),n.mode=20,6!==t)break;x>>>=2,S-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}x>>>=2,S-=2;break;case 14:for(x>>>=7&S,S-=7&S;S<32;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}if((65535&x)!=(x>>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&x,S=x=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(T=n.length){if(y<T&&(T=y),v<T&&(T=v),0===T)break e;r.arraySet(m,f,g,T,b),y-=T,g+=T,v-=T,b+=T,n.length-=T;break}n.mode=12;break;case 17:for(;S<14;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}if(n.nlen=257+(31&x),x>>>=5,S-=5,n.ndist=1+(31&x),x>>>=5,S-=5,n.ncode=4+(15&x),x>>>=4,S-=4,286<n.nlen||30<n.ndist){e.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;S<3;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}n.lens[B[n.have++]]=7&x,x>>>=3,S-=3}for(;n.have<19;)n.lens[B[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,j={bits:n.lenbits},M=s(0,n.lens,0,19,n.lencode,0,n.work,j),n.lenbits=j.bits,M){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;_=(z=n.lencode[x&(1<<n.lenbits)-1])>>>16&255,R=65535&z,!((N=z>>>24)<=S);){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}if(R<16)x>>>=N,S-=N,n.lens[n.have++]=R;else{if(16===R){for(F=N+2;S<F;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}if(x>>>=N,S-=N,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}P=n.lens[n.have-1],T=3+(3&x),x>>>=2,S-=2}else if(17===R){for(F=N+3;S<F;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}S-=N,P=0,T=3+(7&(x>>>=N)),x>>>=3,S-=3}else{for(F=N+7;S<F;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}S-=N,P=0,T=11+(127&(x>>>=N)),x>>>=7,S-=7}if(n.have+T>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;T--;)n.lens[n.have++]=P}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,j={bits:n.lenbits},M=s(l,n.lens,0,n.nlen,n.lencode,0,n.work,j),n.lenbits=j.bits,M){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,j={bits:n.distbits},M=s(c,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,j),n.distbits=j.bits,M){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=y&&258<=v){e.next_out=b,e.avail_out=v,e.next_in=g,e.avail_in=y,n.hold=x,n.bits=S,i(e,E),b=e.next_out,m=e.output,v=e.avail_out,g=e.next_in,f=e.input,y=e.avail_in,x=n.hold,S=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;_=(z=n.lencode[x&(1<<n.lenbits)-1])>>>16&255,R=65535&z,!((N=z>>>24)<=S);){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}if(_&&!(240&_)){for(O=N,L=_,D=R;_=(z=n.lencode[D+((x&(1<<O+L)-1)>>O)])>>>16&255,R=65535&z,!(O+(N=z>>>24)<=S);){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}x>>>=O,S-=O,n.back+=O}if(x>>>=N,S-=N,n.back+=N,n.length=R,0===_){n.mode=26;break}if(32&_){n.back=-1,n.mode=12;break}if(64&_){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&_,n.mode=22;case 22:if(n.extra){for(F=n.extra;S<F;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}n.length+=x&(1<<n.extra)-1,x>>>=n.extra,S-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;_=(z=n.distcode[x&(1<<n.distbits)-1])>>>16&255,R=65535&z,!((N=z>>>24)<=S);){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}if(!(240&_)){for(O=N,L=_,D=R;_=(z=n.distcode[D+((x&(1<<O+L)-1)>>O)])>>>16&255,R=65535&z,!(O+(N=z>>>24)<=S);){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}x>>>=O,S-=O,n.back+=O}if(x>>>=N,S-=N,n.back+=N,64&_){e.msg="invalid distance code",n.mode=30;break}n.offset=R,n.extra=15&_,n.mode=24;case 24:if(n.extra){for(F=n.extra;S<F;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}n.offset+=x&(1<<n.extra)-1,x>>>=n.extra,S-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===v)break e;if(T=E-v,n.offset>T){if((T=n.offset-T)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}A=T>n.wnext?(T-=n.wnext,n.wsize-T):n.wnext-T,T>n.length&&(T=n.length),I=n.window}else I=m,A=b-n.offset,T=n.length;for(v<T&&(T=v),v-=T,n.length-=T;m[b++]=I[A++],--T;);0===n.length&&(n.mode=21);break;case 26:if(0===v)break e;m[b++]=n.length,v--,n.mode=21;break;case 27:if(n.wrap){for(;S<32;){if(0===y)break e;y--,x|=f[g++]<<S,S+=8}if(E-=v,e.total_out+=E,n.total+=E,E&&(e.adler=n.check=n.flags?o(n.check,m,E,b-E):a(n.check,m,E,b-E)),E=v,(n.flags?x:h(x))!==n.check){e.msg="incorrect data check",n.mode=30;break}S=x=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;S<32;){if(0===y)break e;y--,x+=f[g++]<<S,S+=8}if(x!==(4294967295&n.total)){e.msg="incorrect length check",n.mode=30;break}S=x=0}n.mode=29;case 29:M=1;break e;case 30:M=-3;break e;case 31:return-4;default:return d}return e.next_out=b,e.avail_out=v,e.next_in=g,e.avail_in=y,n.hold=x,n.bits=S,(n.wsize||E!==e.avail_out&&n.mode<30&&(n.mode<27||4!==t))&&k(e,e.output,e.next_out,E-e.avail_out)?(n.mode=31,-4):(w-=e.avail_in,E-=e.avail_out,e.total_in+=w,e.total_out+=E,n.total+=E,n.wrap&&E&&(e.adler=n.check=n.flags?o(n.check,m,E,e.next_out-E):a(n.check,m,E,e.next_out-E)),e.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0==w&&0===E||4===t)&&M===u&&(M=-5),M)},n.inflateEnd=function(e){if(!e||!e.state)return d;var t=e.state;return t.window&&(t.window=null),e.state=null,u},n.inflateGetHeader=function(e,t){var n;return e&&e.state&&2&(n=e.state).wrap?((n.head=t).done=!1,u):d},n.inflateSetDictionary=function(e,t){var n,r=t.length;return e&&e.state?0!==(n=e.state).wrap&&11!==n.mode?d:11===n.mode&&a(1,t,r,0)!==n.check?-3:k(e,t,r,r)?(n.mode=31,-4):(n.havedict=1,u):d},n.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,n){var r=e("../utils/common"),a=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,n,l,c,u,d,p){var f,m,h,g,b,y,v,x,S,w=p.bits,E=0,C=0,k=0,T=0,A=0,I=0,N=0,_=0,R=0,O=0,L=null,D=0,P=new r.Buf16(16),M=new r.Buf16(16),j=null,F=0;for(E=0;E<=15;E++)P[E]=0;for(C=0;C<l;C++)P[t[n+C]]++;for(A=w,T=15;1<=T&&0===P[T];T--);if(T<A&&(A=T),0===T)return c[u++]=20971520,c[u++]=20971520,p.bits=1,0;for(k=1;k<T&&0===P[k];k++);for(A<k&&(A=k),E=_=1;E<=15;E++)if(_<<=1,(_-=P[E])<0)return-1;if(0<_&&(0===e||1!==T))return-1;for(M[1]=0,E=1;E<15;E++)M[E+1]=M[E]+P[E];for(C=0;C<l;C++)0!==t[n+C]&&(d[M[t[n+C]]++]=C);if(y=0===e?(L=j=d,19):1===e?(L=a,D-=257,j=o,F-=257,256):(L=i,j=s,-1),E=k,b=u,N=C=O=0,h=-1,g=(R=1<<(I=A))-1,1===e&&852<R||2===e&&592<R)return 1;for(;;){for(v=E-N,S=d[C]<y?(x=0,d[C]):d[C]>y?(x=j[F+d[C]],L[D+d[C]]):(x=96,0),f=1<<E-N,k=m=1<<I;c[b+(O>>N)+(m-=f)]=v<<24|x<<16|S,0!==m;);for(f=1<<E-1;O&f;)f>>=1;if(0!==f?(O&=f-1,O+=f):O=0,C++,0==--P[E]){if(E===T)break;E=t[n+d[C]]}if(A<E&&(O&g)!==h){for(0===N&&(N=A),b+=k,_=1<<(I=E-N);I+N<T&&!((_-=P[I+N])<=0);)I++,_<<=1;if(R+=1<<I,1===e&&852<R||2===e&&592<R)return 1;c[h=O&g]=A<<24|I<<16|b-u}}return 0!==O&&(c[b+O]=E-N<<24|64<<16),p.bits=A,0}},{"../utils/common":41}],51:[function(e,t,n){t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,n){var r=e("../utils/common"),a=0,o=1;function i(e){for(var t=e.length;0<=--t;)e[t]=0}var s=0,l=29,c=256,u=c+1+l,d=30,p=19,f=2*u+1,m=15,h=16,g=7,b=256,y=16,v=17,x=18,S=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],w=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],E=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],C=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],k=new Array(2*(u+2));i(k);var T=new Array(2*d);i(T);var A=new Array(512);i(A);var I=new Array(256);i(I);var N=new Array(l);i(N);var _,R,O,L=new Array(d);function D(e,t,n,r,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=a,this.has_stree=e&&e.length}function P(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function M(e){return e<256?A[e]:A[256+(e>>>7)]}
vendor: 4,434 bytes, line 152
152function j(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function F(e,t,n){e.bi_valid>h-n?(e.bi_buf|=t<<e.bi_valid&65535,j(e,e.bi_buf),e.bi_buf=t>>h-e.bi_valid,e.bi_valid+=n-h):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function z(e,t,n){F(e,n[2*t],n[2*t+1])}function $(e,t){for(var n=0;n|=1&e,e>>>=1,n<<=1,0<--t;);return n>>>1}function B(e,t,n){var r,a,o=new Array(m+1),i=0;for(r=1;r<=m;r++)o[r]=i=i+n[r-1]<<1;for(a=0;a<=t;a++){var s=e[2*a+1];0!==s&&(e[2*a]=$(o[s]++,s))}}function U(e){var t;for(t=0;t<u;t++)e.dyn_ltree[2*t]=0;for(t=0;t<d;t++)e.dyn_dtree[2*t]=0;for(t=0;t<p;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*b]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function H(e){8<e.bi_valid?j(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function V(e,t,n,r){var a=2*t,o=2*n;return e[a]<e[o]||e[a]===e[o]&&r[t]<=r[n]}function W(e,t,n){for(var r=e.heap[n],a=n<<1;a<=e.heap_len&&(a<e.heap_len&&V(t,e.heap[a+1],e.heap[a],e.depth)&&a++,!V(t,r,e.heap[a],e.depth));)e.heap[n]=e.heap[a],n=a,a<<=1;e.heap[n]=r}function G(e,t,n){var r,a,o,i,s=0;if(0!==e.last_lit)for(;r=e.pending_buf[e.d_buf+2*s]<<8|e.pending_buf[e.d_buf+2*s+1],a=e.pending_buf[e.l_buf+s],s++,0===r?z(e,a,t):(z(e,(o=I[a])+c+1,t),0!==(i=S[o])&&F(e,a-=N[o],i),z(e,o=M(--r),n),0!==(i=w[o])&&F(e,r-=L[o],i)),s<e.last_lit;);z(e,b,t)}function q(e,t){var n,r,a,o=t.dyn_tree,i=t.stat_desc.static_tree,s=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=f,n=0;n<l;n++)0!==o[2*n]?(e.heap[++e.heap_len]=c=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)o[2*(a=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[a]=0,e.opt_len--,s&&(e.static_len-=i[2*a+1]);for(t.max_code=c,n=e.heap_len>>1;1<=n;n--)W(e,o,n);for(a=l;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],W(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*a]=o[2*n]+o[2*r],e.depth[a]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=a,e.heap[1]=a++,W(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,r,a,o,i,s,l=t.dyn_tree,c=t.max_code,u=t.stat_desc.static_tree,d=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,h=t.stat_desc.extra_base,g=t.stat_desc.max_length,b=0;for(o=0;o<=m;o++)e.bl_count[o]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<f;n++)g<(o=l[2*l[2*(r=e.heap[n])+1]+1]+1)&&(o=g,b++),l[2*r+1]=o,c<r||(e.bl_count[o]++,i=0,h<=r&&(i=p[r-h]),s=l[2*r],e.opt_len+=s*(o+i),d&&(e.static_len+=s*(u[2*r+1]+i)));if(0!==b){do{for(o=g-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[g]--,b-=2}while(0<b);for(o=g;0!==o;o--)for(r=e.bl_count[o];0!==r;)c<(a=e.heap[--n])||(l[2*a+1]!==o&&(e.opt_len+=(o-l[2*a+1])*l[2*a],l[2*a+1]=o),r--)}}(e,t),B(o,c,e.bl_count)}function Y(e,t,n){var r,a,o=-1,i=t[1],s=0,l=7,c=4;for(0===i&&(l=138,c=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)a=i,i=t[2*(r+1)+1],++s<l&&a===i||(s<c?e.bl_tree[2*a]+=s:0!==a?(a!==o&&e.bl_tree[2*a]++,e.bl_tree[2*y]++):s<=10?e.bl_tree[2*v]++:e.bl_tree[2*x]++,o=a,c=(s=0)===i?(l=138,3):a===i?(l=6,3):(l=7,4))}function X(e,t,n){var r,a,o=-1,i=t[1],s=0,l=7,c=4;for(0===i&&(l=138,c=3),r=0;r<=n;r++)if(a=i,i=t[2*(r+1)+1],!(++s<l&&a===i)){if(s<c)for(;z(e,a,e.bl_tree),0!=--s;);else 0!==a?(a!==o&&(z(e,a,e.bl_tree),s--),z(e,y,e.bl_tree),F(e,s-3,2)):s<=10?(z(e,v,e.bl_tree),F(e,s-3,3)):(z(e,x,e.bl_tree),F(e,s-11,7));o=a,c=(s=0)===i?(l=138,3):a===i?(l=6,3):(l=7,4)}}i(L);var K=!1;function Z(e,t,n,a){F(e,(s<<1)+(a?1:0),3),function(e,t,n){H(e),j(e,n),j(e,~n),r.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}(e,t,n)}n._tr_init=function(e){K||(function(){var e,t,n,r,a,o=new Array(m+1);for(r=n=0;r<l-1;r++)for(N[r]=n,e=0;e<1<<S[r];e++)I[n++]=r;for(I[n-1]=r,r=a=0;r<16;r++)for(L[r]=a,e=0;e<1<<w[r];e++)A[a++]=r;for(a>>=7;r<d;r++)for(L[r]=a<<7,e=0;e<1<<w[r]-7;e++)A[256+a++]=r;for(t=0;t<=m;t++)o[t]=0;for(e=0;e<=143;)k[2*e+1]=8,e++,o[8]++;for(;e<=255;)k[2*e+1]=9,e++,o[9]++;for(;e<=279;)k[2*e+1]=7,e++,o[7]++;for(;e<=287;)k[2*e+1]=8,e++,o[8]++;for(B(k,u+1,o),e=0;e<d;e++)T[2*e+1]=5,T[2*e]=$(e,5);_=new D(k,S,c+1,u,m),R=new D(T,w,0,d,m),O=new D(new Array(0),E,0,p,g)}(),K=!0),e.l_desc=new P(e.dyn_ltree,_),e.d_desc=new P(e.dyn_dtree,R),e.bl_desc=new P(e.bl_tree,O),e.bi_buf=0,e.bi_valid=0,U(e)},n._tr_stored_block=Z,n._tr_flush_block=function(e,t,n,r){var i,s,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return a;
152if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return o;for(t=32;t<c;t++)if(0!==e.dyn_ltree[2*t])return o;return a}(e)),q(e,e.l_desc),q(e,e.d_desc),l=function(e){var t;for(Y(e,e.dyn_ltree,e.l_desc.max_code),Y(e,e.dyn_dtree,e.d_desc.max_code),q(e,e.bl_desc),t=p-1;3<=t&&0===e.bl_tree[2*C[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(s=e.static_len+3+7>>>3)<=i&&(i=s)):i=s=n+5,n+4<=i&&-1!==t?Z(e,t,n,r):4===e.strategy||s===i?(F(e,2+(r?1:0),3),G(e,k,T)):(F(e,4+(r?1:0),3),function(e,t,n,r){var a;for(F(e,t-257,5),F(e,n-1,5),F(e,r-4,4),a=0;a<r;a++)F(e,e.bl_tree[2*C[a]+1],3);X(e,e.dyn_ltree,t-1),X(e,e.dyn_dtree,n-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),G(e,e.dyn_ltree,e.dyn_dtree)),U(e),r&&H(e)},n._tr_tally=function(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(I[n]+c+1)]++,e.dyn_dtree[2*M(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){F(e,2,3),z(e,b,k),function(e){16===e.bi_valid?(j(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){(function(e){!function(e,t){if(!e.setImmediate){var n,r,a,o,i=1,s={},l=!1,c=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,n="[object process]"==={}.toString.call(e.process)?function(e){process.nextTick(function(){p(e)})}:function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?(o="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",f,!1):e.attachEvent("onmessage",f),function(t){e.postMessage(o+t,"*")}):e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){p(e.data)},function(e){a.port2.postMessage(e)}):c&&"onreadystatechange"in c.createElement("script")?(r=c.documentElement,function(e){var t=c.createElement("script");t.onreadystatechange=function(){p(e),t.onreadystatechange=null,r.removeChild(t),t=null},r.appendChild(t)}):function(e){setTimeout(p,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r<t.length;r++)t[r]=arguments[r+1];var a={callback:e,args:t};return s[i]=a,n(i),i++},u.clearImmediate=d}function d(e){delete s[e]}function p(e){if(l)setTimeout(p,0,e);else{var n=s[e];if(n){l=!0;try{!function(e){var n=e.callback,r=e.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(t,r)}}(n)}finally{d(e),l=!1}}}}function f(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(o)&&p(+t.data.slice(o.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,void 0!==h?h:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)),bx.exports);const vx=m(yx);var xx,Sx={},wx={};function Ex(){if(xx)return wx;function e(e,t){return void 0===t&&(t=Object),t&&"function"==typeof t.getOwnPropertyDescriptors&&(e=t.create(null,t.getOwnPropertyDescriptors(e))),t&&"function"==typeof t.freeze?t.freeze(e):e}function t(e,t){return Object.prototype.hasOwnProperty.call(e,t)}xx=1;var n=e({allowfullscreen:!0,async:!0,autofocus:!0,autoplay:!0,checked:!0,controls:!0,default:!0,defer:!0,disabled:!0,formnovalidate:!0,hidden:!0,ismap:!0,itemscope:!0,loop:!0,multiple:!0,muted:!0,nomodule:!0,novalidate:!0,open:!0,playsinline:!0,readonly:!0,required:!0,reversed:!0,selected:!0});var r=e({area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});var a=e({script:!1,style:!1,textarea:!0,title:!0});function o(e){return e===i.HTML}var i=e({HTML:"text/html",XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),s=Object.keys(i).map(function(e){return i[e]});var l=e({HTML:"http://www.w3.org/1999/xhtml",SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});return wx.assign=function(e,n){if(null===e||"object"!=typeof e)throw new TypeError("target is not an object");for(var r in n)t(n,r)&&(e[r]=n[r]);return e},wx.find=function(e,n,r){if(void 0===r&&(r=Array.prototype),e&&"function"==typeof r.find)return r.find.call(e,n);for(var a=0;a<e.length;a++)if(t(e,a)){var o=e[a];if(n.call(void 0,o,a,e))return o}},wx.freeze=e,wx.HTML_BOOLEAN_ATTRIBUTES=n,wx.HTML_RAW_TEXT_ELEMENTS=a,wx.HTML_VOID_ELEMENTS=r,wx.hasDefaultHTMLNamespace=function(e){return o(e)||e===i.XML_XHTML_APPLICATION},wx.hasOwn=t,wx.isHTMLBooleanAttribute=function(e){return t(n,e.toLowerCase())},wx.isHTMLRawTextElement=function(e){var n=e.toLowerCase();return t(a,n)&&!a[n]},wx.isHTMLEscapableRawTextElement=function(e){var n=e.toLowerCase();return t(a,n)&&a[n]}
vendor: 7,048 bytes, line 152
152,wx.isHTMLMimeType=o,wx.isHTMLVoidElement=function(e){return t(r,e.toLowerCase())},wx.isValidMimeType=function(e){return s.indexOf(e)>-1},wx.MIME_TYPE=i,wx.NAMESPACE=l,wx}var Cx,kx={};function Tx(){if(Cx)return kx;function e(e,t){e.prototype=Object.create(Error.prototype,{constructor:{value:e},name:{value:e.name,enumerable:!0,writable:t}})}Cx=1;var t=Ex().freeze({Error:"Error",IndexSizeError:"IndexSizeError",DomstringSizeError:"DomstringSizeError",HierarchyRequestError:"HierarchyRequestError",WrongDocumentError:"WrongDocumentError",InvalidCharacterError:"InvalidCharacterError",NoDataAllowedError:"NoDataAllowedError",NoModificationAllowedError:"NoModificationAllowedError",NotFoundError:"NotFoundError",NotSupportedError:"NotSupportedError",InUseAttributeError:"InUseAttributeError",InvalidStateError:"InvalidStateError",SyntaxError:"SyntaxError",InvalidModificationError:"InvalidModificationError",NamespaceError:"NamespaceError",InvalidAccessError:"InvalidAccessError",ValidationError:"ValidationError",TypeMismatchError:"TypeMismatchError",SecurityError:"SecurityError",NetworkError:"NetworkError",AbortError:"AbortError",URLMismatchError:"URLMismatchError",QuotaExceededError:"QuotaExceededError",TimeoutError:"TimeoutError",InvalidNodeTypeError:"InvalidNodeTypeError",DataCloneError:"DataCloneError",EncodingError:"EncodingError",NotReadableError:"NotReadableError",UnknownError:"UnknownError",ConstraintError:"ConstraintError",DataError:"DataError",TransactionInactiveError:"TransactionInactiveError",ReadOnlyError:"ReadOnlyError",VersionError:"VersionError",OperationError:"OperationError",NotAllowedError:"NotAllowedError",OptOutError:"OptOutError"}),n=Object.keys(t);function r(e){return"number"==typeof e&&e>=1&&e<=25}function a(e,o){var i;r(e)?(this.name=n[e],this.message=o||""):(this.message=e,this.name="string"==typeof(i=o)&&i.substring(i.length-t.Error.length)===t.Error?o:t.Error),Error.captureStackTrace&&Error.captureStackTrace(this,a)}e(a,!0),Object.defineProperties(a.prototype,{code:{enumerable:!0,get:function(){var e=n.indexOf(this.name);return r(e)?e:0}}});for(var o={INDEX_SIZE_ERR:1,DOMSTRING_SIZE_ERR:2,HIERARCHY_REQUEST_ERR:3,WRONG_DOCUMENT_ERR:4,INVALID_CHARACTER_ERR:5,NO_DATA_ALLOWED_ERR:6,NO_MODIFICATION_ALLOWED_ERR:7,NOT_FOUND_ERR:8,NOT_SUPPORTED_ERR:9,INUSE_ATTRIBUTE_ERR:10,INVALID_STATE_ERR:11,SYNTAX_ERR:12,INVALID_MODIFICATION_ERR:13,NAMESPACE_ERR:14,INVALID_ACCESS_ERR:15,VALIDATION_ERR:16,TYPE_MISMATCH_ERR:17,SECURITY_ERR:18,NETWORK_ERR:19,ABORT_ERR:20,URL_MISMATCH_ERR:21,QUOTA_EXCEEDED_ERR:22,TIMEOUT_ERR:23,INVALID_NODE_TYPE_ERR:24,DATA_CLONE_ERR:25},i=Object.entries(o),s=0;s<i.length;s++){a[i[s][0]]=i[s][1]}function l(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,l)}return e(l),kx.DOMException=a,kx.DOMExceptionName=t,kx.ExceptionCode=o,kx.ParseError=l,kx}var Ax,Ix,Nx={},_x={};function Rx(){if(Ax)return _x;function e(e){try{"function"!=typeof e&&(e=RegExp);var t=new e("ð","u").exec("ð");return!!t&&2===t[0].length}catch(n){}return!1}Ax=1;var t=e();function n(e){if("["!==e.source[0])throw new Error(e+" can not be used with chars");return e.source.slice(1,e.source.lastIndexOf("]"))}function r(e,n){if("["!==e.source[0])throw new Error("/"+e.source+"/ can not be used with chars_without");if(!n||"string"!=typeof n)throw new Error(JSON.stringify(n)+" is not a valid search");if(-1===e.source.indexOf(n))throw new Error('"'+n+'" is not is /'+e.source+"/");if("-"===n&&1!==e.source.indexOf(n))throw new Error('"'+n+'" is not at the first postion of /'+e.source+"/");return new RegExp(e.source.replace(n,""),t?"u":"")}function a(e){var n=this;return new RegExp(Array.prototype.slice.call(arguments).map(function(e){var t="string"==typeof e;if(t&&void 0===n&&"|"===e)throw new Error("use regg instead of reg to wrap expressions with `|`!");return t?e:e.source}).join(""),t?"mu":"m")}function o(e){if(0===arguments.length)throw new Error("no parameters provided");return a.apply(o,["(?:"].concat(Array.prototype.slice.call(arguments),[")"]))}var i=/[-\x09\x0A\x0D\x20-\x2C\x2E-\uD7FF\uE000-\uFFFD]/;t&&(i=a("[",n(i),"\\u{10000}-\\u{10FFFF}","]"));var s=/[\x20\x09\x0D\x0A]/,l=n(s),c=a(s,"+"),u=a(s,"*"),d=/[:_a-zA-Z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;t&&(d=a("[",n(d),"\\u{10000}-\\u{10FFFF}","]"));var p=a("[",n(d),n(/[-.0-9\xB7]/),n(/[\u0300-\u036F\u203F-\u2040]/),"]"),f=a(d,p,"*"),m=a(p,"+"),h=a("&",f,";"),g=o(/&#[0-9]+;|&#x[0-9a-fA-F]+;/),b=o(h,"|",g),y=a("%",f,";"),v=o(a('"',o(/[^%&"]/,"|",y,"|",b),"*",'"'),"|",a("'",o(/[^%&']/,"|",y,"|",b),"*","'")),x=o('"',o(/[^<&"]/,"|",b),"*",'"',"|","'",o(/[^<&']/,"|",b),"*","'"),S=a(r(d,":"),r(p,":"),"*"),w=a(S,o(":",S),"?"),E=a("^",w,"$"),C=a("(",w,")"),k=o(/"[^"]*"|'[^']*'/),T=a(/^<\?/,"(",f,")",o(c,"(",i,"*?)"),"?",/\?>/),A=/[\x20\x0D\x0Aa-zA-Z0-9-'()+,./:=?;!*#@$_%]/,I=o('"',A,'*"',"|","'",r(A,"'"),"*'"),N="\x3c!--",_=a(N,o(r(i,"-"),"|",a("-",r(i,"-"))),"*","--\x3e"),R="#PCDATA",O=o(a(/\(/,u,R,o(u,/\|/,u,w),"*",u,/\)\*/),"|",a(/\(/,u,R,u,/\)/)),L=o("EMPTY","|","ANY","|",O,"|",a(/\([^>]+\)/,/[?*+]?/)),D=a("<!ELEMENT",c,o(w,"|",y),c,o(L,"|",y),u,">"),P=a("NOTATION",c,/\(/,u,f,o(u,/\|/,u,f),"*",u,/\)/),M=a(/\(/,u,m,o(u,/\|/,u,m),"*",u,/\)/),j=o(P,"|",M),F=o(/CDATA|ID|IDREF|IDREFS|ENTITY|ENTITIES|NMTOKEN|NMTOKENS/,"|",j),z=o(/#REQUIRED|#IMPLIED/,"|",o(o("#FIXED",c),"?",x)),$=a("<!ATTLIST",c,f,o(c,f,c,F,c,z),"*",u,">"),B="about:legacy-compat",U=o('"'+B+'"',"|","'"+B+"'"),H="SYSTEM",V="PUBLIC",W=o(o(H,c,k),"|",o(V,c,I,c,k)),G=a("^",o(o(H,c,"(?<SystemLiteralOnly>",k,")"),"|",o(V,c,"(?<PubidLiteral>",I,")",c,"(?<SystemLiteral>",k,")"))),q=o(c,"NDATA",c,f),Y="<!ENTITY",X=a(Y,c,f,c,o(v,"|",o(W,q,"?")),u,">"),K=o(v,"|",W),Z=o(X,"|",a(Y,c,"%",c,f,c,K,u,">")),J=a(V,c,I),Q=a("<!NOTATION",c,f,c,o(W,"|",J),u,">"),ee=a(u,"=",u),te=/1[.]\d+/,ne=a(c,"version",ee,o("'",te,"'","|",'"',te,'"')),re=/[A-Za-z][-A-Za-z0-9._]*/,ae=a(/^<\?xml/,ne,o(c,"encoding",ee,o('"',re,'"',"|","'",re,"'")),"?",o(c,"standalone",ee,o("'",o("yes","|","no"),"'","|",'"',o("yes","|","no"),'"')),"?",u,/\?>/),oe=a(i,"*?",/\]\]>/),ie=a(/<!\[CDATA\[/,oe);return _x.chars=n,_x.chars_without=r,_x.detectUnicodeSupport=e,_x.reg=a,_x.regg=o,_x.ABOUT_LEGACY_COMPAT=B,_x.ABOUT_LEGACY_COMPAT_SystemLiteral=U,_x.AttlistDecl=$,_x.CDATA_START="<![CDATA[",_x.CDATA_END="]]>",_x.CDSect=ie,_x.Char=i,_x.Comment=_,_x.COMMENT_START=N,_x.COMMENT_END="--\x3e",_x.DOCTYPE_DECL_START="<!DOCTYPE",_x.elementdecl=D,_x.EntityDecl=Z,_x.EntityValue=v,_x.ExternalID=W,_x.ExternalID_match=G,_x.Name=f,_x.NotationDecl=Q,_x.Reference=b,_x.PEReference=y,_x.PI=T,_x.PUBLIC=V,_x.PubidLiteral=I,_x.QName=w,_x.QName_exact=E,_x.QName_group=C,_x.S=c,_x.SChar_s=l,_x.S_OPT=u,_x.SYSTEM=H,_x.SystemLiteral=k,_x.UNICODE_REPLACEMENT_CHARACTER="�",_x.UNICODE_SUPPORT=t,_x.XMLDecl=ae,_x}function Ox(){if(Ix)return Nx;Ix=1;var e=Ex(),t=e.find,n=e.hasDefaultHTMLNamespace,r=e.hasOwn,a=e.isHTMLMimeType,o=e.isHTMLRawTextElement,i=e.isHTMLVoidElement,s=e.MIME_TYPE,l=e.
vendor: 4,477 bytes, line 152
152NAMESPACE,c=Symbol(),u=Tx(),d=u.DOMException,p=u.DOMExceptionName,f=Rx();function m(e){if(e!==c)throw new TypeError("Illegal constructor")}function h(e){return""!==e}function g(e,t){return r(e,t)||(e[t]=!0),e}function b(e){if(!e)return[];var t=function(e){return e?e.split(/[\t\n\f\r ]+/).filter(h):[]}(e);return Object.keys(t.reduce(g,{}))}function y(e){if(!f.QName_exact.test(e))throw new d(d.INVALID_CHARACTER_ERR,'invalid character in qualified name "'+e+'"')}function v(t,n){y(n),t=t||null;var r=null,a=n;if(n.indexOf(":")>=0){var o=n.split(":");r=o[0],a=o[1]}if(null!==r&&null===t)throw new d(d.NAMESPACE_ERR,"prefix is non-null and namespace is null");if("xml"===r&&t!==e.NAMESPACE.XML)throw new d(d.NAMESPACE_ERR,'prefix is "xml" and namespace is not the XML namespace');if(("xmlns"===r||"xmlns"===n)&&t!==e.NAMESPACE.XMLNS)throw new d(d.NAMESPACE_ERR,'either qualifiedName or prefix is "xmlns" and namespace is not the XMLNS namespace');if(t===e.NAMESPACE.XMLNS&&"xmlns"!==r&&"xmlns"!==n)throw new d(d.NAMESPACE_ERR,'namespace is the XMLNS namespace and neither qualifiedName nor prefix is "xmlns"');return[t,r,a]}function x(e,t){for(var n in e)r(e,n)&&(t[n]=e[n])}function S(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,x(n,r=new r),e.prototype=n=r}n.constructor!=e&&(n.constructor=e)}var w={},E=w.ELEMENT_NODE=1,C=w.ATTRIBUTE_NODE=2,k=w.TEXT_NODE=3,T=w.CDATA_SECTION_NODE=4,A=w.ENTITY_REFERENCE_NODE=5,I=w.ENTITY_NODE=6,N=w.PROCESSING_INSTRUCTION_NODE=7,_=w.COMMENT_NODE=8,R=w.DOCUMENT_NODE=9,O=w.DOCUMENT_TYPE_NODE=10,L=w.DOCUMENT_FRAGMENT_NODE=11,D=w.NOTATION_NODE=12,P=e.freeze({DOCUMENT_POSITION_DISCONNECTED:1,DOCUMENT_POSITION_PRECEDING:2,DOCUMENT_POSITION_FOLLOWING:4,DOCUMENT_POSITION_CONTAINS:8,DOCUMENT_POSITION_CONTAINED_BY:16,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:32});function M(e,t){if(t.length<e.length)return M(t,e);var n=null;for(var r in e){if(e[r]!==t[r])return n;n=e[r]}return n}function j(e){return e.guid||(e.guid=Math.random()),e.guid}function F(){}function z(e,t){this._node=e,this._refresh=t,$(this)}function $(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!==t){var n=e._refresh(e._node);if(Ae(e,"length",n.length),!e.$$length||n.length<e.$$length)for(var a=n.length;a in e;a++)r(e,a)&&delete e[a];x(n,e),e._inc=t}}function B(){}function U(e,t){for(var n=0;n<e.length;){if(e[n]===t)return n;n++}}function H(e,t,n,r){if(r?t[U(t,r)]=n:(t[t.length]=n,t.length++),e){n.ownerElement=e;var a=e.ownerDocument;a&&(r&&K(a,e,r),function(e,t,n){e&&e._inc++;var r=n.namespaceURI;r===l.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}(a,e,n))}}function V(e,t,n){var r=U(t,n);if(r>=0){for(var a=t.length-1;r<=a;)t[r]=t[++r];if(t.length=a,e){var o=e.ownerDocument;o&&K(o,e,n),n.ownerElement=null}}}function W(){}function G(e){m(e)}function q(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function Y(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(Y(e,t))return!0}while(e=e.nextSibling)}function X(e,t){m(e);var n=t||{};this.ownerDocument=this,this.contentType=n.contentType||s.XML_APPLICATION,this.type=a(this.contentType)?"html":"xml"}function K(e,t,n,r){e&&e._inc++,n.namespaceURI===l.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function Z(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n&&!n.nextSibling)r[r.length++]=n;else{for(var a=t.firstChild,o=0;a;)r[o++]=a,a=a.nextSibling;r.length=o,delete r[r.length]}}}function J(e,t){if(e!==t.parentNode)throw new d(d.NOT_FOUND_ERR,"child's parent is not parent");var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,Z(e.ownerDocument,e),t.parentNode=null,t.previousSibling=null,t.nextSibling=null,t}function Q(e){return e&&e.nodeType===G.DOCUMENT_TYPE_NODE}function ee(e){return e&&e.nodeType===G.ELEMENT_NODE}function te(e){return e&&e.nodeType===G.TEXT_NODE}function ne(e,n){var r=e.childNodes||[];if(t(r,ee)||Q(n))return!1;var a=t(r,Q);return!(n&&a&&r.indexOf(a)>r.indexOf(n))}function re(e,n){var r=e.childNodes||[];if(t(r,function(e){return ee(e)&&e!==n}))return!1;var a=t(r,Q);return!(n&&a&&r.indexOf(a)>r.indexOf(n))}function ae(e,t,n){if(!function(e){return e&&(e.nodeType===G.DOCUMENT_NODE||e.nodeType===G.DOCUMENT_FRAGMENT_NODE||e.nodeType===G.ELEMENT_NODE)}(e))throw new d(d.HIERARCHY_REQUEST_ERR,"Unexpected parent node type "+e.nodeType);if(n&&n.parentNode!==e)throw new d(d.NOT_FOUND_ERR,"child not in parent");
vendor: 17,002 bytes, line 152
152if(!function(e){return e&&(e.nodeType===G.CDATA_SECTION_NODE||e.nodeType===G.COMMENT_NODE||e.nodeType===G.DOCUMENT_FRAGMENT_NODE||e.nodeType===G.DOCUMENT_TYPE_NODE||e.nodeType===G.ELEMENT_NODE||e.nodeType===G.PROCESSING_INSTRUCTION_NODE||e.nodeType===G.TEXT_NODE)}(t)||Q(t)&&e.nodeType!==G.DOCUMENT_NODE)throw new d(d.HIERARCHY_REQUEST_ERR,"Unexpected node type "+t.nodeType+" for parent node type "+e.nodeType)}function oe(e,n,r){var a=e.childNodes||[],o=n.childNodes||[];if(n.nodeType===G.DOCUMENT_FRAGMENT_NODE){var i=o.filter(ee);if(i.length>1||t(o,te))throw new d(d.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(1===i.length&&!ne(e,r))throw new d(d.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(ee(n)&&!ne(e,r))throw new d(d.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(Q(n)){if(t(a,Q))throw new d(d.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=t(a,ee);if(r&&a.indexOf(s)<a.indexOf(r))throw new d(d.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element");if(!r&&s)throw new d(d.HIERARCHY_REQUEST_ERR,"Doctype can not be appended since element is present")}}function ie(e,n,r){var a=e.childNodes||[],o=n.childNodes||[];if(n.nodeType===G.DOCUMENT_FRAGMENT_NODE){var i=o.filter(ee);if(i.length>1||t(o,te))throw new d(d.HIERARCHY_REQUEST_ERR,"More than one element or text in fragment");if(1===i.length&&!re(e,r))throw new d(d.HIERARCHY_REQUEST_ERR,"Element in fragment can not be inserted before doctype")}if(ee(n)&&!re(e,r))throw new d(d.HIERARCHY_REQUEST_ERR,"Only one element can be added and only after doctype");if(Q(n)){function l(e){return Q(e)&&e!==r}if(t(a,l))throw new d(d.HIERARCHY_REQUEST_ERR,"Only one doctype is allowed");var s=t(a,ee);if(r&&a.indexOf(s)<a.indexOf(r))throw new d(d.HIERARCHY_REQUEST_ERR,"Doctype can only be inserted before an element")}}function se(e,t,n,r){ae(e,t,n),e.nodeType===G.DOCUMENT_NODE&&(r||oe)(e,t,n);var a=t.parentNode;if(a&&a.removeChild(t),t.nodeType===L){var o=t.firstChild;if(null==o)return t;var i=t.lastChild}else o=i=t;var s=n?n.previousSibling:e.lastChild;o.previousSibling=s,i.nextSibling=n,s?s.nextSibling=o:e.firstChild=o,null==n?e.lastChild=i:n.previousSibling=i;do{o.parentNode=e}while(o!==i&&(o=o.nextSibling));return Z(e.ownerDocument||e,e,t),t.nodeType==L&&(t.firstChild=t.lastChild=null),t}function le(e){m(e),this._nsMap=Object.create(null)}function ce(e){m(e),this.namespaceURI=null,this.prefix=null,this.ownerElement=null}function ue(e){m(e)}function de(e){m(e)}function pe(e){m(e)}function fe(e){m(e)}function me(e){m(e)}function he(e){m(e)}function ge(e){m(e)}function be(e){m(e)}function ye(e){m(e)}function ve(e){m(e)}function xe(){}function Se(e){var t=[],n=this.nodeType===R&&this.documentElement||this,r=n.prefix,a=n.namespaceURI;if(a&&null==r&&null==(r=n.lookupPrefix(a)))var o=[{namespace:a,prefix:null}];return Ce(this,t,e,o),t.join("")}function we(e,t,n){var r=e.prefix||"",a=e.namespaceURI;if(!a)return!1;if("xml"===r&&a===l.XML||a===l.XMLNS)return!1;for(var o=n.length;o--;){var i=n[o];if(i.prefix===r)return i.namespace!==a}return!0}function Ee(e,t,n){e.push(" ",t,'="',n.replace(/[<>&"\t\n\r]/g,q),'"')}function Ce(e,t,n,r){r||(r=[]);var a="html"===(e.nodeType===R?e:e.ownerDocument).type;if(n){if(!(e=n(e)))return;if("string"==typeof e)return void t.push(e)}switch(e.nodeType){case E:var s=e.attributes,c=s.length,u=e.firstChild,d=e.tagName,p=d;if(!a&&!e.prefix&&e.namespaceURI){for(var m,h=0;h<s.length;h++)if("xmlns"===s.item(h).name){m=s.item(h).value;break}if(!m)for(var g=r.length-1;g>=0;g--){if(""===(b=r[g]).prefix&&b.namespace===e.namespaceURI){m=b.namespace;break}}if(m!==e.namespaceURI)for(g=r.length-1;g>=0;g--){var b;if((b=r[g]).namespace===e.namespaceURI){b.prefix&&(p=b.prefix+":"+d);break}}}t.push("<",p);for(var y=0;y<c;y++){"xmlns"==(v=s.item(y)).prefix?r.push({prefix:v.localName,namespace:v.value}):"xmlns"==v.nodeName&&r.push({prefix:"",namespace:v.value})}for(y=0;y<c;y++){var v,x,S;if(we(v=s.item(y),0,r))Ee(t,(x=v.prefix||"")?"xmlns:"+x:"xmlns",S=v.namespaceURI),r.push({prefix:x,namespace:S});Ce(v,t,n,r)}if(d===p&&we(e,0,r))Ee(t,(x=e.prefix||"")?"xmlns:"+x:"xmlns",S=e.namespaceURI),r.push({prefix:x,namespace:S});var w=!u;if(w&&(a||e.namespaceURI===l.HTML)&&(w=i(d)),w)t.push("/>");else{if(t.push(">"),a&&o(d))for(;u;)u.data?t.push(u.data):Ce(u,t,n,r.slice()),u=u.nextSibling;else for(;u;)Ce(u,t,n,r.slice()),u=u.nextSibling;t.push("</",p,">")}return;case R:case L:for(u=e.firstChild;u;)Ce(u,t,n,r.slice()),u=u.nextSibling;return;case C:return Ee(t,e.name,e.value);case k:return t.push(e.data.replace(/[<&>]/g,q));case T:return t.push(f.CDATA_START,e.data,f.CDATA_END);case _:return t.push(f.COMMENT_START,e.data,f.COMMENT_END);case O:var I=e.publicId,D=e.systemId;return t.push(f.DOCTYPE_DECL_START," ",e.name),I?(t.push(" ",f.PUBLIC," ",I),D&&"."!==D&&t.push(" ",D)):D&&"."!==D&&t.push(" ",f.SYSTEM," ",D),e.internalSubset&&t.push(" [",e.internalSubset,"]"),void t.push(">");case N:return t.push("<?",e.target," ",e.data,"?>");case A:return t.push("&",e.nodeName,";");default:t.push("??",e.nodeName)}}function ke(e,t,n){var r;switch(t.nodeType){case E:(r=t.cloneNode(!1)).ownerDocument=e;case L:break;case C:n=!0}if(r||(r=t.cloneNode(!1)),r.ownerDocument=e,r.parentNode=null,n)for(var a=t.firstChild;a;)r.appendChild(ke(e,a,n)),a=a.nextSibling;return r}function Te(e,t,n){var a=new t.constructor(c);for(var o in t)if(r(t,o)){var i=t[o];"object"!=typeof i&&i!=a[o]&&(a[o]=i)}switch(t.childNodes&&(a.childNodes=new F),a.ownerDocument=e,a.nodeType){case E:var s=t.attributes,l=a.attributes=new B,u=s.length;l._ownerElement=a;for(var d=0;d<u;d++)a.setAttributeNode(Te(e,s.item(d),!0));break;case C:n=!0}if(n)for(var p=t.firstChild;p;)a.appendChild(Te(e,p,n)),p=p.nextSibling;return a}function Ae(e,t,n){e[t]=n}F.prototype={length:0,item:function(e){return e>=0&&e<this.length?this[e]:null},toString:function(e){for(var t=[],n=0;n<this.length;n++)Ce(this[n],t,e);return t.join("")},filter:function(e){return Array.prototype.filter.call(this,e)},indexOf:function(e){return Array.prototype.indexOf.call(this,e)}},F.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},z.prototype.item=function(e){return $(this),this[e]||null},S(z,F),B.prototype={length:0,item:F.prototype.item,getNamedItem:function(e){this._ownerElement&&this._ownerElement._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());for(var t=0;t<this.length;){var n=this[t];if(n.nodeName===e)return n;t++}return null},setNamedItem:function(e){var t=e.ownerElement;if(t&&t!==this._ownerElement)throw new d(d.INUSE_ATTRIBUTE_ERR);var n=this.getNamedItemNS(e.namespaceURI,e.localName);return n===e?e:(H(this._ownerElement,this,e,n),n)},setNamedItemNS:function(e){return this.setNamedItem(e)},removeNamedItem:function(e){var t=this.getNamedItem(e);if(!t)throw new d(d.NOT_FOUND_ERR,e);return V(this._ownerElement,this,t),t},removeNamedItemNS:function(e,t){var n=this.getNamedItemNS(e,t);if(!n)throw new d(d.NOT_FOUND_ERR,e?e+" : "+t:t);return V(this._ownerElement,this,n),n},getNamedItemNS:function(e,t){e||(e=null);for(var n=0;n<this.length;){var r=this[n];if(r.localName===t&&r.namespaceURI===e)return r;n++}return null}},B.prototype[Symbol.iterator]=function(){var e=this,t=0;return{next:function(){return t<e.length?{value:e[t++],done:!1}:{done:!0}},return:function(){return{done:!0}}}},W.prototype={hasFeature:function(e,t){return!0},createDocument:function(e,t,n){var r=s.XML_APPLICATION;e===l.HTML?r=s.XML_XHTML_APPLICATION:e===l.SVG&&(r=s.XML_SVG_IMAGE);var a=new X(c,{contentType:r});if(a.implementation=this,a.childNodes=new F,a.doctype=n||null,n&&a.appendChild(n),t){var o=a.createElementNS(e,t);a.appendChild(o)}return a},createDocumentType:function(e,t,n,r){y(e);var a=new me(c);return a.name=e,a.nodeName=e,a.publicId=t||"",a.systemId=n||"",a.internalSubset=r||"",a.childNodes=new F,a},createHTMLDocument:function(e){var t=new X(c,{contentType:s.HTML});if(t.implementation=this,t.childNodes=new F,!1!==e){t.doctype=this.createDocumentType("html"),t.doctype.ownerDocument=t,t.appendChild(t.doctype);var n=t.createElement("html");t.appendChild(n);var r=t.createElement("head");if(n.appendChild(r),"string"==typeof e){var a=t.createElement("title");a.appendChild(t.createTextNode(e)),r.appendChild(a)}n.appendChild(t.createElement("body"))}return t}},G.prototype={firstChild:null,lastChild:null,previousSibling:null,nextSibling:null,parentNode:null,get parentElement(){return this.parentNode&&this.parentNode.nodeType===this.ELEMENT_NODE?this.parentNode:null},childNodes:null,ownerDocument:null,nodeValue:null,namespaceURI:null,prefix:null,localName:null,baseURI:"about:blank",get isConnected(){var e=this.getRootNode();return e&&e.nodeType===e.DOCUMENT_NODE},contains:function(e){if(!e)return!1;var t=e;do{if(this===t)return!0;t=e.parentNode}while(t);return!1},getRootNode:function(e){var t=this;do{if(!t.parentNode)return t;t=t.parentNode}while(t)},isEqualNode:function(e){if(!e)return!1;if(this.nodeType!==e.nodeType)return!1;switch(this.nodeType){case this.DOCUMENT_TYPE_NODE:if(this.name!==e.name)return!1;if(this.publicId!==e.publicId)return!1;if(this.systemId!==e.systemId)return!1;break;case this.ELEMENT_NODE:if(this.namespaceURI!==e.namespaceURI)return!1;if(this.prefix!==e.prefix)return!1;if(this.localName!==e.localName)return!1;if(this.attributes.length!==e.attributes.length)return!1;for(var t=0;t<this.attributes.length;t++){var n=this.attributes.item(t);if(!n.isEqualNode(e.getAttributeNodeNS(n.namespaceURI,n.localName)))return!1}break;case this.ATTRIBUTE_NODE:if(this.namespaceURI!==e.namespaceURI)return!1;if(this.localName!==e.localName)return!1;if(this.value!==e.value)return!1;break;case this.PROCESSING_INSTRUCTION_NODE:if(this.target!==e.target||this.data!==e.data)return!1;break;case this.TEXT_NODE:case this.COMMENT_NODE:if(this.data!==e.data)return!1}if(this.childNodes.length!==e.childNodes.length)return!1;for(t=0;t<this.childNodes.length;t++)if(!this.childNodes[t].isEqualNode(e.childNodes[t]))return!1;return!0},isSameNode:function(e){return this===e},insertBefore:function(e,t){return se(this,e,t)},replaceChild:function(e,t){se(this,e,t,ie),t&&this.removeChild(t)},removeChild:function(e){return J(this,e)},appendChild:function(e){return this.insertBefore(e,null)},hasChildNodes:function(){return null!=this.firstChild},cloneNode:function(e){return Te(this.ownerDocument||this,this,e)},normalize:function(){for(var e=this.firstChild;e;){var t=e.nextSibling;t&&t.nodeType==k&&e.nodeType==k?(this.removeChild(t),e.appendData(t.data)):(e.normalize(),e=t)}},isSupported:function(e,t){return this.ownerDocument.implementation.hasFeature(e,t)},lookupPrefix:function(e){for(var t=this;t;){var n=t._nsMap;if(n)for(var a in n)if(r(n,a)&&n[a]===e)return a;t=t.nodeType==C?t.ownerDocument:t.parentNode}return null},lookupNamespaceURI:function(e){for(var t=this;t;){var n=t._nsMap;if(n&&r(n,e))return n[e];t=t.nodeType==C?t.ownerDocument:t.parentNode}return null},isDefaultNamespace:function(e){return null==this.lookupPrefix(e)},compareDocumentPosition:function(e){if(this===e)return 0;var t=e,n=this,r=null,a=null;if(t instanceof ce&&(t=(r=t).ownerElement),n instanceof ce&&(n=(a=n).ownerElement,r&&t&&n===t))for(var o,i=0;o=n.attributes[i];i++){if(o===r)return P.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+P.DOCUMENT_POSITION_PRECEDING;if(o===a)return P.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+P.DOCUMENT_POSITION_FOLLOWING}if(!t||!n||n.ownerDocument!==t.ownerDocument)return P.DOCUMENT_POSITION_DISCONNECTED+P.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC+(j(n.ownerDocument)>j(t.ownerDocument)?P.DOCUMENT_POSITION_FOLLOWING:P.DOCUMENT_POSITION_PRECEDING);if(a&&t===n)return P.DOCUMENT_POSITION_CONTAINS+P.DOCUMENT_POSITION_PRECEDING;if(r&&t===n)return P.DOCUMENT_POSITION_CONTAINED_BY+P.DOCUMENT_POSITION_FOLLOWING;for(var s=[],l=t.parentNode;l;){if(!a&&l===n)return P.DOCUMENT_POSITION_CONTAINED_BY+P.DOCUMENT_POSITION_FOLLOWING;s.push(l),l=l.parentNode}s.reverse();for(var c=[],u=n.parentNode;u;){if(!r&&u===t)return P.DOCUMENT_POSITION_CONTAINS+P.DOCUMENT_POSITION_PRECEDING;c.push(u),u=u.parentNode}c.reverse();var d=M(s,c);for(var p in d.childNodes){var f=d.childNodes[p];if(f===n)return P.DOCUMENT_POSITION_FOLLOWING;if(f===t)return P.DOCUMENT_POSITION_PRECEDING;if(c.indexOf(f)>=0)return P.DOCUMENT_POSITION_FOLLOWING;if(s.indexOf(f)>=0)return P.DOCUMENT_POSITION_PRECEDING}return 0}},x(w,G),x(w,G.prototype),x(P,G),x(P,G.prototype),X.prototype={implementation:null,nodeName:"#document",nodeType:R,doctype:null,documentElement:null,_inc:1,insertBefore:function(e,t){if(e.nodeType===L){for(var n=e.firstChild;n;){var r=n.nextSibling;this.insertBefore(n,t),n=r}return e}return se(this,e,t),e.ownerDocument=this,null===this.documentElement&&e.nodeType===E&&(this.documentElement=e),e},removeChild:function(e){var t=J(this,e);return t===this.documentElement&&(this.documentElement=null),t},replaceChild:function(e,t){se(this,e,t,ie),e.ownerDocument=this,t&&this.removeChild(t),ee(e)&&(this.documentElement=e)},importNode:function(e,t){return ke(this,e,t)},getElementById:function(e){var t=null;return Y(this.documentElement,function(n){if(n.nodeType==E&&n.getAttribute("id")==e)return t=n,!0}),t},createElement:function(e){var t=new le(c);return t.ownerDocument=this,"html"===this.type&&(e=e.toLowerCase()),n(this.contentType)&&(t.namespaceURI=l.HTML),t.nodeName=e,t.tagName=e,t.localName=e,t.childNodes=new F,(t.attributes=new B)._ownerElement=t,t},createDocumentFragment:function(){var e=new ye(c);return e.ownerDocument=this,e.childNodes=new F,e},createTextNode:function(e){var t=new de(c);return t.ownerDocument=this,t.childNodes=new F,t.appendData(e),t},createComment:function(e){var t=new pe(c);return t.ownerDocument=this,t.childNodes=new F,t.appendData(e),t},createCDATASection:function(e){var t=new fe(c);return t.ownerDocument=this,t.childNodes=new F,t.appendData(e),t},createProcessingInstruction:function(e,t){var n=new ve(c);return n.ownerDocument=this,n.childNodes=new F,n.nodeName=n.target=e,n.nodeValue=n.data=t,n},createAttribute:function(e){if(!f.QName_exact.test(e))throw new d(d.INVALID_CHARACTER_ERR,'invalid character in name "'+e+'"');return"html"===this.type&&(e=e.toLowerCase()),this._createAttribute(e)},_createAttribute:function(e){var t=new ce(c);return t.ownerDocument=this,t.childNodes=new F,t.name=e,t.nodeName=e,t.localName=e,t.specified=!0,t},createEntityReference:function(e){if(!f.Name.test(e))throw new d(d.INVALID_CHARACTER_ERR,'not a valid xml name "'+e+'"');if("html"===this.type)throw new d("document is an html document",p.NotSupportedError);var t=new be(c);return t.ownerDocument=this,t.childNodes=new F,t.nodeName=e,t},createElementNS:function(e,t){var n=v(e,t),r=new le(c),a=r.attributes=new B;return r.childNodes=new F,r.ownerDocument=this,r.nodeName=t,r.tagName=t,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],a._ownerElement=r,r},createAttributeNS:function(e,t){var n=v(e,t),r=new ce(c);return r.ownerDocument=this,r.childNodes=new F,r.nodeName=t,r.name=t,r.specified=!0,r.namespaceURI=n[0],r.prefix=n[1],r.localName=n[2],r}},S(X,G),le.prototype={nodeType:E,attributes:null,getQualifiedName:function(){return this.prefix?this.prefix+":"+this.localName:this.localName},_isInHTMLDocumentAndNamespace:function(){return"html"===this.ownerDocument.type&&this.namespaceURI===l.HTML},hasAttributes:function(){return!(!this.attributes||!this.attributes.length)},hasAttribute:function(e){return!!this.getAttributeNode(e)},getAttribute:function(e){var t=this.getAttributeNode(e);return t?t.value:null},getAttributeNode:function(e){return this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase()),this.attributes.getNamedItem(e)},setAttribute:function(e,t){this._isInHTMLDocumentAndNamespace()&&(e=e.toLowerCase());var n=this.getAttributeNode(e);n?n.value=n.nodeValue=""+t:((n=this.ownerDocument._createAttribute(e)).value=n.nodeValue=""+t,this.setAttributeNode(n))},removeAttribute:function(e){var t=this.getAttributeNode(e);t&&this.removeAttributeNode(t)},setAttributeNode:function(e){return this.attributes.setNamedItem(e)},setAttributeNodeNS:function(e){return this.attributes.setNamedItemNS(e)},removeAttributeNode:function(e){return this.attributes.removeNamedItem(e.nodeName)},removeAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);n&&this.removeAttributeNode(n)},hasAttributeNS:function(e,t){return null!=this.getAttributeNodeNS(e,t)},getAttributeNS:function(e,t){var n=this.getAttributeNodeNS(e,t);return n?n.value:null},setAttributeNS:function(e,t,n){var r=v(e,t)[2],a=this.getAttributeNodeNS(e,r);a?a.value=a.nodeValue=""+n:((a=this.ownerDocument.createAttributeNS(e,t)).value=a.nodeValue=""+n,this.setAttributeNode(a))},getAttributeNodeNS:function(e,t){return this.attributes.getNamedItemNS(e,t)},getElementsByClassName:function(e){var t=b(e);return new z(this,function(n){var r=[];return t.length>
vendor: 3,171 bytes, line 152
1520&&Y(n,function(a){if(a!==n&&a.nodeType===E){var o=a.getAttribute("class");if(o){var i=e===o;if(!i){var s=b(o);i=t.every((l=s,function(e){return l&&-1!==l.indexOf(e)}))}i&&r.push(a)}}var l}),r})},getElementsByTagName:function(e){var t="html"===(this.nodeType===R?this:this.ownerDocument).type,n=e.toLowerCase();return new z(this,function(r){var a=[];return Y(r,function(o){o!==r&&o.nodeType===E&&(("*"===e||o.getQualifiedName()===(t&&o.namespaceURI===l.HTML?n:e))&&a.push(o))}),a})},getElementsByTagNameNS:function(e,t){return new z(this,function(n){var r=[];return Y(n,function(a){a===n||a.nodeType!==E||"*"!==e&&a.namespaceURI!==e||"*"!==t&&a.localName!=t||r.push(a)}),r})}},X.prototype.getElementsByClassName=le.prototype.getElementsByClassName,X.prototype.getElementsByTagName=le.prototype.getElementsByTagName,X.prototype.getElementsByTagNameNS=le.prototype.getElementsByTagNameNS,S(le,G),ce.prototype.nodeType=C,S(ce,G),ue.prototype={data:"",substringData:function(e,t){return this.data.substring(e,e+t)},appendData:function(e){e=this.data+e,this.nodeValue=this.data=e,this.length=e.length},insertData:function(e,t){this.replaceData(e,0,t)},deleteData:function(e,t){this.replaceData(e,t,"")},replaceData:function(e,t,n){n=this.data.substring(0,e)+n+this.data.substring(e+t),this.nodeValue=this.data=n,this.length=n.length}},S(ue,G),de.prototype={nodeName:"#text",nodeType:k,splitText:function(e){var t=this.data,n=t.substring(e);t=t.substring(0,e),this.data=this.nodeValue=t,this.length=t.length;var r=this.ownerDocument.createTextNode(n);return this.parentNode&&this.parentNode.insertBefore(r,this.nextSibling),r}},S(de,ue),pe.prototype={nodeName:"#comment",nodeType:_},S(pe,ue),fe.prototype={nodeName:"#cdata-section",nodeType:T},S(fe,de),me.prototype.nodeType=O,S(me,G),he.prototype.nodeType=D,S(he,G),ge.prototype.nodeType=I,S(ge,G),be.prototype.nodeType=A,S(be,G),ye.prototype.nodeName="#document-fragment",ye.prototype.nodeType=L,S(ye,G),ve.prototype.nodeType=N,S(ve,ue),xe.prototype.serializeToString=function(e,t){return Se.call(e,t)},G.prototype.toString=Se;try{if(Object.defineProperty){function Ie(e){switch(e.nodeType){case E:case L:var t=[];for(e=e.firstChild;e;)7!==e.nodeType&&8!==e.nodeType&&t.push(Ie(e)),e=e.nextSibling;return t.join("");default:return e.nodeValue}}Object.defineProperty(z.prototype,"length",{get:function(){return $(this),this.$$length}}),Object.defineProperty(G.prototype,"textContent",{get:function(){return Ie(this)},set:function(e){switch(this.nodeType){case E:case L:for(;this.firstChild;)this.removeChild(this.firstChild);(e||String(e))&&this.appendChild(this.ownerDocument.createTextNode(e));break;default:this.data=e,this.value=e,this.nodeValue=e}}}),Ae=function(e,t,n){e["$$"+t]=n}}}catch(yU){}return Nx._updateLiveList=$,Nx.Attr=ce,Nx.CDATASection=fe,Nx.CharacterData=ue,Nx.Comment=pe,Nx.Document=X,Nx.DocumentFragment=ye,Nx.DocumentType=me,Nx.DOMImplementation=W,Nx.Element=le,Nx.Entity=ge,Nx.EntityReference=be,Nx.LiveNodeList=z,Nx.NamedNodeMap=B,Nx.Node=G,Nx.NodeList=F,Nx.Notation=he,Nx.Text=de,Nx.ProcessingInstruction=ve,Nx.XMLSerializer=xe,Nx}var Lx,Dx={},Px={};function Mx(){return Lx||(Lx=1,e=Px,t=Ex().freeze,
vendor: 28,831 bytes, line 152
152e.XML_ENTITIES=t({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),e.HTML_ENTITIES=t({Aacute:"Ã",aacute:"á",Abreve:"Ä",abreve:"Ä",ac:"â¾",acd:"â¿",acE:"â¾Ì³",Acirc:"Ã",acirc:"â",acute:"´",Acy:"Ð",acy:"а",AElig:"Ã",aelig:"æ",af:"â¡",Afr:"ð",afr:"ð",Agrave:"Ã",agrave:"à ",alefsym:"âµ",aleph:"âµ",Alpha:"Î",alpha:"α",Amacr:"Ä",amacr:"Ä",amalg:"⨿",AMP:"&",amp:"&",And:"â©",and:"â§",andand:"â©",andd:"â©",andslope:"â©",andv:"â©",ang:"â ",ange:"⦤",angle:"â ",angmsd:"â¡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"â¦",angmsdag:"⦮",angmsdah:"⦯",angrt:"â",angrtvb:"â¾",angrtvbd:"â¦",angsph:"â¢",angst:"Ã
",angzarr:"â¼",Aogon:"Ä",aogon:"Ä
",Aopf:"ð¸",aopf:"ð",ap:"â",apacir:"⩯",apE:"â©°",ape:"â",apid:"â",apos:"'",ApplyFunction:"â¡",approx:"â",approxeq:"â",Aring:"Ã
",aring:"Ã¥",Ascr:"ð",ascr:"ð¶",Assign:"â",ast:"*",asymp:"â",asympeq:"â",Atilde:"Ã",atilde:"ã",Auml:"Ã",auml:"ä",awconint:"â³",awint:"â¨",backcong:"â",backepsilon:"϶",backprime:"âµ",backsim:"â½",backsimeq:"â",Backslash:"â",Barv:"â«§",barvee:"â½",Barwed:"â",barwed:"â
",barwedge:"â
",bbrk:"âµ",bbrktbrk:"â¶",bcong:"â",Bcy:"Ð",bcy:"б",bdquo:"â",becaus:"âµ",Because:"âµ",because:"âµ",bemptyv:"⦰",bepsi:"϶",bernou:"â¬",Bernoullis:"â¬",Beta:"Î",beta:"β",beth:"â¶",between:"â¬",Bfr:"ð
",bfr:"ð",bigcap:"â",bigcirc:"â¯",bigcup:"â",bigodot:"â¨",bigoplus:"â¨",bigotimes:"â¨",bigsqcup:"â¨",bigstar:"â
",bigtriangledown:"â½",bigtriangleup:"â³",biguplus:"â¨",bigvee:"â",bigwedge:"â",bkarow:"â¤",blacklozenge:"â§«",blacksquare:"âª",blacktriangle:"â´",blacktriangledown:"â¾",blacktriangleleft:"â",blacktriangleright:"â¸",blank:"â£",blk12:"â",blk14:"â",blk34:"â",block:"â",bne:"=â¥",bnequiv:"â¡â¥",bNot:"â«",bnot:"â",Bopf:"ð¹",bopf:"ð",bot:"â¥",bottom:"â¥",bowtie:"â",boxbox:"â§",boxDL:"â",boxDl:"â",boxdL:"â",boxdl:"â",boxDR:"â",boxDr:"â",boxdR:"â",boxdr:"â",boxH:"â",boxh:"â",boxHD:"â¦",boxHd:"â¤",boxhD:"â¥",boxhd:"â¬",boxHU:"â©",boxHu:"â§",boxhU:"â¨",boxhu:"â´",boxminus:"â",boxplus:"â",boxtimes:"â ",boxUL:"â",boxUl:"â",boxuL:"â",boxul:"â",boxUR:"â",boxUr:"â",boxuR:"â",boxur:"â",boxV:"â",boxv:"â",boxVH:"â¬",boxVh:"â«",boxvH:"âª",boxvh:"â¼",boxVL:"â£",boxVl:"â¢",boxvL:"â¡",boxvl:"â¤",boxVR:"â ",boxVr:"â",boxvR:"â",boxvr:"â",bprime:"âµ",Breve:"Ë",breve:"Ë",brvbar:"¦",Bscr:"â¬",bscr:"ð·",bsemi:"â",bsim:"â½",bsime:"â",bsol:"\\",bsolb:"â§
",bsolhsub:"â",bull:"â¢",bullet:"â¢",bump:"â",bumpE:"⪮",bumpe:"â",Bumpeq:"â",bumpeq:"â",Cacute:"Ä",cacute:"Ä",Cap:"â",cap:"â©",capand:"â©",capbrcup:"â©",capcap:"â©",capcup:"â©",capdot:"â©",CapitalDifferentialD:"â
",caps:"â©ï¸",caret:"â",caron:"Ë",Cayleys:"â",ccaps:"â©",Ccaron:"Ä",ccaron:"Ä",Ccedil:"Ã",ccedil:"ç",Ccirc:"Ä",ccirc:"Ä",Cconint:"â°",ccups:"â©",ccupssm:"â©",Cdot:"Ä",cdot:"Ä",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"â",cfr:"ð ",CHcy:"Ч",chcy:"Ñ",check:"â",checkmark:"â",Chi:"Χ",chi:"Ï",cir:"â",circ:"Ë",circeq:"â",circlearrowleft:"âº",circlearrowright:"â»",circledast:"â",circledcirc:"â",circleddash:"â",CircleDot:"â",circledR:"®",circledS:"â",CircleMinus:"â",CirclePlus:"â",CircleTimes:"â",cirE:"â§",cire:"â",cirfnint:"â¨",cirmid:"⫯",cirscir:"â§",ClockwiseContourIntegral:"â²",CloseCurlyDoubleQuote:"â",CloseCurlyQuote:"â",clubs:"â£",clubsuit:"â£",Colon:"â·",colon:":",Colone:"â©´",colone:"â",coloneq:"â",comma:",",commat:"@",comp:"â",compfn:"â",complement:"â",complexes:"â",cong:"â
",congdot:"â©",Congruent:"â¡",Conint:"â¯",conint:"â®",ContourIntegral:"â®",Copf:"â",copf:"ð",coprod:"â",Coproduct:"â",COPY:"©",copy:"©",copysr:"â",CounterClockwiseContourIntegral:"â³",crarr:"âµ",Cross:"⨯",cross:"â",Cscr:"ð",cscr:"ð¸",csub:"â«",csube:"â«",csup:"â«",csupe:"â«",ctdot:"â¯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"â",cuesc:"â",cularr:"â¶",cularrp:"⤽",Cup:"â",cup:"âª",cupbrcap:"â©",CupCap:"â",cupcap:"â©",cupcup:"â©",cupdot:"â",cupor:"â©
",cups:"âªï¸",curarr:"â·",curarrm:"⤼",curlyeqprec:"â",curlyeqsucc:"â",curlyvee:"â",curlywedge:"â",curren:"¤",curvearrowleft:"â¶",curvearrowright:"â·",cuvee:"â",cuwed:"â",cwconint:"â²",cwint:"â±",cylcty:"â",Dagger:"â¡",dagger:"â ",daleth:"â¸",Darr:"â¡",dArr:"â",darr:"â",dash:"â",Dashv:"⫤",dashv:"â£",dbkarow:"â¤",dblac:"Ë",Dcaron:"Ä",dcaron:"Ä",Dcy:"Ð",dcy:"д",DD:"â
",dd:"â
",ddagger:"â¡",ddarr:"â",DDotrahd:"â¤",ddotseq:"â©·",deg:"°",Del:"â",Delta:"Î",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"ð",dfr:"ð¡",dHar:"⥥",dharl:"â",dharr:"â",DiacriticalAcute:"´",DiacriticalDot:"Ë",DiacriticalDoubleAcute:"Ë",DiacriticalGrave:"`",DiacriticalTilde:"Ë",diam:"â",Diamond:"â",diamond:"â",diamondsuit:"â¦",diams:"â¦",die:"¨",DifferentialD:"â
",digamma:"Ï",disin:"â²",div:"÷",divide:"÷",divideontimes:"â",divonx:"â",DJcy:"Ð",djcy:"Ñ",dlcorn:"â",dlcrop:"â",dollar:"$",Dopf:"ð»",dopf:"ð",Dot:"¨",dot:"Ë",DotDot:"â",doteq:"â",doteqdot:"â",DotEqual:"â",dotminus:"â¸",dotplus:"â",dotsquare:"â¡",doublebarwedge:"â",DoubleContourIntegral:"â¯",DoubleDot:"¨",DoubleDownArrow:"â",DoubleLeftArrow:"â",DoubleLeftRightArrow:"â",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"â¸",DoubleLongLeftRightArrow:"âº",DoubleLongRightArrow:"â¹",DoubleRightArrow:"â",DoubleRightTee:"â¨",DoubleUpArrow:"â",DoubleUpDownArrow:"â",DoubleVerticalBar:"â¥",DownArrow:"â",Downarrow:"â",downarrow:"â",DownArrowBar:"â¤",DownArrowUpArrow:"âµ",DownBreve:"Ì",downdownarrows:"â",downharpoonleft:"â",downharpoonright:"â",DownLeftRightVector:"â¥",DownLeftTeeVector:"â¥",DownLeftVector:"â½",DownLeftVectorBar:"â¥",DownRightTeeVector:"â¥",DownRightVector:"â",DownRightVectorBar:"â¥",DownTee:"â¤",DownTeeArrow:"â§",drbkarow:"â¤",drcorn:"â",drcrop:"â",Dscr:"ð",dscr:"ð¹",DScy:"Ð
",dscy:"Ñ",dsol:"â§¶",Dstrok:"Ä",dstrok:"Ä",dtdot:"â±",dtri:"â¿",dtrif:"â¾",duarr:"âµ",duhar:"⥯",dwangle:"⦦",DZcy:"Ð",dzcy:"Ñ",dzigrarr:"â¿",Eacute:"Ã",eacute:"é",easter:"â©®",Ecaron:"Ä",ecaron:"Ä",ecir:"â",Ecirc:"Ã",ecirc:"ê",ecolon:"â",Ecy:"Ð",ecy:"Ñ",eDDot:"â©·",Edot:"Ä",eDot:"â",edot:"Ä",ee:"â
",efDot:"â",Efr:"ð",efr:"ð¢",eg:"âª",Egrave:"Ã",egrave:"è",egs:"âª",egsdot:"âª",el:"âª",Element:"â",elinters:"â§",ell:"â",els:"âª",elsdot:"âª",Emacr:"Ä",emacr:"Ä",empty:"â
",emptyset:"â
",EmptySmallSquare:"â»",emptyv:"â
",EmptyVerySmallSquare:"â«",emsp:"â",emsp13:"â",emsp14:"â
",ENG:"Å",eng:"Å",ensp:"â",Eogon:"Ä",eogon:"Ä",Eopf:"ð¼",eopf:"ð",epar:"â",eparsl:"â§£",eplus:"⩱",epsi:"ε",Epsilon:"Î",epsilon:"ε",epsiv:"ϵ",eqcirc:"â",eqcolon:"â",eqsim:"â",eqslantgtr:"âª",eqslantless:"âª",Equal:"⩵",equals:"=",EqualTilde:"â",equest:"â",Equilibrium:"â",equiv:"â¡",equivDD:"⩸",eqvparsl:"â§¥",erarr:"⥱",erDot:"â",Escr:"â°",escr:"â¯",esdot:"â",Esim:"⩳",esim:"â",Eta:"Î",eta:"η",ETH:"Ã",eth:"ð",Euml:"Ã",euml:"ë",euro:"â¬",excl:"!",exist:"â",Exists:"â",expectation:"â°",ExponentialE:"â
",exponentiale:"â
",fallingdotseq:"â",Fcy:"Ф",fcy:"Ñ",female:"â",ffilig:"ï¬",fflig:"ï¬",ffllig:"ï¬",Ffr:"ð",ffr:"ð£",filig:"ï¬",FilledSmallSquare:"â¼",FilledVerySmallSquare:"âª",fjlig:"fj",flat:"â",fllig:"ï¬",fltns:"â±",fnof:"Æ",Fopf:"ð½",fopf:"ð",ForAll:"â",forall:"â",fork:"â",forkv:"â«",Fouriertrf:"â±",fpartint:"â¨",frac12:"½",frac13:"â
",frac14:"¼",frac15:"â
",frac16:"â
",frac18:"â
",frac23:"â
",frac25:"â
",frac34:"¾",frac35:"â
",frac38:"â
",frac45:"â
",frac56:"â
",frac58:"â
",frac78:"â
",frasl:"â",frown:"â¢",Fscr:"â±",fscr:"ð»",gacute:"ǵ",Gamma:"Î",gamma:"γ",Gammad:"Ï",gammad:"Ï",gap:"âª",Gbreve:"Ä",gbreve:"Ä",Gcedil:"Ä¢",Gcirc:"Ä",gcirc:"Ä",Gcy:"Ð",gcy:"г",Gdot:"Ä ",gdot:"Ä¡",gE:"â§",ge:"â¥",gEl:"âª",gel:"â",geq:"â¥",geqq:"â§",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"âª",gesdoto:"âª",gesdotol:"âª",gesl:"âï¸",gesles:"âª",Gfr:"ð",gfr:"ð¤",Gg:"â",gg:"â«",ggg:"â",gimel:"â·",GJcy:"Ð",gjcy:"Ñ",gl:"â·",gla:"⪥",glE:"âª",glj:"⪤",gnap:"âª",gnapprox:"âª",gnE:"â©",gne:"âª",gneq:"âª",gneqq:"â©",gnsim:"â§",Gopf:"ð¾",gopf:"ð",grave:"`",GreaterEqual:"â¥",GreaterEqualLess:"â",GreaterFullEqual:"â§",GreaterGreater:"⪢",GreaterLess:"â·",GreaterSlantEqual:"⩾",GreaterTilde:"â³",Gscr:"ð¢",gscr:"â",gsim:"â³",gsime:"âª",gsiml:"âª",Gt:"â«",GT:">",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"â",gtlPar:"â¦",gtquest:"⩼",gtrapprox:"âª",gtrarr:"⥸",gtrdot:"â",gtreqless:"â",gtreqqless:"âª",gtrless:"â·",gtrsim:"â³",gvertneqq:"â©ï¸",gvnE:"â©ï¸",Hacek:"Ë",hairsp:"â",half:"½",hamilt:"â",HARDcy:"Ъ",hardcy:"Ñ",hArr:"â",harr:"â",harrcir:"â¥",harrw:"â",Hat:"^",hbar:"â",Hcirc:"Ĥ",hcirc:"Ä¥",hearts:"â¥",heartsuit:"â¥",hellip:"â¦",hercon:"â¹",Hfr:"â",hfr:"ð¥",HilbertSpace:"â",hksearow:"⤥",hkswarow:"⤦",hoarr:"â¿",homtht:"â»",hookleftarrow:"â©",hookrightarrow:"âª",Hopf:"â",hopf:"ð",horbar:"â",HorizontalLine:"â",Hscr:"â",hscr:"ð½",hslash:"â",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"â",HumpEqual:"â",hybull:"â",hyphen:"â",Iacute:"Ã",iacute:"Ã",ic:"â£",Icirc:"Ã",icirc:"î",Icy:"Ð",icy:"и",Idot:"İ",IEcy:"Ð",iecy:"е",iexcl:"¡",iff:"â",Ifr:"â",ifr:"ð¦",Igrave:"Ã",igrave:"ì",ii:"â
",iiiint:"â¨",iiint:"â",iinfin:"â§",iiota:"â©",IJlig:"IJ",ijlig:"ij",Im:"â",Imacr:"Ī",imacr:"Ä«",image:"â",ImaginaryI:"â
",imagline:"â",imagpart:"â",imath:"ı",imof:"â·",imped:"Ƶ",Implies:"â",in:"â",incare:"â
",infin:"â",infintie:"â§",inodot:"ı",Int:"â¬",int:"â«",intcal:"âº",integers:"â¤",Integral:"â«",intercal:"âº",Intersection:"â",intlarhk:"â¨",intprod:"⨼",InvisibleComma:"â£",InvisibleTimes:"â¢",IOcy:"Ð",iocy:"Ñ",Iogon:"Ä®",iogon:"į",Iopf:"ð",iopf:"ð",Iota:"Î",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"â",iscr:"ð¾",isin:"â",isindot:"âµ",isinE:"â¹",isins:"â´",isinsv:"â³",isinv:"â",it:"â¢",Itilde:"Ĩ",itilde:"Ä©",Iukcy:"Ð",iukcy:"Ñ",Iuml:"Ã",iuml:"ï",Jcirc:"Ä´",jcirc:"ĵ",Jcy:"Ð",jcy:"й",Jfr:"ð",jfr:"ð§",jmath:"È·",Jopf:"ð",jopf:"ð",Jscr:"ð¥",jscr:"ð¿",Jsercy:"Ð",jsercy:"Ñ",Jukcy:"Ð",jukcy:"Ñ",Kappa:"Î",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"Ä·",Kcy:"Ð",kcy:"к",Kfr:"ð",kfr:"ð¨",kgreen:"ĸ",KHcy:"Ð¥",khcy:"Ñ
",KJcy:"Ð",kjcy:"Ñ",Kopf:"ð",kopf:"ð",Kscr:"ð¦",kscr:"ð",lAarr:"â",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"â",Lambda:"Î",lambda:"λ",Lang:"âª",lang:"â¨",langd:"â¦",langle:"â¨",lap:"âª
",Laplacetrf:"â",laquo:"«",Larr:"â",lArr:"â",larr:"â",larrb:"â¤",larrbfs:"â¤",larrfs:"â¤",larrhk:"â©",larrlp:"â«",larrpl:"⤹",larrsim:"⥳",larrtl:"â¢",lat:"⪫",lAtail:"â¤",latail:"â¤",late:"âª",lates:"âªï¸",lBarr:"â¤",lbarr:"â¤",lbbrk:"â²",lbrace:"{",lbrack:"[",lbrke:"â¦",lbrksld:"â¦",lbrkslu:"â¦",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ä»",lcedil:"ļ",lceil:"â",lcub:"{",Lcy:"Ð",lcy:"л",ldca:"⤶",ldquo:"â",ldquor:"â",ldrdhar:"⥧",ldrushar:"â¥",ldsh:"â²",lE:"â¦",le:"â¤",LeftAngleBracket:"â¨",LeftArrow:"â",Leftarrow:"â",leftarrow:"â",LeftArrowBar:"â¤",LeftArrowRightArrow:"â",leftarrowtail:"â¢",LeftCeiling:"â",LeftDoubleBracket:"â¦",LeftDownTeeVector:"⥡",LeftDownVector:"â",LeftDownVectorBar:"â¥",LeftFloor:"â",leftharpoondown:"â½",leftharpoonup:"â¼",leftleftarrows:"â",LeftRightArrow:"â",Leftrightarrow:"â",leftrightarrow:"â",leftrightarrows:"â",leftrightharpoons:"â",leftrightsquigarrow:"â",LeftRightVector:"â¥",LeftTee:"â£",LeftTeeArrow:"â¤",LeftTeeVector:"â¥",leftthreetimes:"â",LeftTriangle:"â²",LeftTriangleBar:"â§",LeftTriangleEqual:"â´",LeftUpDownVector:"â¥",LeftUpTeeVector:"⥠",LeftUpVector:"â¿",LeftUpVectorBar:"â¥",LeftVector:"â¼",LeftVectorBar:"â¥",lEg:"âª",leg:"â",leq:"â¤",leqq:"â¦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"â©¿",lesdoto:"âª",lesdotor:"âª",lesg:"âï¸",lesges:"âª",lessapprox:"âª
",lessdot:"â",lesseqgtr:"â",lesseqqgtr:"âª",LessEqualGreater:"â",LessFullEqual:"â¦",LessGreater:"â¶",lessgtr:"â¶",LessLess:"⪡",lesssim:"â²",LessSlantEqual:"⩽",LessTilde:"â²",lfisht:"⥼",lfloor:"â",Lfr:"ð",lfr:"ð©",lg:"â¶",lgE:"âª",lHar:"⥢",lhard:"â½",lharu:"â¼",lharul:"⥪",lhblk:"â",LJcy:"Ð",ljcy:"Ñ",Ll:"â",ll:"âª",llarr:"â",llcorner:"â",Lleftarrow:"â",llhard:"⥫",lltri:"âº",Lmidot:"Ä¿",lmidot:"Å",lmoust:"â°",lmoustache:"â°",lnap:"âª",lnapprox:"âª",lnE:"â¨",lne:"âª",lneq:"âª",lneqq:"â¨",lnsim:"â¦",loang:"â¬",loarr:"â½",lobrk:"â¦",LongLeftArrow:"âµ",Longleftarrow:"â¸",longleftarrow:"âµ",LongLeftRightArrow:"â·",Longleftrightarrow:"âº",longleftrightarrow:"â·",longmapsto:"â¼",LongRightArrow:"â¶",Longrightarrow:"â¹",longrightarrow:"â¶",looparrowleft:"â«",looparrowright:"â¬",lopar:"â¦
",Lopf:"ð",lopf:"ð",loplus:"â¨",lotimes:"⨴",lowast:"â",lowbar:"_",LowerLeftArrow:"â",LowerRightArrow:"â",loz:"â",lozenge:"â",lozf:"â§«",lpar:"(",lparlt:"â¦",lrarr:"â",lrcorner:"â",lrhar:"â",lrhard:"â¥",lrm:"â",lrtri:"â¿",lsaquo:"â¹",Lscr:"â",lscr:"ð",Lsh:"â°",lsh:"â°",lsim:"â²",lsime:"âª",lsimg:"âª",lsqb:"[",lsquo:"â",lsquor:"â",Lstrok:"Å",lstrok:"Å",Lt:"âª",LT:"<",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"â",lthree:"â",ltimes:"â",ltlarr:"⥶",ltquest:"â©»",ltri:"â",ltrie:"â´",ltrif:"â",ltrPar:"â¦",lurdshar:"â¥",luruhar:"⥦",lvertneqq:"â¨ï¸",lvnE:"â¨ï¸",macr:"¯",male:"â",malt:"â ",maltese:"â ",Map:"â¤
",map:"â¦",mapsto:"â¦",mapstodown:"â§",mapstoleft:"â¤",mapstoup:"â¥",marker:"â®",mcomma:"⨩",Mcy:"Ð",mcy:"м",mdash:"â",mDDot:"âº",measuredangle:"â¡",MediumSpace:"â",Mellintrf:"â³",Mfr:"ð",mfr:"ðª",mho:"â§",micro:"µ",mid:"â£",midast:"*",midcir:"â«°",middot:"·",minus:"â",minusb:"â",minusd:"â¸",minusdu:"⨪",MinusPlus:"â",mlcp:"â«",mldr:"â¦",mnplus:"â",models:"â§",Mopf:"ð",mopf:"ð",mp:"â",Mscr:"â³",mscr:"ð",mstpos:"â¾",Mu:"Î",mu:"μ",multimap:"â¸",mumap:"â¸",nabla:"â",Nacute:"Å",nacute:"Å",nang:"â â",nap:"â",napE:"⩰̸",napid:"â̸",napos:"Å",napprox:"â",natur:"â®",natural:"â®",naturals:"â",nbsp:" ",nbump:"â̸",nbumpe:"â̸",ncap:"â©",Ncaron:"Å",ncaron:"Å",Ncedil:"Å
",ncedil:"Å",ncong:"â",ncongdot:"â©Ì¸",ncup:"â©",Ncy:"Ð",ncy:"н",ndash:"â",ne:"â ",nearhk:"⤤",neArr:"â",nearr:"â",nearrow:"â",nedot:"â̸",NegativeMediumSpace:"â",NegativeThickSpace:"â",NegativeThinSpace:"â",NegativeVeryThinSpace:"â",nequiv:"â¢",nesear:"⤨",nesim:"â̸",NestedGreaterGreater:"â«",NestedLessLess:"âª",NewLine:"\n",nexist:"â",nexists:"â",Nfr:"ð",nfr:"ð«",ngE:"â§Ì¸",nge:"â±",ngeq:"â±",ngeqq:"â§Ì¸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"â̸",ngsim:"âµ",nGt:"â«â",ngt:"â¯",ngtr:"â¯",nGtv:"â«Ì¸",nhArr:"â",nharr:"â®",nhpar:"⫲",ni:"â",nis:"â¼",nisd:"âº",niv:"â",NJcy:"Ð",njcy:"Ñ",nlArr:"â",nlarr:"â",nldr:"â¥",nlE:"â¦Ì¸",nle:"â°",nLeftarrow:"â",nleftarrow:"â",nLeftrightarrow:"â",nleftrightarrow:"â®",nleq:"â°",nleqq:"â¦Ì¸",nleqslant:"⩽̸",nles:"⩽̸",nless:"â®",nLl:"â̸",nlsim:"â´",nLt:"âªâ",nlt:"â®",nltri:"âª",nltrie:"â¬",nLtv:"âªÌ¸",nmid:"â¤",NoBreak:"â ",NonBreakingSpace:" ",Nopf:"â",nopf:"ð",Not:"⫬",not:"¬",NotCongruent:"â¢",NotCupCap:"â",NotDoubleVerticalBar:"â¦",NotElement:"â",NotEqual:"â ",NotEqualTilde:"â̸",NotExists:"â",NotGreater:"â¯",NotGreaterEqual:"â±",NotGreaterFullEqual:"â§Ì¸",NotGreaterGreater:"â«Ì¸",NotGreaterLess:"â¹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"âµ",NotHumpDownHump:"â̸",NotHumpEqual:"â̸",notin:"â",notindot:"âµÌ¸",notinE:"â¹Ì¸",notinva:"â",notinvb:"â·",notinvc:"â¶",NotLeftTriangle:"âª",NotLeftTriangleBar:"â§Ì¸",NotLeftTriangleEqual:"â¬",NotLess:"â®",NotLessEqual:"â°",NotLessGreater:"â¸",NotLessLess:"âªÌ¸",NotLessSlantEqual:"⩽̸",NotLessTilde:"â´",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"â",notniva:"â",notnivb:"â¾",notnivc:"â½",NotPrecedes:"â",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"â ",NotReverseElement:"â",NotRightTriangle:"â«",NotRightTriangleBar:"â§Ì¸",NotRightTriangleEqual:"â",NotSquareSubset:"â̸",NotSquareSubsetEqual:"â¢",NotSquareSuperset:"â̸",NotSquareSupersetEqual:"â£",NotSubset:"ââ",NotSubsetEqual:"â",NotSucceeds:"â",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"â¡",NotSucceedsTilde:"â¿Ì¸",NotSuperset:"ââ",NotSupersetEqual:"â",NotTilde:"â",NotTildeEqual:"â",NotTildeFullEqual:"â",NotTildeTilde:"â",NotVerticalBar:"â¤",npar:"â¦",nparallel:"â¦",nparsl:"⫽â¥",npart:"â̸",npolint:"â¨",npr:"â",nprcue:"â ",npre:"⪯̸",nprec:"â",npreceq:"⪯̸",nrArr:"â",nrarr:"â",nrarrc:"⤳̸",nrarrw:"â̸",nRightarrow:"â",nrightarrow:"â",nrtri:"â«",nrtrie:"â",nsc:"â",nsccue:"â¡",nsce:"⪰̸",Nscr:"ð©",nscr:"ð",nshortmid:"â¤",nshortparallel:"â¦",nsim:"â",nsime:"â",nsimeq:"â",nsmid:"â¤",nspar:"â¦",nsqsube:"â¢",nsqsupe:"â£",nsub:"â",nsubE:"â«
̸",nsube:"â",nsubset:"ââ",nsubseteq:"â",nsubseteqq:"â«
̸",nsucc:"â",nsucceq:"⪰̸",nsup:"â
",nsupE:"â«Ì¸",nsupe:"â",nsupset:"ââ",nsupseteq:"â",nsupseteqq:"â«Ì¸",ntgl:"â¹",Ntilde:"Ã",ntilde:"ñ",ntlg:"â¸",ntriangleleft:"âª",ntrianglelefteq:"â¬",ntriangleright:"â«",ntrianglerighteq:"â",Nu:"Î",nu:"ν",num:"#",numero:"â",numsp:"â",nvap:"ââ",nVDash:"â¯",nVdash:"â®",nvDash:"â",nvdash:"â¬",nvge:"â¥â",nvgt:">â",nvHarr:"â¤",nvinfin:"â§",nvlArr:"â¤",nvle:"â¤â",nvlt:"<â",nvltrie:"â´â",nvrArr:"â¤",nvrtrie:"âµâ",nvsim:"â¼â",nwarhk:"⤣",nwArr:"â",nwarr:"â",nwarrow:"â",nwnear:"⤧",Oacute:"Ã",oacute:"ó",oast:"â",ocir:"â",Ocirc:"Ã",ocirc:"ô",Ocy:"Ð",ocy:"о",odash:"â",Odblac:"Å",odblac:"Å",odiv:"⨸",odot:"â",odsold:"⦼",OElig:"Å",oelig:"Å",ofcir:"⦿",Ofr:"ð",ofr:"ð¬",ogon:"Ë",Ograve:"Ã",ograve:"ò",ogt:"â§",ohbar:"⦵",ohm:"Ω",oint:"â®",olarr:"âº",olcir:"⦾",olcross:"⦻",oline:"â¾",olt:"â§",Omacr:"Å",omacr:"Å",Omega:"Ω",omega:"Ï",Omicron:"Î",omicron:"ο",omid:"⦶",ominus:"â",Oopf:"ð",oopf:"ð ",opar:"⦷",OpenCurlyDoubleQuote:"â",OpenCurlyQuote:"â",operp:"⦹",oplus:"â",Or:"â©",or:"â¨",orarr:"â»",ord:"â©",order:"â´",orderof:"â´",ordf:"ª",ordm:"º",origof:"â¶",oror:"â©",orslope:"â©",orv:"â©",oS:"â",Oscr:"ðª",oscr:"â´",Oslash:"Ã",oslash:"ø",osol:"â",Otilde:"Ã",otilde:"õ",Otimes:"⨷",otimes:"â",otimesas:"⨶",Ouml:"Ã",ouml:"ö",ovbar:"â½",OverBar:"â¾",OverBrace:"â",OverBracket:"â´",OverParenthesis:"â",par:"â¥",para:"¶",parallel:"â¥",parsim:"⫳",parsl:"⫽",part:"â",PartialD:"â",Pcy:"Ð",pcy:"п",percnt:"%",period:".",permil:"â°",perp:"â¥",pertenk:"â±",Pfr:"ð",pfr:"ð",Phi:"Φ",phi:"Ï",phiv:"Ï",phmmat:"â³",phone:"â",Pi:"Î ",pi:"Ï",pitchfork:"â",piv:"Ï",planck:"â",planckh:"â",plankv:"â",plus:"+",plusacir:"⨣",plusb:"â",pluscir:"⨢",plusdo:"â",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"â",pointint:"â¨",Popf:"â",popf:"ð¡",pound:"£",Pr:"⪻",pr:"âº",prap:"⪷",prcue:"â¼",prE:"⪳",pre:"⪯",prec:"âº",precapprox:"⪷",preccurlyeq:"â¼",Precedes:"âº",PrecedesEqual:"⪯",PrecedesSlantEqual:"â¼",PrecedesTilde:"â¾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"â¨",precsim:"â¾",Prime:"â³",prime:"â²",primes:"â",prnap:"⪹",prnE:"⪵",prnsim:"â¨",prod:"â",Product:"â",profalar:"â®",profline:"â",profsurf:"â",prop:"â",Proportion:"â·",Proportional:"â",propto:"â",prsim:"â¾",prurel:"â°",Pscr:"ð«",pscr:"ð
",Psi:"Ψ",psi:"Ï",puncsp:"â",Qfr:"ð",qfr:"ð®",qint:"â¨",Qopf:"â",qopf:"ð¢",qprime:"â",Qscr:"ð¬",qscr:"ð",quaternions:"â",quatint:"â¨",quest:"?",questeq:"â",QUOT:'"',quot:'"',rAarr:"â",race:"â½Ì±",Racute:"Å",racute:"Å",radic:"â",raemptyv:"⦳",Rang:"â«",rang:"â©",rangd:"â¦",range:"⦥",rangle:"â©",raquo:"»",Rarr:"â ",rArr:"â",rarr:"â",rarrap:"⥵",rarrb:"â¥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"â¤",rarrhk:"âª",rarrlp:"â¬",rarrpl:"â¥
",rarrsim:"⥴",Rarrtl:"â¤",rarrtl:"â£",rarrw:"â",rAtail:"â¤",ratail:"â¤",ratio:"â¶",rationals:"â",RBarr:"â¤",rBarr:"â¤",rbarr:"â¤",rbbrk:"â³",rbrace:"}",rbrack:"]",rbrke:"â¦",rbrksld:"â¦",rbrkslu:"â¦",Rcaron:"Å",rcaron:"Å",Rcedil:"Å",rcedil:"Å",rceil:"â",rcub:"}",Rcy:"Ð ",rcy:"Ñ",rdca:"⤷",rdldhar:"⥩",rdquo:"â",rdquor:"â",rdsh:"â³",Re:"â",real:"â",realine:"â",realpart:"â",reals:"â",rect:"â",REG:"®",reg:"®",ReverseElement:"â",ReverseEquilibrium:"â",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"â",Rfr:"â",rfr:"ð¯",rHar:"⥤",rhard:"â",rharu:"â",rharul:"⥬",Rho:"Ρ",rho:"Ï",rhov:"ϱ",RightAngleBracket:"â©",RightArrow:"â",Rightarrow:"â",rightarrow:"â",RightArrowBar:"â¥",RightArrowLeftArrow:"â",rightarrowtail:"â£",RightCeiling:"â",RightDoubleBracket:"â§",RightDownTeeVector:"â¥",RightDownVector:"â",RightDownVectorBar:"â¥",RightFloor:"â",rightharpoondown:"â",rightharpoonup:"â",rightleftarrows:"â",rightleftharpoons:"â",rightrightarrows:"â",rightsquigarrow:"â",RightTee:"â¢",RightTeeArrow:"â¦",RightTeeVector:"â¥",rightthreetimes:"â",RightTriangle:"â³",RightTriangleBar:"â§",RightTriangleEqual:"âµ",RightUpDownVector:"â¥",RightUpTeeVector:"â¥",RightUpVector:"â¾",RightUpVectorBar:"â¥",RightVector:"â",RightVectorBar:"â¥",ring:"Ë",risingdotseq:"â",rlarr:"â",rlhar:"â",rlm:"â",rmoust:"â±",rmoustache:"â±",rnmid:"â«®",roang:"â",roarr:"â¾",robrk:"â§",ropar:"â¦",Ropf:"â",ropf:"ð£",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"â¦",rppolint:"â¨",rrarr:"â",Rrightarrow:"â",rsaquo:"âº",Rscr:"â",rscr:"ð",Rsh:"â±",rsh:"â±",rsqb:"]",rsquo:"â",rsquor:"â",rthree:"â",rtimes:"â",rtri:"â¹",rtrie:"âµ",rtrif:"â¸",rtriltri:"â§",RuleDelayed:"â§´",ruluhar:"⥨",rx:"â",Sacute:"Å",sacute:"Å",sbquo:"â",Sc:"⪼",sc:"â»",scap:"⪸",Scaron:"Å ",scaron:"Å¡",sccue:"â½",scE:"⪴",sce:"⪰",Scedil:"Å",scedil:"Å",Scirc:"Å",scirc:"Å",scnap:"⪺",scnE:"⪶",scnsim:"â©",scpolint:"â¨",scsim:"â¿",Scy:"С",scy:"Ñ",sdot:"â
",sdotb:"â¡",sdote:"⩦",searhk:"⤥",seArr:"â",searr:"â",searrow:"â",sect:"§",semi:";",seswar:"⤩",setminus:"â",setmn:"â",sext:"â¶",Sfr:"ð",sfr:"ð°",sfrown:"â¢",sharp:"â¯",SHCHcy:"Щ",shchcy:"Ñ",SHcy:"Ш",shcy:"Ñ",ShortDownArrow:"â",ShortLeftArrow:"â",shortmid:"â£",shortparallel:"â¥",ShortRightArrow:"â",ShortUpArrow:"â",shy:"Â",Sigma:"Σ",sigma:"Ï",sigmaf:"Ï",sigmav:"Ï",sim:"â¼",simdot:"⩪",sime:"â",simeq:"â",simg:"âª",simgE:"⪠",siml:"âª",simlE:"âª",simne:"â",simplus:"⨤",simrarr:"⥲",slarr:"â",SmallCircle:"â",smallsetminus:"â",smashp:"⨳",smeparsl:"⧤",smid:"â£",smile:"â£",smt:"⪪",smte:"⪬",smtes:"⪬ï¸",SOFTcy:"Ь",softcy:"Ñ",sol:"/",solb:"â§",solbar:"â¿",Sopf:"ð",sopf:"ð¤",spades:"â ",spadesuit:"â ",spar:"â¥",sqcap:"â",sqcaps:"âï¸",sqcup:"â",sqcups:"âï¸",Sqrt:"â",sqsub:"â",sqsube:"â",sqsubset:"â",sqsubseteq:"â",sqsup:"â",sqsupe:"â",sqsupset:"â",sqsupseteq:"â",squ:"â¡",Square:"â¡",square:"â¡",SquareIntersection:"â",SquareSubset:"â",SquareSubsetEqual:"â",SquareSuperset:"â",SquareSupersetEqual:"â",SquareUnion:"â",squarf:"âª",squf:"âª",srarr:"â",Sscr:"ð®",sscr:"ð",ssetmn:"â",ssmile:"â£",sstarf:"â",Star:"â",star:"â",starf:"â
",straightepsilon:"ϵ",straightphi:"Ï",strns:"¯",Sub:"â",sub:"â",subdot:"⪽",subE:"â«
",sube:"â",subedot:"â«",submult:"â«",subnE:"â«",subne:"â",subplus:"⪿",subrarr:"⥹",Subset:"â",subset:"â",subseteq:"â",subseteqq:"â«
",SubsetEqual:"â",subsetneq:"â",subsetneqq:"â«",subsim:"â«",subsub:"â«",subsup:"â«",succ:"â»",succapprox:"⪸",succcurlyeq:"â½",Succeeds:"â»",SucceedsEqual:"⪰",SucceedsSlantEqual:"â½",SucceedsTilde:"â¿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"â©",succsim:"â¿",SuchThat:"â",Sum:"â",sum:"â",sung:"âª",Sup:"â",sup:"â",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"â«",supE:"â«",supe:"â",supedot:"â«",Superset:"â",SupersetEqual:"â",suphsol:"â",suphsub:"â«",suplarr:"⥻",supmult:"â«",supnE:"â«",supne:"â",supplus:"â«",Supset:"â",supset:"â",supseteq:"â",supseteqq:"â«",supsetneq:"â",supsetneqq:"â«",supsim:"â«",supsub:"â«",supsup:"â«",swarhk:"⤦",swArr:"â",swarr:"â",swarrow:"â",swnwar:"⤪",szlig:"Ã",Tab:"\t",target:"â",Tau:"Τ",tau:"Ï",tbrk:"â´",Tcaron:"Ť",tcaron:"Å¥",Tcedil:"Å¢",tcedil:"Å£",Tcy:"Т",tcy:"Ñ",tdot:"â",telrec:"â",Tfr:"ð",tfr:"ð±",there4:"â´",Therefore:"â´",therefore:"â´",Theta:"Î",theta:"θ",thetasym:"Ï",thetav:"Ï",thickapprox:"â",thicksim:"â¼",ThickSpace:"ââ",thinsp:"â",ThinSpace:"â",thkap:"â",thksim:"â¼",THORN:"Ã",thorn:"þ",Tilde:"â¼",tilde:"Ë",TildeEqual:"â",TildeFullEqual:"â
",TildeTilde:"â",times:"Ã",timesb:"â ",timesbar:"⨱",timesd:"⨰",tint:"â",toea:"⤨",top:"â¤",topbot:"â¶",topcir:"⫱",Topf:"ð",topf:"ð¥",topfork:"â«",tosa:"⤩",tprime:"â´",TRADE:"â¢",trade:"â¢",triangle:"âµ",triangledown:"â¿",triangleleft:"â",trianglelefteq:"â´",triangleq:"â",triangleright:"â¹",trianglerighteq:"âµ",tridot:"â¬",trie:"â",triminus:"⨺",TripleDot:"â",triplus:"⨹",trisb:"â§",tritime:"⨻",trpezium:"â¢",Tscr:"ð¯",tscr:"ð",TScy:"Ц",tscy:"Ñ",TSHcy:"Ð",tshcy:"Ñ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"â¬",twoheadleftarrow:"â",twoheadrightarrow:"â ",Uacute:"Ã",uacute:"ú",Uarr:"â",uArr:"â",uarr:"â",Uarrocir:"â¥",Ubrcy:"Ð",ubrcy:"Ñ",Ubreve:"Ŭ",ubreve:"Å",Ucirc:"Ã",ucirc:"û",Ucy:"У",ucy:"Ñ",udarr:"â
",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"ð",ufr:"ð²",Ugrave:"Ã",ugrave:"ù",uHar:"⥣",uharl:"â¿",uharr:"â¾",uhblk:"â",ulcorn:"â",ulcorner:"â",ulcrop:"â",ultri:"â¸",Umacr:"Ū",umacr:"Å«",uml:"¨",UnderBar:"_",UnderBrace:"â",UnderBracket:"âµ",UnderParenthesis:"â",Union:"â",UnionPlus:"â",Uogon:"Ų",uogon:"ų",Uopf:"ð",uopf:"ð¦",UpArrow:"â",Uparrow:"â",uparrow:"â",UpArrowBar:"â¤",UpArrowDownArrow:"â
",UpDownArrow:"â",Updownarrow:"â",updownarrow:"â",UpEquilibrium:"⥮",upharpoonleft:"â¿",upharpoonright:"â¾",uplus:"â",UpperLeftArrow:"â",UpperRightArrow:"â",Upsi:"Ï",upsi:"Ï
",upsih:"Ï",Upsilon:"Î¥",upsilon:"Ï
",UpTee:"â¥",UpTeeArrow:"â¥",upuparrows:"â",urcorn:"â",urcorner:"â",urcrop:"â",Uring:"Å®",uring:"ů",urtri:"â¹",Uscr:"ð°",uscr:"ð",utdot:"â°",Utilde:"Ũ",utilde:"Å©",utri:"âµ",utrif:"â´",uuarr:"â",Uuml:"Ã",uuml:"ü",uwangle:"⦧",vangrt:"â¦",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"â
",varphi:"Ï",varpi:"Ï",varpropto:"â",vArr:"â",varr:"â",varrho:"ϱ",varsigma:"Ï",varsubsetneq:"âï¸",varsubsetneqq:"â«ï¸",varsupsetneq:"âï¸",varsupsetneqq:"â«ï¸",vartheta:"Ï",vartriangleleft:"â²",vartriangleright:"â³",Vbar:"â««",vBar:"⫨",vBarv:"â«©",Vcy:"Ð",vcy:"в",VDash:"â«",Vdash:"â©",vDash:"â¨",vdash:"â¢",Vdashl:"⫦",Vee:"â",vee:"â¨",veebar:"â»",veeeq:"â",vellip:"â®",Verbar:"â",verbar:"|",Vert:"â",vert:"|",VerticalBar:"â£",VerticalLine:"|",VerticalSeparator:"â",VerticalTilde:"â",VeryThinSpace:"â",Vfr:"ð",vfr:"ð³",vltri:"â²",vnsub:"ââ",vnsup:"ââ",Vopf:"ð",vopf:"ð§",vprop:"â",vrtri:"â³",Vscr:"ð±",vscr:"ð",vsubnE:"â«ï¸",vsubne:"âï¸",vsupnE:"â«ï¸",vsupne:"âï¸",Vvdash:"âª",vzigzag:"â¦",Wcirc:"Å´",wcirc:"ŵ",wedbar:"â©",Wedge:"â",wedge:"â§",wedgeq:"â",weierp:"â",Wfr:"ð",wfr:"ð´",Wopf:"ð",wopf:"ð¨",wp:"â",wr:"â",wreath:"â",Wscr:"ð²",wscr:"ð",xcap:"â",xcirc:"â¯",xcup:"â",xdtri:"â½",Xfr:"ð",xfr:"ðµ",xhArr:"âº",xharr:"â·",Xi:"Î",xi:"ξ",xlArr:"â¸",xlarr:"âµ",xmap:"â¼",xnis:"â»",xodot:"â¨",Xopf:"ð",xopf:"ð©",xoplus:"â¨",xotime:"â¨",xrArr:"â¹",xrarr:"â¶",Xscr:"ð³",xscr:"ð",xsqcup:"â¨",xuplus:"â¨",xutri:"â³",xvee:"â",xwedge:"â",Yacute:"Ã",yacute:"ý",YAcy:"Я",yacy:"Ñ",Ycirc:"Ŷ",ycirc:"Å·",Ycy:"Ы",ycy:"Ñ",yen:"Â¥",Yfr:"ð",yfr:"ð¶",YIcy:"Ð",yicy:"Ñ",Yopf:"ð",yopf:"ðª",Yscr:"ð´",yscr:"ð",YUcy:"Ю",yucy:"Ñ",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"Ð",zcy:"з",Zdot:"Å»",zdot:"ż",zeetrf:"â¨",ZeroWidthSpace:"â",Zeta:"Î",zeta:"ζ",Zfr:"â¨",zfr:"ð·",ZHcy:"Ð",zhcy:"ж",zigrarr:"â",Zopf:"â¤",zopf:"ð«",Zscr:"ðµ",zscr:"ð",zwj:"â",zwnj:"â"}),e.entityMap=e.HTML_ENTITIES
vendor: 9,373 bytes, line 152
152),Px;var e,t}var jx,Fx,zx,$x={};function Bx(){if(jx)return $x;jx=1;var e=Ex(),t=Rx(),n=Tx(),r=e.isHTMLEscapableRawTextElement,a=e.isHTMLMimeType,o=e.isHTMLRawTextElement,i=e.hasOwn,s=e.NAMESPACE,l=n.ParseError,c=n.DOMException;function u(){}u.prototype={parse:function(n,r,o){var s=this.domBuilder;s.startDocument(),g(r,r=Object.create(null)),function(n,r,o,s,u){var g=a(s.mimeType);n.indexOf(t.UNICODE_REPLACEMENT_CHARACTER)>=0&&u.warning("Unicode replacement character detected, source encoding issues?");function b(e){if(e>65535){var t=55296+((e-=65536)>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function S(e){var n=";"===e[e.length-1]?e:e+";";if(!g&&n!==e)return u.error("EntityRef: expecting ;"),e;var r=t.Reference.exec(n);if(!r||r[0].length!==n.length)return u.error("entity not matching Reference production: "+e),e;var a=n.slice(1,-1);return i(o,a)?o[a]:"#"===a.charAt(0)?b(parseInt(a.substring(1).replace("x","0x"))):(u.error("entity not found:"+e),e)}function w(e){if(e>_){var t=n.substring(_,e).replace(d,S);T&&A(_),s.characters(t,0,e-_),_=e}}var E=0,C=0,k=/\r\n?|\n|$/g,T=s.locator;function A(e,t){for(;e>=C&&(t=k.exec(n));)E=C,C=t.index+t[0].length,T.lineNumber++;T.columnNumber=e-E+1}var I=[{currentNSMap:r}],N=[],_=0;for(;;){try{var R=n.indexOf("<",_);if(R<0){if(!g&&N.length>0)return u.fatalError("unclosed xml tag(s): "+N.join(", "));if(!n.substring(_).match(/^\s*$/)){var O=s.doc,L=O.createTextNode(n.substring(_));if(O.documentElement)return u.error("Extra content at the end of the document");O.appendChild(L),s.currentElement=L}return}if(R>_){var D=n.substring(_,R);g||0!==N.length||(D=D.replace(new RegExp(t.S_OPT.source,"g"),""))&&u.error("Unexpected content outside root element: '"+D+"'"),w(R)}switch(n.charAt(R+1)){case"/":var P=n.indexOf(">",R+2),M=n.substring(R+2,P>0?P:void 0);if(!M)return u.fatalError("end tag name missing");var j=P>0&&t.reg("^",t.QName_group,t.S_OPT,"$").exec(M);if(!j)return u.fatalError('end tag name contains invalid characters: "'+M+'"');if(!s.currentElement&&!s.doc.documentElement)return;var F=N[N.length-1]||s.currentElement.tagName||s.doc.documentElement.tagName||"";if(F!==j[1]){var z=j[1].toLowerCase();if(!g||F.toLowerCase()!==z)return u.fatalError('Opening and ending tag mismatch: "'+F+'" != "'+M+'"')}var $=I.pop();N.pop();var B=$.localNSMap;if(s.endElement($.uri,$.localName,F),B)for(var U in B)i(B,U)&&s.endPrefixMapping(U);P++;break;case"?":T&&A(R),P=v(n,R,s,u);break;case"!":T&&A(R),P=y(n,R,s,u,g);break;default:T&&A(R);var H=new x,V=I[I.length-1].currentNSMap,W=(P=f(n,R,H,V,S,u,g),H.length);if(H.closed||(g&&e.isHTMLVoidElement(H.tagName)?H.closed=!0:N.push(H.tagName)),T&&W){for(var G=p(T,{}),q=0;q<W;q++){var Y=H[q];A(Y.offset),Y.locator=p(T,{})}s.locator=G,m(H,s,V)&&I.push(H),s.locator=T}else m(H,s,V)&&I.push(H);g&&!H.closed?P=h(n,P,H.tagName,S,s):P++}}catch(yU){if(yU instanceof l)throw yU;if(yU instanceof c)throw new l(yU.name+": "+yU.message,s.locator,yU);u.error("element parse error: "+yU),P=-1}P>_?_=P:w(Math.max(R,_)+1)}}(n,r,o,s,this.errorHandler),s.endDocument()}};var d=/&#?\w+;?/g;function p(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function f(e,t,n,r,a,o,s){function l(e,t,r){return i(n.attributeNames,e)?o.fatalError("Attribute "+e+" redefined"):!s&&t.indexOf("<")>=0?o.fatalError("Unescaped '<' not allowed in attributes values"):void n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(d,a),r)}for(var c,u=++t,p=0;;){var f=e.charAt(u);switch(f){case"=":if(1===p)c=e.slice(t,u),p=3;else{if(2!==p)throw new Error("attribute equal must after attrName");p=3}break;case"'":case'"':if(3===p||1===p){if(1===p&&(o.warning('attribute value must after "="'),c=e.slice(t,u)),t=u+1,!((u=e.indexOf(f,t))>0))throw new Error("attribute value no end '"+f+"' match");l(c,m=e.slice(t,u),t-1),p=5}else{if(4!=p)throw new Error('attribute value must after "="');l(c,m=e.slice(t,u),t),o.warning('attribute "'+c+'" missed start quot('+f+")!!"),t=u+1,p=5}break;case"/":switch(p){case 0:n.setTagName(e.slice(t,u));case 5:case 6:case 7:p=7,n.closed=!0;case 4:case 1:break;case 2:n.closed=!0;break;default:throw new Error("attribute invalid close char('/')")}break;case"":return o.error("unexpected end of input"),0==p&&n.setTagName(e.slice(t,u)),u;case">":switch(p){case 0:n.setTagName(e.slice(t,u));case 5:case 6:case 7:break;case 4:case 1:"/"===(m=e.slice(t,u)).slice(-1)&&(n.closed=!0,m=m.slice(0,-1));case 2:2===p&&(m=c),4==p?(o.warning('attribute "'+m+'" missed quot(")!'),l(c,m,t)):(s||o.warning('attribute "'+m+'" missed value!! "'+m+'" instead!!'),l(m,m,t));break;case 3:if(!s)return o.fatalError("AttValue: ' or \" expected")}return u;case"Â":f=" ";default:if(f<=" ")switch(p){case 0:n.setTagName(e.slice(t,u)),p=6;break;case 1:c=e.slice(t,u),p=2;break;case 4:var m=e.slice(t,u);o.warning('attribute "'+m+'" missed quot(")!!'),l(c,m,t);case 5:p=6}else switch(p){case 2:s||o.warning('attribute "'+c+'" missed value!! "'+c+'" instead2!!'),l(c,c,t),t=u,p=1;break;case 5:o.warning('attribute space is required"'+c+'"!!');case 6:p=1,t=u;break;case 3:p=4,t=u;break;case 7:throw new Error("elements closed character '/' and '>' must be connected to")}}u++}}function m(e,t,n){for(var r=e.tagName,a=null,o=e.length;o--;){var l=e[o],c=l.qName,u=l.value;if((m=c.indexOf(":"))>0)var d=l.prefix=c.slice(0,m),p=c.slice(m+1),f="xmlns"===d&&p;else p=c,d=null,f="xmlns"===c&&"";l.localName=p,!1!==f&&(null==a&&(a=Object.create(null),g(n,n=Object.create(null))),n[f]=a[f]=u,l.uri=s.XMLNS,t.startPrefixMapping(f,u))}for(o=e.length;o--;)(l=e[o]).prefix&&("xml"===l.prefix&&(l.uri=s.XML),"xmlns"!==l.prefix&&(l.uri=n[l.prefix]));var m;(m=r.indexOf(":"))>0?(d=e.prefix=r.slice(0,m),p=e.localName=r.slice(m+1)):(d=null,p=e.localName=r);var h=e.uri=n[d||""];if(t.startElement(h,p,r,e),!e.closed)return e.currentNSMap=n,e.localNSMap=a,!0;if(t.endElement(h,p,r),a)for(d in a)i(a,d)&&t.endPrefixMapping(d)}function h(e,t,n,a,i){var s=r(n);if(s||o(n)){var l=e.indexOf("</"+n+">",t),c=e.substring(t+1,l);return s&&(c=c.replace(d,a)),i.characters(c,0,c.length),l}return t+1}function g(e,t){for(var n in e)i(e,n)&&(t[n]=e[n])}function b(e,n){var r=n;function a(t){return t=t||0,e.charAt(r+t)}function o(e){r+=e=e||1}function i(){return e.substring(r)}return{char:a,getIndex:function(){return r},getMatch:function(e){var n=t.reg("^",e).exec(i());return n?(o(n[0].length),n[0]):null},getSource:function(){return e},skip:o,skipBlanks:function(){for(var t=0;r<e.length;){var n=a();if(" "!==n&&"\n"!==n&&"\t"!==n&&"\r"!==n)return t;t++,o()}return-1},substringFromIndex:i,substringStartsWith:function(t){return e.substring(r,r+t.length)===t},substringStartsWithCaseInsensitive:function(t){return e.substring(r,r+t.length).toUpperCase()===t.toUpperCase()}}}function y(e,n,r,a,o){var i=b(e,n);switch(o?i.char(2).toUpperCase():i.char(2)){case"-":var s=i.getMatch(t.Comment);return s?(r.comment(s,t.COMMENT_START.length,s.length-t.COMMENT_START.length-t.COMMENT_END.length),i.getIndex()):a.fatalError("comment is not well-formed at position "+i.getIndex());case"[":var l=i.getMatch(t.CDSect);return l?o||r.currentElement?(r.startCDATA(),r.characters(l,t.CDATA_START.length,l.length-t.CDATA_START.length-t.CDATA_END.length),r.endCDATA(),i.getIndex()):a.fatalError("CDATA outside of element"):a.fatalError("Invalid CDATA starting at position "+n);case"D":if(r.doc&&r.doc.documentElement)return a.fatalError("Doctype not allowed inside or after documentElement at position "+i.getIndex());if(o?!i.substringStartsWithCaseInsensitive(t.DOCTYPE_DECL_START):!i.substringStartsWith(t.DOCTYPE_DECL_START))return a.fatalError("Expected "+t.DOCTYPE_DECL_START+" at position "+i.getIndex());if(i.skip(t.DOCTYPE_DECL_START.length),i.skipBlanks()<1)return a.fatalError("Expected whitespace after "+t.DOCTYPE_DECL_START+" at position "+i.getIndex());var c={name:void 0,publicId:void 0,systemId:void 0,internalSubset:void 0};if(c.name=i.getMatch(t.Name),!c.name)return a.fatalError("doctype name missing or contains unexpected characters at position "+i.getIndex());if(o&&"html"!==c.name.toLowerCase()&&a.warning("Unexpected DOCTYPE in HTML document at position "+i.getIndex()),i.skipBlanks(),i.substringStartsWith(t.PUBLIC)||i.substringStartsWith(t.SYSTEM)){var u=t.ExternalID_match.exec(i.substringFromIndex());if(!u)return a.fatalError("doctype external id is not well-formed at position "+i.getIndex());void 0!==u.groups.SystemLiteralOnly?c.systemId=u.groups.SystemLiteralOnly:(c.systemId=u.groups.SystemLiteral,c.publicId=u.groups.PubidLiteral),i.skip(u[0].length)}else if(o&&i.substringStartsWithCaseInsensitive(t.SYSTEM)){if(i.skip(t.SYSTEM.length),i.skipBlanks()<1)return a.fatalError("Expected whitespace after "+t.SYSTEM+" at position "+i.getIndex());if(c.systemId=i.getMatch(t.ABOUT_LEGACY_COMPAT_SystemLiteral),!c.systemId)return a.fatalError("Expected "+t.ABOUT_LEGACY_COMPAT+" in single or double quotes after "+t.SYSTEM+" at position "+i.getIndex())}return o&&c.systemId&&!t.ABOUT_LEGACY_COMPAT_SystemLiteral.test(c.systemId)&&a.warning("Unexpected doctype.systemId in HTML document at position "+i.getIndex()),o||(i.skipBlanks(),c.internalSubset=function(e,n){function r(e,n){var r=t.PI.exec(e.substringFromIndex());return r?"xml"===r[1].toLowerCase()?n.fatalError("xml declaration is only allowed at the start of the document, but found at position "+e.getIndex()):(e.ski
vendor: 5,227 bytes, line 152
152p(r[0].length),r[0]):n.fatalError("processing instruction is not well-formed at position "+e.getIndex())}var a=e.getSource();if("["===e.char()){e.skip(1);for(var o=e.getIndex();e.getIndex()<a.length;){if(e.skipBlanks(),"]"===e.char()){var i=a.substring(o,e.getIndex());return e.skip(1),i}var s=null;if("<"===e.char()&&"!"===e.char(1))switch(e.char(2)){case"E":"L"===e.char(3)?s=e.getMatch(t.elementdecl):"N"===e.char(3)&&(s=e.getMatch(t.EntityDecl));break;case"A":s=e.getMatch(t.AttlistDecl);break;case"N":s=e.getMatch(t.NotationDecl);break;case"-":s=e.getMatch(t.Comment)}else if("<"===e.char()&&"?"===e.char(1))s=r(e,n);else{if("%"!==e.char())return n.fatalError("Error detected in Markup declaration");s=e.getMatch(t.PEReference)}if(!s)return n.fatalError("Error in internal subset at position "+e.getIndex())}return n.fatalError("doctype internal subset is not well-formed, missing ]")}}(i,a)),i.skipBlanks(),">"!==i.char()?a.fatalError("doctype not terminated with > at position "+i.getIndex()):(i.skip(1),r.startDTD(c.name,c.publicId,c.systemId,c.internalSubset),r.endDTD(),i.getIndex());default:return a.fatalError('Not well-formed XML starting with "<!" at position '+n)}}function v(e,n,r,a){var o=e.substring(n).match(t.PI);if(!o)return a.fatalError("Invalid processing instruction starting at position "+n);if("xml"===o[1].toLowerCase()){if(n>0)return a.fatalError("processing instruction at position "+n+" is an xml declaration which is only at the start of the document");if(!t.XMLDecl.test(e.substring(n)))return a.fatalError("xml declaration is not well-formed")}return r.processingInstruction(o[1],o[2]),n+o[0].length}function x(){this.attributeNames=Object.create(null)}return x.prototype={setTagName:function(e){if(!t.QName_exact.test(e))throw new Error("invalid tagName:"+e);this.tagName=e},addValue:function(e,n,r){if(!t.QName_exact.test(e))throw new Error("invalid attribute:"+e);this.attributeNames[e]=this.length,this[this.length++]={qName:e,value:n,offset:r}},length:0,getLocalName:function(e){return this[e].localName},getLocator:function(e){return this[e].locator},getQName:function(e){return this[e].qName},getURI:function(e){return this[e].uri},getValue:function(e){return this[e].value}},$x.XMLReader=u,$x.parseUtils=b,$x.parseDoctypeCommentOrCData=y,$x}function Ux(){if(Fx)return Dx;Fx=1;var e=Ex(),t=Ox(),n=Tx(),r=Mx(),a=Bx(),o=t.DOMImplementation,i=e.hasDefaultHTMLNamespace,s=e.isHTMLMimeType,l=e.isValidMimeType,c=e.MIME_TYPE,u=e.NAMESPACE,d=n.ParseError,p=a.XMLReader;function f(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028\u2029]/g,"\n")}function m(t){if(void 0===(t=t||{}).locator&&(t.locator=!0),this.assign=t.assign||e.assign,this.domHandler=t.domHandler||h,this.onError=t.onError||t.errorHandler,t.errorHandler&&"function"!=typeof t.errorHandler)throw new TypeError("errorHandler object is no longer supported, switch to onError!");t.errorHandler&&t.errorHandler("warning","The `errorHandler` option has been deprecated, use `onError` instead!",this),this.normalizeLineEndings=t.normalizeLineEndings||f,this.locator=!!t.locator,this.xmlns=this.assign(Object.create(null),t.xmlns)}function h(e){var t=e||{};this.mimeType=t.mimeType||c.XML_APPLICATION,this.defaultNamespace=t.defaultNamespace||null,this.cdata=!1,this.currentElement=void 0,this.doc=void 0,this.locator=void 0,this.onError=t.onError}function g(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function b(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function y(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}return m.prototype.parseFromString=function(t,n){if(!l(n))throw new TypeError('DOMParser.parseFromString: the provided mimeType "'+n+'" is not valid.');var a=this.assign(Object.create(null),this.xmlns),o=r.XML_ENTITIES,s=a[""]||null;i(n)?(o=r.HTML_ENTITIES,s=u.HTML):n===c.XML_SVG_IMAGE&&(s=u.SVG),a[""]=s,a.xml=a.xml||u.XML;var d=new this.domHandler({mimeType:n,defaultNamespace:s,onError:this.onError}),f=this.locator?{}:void 0;this.locator&&d.setDocumentLocator(f);var m=new p;return m.errorHandler=d,m.domBuilder=d,!e.isHTMLMimeType(n)&&"string"!=typeof t&&m.errorHandler.fatalError("source is not a string"),m.parse(this.normalizeLineEndings(String(t)),a,o),d.doc.documentElement||m.errorHandler.fatalError("missing root element"),d.doc},h.prototype={startDocument:function(){var e=new o;this.doc=s(this.mimeType)?e.createHTMLDocument(!1):e.createDocument(this.defaultNamespace,"")},startElement:function(e,t,n,r){var a=this.doc,o=a.createElementNS(e,n||t),i=r.length;y(this,o),this.currentElement=o,this.locator&&g(this.locator,o);for(var s=0;s<i;s++){e=r.getURI(s);var l=r.getValue(s),c=(n=r.getQName(s),a.createAttributeNS(e,n));this.locator&&g(r.getLocator(s),c),c.value=c.nodeValue=l,o.setAttributeNode(c)}},endElement:function(e,t,n){this.currentElement=this.currentElement.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&g(this.locator,n),y(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=b.apply(this,arguments)){if(this.cdata)var r
152=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&g(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){e&&(e.lineNumber=0),this.locator=e},comment:function(e,t,n){e=b.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&g(this.locator,r),y(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n,r){var a=this.doc.implementation;if(a&&a.createDocumentType){var o=a.createDocumentType(e,t,n,r);this.locator&&g(this.locator,o),y(this,o),this.doc.doctype=o}},reportError:function(e,t){if("function"==typeof this.onError)try{this.onError(e,t,this)}catch(yU){throw new d("Reporting "+e+' "'+t+'" caused '+yU,this.locator)}},warning:function(e){this.reportError("warning",e)},error:function(e){this.reportError("error",e)},fatalError:function(e){throw this.reportError("fatalError",e),new d(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,function(e){h.prototype[e]=function(){return null}}),Dx.__DOMHandler=h,Dx.DOMParser=m,Dx.normalizeLineEndings=f,Dx.onErrorStopParsing=function(e){if("error"===e)throw"onErrorStopParsing"},Dx.onWarningStopParsing=function(){throw"onWarningStopParsing"},Dx}var Hx=function(){if(zx)return Sx;zx=1;var e=Ex();Sx.assign=e.assign,Sx.hasDefaultHTMLNamespace=e.hasDefaultHTMLNamespace,Sx.isHTMLMimeType=e.isHTMLMimeType,Sx.isValidMimeType=e.isValidMimeType,Sx.MIME_TYPE=e.MIME_TYPE,Sx.NAMESPACE=e.NAMESPACE;var t=Tx();Sx.DOMException=t.DOMException,Sx.DOMExceptionName=t.DOMExceptionName,Sx.ExceptionCode=t.ExceptionCode,Sx.ParseError=t.ParseError;var n=Ox();Sx.Attr=n.Attr,Sx.CDATASection=n.CDATASection,Sx.CharacterData=n.CharacterData,Sx.Comment=n.Comment,Sx.Document=n.Document,Sx.DocumentFragment=n.DocumentFragment,Sx.DocumentType=n.DocumentType,Sx.DOMImplementation=n.DOMImplementation,Sx.Element=n.Element,Sx.Entity=n.Entity,Sx.EntityReference=n.EntityReference,Sx.LiveNodeList=n.LiveNodeList,Sx.NamedNodeMap=n.NamedNodeMap,Sx.Node=n.Node,Sx.NodeList=n.NodeList,Sx.Notation=n.Notation,Sx.ProcessingInstruction=n.ProcessingInstruction,Sx.Text=n.Text,Sx.XMLSerializer=n.XMLSerializer;var r=Ux();return Sx.DOMParser=r.DOMParser,Sx.normalizeLineEndings=r.normalizeLineEndings,Sx.onErrorStopParsing=r.onErrorStopParsing,Sx.onWarningStopParsing=r.onWarningStopParsing,Sx}();const Vx=e=>{const t={};let n=!0,r=!1;if(e.attributes&&e.attributes.length>0){n=!1;for(let n=0;n<e.attributes.length;n++){const r=e.attributes[n];t[`@${r.name}`]=r.value}}if(e.childNodes&&e.childNodes.length>0){let a="";for(let o=0;o<e.childNodes.length;o++){const i=e.childNodes[o];if(1===i.nodeType){n=!1,r=!0;const e=Vx(i);t[i.nodeName]?(Array.isArray(t[i.nodeName])||(t[i.nodeName]=[t[i.nodeName]]),t[i.nodeName].push(e)):t[i.nodeName]=e}else 3===i.nodeType&&(a+=i.nodeValue||"")}if(a.trim()){if(n&&!r&&0===Object.keys(t).length)return a.trim();t["#text"]=a.trim()}}else if(3===e.nodeType&&e.nodeValue?.trim())return e.nodeValue.trim();return t},Wx=(e,t)=>{let n=null;try{const r=new Hx.DOMParser({onError:(e,r)=>{const a=e.toLowerCase();a.includes("fatal")||a.includes("error")?(n||(n="string"==typeof r?r:"XML parsing error reported by handler."),t.error(`XML DOMParser ${e}:`,r)):a.includes("warning")?t.warn("XML DOMParser Warning:",r):t.error(`XML DOMParser Unknown Level [${e}]:`,r)}}).parseFromString(e,"text/xml");if(n)return t.error(`Parsing error captured by onError handler: ${n}`),{parsingError:n};const a=r.getElementsByTagName("parsererror");if(a.length>0){const e=a[0];let n="Unknown XML parsing error";if(e&&e.textContent){const t=e.textContent.match(/error on line \d+ at column \d+: (.*)/i);t&&t[1]?n=t[1]:e.textContent.length<200&&(n=e.textContent)}return t.error(`XML parsererror element found: ${n}`),{parsingError:n}}if(r.documentElement){let e=-1,n=!1;if(r.childNodes){for(let t=0;t<r.childNodes.length;t++)if(r.childNodes[t]===r.documentElement){e=t;break}if(-1!==e)for(let a=e+1;a<r.childNodes.length;a++){const e=r.childNodes[a];if(3===e.nodeType&&e.nodeValue?.trim()||1===e.nodeType){t.error("Found node after root element:",e.nodeType,e.nodeValue?.trim()||e.nodeName),n=!0;break}}}if(n){const e="Content is not allowed after root element.";return t.error(`XML structural error: ${e}`),{parsingError:e}}return{[r.documentElement.nodeName]:Vx(r.documentElement)}}return t.warn("XML document has no documentElement and no parsererror tag."),{parsingError:"Invalid XML structure: No document element found."}}catch(yU){const n=yU&&yU.message?yU.message:"An unexpected exception occurred during XML parsing.";return t.error("Exception during XML parsing process:",n),{parsingError:n}}},Gx="__NULL_OR_EMPTY__";var qx=(e=>(e.Selected="selected",e.Possible="possible",e.Excluded="excluded",e.Unavailable="unavailable",e))(qx||{});function Yx(e,t){const n=new Set([...e].filter(e=>t.has(e))),r=new Set([...e,...t]);return 0===r.size?1:n.size/r.size}function Xx(e,t){const n=new Map;let r=e;return t&&e&&"object"==typeof e&&1===Object.keys(e).length&&(r=e[Object.keys(e)[0]]),function(e,t,n){const r=[{value:e,path:t}];for(;r.length>0;){const{value:e,path:t}=r.pop();if(null==e){const r=n.get(t)||[];r.push(e),n.set(t,r);continue}if(Array.isArray(e)){if(t){const r=n.get(t)||[];r.push(e),n.set(t,r)}const a=t?t+"[]":"[]";for(let t=0;t<e.length;t++){const r=e[t];if("object"!=typeof r||null===r){const e=n.get(a)||[];e.push(r),n.set(a,e)}}for(let t=e.length-1;t>=0;t--){const n=e[t];if("object"==typeof n&&null!==n){const e=Object.keys(n);for(let t=e.length-1;t>=0;t--){const o=e[t];r.push({value:n[o],path:a+"."+o})}}}continue}if("object"==typeof e){const a=Object.keys(e);if(0===a.length&&t){const e=n.get(t)||[];e.push(""),n.set(t,e);continue}for(let n=a.length-1;n>=0;n--){const o=a[n],i=t?t+"."+o:o;
152r.push({value:e[o],path:i})}continue}const a=n.get(t)||[];a.push(e),n.set(t,a)}}(r,"",n),n}function Kx(e){return"number"==typeof e&&isFinite(e)}function Zx(e){if(e instanceof Date&&!isNaN(e.getTime()))return!0;if("string"==typeof e||"number"==typeof e){if("string"==typeof e&&!/^(\d{4}-\d{2}-\d{2}(T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[+-]\d{2}(:?\d{2})?)?)?|\d{4}\/\d{2}\/\d{2})$/.test(e))return!1;const t=new Date(e);return!isNaN(t.getTime())}return!1}function Jx(e){if(e.every(e=>null==e))return"mixed";const t=e.filter(e=>null!=e);if(0===t.length)return"mixed";const n=new Set;for(const r of t)Array.isArray(r)?n.add("array"):Kx(r)?n.add("number"):"boolean"==typeof r?n.add("boolean"):Zx(r)?n.add("date"):n.add("string");if(1===n.size){const e=n.values().next().value;if(e)return e}return n.has("array")&&n.size>1?"mixed":n.has("string")?"string":"mixed"}function Qx(e,t){const n={countUnique:0,countTotal:0,nullOrEmptyCount:0},r=e.filter(e=>void 0!==e);n.nullOrEmptyCount="array"===t?r.filter(e=>Array.isArray(e)&&0===e.length).length:r.filter(e=>null===e||""===e).length;const a=r.filter(e=>"array"===t?Array.isArray(e)&&e.length>0:null!==e&&""!==e);if("array"===t){const e=a.filter(Array.isArray).map(e=>e.length);if(e.length>0){let t=e[0],r=e[0];for(let n=1;n<e.length;n++){const a=e[n];a<t&&(t=a),a>r&&(r=a)}n.minItemsInList=t,n.maxItemsInList=r,n.avgItemsInList=e.reduce((e,t)=>e+t,0)/e.length}n.countUnique=new Set(a.map(e=>JSON.stringify(e))).size}else n.countUnique=new Set(a).size;if("number"===t&&a.length>0){const e=a.map(e=>Number(e)).filter(Kx);if(e.length>0){let t=e[0],r=e[0];for(let n=1;n<e.length;n++){const a=e[n];a<t&&(t=a),a>r&&(r=a)}n.min=t,n.max=r,n.sum=e.reduce((e,t)=>e+t,0),n.average=n.sum/e.length;const a=[...e].sort((e,t)=>e-t),o=Math.floor(a.length/2);n.median=a.length%2!=0?a[o]:(a[o-1]+a[o])/2}}else if("date"===t&&a.length>0){const e=a.map(e=>new Date(e).getTime()).filter(e=>!isNaN(e));if(e.length>0){let t=e[0],r=e[0];for(let n=1;n<e.length;n++){const a=e[n];a<t&&(t=a),a>r&&(r=a)}n.minDate=new Date(t).toISOString(),n.maxDate=new Date(r).toISOString()}}else if("string"===t&&a.length>0){const e=new Map;a.forEach(t=>{const n=String(t);e.set(n,(e.get(n)||0)+1)}),n.valueFrequencies=e}return n}async function eS(e,t){const{filesWithStructureId:n,uniqueStructures:r}=function(e,t){const n=[],r=new Map;let a=0;for(const i of e){let e=null,o="Unknown Error Structure";if(i.error?(e="structure_error_parsing_or_processing",o="Files with Parsing/Processing Errors"):i.parsedData&&0!==i.parsedData.size||(e="structure_error_no_extracted_data",o="Files with No Extractable Data"),e){i.structureId=e,n.push(i),r.has(e)||r.set(e,{signature:new Set([e.toUpperCase()]),files:[],representativeName:o}),r.get(e).files.push(i);continue}const s=new Set(i.parsedData.keys());let l=null;for(const[n,a]of r.entries())if(Yx(s,a.signature)>=t){l=n;break}if(l)i.structureId=l,r.get(l).files.push(i);else{const e=`${i.type}_structure_${a++}`;i.structureId=e,r.set(e,{signature:s,files:[i],representativeName:`Structure ${a} (${i.type})`})}n.push(i)}const o=new Map;for(const[i,s]of r.entries())o.set(i,{id:i,displayName:s.representativeName,fileIds:new Set(s.files.map(e=>e.id)),attributes:new Map});return{filesWithStructureId:n,uniqueStructures:o}}(e,t),a=new Map(n.map(e=>[e.id,e]));!function(e,t){const n="_dmInternal.fileIdentifier";for(const[,r]of t.entries()){const t=new Set,a=new Map;let o=0;const i=Array.from(r.fileIds);for(const n of i){const r=e.get(n);if(r?.parsedData){o++;for(const[e,n]of r.parsedData.entries()){t.add(e);const r=a.get(e)||[];Array.isArray(n)?r.push(...n):r.push(n),a.set(e,r)}}}if(i.length>0){t.add(n);const r=i.map(t=>e.get(t)?.id).filter(e=>void 0!==e);a.set(n,r)}for(const s of t){const t=a.get(s)||[],l=5e4,c=t.length>l?t.slice(0,l):t;let u,d,p,f,m;if(s===n)u="string",d=Array.from(new Set(t)),p={countUnique:d.length,countTotal:i.length,nullOrEmptyCount:0},f=1,m=!1;else{u=Jx(c);const n=t.filter(e=>null!=e),r=e=>{const t=new WeakSet;try{return JSON.stringify(e,function(e,n){if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return n})}catch(Rw){try{return String(e)}catch{return"[Unserializable]"}}},a=new Set;
152n.forEach(e=>{"object"==typeof e?a.add(r(e)):a.add(String(e).trim())}),d=Array.from(a).map(e=>{try{if(e.startsWith("{")&&e.endsWith("}")||e.startsWith("[")&&e.endsWith("]"))return JSON.parse(e);if("true"!==e&&"false"!==e){const t=Number(e);if(!isNaN(t)&&String(t)===e)return t}if("true"===e)return!0;if("false"===e)return!1}catch{}return e});const l=c.filter(e=>null!=e);p=Qx(c,u),p.countUnique=d.length;const h=t.filter(e=>void 0!==e).length,g=l.length,b=t.length-h;p.nullOrEmptyCount=h-g+b;let y=0;for(const t of i){const n=e.get(t);n?.parsedData?.has(s)&&y++}p.countTotal=y;const v=o-y;p.nullOrEmptyCount+=v,f=o>0?y/o:y>0?1:0,m=f<1}const h=new Set(d);s!==n&&p.nullOrEmptyCount>0&&h.add(Gx),r.attributes.set(s,{path:s,dataType:u,values:h,occurrenceFrequency:f,isOptional:m,aggregates:p})}}}(a,r);const o=function(e,t){const n=new Map;for(const r of e.values())if(r.parsedData)for(const[e,t]of r.parsedData.entries()){n.has(e)||n.set(e,new Map);const a=n.get(e);for(const e of t){if(null==e)continue;let t;t=Array.isArray(e)?JSON.stringify(e):String(e).trim(),a.has(t)||a.set(t,new Set),a.get(t).add(r.id)}}if(t){const r="_dmInternal.fileIdentifier";for(const a of t.values())for(const[t,o]of a.attributes.entries()){if(t===r)continue;if(!o.aggregates||0===o.aggregates.nullOrEmptyCount)continue;const i=new Set;for(const n of a.fileIds){const r=e.get(n);if(!r||!r.parsedData){i.add(n);continue}if(!r.parsedData.has(t)){i.add(n);continue}const a=r.parsedData.get(t);(0===a.length||a.every(e=>null==e||""===e||Array.isArray(e)&&0===e.length))&&i.add(n)}i.size>0&&(n.has(t)||n.set(t,new Map),n.get(t).set(Gx,i))}}return n}(a,r);return{files:n,structureSchemas:r,invertedIndex:o}}const tS=(e,t,n,r)=>{if("undefined"!=typeof window&&window.gtag){const a=t/1024;sx.debug(`Tracking file upload: ${e} (${a.toFixed(2)}KB) via ${r}`),window.gtag("event","file_opened",{event_category:"File Interaction",file_type:n,file_size_kb:parseFloat(a.toFixed(2)),file_open_source:r,value:parseFloat(a.toFixed(2))})}else sx.debug(`Google Analytics gtag not available. File upload event (${r}) not tracked.`)}
152,nS={files:[],selectedFileId:null,isLoading:!1,error:null};const rS="persistedFiles";let aS=null,oS=null;const iS=new class{async initDB(){return aS||(oS||(oS=new Promise((e,t)=>{const n=indexedDB.open("nodeflipFilesDB",1);n.onerror=()=>{t(n.error)},n.onsuccess=()=>{aS=n.result,e(aS)},n.onupgradeneeded=e=>{const t=e.target.result;if(!t.objectStoreNames.contains(rS)){const e=t.createObjectStore(rS,{keyPath:"id"});e.createIndex("name","name",{unique:!1}),e.createIndex("lastModified","lastModified",{unique:!1})}}}),oS))}serializeParsedData(e){return e instanceof Map?JSON.stringify({__isMap:!0,entries:Array.from(e.entries())}):JSON.stringify(e)}deserializeParsedData(e){const t=JSON.parse(e);return t&&t.__isMap&&Array.isArray(t.entries)?new Map(t.entries):t}async saveFile(e){try{const t=await this.initDB(),n=t.transaction([rS],"readwrite").objectStore(rS),r={...e,lastModified:Date.now(),parsedDataJson:e.parsedData?this.serializeParsedData(e.parsedData):void 0};delete r.parsedData,await new Promise((e,t)=>{const a=n.put(r);a.onsuccess=()=>e(),a.onerror=()=>t(a.error)})}catch(t){throw t}}async loadFile(e){try{const t=await this.initDB(),n=t.transaction([rS],"readonly").objectStore(rS);return new Promise((t,r)=>{const a=n.get(e);a.onsuccess=()=>{if(a.result){const e=a.result,n={...e,parsedData:e.parsedDataJson?this.deserializeParsedData(e.parsedDataJson):null};delete n.parsedDataJson,delete n.lastModified,t(n)}else t(null)},a.onerror=()=>r(a.error)})}catch(t){return null}}async loadAllFiles(){try{const e=await this.initDB(),t=e.transaction([rS],"readonly").objectStore(rS);return new Promise((e,n)=>{const r=t.getAll();r.onsuccess=()=>{const t=r.result.map(e=>{const t={...e,parsedData:e.parsedDataJson?this.deserializeParsedData(e.parsedDataJson):null};return delete t.parsedDataJson,delete t.lastModified,t});t.sort((e,t)=>(e.createdAt||0)-(t.createdAt||0)),e(t)},r.onerror=()=>n(r.error)})}catch(e){return[]}}async deleteFile(e){try{const t=await this.initDB(),n=t.transaction([rS],"readwrite").objectStore(rS);await new Promise((t,r)=>{const a=n.delete(e);a.onsuccess=()=>t(),a.onerror=()=>r(a.error)})}catch(t){throw t}}async clearAllFiles(){try{const e=await this.initDB(),t=e.transaction([rS],"readwrite").objectStore(rS);await new Promise((e,n)=>{const r=t.clear();r.onsuccess=()=>e(),r.onerror=()=>n(r.error)})}catch(e){throw e}}};function sS(e={}){const{autoSave:t=!1,restoreOnInit:n=!0,maxPersistedFiles:r,...a}=e,i=function(e={}){const{onFileLoaded:t}=e,{tier:n}=lx(),{isAuthenticated:r}=Iy.useKindeAuth(),[a,i]=o.useState(nS),[s,l]=o.useState(!1),c=o.useCallback(e=>{i("function"==typeof e?t=>({...t,files:e(t.files)}):t=>({...t,files:e}))},[]),u=o.useCallback(()=>{if(a.files.length>=n.file_count_limit){let e=`You have reached the file limit of ${n.file_count_limit} for the ${n.name} tier.`;return"Guest"===n.name?e="You have reached the 2-file limit for guest users. Please register to add more files.":"Free"===n.name&&(e="You have reached the 5-file limit for the Free tier. Please upgrade for more files."),i(t=>({...t,error:e,isLoading:!1})),!1}return!0},[n,a.files.length]),d=o.useCallback(e=>{i(t=>t.selectedFileId===e?t:null===e||t.files.find(t=>t.id===e)?{...t,selectedFileId:e}:(sx.warn(`selectFile: File ID "${e}" not found in state. Selection aborted.`),t))},[]),p=o.useCallback(async(e,r=!1,o="upload")=>{if(i(e=>({...e,error:null})),!e||0===e.length)return;const s=e.filter(e=>{const t=e.name.toLowerCase();return t.endsWith(".xml")||t.endsWith(".json")||t.endsWith(".zip")});if(!r&&a.files.length+s.length>n.file_count_limit){let e=`Adding ${s.length} file(s) would exceed the limit of ${n.file_count_limit} for the ${n.name} tier.`;return"Guest"===n.name?e=`You can only have ${n.file_count_limit} files as a guest user. Please register to add more files.`:"Free"===n.name&&(e=`You can only have ${n.file_count_limit} files on the Free tier. Please upgrade for more files.`),void i(t=>({...t,error:e,isLoading:!1}))}const l=e.some(e=>e.name.toLowerCase().endsWith(".zip"));if(!r&&l&&("Guest"===n.name||"Free"===n.name))return void i(e=>({...e,error:"Please upgrade to a Pro plan to upload ZIP files.",isLoading:!1}));i(e=>({...e,isLoading:!0,error:null}));const c=[];let u=null;for(const t of e){const e=mx(),n=t.name,a=n.toLowerCase();let i="unknown";if(a.endsWith(".xml")?i="xml":a.endsWith(".xsd")?i="xsd":a.endsWith(".json")?i="json":a.endsWith(".zip")&&(i="zip"),"unknown"===i){sx.warn(`File "${n}" has an unknown or unsupported file type. Skipping.`);continue}let s=null,l=null;if("zip"===i)try{const a=await t.arrayBuffer(),s=await vx.loadAsync(a),l=[];for(const e of Object.values(s.files)){const t=e.name.split("/").pop()||e.name;if(e.dir||e.name.startsWith("__MACOSX/")||t.startsWith("._"))continue;const n=e.name.toLowerCase();let r="unknown";if(n.endsWith(".xml"))r="xml";else if(n.endsWith(".json"))r="json";else try{const t=await e.async("string");nx(t)?r="json":tx(t)&&(r="xml")}catch(yU){sx.warn(`Could not read content of ${e.name} to determine type.`,yU)}"unknown"!==r&&l.push({id:mx(),name:t,fileType:r,selected:!1,pathInZip:e.name})}c.push({id:e,name:n,fileType:i,sourceContent:null,parsedData:null,isZip:!0,createdAt:Date.now(),rawData:a,internalFiles:l,isExpanded:!1,isSampleFile:r}),r||tS(n,t.size,i,o);continue}catch(d){sx.error(`Error reading or processing zip file "${n}":`,d),u=`Error processing ${n}: ${d.message||"unknown error"}`,c.push({id:e,name:n,fileType:i,sourceContent:`Error: Could not load content - ${d.message}`,parsedData:null,isZip:!0,createdAt:Date.now(),rawData:void 0,internalFiles:[],isExpanded:!1,isSampleFile:r});continue}try{sx.debug(`Loading content for file: ${n} (type: ${i})`),s=await t.text(),s=(" "+s).slice(1),sx.debug(`Successfully loaded content for ${n}, length: ${s?.length||0}`);try{let e=null;"json"===i?(e=ex(s),sx.debug(`Successfully parsed JSON for ${n}`)):"xml"!==i&&"xsd"!==i||(e=Wx(s,sx),sx.debug(`Successfully parsed XML/XSD for ${n}`)),e&&(l=Xx(e,"xml"===i||"xsd"===i),sx.debug(`Successfully extracted attributes for ${n}, found ${l.size} attributes`))}
152catch(p){sx.warn(`Failed to parse ${n} during file loading:`,p)}}catch(d){sx.error(`Error reading or parsing file "${n}":`,d),u=`Error processing ${n}: ${d.message||"unknown error"}`,c.push({id:e,name:n,fileType:i,sourceContent:`Error: Could not load content - ${d.message}`,parsedData:null,isZip:!1,createdAt:Date.now(),isSampleFile:r});continue}sx.debug(`Adding file to newFiles array: ${n} with sourceContent length: ${s?.length||0}`),c.push({id:e,name:n,fileType:i,sourceContent:s,parsedData:l,isZip:!1,createdAt:Date.now(),isSampleFile:r}),r||tS(n,t.size,i,o)}sx.debug(`About to add ${c.length} files to state. Files with content:`,c.map(e=>({name:e.name,hasContent:!!e.sourceContent,contentLength:e.sourceContent?.length||0}))),i(e=>({...e,files:[...e.files,...c],isLoading:!1,error:u,selectedFileId:!u&&c.length>0?c[c.length-1].id:e.selectedFileId})),t&&t()},[i,u,n,a.files.length,t]),f=o.useCallback(async(e,n,r)=>{if(!u())return;if(!e||!e.trim())return void i(e=>({...e,error:"Pasted content cannot be empty."}));if(!n||!n.trim())return void i(e=>({...e,error:"File name for pasted content cannot be empty."}));i(e=>({...e,isLoading:!0,error:null}));const a=mx();let o=r||"unknown",s=null;const l=(" "+e).slice(1);let c=null;if("xml"!==o&&"json"!==o)return sx.warn(`Pasted content "${n}" has an unsupported type or no valid type hint. Type: ${r}`),s=`Cannot process pasted content: unsupported type hint '${r}'.`,void i(e=>({...e,isLoading:!1,error:s}));try{let e=null;"xml"===o?e=Wx(l,sx):"json"===o&&(e=ex(l)),e&&(c=Xx(e,"xml"===o))}catch(f){return sx.error(`Error parsing pasted content "${n}":`,f),s=`Error parsing ${n}: ${f.message||"unknown error"}`,void i(e=>({...e,isLoading:!1,error:s}))}const d={id:a,name:n.trim(),fileType:o,sourceContent:l,parsedData:c,isZip:!1,createdAt:Date.now()},p=new Blob([l]).size;tS(n.trim(),p,o,"paste"),i(e=>({...e,files:[...e.files,d],isLoading:!1,error:s,selectedFileId:s?e.selectedFileId:d.id})),t&&t()},[i,u,t]),m=o.useCallback(e=>{if(!u())return;const{name:n,sourceContent:r,fileType:a,data:o}=e,s={id:mx(),name:n,fileType:a,sourceContent:r,parsedData:o,isZip:!1,createdAt:Date.now()},l=new Blob([r]).size;tS(n,l,a,"generate"),i(e=>({...e,files:[...e.files,s],selectedFileId:s.id})),t&&t()},[u,t]),h=o.useCallback(e=>{i(t=>{const n=t.files.some(t=>t.id===e);if(!n)return sx.warn(`removeFile: File ID "${e}" not found. No action taken.`),t;const r=t.files.filter(t=>t.id!==e);let a=t.selectedFileId;if(t.selectedFileId===e){const n=t.files.findIndex(t=>t.id===e);a=0===r.length?null:n>=r.length?r[r.length-1].id:r[n].id}return{...t,files:r,selectedFileId:a,error:null}})},[i]),g=o.useCallback((e,t)=>{const n=t.trim();n&&i(t=>{const r=t.files.find(t=>t.id===e);if(!r)return t;const a=r.name.match(/\.(xml|json|zip)$/i),o=a?a[0]:"";let i=n;if(o&&(/\.(xml|json|zip)$/i.test(n)||(i=`${n}${o}`)),i===r.name){const n=t.files.map(t=>t.id===e?{...t}:t);return{...t,files:n}}const s=t.files.map(t=>t.id===e?{...t,name:i}:t);return{...t,files:s,error:null}})},[i]),b=o.useCallback(()=>{i(nS)},[]),y=o.useCallback(e=>{i(t=>{const n=t.files.map(t=>t.id===e&&t.isZip?{...t,isExpanded:!t.isExpanded}:t);return{...t,files:n}})},[i]),v=o.useCallback((e,t)=>{i(n=>{const r=n.files.map(n=>{if(n.id===e&&n.isZip&&n.internalFiles){const e=n.internalFiles.map(e=>e.id===t?{...e,selected:!e.selected}:e);return{...n,internalFiles:e}}return n});return{...n,files:r}})},[i]),x=o.useCallback(async(e,n)=>{i(e=>({...e,isLoading:!0,error:null}));const r=a.files.find(t=>t.id===e);if(!r||!r.isZip||!r.rawData){const e="Could not find ZIP file data for extraction.";return sx.error(e),i(t=>({...t,isLoading:!1,error:e})),null}try{const e=(await vx.loadAsync(r.rawData)).file(n);if(!e){const e=`File "${n}" not found in ZIP archive.`;return sx.error(e),i(t=>({...t,isLoading:!1,error:e})),null}const a=(" "+await e.async("string")).slice(1),o=n.toLowerCase();let s="unknown";if(o.endsWith(".xml")?s="xml":o.endsWith(".json")?s="json":tx(a)?s="xml":nx(a)&&(s="json"),"unknown"===s){const e=`Could not determine file type for "${n}".`;return sx.error(e),i(t=>({...t,isLoading:!1,error:e})),null}const l=n.split("/").pop()||n;let c=l;l.toLowerCase().endsWith(".xml")||l.toLowerCase().endsWith(".json")||("xml"===s?c=`${l}.xml`:"json"===s&&(c=`${l}.json`));const u={id:mx(),name:c,fileType:s,sourceContent:a,parsedData:null,isZip:!1,createdAt:Date.now(),originZipId:r.id};return i(e=>({...e,files:[...e.files,u],isLoading:!1,error:null,selectedFileId:u.id})),t&&t(),u.id}catch(o){sx.error(`Error extracting file ${n} from ZIP:`,o);const e=`Failed to extract "${n}": ${o.message}`;return i(t=>({...t,isLoading:!1,error:e})),null}},[a.files,i,t]),S=o.useCallback(async e=>
152{i(e=>({...e,isLoading:!0,error:null}));const n=a.files.find(t=>t.id===e);if(!n||!n.isZip||!n.rawData){const e="Could not find ZIP file data for extraction.";return sx.error(e),void i(t=>({...t,isLoading:!1,error:e}))}const r=n.internalFiles?.filter(e=>e.selected)||[];if(0===r.length)return void i(e=>({...e,isLoading:!1}));const o=[];let s=null;try{const e=await vx.loadAsync(n.rawData);for(const t of r){const r=e.file(t.pathInZip);if(r)try{const e=(" "+await r.async("string")).slice(1);let a=null,i=t.name;const s=i.toLowerCase();s.endsWith(".xml")||s.endsWith(".json")||("xml"===t.fileType?i=`${i}.xml`:"json"===t.fileType&&(i=`${i}.json`)),o.push({id:mx(),name:i,fileType:t.fileType,sourceContent:e,parsedData:a,isZip:!1,createdAt:Date.now(),originZipId:n.id})}catch(l){sx.error(`Error extracting internal file ${t.pathInZip}:`,l),s=s?`${s}, ${t.name}`:`Error extracting: ${t.name}`}}}catch(l){sx.error("Error reading zip file for extraction:",l),s="Failed to read the ZIP archive for extraction."}i(t=>{const n=t.files.map(t=>{if(t.id===e&&t.internalFiles){const e=t.internalFiles.map(e=>({...e,selected:!1}));return{...t,internalFiles:e}}return t});return{...t,files:[...n,...o],isLoading:!1,error:s,selectedFileId:o.length>0?o[o.length-1].id:t.selectedFileId}}),t&&t()},[a.files,i,t]),w=o.useCallback(()=>({onDragOver:e=>{e.preventDefault(),e.stopPropagation(),l(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),l(!1)},onDrop:e=>{e.preventDefault(),e.stopPropagation(),l(!1),e.dataTransfer.files&&e.dataTransfer.files.length>0&&(p(Array.from(e.dataTransfer.files),!1,"drop"),e.dataTransfer.clearData())}}),[p,l]),E=o.useCallback(()=>{i(e=>({...e,error:null}))},[]),C=o.useCallback((e,t)=>{i(n=>{const r=n.files.map(n=>{if(n.id===e){const e={...n,sourceContent:t};try{let r=null;"xml"===n.fileType?r=Xx(Wx(t,console),!0):"json"===n.fileType&&(r=Xx(ex(t),!1)),r&&(e.parsedData=r)}catch(r){}return e}return n});return{...n,files:r}})},[]),k=o.useCallback(async(e,n)=>{if(i(e=>({...e,error:null})),u()){i(e=>({...e,isLoading:!0,error:null}));try{const r=await e.arrayBuffer(),a=await vx.loadAsync(r),o=[];for(const e of Object.values(a.files)){const t=e.name.split("/").pop()||e.name;if(e.dir||e.name.startsWith("__MACOSX/")||t.startsWith("._"))continue;const n=e.name.toLowerCase();let r="unknown";if(n.endsWith(".xml"))r="xml";else if(n.endsWith(".json"))r="json";else try{const t=await e.async("string");nx(t)?r="json":tx(t)&&(r="xml")}catch(yU){sx.warn(`Could not read content of ${e.name} to determine type.`,yU)}"unknown"!==r&&o.push({id:mx(),name:t,fileType:r,selected:!1,pathInZip:e.name})}const s={id:mx(),name:n,fileType:"zip",sourceContent:null,parsedData:null,isZip:!0,createdAt:Date.now(),rawData:r,internalFiles:o,isExpanded:!1};i(e=>({...e,files:[...e.files,s],isLoading:!1,error:null,selectedFileId:s.id})),t&&t()}catch(r){sx.error(`Error processing zip file "${n}":`,r),i(e=>({...e,isLoading:!1,error:`Error processing ${n}: ${r.message||"unknown error"}`}))}}},[i,u,t]);return{files:a.files,selectedFileId:a.selectedFileId,isLoading:a.isLoading,error:a.error,isDraggingOver:s,selectFile:d,addFilesFromInput:p,addPastedContent:f,addConvertedFile:m,removeFile:h,renameFile:g,clearAllFiles:b,getDragAndDropHandlers:w,toggleZipExpansion:y,toggleInternalFileSelect:v,extractSelectedFromZip:S,extractSingleFileFromZip:x,clearError:E,setFiles:c,addZipFile:k,updateFile:C}}(a),{saveFile:s,loadAllFiles:l,deleteFile:c,clearAllFiles:u}=function(e={}){const{autoSave:t=!0,saveDebounceMs:n=1e3}=e;return{saveFile:o.useCallback(async e=>{try{await iS.saveFile(e)}catch(t){throw t}},[]),loadFile:o.useCallback(async e=>{try{return await iS.loadFile(e)}catch(t){return null}},[]),loadAllFiles:o.useCallback(async()=>{try{return await iS.loadAllFiles()}catch(e){return[]}},[]),deleteFile:o.useCallback(async e=>{try{await iS.deleteFile(e)}catch(t){throw t}},[]),clearAllFiles:o.useCallback(async()=>{try{await iS.clearAllFiles()}catch(e){throw e}},[])}}(),d=o.useRef(!1),p=o.useRef(0);o.useEffect(()=>{!async function(){if(n&&!d.current)try{const e=await l();e.length>0&&(i.setFiles(e),p.current=e.length),d.current=!0}catch(e){d.current=!0}}()},[n,l,i]),o.useEffect(()=>{if(!d.current)return;const e=i.files,t=e.length;if(t>p.current){e.slice(p.current).forEach(async e=>{try{await s(e)}catch(t){}})}p.current=t},[i.files,s]);const f=o.useCallback(async(e,t)=>{i.updateFile(e,t);const n=i.files.find(t=>
152t.id===e);if(n){const e={...n,sourceContent:t};try{await s(e)}catch(r){}}},[i,s]),m=o.useCallback(async e=>{i.removeFile(e);try{await c(e)}catch(t){}},[i,c]),h=o.useCallback(async()=>{i.clearAllFiles();try{await u()}catch(e){}},[i,u]),g=o.useCallback(async()=>{const e=i.files;if(0!==e.length)try{await Promise.all(e.map(e=>s(e)))}catch(t){throw t}},[i.files,s]),b=o.useCallback(async()=>{try{const e=await l();return e.length>0?(i.setFiles(e),e):[]}catch(e){return[]}},[l,i]);return{...i,updateFile:f,removeFile:m,clearAllFiles:h,saveCurrentFiles:g,restoreFilesFromPersistence:b,persistenceConfig:{autoSave:t,restoreOnInit:n,maxPersistedFiles:r}}}function lS(e){try{return btoa(unescape(encodeURIComponent(e)))}catch(yU){return null}}const cS=e=>{if(!e)return"no-content";try{let t=lS("string"==typeof e?e:String(e));if(null===t)return`error-encoding-${Date.now()}`;return`file-${t.substring(0,50)}`}catch(t){return`error-generating-${Date.now()}`}},uS=e=>{if(!e)return"tree-state-no-content";try{let t=lS("string"==typeof e?e:String(e));if(null===t)return`error-encoding-tree-${Date.now()}`;return`tree-state-${t.substring(0,50)}`}catch(t){return`error-generating-tree-${Date.now()}`}},dS=cS;var pS={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},fS=l.createContext&&l.createContext(pS),mS=["attr","size","title"];function hS(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function gS(){return gS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gS.apply(this,arguments)}function bS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function yS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bS(Object(n),!0).forEach(function(t){vS(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vS(e,t,n){var r;return r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==typeof r?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xS(e){return e&&e.map((e,t)=>l.createElement(e.tag,yS({key:t},e.attr),xS(e.child)))}function SS(e){return t=>l.createElement(wS,gS({attr:yS({},e.attr)},t),xS(e.child))}function wS(e){var t=t=>{var n,{attr:r,size:a,title:o}=e,i=hS(e,mS),s=a||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),l.createElement("svg",gS({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,r,i,{className:n,style:yS(yS({color:e.color||t.color},t.style),e.style),height:s,width:s,xmlns:"http://www.w3.org/2000/svg"}),o&&l.createElement("title",null,o),e.children)};return void 0!==fS?l.createElement(fS.Consumer,null,e=>t(e)):t(pS)}function ES(e){return SS({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"},child:[]}]})(e)}function CS(e){return SS({attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522
152-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"},child:[]}]})(e)}function kS(e){return SS({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M436 192H312c-13.3 0-24-10.7-24-24V44c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v84h84c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm-276-24V44c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v84H12c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24zm0 300V344c0-13.3-10.7-24-24-24H12c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-84h84c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12H312c-13.3 0-24 10.7-24 24v124c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12z"},child:[]}]})(e)}function TS(e){return SS({attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 180V56c0-13.3 10.7-24 24-24h124c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H64v84c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12zM288 44v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12V56c0-13.3-10.7-24-24-24H300c-6.6 0-12 5.4-12 12zm148 276h-40c-6.6 0-12 5.4-12 12v84h-84c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24V332c0-6.6-5.4-12-12-12zM160 468v-40c0-6.6-5.4-12-12-12H64v-84c0-6.6-5.4-12-12-12H12c-6.6 0-12 5.4-12 12v124c0 13.3 10.7 24 24 24h124c6.6 0 12-5.4 12-12z"},child:[]}]})(e)}function AS(e){return SS({attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"},child:[]}]})(e)}function IS(e){return SS({attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"},child:[]}]})(e)}const NS=ga(_.jsx("path",{d:"M10 18h4v-2h-4zM3 6v2h18V6zm3 7h12v-2H6z"})),_S=ga(_.jsx("path",{d:"M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39c.51-.66.04-1.61-.79-1.61H5.04c-.83 0-1.3.95-.79 1.61"})),RS=ga(_.jsx("path",{d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"})),OS=ga(_.jsx("path",{d:"M14.67 5v6.5H9.33V5zm1 6.5H21V5h-5.33zm-1 7.5v-6.5H9.33V19zm1-6.5V19H21v-6.5zm-7.34 0H3V19h5.33zm0-1V5H3v6.5z"})),LS=({children:e,content:t,position:n="top",className:r=""})=>{const[a,i]=o.useState(!1),[s,l]=o.useState({top:0,left:0}),c=o.useRef(null),u=o.useRef(null);if(o.useEffect(()=>{if(a&&c.current){const e=c.current.getBoundingClientRect(),t=window.innerWidth;let a=0,o=0;const i=r.includes("file-tooltip");switch(n){case"top":i?(a=e.top,o=e.left,o<20?o=20:o+400>t&&(o=t-400)):(a=e.top-8,o=e.left+e.width/2,o<200?o=Math.max(200,e.left+20):o+200>t&&(o=Math.min(t-200,e.right-20)));break;case"bottom":a=e.bottom+8,o=e.left+e.width/2,o<200?o=Math.max(200,e.left+20):o+200>t&&(o=Math.min(t-200,e.right-20));break;case"left":a=e.top+e.height/2,o=e.left-8;break;case"right":i?(a=e.top,o=e.right+8,o+400>t&&(o=t-400)):(a=e.top+e.height/2,o=e.right+8);break;default:a=e.top-8,o=e.left+e.width/2}l({top:a,left:o})}},[a,n,r]),o.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]),!t)return e;const d=a&&Oa.createPortal(_.jsx("div",{className:`simple-tooltip simple-tooltip-${n} ${r.includes("file-tooltip")?"file-tooltip-arrow":""}`,style:{position:"fixed",top:["top","left","right"].includes(n)?`${s.top}px`:"auto",bottom:"bottom"===n?window.innerHeight-s.top+"px":"auto",left:["top","bottom","right"].includes(n)?`${s.left}px`:"auto",right:"left"===n?window.innerWidth-s.left+"px":"auto",transform:"top"!==n||r.includes("file-tooltip")?"top"===n&&r.includes("file-tooltip")?"translate(0, -100%)":"bottom"!==n||r.includes("file-tooltip")?"bottom"===n&&r.includes("file-tooltip")?"translate(0, 0)":"left"===n?"translate(-100%, -50%)":"right"!==n||r.includes("file-tooltip")?"right"===n&&r.includes("file-tooltip")?"translate(0, 0)":"none":"translate(0, -50%)":"translate(-50%, 0)":"translate(-50%, -100%)",zIndex:1e4,opacity:1,transition:"opacity 0.2s ease-in-out"},children:t}),document.body);return _.jsxs("div",{ref:c,className:`simple-tooltip-container ${r}`,onMouseEnter:()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{i(!0)},700)},onMouseLeave:()=>{u.current&&clearTimeout(u.current),i(!1)},children:[e,d]})},DS=o.memo(({anchorEl:e,open:t,onClose:n,gridId:r,activeFilter:a,gridFilters:i,onFilterChange:s,onSummaryChange:l,isGridExpanded:c,onSort:u,sortConfig:d})=>{const p=Kr(),[f,m]=o.useState(null),[h,g]=o.useState("contains"),[b,y]=o.useState(""),[v,x]=o.use
152State(null),[S,w]=o.useState(!1);o.useEffect(()=>{if(t&&a.gridId===r&&a.column){const e=i[a.column]||"";"string"==typeof e?(y(e),w(!1)):e&&"object"==typeof e?(g(e.operation||"contains"),y(e.value||""),w("is empty"===e.operation||"is not empty"===e.operation)):(g("contains"),y(""),w(!1))}},[t,a,r,i]);const E=()=>{m(null)},C=e=>{a.column&&l(a.column,e),E()},k=()=>{x(null)},T=e=>{g(e),"is empty"===e||"is not empty"===e?(y(""),w(!0)):w(!1),k()},A=d&&d.key===a.column&&"asc"===d.direction,I=d&&d.key===a.column&&"desc"===d.direction;return _.jsxs(Pp,{anchorEl:e,open:t,onClose:n,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},onClick:e=>e.stopPropagation(),PaperProps:{sx:{width:"220px","& .MuiList-root":{padding:0},boxShadow:"0 1px 4px rgba(0,0,0,0.08)",backgroundColor:p.palette.background.paper,color:p.palette.text.primary}},children:[_.jsxs(pc,{sx:{p:1,borderBottom:`1px solid ${p.palette.divider}`},children:[_.jsx(zp,{onClick:()=>{a.column&&u&&(d&&d.key===a.column&&"asc"===d.direction?u(null,"asc"):u(a.column,"asc")),n()},sx:{fontSize:"0.875rem",minHeight:"32px",px:1,color:A?p.palette.primary.main:"inherit",fontWeight:A?"bold":"normal"},children:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",width:"100%"},children:[_.jsx("span",{style:{marginRight:"8px",color:A?p.palette.primary.main:"inherit"},children:"â"}),"Sort A to Z"]})}),_.jsx(zp,{onClick:()=>{a.column&&u&&(d&&d.key===a.column&&"desc"===d.direction?u(null,"asc"):u(a.column,"desc")),n()},sx:{fontSize:"0.875rem",minHeight:"32px",px:1,color:I?p.palette.primary.main:"inherit",fontWeight:I?"bold":"normal"},children:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",width:"100%"},children:[_.jsx("span",{style:{marginRight:"8px",color:I?p.palette.primary.main:"inherit"},children:"â"}),"Sort Z to A"]})})]}),_.jsxs(pc,{sx:{p:1,borderBottom:`1px solid ${p.palette.divider}`},children:[_.jsx(di,{variant:"body2",sx:{fontWeight:"bold",mb:1},children:a.column}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:1,cursor:"pointer",border:`1px solid ${p.palette.divider}`,borderRadius:"4px",p:.5,pl:1,bgcolor:"dark"===p.palette.mode?p.palette.grey[800]:"#f5f5f5"},onClick:e=>{x(e.currentTarget)},children:[_.jsx(di,{variant:"body2",sx:{flexGrow:1,color:p.palette.text.secondary},children:h}),_.jsx(Qy,{fontSize:"small"})]}),_.jsx(oh,{size:"small",fullWidth:!0,placeholder:"Filter...",value:b,onChange:e=>y(e.target.value),onClick:e=>e.stopPropagation(),autoFocus:!0,disabled:S,sx:{"& .MuiOutlinedInput-root":{backgroundColor:"dark"===p.palette.mode?p.palette.grey[800]:"#f5f5f5","& fieldset":{borderColor:p.palette.divider},"&:hover fieldset":{borderColor:p.palette.primary.main},"&.Mui-focused fieldset":{borderColor:p.palette.primary.main}},"& .MuiInputBase-input":{color:p.palette.text.primary},"& .MuiInputBase-input::placeholder":{color:p.palette.text.secondary,opacity:1}}}),_.jsxs(pc,{sx:{display:"flex",justifyContent:"space-between",mt:1,gap:1},children:[_.jsx(Ec,{variant:"contained",color:"primary",size:"small",onClick:()=>{a.gridId===r&&a.column&&s(a.column,"is empty"===h||"is not empty"===h?{operation:h,value:""}:{operation:h,value:b}),n()},sx:{minWidth:"80px",bgcolor:p.palette.primary.main,"&:hover":{bgcolor:p.palette.primary.dark}},children:"APPLY"}),_.jsx(Ec,{variant:"outlined",size:"small",onClick:()=>{a.gridId===r&&a.column&&s(a.column,""),n()},sx:{minWidth:"80px",color:p.palette.text.primary,borderColor:p.palette.divider,"&:hover":{backgroundColor:p.palette.action.hover,borderColor:p.palette.text.primary}},children:"Clear"})]})]}),c&&[_.jsx(Uu,{},"divider"),_.jsx(pc,{sx:{py:.5},children:_.jsx(zp,{onClick:e=>{m(e.currentTarget)},sx:{fontSize:"0.875rem",minHeight:"32px",px:1.5},children:"Show Column Totals"})},"summary-box")],_.jsxs(Pp,{anchorEl:v,open:Boolean(v),onClose:k,anchorOrigin:{vertical:"top",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},PaperProps:{sx:{width:"180px","& .MuiList-root":{padding:"4px 0"},boxShadow:"0 1px 4px rgba(0,0,0,0.08)",backgroundColor:p.palette.background.paper,color:p.palette.text.primary}},children:[_.jsx(zp,{onClick:()=>T("is exactly"),sx:{fontSize:"0.875rem",minHeight:"32px",backgroundColor:"is exactly"===h?p.palette.action.selected:"inherit","&:hover":{backgroundColor:"is exactly"===h?p.palette.action.selected:p.palette.action.hover}},children:"is exactly"}),_.jsx(zp,{onClick:()=>T("is not"),sx:{fontSize:"0.875rem",minHeight:"32px",backgroundColor:"is not"===h?p.palette.action.selected:"inherit","&:hover":{backgroundColor:"is not"===h?p.palette.action.selected:p.palette.action.hover}},children:"is not"}),_.jsx(zp,{onClick:()=>T("contains"),sx:{fontSize:"0.875rem",minHeight:"32px",backgroundColor:"contains"===h?p.palette.action.selected:"inherit","&:hover":{backgroundColor:"contains"===h?p.palette.action.selected:p.palette.action.hover}},children:"contains"}),_.jsx(zp,{onClick:()=>T("does not contain"),sx:{fontSize:"0.875rem",minHeight:"32px",backgroundColor:"does not contain"===h?p.palette.action.selected:"inherit","&:hover":{backgroundColor:"does not contain"===h?p.palette.action.selected:p.palette.action.hover}},children:"does not contain"}),_.jsx(zp,{onClick:()=>T("begins with"),sx:{fontSize:"0.875rem",minHeight:"32px",backgroundColor:"begins with"===h?p.palette.action.selected:"inherit","&:hover":{backgroundColor:"begins with"===h?p.palette.action.selected:p.palette.action.hover}},children:"begins with"}),_.jsx(zp,{onClick:()=>T("is empty"),sx:{fontSize:"0.875rem",minHeight:"32px",backgroundColor:"is empty"===h?p.palette.action.selected:"inherit","&:hover":{backgroundColor:"is empty"===h?p.palette.action.selected:p.palette.action.hover}},children:"is empty"}),_.jsx(zp,{onClick:()=>T("is not empty"),sx:{fontSize:"0.875rem",minHeight:"32px",backgroundColor:"is not empty"===h?p.palette.action.selected:"inherit","&:hover":{backgroundColor:"is not empty"===h?p.palette.action.selected:p.palette.action.hover}},children:"is not empty"})]}),_.jsxs(Pp,{anchorEl:f,open:Boolean(f),onClose:E,anchorOrigin:{vertical:"top",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"left"},PaperProps:{sx:{width:"160px","& .MuiList-root":{padding:"4px 0"},boxShadow:"0 1px 4px rgba(0,0,0,0.08)",backgroundColor:p.palette.background.paper,color:p.palette.text.primary}},children:[_.jsx(zp,{onClick:()=>C("none"),sx:{fontSize:"0.875rem",minHeight:"32px"},children:"None"}),_.jsx(zp,{onClick:()=>C("sum"),sx:{fontSize:"0.875rem",minHeight:"32px"},children:"Sum"}),_.jsx(zp,{onClick:()=>C("average"),sx:{fontSize:"0.875rem",minHeight:"32px"},children:"Average"}),_.jsx(zp,{onClick:()=>C("count"),sx:{fontSize:"0.875rem",minHeight:"32px"},children:"Count"}),_.jsx(zp,{onClick:()=>C("distinctCount"),sx:{fontSize:"0.875rem",minHeight:"32px"},children:"Distinct Count"})]})]})});DS.displayName="FilterMenu";const PS=100,MS=o.memo(o.forwardRef(({data:e,nodeName:t,isLeftPaneCollapsed:n,exp
152andedNodes:r,onToggleNode:a,onGridStateChange:i,sourceXml:s,onXPathSelect:l},c)=>{const u=Kr(),[d,p]=o.useState(""),[f,m]=o.useState(!1),[h,g]=o.useState(new Map),[,b]=o.useTransition(),y=o.useCallback(e=>{b(()=>a(e))},[a]),v=o.useCallback(()=>{if(!s)return null;try{const e=cS(s),t=sessionStorage.getItem(e);if(t){const e=JSON.parse(t);return{...e,filters:new Map(e.filters||[]),expandedGrids:new Map(e.expandedGrids||[]),gridViewModes:new Map(e.gridViewModes||[]),expandedNodes:new Set(e.expandedNodes||[])}}}catch(e){}return null},[s]),[x]=o.useState(()=>v()),[S,w]=o.useState(()=>x?.gridViewModes??new Map),[E,C]=o.useState(()=>x?.expansionLevel??0),[k,T]=o.useState(()=>x?.expandedNodesHistory??{}),[A,I]=o.useState(()=>x?.sortConfig??{key:null,direction:"asc"}),[N,R]=o.useState(()=>x?.filters??new Map),[O,L]=o.useState(()=>x?.expandedGrids??new Map),[D,P]=o.useState(new Map),[M,j]=o.useState(()=>{try{return JSON.parse(sessionStorage.getItem("all-grid-states")||"{}")[s]||{}}catch(e){return{}}});o.useEffect(()=>{if(!s)return;const e=setTimeout(()=>{try{const e=cS(s),t={expansionLevel:E,expandedNodesHistory:k,sortConfig:A,filters:Array.from(N.entries()),expandedGrids:Array.from(O.entries()),expandedNodes:Array.from(r),gridViewModes:Array.from(S.entries())};sessionStorage.setItem(e,JSON.stringify(t))}catch(e){}},300);return()=>clearTimeout(e)},[E,k,A,N,O,r,S,s]),o.useEffect(()=>{if(!s)return;const e=v();e&&(C(e.expansionLevel),T(e.expandedNodesHistory),I(e.sortConfig),R(e.filters),L(e.expandedGrids),w(new Map(e.gridViewModes??[])),e.expandedNodes&&a(new Set(e.expandedNodes)))},[s]),o.useEffect(()=>{if(!s)return;const e=setTimeout(()=>{try{const e=JSON.parse(sessionStorage.getItem("all-grid-states")||"{}");e[s]=M,sessionStorage.setItem("all-grid-states",JSON.stringify(e))}catch(e){}},300);return()=>clearTimeout(e)},[M,s]),o.useEffect(()=>{if(s)try{const e=JSON.parse(sessionStorage.getItem("all-grid-states")||"{}");j(e[s]||{});const t=e[s]||{};Object.entries(t).forEach(([e,t])=>{t.filters&&R(n=>{const r=new Map(n);return r.set(e,t.filters),r}),t.sortConfig&&I(t.sortConfig)})}catch(e){}},[s]),o.useEffect(()=>{p("")},[s]);const F=o.useCallback((e,t)=>{const n=(e,r="root",a=new Set)=>{if("object"!=typeof e||null===e||a.has(e))return!1;a.add(e);const o=`${r}-object`;if(!t.has(o))return!0;if(Array.isArray(e)){const o=`${r}-array`;if(!t.has(o))return!0;for(let t=0;t<e.length;t++)if(n(e[t],`${r}-${t}`,a))return!0}for(const[t,i]of Object.entries(e))if(n(i,`${r}-${t}`,a))return!0;return!1};return n(e,"root",new Set)},[]),z=o.useCallback(t=>{const n=(e,r="root",a=0)=>{let o=new Set;return"object"!=typeof e||null===e||(o.add(`${r}-object`),a<t&&(Array.isArray(e)?(o.add(`${r}-array`),e.forEach((e,t)=>{"object"==typeof e&&null!==e&&(o.add(`${r}-${t}-object`),o=new Set([...o,...n(e,`${r}-${t}`,a+1)]))})):Object.entries(e).forEach(([e,t])=>{"object"==typeof t&&null!==t&&(o.add(`${r}-${e}-object`),o=new Set([...o,...n(t,`${r}-${e}`,a+1)]))}))),o},a=n(e),o=r,i=Array.from(a).filter(e=>!o.has(e));T(e=>({...e,[t]:i})),y(e=>new Set([...e,...a]))},[e,y,r]),$=()=>{if(0===E)C(1),z(1);else if(F(e,r)){const e=E+1;C(e),z(e)}},B=()=>{if(0===E)return;const e=k[E]||[];y(t=>{const n=new Set(t);return e.forEach(e=>{n.delete(e)}),n}),C(e=>e-1)},U=()=>{C(0),y(new Set)};o.useImperativeHandle(c,()=>({expandOneLevel:$,collapseOneLevel:B,collapseAll:U}),[$,B,U]);const H=(e,t)=>{j(n=>({...n,[e]:t}))},[V,W]=o.useState(null),[G,q]=o.useState({gridId:null,column:null}
152),Y=(e,t,n)=>{e.stopPropagation(),W(e.currentTarget),q({gridId:t,column:n})},X=()=>{W(null),q({gridId:null,column:null})},K=(e,t)=>{t.stopPropagation();const n=e.split("-").filter(e=>"object"!==e&&"array"!==e).filter(e=>"root"!==e).reduce((e,t)=>{if(t.startsWith("@"))return[...e,`/@${t.slice(1)}`];if(!isNaN(t)){const n=e.pop();return[...e,`${n}[${parseInt(t)+1}]`]}return[...e,t]},[]).join("/");p(n?`/${n}`:"/")},Z=()=>{navigator.clipboard.writeText(d).then(()=>{m(!0)})},J=(e,t="")=>{if(Array.isArray(e)){const a=`${t}-array`,o=r.has(a);if(e.length>0&&"object"==typeof e[0]&&null!==e[0]&&!Array.isArray(e[0])){const r=t.replace(/-object$/,"").replace(/-array$/,"").replace(/-+/g,"-").replace(/-$/,""),a=r,o=O.get(a),i=N.get(a)||{},s=[...new Set(e.flatMap(e=>Object.keys(e)))],l=(e,t)=>{R(n=>{const r=new Map(n),o={...n.get(a)||{}};return t?"string"==typeof t?""!==t.trim()?o[e]=t.trim():delete o[e]:"object"==typeof t&&("is empty"===t.operation||"is not empty"===t.operation||t.value&&""!==t.value.trim())?o[e]={operation:t.operation||"contains",value:t.value.trim()}:delete o[e]:delete o[e],0===Object.keys(o).length?r.delete(a):r.set(a,o),H(a,{gridId:a,filters:o,sortConfig:A}),r})},c=Object.keys(i).length>0?e.filter(e=>Object.entries(i).every(([t,n])=>{if(!n)return!0;const r=String(e[t]??"").toLowerCase();if("object"!=typeof n||!n.operation){const e=String(n).toLowerCase();return r.includes(e)}{const a=String(n.value||"").toLowerCase();switch(n.operation){case"is exactly":return r===a;case"is not":return r!==a;case"contains":default:return r.includes(a);case"does not contain":return!r.includes(a);case"begins with":return r.startsWith(a);case"is empty":return""===e[t]||null===e[t]||void 0===e[t];case"is not empty":return""!==e[t]&&null!==e[t]&&void 0!==e[t]}}})):e,d=A.key?[...c].sort((e,t)=>{const n=String(e[A.key]||""),r=String(t[A.key]||""),a=Number(n),o=Number(r);return isNaN(a)||isNaN(o)?"asc"===A.direction?n.localeCompare(r):r.localeCompare(n):"asc"===A.direction?a-o:o-a}):c,p=d.length>
152PS,f=p?Math.ceil(d.length/PS):1,m=D.get(a)??0,b=Math.min(Math.max(m,0),f-1),y=b*PS,v=Math.min(y+PS,d.length),x=p?d.slice(y,v):d,E=e=>{P(t=>{const n=new Map(t);return n.set(a,Math.min(Math.max(e,0),f-1)),n})},C=e=>A.key!==e?null:"asc"===A.direction?_.jsx(IS,{id:`sort-icon-${e}-asc`,style:{color:u.palette.primary.main,marginLeft:"4px",flexShrink:0}}):_.jsx(AS,{id:`sort-icon-${e}-desc`,style:{color:u.palette.primary.main,marginLeft:"4px",flexShrink:0}}),k=e=>{e.stopPropagation(),L(e=>{const t=new Map(e);return t.set(a,!e.get(a)),t})},T=e=>{const t=A.key===e&&"asc"===A.direction?{key:e,direction:"desc"}:A.key===e&&"desc"===A.direction?{key:null,direction:"asc"}:{key:e,direction:"asc"};I(t),H(a,{gridId:a,filters:i,sortConfig:t})},M=S.get(a)||"grid";return _.jsxs("div",{className:`grid-view ${o?"expanded":""} ${n?"collapsed":""}`,"data-grid-id":a,children:[_.jsxs("div",{className:"grid-header-menu",style:p&&!o?{top:"27px"}:void 0,children:[_.jsx(qo,{size:"small",onClick:k,children:o?_.jsx(kS,{style:{color:u.palette.text.secondary}}):_.jsx(TS,{style:{color:u.palette.text.secondary}})}),_.jsx(qo,{size:"small",onClick:()=>(e=>{w(t=>{const n=new Map(t),r=t.get(e)||"grid";return n.set(e,"grid"===r?"card":"grid"),n})})(a),children:_.jsx(OS,{sx:{transform:"card"===M?"rotate(90deg)":"none",color:u.palette.text.secondary}})})]}),p&&_.jsxs("div",{className:"grid-pagination",onClick:e=>e.stopPropagation(),style:{display:"flex",alignItems:"center",gap:"8px",padding:"0 8px 0 0",height:"32px",boxSizing:"border-box",fontSize:"0.8125rem",color:u.palette.text.secondary,borderBottom:`1px solid ${u.palette.divider}`},children:[_.jsx(Ec,{size:"small",disabled:0===b,onClick:()=>E(0),sx:{minWidth:"auto",padding:"0 6px"},children:"« First"}),_.jsx(Ec,{size:"small",disabled:0===b,onClick:()=>E(b-1),sx:{minWidth:"auto",padding:"0 6px"},children:"â¹ Prev"}),_.jsxs("span",{children:[y+1,"â",v," of ",d.length," (page ",b+1,"/",f,")"]}),_.jsx(Ec,{size:"small",disabled:b>=f-1,onClick:()=>E(b+1),sx:{minWidth:"auto",padding:"0 6px"},children:"Next âº"}),_.jsx(Ec,{size:"small",disabled:b>=f-1,onClick:()=>E(f-1),sx:{minWidth:"auto",padding:"0 6px"},children:"Last »"})]}),_.jsx("div",{className:"grid-content",children:"grid"===M?_.jsx("div",{className:"table-wrapper",children:_.jsxs("table",{children:[_.jsx("thead",{children:_.jsx("tr",{children:s.map(e=>_.jsx("th",{className:G.gridId===r&&G.column===e&&Boolean(V)?"active-filter":"",style:{width:"auto",minWidth:"auto"},children:_.jsxs("div",{className:"header-content",onClick:n=>{n.stopPropagation(),K(`${t}-${e}`,n),T(e)},style:{cursor:"pointer"},children:[_.jsx("span",{className:"header-label",title:e,children:e}),C(e),_.jsx(qo,{size:"small",onClick:t=>Y(t,r,e),className:"filter-button",sx:{padding:"2px",opacity:i[e]?1:0,color:i[e]?u.palette.primary.main:"inherit",".header-content:hover &":{opacity:.3},flexShrink:0,marginLeft:"4px"},children:_.jsx(_S,{id:`filter-icon-${r}-${e}`,sx:{fontSize:"1rem"}})})]})},e))})}),_.jsx("tbody",{children:x.map((e,n)=>{const r=y+n;return _.jsx("tr",{style:{backgroundColor:Q(e,r)},children:s.map(n=>_.jsx("td",{onClick:e=>{e.stopPropagation(),K(`${t}-${r}-${n}`,e)},children:Array.isArray(e[n])?_.jsx("div",{className:"array-in-cell",children:J(e[n],`${t}-${r}-${n}`)}):"object"==typeof e[n]&&null!==e[n]?J(e[n],`${t}-${r}-${n}`):_.jsx("span",{className:"value",title:0===e[n]?"0":String(e[n]||""),children:0===e[n]?"0":String(e[n]||"")})},n))},r)})})]})}):_.jsx("div",{className:"card-view",children:_.jsx("table",{children:_.jsx("tbody",{children:s.map(e=>_.jsxs("tr",{children:[_.jsx("td",{className:"property-cell "+(G.gridId===r&&G.column===e&&Boolean(V)?"active-filter":""),onClick:n=>{n.stopPropagation(),K(`${t}-${e}`,n),T(e)},style:{cursor:"pointer"},children:_.jsxs("div",{className:"header-content",children:[_.jsx("span",{className:"header-label",title:e,children:e}),C(e),_.jsx(qo,{size:"small",onClick:t=>Y(t,r,e),className:"filter-button",sx:{padding:"2px",opacity:i[e]?1:0,color:i[e]?u.palette.primary.main:"inherit",".header-content:hover &":{opacity:.3},flexShrink:0,marginLeft:"4px"},children:_.jsx(_S,{id:`filter-icon-${r}-${e}`,sx:{fontSize:"1rem"}})})]})}),x.map((n,r)=>{const a=y+r;return _.jsx("td",{onClick:n=>{n.stopPropagation(),K(`${t}-${a}-${e}`,n)},children:Array.isArray(n[e])?_.jsx("div",{className:"array-in-cell",children:J(n[e],`${t}-${a}-${e}`)}):"object"==typeof n[e]&&null!==n[e]?J(n[e],`${t}-${a}-${e}`):_.jsx("span",{className:"value",title:0===n[e]?"0":String(n[e]||""),children:0===n[e]?"0":String(n[e]||"")})},a)})]},e))})})})}),o&&_.jsx("div",{className:"grid-footer",children:_.jsxs("div",{style:{display:"flex",justifyContent:"space-between",padding:"4px 8px",alignItems:"center"},children:[_.jsxs("span",{style:{marginRight:"24px"},children:[d.length," rows"]}),_.jsx("div",{style:{display:"flex",gap:"24px",color:u.palette.text.secondary,fontSize:"0.875rem"}
152,children:h.has(a)&&Array.from(h.get(a).entries()).map(([e,{operation:t}])=>{const n=((e,t,n)=>{if("distinctCount"===n)return new Set(e.map(e=>e[t]).filter(e=>null!=e&&""!==e).map(String)).size;if("count"===n)return e.map(e=>e[t]).filter(e=>null!=e&&""!==e).length;const r=e.map(e=>parseFloat(e[t])).filter(e=>!isNaN(e));if(0===r.length)return null;switch(n){case"sum":return r.reduce((e,t)=>e+t,0);case"average":return r.reduce((e,t)=>e+t,0)/r.length;default:return null}})(d,e,t);return null===n?null:_.jsxs("span",{children:[e," ","distinctCount"===t?"distinct count":t,": ",["count","distinctCount"].includes(t)?n:n.toFixed(2)]},`${e}-${t}`)})})]})}),_.jsx(DS,{anchorEl:V,open:Boolean(V)&&G.gridId===r,onClose:X,gridId:r,activeFilter:G,gridFilters:i,onFilterChange:l,onSummaryChange:(e,t)=>((e,t,n)=>{g(r=>{const a=new Map(r),o=new Map(a.get(e)||new Map);return"none"===n?o.delete(t):o.set(t,{operation:n}),0===o.size?a.delete(e):a.set(e,o),a})})(r,e,t),isGridExpanded:o,onSort:(e,t)=>{I({key:e,direction:t}),H(r,{gridId:r,filters:i,sortConfig:{key:e,direction:t}})},sortConfig:A})]})}const i=e.length>PS,s=i?Math.ceil(e.length/PS):1,l=D.get(a)??0,c=Math.min(Math.max(l,0),s-1),d=c*PS,p=Math.min(d+PS,e.length),f=i?e.slice(d,p):e,m=e=>{P(t=>{const n=new Map(t);return n.set(a,Math.min(Math.max(e,0),s-1)),n})};return _.jsxs("div",{className:"array-container",children:[_.jsx("div",{className:"property-header",children:_.jsxs("div",{className:"expand-button",onClick:e=>{e.stopPropagation(),y(e=>{const t=new Set(e);return t.has(a)?t.delete(a):t.add(a),t})},children:[o?_.jsx(ES,{}):_.jsx(CS,{}),_.jsxs("span",{className:"array-count",children:["Array (",e.length," items)"]})]})}),o&&_.jsxs("div",{className:"array-items",children:[i&&_.jsxs("div",{className:"array-pagination",onClick:e=>e.stopPropagation(),style:{display:"flex",alignItems:"center",gap:"8px",padding:"4px 0",fontSize:"0.8125rem",color:u.palette.text.secondary},children:[_.jsx(Ec,{size:"small",disabled:0===c,onClick:()=>m(0),sx:{minWidth:"auto",padding:"0 6px"},children:"« First"}),_.jsx(Ec,{size:"small",disabled:0===c,onClick:()=>m(c-1),sx:{minWidth:"auto",padding:"0 6px"},children:"â¹ Prev"}),_.jsxs("span",{children:[d+1,"â",p," of ",e.length," (page ",c+1,"/",s,")"]}),_.jsx(Ec,{size:"small",disabled:c>=s-1,onClick:()=>m(c+1),sx:{minWidth:"auto",padding:"0 6px"},children:"Next âº"}),_.jsx(Ec,{size:"small",disabled:c>=s-1,onClick:()=>m(s-1),sx:{minWidth:"auto",padding:"0 6px"},children:"Last »"})]}),f.map((e,n)=>{const r=d+n;return _.jsx("div",{className:"array-item",children:J(e,`${t}-${r}`)},r)})]})]})}if("object"==typeof e&&null!==e){const n=Object.entries(e);return _.jsx("div",{className:"object-container",children:n.map(([e,n])=>{const a="object"==typeof n&&null!==n&&Object.keys(n).length>0,o=`${t}-${e}-${a?"object":""}`,i=r.has(o);return _.jsxs("div",{className:"property",children:[_.jsxs("div",{className:"property-header",children:[a&&_.jsx("div",{className:"expand-button",onClick:e=>{e.stopPropagation(),y(e=>{const t=new Set(e);return t.has(o)?t.delete(o):t.add(o),t})},children:i?_.jsx(ES,{}):_.jsx(CS,{})}),_.jsxs("span",{className:"key",id:`tree-key-${t}-${e}`.replace(/[^a-zA-Z0-9-_]/g,"-"),onClick:n=>K(`${t}-${e}`,n),title:e,children:[e,":"]}),a?n["#text"]&&!i?_.jsx("span",{className:"value",title:String(n["#text"]),children:String(n["#text"])}):null:_.jsx("span",{className:"value",onClick:n=>K(`${t}-${e}`,n),title:String(n),children:"object"==typeof n&&null!==n?"":String(n)})]}),a&&i&&_.jsx("div",{className:"property-content",id:`tree-content-${t}-${e}`.replace(/[^a-zA-Z0-9-_]/g,"-"),children:J(n,`${t}-${e}`)})]},e)})})}return _.jsx("span",{className:"value",children:String(e)})},Q=(e,t)=>e.error?"dark"===u.palette.mode?"rgba(244, 67, 54, 0.1)":"rgba(255, 0, 0, 0.05)":t%2==0?"dark"===u.palette.mode?u.palette.grey[800]:"#f5f5f5":u.palette.background.paper,ee=F(e,r);return _.jsxs(pc,{sx:{width:"100%",height:"100%",display:"flex",flexDirection:"column",bgcolor:"background.paper",color:"text.primary"},children:[_.jsx(ca,{styles:{".xml-node .key":{color:"dark"===u.palette.mode?u.palette.primary.light:"#2c5282"},".xml-node .value":{color:"dark"===u.palette.mode?u.palette.success.light:"#2f855a"},".array-items, .object-properties":{borderLeft:`1px solid ${u.palette.divider}`},".property-header:hover":{backgroundColor:u.palette.action.hover},".grid-view table, .card-view table":{borderCollapse:"collapse"},".grid-view thead":{background:`${"dark"===u.palette.mode?u.palette.grey[800]:"#f7fafc"} !important`},".grid-view th":{background:`${"dark"===u.palette.mode?u.palette.grey[800]:"#f7fafc"} !important`,color:"dark"===u.palette.mode?u.palette.primary.light:"#2c5282",boxShadow:"none"},".grid-view td":{background:`${u.palette.background.paper} !important`,border:`1px solid ${u.palette.divider}`},".grid-view.expanded":{background:`${u.palette.background.default} !important`},".grid-view th, .grid-view td":{border:`1px solid ${u.palette.divider}`},".grid-header-menu":{background:"transparent !important"},".card-view th":{background:`${"dark"===u.palette.mode?u.palette.grey[800]:"#f7fafc"} !important`,color:"dark"===u.palette.mode?u.palette.primary.light:"#2c5282"},".grid-view thead tr th":{background:`${"dark"===u.palette.mode?u.palette.grey[800]:"#f7fafc"} !important`,color:"dark"===u.palette.mode?u.palette.primary.light:"#2c5282"},".header-content":{background:"transparent !important",color:"inherit !important"},"tr:hover > td":{backgroundColor:`${"dark"===u.palette.mode?u.palette.action.hover:"#f7fafc"} !important`},".array-count":{color:u.palette.text.secondary},".card-view td.property-cell":{backgroundColor:`${"dark"===u.palette.mode?u.palette.grey[800]:"#f7fafc"} !important`,fontWeight:"400 !important",color:"dark"===u.palette.mode?u.palette.primary.light:"#2c5282",borderRight:`1px solid ${u.palette.divider}`},".card-view tr:not(:first-of-type) > td":{borderTop:`1px solid ${u.palette.divider}`},".grid-view.expanded > .grid-header-menu":{background:`${"dark"===u.palette.mode?u.palette.background.paper:"#f8fafc"} !important`,borderBottom:`1px solid ${u.palette.divider} !important`},".grid-view.expanded .grid-footer":{background:`${"dark"===u.palette.mode?u.palette.background.paper:"#f8fafc"} !important`,borderTop:`1px solid ${u.palette.divider} !important`,color:`${u.palette.text.primary} !important`},".header-content:hover":{backgroundColor:`${u.palette.action.hover} !important`},".inline-property:hover":{backgroundColor:`${u.palette.action.hover} !important`},".grid-row:hover > .grid-cell":{backgroundColor:`${u.palette.action.hover} !important`},".grid-header .grid-cell:hover":{backgroundColor:`${"dark"===u.palette.mode?u.palette.background.paper:"#f8fafc"} !important`},".grid-view th.active-filter, .card-view .property-cell.active-filter":{backgroundColor:("dark"===u.palette.mode?"rgba(144, 202, 249, 0.2)":"#e6f2ff")+" !important",borderLeft:`3px solid ${u.palette.primary.main} !important`,paddingLeft:"8px !important"}}}),_.jsxs(pc,{sx:{flexShrink:0,bgcolor:"background.paper",pt:1,pb:1,zIndex:10,borderBottom:1,borderColor:"divider",width:"100%"},children:[d&&_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1,px:2,py:1,mx:-1,mt:-1,mb:1,bgcolor:"dark"===u.palette.mode?u.palette.grey[800]:"#f7fafc",borderBottom:1,borderColor:"divider",borderLeft:"none",borderRight:"none",borderTop:"none"},children:[_.jsx(LS,{content:"Copy XPath",position:"top",children:_.jsxs(di,{id:`xpath-text-${d?.replace(/[^a-zA-Z0-9-_]/g,"-")||"default"}`,sx:{flex:1,fontFamily:"monospace",fontSize:"0.9rem",color:"text.secondary",cursor:"pointer","&:hover":{color:"text.primary",textDecoration:"underline"}},onClick:Z,children:["XPath: ",d]})}),_.jsx(qo,{size:"small",onClick:Z,sx:{color:"text.secondary","&:hover":{color:"text.primary"}},children:_.jsx(RS,{fontSize:"small"})})]}),_.jsxs(pc,{sx:{display:"flex",gap:2,mb:1.5,mt:1,ml:2},children:[_.jsx(Ec,{variant:"outlined",onClick:$,startIcon:_.jsx(Qy,{}),disabled:!ee&&E>0,sx:{color:"dark"===u.palette.mode?u.palette.text.primary:"#2c5282",borderColor:"dark"===u.palette.mode?u.palette.text.primary:"#2c5282",textTransform:"none","&:hover":{borderColor:"dark"===u.palette.mode?u.palette.text.primary:"#2b4c7e",backgroundColor:u.palette.action.hover}},children:"Expand"}),E>0&&_.jsxs(_.Fragment,{children:[_.jsx(Ec,{variant:"outlined",onClick:B,startIcon:_.jsx(Jy,{}),sx:{color:"dark"===u.palette.mode?u.palette.text.primary:"#2c5282",borderColor:"dark"===u.palette.mode?u.palette.text.primary:"#2c5282",textTransform:"none","&:hover":{borderColor:"dark"===u.palette.mode?u.palette.text.primary:"#2b4c7e",backgroundColor:u.palette.action.hover}},children:"Collapse"}),_.jsx(Ec,{variant:"outlined",onClick:U,startIcon:_.jsx(Jy,{}),sx:{color:"dark"===u.palette.mode?u.palette.text.primary:"#2c5282",borderColor:"dark"===u.palette.mode?u.palette.text.primary:"#2c5282",textTransform:"none","&:hover":{borderColor:"dark"===u.palette.mode?u.palette.text.primary:"#2b4c7e",backgroundColor:u.palette.action.hover}},children:"Collapse All"})]})]})]}),_.jsx(pc,{sx:{flex:1,overflow:"auto",minHeight:0},children:_.jsx("div",{className:"xml-node "+(n?"collapsed":""),children:J(e,"root")})}),_.jsx(um,{open:f,autoHideDuration:2e3,onClose:()=>m(!1),message:"XPath copied to clipboard",anchorOrigin:{vertical:"bottom",horizontal:"center"}})]})},(e,t)=>e.data===t.data&&e.expandedNodes===t.expandedNodes&&e.isLeftPaneCollapsed===t.isLeftPaneCollapsed&&e.sourceXml===t.sourceXml));function jS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function FS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
152t%2?FS(Object(n),!0).forEach(function(t){jS(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $S(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function BS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function US(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function VS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?HS(Object(n),!0).forEach(function(t){US(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):HS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function WS(e){return function t(){for(var n=this,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return a.length>=e.length?e.apply(this,a):function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return t.apply(n,[].concat(a,r))}}}function GS(e){return{}.toString.call(e).includes("Object")}function qS(e){return"function"==typeof e}MS.displayName="XmlNode";var YS=WS(function(e,t){throw new Error(e[t]||e.default)})({initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"}),XS={changes:function(e,t){return GS(t)||YS("changeType"),Object.keys(t).some(function(t){return n=e,r=t,!Object.prototype.hasOwnProperty.call(n,r);var n,r})&&YS("changeField"),t},selector:function(e){qS(e)||YS("selectorType")},handler:function(e){qS(e)||GS(e)||YS("handlerType"),GS(e)&&Object.values(e).some(function(e){return!qS(e)})&&YS("handlersType")},initial:function(e){var t;e||YS("initialIsRequired"),GS(e)||YS("initialType"),t=e,Object.keys(t).length||YS("initialContent")}};function KS(e,t){return qS(t)?t(e.current):t}function ZS(e,t){return e.current=VS(VS({},e.current),t),t}function JS(e,t,n){return qS(t)?t(e.current):Object.keys(n).forEach(function(n){var r;return null===(r=t[n])||void 0===r?void 0:r.call(t,e.current[n])}),n}var QS={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};XS.initial(e),XS.handler(t);var n={current:e},r=WS(JS)(n,t),a=WS(ZS)(n),o=WS(XS.changes)(e),i=WS(KS)(n);return[function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(e){return e};return XS.selector(e),e(n.current)},function(e){!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}}(r,a,o,i)(e)}]}};var ew={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:"Deprecation warning!\n You are using deprecated way of configuration.\n\n Instead of using\n monaco.config({ urls: { monacoBase: '...' } })\n use\n monaco.config({ paths: { vs: '...' } })\n\n For more please check the link https://github.com/suren-atoyan/monaco-loader#config\n "},tw=function(e){return function t(){for(var n=this,r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return a.length>=e.length?e.apply(this,a):function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return t.apply(n,[].concat(a,r))}}}(function(e,t){throw new Error(e[t]||e.default)})(ew),nw={config:function(e){var t;return e||tw("configIsRequired"),t=e,{}.toString.call(t).includes("Object")||tw("configType"),e.urls?{paths:{vs:e.urls.monacoBase}}:e}};function rw(e,t){return Object.keys(t).forEach(function(n){t[n]instanceof Object&&e[n]&&Object.assign(t[n],rw(e[n],t[n]))}),zS(zS({},e),t)}var aw={type:"cancelation",msg:"operation is manually canceled"};function ow(e){var t=!1,n=new Promise(function(n,r){e.then(function(e){return t?r(aw):n(e)}),e.catch(r)});return n.cancel=function(){return t=!0},n}var iw,sw,lw=QS.create({config:{paths:{vs:"https://cdn.jsdelivr.net/npm/[email protected]/min/vs"}},isInitialized:!1,resolve:null,reject:null,monaco:null}),cw=(sw=2,function(e){if(Array.isArray(e))return e}(iw=lw)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(l){a=!0,o=l}finally{try{r||null==s.return||s.return()}finally{if(a)throw o}}return n}}(iw,sw)||function(e,t){if(e){if("string"==typeof e)return BS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?BS(e,t):void 0}}
152(iw,sw)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),uw=cw[0],dw=cw[1];function pw(e){return document.body.appendChild(e)}function fw(e){var t,n,r=uw(function(e){return{config:e.config,reject:e.reject}}),a=(t="".concat(r.config.paths.vs,"/loader.js"),n=document.createElement("script"),t&&(n.src=t),n);return a.onload=function(){return e()},a.onerror=r.reject,a}function mw(){var e=uw(function(e){return{config:e.config,resolve:e.resolve,reject:e.reject}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(t){hw(t),e.resolve(t)},function(t){e.reject(t)})}function hw(e){uw().monaco||dw({monaco:e})}var gw=new Promise(function(e,t){return dw({resolve:e,reject:t})}),bw={config:function(e){var t=nw.config(e),n=t.monaco,r=$S(t,["monaco"]);dw(function(e){return{config:rw(e.config,r),monaco:n}})},init:function(){var e=uw(function(e){return{monaco:e.monaco,isInitialized:e.isInitialized,resolve:e.resolve}});if(!e.isInitialized){if(dw({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),ow(gw);if(window.monaco&&window.monaco.editor)return hw(window.monaco),e.resolve(window.monaco),ow(gw);!function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduceRight(function(e,t){return t(e)},e)}}(pw,fw)(mw)}return ow(gw)},__getMonacoInstance:function(){return uw(function(e){return e.monaco})}},yw={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},vw={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}};var xw=function({children:e}){return l.createElement("div",{style:vw.container},e)};var Sw=function({width:e,height:t,isEditorReady:n,loading:r,_ref:a,className:o,wrapperProps:i}){return l.createElement("section",{style:{...yw.wrapper,width:e,height:t},...i},!n&&l.createElement(xw,null,r),l.createElement("div",{ref:a,style:{...yw.fullWidth,...!n&&yw.hide},className:o}))},ww=o.memo(Sw);var Ew=function(e){o.useEffect(e,[])};var Cw=function(e,t,n=!0){let r=o.useRef(!0);o.useEffect(r.current||!n?()=>{r.current=!1}:e,t)};function kw(){}function Tw(e,t,n,r){return function(e,t){return e.editor.getModel(Aw(e,t))}(e,r)||function(e,t,n,r){return e.editor.createModel(t,n,r?Aw(e,r):void 0)}(e,t,n,r)}function Aw(e,t){return e.Uri.parse(t)}var Iw=function({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:a,originalModelPath:i,modifiedModelPath:s,keepCurrentOriginalModel:c=!1,keepCurrentModifiedModel:u=!1,theme:d="light",loading:p="Loading...",options:f={},height:m="100%",width:h="100%",className:g,wrapperProps:b={},beforeMount:y=kw,onMount:v=kw}){let[x,S]=o.useState(!1),[w,E]=o.useState(!0),C=o.useRef(null),k=o.useRef(null),T=o.useRef(null),A=o.useRef(v),I=o.useRef(y),N=o.useRef(!1);Ew(()=>{let e=bw.init();return e.then(e=>(k.current=e)&&E(!1)).catch(e=>"cancelation"!==e?.type&&void 0),()=>C.current?function(){let e=C.current?.getModel();c||e?.original?.dispose(),u||e?.modified?.dispose(),C.current?.dispose()}():e.cancel()}),Cw(()=>{if(C.current&&k.current){let t=C.current.getOriginalEditor(),a=Tw(k.current,e||"",r||n||"text",i||"");a!==t.getModel()&&t.setModel(a)}},[i],x),Cw(()=>{if(C.current&&k.current){let e=C.current.getModifiedEditor(),r=Tw(k.current,t||"",a||n||"text",s||"");r!==e.getModel()&&e.setModel(r)}},[s],x),Cw(()=>{let e=C.current.getModifiedEditor();e.getOption(k.current.editor.EditorOption.readOnly)?e.setValue(t||""):t!==e.getValue()&&(e.executeEdits("",[{range:e.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),e.pushUndoStop())},[t],x),Cw(()=>{C.current?.getModel()?.original.setValue(e||"")},[e],x),Cw(()=>{let{original:e,modified:t}=C.current.getModel();k.current.editor.setModelLanguage(e,r||n||"text"),k.current.editor.setModelLanguage(t,a||n||"text")},[n,r,a],x),Cw(()=>{k.current?.editor.setTheme(d)},[d],x),Cw(()=>{C.current?.updateOptions(f)},[f],x);let _=o.useCallback(()=>{if(!k.current)return;I.current(k.current);let o=Tw(k.current,e||"",r||n||"text",i||""),l=Tw(k.current,t||"",a||n||"text",s||"");C.current?.setModel({original:o,modified:l})},[n,t,a,e,r,i,s]),R=o.useCallback(()=>{!N.current&&T.current&&(C.current=k.current.editor.createDiffEditor(T.current,{automaticLayout:!0,...f}),_(),k.current?.editor.setTheme(d),S(!0),N.current=!0)},[f,d,_]);return o.useEffect(()=>{x&&A.current(C.current,k.current)},[x]),o.useEffect(()=>{!w&&!x&&R()},[w,x,R]),l.createElement(ww,{width:h,height:m,isEditorReady:x,loading:p,_ref:T,className:g,wrapperProps:b})},Nw=o.memo(Iw);var _w=function(e){let t=o.useRef();return o.useEffect(()=>{t.current=e},[e]),t.current},Rw=new Map;var Ow=function({defaultValue:e,defaultLanguage:t,defaultPath:n,value:r,language:a,path:i,theme:s="light",line:c,loading:u="Loading...",options:d={},overrideServices:p={},saveViewState:f=!0,keepCurrentModel:m=!1,width:h="100%",height:g="100%",className:b,wrapperProps:y={},beforeMount:v=kw,onMount:x=kw,onChange:S,onValidate:w=kw}){let[E,C]=o.useState(!1),[k,T]=o.useState(!0),A=o.useRef(null),I=o.useRef(null),N=o.useRef(null),_=o.useRef(x),R=o.useRef(v),O=o.useRef(),L=o.useRef(r),D=_w(i),P=o.useRef(!1),M=o.useRef(!1);Ew(()=>{let e=bw.init();return e.then(e=>(A.current=e)&&T(!1)).catch(e=>"cancelation"!==e?.type&&void 0),()=>I.current?(O.current?.dispose(),m?f&&Rw.set(i,I.current.saveViewState()):I.current.getModel()?.dispose(),void I.current.dispose()):e.cancel()}),Cw(()=>{let o=Tw(A.current,e||r||"",t||a||"",i||n||"");o!==I.current?.getModel()&&(f&&Rw.set(D,I.current?.saveViewState()),I.current?.setModel(o),f&&I.current?.restoreViewState(Rw.get(i)))},[i],E),Cw(()=>{I.current?.updateOptions(d)},[d],E),Cw(()=>{!I.current||void 0===r||(I.current.getOption(A.current.editor.EditorOption.readOnly)?I.current.setValue(r):r!==I.current.getValue()&&(M.current=!0,I.current.executeEdits("",[{range:I.current.getModel().getFullModelRange(),text:r,forceMoveMarkers:!0}]),I.current.pushUndoStop(),M.current=!1))},[r],E),Cw(()=>{let e=I.current?.getModel();e&&a&&A.current?.editor.setModelLanguage(e,a)},[a],E),Cw(()=>{void 0!==c&&I.current?.revealLine(c)},[c],E),Cw(()=>{A.current?.editor.setTheme(s)},[s],E);let j=o.useCallback(()=>
152{if(N.current&&A.current&&!P.current){R.current(A.current);let o=i||n,l=Tw(A.current,r||e||"",t||a||"",o||"");I.current=A.current?.editor.create(N.current,{model:l,automaticLayout:!0,...d},p),f&&I.current.restoreViewState(Rw.get(o)),A.current.editor.setTheme(s),void 0!==c&&I.current.revealLine(c),C(!0),P.current=!0}},[e,t,n,r,a,i,d,p,f,s,c]);return o.useEffect(()=>{E&&_.current(I.current,A.current)},[E]),o.useEffect(()=>{!k&&!E&&j()},[k,E,j]),L.current=r,o.useEffect(()=>{E&&S&&(O.current?.dispose(),O.current=I.current?.onDidChangeModelContent(e=>{M.current||S(I.current.getValue(),e)}))},[E,S]),o.useEffect(()=>{if(E){let e=A.current.editor.onDidChangeMarkers(e=>{let t=I.current.getModel()?.uri;if(t&&e.find(e=>e.path===t.path)){let e=A.current.editor.getModelMarkers({resource:t});w?.(e)}});return()=>{e?.dispose()}}return()=>{}},[E,w]),l.createElement(ww,{width:h,height:g,isEditorReady:E,loading:u,_ref:N,className:b,wrapperProps:y})},Lw=o.memo(Ow);const Dw=ga(_.jsx("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"})),Pw=ga(_.jsx("path",{d:"M6.99 11 3 15l3.99 4v-3H14v-2H6.99zM21 9l-3.99-4v3H10v2h7.01v3z"})),Mw=ga(_.jsx("path",{d:"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"})),jw=ga(_.jsx("path",{d:"M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3m3-10H5V5h10z"})),Fw=ga(_.jsx("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"}));var zw,$w={exports:{}},Bw={exports:{}};function Uw(){return zw||(zw=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ParsingError=void 0;class n extends Error{constructor(e,t){super(e),this.cause=t}}let r;function a(){return s(!1)||function(){const e=u(/^([^<]+)/);if(e){const t={type:"Text",content:e[1]};return{excluded:!1===r.options.filter(t),node:t}}}()||l()||function(){if(r.xml.startsWith("<![CDATA[")){const e=r.xml.indexOf("]]>");if(e>-1){const t=e+3,n={type:"CDATA",content:r.xml.substring(0,t)};return r.xml=r.xml.slice(t),{excluded:!1===r.options.filter(n),node:n}}}}()||i(!1)}function o(){return u(/\s*/),s(!0)||l()||function(){const e=u(/^<!DOCTYPE\s+\S+\s+SYSTEM[^>]*>/)||u(/^<!DOCTYPE\s+\S+\s+PUBLIC[^>]*>/)||u(/^<!DOCTYPE\s+\S+\s*\[[^\]]*]>/)||u(/^<!DOCTYPE\s+\S+\s*>/);if(e){const t={type:"DocumentType",content:e[0]};return{excluded:!1===r.options.filter(t),node:t}}}()||i(!1)}function i(e){const t=u(e?/^<\?(xml(-stylesheet)?)\s*/:/^<\?([\w-:.]+)\s*/);if(!t)return;const n={name:t[1],type:"ProcessingInstruction",attributes:{}};for(;!d()&&!p("?>");){const e=c();if(!e)return;n.attributes[e.name]=e.value}return u(/\?>/),{excluded:!e&&!1===r.options.filter(n),node:n}}function s(e){const t=u(/^<([^?!</>\s]+)\s*/);if(!t)return;const o={type:"Element",name:t[1],attributes:{},children:[]},i=!e&&!1===r.options.filter(o);for(;!(d()||p(">")||p("?>")||p("/>"));){const e=c();if(!e)return;o.attributes[e.name]=e.value}if(u(/^\s*\/>/))return o.children=null,{excluded:i,node:o};u(/\??>/);let s=a();for(;s;)s.excluded||o.children.push(s.node),s=a();if(r.options.strictMode){const e=`</${o.name}>`;if(!r.xml.startsWith(e))throw new n("Failed to parse XML",`Closing tag not matching "${e}"`);r.xml=r.xml.slice(e.length)}else u(/^<\/[\w-:.\u00C0-\u00FF]+\s*>/);return{excluded:i,node:o}}function l(){const e=u(/^<!--[\s\S]*?-->/);if(e){const t={type:"Comment",content:e[0]};return{excluded:!1===r.options.filter(t),node:t}}}function c(){const e=u(/([^=]+)\s*=\s*("[^"]*"|'[^']*'|[^>\s]+)\s*/);if(e)return{name:e[1].trim(),value:(t=e[2].trim(),t.replace(/^['"]|['"]$/g,""))};var t}function u(e){const t=r.xml.match(e);if(t)return r.xml=r.xml.slice(t[0].length),t}function d(){return 0===r.xml.length}function p(e){return 0===r.xml.indexOf(e)}function f(e,t={}){e=e.trim();const a=t.filter||(()=>!0);return r={xml:e,options:Object.assign(Object.assign({},t),{filter:a,strictMode:!0===t.strictMode})},function(){const e=i(!0),t=[];let a,s=o();for(;s;){if("Element"===s.node.type){if(a)throw new Error("Found multiple root nodes");a=s.node}s.excluded||t.push(s.node),s=o()}if(!a)throw new n("Failed to parse XML","Root Element not found");if(0!==r.xml.length)throw new n("Failed to parse XML","Not Well-Formed XML");return{declaration:e?e.node:null,root:a,children:t}}()}t.ParsingError=n,e.exports=f,t.default=f}
152(Bw,Bw.exports)),Bw.exports}var Hw,Vw=$w.exports;function Ww(){return Hw||(Hw=1,function(e,t){var n=Vw&&Vw.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const r=n(Uw());function a(e){if(!e.options.indentation&&!e.options.lineSeparator)return;let t;for(e.content+=e.options.lineSeparator,t=0;t<e.level;t++)e.content+=e.options.indentation}function o(e,t){e.content+=t}function i(e,t,n){if("string"==typeof e.content)!function(e,t,n){if(!n){const n=e.trim();(t.options.lineSeparator||0===n.length)&&(e=n)}e.length>0&&(!n&&t.content.length>0&&a(t),o(t,e))}(e.content,t,n);else if("Element"===e.type)!function(e,t,n){t.path.push(e.name),!n&&t.content.length>0&&a(t);if(o(t,"<"+e.name),s(t,e.attributes),null===e.children||t.options.forceSelfClosingEmptyTag&&0===e.children.length){const e=t.options.whiteSpaceAtEndOfSelfclosingTag?" />":"/>";o(t,e)}else if(0===e.children.length)o(t,"></"+e.name+">");else{const r=e.children;o(t,">"),t.level++;let s="preserve"===e.attributes["xml:space"]||n,l=!1;if(!s&&t.options.ignoredPaths&&(l=function(e,t){const n="/"+e.join("/"),r=e[e.length-1];return t.includes(r)||t.includes(n)}(t.path,t.options.ignoredPaths),s=l),!s&&t.options.collapseContent){let e=!1,t=!1,a=!1;r.forEach(function(o,i){"Text"===o.type?(o.content.includes("\n")?(t=!0,o.content=o.content.trim()):0!==i&&i!==r.length-1||n||0===o.content.trim().length&&(o.content=""),(o.content.trim().length>0||1===r.length)&&(e=!0)):"CDATA"===o.type?e=!0:a=!0}),!e||a&&t||(s=!0)}r.forEach(function(e){i(e,t,n||s)}),t.level--,n||s||a(t),l&&function(e){let t;for(e.content=e.content.replace(/ +$/,""),t=0;t<e.level;t++)e.content+=e.options.indentation}(t),o(t,"</"+e.name+">")}t.path.pop()}(e,t,n);else{if("ProcessingInstruction"!==e.type)throw new Error("Unknown node type: "+e.type);l(e,t)}}function s(e,t){Object.keys(t).forEach(function(n){const r=t[n].replace(/"/g,""");o(e," "+n+'="'+r+'"')})}function l(e,t){t.content.length>0&&a(t),o(t,"<?"+e.name),s(t,e.attributes),o(t,"?>")}function c(e,t={}){t.indentation="indentation"in t?t.indentation:" ",t.collapseContent=!0===t.collapseContent,t.lineSeparator="lineSeparator"in t?t.lineSeparator:"\r\n",t.whiteSpaceAtEndOfSelfclosingTag=!0===t.whiteSpaceAtEndOfSelfclosingTag,t.throwOnFailure=!1!==t.throwOnFailure;try{const n=(0,r.default)(e,{filter:t.filter,strictMode:t.strictMode}),a={content:"",level:0,options:t,path:[]};return n.declaration&&l(n.declaration,a),n.children.forEach(function(e){i(e,a,!1)}),t.lineSeparator?a.content.replace(/\r\n/g,"\n").replace(/\n/g,t.lineSeparator):a.content}catch(n){if(t.throwOnFailure)throw n;return e}}c.minify=(e,t={})=>c(e,Object.assign(Object.assign({},t),{indentation:"",lineSeparator:""})),e.exports=c,t.default=c}($w,$w.exports)),$w.exports}const Gw=m(Ww()),qw=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Yw=new RegExp("^"+("["+qw+"]["+(qw+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040")+"]*")+"$");const Xw=function(e){const t=Yw.exec(e);return!(null==t)},Kw={allowBooleanAttributes:!1,unpairedTags:[]};function Zw(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function Jw(e,t){const n=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){const r=e.substr(n,t-n);if(t>5&&"xml"===r)return iE("InvalidXml","XML declaration allowed only at the start of the document.",cE(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}continue}return t}function Qw(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let n=1;for(t+=8;t<e.length;t++)if("<"===e[t])n++;else if(">"===e[t]&&(n--,0===n))break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}const eE='"',tE="'";function nE(e,t){let n="",r="",a=!1;for(;t<e.length;t++){if(e[t]===eE||e[t]===tE)""===r?r=e[t]:r!==e[t]||(r="");else if(">"===e[t]&&""===r){a=!0;break}n+=e[t]}return""===r&&{value:n,index:t,tagClosed:a}}const rE=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function aE(e,t){const n=function(e,t){const n=[];let r=t.exec(e);for(;r;){const a=[];a.startIndex=t.lastIndex-r[0].length;const o=r.length;for(let e=0;e<o;e++)a.push(r[e]);n.push(a),r=t.exec(e)}return n}(e,rE),r={};for(let a=0;a<n.length;a++){if(0===n[a][1].length)return iE("InvalidAttr","Attribute '"+n[a][2]+"' has no space in starting.",uE(n[a]));if(void 0!==n[a][3]&&void 0===n[a][4])return iE("InvalidAttr","Attribute '"+n[a][2]+"' is without value.",uE(n[a]));if(void 0===n[a][3]&&!t.allowBooleanAttributes)return iE("InvalidAttr","boolean attribute '"+n[a][2]+"' is not allowed.",uE(n[a]));const e=n[a][2];if(!sE(e))return iE("InvalidAttr","Attribute '"+e+"' is an invali
152d name.",uE(n[a]));if(r.hasOwnProperty(e))return iE("InvalidAttr","Attribute '"+e+"' is repeated.",uE(n[a]));r[e]=1}return!0}function oE(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){let n=/\d/;for("x"===e[t]&&(t++,n=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(n))break}return-1}(e,++t);let n=0;for(;t<e.length;t++,n++)if(!(e[t].match(/\w/)&&n<20)){if(";"===e[t])break;return-1}return t}function iE(e,t,n){return{err:{code:e,msg:t,line:n.line||n,col:n.col}}}function sE(e){return Xw(e)}function lE(e){return Xw(e)}function cE(e,t){const n=e.substring(0,t).split(/\r?\n/);return{line:n.length,col:n[n.length-1].length+1}}function uE(e){return e.startIndex+e[1].length}const dE={validate:function(e,t){t=Object.assign({},Kw,t);const n=[];let r=!1,a=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(let o=0;o<e.length;o++)if("<"===e[o]&&"?"===e[o+1]){if(o+=2,o=Jw(e,o),o.err)return o}else{if("<"!==e[o]){if(Zw(e[o]))continue;return iE("InvalidChar","char '"+e[o]+"' is not expected.",cE(e,o))}{let i=o;if(o++,"!"===e[o]){o=Qw(e,o);continue}{let s=!1;"/"===e[o]&&(s=!0,o++);let l="";for(;o<e.length&&">"!==e[o]&&" "!==e[o]&&"\t"!==e[o]&&"\n"!==e[o]&&"\r"!==e[o];o++)l+=e[o];if(l=l.trim(),"/"===l[l.length-1]&&(l=l.substring(0,l.length-1),o--),!lE(l)){let t;return t=0===l.trim().length?"Invalid space after '<'.":"Tag '"+l+"' is an invalid name.",iE("InvalidTag",t,cE(e,o))}const c=nE(e,o);if(!1===c)return iE("InvalidAttr","Attributes for '"+l+"' have open quote.",cE(e,o));let u=c.value;if(o=c.index,"/"===u[u.length-1]){const n=o-u.length;u=u.substring(0,u.length-1);const a=aE(u,t);if(!0!==a)return iE(a.err.code,a.err.msg,cE(e,n+a.err.line));r=!0}else if(s){if(!c.tagClosed)return iE("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",cE(e,o));if(u.trim().length>0)return iE("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",cE(e,i));if(0===n.length)return iE("InvalidTag","Closing tag '"+l+"' has not been opened.",cE(e,i));{const t=n.pop();if(l!==t.tagName){let n=cE(e,t.tagStartPos);return iE("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+n.line+", col "+n.col+") instead of closing tag '"+l+"'.",cE(e,i))}0==n.length&&(a=!0)}}else{const s=aE(u,t);if(!0!==s)return iE(s.err.code,s.err.msg,cE(e,o-u.length+s.err.line));if(!0===a)return iE("InvalidXml","Multiple possible root nodes found.",cE(e,o));-1!==t.unpairedTags.indexOf(l)||n.push({tagName:l,tagStartPos:i}),r=!0}for(o++;o<e.length;o++)if("<"===e[o]){if("!"===e[o+1]){o++,o=Qw(e,o);continue}if("?"!==e[o+1])break;if(o=Jw(e,++o),o.err)return o}else if("&"===e[o]){const t=oE(e,o);if(-1==t)return iE("InvalidChar","char '&' is not expected.",cE(e,o));o=t}else if(!0===a&&!Zw(e[o]))return iE("InvalidXml","Extra text at the end",cE(e,o));"<"===e[o]&&o--}}}return r?1==n.length?iE("InvalidTag","Unclosed tag '"+n[0].tagName+"'.",cE(e,n[0].tagStartPos)):!(n.length>0)||iE("InvalidXml","Invalid '"+JSON.stringify(n.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):iE("InvalidXml","Start tag expected.",1)}},pE=e=>{const t=(new DOMParser).parseFromString(e,"text/xml");if(t.getElementsByTagName("parsererror").length>0)return{error:"Invalid XML format"};const n=e=>{const t={};if(e.attributes)for(let n=0;n<e.attributes.length;n++){const r=e.attributes[n];t[`@${r.name}`]=r.value}if(e.childNodes)for(let i=0;i<e.childNodes.length;i++){const r=e.childNodes[i];if(1===r.nodeType){const e=n(r),a=r.nodeName;t[a]?(Array.isArray(t[a])||(t[a]=[t[a]]),t[a].push(e)):t[a]=e}}const r=e.attributes&&e.attributes.length>0,a=Array.from(e.childNodes).filter(e=>1===e.nodeType),o=e.textContent?.trim();if(0===a.length&&o){if(!r)return o||"";t["#text"]=o}return e===e.ownerDocument.documentElement?0===Object.keys(t).length&&o&&!r?{[e.nodeName]:o}:{[e.nodeName]:t}:t};return n(t.documentElement)},fE=({sourceXml:e,fileType:t,data:n,files:r,selectedFileIndex:a,onCompareChange:i,onNewFile:s,selectedXPath:l,compareFileIndex:c,isDiffView:u,modifiedContent:d,themeMode:p,onContentChange:f,onValidationError:m,onEditingStateChange:h,onEditedContentChange:g,initialEditingMode:b=!1,readOnly:y=!1,hideToolbar:v=!1})=>{const{tier:x}=lx(),[S,w]=o.useState("xml"),[E,C]=o.useState(!0),[k,T]=o.useState(!1),[A,I]=o.use
152State(""),[N,R]=o.useState(null),[O,L]=o.useState(!1),[D,P]=o.useState(!1),M=o.useRef(!1),j=o.useRef(null),F=o.useRef(null),[z,$]=o.useState(null),B=Boolean(z),[U,H]=o.useState(null),V=Boolean(U),[W,G]=o.useState(!1),[q,Y]=o.useState(b),[X,K]=o.useState(""),[Z,J]=o.useState([]),[Q,ee]=o.useState(!1),[te,ne]=o.useState(null),[re,ae]=o.useState(!1),oe=!y,ie=(()=>{const e=[];return O&&e.push("Disable Sync Filtered Data"),E&&!k||e.push("Enable Show Values"),e})(),se=ie.length>0,le=!oe||!q;o.useEffect(()=>{w("json"===t?"json":"xml")},[t]),o.useEffect(()=>{J([]),m&&m([])},[e,m]),o.useEffect(()=>{!b&&q&&(Y(!1),K(""),h&&h(!1))},[b]),o.useEffect(()=>{P(!1);try{const t=cS(e),n=localStorage.getItem(`source-state-${t}`);if(n){const e=JSON.parse(n);C(e.showValues??!0),T(e.showDistinct??!1),L(e.syncFilteredData??!1)}else C(!0),T(!1),L(!1);P(!0)}catch(t){P(!0)}},[e]),o.useEffect(()=>{if(D)try{const t=cS(e),n={showValues:E,showDistinct:k,syncFilteredData:O};localStorage.setItem(`source-state-${t}`,JSON.stringify(n))}catch(t){}},[E,k,O,e,D]),o.useEffect(()=>{if(q&&F.current){const e=F.current.getValue();K(e)}},[q]),o.useEffect(()=>{if(F.current&&W){F.current.updateOptions({readOnly:le,quickSuggestions:!le})}},[q,le,W]);const ce=e=>{const n=[];try{if("json"===t)ex(e);else if("xml"===t){const t=(e=>{try{const t=dE.validate(e);if(!0!==t){const e=t.err;return void 0!==e.line&&void 0!==e.col?`Invalid XML: ${e.msg} (line ${e.line}, column ${e.col})`:void 0!==e.line?`Invalid XML: ${e.msg} (line ${e.line})`:`Invalid XML: ${e.msg}`}}catch(t){return`Invalid XML: ${t.message||"parsing error detected"}`}if(!e.replace(/<!--[\s\S]*?-->/g,"").trim().includes("<"))return"Invalid XML: Plain text without XML tags is not allowed - content must be enclosed in XML elements";try{const t=(new DOMParser).parseFromString(e,"text/xml");if(t.querySelector("parsererror"))return null;const n=e=>{if(!e||1!==e.nodeType)return null;const t=Array.from(e.childNodes||[]);if(t.some(e=>1===e.nodeType)){const e=t.find(e=>(3===e.nodeType||4===e.nodeType)&&e.textContent&&e.textContent.trim().length>0);if(e)return e}for(const r of t){const e=n(r);if(e)return e}return null};if(n(t.documentElement)){const t=e=>{const t=/<[^>]*>/g,n=[],r=()=>n.push({seenElementChild:!1,pendingTextIndex:null}),a=()=>n.pop(),o=()=>n[n.length-1];r();let i,s=0;for(;null!==(i=t.exec(e));){const n=i[0],l=s,c=i.index;if(c>l){const t=e.slice(l,c),n=/[^\s]/.exec(t);if(n){const e=l+n.index,t=o();if(t){if(t.seenElementChild)return e;null==t.pendingTextIndex&&(t.pendingTextIndex=e)}}}const u=/^<\//.test(n),d=/\/>$/.test(n)||/^<\?/.test(n)||/^<!/.test(n);if(u)a();else{const e=o();if(e){if(null!=e.pendingTextIndex)return e.pendingTextIndex;e.seenElementChild=!0}d||r()}s=t.lastIndex}if(s<e.length){const t=e.slice(s),n=/[^\s]/.exec(t);if(n){const e=s+n.index,t=o();if(t){if(t.seenElementChild)return e;if(null!=t.pendingTextIndex)return t.pendingTextIndex}}}return-1},n=t(e);if(n>=0){return`Invalid XML: Plain text between elements is not allowed - content must be enclosed in XML elements (line ${e.slice(0,n).split("\n").length})`}return"Invalid XML: Plain text between elements is not allowed - content must be enclosed in XML elements"}}catch(yU){}return null})(e);t&&n.push(t)}}catch(r){let e=r.message;"json"===t&&(e=e.replace(/line (\d+)/g,(e,t)=>`line ${Math.max(1,parseInt(t)-1)}`)),n.push(`Invalid ${t.toUpperCase()}: ${e}`)}return n},ue=e=>{if(Array.isArray(e))return e.length>0?[ue(e[0])]:[];if("object"==typeof e&&null!==e){const t={};for(const[n,r]of Object.entries(e))t[n]=ue(r);return t}return""},de=e=>{if(Array.isArray(e))return e.map(e=>de(e));if("object"==typeof e&&null!==e){const t={};for(const[n,r]of Object.entries(e))t[n]="object"==typeof r&&null!==r?de(r):"";return t}return""},pe=()=>{try{if(!n)return null;const t=cS(e),r=JSON.parse(sessionStorage.getItem(t)||"{}"),a=new Map(r.filters||[]),o=new Map(r.expandedGrids||[]),i=r.sortConfig||{key:null,direction:"asc"},s=a.size>0&&Array.from(a.values()).some(e=>e&&"object"==typeof e&&Object.keys(e).length>0),l=r.sortConfig&&r.sortConfig.key;if(!s&&!l)return n;const c=(e,t="root")=>{if(Array.isArray(e)){const n=((e,t)=>{const n=[t.replace(/-object$/,"").replace(/-array$/,"").replace(/-\d+-/g,"-").replace(/-+/g,"-").replace(/-$/,""),t,t.replace(/-object$/,"").replace(/-array$/,"").replace(/-+/g,"-").replace(/-$/,"")];for(const r of n){const t=e.get(r);if(t&&"object"==typeof t&&Object.keys(t).length>0)return t}return null})(a,t);
152if(e.length>0&&"object"==typeof e[0]&&null!==e[0]&&!Array.isArray(e[0])&&n){let r=e.filter(e=>Object.entries(n).every(([t,n])=>((e,t)=>{if(!t||"object"!=typeof t)return!0;const{operation:n,value:r}=t;if(!n||void 0===r)return!0;const a=String(r).toLowerCase(),o=String(e??"").toLowerCase();switch(n){case"equals":case"is exactly":return o===a;case"not equals":case"is not":return o!==a;case"contains":default:return o.includes(a);case"does not contain":return!o.includes(a);case"begins with":case"startsWith":return o.startsWith(a);case"ends with":case"endsWith":return o.endsWith(a);case"is empty":return!o||""===o.trim();case"is not empty":return o&&""!==o.trim()}})(e[t],n)));const a=t.replace(/-object$/,"").replace(/-array$/,"").replace(/-\d+-/g,"-").replace(/-+/g,"-").replace(/-$/,"");if(i.key&&o.get(a)){const{key:e,direction:t}=i;r.sort((n,r)=>{const a=String(n[e]||""),o=String(r[e]||""),i=Number(a),s=Number(o);return isNaN(i)||isNaN(s)?"asc"===t?a.localeCompare(o):o.localeCompare(a):"asc"===t?i-s:s-i})}return r}return e.map((e,n)=>c(e,`${t}-${n}`))}if("object"==typeof e&&null!==e){const n={};for(const[r,a]of Object.entries(e))n[r]=c(a,`${t}-${r}`);return n}return e};return c(n)}catch(t){return n}},fe=()=>{try{const n=pe();if(!n)return;if(i(""),"json"===t)R(n);else try{const e=ye(n);if(!e)return;const t=(new DOMParser).parseFromString(e,"text/xml");if(t.querySelector("parsererror"))return;const r=be(t.documentElement);if(!r)return;const a=ye(r);if(!a)return;I(a)}catch(e){}}catch(n){}},me=()=>{H(null)},he=o.useMemo(()=>{if(!e)return"";try{if("json"===t){const t=N||("string"==typeof e?ex(e):e);let n=t;return k&&(n=ue(t)),E||(n=de(n)),JSON.stringify(n,null,2)}if(N)return ye(N);if(k){const t=(new DOMParser).parseFromString(e,"text/xml"),n=e=>{if(3===e.nodeType)return e.cloneNode();if(1!==e.nodeType)return null;const t=e.cloneNode(!1),r=new Map;return Array.from(e.children).forEach(e=>{if(!r.has(e.nodeName)){const t=n(e);t&&r.set(e.nodeName,t)}}),r.forEach(e=>{t.appendChild(e)}),t},r=n(t.documentElement),a=(new XMLSerializer).serializeToString(r);return Gw(a,{indentation:" ",collapseContent:!0,lineSeparator:"\n"})}if(!E){const t=(new DOMParser).parseFromString(e,"text/xml"),n=e=>{3!==e.nodeType?1===e.nodeType&&Array.from(e.childNodes).forEach(e=>{3===e.nodeType?e.textContent="":n(e)}):e.textContent=""};n(t.documentElement);const r=(new XMLSerializer).serializeToString(t);return Gw(r,{indentation:" ",collapseContent:!0,lineSeparator:"\n"})}return Gw(e,{indentation:" ",collapseContent:!0,lineSeparator:"\n"})}catch(n){return e}},[N,E,k,e]);o.useEffect(()=>{if(F.current&&W){const t=F.current,n=t.getValue();let r;if(r=q?X||n:A||he||e||"",n!==r){const e=t.getModel();if(e){const n=t.getScrollTop(),a=t.getScrollLeft();if(e.setValue(r),setTimeout(()=>{t.setScrollTop(n),t.setScrollLeft(a)},10),!q){const e=ce(r);J(e),m&&m(e)}}}}},[q,A,he,e,W]);const ge=(e,n)=>{const o=new Blob([e],{type:"json"===t?"application/json":"application/xml"}),i=URL.createObjectURL(o),s=document.createElement("a");s.href=i;const l="json"===t?".json":".xml",c=E?"":" - stripped",u=n?" - minified":"",d=r[a].name.replace(/\.(json|xml)$/i,"");s.download=`${d}${c}${u}${l}`,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(i)};o.useEffect(()=>{R(null),I(""),K(""),Y(!1),J([])},[e]),o.useEffect(()=>{u&&(R(null),I(""))},[u]),o.useEffect(()=>{N&&I("")},[N]);const be=e=>{const t={};if(e.attributes&&Array.from(e.attributes).forEach(e=>{t[`@${e.name}`]=e.value}),Array.from(e.children).forEach(e=>{const n=be(e);t[e.nodeName]?(Array.isArray(t[e.nodeName])||(t[e.nodeName]=[t[e.nodeName]]),t[e.nodeName].push(n)):t[e.nodeName]=n}),0===e.children.length){const n=e.textContent.trim();if(0===Object.keys(t).length)return n;n&&(t["#text"]=n)}return t},ye=t=>{const n=(e,t="")=>{if("object"!=typeof e||null===e)return{attrs:{},content:String(e)};if(Array.isArray(e)){const r=e.map(e=>{const r=n(e,t),a=Object.entries(r.attrs).map(([e,t])=>` ${e}="${t}"`).join("");return`<${t}${a}>${r.content}</${t}>`}).join("\n");return{attrs:{},content:r}}const{attrs:r,content:a}=Object.entries(e).reduce((e,[t,r])=>
152{if(t.startsWith("@"))return e.attrs[t.slice(1)]=r,e;let a;if(null==r)a={attrs:{},content:""};else{if(Array.isArray(r))return a=n(r,t),e.content=(e.content?e.content+"\n":"")+a.content,e;a="object"==typeof r?n(r,t):{attrs:{},content:String(r)}}if(!Array.isArray(r)){const n=Object.entries(a.attrs).map(([e,t])=>` ${e}="${t}"`).join(""),o=a.content||""===r?`<${t}${n}>${a.content}</${t}>`:`<${t}${n}/>`;e.content=(e.content?e.content+"\n":"")+o}return e},{attrs:{},content:""});return{attrs:r,content:a}},r=e.match(/<(\w+)([^>]*)>/),a=r?r[1]:"root",o=r?r[2]:"",i=n(t);return Gw(`<?xml version="1.0" encoding="UTF-8"?>\n<${a}${o}>${i.content}</${a}>`,{indentation:" ",collapseContent:!0,lineSeparator:"\n"})};o.useEffect(()=>()=>{j.current&&j.current.dispose(),F.current&&F.current.dispose()},[]);const ve=()=>{i("")};o.useEffect(()=>{O?M.current?(M.current=!1,fe()):fe():(R(null),I(""),M.current=!1)},[O,e]),o.useEffect(()=>{e&&I(he)},[e,he,N,E,k]),o.useEffect(()=>{u&&ve()},[e]);const xe=()=>{$(null)};return o.useEffect(()=>{const e=document.createElement("style");return e.textContent="\n .xpath-highlight {\n background-color: #ffeb3b !important;\n border: 2px solid #fdd835 !important;\n border-radius: 2px;\n }\n .xpath-highlight-line {\n background-color: rgba(255, 235, 59, 0.3) !important;\n }\n .monaco-editor .xpath-highlight {\n background-color: #ffeb3b !important;\n border: 2px solid #fdd835 !important;\n }\n .monaco-editor .current-line {\n border: none !important;\n }\n ",document.head.appendChild(e),()=>{document.head.removeChild(e)}},[]),o.useEffect(()=>{},[l,t,W]),_.jsxs(pc,{className:"monaco-source-viewer",sx:{width:"100%",height:"100%",display:"flex",flexDirection:"column",position:"relative",backgroundColor:"dark"===p?"background.paper":"default"},children:[_.jsx(pc,{sx:{position:"sticky",top:0,bgcolor:"white",pt:1,pb:1,zIndex:2,borderBottom:1,borderColor:"divider",backgroundColor:"background.paper"},children:_.jsxs(pc,{sx:{display:"flex",gap:2,ml:2,mr:2,alignItems:"center",overflowX:"auto",overflowY:"hidden",minHeight:45,maxHeight:45,"&::-webkit-scrollbar":{height:4},"&::-webkit-scrollbar-track":{backgroundColor:"rgba(0,0,0,0.1)",borderRadius:2},"&::-webkit-scrollbar-thumb":{backgroundColor:"rgba(0,0,0,0.3)",borderRadius:2,"&:hover":{backgroundColor:"rgba(0,0,0,0.5)"}}},children:[!q&&oe&&_.jsxs("div",{style:{position:"relative",display:"inline-block",cursor:se?"not-allowed":"pointer"},onMouseEnter:()=>ae(!0),onMouseLeave:()=>ae(!1),children:[_.jsx(xm,{title:se?"":"Edit source",children:_.jsx("span",{children:_.jsxs(Ec,{variant:"outlined",size:"small",onClick:se?void 0:()=>{if(oe){if(F.current){const e=F.current.getScrollTop(),t=F.current.getScrollLeft();ne({scrollTop:e,scrollLeft:t})}Y(!0),J([]),m&&m([]),h&&h(!0)}},disabled:se,sx:{height:37,minWidth:100,color:"dark"===p?"text.primary":"#2c5282",borderColor:"dark"===p?"text.primary":"#2c5282",textTransform:"none",pointerEvents:se?"none":"auto","&:hover":{borderColor:"dark"===p?"text.primary":"#2b4c7e",backgroundColor:"action.hover"},"&:disabled":{color:"dark"===p?"rgba(255, 255, 255, 0.3)":"rgba(0, 0, 0, 0.26)",borderColor:"dark"===p?"rgba(255, 255, 255, 0.12)":"rgba(0, 0, 0, 0.12)"}},children:[_.jsx(Mw,{sx:{mr:1,fontSize:"1rem"}}),"Edit"]})})}),re&&se&&_.jsx("div",{id:"edit-tooltip",style:{position:"fixed",backgroundColor:"rgba(0, 0, 0, 0.9)",color:"white",padding:"8px 12px",borderRadius:"4px",fontSize:"12px",whiteSpace:"nowrap",zIndex:9999,border:"1px solid rgba(255, 255, 255, 0.2)",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.3)",transform:"translateX(-50%)",pointerEvents:"none"},ref:e=>{if(e){const t=e.parentElement?.querySelector("button");if(t){const n=t.getBoundingClientRect();e.style.top=`${n.bottom+8}px`,e.style.left=`${n.left+n.width/2}px`}}},children:0===ie.length?"":1===ie.length?`${ie[0]} to edit`:2===ie.length?`${ie[0]} and ${ie[1]} to edit`:`${ie[0]}, ${ie[1]} and ${ie[2]} to edit`})]}),q&&_.jsxs(_.Fragment,{children:[_.jsx(xm,{title:"Save changes",children:_.jsxs(Ec,{variant:"contained",size:"small",onClick:()=>{const e=X||F.current?.getValue()||"";!X&&e&&K(e);const t=ce(e);if(t.length>0)return J(t),void ee(!0);f&&f(e),Y(!1),J([]),m&&m([]),h&&h(!1),O&&fe()},disabled:Z.length>0,sx:{height:37,minWidth:100,textTransform:"none","&:disabled":{backgroundColor:"dark"===p?"rgba(255, 255, 255, 0.12)":"#cccccc",color:"dark"===p?"rgba(255, 255, 255, 0.26)":"rgba(0, 0, 0, 0.26)"}},children:[_.jsx(jw,{sx:{mr:1,fontSize:"1rem"}}),"Save"]})}),_.jsx(xm,{title:"Cancel editing",children:_.jsxs(Ec,{variant:"outlined",size:"small",onClick:()=>
152{if(F.current){const e=F.current.getScrollTop(),t=F.current.getScrollLeft();ne({scrollTop:e,scrollLeft:t})}Y(!1),K(""),J([]),m&&m([]),h&&h(!1)},color:"warning",sx:{height:37,minWidth:100,textTransform:"none"},children:[_.jsx(Fw,{sx:{mr:1,fontSize:"1rem"}}),"Cancel"]})}),Z.length>0&&_.jsx(ai,{severity:"error",sx:{py:.5,px:1,fontSize:"0.875rem",minHeight:37,display:"flex",alignItems:"center","& .MuiAlert-message":{fontSize:"0.875rem",lineHeight:1.2,py:0},"& .MuiAlert-icon":{fontSize:"1rem",mr:1}},children:Z[0]})]}),!q&&!v&&_.jsxs(Ec,{variant:"outlined",size:"small",onClick:e=>{$(e.currentTarget)},sx:{height:37,minWidth:120,color:"dark"===p?"text.primary":"#2c5282",borderColor:"dark"===p?"text.primary":"#2c5282",textTransform:"none","&:hover":{borderColor:"dark"===p?"text.primary":"#2b4c7e",backgroundColor:"action.hover"}},children:[_.jsx(Lv,{sx:{mr:1}}),"Tools"]}),_.jsxs(Pp,{anchorEl:z,open:B,onClose:xe,PaperProps:{sx:{width:"200px","& .MuiList-root":{padding:"4px 0"}}},children:[_.jsxs(zp,{id:"show-values-menu-item",onClick:()=>{if(k)T(!1),C(!0);else{const e=!E;C(e),!e&&O&&L(!1)}xe()},sx:{fontSize:"0.875rem",minHeight:"32px",display:"flex",alignItems:"center",gap:1},children:[_.jsx(Hc,{checked:E,size:"small",sx:{padding:0}}),"Show Values"]}),_.jsxs(zp,{id:"show-distinct-menu-item",onClick:()=>{T(!k),k||(C(!1),L(!1)),xe()},sx:{fontSize:"0.875rem",minHeight:"32px",display:"flex",alignItems:"center",gap:1},children:[_.jsx(Hc,{checked:k,size:"small",sx:{padding:0}}),"Show Distinct"]}),_.jsxs(zp,{onClick:()=>{const e=!O;L(e),e&&(C(!0),T(!1)),xe()},sx:{fontSize:"0.875rem",minHeight:"32px",display:"flex",alignItems:"center",gap:1},children:[_.jsx(Hc,{checked:O,size:"small",sx:{padding:0}}),"Sync Filtered Data"]}),_.jsxs(zp,{id:"convert-format-menu-item",onClick:()=>{(()=>{try{let n,o,i,l;if("xml"===t)l=pE(e),n=JSON.stringify(l,null,2),o=r[a].name.replace(/\.xml$/,".json"),i="json";else{const t=ex(e),s=(e,t="root")=>{if("object"!=typeof e||null===e)return`<${t}>${e}</${t}>`;if(Array.isArray(e))return e.map(e=>s(e,t)).join("\n");const n=[],r=[];for(const[i,l]of Object.entries(e))i.startsWith("@")?n.push(`${i.slice(1)}="${l}"`):"#text"===i?r.push(l):r.push(s(l,i));const a=n.length?" "+n.join(" "):"",o=r.join("\n");return`<${t}${a}>${o}</${t}>`},c=Object.keys(t);let u;if(1===c.length){const e=c[0];u=s(t[e],e)}else u=c.map(e=>s(t[e],e)).join("\n"),u=`<root>\n${u}\n</root>`;const d=`<?xml version="1.0" encoding="UTF-8"?>\n${s(t,"root")}`;n=Gw(d,{indentation:" ",collapseContent:!0,lineSeparator:"\n"}),o=r[a].name.replace(/\.json$/,".xml"),i="xml",l=t}s({name:o,data:l,sourceContent:n,fileType:i}),xe()}catch(n){}})(),xe()},sx:{fontSize:"0.875rem",minHeight:"32px",display:"flex",alignItems:"center",gap:1},children:[_.jsx(Pw,{fontSize:"small"}),"Convert to ","xml"===t?"JSON":"XML"]})]}),!q&&!v&&(u?_.jsx(Ec,{id:"close-compare-button",variant:"outlined",onClick:ve,"aria-label":"Close Compare",color:"warning",sx:{minWidth:200,textTransform:"none"},children:"Close Compare"}):_.jsx(ed,{sx:{m:1,minWidth:200},size:"small",children:_.jsxs(_f,{value:c,onChange:e=>i(e.target.value),displayEmpty:!0,inputProps:{"aria-label":"Without label"},sx:{height:37,color:"dark"===p?"text.primary":"#2c5282",".MuiOutlinedInput-notchedOutline":{borderColor:"dark"===p?"text.primary":"#2c5282"},"&:hover .MuiOutlinedInput-notchedOutline":{borderColor:"dark"===p?"text.primary":"#2b4c7e"},".MuiSvgIcon-root":{color:"dark"===p?"text.primary":"#2c5282"}},children:[_.jsx(zp,{value:"",children:_.jsx("em",{children:"Compare to..."})}),r?.map((e,t)=>t!==a&&_.jsx(zp,{value:t,children:e.name},t))]})})),!q&&!v&&_.jsxs(Ec,{variant:"outlined",size:"small",onClick:e=>{H(e.currentTarget)},sx:{height:37,color:"dark"===p?"text.primary":"#2c5282",borderColor:"dark"===p?"text.primary":"#2c5282",textTransform:"none","&:hover":{borderColor:"dark"===p?"text.primary":"#2b4c7e",backgroundColor:"action.hover"}},children:[_.jsx(nv,{sx:{mr:1}}),"Download",_.jsx(Dw,{sx:{ml:1}})]}),_.jsxs(Pp,{anchorEl:U,open:V,onClose:me,PaperProps:{sx:{width:"160px","& .MuiList-root":{padding:"4px 0"}}},children:[_.jsx(zp,{id:"formatted-download-menu-item",onClick:()=>{ge(A||he,!1),me()},sx:{fontSize:"0.875rem",minHeight:"32px",display:"flex",alignItems:"center",gap:1},children:"Formatted"}),_.jsx(zp,{id:"minified-download-menu-item",onClick:()=>{let e;try{if("json"===t){const t=JSON.parse(A||he);e=JSON.stringify(t)}else e=(A||he).replace(/>\s+</g,"><").trim();ge(e,!0)}catch(n){}me()},sx:{fontSize:"0.875rem",minHeight:"32px",display:"flex",alignItems:"center",gap:1},children:"Minified"})]})]})}),_.jsx(pc,{sx:{flex:1,overflow:"auto",pt:2,position:"relative"},children:u?_.jsx(Nw,{height:"100%",language:S,original:A||he,modified:d||"",theme:"dark"===p?"vs-dark":"vs",options:{readOnly:!0,minimap:{enabled:!0},scrollBeyondLastLine:!1,fontSize:13,fontFamily:"'Fira Code', monospace",automaticLayout:!0,lineNumbers:"on",renderWhitespace:"none",folding:!0,renderSideBySide:!0,quickSuggestions:!1,find:{addExtraSpaceOnTop:!1,autoFind
152InSelection:"never",seedSearchStringFromSelection:"never"}},onMount:e=>{j.current=e;const t=document.querySelector(".monaco-source-viewer");t&&(t.__monacoDiffEditor=e)}},`diff-${a}-${c}`):_.jsx(Lw,{height:"100%",language:S,defaultValue:A||he||e||"",onChange:e=>{if(!q)return;K(e||"");const t=ce(e||"");J(t),m&&m(t),g&&g(e||"")},theme:"dark"===p?"vs-dark":"vs",options:{readOnly:le,minimap:{enabled:!0},scrollBeyondLastLine:!1,fontSize:13,fontFamily:"'Fira Code', monospace",automaticLayout:!0,lineNumbers:"on",renderWhitespace:"none",folding:!0,quickSuggestions:!le,suggest:{insertMode:"replace"},wordWrap:"on",bracketPairColorization:{enabled:!0},find:{addExtraSpaceOnTop:!1,autoFindInSelection:"never",seedSearchStringFromSelection:"never"}},onMount:t=>{F.current=t,G(!0),te&&t&&setTimeout(()=>{t.setScrollTop(te.scrollTop),t.setScrollLeft(te.scrollLeft),ne(null)},50),b&&!q&&requestAnimationFrame(()=>{const n=t.getValue()||e||"";n&&(Y(!0),K(n),h&&h(!0))})},beforeMount:e=>{"json"===S&&e.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0,allowComments:!1,schemas:[],enableSchemaRequest:!1})}},`editor-${a}-${N?"filtered":"normal"}`)}),_.jsx(um,{open:Q,autoHideDuration:6e3,onClose:()=>ee(!1),anchorOrigin:{vertical:"bottom",horizontal:"center"},children:_.jsxs(ai,{onClose:()=>ee(!1),severity:"error",sx:{width:"100%"},children:["Cannot save: ",Z.join(", ")]})})]})},mE=o.createContext(),hE=({children:e,sourceXml:t})=>{const[n,r]=o.useState({gridId:null,column:null}),[a,i]=o.useState(null),[s,l]=o.useState({}),[c,u]=o.useState({key:null,direction:"asc"}),[d,p]=o.useState({}),[f,m]=o.useState({}),h=o.useMemo(()=>({activeFilter:n,setActiveFilter:r,filterMenuAnchorEl:a,setFilterMenuAnchorEl:i,gridFilters:s,setGridFilters:l,sortConfig:c,setSortConfig:u,isGridExpanded:d,setIsGridExpanded:p,gridViewMode:f,setGridViewMode:m}),[n,a,s,c,d,f]);return _.jsx(mE.Provider,{value:h,children:e})},gE=o.forwardRef(({data:e,viewMode:t,expandedNodes:n,onToggleNode:r,expandAll:a,sourceXml:o,isLeftPaneCollapsed:i},s)=>_.jsx(pc,{sx:{width:"100%",height:"100%",display:"flex",flexDirection:"column",..."tree"!==t||i?{}:{borderLeft:1,borderColor:"divider"}},children:"tree"===t?_.jsx(hE,{sourceXml:o,children:_.jsx(MS,{ref:s,data:e,expandedNodes:n,onToggleNode:r,expandAll:a,onGridStateChange:(e,t)=>
152{const n=dS(o),r={...JSON.parse(sessionStorage.getItem(n)||"{}"),[e]:t};sessionStorage.setItem(n,JSON.stringify(r))},sourceXml:o,isRoot:!0,isLeftPaneCollapsed:i})}):_.jsx(fE,{fileType:o.trim().startsWith("<")?"xml":"json",sourceXml:o})}));gE.displayName="XmlViewer";const bE=()=>{const{files:e,selectedFileId:t,onNewFile:n,expandedNodes:r,setExpandedNodes:a,themeMode:i,isLeftPaneMinimized:s,onFileUpdate:l}=Mb(),c=e.find(e=>e.id===t)||null,u=o.useRef(null),[d,p]=o.useState(()=>localStorage.getItem("nodeflip-viewer-tab")||"tree"),[f,m]=o.useState(""),[h,g]=o.useState(!1),[b,y]=o.useState(""),[v,x]=o.useState([]),[S,w]=o.useState(!1),[E,C]=o.useState(!1),[k,T]=o.useState(null),[A,I]=o.useState(!1),[N,R]=o.useState(null),[O,L]=o.useState(!1),[D,P]=o.useState(""),[M,j]=o.useState(!1);o.useEffect(()=>{window.__nodeflipIsSourceEditing=O},[O]),o.useEffect(()=>{M&&!O&&N&&(N(),R(null),j(!1))},[M,O,N]),o.useEffect(()=>{x([]),L(!1),P("")},[t,e.length]);const F=o.useCallback(e=>{c&&l&&l(c.id,e)},[c,l]),z=o.useCallback(e=>{x(e)},[]),$=o.useCallback(e=>{L(e),e||P("")},[]);o.useEffect(()=>{const e=e=>{if(O)return e.preventDefault(),e.returnValue="You have unsaved changes. Are you sure you want to leave?","You have unsaved changes. Are you sure you want to leave?"},t=e=>{if(O){const t=e.target.closest('a[href], button[data-navigate], [role="button"]');if(t&&!t.closest(".monaco-source-viewer")){e.preventDefault(),e.stopPropagation();const n=()=>{const e=new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window});t.dispatchEvent(e)};R(()=>n),I(!0),v.length>0?w(!0):C(!0)}}};return window.addEventListener("beforeunload",e),document.addEventListener("click",t,!0),()=>{window.removeEventListener("beforeunload",e),document.removeEventListener("click",t,!0)}},[O,v]);const B=o.useCallback(e=>{P(e)},[]);o.useEffect(()=>{const e=e=>{"tree"===d&&e.shiftKey&&u.current&&("ArrowRight"===e.key?(e.preventDefault(),u.current.expandOneLevel()):"ArrowLeft"===e.key&&(e.preventDefault(),u.current.collapseOneLevel()))};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[d]);const U=()=>{w(!1),T(null),R(null),I(!1)},H=()=>{L(!1),P(""),x([]),w(!1),C(!1),k&&(p(k),T(null)),N&&j(!0),I(!1)},V=()=>{C(!1),T(null),R(null),I(!1)},W=o.useMemo(()=>{if(!c?.sourceContent)return null;const e=c.name.split(".").pop()?.toLowerCase();try{return"json"===e?ex(c.sourceContent):"xml"===e||"xsd"===e?pE(c.sourceContent):{error:`Unsupported file type: .${e}`}}catch(t){return{error:`Invalid ${e?.toUpperCase()} format`,details:t.message}}},[c?.id,c?.sourceContent,c?.name]);if(!c||!c.sourceContent)return _.jsxs(pc,{sx:{p:3,textAlign:"center"},children:[_.jsx(di,{variant:"h6",children:"No file selected"}),_.jsx(di,{variant:"body1",color:"text.secondary",children:"Please select a file from the list on the left, or upload a new one."})]});const G=c.name.split(".").pop()?.toLowerCase(),q=e.findIndex(e=>e.id===c.id);return _.jsxs(pc,{sx:{display:"flex",flexDirection:"column",height:"100%"},children:[_.jsx(pc,{sx:{borderBottom:1,borderColor:"divider"},children:_.jsxs(th,{value:d,onChange:(e,t)=>
152{if("source"===d&&"tree"===t){if(O)return T(t),void(v.length>0?w(!0):C(!0));if(v.length>0)return T(t),void w(!0)}p(t),localStorage.setItem("nodeflip-viewer-tab",t)},"aria-label":"viewer tabs",sx:{minHeight:"40px","& .MuiTab-root":{minHeight:"40px",padding:"8px 16px"}},children:[_.jsx(Om,{label:"Tree",value:"tree"}),_.jsx(Om,{label:"Source",value:"source"})]})}),_.jsxs(pc,{sx:{flexGrow:1,overflow:"auto"},children:["tree"===d&&_.jsx(gE,{ref:u,data:W,viewMode:"tree",expandedNodes:r,onToggleNode:a,sourceXml:c.sourceContent,isLeftPaneCollapsed:s}),"source"===d&&_.jsx(fE,{sourceXml:c.sourceContent,fileType:G,data:W,files:e,selectedFileIndex:q,onCompareChange:t=>{if(m(t),""===t)g(!1),y("");else{const n=e[t];if(n&&n.sourceContent){const e=((e,t)=>{if(!e)return"";try{return"json"===t?JSON.stringify(JSON.parse(e),null,2):"xml"===t?Gw(e,{indentation:" ",collapseContent:!0,lineSeparator:"\n"}):e}catch(n){return e}})(n.sourceContent,n.name.split(".").pop());y(e),g(!0)}}},compareFileIndex:f,isDiffView:h,modifiedContent:b,onNewFile:n,selectedXPath:null,themeMode:i,onContentChange:F,onValidationError:z,onEditingStateChange:$,onEditedContentChange:B,initialEditingMode:O})]}),_.jsxs(Cu,{open:S,onClose:U,children:[_.jsx(ju,{children:"Validation Errors Found"}),_.jsxs(Ou,{children:[_.jsx(di,{sx:{mb:2},children:"You have validation errors in the source editor that must be fixed or discarded before switching views:"}),v.map((e,t)=>_.jsxs(di,{color:"error",sx:{mb:1},children:["⢠",e]},t))]}),_.jsxs(Au,{children:[_.jsx(Ec,{onClick:H,color:"error",variant:"outlined",children:"Discard Changes and Switch"}),_.jsx(Ec,{onClick:U,color:"warning",variant:"outlined",children:"Cancel"})]})]}),_.jsxs(Cu,{open:E,onClose:V,children:[_.jsx(ju,{children:"Unsaved Changes"}),_.jsx(Ou,{children:_.jsx(di,{children:"You have unsaved changes in the source editor. What would you like to do?"})}),_.jsxs(Au,{children:[_.jsx(Ec,{onClick:H,color:"error",variant:"outlined",children:"Discard"}),_.jsx(Ec,{onClick:V,color:"warning",variant:"outlined",children:"Cancel"}),_.jsx(Ec,{onClick:()=>{c&&l&&D&&l(c.id,D),C(!1),L(!1),P(""),x([]),k&&(p(k),T(null)),N&&j(!0),I(!1)},color:"primary",variant:"contained",children:"Save"})]})]})]})},yE=ga(_.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),vE=ga(_.jsx("path",{d:"M12.65 10C11.83 7.67 9.61 6 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6c2.61 0 4.83-1.67 5.65-4H17v4h4v-4h2v-4zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"})),xE=ga(_.jsx("path",{d:"M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z"})),SE=ga(_.jsx("path",{d:"M9.68 13.69 12 11.93l2.31 1.76-.88-2.85L15.75 9h-2.84L12 6.19 11.09 9H8.25l2.31 1.84zM20 10c0-4.42-3.58-8-8-8s-8 3.58-8 8c0 2.03.76 3.87 2 5.28V23l6-2 6 2v-7.72c1.24-1.41 2-3.25 2-5.28m-8-6c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6 2.69-6 6-6"})),wE=ga([_.jsx("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),_.jsx("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")]),EE=ga(_.jsx("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"})),CE=ga(_.jsx("path",{d:"m20.54 5.23-1.39-1.68C18.88 3.21 18.47 3 18 3H6c-.47 0-.88.21-1.16.55L3.46 5.23C3.17 5.57 3 6.02 3 6.5V19c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6.5c0-.48-.17-.93-.46-1.27M12 17.5 6.5 12H10v-2h4v2h3.5zM5.12 5l.81-1h12l.94 1z"})),kE=ga(_.jsx("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"})),TE=ga(_.jsx("path",{d:"m20 12-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8z"})),AE=ga(_.jsx("path",{d:"m7 10 5 5 5-5z"})),IE=ga(_.jsx("path",{d:"m4 12 1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8z"})),NE=ga(_.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-5 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"})),_E=ga(_.jsx("path",{d:"M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 18H4V8h16z"})),RE=ga(_.jsx("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"})),OE=ga(_.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"})),LE=ga(_.jsx("path",{d:"M16.59 7.58 10 14.17l-3.59-3.58L5 12l5 5 8-8zM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})),DE=ga(_.jsx("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),PE=ga(_.jsx("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})),ME=ga(_.jsx("path",{d:"M9.4 16.6 4.8 12l4.6-4.6L8 6l-6 6 6 6zm5.2 0 4.6-4.6-4.6-4.6L16 6l6 6-6 6z"})),jE=ga(_.jsx("path",{d:"M10 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h5v2h2V1
152h-2zm0 15H5l5-6zm9-15h-5v2h5v13l-5-6v9h5c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2"})),FE=ga(_.jsx("path",{d:"M9.01 14H2v2h7.01v3L13 15l-3.99-4zm5.98-1v-3H22V8h-7.01V5L11 9z"})),zE=ga(_.jsx("path",{d:"M9.64 7.64c.23-.5.36-1.05.36-1.64 0-2.21-1.79-4-4-4S2 3.79 2 6s1.79 4 4 4c.59 0 1.14-.13 1.64-.36L10 12l-2.36 2.36C7.14 14.13 6.59 14 6 14c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4c0-.59-.13-1.14-.36-1.64L12 14l7 7h3v-1zM6 8c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2m0 12c-1.1 0-2-.89-2-2s.9-2 2-2 2 .89 2 2-.9 2-2 2m6-7.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5.5.22.5.5-.22.5-.5.5M19 3l-6 6 2 2 7-7V3z"})),$E=ga(_.jsx("path",{d:"M15 16h4v2h-4zm0-8h7v2h-7zm0 4h6v2h-6zM3 18c0 1.1.9 2 2 2h6c1.1 0 2-.9 2-2V8H3zM14 5h-3l-1-1H6L5 5H2v2h12z"})),BE=ga(_.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"})),UE=ga(_.jsx("path",{d:"M19 9h-4V3H9v6H5l7 7zM5 18v2h14v-2z"})),HE=ga(_.jsx("path",{d:"M9 16h6v-6h4l-7-7-7 7h4zm-4 2h14v2H5z"})),VE=ga(_.jsx("path",{d:"M19.79 5.61C20.3 4.95 19.83 4 19 4H6.83l7.97 7.97zM2.81 2.81 1.39 4.22 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-2.17l5.78 5.78 1.41-1.41z"})),WE=ga(_.jsx("path",{d:"M17.81 4.47c-.08 0-.16-.02-.23-.06C15.66 3.42 14 3 12.01 3c-1.98 0-3.86.47-5.57 1.41-.24.13-.54.04-.68-.2-.13-.24-.04-.55.2-.68C7.82 2.52 9.86 2 12.01 2c2.13 0 3.99.47 6.03 1.52.25.13.34.43.21.67-.09.18-.26.28-.44.28M3.5 9.72c-.1 0-.2-.03-.29-.09-.23-.16-.28-.47-.12-.7.99-1.4 2.25-2.5 3.75-3.27C9.98 4.04 14 4.03 17.15 5.65c1.5.77 2.76 1.86 3.75 3.25.16.22.11.54-.12.7s-.54.11-.7-.12c-.9-1.26-2.04-2.25-3.39-2.94-2.87-1.47-6.54-1.47-9.4.01-1.36.7-2.5 1.7-3.4 2.96-.08.14-.23.21-.39.21m6.25 12.07c-.13 0-.26-.05-.35-.15-.87-.87-1.34-1.43-2.01-2.64-.69-1.23-1.05-2.73-1.05-4.34 0-2.97 2.54-5.39 5.66-5.39s5.66 2.42 5.66 5.39c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-2.42-2.09-4.39-4.66-4.39s-4.66 1.97-4.66 4.39c0 1.44.32 2.77.93 3.85.64 1.15 1.08 1.64 1.85 2.42.19.2.19.51 0 .71-.11.1-.24.15-.37.15m7.17-1.85c-1.19 0-2.24-.3-3.1-.89-1.49-1.01-2.38-2.65-2.38-4.39 0-.28.22-.5.5-.5s.5.22.5.5c0 1.41.72 2.74 1.94 3.56.71.48 1.54.71 2.54.71.24 0 .64-.03 1.04-.1.27-.05.53.13.58.41.05.27-.13.53-.41.58-.57.11-1.07.12-1.21.12M14.91 22c-.04 0-.09-.01-.13-.02-1.59-.44-2.63-1.03-3.72-2.1-1.4-1.39-2.17-3.24-2.17-5.22 0-1.62 1.38-2.94 3.08-2.94s3.08 1.32 3.08 2.94c0 1.07.93 1.94 2.08 1.94s2.08-.87 2.08-1.94c0-3.77-3.25-6.83-7.25-6.83-2.84 0-5.44 1.58-6.61 4.03-.39.81-.59 1.76-.59 2.8 0 .78.07 2.01.67 3.61.1.26-.03.55-.29.64-.26.1-.55-.04-.64-.29-.49-1.31-.73-2.61-.73-3.96 0-1.2.23-2.29.68-3.24 1.33-2.79 4.28-4.6 7.51-4.6 4.55 0 8.25 3.51 8.25 7.83 0 1.62-1.38 2.94-3.08 2.94s-3.08-1.32-3.08-2.94c0-1.07-.93-1.94-2.08-1.94s-2.08.87-2.08 1.94c0 1.71.66 3.31 1.87 4.51.95.94 1.86 1.46 3.27 1.85.27.07.42.35.35.61-.05.23-.26.38-.47.38"})),GE=ga(_.jsx("path",{d:"M4 10.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5m0-6c-.83 0-1.5.67-1.5 1.5S3.17 7.5 4 7.5 5.5 6.83 5.5 6 4.83 4.5 4 4.5m0 12c-.83 0-1.5.68-1.5 1.5s.68 1.5 1.5 1.5 1.5-.68 1.5-1.5-.67-1.5-1.5-1.5M7 19h14v-2H7zm0-6h14v-2H7zm0-8v2h14V5z"})),qE=ga(_.jsx("path",{d:"M2 17h2v.5H3v1h1v.5H2v1h3v-4H2zm1-9h1V4H2v1h1zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2zm5-6v2h14V5zm0 14h14v-2H7zm0-6h14v-2H7z"})),YE=ga(_.jsx("path",{fillRule:"evenodd",d:"M3 3v8h8V3zm6 6H5V5h4zm-6 4v8h8v-8zm6 6H5v-4h4zm4-16v8h8V3zm6 6h-4V5h4zm-6 4v8h8v-8zm6 6h-4v-4h4z"})),XE=ga(_.jsx("path",{d:"M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"})),KE=ga(_.jsx("path",{d:"M9 21c0 .5.4 1 1 1h4c.6 0 1-.5 1-1v-1H9zm3-19C8.1 2 5 5.1 5 9c0 2.4 1.2 4.5 3 5.7V17c0 .5.4 1 1 1h6c.6 0 1-.5 1-1v-2.3c1.8-1.3 3-3.4 3-5.7 0-3.9-3.1-7-7-7"})),ZE=ga(_.jsx("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"})),JE=ga(_.jsx("path",{d:"M3 13h2v-2H3zm0 4h2v-2H3zm0-8h2V7H3zm4 4h14v-2H7zm0 4h14v-2H7zM7 7v2h14V7z"})),QE=ga(_.jsx("path",{d:"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2m-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2m3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1s3.1 1.39 3.1 3.1z"})),eC=ga(_.jsx("path",{d:"M3 3h18v2H3z"})),tC=ga(_.jsx("path",{d:"M6 19h12v2H6z"})),nC=ga(_.jsx("path",{d:"m20.5 10 .5-2h-4l1-4h-2l-1 4h-4l1-4h-2L9 8H5l-.5 2h4l-1 4h-4L3 16h4l-1 4h2l1-4h4l-1 4h2l1-4h4l.5-2h-4l1-4zm-7 4h-4l1-4h4z"})),rC=ga(_.jsx("path",{d:"M21 11V3h-8l3.29 3.29-10 10L3 13v8h8l-3.29-3.29 10-10z"})),aC=ga(_.jsx("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"})),oC=ga(_.jsx("path",{d:"M8 5v14l11-7z"})),iC=ga(_.jsx("path",{d:"M19.88 18.47c.44-.7.7-1.51.7-2.39 0-2.49-2.01-4.5-4.5-4.5s-4.5 2.01-4.5 4.5 2.01 4.5 4.49 4.5c.88 0 1.7-.26 2.39-.7L21.58 23 23 21.58zm-3.8.11c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5m-.36-8.5c-.74.02-1.45.18-2.1.45l-.55-.83-3.8 6.18-3.01-3.52-3.63 5.81L1 17l5-8 3 3.5L13 6zm2.59.5c-.64-.28-1.33-.45-2.05-.49L21.38 2 23 3.18z"})),sC=ga(_.jsx("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"})),lC=ga(_.jsx("path",{d:"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"})),cC=ga(_.jsx("path",{d:"M7 11v2h10v-2zm5-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"})),uC=ga(_.jsx("path",{d:"M14 9v2h-3V9H8.5V7H11V1H4v6h2.5v2H4v6h2.5v2H4v6h7v-6H8.5v-2H11v-2h3v2h7V9z"}
152)),dC=ga(_.jsx("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"})),pC=ga(_.jsx("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"})),fC=ga(_.jsx("path",{d:"M10 10.02h5V21h-5zM17 21h3c1.1 0 2-.9 2-2v-9h-5zm3-18H5c-1.1 0-2 .9-2 2v3h19V5c0-1.1-.9-2-2-2M3 19c0 1.1.9 2 2 2h3V10H3z"})),mC=ga(_.jsx("path",{d:"M19 7H9c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2m0 2v2H9V9zm-6 6v-2h2v2zm2 2v2h-2v-2zm-4-2H9v-2h2zm6-2h2v2h-2zm-8 4h2v2H9zm8 2v-2h2v2zM6 17H5c-1.1 0-2-.9-2-2V5c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2v1h-2V5H5v10h1z"})),hC=ga(_.jsx("path",{d:"M2.5 4v3h5v12h3V7h5V4zm19 5h-9v3h3v7h3v-7h3z"})),gC=ga(_.jsx("path",{d:"M5 17v2h14v-2zm4.5-4.2h5l.9 2.2h2.1L12.75 4h-1.5L6.5 15h2.1zM12 5.98 13.87 11h-3.74z"})),bC=ga(_.jsx("path",{d:"M7.41 18.59 8.83 20 12 16.83 15.17 20l1.41-1.41L12 14zm9.18-13.18L15.17 4 12 7.17 8.83 4 7.41 5.41 12 10z"})),yC=ga(_.jsx("path",{d:"M12 5.83 15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15z"})),vC=ga(_.jsx("path",{d:"M3 14h4v-4H3zm0 5h4v-4H3zM3 9h4V5H3zm5 5h13v-4H8zm0 5h13v-4H8zM8 5v4h13V5z"})),xC=ga(_.jsx("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"})),SC=ga(_.jsx("path",{d:"M12 6c3.79 0 7.17 2.13 8.82 5.5C19.17 14.87 15.79 17 12 17s-7.17-2.13-8.82-5.5C4.83 8.13 8.21 6 12 6m0-2C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4m0 5c1.38 0 2.5 1.12 2.5 2.5S13.38 14 12 14s-2.5-1.12-2.5-2.5S10.62 9 12 9m0-2c-2.48 0-4.5 2.02-4.5 4.5S9.52 16 12 16s4.5-2.02 4.5-4.5S14.48 7 12 7"})),wC=ga(_.jsx("path",{d:"M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"})),EC=ga(_.jsx("path",{d:"m15 3 2.3 2.3-2.89 2.87 1.42 1.42L18.7 6.7 21 9V3zM3 9l2.3-2.3 2.87 2.89 1.42-1.42L6.7 5.3 9 3H3zm6 12-2.3-2.3 2.89-2.87-1.42-1.42L5.3 17.3 3 15v6zm12-6-2.3 2.3-2.87-2.89-1.42 1.42 2.89 2.87L15 21h6z"})),CC=({trialEnd:e,planName:t,cancelAtPeriodEnd:n=!1})=>{const r=new Date,a=Math.ceil((e.getTime()-r.getTime())/864e5),o=(14-a)/14*100;if(a<=0)return null;const i=n?"warning.main":"primary.main",s=n?"warning":"primary",l=n?"warning":"primary",c=n?"Trial Ending (Canceled)":"Trial Active",u=n?`Trial ends ${e.toLocaleDateString()}. Your subscription is canceled and you won't be charged.`:`Trial ends ${e.toLocaleDateString()}. You won't be charged until then.`;return _.jsxs(pc,{sx:{p:2.5,bgcolor:"background.paper",borderRadius:2,border:2,borderColor:i,mb:2,boxShadow:1},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1.5,mb:1.5},children:[_.jsx(wE,{color:l,fontSize:"small"}),_.jsxs(di,{variant:"subtitle2",fontWeight:"bold",color:"text.primary",children:[t," ",c]}),_.jsx(al,{label:`${a} day${1!==a?"s":""} left`,size:"small",color:s,sx:{fontWeight:"bold"}})]}),_.jsx(di,{variant:"body2",color:"text.secondary",sx:{display:"block",mb:1.5,fontWeight:500},children:u}),_.jsx(Gd,{variant:"determinate",value:o,color:l,sx:{borderRadius:1,height:8,bgcolor:"action.hover"}})]})},kC=({open:e,onClose:t,userEmail:n,kindeUserId:r,hasActiveSubscription:a,onOpenSubscriptionPortal:i})=>{const[s,l]=o.useState(1),[c,u]=o.useState(""),[d,p]=o.useState(!1),[f,m]=o.useState(null),h=()=>{d||(l(1),u(""),m(null),t())};return _.jsx(Cu,{open:e,onClose:h,maxWidth:"sm",fullWidth:!0,PaperProps:{sx:{borderRadius:3,border:"2px solid",borderColor:"error.main"}},children:1===s?_.jsxs(_.Fragment,{children:[_.jsx(ju,{sx:{pb:1},children:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(wC,{color:"error"}),_.jsx(di,{variant:"h6",children:"Delete Your Account?"})]})}),_.jsxs(Ou,{children:[_.jsx(di,{variant:"body1",sx:{mb:2},children:"This will permanently delete your account and remove all your personal data."}),a&&_.jsxs(ai,{severity:"warning",sx:{mt:2,mb:2},children:["You have an active subscription. Please cancel it before deleting your account.",_.jsx(Ec,{size:"small",onClick:i,sx:{mt:1},variant:"outlined",color:"warning",children:"Manage Subscription"})]}),_.jsxs(pc,{sx:{mt:3},children:[_.jsxs(di,{variant:"body2",sx:{mb:1},children:["To continue, type ",_.jsx("strong",{children:"DELETE"})," below:"]}),_.jsx(oh,{fullWidth:!0,value:c,onChange:e=>u(e.target.value),placeholder:"DELETE",error:!!f,helperText:f,disabled:d||a,autoComplete:"off"})]})]}),_.jsxs(Au,{sx:{p:2,gap:1},children:[_.jsx(Ec,{onClick:h,disabled:d,children:"Cancel"}),_.jsx(Ec,{onClick:()=>{a?m("You have an active subscription. Please cancel it before deleting your account."):"DELETE"===c.toUpperCase()?(l(2),m(null)):m("Please type DELETE to continue")},disabled:d||a,variant:"outlined",color:"error",children:"Continue"})]})]}):_.jsxs(_.Fragment,{children:[_.jsx(ju,{sx:{pb:1},children:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(wC,{color:"error"}),_.jsx(di,{variant:"h6",children:"Final Confirmation"})]})}),_.jsxs(Ou,{children:[_.jsx(ai,{severity:"error",sx:{mb:2},children:_.jsx(di,{variant:"body1",fontWeight:"bold",children:"â ï¸ This is your last chance to cancel."})}),_.jsxs(di,{variant:"body1",sx:{mb:2},children:["Your account ",_.jsx("strong",{children:n})," will be permanently deleted in a few seconds."]}),d&&_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:2,mt:2,mb:2},children:[_.jsx(Uo,{size:24}),_.jsx(di,{variant:"body2",color:"text.secondary",children:"Deleting your account... Please wait."})]}),f&&_.jsx(ai,{severity:"error",sx:{mt:2},children:f})]}),_.jsxs(Au,{sx:{p:2,gap:1},children:[_.jsx(Ec,{onClick:()=>l(1),disabled:d,children:"Cancel"}),_.jsx(Ec,{onClick:async()=>{p(!0),m(null);try{const e="",t=await fetch(`${e}/api/account/delete`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({kindeUserId:r})}),n=await t.json();if(!t.ok||!n.success)throw new Error(n.message||"Failed to delete account");localStorage.clear(),sessionStorage.clear(),window.location.href="/account-deleted"}catch(e){m(e.message||"Failed to delete account. Please try again."),p(!1)}},disabled:d,variant:"contained",color:"error",startIcon:d?_.jsx(Uo,{size:16}
152):null,children:d?"Deleting...":"Yes, Delete My Account"})]})]})})},TC=({open:e,onClose:t,themeMode:n,toggleTheme:r})=>{const{user:a,logout:i,login:s}=Iy.useKindeAuth(),{tier:l}=lx(),c=Kr(),u=Db(),[d,p]=o.useState(!1),[f,m]=o.useState(null),[h,g]=o.useState(!1),[b,y]=o.useState({canDelete:!0,hasActiveSubscription:!1});o.useEffect(()=>{e&&((async()=>{if(a?.id&&("Pro"===l.name||"Pro+"===l.name))try{const e="",t=await fetch(`${e}/api/stripe/customer/${a.id}`);if(t.ok){const e=await t.json();m(e)}}catch(e){}})(),(async()=>{if(a?.id)try{const e="",t=await fetch(`${e}/api/account/can-delete/${a.id}`);if(t.ok){const e=await t.json();y({canDelete:e.canDelete,hasActiveSubscription:e.hasActiveSubscription})}}catch(e){}})())},[a,l,e]);const v=async()=>{if(a?.id){p(!0);try{const e="",t=await fetch(`${e}/api/stripe/customer/${a.id}`);if(!t.ok)throw new Error("Customer not found");const n=await t.json(),r=await fetch(`${e}/api/stripe/create-portal-session`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({customerId:n.customerId,returnUrl:window.location.origin})});if(!r.ok)throw new Error("Failed to create portal session");const o=await r.json();window.location.href=o.url}catch(e){alert("Failed to open subscription management. Please try again.")}finally{p(!1)}}},x=(e=>{switch(e){case"Pro+":return{name:"Pro+",icon:_.jsx(SE,{sx:{color:"#D4AF37"}}),color:"secondary"};case"Pro":return{name:"Pro",icon:_.jsx(xE,{sx:{color:"#C0C0C0"}}),color:"info"};case"Free":return{name:"Free",icon:_.jsx(vE,{}),color:"default"};default:return{name:"Guest",icon:_.jsx(vE,{}),color:"default"}}})(l.name);return _.jsxs(Cu,{open:e,onClose:t,fullWidth:!0,maxWidth:"sm",PaperProps:{sx:{borderRadius:3}},children:[_.jsxs(ju,{sx:{m:0,p:2,display:"flex",alignItems:"center"},children:[_.jsx(di,{variant:"h6",component:"div",sx:{flexGrow:1},children:"User Settings"}),_.jsx(qo,{"aria-label":"close",onClick:t,sx:{color:e=>e.palette.grey[500]},children:_.jsx(yE,{})})]}),_.jsx(Ou,{dividers:!0,sx:{p:3,backgroundColor:c.palette.background.default},children:_.jsxs(Sm,{spacing:3,children:[_.jsxs(pc,{children:[_.jsx(di,{variant:"overline",color:"text.secondary",children:"Profile"}),_.jsxs(lo,{variant:"outlined",sx:{p:2,mt:1,borderRadius:2,display:"flex",alignItems:"center",gap:2},children:[_.jsx(Jl,{src:a?.picture??void 0,alt:a?.givenName??"User",sx:{width:56,height:56}}),_.jsxs(pc,{children:[_.jsx(di,{variant:"h6",children:(()=>{const e=a?.givenName,t=a?.familyName;if(e&&t)return`${e} ${t}`;if(e&&!t)return e;if(!e&&t)return t;if(a?.email){const e=a.email.split("@")[0];return e.charAt(0).toUpperCase()+e.slice(1).replace(/[._-]/g," ")}return"User"})()}),_.jsx(di,{variant:"body2",color:"text.secondary",children:a?.email})]})]})]}),_.jsxs(pc,{children:[_.jsx(di,{variant:"overline",color:"text.secondary",children:"Subscription"}),"trialing"===f?.subscription?.status&&f?.subscription?.trial_end&&_.jsx(pc,{sx:{mt:1},children:_.jsx(CC,{trialEnd:new Date(1e3*f.subscription.trial_end),planName:l.name,cancelAtPeriodEnd:f.subscription.cancel_at_period_end})}),_.jsx(lo,{variant:"outlined",sx:{p:2,mt:1,borderRadius:2},children:_.jsxs(Sm,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[_.jsxs(pc,{children:[_.jsx(di,{variant:"body1",fontWeight:"medium",children:"Current Plan"}),_.jsx(al,{icon:x.icon,label:x.name,size:"small",color:x.color,variant:"outlined",sx:{mt:.5}})]}),_.jsxs(Sm,{direction:"row",spacing:1,children:[("Pro"===l.name||"Pro+"===l.name)&&_.jsx(Ec,{variant:"outlined",color:"primary",sx:{borderRadius:2},onClick:v,disabled:d,children:d?"Loading...":"Manage Subscription"}),"Pro+"!==l.name&&_.jsx(Ec,{variant:"contained",color:"primary",sx:{borderRadius:2},onClick:()=>{t(),u("/pricing")},children:"Upgrade Plan"})]})]})})]}),_.jsxs(pc,{children:[_.jsx(di,{variant:"overline",color:"text.secondary",children:"Appearance"}),_.jsx(lo,{variant:"outlined",sx:{p:2,mt:1,borderRadius:2},children:_.jsxs(Sm,{direction:"row",justifyContent:"space-between",alignItems:"center",children:[_.jsx(di,{variant:"body1",fontWeight:"medium",children:"Theme"}),_.jsxs(Sm,{direction:"row",alignItems:"center",spacing:1,children:[_.jsx(xh,{sx:{color:"light"===n?"primary.main":"text.disabled"}}),_.jsx(Im,{checked:"dark"===n,onChange:r}),_.jsx(vh,{sx:{color:"dark"===n?"primary.main":"text.disabled"}})]})]})})]}),_.jsxs(pc,{children:[_.jsx(di,{variant:"overline",color:"text.secondary",sx:{fontSize:"0.7rem"},children:"Account Management"}),_.jsx(lo,{variant:"outlined",sx:{p:2,mt:1,borderRadius:2},children:_.jsxs(Sm,{spacing:2,children:[_.jsxs(pc,{children:[_.jsx(di,{variant:"body2",fontWeight:"medium",color:"text.primary",children:"Delete Account"}),_.jsx(di,{variant:"body2",color:"text.secondary",sx:{mt:.5,fontSize:"0.875rem"},children:"Permanently remove your account and all associated data."})]}),_.jsx(Ec,{variant:"outlined",color:"error",size:"small",startIcon:_.jsx(tv,{}),onClick:()=>g(!0),sx:{alignSelf:"flex-start"},children:"Delete Account"})]})})]})]})}),_.jsx(Au,{sx:{p:1.5,backgroundColor:c.palette.background.default},children:_.jsx(Ec,{onClick:t,sx:{borderRadius:2},children:"Close"})}),_.jsx(kC,{open:h,onClose:()=>g(!1),userEmail:a?.email||"",kindeUserId:a?.id||"",hasActiveSubscription:b.hasActiveSubscription,onOpenSubscriptionPortal:v})]})},AC=({isOpen:e,onClose:t})=>{if(!e)return null;const n=navigator.platform.toUpperCase().indexOf("MAC")>=0,r=[{category:"File Manager",items:[{keys:[n?"Enter":"F2"],description:"Rename selected file"},{keys:["Shift","â"],description:"Previous file"},{keys:["Shift","â"],description:"Next file"},{keys:["Delete"],description:"Delete file (viewer only)"},{keys:[n?"Cmd":"Ctrl","Backspace"],description:"Delete file (viewer only)"},{keys:["Enter"],description:"Commit rename",condition:"while editing"},{keys:["Escape"],description:"Cancel rename",condition:"while editing"}]},{category:"Tree Viewer",items:[{keys:["Shift","â"],description:"Expand one level"},{keys:["Shift","â"],description:"Collapse one level"}]},{category:"Data Analysis",items:[{keys:[n?"Cmd":"Ctrl"],description:"Multi-select mode",condition:"hold"},{keys:["Enter"],description:"Add filter from search"}
152,{keys:["Escape"],description:"Clear search field"}]},{category:"Data Lineage",items:[{keys:[n?"Cmd":"Ctrl","+"],description:"Zoom in"},{keys:[n?"Cmd":"Ctrl","-"],description:"Zoom out"},{keys:[n?"Cmd":"Ctrl","0"],description:"Reset zoom"},{keys:["Alt","C"],description:"Clear all filters"},{keys:["Enter"],description:"Apply filter"},{keys:["Escape"],description:"Clear filter"}]},{category:"Data Extractor",items:[{keys:["Enter"],description:"Execute XPath query"}]}],a=e=>_.jsx(al,{label:e,size:"small",sx:{minWidth:1===e.length?"24px":"auto",height:"24px",fontSize:"0.75rem",fontWeight:600,fontFamily:"monospace",backgroundColor:"action.selected",border:"1px solid",borderColor:"divider",borderRadius:"4px"}});return _.jsxs(lo,{elevation:8,sx:{position:"fixed",right:0,top:64,width:"320px",height:"calc(100vh - 64px)",display:"flex",flexDirection:"column",zIndex:1300,borderLeft:"1px solid",borderColor:"divider",backgroundColor:"background.paper"},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",p:2,borderBottom:"1px solid",borderColor:"divider"},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(Eh,{fontSize:"small",color:"primary"}),_.jsx(di,{variant:"h6",sx:{fontWeight:600,fontSize:"1rem"},children:"Keyboard Shortcuts"})]}),_.jsx(qo,{size:"small",onClick:t,children:_.jsx(yE,{fontSize:"small"})})]}),_.jsx(pc,{sx:{flexGrow:1,overflowY:"auto",p:2},children:r.map((e,t)=>_.jsxs(pc,{sx:{mb:t<r.length-1?3:0},children:[_.jsx(di,{variant:"overline",sx:{fontWeight:700,color:"primary.main",fontSize:"0.7rem",letterSpacing:"0.5px",mb:1,display:"block"},children:e.category}),_.jsx(pc,{sx:{display:"flex",flexDirection:"column",gap:1.5},children:e.items.map((e,t)=>_.jsxs(pc,{sx:{display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:2},children:[_.jsx(pc,{sx:{display:"flex",flexWrap:"wrap",gap:.5,alignItems:"center"},children:e.keys.map((t,n)=>_.jsxs(l.Fragment,{children:[a(t),n<e.keys.length-1&&_.jsx(di,{variant:"caption",sx:{mx:.25,color:"text.secondary"},children:"+"})]},n))}),_.jsxs(pc,{sx:{flex:1,textAlign:"right"},children:[_.jsx(di,{variant:"body2",sx:{fontSize:"0.8rem",lineHeight:1.4},children:e.description}),e.condition&&_.jsxs(di,{variant:"caption",sx:{color:"text.secondary",fontStyle:"italic",fontSize:"0.7rem"},children:["(",e.condition,")"]})]})]},t))}),t<r.length-1&&_.jsx(Uu,{sx:{mt:2}})]},e.category))}),_.jsx(pc,{sx:{p:1.5,borderTop:"1px solid",borderColor:"divider",backgroundColor:"action.hover"},children:_.jsxs(di,{variant:"caption",sx:{color:"text.secondary",fontSize:"0.7rem"},children:["Platform: ",n?"macOS":"Windows/Linux"]})})]})};function IC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function NC(e){return function(e){if(Array.isArray(e))return IC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return IC(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?IC(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _C(e){return _C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_C(e)}function RC(e){var t=function(e,t){if("object"!=_C(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=_C(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_C(t)?t:t+""}function OC(e,t,n){return(t=RC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function LC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function DC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
152t%2?LC(Object(n),!0).forEach(function(t){OC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var PC={};function MC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=function(e){if(0===e.length||1===e.length)return e;var t=e.join(".");return PC[t]||(PC[t]=function(e){var t=e.length;return 0===t||1===t?e:2===t?[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])]:3===t?[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])]:t>=4?[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]:void 0}(e)),PC[t]}(e.filter(function(e){return"token"!==e}));return r.reduce(function(e,t){return DC(DC({},e),n[t])},t)}function jC(e){return e.join(" ")}function FC(e){var t=e.node,n=e.stylesheet,r=e.style,a=void 0===r?{}:r,o=e.useInlineStyles,i=e.key,s=t.properties,u=t.type,d=t.tagName,p=t.value;if("text"===u)return p;if(d){var f,m=function(e,t){var n=0;return function(r){return n+=1,r.map(function(r,a){return FC({node:r,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(n,"-").concat(a)})})}}(n,o);if(o){var h=Object.keys(n).reduce(function(e,t){return t.split(".").forEach(function(t){e.includes(t)||e.push(t)}),e},[]),g=s.className&&s.className.includes("token")?["token"]:[],b=s.className&&g.concat(s.className.filter(function(e){return!h.includes(e)}));f=DC(DC({},s),{},{className:jC(b)||void 0,style:MC(s.className,Object.assign({},s.style,a),n)})}else f=DC(DC({},s),{},{className:jC(s.className)});var y=m(t.children);return l.createElement(d,c({key:i},f),y)}}var zC=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function $C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function BC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
152t%2?$C(Object(n),!0).forEach(function(t){OC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$C(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var UC=/\n/g;function HC(e){var t=e.codeString,n=e.codeStyle,r=e.containerStyle,a=void 0===r?{float:"left",paddingRight:"10px"}:r,o=e.numberStyle,i=void 0===o?{}:o,s=e.startingLineNumber;return l.createElement("code",{style:Object.assign({},n,a)},function(e){var t=e.lines,n=e.startingLineNumber,r=e.style;return t.map(function(e,t){var a=t+n;return l.createElement("span",{key:"line-".concat(t),className:"react-syntax-highlighter-line-number",style:"function"==typeof r?r(a):r},"".concat(a,"\n"))})}({lines:t.replace(/\n$/,"").split("\n"),style:i,startingLineNumber:s}))}function VC(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function WC(e,t,n){var r,a={display:"inline-block",minWidth:(r=n,"".concat(r.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},o="function"==typeof e?e(t):e;return BC(BC({},a),o)}function GC(e){var t=e.children,n=e.lineNumber,r=e.lineNumberStyle,a=e.largestLineNumber,o=e.showInlineLineNumbers,i=e.lineProps,s=void 0===i?{}:i,l=e.className,c=void 0===l?[]:l,u=e.showLineNumbers,d=e.wrapLongLines,p=e.wrapLines,f=void 0!==p&&p?BC({},"function"==typeof s?s(n):s):{};if(f.className=f.className?[].concat(NC(f.className.trim().split(/\s+/)),NC(c)):c,n&&o){var m=WC(r,n,a);t.unshift(VC(n,m))}return d&u&&(f.style=BC({display:"flex"},f.style)),{type:"element",tagName:"span",properties:f,children:t}}function qC(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=0;r<e.length;r++){var a=e[r];if("text"===a.type)n.push(GC({children:[a],className:NC(new Set(t))}));else if(a.children){var o=t.concat(a.properties.className);qC(a.children,o).forEach(function(e){return n.push(e)})}}return n}function YC(e,t,n,r,a,o,i,s,l){var c,u=qC(e.value),d=[],p=-1,f=0;function m(e,o){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return t||c.length>0?function(e,o){return GC({children:e,lineNumber:o,lineNumberStyle:s,largestLineNumber:i,showInlineLineNumbers:a,lineProps:n,className:arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],showLineNumbers:r,wrapLongLines:l,wrapLines:t})}(e,o,c):function(e,t){if(r&&t&&a){var n=WC(s,t,i);e.unshift(VC(t,n))}return e}(e,o)}for(var h=function(){var e=u[f],t=e.children[0].value;if(t.match(UC)){var n=t.split("\n");n.forEach(function(t,a){var i=r&&d.length+o,s={type:"text",value:"".concat(t,"\n")};if(0===a){var l=m(u.slice(p+1,f).concat(GC({children:[s],className:e.properties.className})),i);d.push(l)}else if(a===n.length-1){var c=u[f+1]&&u[f+1].children&&u[f+1].children[0],h={type:"text",value:"".concat(t)};if(c){var g=GC({children:[h],className:e.properties.className});u.splice(f+1,0,g)}else{var b=m([h],i,e.properties.className);d.push(b)}}else{var y=m([s],i,e.properties.className);d.push(y)}}),p=f}f++};f<u.length;)h();if(p!==u.length-1){var g=u.slice(p+1,u.length);if(g&&g.length){var b=m(g,r&&d.length+o);d.push(b)}}return t?d:(c=[]).concat.apply(c,d)}function XC(e){var t=e.rows,n=e.stylesheet,r=e.useInlineStyles;return t.map(function(e,t){return FC({node:e,stylesheet:n,useInlineStyles:r,key:"code-segement".concat(t)})})}function KC(e){return e&&void 0!==e.highlightAuto}const ZC={},JC=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=function(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:"fulfilled",value:e}),e=>({status:"rejected",reason:e}))))};document.getElementsByTagName("link");const n=document.querySelector("meta[property=csp-nonce]"),a=n?.nonce||n?.getAttribute("nonce");r=e(t.map(e=>{if((e=function(e){return"/"+e}(e))in ZC)return;ZC[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const r=document.createElement("link");return r.rel=t?"stylesheet":"modulepreload",t||(r.as="script"),r.crossOrigin="",r.href=e,a&&r.setAttribute("nonce",a),document.head.appendChild(r),t?new Promise((t,n)=>{r.addEventListener("load",t),r.addEventListener("error",()=>n(new Error(`Unable to preload CSS for ${e}`)))}):void 0}))}function a(e){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(const e of t||[])"rejected"===e.status&&a(e.reason);return e().catch(a)})};var QC,ek,tk,nk,rk,ak,ok,ik,sk,lk;function ck(){if(nk)return tk;nk=1,tk=t;var e=t.prototype;function t(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}return e.space=null,e.normal={},e.property={},tk}function uk(){if(ak)return rk;ak=1;var e=function(){if(ek)return QC;ek=1,QC=function(){for(var t={},n=0;n<arguments.length;n++){var r=arguments[n];for(var a in r)e.call(r,a)&&(t[a]=r[a])}return t};var e=Object.prototype.hasOwnProperty;return QC}(),t=ck();return rk=function(n){var r,a,o=n.length,i=[],s=[],l=-1;for(;++l<o;)r=n[l],i.push(r.property),s.push(r.normal),a=r.space;return new t(e.apply(null,i),e.apply(null,s),a)},rk}function dk(){if(ik)return ok;return ik=1,ok=function(e){return e.toLowerCase()}}function pk(){if(lk)return sk;lk=1,sk=t;var e=t.prototype;function t(e,t){this.property=e,this.attribute=t}return e.space=null,e.attribute=null,e.property=null,e.boolean=!1,e.booleanish=!1,e.overloadedBoolean=!1,e.number=!1,e.commaSeparated=!1,e.spaceSeparated=!1,e.commaOrSpaceSeparated=!1,e.mustUseProperty=!1,e.defined=!1,sk}var fk,mk,hk,gk,bk,yk,vk,xk,Sk,wk,Ek,Ck,kk,Tk,Ak,Ik,Nk,_k,Rk,Ok,Lk,Dk,Pk,Mk,jk,Fk={};function zk(){if(fk)return Fk;fk=1;var e=0;function t(){return Math.pow(2,++e)}return Fk.boolean=t(),Fk.booleanish=t(),Fk.overloadedBoolean=t(),Fk.number=t(),Fk.spaceSeparated=t(),Fk.commaSeparated=t(),Fk.commaOrSpaceSeparated=t(),Fk}function $k(){if(hk)return mk;hk=1;var e=pk(),t=zk();mk=a,a.prototype=new e,a.prototype.defined=!0;var n=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],r=n.length;function a(a,i,s,l){var c,u=-1;for(o(this,"space",l),e.call(this,a,i);++u<r;)o(this,c=n[u],(s&t[c])===t[c])}function o(e,t,n){n&&(e[t]=n)}return mk}function Bk(){if(bk)return gk;bk=1;var e=dk(),t=ck(),n=$k();return gk=function(r){var a,o,i=r.space,s=r.mustUseProperty||[],l=r.attributes||{},c=r.properties,u=r.transform,d={},p={};for(a in c)o=new n(a,u(l,a),c[a],i),-1!==s.indexOf(a)&&(o.mustUseProperty=!0),d[a]=o,p[e(a)]=a,p[e(o.attribute)]=a;return new t(d,p,i)},gk}function Uk(){if(vk)return yk;vk=1;var e=Bk();
152return yk=e({space:"xlink",transform:function(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}})}function Hk(){if(Sk)return xk;Sk=1;var e=Bk();return xk=e({space:"xml",transform:function(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}})}function Vk(){if(kk)return Ck;kk=1;var e=Ek?wk:(Ek=1,wk=function(e,t){return t in e?e[t]:t});return Ck=function(t,n){return e(t,n.toLowerCase())}}function Wk(){if(Ak)return Tk;Ak=1;var e=Bk(),t=Vk();return Tk=e({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:t,properties:{xmlns:null,xmlnsXLink:null}})}function Gk(){if(Nk)return Ik;Nk=1;var e=zk(),t=Bk(),n=e.booleanish,r=e.number,a=e.spaceSeparated;return Ik=t({transform:function(e,t){return"role"===t?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:n,ariaAutoComplete:null,ariaBusy:n,ariaChecked:n,ariaColCount:r,ariaColIndex:r,ariaColSpan:r,ariaControls:a,ariaCurrent:null,ariaDescribedBy:a,ariaDetails:null,ariaDisabled:n,ariaDropEffect:a,ariaErrorMessage:null,ariaExpanded:n,ariaFlowTo:a,ariaGrabbed:n,ariaHasPopup:null,ariaHidden:n,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:a,ariaLevel:r,ariaLive:null,ariaModal:n,ariaMultiLine:n,ariaMultiSelectable:n,ariaOrientation:null,ariaOwns:a,ariaPlaceholder:null,ariaPosInSet:r,ariaPressed:n,ariaReadOnly:n,ariaRelevant:null,ariaRequired:n,ariaRoleDescription:a,ariaRowCount:r,ariaRowIndex:r,ariaRowSpan:r,ariaSelected:n,ariaSetSize:r,ariaSort:null,ariaValueMax:r,ariaValueMin:r,ariaValueNow:r,ariaValueText:null,role:null}})}
152function qk(){if(Rk)return _k;Rk=1;var e=zk(),t=Bk(),n=Vk(),r=e.boolean,a=e.overloadedBoolean,o=e.booleanish,i=e.number,s=e.spaceSeparated,l=e.commaSeparated;return _k=t({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:n,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l,acceptCharset:s,accessKey:s,action:null,allow:null,allowFullScreen:r,allowPaymentRequest:r,allowUserMedia:r,alt:null,as:null,async:r,autoCapitalize:null,autoComplete:s,autoFocus:r,autoPlay:r,capture:r,charSet:null,checked:r,cite:null,className:s,cols:i,colSpan:null,content:null,contentEditable:o,controls:r,controlsList:s,coords:i|l,crossOrigin:null,data:null,dateTime:null,decoding:null,default:r,defer:r,dir:null,dirName:null,disabled:r,download:a,draggable:o,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:r,formTarget:null,headers:s,height:i,hidden:r,high:i,href:null,hrefLang:null,htmlFor:s,httpEquiv:s,id:null,imageSizes:null,imageSrcSet:l,inputMode:null,integrity:null,is:null,isMap:r,itemId:null,itemProp:s,itemRef:s,itemScope:r,itemType:s,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:r,low:i,manifest:null,max:null,maxLength:i,media:null,method:null,min:null,minLength:i,multiple:r,muted:r,name:null,nonce:null,noModule:r,noValidate:r,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:r,optimum:i,pattern:null,ping:s,placeholder:null,playsInline:r,poster:null,preload:null,readOnly:r,referrerPolicy:null,rel:s,required:r,reversed:r,rows:i,rowSpan:i,sandbox:s,scope:null,scoped:r,seamless:r,selected:r,shape:null,size:i,sizes:null,slot:null,span:i,spellCheck:o,src:null,srcDoc:null,srcLang:null,srcSet:l,start:i,step:null,style:null,tabIndex:i,target:null,title:null,translate:null,type:null,typeMustMatch:r,useMap:null,value:o,width:i,wrap:null,align:null,aLink:null,archive:s,axis:null,background:null,bgColor:null,border:i,borderColor:null,bottomMargin:i,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:r,declare:r,event:null,face:null,frame:null,frameBorder:null,hSpace:i,leftMargin:i,link:null,longDesc:null,lowSrc:null,marginHeight:i,marginWidth:i,noResize:r,noHref:r,noShade:r,noWrap:r,object:null,profile:null,prompt:null,rev:null,rightMargin:i,rules:null,scheme:null,scrolling:o,standby:null,summary:null,text:null,topMargin:i,valueType:null,version:null,vAlign:null,vLink:null,vSpace:i,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:r,disableRemotePlayback:r,prefix:null,property:null,results:i,security:null,unselectable:null}})}function Yk(){if(Pk)return Dk;Pk=1;var e=dk(),t=$k(),n=pk(),r="data";Dk=function(c,u){var d=e(u),p=u,f=n;if(d in c.normal)return c.property[c.normal[d]];d.length>4&&d.slice(0,4)===r&&a.test(u)&&("-"===u.charAt(4)?p=function(e){var t=e.slice(5).replace(o,l);return r+t.charAt(0).toUpperCase()+t.slice(1)}(u):u=function(e){var t=e.slice(4);if(o.test(t))return e;t=t.replace(i,s),"-"!==t.charAt(0)&&(t="-"+t);return r+t}(u),f=t);return new f(p,u)};var a=/^data[-\w.:]+$/i,o=/-[a-z]/g,i=/[A-Z]/g;function s(e){return"-"+e.toLowerCase()}function l(e){return e.charAt(1).toUpperCase()}return Dk}var Xk,Kk={};var Zk,Jk,Qk,eT,tT,nT,rT,aT={};function oT(){if(Qk)return Jk;Qk=1;var e=Yk(),t=dk(),n=function(){if(jk)return Mk;jk=1,Mk=function(t,n){for(var r,a,o,i=t||"",s=n||"div",l={},c=0;c<i.length;)e.lastIndex=c,o=e.exec(i),(r=i.slice(c,o?o.index:i.length))&&(a?"#"===a?l.id=r:l.className?l.className.push(r):l.className=[r]:s=r,c+=r.length),o&&(a=o[0],c++);return{type:"element",tagName:s,properties:l,children:[]}};var e=/[#.]/g;return Mk}(),r=function(){if(Xk)return Kk;Xk=1,Kk.parse=function(t){var r=String(t||e).trim();return r===e?[]:r.split(n)},Kk.stringify=function(e){return e.join(t).trim()};var e="",t=" ",n=/[ \t\n\r\f]+/g;return Kk}().parse,a=function(){if(Zk)return aT;Zk=1,aT.parse=function(t){for(var r,a=[],o=String(t||n),i=o.indexOf(e),s=0,l=!1;!l;)-1===i&&(i=o.length,l=!0),!(r=o.slice(s,i).trim())&&l||a.push(r),s=i+1,i=o.indexOf(e,s);return a},aT.stringify=function(r,a){var o=a||{},i=!1===o.padLeft?n:t,s=o.padRight?t:n;return r[r.length-1]===n&&(r=r.concat(n)),r.join(s+e+i).trim()};var e=",",t=" ",n="";return aT}().parse;Jk=function(t,l,c){var u=c?function(e){var t,n=e.length,r=-1,a={};for(;++r<n;)a[(t=e[r]).toLowerCase()]=t;return a}(c):null;return function(e,t){var r,a=n(e,l),s=Array.prototype.slice.call(arguments,2),c=a.tagName.toLowerCase();a.tagName=u&&o.call(u,c)?u[c]:c,t&&function(e,t){return"string"==typeof e||"length"in e||function(e,t){var n=t.type;if("input"===e||!n||"string"!=typeof n)return!1;if("object"==typeof t.children&&"length"in t.children)return!0;
152if(n=n.toLowerCase(),"button"===e)return"menu"!==n&&"submit"!==n&&"reset"!==n&&"button"!==n;return"value"in t}(t.tagName,e)}(t,a)&&(s.unshift(t),t=null);if(t)for(r in t)d(a.properties,r,t[r]);i(a.children,s),"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]);return a};function d(n,o,i){var l,c,u;null!=i&&i==i&&(c=(l=e(t,o)).property,"string"==typeof(u=i)&&(l.spaceSeparated?u=r(u):l.commaSeparated?u=a(u):l.commaOrSpaceSeparated&&(u=r(a(u).join(" ")))),"style"===c&&"string"!=typeof i&&(u=function(e){var t,n=[];for(t in e)n.push([t,e[t]].join(": "));return n.join("; ")}(u)),"className"===c&&n.className&&(u=n.className.concat(u)),n[c]=function(e,t,n){var r,a,o;if("object"!=typeof n||!("length"in n))return s(e,t,n);a=n.length,r=-1,o=[];for(;++r<a;)o[r]=s(e,t,n[r]);return o}(l,c,u))}};var o={}.hasOwnProperty;function i(e,t){var n,r;if("string"!=typeof t&&"number"!=typeof t)if("object"==typeof t&&"length"in t)for(n=-1,r=t.length;++n<r;)i(e,t[n]);else{if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`");e.push(t)}else e.push({type:"text",value:String(t)})}function s(e,n,r){var a=r;return e.number||e.positiveNumber?isNaN(a)||""===a||(a=Number(a)):(e.boolean||e.overloadedBoolean)&&("string"!=typeof a||""!==a&&t(r)!==t(n)||(a=!0)),a}return Jk}function iT(){if(tT)return eT;tT=1;var e=function(){if(Lk)return Ok;Lk=1;var e=uk(),t=Uk(),n=Hk(),r=Wk(),a=Gk(),o=qk();return Ok=e([n,t,r,a,o])}(),t=oT()(e,"div");return t.displayName="html",eT=t}const sT={AElig:"Ã",AMP:"&",Aacute:"Ã",Acirc:"Ã",Agrave:"Ã",Aring:"Ã
",Atilde:"Ã",Auml:"Ã",COPY:"©",Ccedil:"Ã",ETH:"Ã",Eacute:"Ã",Ecirc:"Ã",Egrave:"Ã",Euml:"Ã",GT:">",Iacute:"Ã",Icirc:"Ã",Igrave:"Ã",Iuml:"Ã",LT:"<",Ntilde:"Ã",Oacute:"Ã",Ocirc:"Ã",Ograve:"Ã",Oslash:"Ã",Otilde:"Ã",Ouml:"Ã",QUOT:'"',REG:"®",THORN:"Ã",Uacute:"Ã",Ucirc:"Ã",Ugrave:"Ã",Uuml:"Ã",Yacute:"Ã",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à ",amp:"&",aring:"Ã¥",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"Ã",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"Â",sup1:"¹",sup2:"²",sup3:"³",szlig:"Ã",thorn:"þ",times:"Ã",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"Â¥",yuml:"ÿ"},lT={0:"�",128:"â¬",130:"â",131:"Æ",132:"â",133:"â¦",134:"â ",135:"â¡",136:"Ë",137:"â°",138:"Å ",139:"â¹",140:"Å",142:"Ž",145:"â",146:"â",147:"â",148:"â",149:"â¢",150:"â",151:"â",152:"Ë",153:"â¢",154:"Å¡",155:"âº",156:"Å",158:"ž",159:"Ÿ"};var cT,uT,dT,pT,fT,mT,hT,gT,bT,yT,vT,xT;function ST(){if(uT)return cT;return uT=1,cT=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}}function wT(){if(gT)return hT;gT=1;var e=mT?fT:(mT=1,fT=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}),t=ST();return hT=function(n){return e(n)||t(n)}}function ET(){if(xT)return vT;xT=1;var e,t=sT,n=lT,r=ST(),a=pT?dT:(pT=1,dT=function(e){var t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}),o=wT(),i=yT?bT:(yT=1,bT=function(t){var n,r="&"+t+";";return(e=e||document.createElement("i")).innerHTML=r,(59!==(n=e.textContent).charCodeAt(n.length-1)||"semi"===t)&&n!==r&&n});vT=function(e,r){var a,F,z={};r||(r={});for(F in u)a=r[F],z[F]=null==a?u[F]:a;(z.position.indent||z.position.start)&&(z.indent=z.position.indent||[],z.position=z.position.start);return function(e,r){var a,u,F,z,$,B,U,H,V,W,G,q,Y,X,K,Z,J,Q,ee,te=r.additional,ne=r.nonTerminated,re=r.text,ae=r.reference,oe=r.warning,ie=r.textContext,se=r.referenceContext,le=r.warningContext,ce=r.position,ue=r.indent||[],de=e.length,pe=0,fe=-1,me=ce.column||1,he=ce.line||1,ge="",be=[];"string"==typeof te&&(te=te.charCodeAt(0));Z=ye(),H=oe?ve:c,pe--,de++;for(;++pe<de;
vendor: 8,145 bytes, line 152
152)if($===p&&(me=ue[fe]||1),($=e.charCodeAt(pe))===h){if((U=e.charCodeAt(pe+1))===d||U===p||U===f||U===m||U===h||U===b||U!=U||te&&U===te){ge+=l($),me++;continue}for(q=Y=pe+1,ee=Y,U===v?(ee=++q,(U=e.charCodeAt(ee))===x||U===S?(X=C,ee=++q):X=k):X=E,a="",G="",z="",K=A[X],ee--;++ee<de&&K(U=e.charCodeAt(ee));)z+=l(U),X===E&&s.call(t,z)&&(a=z,G=t[z]);(F=e.charCodeAt(ee)===g)&&(ee++,(u=X===E&&i(z))&&(a=z,G=u)),Q=1+ee-Y,(F||ne)&&(z?X===E?(F&&!G?H(O,1):(a!==z&&(Q=1+(ee=q+a.length)-q,F=!1),F||(V=a?I:_,r.attribute?(U=e.charCodeAt(ee))===y?(H(V,Q),G=null):o(U)?G=null:H(V,Q):H(V,Q))),B=G):(F||H(N,Q),M(B=parseInt(z,T[X]))?(H(D,Q),B=l(w)):B in n?(H(L,Q),B=n[B]):(W="",j(B)&&H(L,Q),B>65535&&(W+=l((B-=65536)>>>10|55296),B=56320|1023&B),B=W+l(B))):X!==E&&H(R,Q)),B?(xe(),Z=ye(),pe=ee-1,me+=ee-Y+1,be.push(B),(J=ye()).offset++,ae&&ae.call(se,B,{start:Z,end:J},e.slice(Y-1,ee)),Z=J):(z=e.slice(Y-1,ee),ge+=z,me+=z.length,pe=ee-1)}else 10===$&&(he++,fe++,me=0),$==$?(ge+=l($),me++):xe();return be.join("");function ye(){return{line:he,column:me,offset:pe+(ce.offset||0)}}function ve(e,t){var n=ye();n.column+=t,n.offset+=t,oe.call(le,P[e],n,e)}function xe(){ge&&(be.push(ge),re&&re.call(ie,ge,{start:Z,end:ye()}),ge="")}}(e,z)};var s={}.hasOwnProperty,l=String.fromCharCode,c=Function.prototype,u={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},d=9,p=10,f=12,m=32,h=38,g=59,b=60,y=61,v=35,x=88,S=120,w=65533,E="named",C="hexadecimal",k="decimal",T={};T[C]=16,T[k]=10;var A={};A[E]=o,A[k]=r,A[C]=a;var I=1,N=2,_=3,R=4,O=5,L=6,D=7,P={};function M(e){return e>=55296&&e<=57343||e>1114111}function j(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||!(65535&~e)||65534==(65535&e)}return P[I]="Named character references must be terminated by a semicolon",P[N]="Numeric character references must be terminated by a semicolon",P[_]="Named character references cannot be empty",P[R]="Numeric character references cannot be empty",P[O]="Named character references must be known",P[L]="Numeric character references cannot be disallowed",P[D]="Numeric character references cannot be outside the permissible Unicode range",vT}var CT,kT,TT,AT,IT,NT,_T,RT,OT,LT,DT,PT={exports:{}};function MT(){return CT||(CT=1,e=PT,t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,r={},a={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var r,o;switch(n=n||{},a.util.type(t)){case"Object":if(o=a.util.objId(t),n[o])return n[o];for(var i in r={},n[o]=r,t)t.hasOwnProperty(i)&&(r[i]=e(t[i],n));return r;case"Array":return o=a.util.objId(t),n[o]?n[o]:(r=[],n[o]=r,t.forEach(function(t,a){r[a]=e(t,n)}),r);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(r){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(r.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var r="no-"+t;e;){var a=e.classList;if(a.contains(t))return!0;if(a.contains(r))return!1;e=e.parentElement}return!!n}},languages:{plain:r,plaintext:r,text:r,txt:r,extend:function(e,t){var n=a.util.clone(a.languages[e]);for(var r in t)n[r]=t[r];return n},insertBefore:function(e,t,n,r){var o=(r=r||a.languages)[e],i={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(i[l]=n[l]);n.hasOwnProperty(s)||(i[s]=o[s])}var c=r[e];return r[e]=i,a.languages.DFS(a.languages,function(t,n){n===c&&t!=e&&(this[t]=i)}),i},DFS:function e(t,n,r,o){o=o||{};var i=a.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],r||s);var l=t[s],c=a.util.type(l);"Object"!==c||o[i(l)]?"Array"!==c||o[i(l)]||(o[i(l)]=!0,e(l,n,s,o)):(o[i(l)]=!0,e(l,n,null,o))}}},plugins:{},highlightAll:function(e,t){a.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var r={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",r),r.elements=Array.prototype.slice.apply(r.container.querySelectorAll(r.selector)),a.hooks.run("before-all-elements-highlight",r);for(var o,i=0;o=r.elements[i++];)a.highlightElement(o,!0===t,r.callback)},highlightElement:function(t,n,r){var o=a.util.getLanguage(t),i=a.languages[o];a.util.setLanguage(t,o);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&a.util.setLanguage(s,o);var l={element:t,language:o,grammar:i,code:t.textContent};function c(e){l.highlightedCode=e,a.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,a.hooks.run("after-highlight",l),a.hooks.run("complete",l),r&&r.call(l.element)}if(a.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return a.hooks.run("complete",l),void(r&&r.call(l.element));if(a.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(a.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(a.highlight(l.code,l.grammar,l.language));else c(a.util.encode(l.code))},highlight:function(e,t,n){var r={code:e,grammar:t,language:n};if(a.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=a.tokenize(r.code,r.grammar),a.hooks.run("after-tokenize",r),o.stringify(a.util.encode(r.tokens),r.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var r in n)t[r]=n[r];delete t.rest}var a=new l;return c(a,a.head,e),s(e,a,t,a.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(a)},hooks:{all:{},add:function(e,t){var n=a.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=a.hooks.all[e];if(n&&n.length)for(var r,o=0;r=n[o++];)r(t)}},Token:o};function o(e,t,n,r){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length}function i(e,t,n,r){e.lastIndex=t;var a=e.exec(n);if(a&&r&&a[1]){var o=a[1].length;a.index+=o,a[0]=a[0].slice(o)}return a}function s(e,t,n,r,l,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var f=n[p];f=Array.isArray(f)?f:[f];for(var m=0;m<f.length;++m){if(d&&d.cause==p+","+m)return;var h=f[m],g=h.inside,b=!!h.lookbehind,y=!!h.greedy,v=h.alias;if(y&&!h.pattern.global){var x=h.pattern.toString().match(/[imsuy]*$/)[0];h.pattern=RegExp(h.pattern.source,x+"g")}for(var S=h.pattern||h,w=r.next,E=l;w!==t.tail&&!(d&&E>=d.reach);E+=w.value.length,w=w.next){var C=w.value;if(t.length>e.length)return;if(!(C instanceof o)){var k,T=1;if(y){if(!(k=i(S,E,e,b))||k.index>=e.length)break;var A=k.index,I=k.index+k[0].length,N=E;for(N+=w.value.length;A>=N;)N+=(w=w.next).value.length;if(E=N-=w.value.length,w.value instanceof o)continue;for(var _=w;_!==t.tail&&(N<I||"string"==typeof _.value);_=_.next)T++,N+=_.value.length;T--,C=e.slice(E,N),k.index-=E}else if(!(k=i(S,0,C,b)))continue;A=k.index;var R=k[0],O=C.slice(0,A),L=C.slice(A+R.length),D=E+C.length;d&&D>d.reach&&(d.reach=D);var P=w.prev;if(O&&(P=c(t,P,O),E+=O.length),u(t,P,T),w=c(t,P,new o(p,g?a.tokenize(R,g):R,v,R)),L&&c(t,w,L),T>1){var M={cause:p+","+m,reach:D};s(e,t,n,w.prev,E,M),d&&M.reach>d.reach&&(d.reach=M.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}
152function c(e,t,n){var r=t.next,a={value:n,prev:t,next:r};return t.next=a,r.prev=a,e.length++,a}function u(e,t,n){for(var r=t.next,a=0;a<n&&r!==e.tail;a++)r=r.next;t.next=r,r.prev=t,e.length-=a}if(e.Prism=a,o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var r="";return t.forEach(function(t){r+=e(t,n)}),r}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},i=t.alias;i&&(Array.isArray(i)?Array.prototype.push.apply(o.classes,i):o.classes.push(i)),a.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener?(a.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),r=n.language,o=n.code,i=n.immediateClose;e.postMessage(a.highlight(o,a.languages[r],r)),i&&e.close()},!1),a):a;var d=a.util.currentScript();function p(){a.manual||a.highlightAll()}if(d&&(a.filename=d.src,d.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var f=document.readyState;"loading"===f||"interactive"===f&&d&&d.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,16)}return a}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{}),e.exports&&(e.exports=t),void 0!==h&&(h.Prism=t)),PT.exports;var e,t}function jT(){if(DT)return LT;DT=1;var e,t,n="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof h?h:{},r=(t=(e="Prism"in n)?n.Prism:void 0,function(){e?n.Prism=t:delete n.Prism,e=void 0,t=void 0});n.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=rT?nT:(rT=1,nT=iT()),o=ET(),i=MT(),s=function(){if(TT)return kT;function e(e){e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,n){var r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};a["language-"+n]={pattern:/[\s\S]+/,inside:e.languages[n]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:a},e.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,n){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[n,"language-"+n],inside:e.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml}return TT=1,kT=e,e.displayName="markup",e.aliases=["html","mathml","svg","xml","ssml","atom","rss"],kT}(),l=function(){if(IT)return AT;function e(e){!function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]
vendor: 4,266 bytes, line 152
152*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(e)}return IT=1,AT=e,e.displayName="css",e.aliases=[],AT}(),c=function(){if(_T)return NT;function e(e){e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}return _T=1,NT=e,e.displayName="clike",e.aliases=[],NT}(),u=function(){if(OT)return RT;function e(e){e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript}
152,{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript}return OT=1,RT=e,e.displayName="javascript",e.aliases=["js"],RT}();r();var d={}.hasOwnProperty;function p(){}p.prototype=i;var f=new p;function m(e){if("function"!=typeof e||!e.displayName)throw new Error("Expected `function` for `grammar`, got `"+e+"`");void 0===f.languages[e.displayName]&&e(f)}return LT=f,f.highlight=function(e,t){var n,r=i.highlight;if("string"!=typeof e)throw new Error("Expected `string` for `value`, got `"+e+"`");if("Object"===f.util.type(t))n=t,t=null;else{if("string"!=typeof t)throw new Error("Expected `string` for `name`, got `"+t+"`");if(!d.call(f.languages,t))throw new Error("Unknown language: `"+t+"` is not registered");n=f.languages[t]}return r.call(this,e,n,t)},f.register=m,f.alias=function(e,t){var n,r,a,o,i=f.languages,s=e;t&&((s={})[e]=t);for(n in s)for(a=(r="string"==typeof(r=s[n])?[r]:r).length,o=-1;++o<a;)i[r[o]]=i[n]},f.registered=function(e){if("string"!=typeof e)throw new Error("Expected `string` for `language`, got `"+e+"`");return d.call(f.languages,e)},f.listLanguages=function(){var e,t=f.languages,n=[];for(e in t)d.call(t,e)&&"object"==typeof t[e]&&n.push(e);return n},m(s),m(l),m(c),m(u),f.util.encode=function(e){return e},f.Token.stringify=function(e,t,n){var r;if("string"==typeof e)return{type:"text",value:e};if("Array"===f.util.type(e))return function(e,t){var n,r=[],a=e.length,o=-1;for(;++o<a;)""!==(n=e[o])&&null!=n&&r.push(n);o=-1,a=r.length;for(;++o<a;)n=r[o],r[o]=f.Token.stringify(n,t,r);return r}(e,t);r={type:e.type,content:f.Token.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n},e.alias&&(r.classes=r.classes.concat(e.alias));return f.hooks.run("wrap",r),a(r.tag+"."+r.classes.join("."),function(e){var t;for(t in e)e[t]=o(e[t]);return e}(r.attributes),r.content)},LT}var FT,zT,$T,BT,UT,HT,VT,WT,GT,qT,YT,XT,KT,ZT,JT,QT,eA,tA,nA,rA,aA,oA,iA,sA,lA,cA,uA,dA,pA,fA,mA,hA,gA,bA,yA,vA,xA,SA,wA,EA,CA,kA,TA,AA,IA,NA,_A,RA,OA,LA,DA,PA,MA,jA,FA,zA,$A,BA,UA,HA,VA,WA,GA,qA,YA,XA,KA,ZA,JA,QA,eI,tI,nI,rI,aI,oI,iI,sI,lI,cI,uI,dI,pI,fI,mI,hI,gI,bI,yI,vI,xI,SI,wI,EI,CI,kI,TI,AI,II,NI,_I,RI,OI,LI,DI,PI,MI,jI,FI,zI,$I,BI,UI,HI,VI,WI,GI,qI,YI,XI,KI,ZI,JI,QI,eN,tN,nN,rN,aN,oN,iN,sN,lN,cN,uN,dN,pN,fN,mN,hN,gN,bN,yN,vN,xN,SN,wN,EN,CN,kN,TN,AN,IN,NN,_N,RN,ON,LN,DN,PN,MN,jN,FN,zN,$N,BN,UN,HN,VN,WN,GN,qN,YN,XN,KN,ZN,JN,QN,e_,t_,n_,r_,a_,o_,i_,s_,l_,c_,u_,d_,p_,f_,m_,h_,g_,b_,y_,v_,x_,S_,w_,E_,C_,k_,T_,A_,I_,N_,__,R_,O_,L_,D_,P_,M_,j_,F_,z_,$_,B_,U_,H_,V_,W_,G_,q_,Y_,X_,K_,Z_,J_,Q_,eR,tR,nR,rR,aR,oR,iR,sR,lR,cR,uR,dR,pR,fR,mR,hR,gR,bR,yR,vR,xR,SR,wR,ER,CR,kR,TR,AR,IR,NR,_R,RR,OR,LR,DR,PR,MR,jR,FR,zR,$R,BR,UR,HR,VR,WR,GR,qR,YR,XR,KR,ZR,JR,QR,eO,tO,nO,rO,aO,oO,iO,sO,lO,cO,uO,dO,pO,fO,mO,hO,gO,bO,yO,vO,xO,SO,wO,EO,CO,kO,TO,AO,IO,NO,_O,RO,OO,LO,DO,PO,MO,jO,FO,zO,$O,BO,UO,HO,VO,WO,GO,qO,YO,XO,KO,ZO,JO,QO,eL,tL,nL,rL,aL,oL,iL,sL,lL,cL,uL,dL,pL,fL,mL,hL,gL,bL,yL,vL,xL,SL,wL,EL,CL,kL,TL,AL,IL,NL,_L,RL,OL,LL,DL,PL,ML,jL,FL,zL,$L,BL,UL,HL,VL,WL,GL,qL,YL,XL,KL,ZL,JL,QL,eD,tD,nD,rD,aD,oD,iD,sD,lD,cD,uD,dD,pD,fD,mD,hD,gD,bD,yD,vD,xD,SD,wD,ED,CD,kD,TD,AD,ID,ND,_D,RD,OD,LD,DD,PD,MD,jD,FD,zD,$D,BD,U
vendor: 5,586 bytes, line 152
152D,HD,VD,WD,GD,qD,YD,XD,KD,ZD,JD,QD,eP,tP,nP,rP,aP,oP,iP,sP,lP,cP,uP,dP,pP,fP,mP,hP,gP,bP,yP,vP,xP,SP,wP,EP,CP,kP,TP,AP,IP,NP,_P,RP,OP,LP,DP,PP,MP,jP,FP,zP,$P,BP,UP,HP,VP,WP,GP,qP,YP,XP,KP,ZP,JP,QP,eM,tM,nM,rM,aM,oM,iM,sM,lM,cM,uM,dM,pM,fM,mM,hM,gM,bM,yM,vM,xM,SM,wM,EM,CM,kM,TM,AM,IM,NM,_M,RM,OM,LM,DM,PM,MM,jM,FM,zM,$M,BM,UM,HM,VM,WM;function GM(){if(tA)return eA;function e(e){e.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/}}return tA=1,eA=e,e.displayName="sql",e.aliases=[],eA}function qM(){if(dA)return uA;function e(e){e.languages.c=e.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),e.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),e.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},e.languages.c.string],char:e.languages.c.char,comment:e.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:e.languages.c}}}}),e.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete e.languages.c.boolean}
vendor: 8,758 bytes, line 152
152return dA=1,uA=e,e.displayName="c",e.aliases=[],uA}function YM(){if(fA)return pA;fA=1;var e=qM();function t(t){t.register(e),function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(t)}return pA=t,t.displayName="cpp",t.aliases=[],pA}function XM(){if(kA)return CA;function e(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),"")}function r(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,function(){return"(?:"+e+")"});return e.replace(/<<self>>/g,"[^\\s\\S]")}var a="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",o="class enum interface record struct",i="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var c=l(o),u=RegExp(l(a+" "+o+" "+i+" "+s)),d=l(o+" "+i+" "+s),p=l(a+" "+o+" "+s),f=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),m=r(/\((?:[^()]|<<self>>)*\)/.source,2),h=/@?\b[A-Za-z_]\w*\b/.source,g=t(/<<0>>(?:\s*<<1>>)?/.source,[h,f]),b=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,g]),y=/\[\s*(?:,\s*)*\]/.source,v=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[b,y]),x=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[f,m,y]),S=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[x]),w=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[S,b,y]),E={keyword:u,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,k=/"(?:\\.|[^\\"\r\n])*"/.source,T=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[T]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[k]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[b]),lookbehind:!0,inside:E},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[h,w]),lookbehind:!0,inside:E},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[h]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[c,g]),lookbehind:!0,inside:E},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[b]),lookbehind:!0,inside:E},{pattern:n(/(\bwhere\s+)<<0>>/.source,[h]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[v]),lookbehind:!0,inside:E},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[w,p,h]),inside:E}],keyword:u,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[h]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[h]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[m]),lookbehind:!0,alias:"class-name",inside:E},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[w,b]),inside:E,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[w]),lookbehind:!0,inside:E,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[h,f]),inside:{function:n(/^<<0>>/.source,[h]),generic:{pattern:RegExp(f),alias:"class-name",inside:E}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[c,g,h,w,u.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,m]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:u,"class-name":{pattern:RegExp(w),greedy:!0,inside:E},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var A=k+"|"+C,I=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[A]),N=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[I]),2),_=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,R=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[b,N]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[_,R]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[_]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[N]),inside:e.languages.csharp},"class-name":{pattern:RegExp(b),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var O=/:[^}\r\n]+/.source,L=r(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[I]),2),D=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[L,O]),P=r(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[A]),2),M=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,O]);function j(t,r){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[r,O]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}}
152,string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[D]),lookbehind:!0,greedy:!0,inside:j(D,L)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[M]),lookbehind:!0,greedy:!0,inside:j(M,P)}],char:{pattern:RegExp(C),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(e)}return kA=1,CA=e,e.displayName="csharp",e.aliases=["dotnet","cs"],CA}function KM(){if(jA)return MA;function e(e){!function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_
152CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>
vendor: 9,585 bytes, line 152
152&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=e.languages.bash;for(var a=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],o=r.variable[1].inside,i=0;i<a.length;i++)o[a[i]]=e.languages.bash[a[i]];e.languages.shell=e.languages.bash}(e)}return jA=1,MA=e,e.displayName="bash",e.aliases=["shell"],MA}function ZM(){if(zA)return FA;function e(e){e.languages.basic={comment:{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SELECT CASE|SHARED|SHELL|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\$|\b)/i,function:/\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\$|\b)/i,operator:/<[=>]?|>=?|[+\-*\/^=&]|\b(?:AND|EQV|IMP|NOT|OR|XOR)\b/i,punctuation:/[,;:()]/}}return zA=1,FA=e,e.displayName="basic",e.aliases=[],FA}function JM(){if(kI)return CI;function e(e){!function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",r=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+r),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+r+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(e)}return kI=1,CI=e,e.displayName="ruby",e.aliases=["rb"],CI}function QM(){if(ZI)return KI;function e(e){!function(e){function t(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,r,a,o){if(n.language===r){var i=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof o&&!o(e))return e;for(var a,s=i.length;-1!==n.code.indexOf(a=t(r,s));)++s;return i[s]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,r){if(n.language===r&&n.tokenStack){n.grammar=e.languages[r];var a=0,o=Object.keys(n.tokenStack);!function i(s){for(var l=0;l<s.length&&!(a>=o.length);l++){var c=s[l];if("string"==typeof c||c.content&&"string"==typeof c.content){var u=o[a],d=n.tokenStack[u],p="string"==typeof c?c:c.content,f=t(r,u),m=p.indexOf(f);if(m>-1){++a;var h=p.substring(0,m),g=new e.Token(r,e.tokenize(d,n.grammar),"language-"+r,d),b=p.substring(m+f.length),y=[];h&&y.push.apply(y,i([h])),y.push(g),b&&y.push.apply(y,i([b])),"string"==typeof c?s.splice.apply(s,[l,1].concat(y)):c.content=y}}else c.content&&i(c.content)}return s}(n.tokens)}}}})}(e)}return ZI=1,KI=e,e.displayName="markupTemplating",e.aliases=[],KI}function ej(){if(EN)return wN;function e(e){e.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/}}return EN=1,wN=e,e.displayName="lua",e.aliases=[],wN}function tj(){if(v_)return y_;function e(e){e.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\/])(?:--(?:(?=.)[^-!#$%*+=?&@|~.:<>^\\\/].*|$)|\{-[\s\S]*?-\})/m,lookbehind:!0},char:{pattern:/'(?:[^\\']|\\(?:[abfnrtv\\"'&]|\^[A-Z@[\]^_]|ACK|BEL|BS|CAN|CR|DC1|DC2|DC3|DC4|DEL|DLE|EM|ENQ|EOT|ESC|ETB|ETX|FF|FS|GS|HT|LF|NAK|NUL|RS|SI|SO|SOH|SP|STX|SUB|SYN|US|VT|\d+|o[0-7]+|x[0-9a-fA-F]+))'/,alias:"string"},string:{pattern:/"(?:[^\\"]|\\(?:\S|\s+\\))*"/,greedy:!0},keyword:/\b(?:case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b/,"import-statement":{pattern:/(^[\t ]*)import\s+(?:qualified\s+)?(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*(?:\s+as\s+(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import|qualified)\b/,punctuation:/\./}},builtin:/\b(?:abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|
152isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0o[0-7]+|0x[0-9a-f]+)\b/i,operator:[{pattern:/`(?:[A-Z][\w']*\.)*[_a-z][\w']*`/,greedy:!0},{pattern:/(\s)\.(?=\s)/,lookbehind:!0},/[-!#$%*+=?&@|~:<>^\\\/][-!#$%*+=?&@|~.:<>^\\\/]*|\.[-!#$%*+=?&@|~.:<>^\\\/]+/],hvariable:{pattern:/\b(?:[A-Z][\w']*\.)*[_a-z][\w']*/,inside:{punctuation:/\./}},constant:{pattern:/\b(?:[A-Z][\w']*\.)*[A-Z][\w']*/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:]/},e.languages.hs=e.languages.haskell}return v_=1,y_=e,e.displayName="haskell",e.aliases=["hs"],y_}function nj(){if(tR)return eR;function e(e){!function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(e)}return tR=1,eR=e,e.displayName="java",e.aliases=[],eR}function rj(){if(rR)return nR;function e(e){!function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(t,n){"string"==typeof t&&(t=[t]),t.forEach(function(t){!function(t,n){var r="doc-comment",a=e.languages[t];if(a){var o=a[r];if(!o){var i={};i[r]={pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"},o=(a=e.languages.insertBefore(t,"comment",i))[r]}if(o instanceof RegExp&&(o=a[r]={pattern:o}),Array.isArray(o))for(var s=0,l=o.length;s<l;s++)o[s]instanceof RegExp&&(o[s]={pattern:o[s]}),n(o[s]);else n(o)}}(t,function(e){e.inside||(e.inside={}),e.inside.rest=n})})}}),t.addSupport(["java","javascript","php"],t)}(e)}return rR=1,nR=e,e.displayName="javadoclike",e.aliases=[],nR}function aj(){if(vR)return yR;function e(e){!function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(e)}
vendor: 4,126 bytes, line 152
152return vR=1,yR=e,e.displayName="typescript",e.aliases=["ts"],yR}function oj(){if(ER)return wR;function e(e){e.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},e.languages.webmanifest=e.languages.json}return ER=1,wR=e,e.displayName="json",e.aliases=["webmanifest"],wR}function ij(){if(RR)return _R;function e(e){!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,a=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function o(e,t){return e=e.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return a}),RegExp(e,t)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var i=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(i).join(""):""},s=function(t){for(var n=[],r=0;r<t.length;r++){var a=t[r],o=!1;if("string"!=typeof a&&("tag"===a.type&&a.content[0]&&"tag"===a.content[0].type?"</"===a.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===i(a.content[0].content[1])&&n.pop():"/>"===a.content[a.content.length-1].content||n.push({tagName:i(a.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===a.type&&"{"===a.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===a.type&&"}"===a.content?n[n.length-1].openedBraces--:o=!0),(o||"string"==typeof a)&&n.length>0&&0===n[n.length-1].openedBraces){var l=i(a);r<t.length-1&&("string"==typeof t[r+1]||"plain-text"===t[r+1].type)&&(l+=i(t[r+1]),t.splice(r+1,1)),r>0&&("string"==typeof t[r-1]||"plain-text"===t[r-1].type)&&(l=i(t[r-1])+l,t.splice(r-1,1),r--),t[r]=new e.Token("plain-text",l,null,l)}a.content&&"string"!=typeof a.content&&s(a.content)}};e.hooks.add("after-tokenize",function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)})}(e)}return RR=1,_R=e,e.displayName="jsx",e.aliases=[],_R}function sj(){if(qR)return GR;qR=1;var e=QM();function t(t){t.register(e),function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,a=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,o=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"}
vendor: 4,194 bytes, line 152
152,"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:a,punctuation:o};var i={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:i}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0}
152,{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:i}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:a,punctuation:o}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}(t)}return GR=t,t.displayName="php",t.aliases=[],GR}function lj(){if(QR)return JR;function e(e){!function(e){e.languages.scheme={comment:/;.*|#;\s*(?:\((?:[^()]|\([^()]*\))*\)|\[(?:[^\[\]]|\[[^\[\]]*\])*\])|#\|(?:[^#|]|#(?!\|)|\|(?!#)|#\|(?:[^#|]|#(?!\|)|\|(?!#))*\|#)*\|#/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},symbol:{pattern:/'[^()\[\]#'\s]+/,greedy:!0},char:{pattern:/#\\(?:[ux][a-fA-F\d]+\b|[-a-zA-Z]+\b|[\uD800-\uDBFF][\uDC00-\uDFFF]|\S)/,greedy:!0},"lambda-parameter":[{pattern:/((?:^|[^'`#])[(\[]lambda\s+)(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)/,lookbehind:!0},{pattern:/((?:^|[^'`#])[(\[]lambda\s+[(\[])[^()\[\]']+/,lookbehind:!0}],keyword:{pattern:/((?:^|[^'`#])[(\[])(?:begin|case(?:-lambda)?|cond(?:-expand)?|define(?:-library|-macro|-record-type|-syntax|-values)?|defmacro|delay(?:-force)?|do|else|except|export|guard|if|import|include(?:-ci|-library-declarations)?|lambda|let(?:rec)?(?:-syntax|-values|\*)?|let\*-values|only|parameterize|prefix|(?:quasi-?)?quote|rename|set!|syntax-(?:case|rules)|unless|unquote(?:-splicing)?|when)(?=[()\[\]\s]|$)/,lookbehind:!0},builtin:{pattern:/((?:^|[^'`#])[(\[])(?:abs|and|append|apply|assoc|ass[qv]|binary-port\?|boolean=?\?|bytevector(?:-append|-copy|-copy!|-length|-u8-ref|-u8-set!|\?)?|caar|cadr|call-with-(?:current-continuation|port|values)|call\/cc|car|cdar|cddr|cdr|ceiling|char(?:->integer|-ready\?|\?|<\?|<=\?|=\?|>\?|>=\?)|close-(?:input-port|output-port|port)|complex\?|cons|current-(?:error|input|output)-port|denominator|dynamic-wind|eof-object\??|eq\?|equal\?|eqv\?|error|error-object(?:-irritants|-message|\?)|eval|even\?|exact(?:-integer-sqrt|-integer\?|\?)?|expt|features|file-error\?|floor(?:-quotient|-remainder|\/)?|flush-output-port|for-each|gcd|get-output-(?:bytevector|string)|inexact\??|input-port(?:-open\?|\?)|integer(?:->char|\?)|lcm|length|list(?:->string|->vector|-copy|-ref|-set!|-tail|\?)?|make-(?:bytevector|list|parameter|string|vector)|map|max|member|memq|memv|min|modulo|negative\?|newline|not|null\?|number(?:->string|\?)|numerator|odd\?|open-(?:input|output)-(?:bytevector|string)|or|output-port(?:-open\?|\?)|pair\?|peek-char|peek-u8|port\?|positive\?|procedure\?|quotient|raise|raise-continuable|rational\?|rationalize|read-(?:bytevector|bytevector!|char|error\?|line|string|u8)|real\?|remainder|reverse|round|set-c[ad]r!|square|string(?:->list|->number|->symbol|->utf8|->vector|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?|<\?|<=\?|=\?|>\?|>=\?)?|substring|symbol(?:->string|\?|=\?)|syntax-error|textual-port\?|truncate(?:-quotient|-remainder|\/)?|u8-ready\?|utf8->string|values|vector(?:->list|->string|-append|-copy|-copy!|-fill!|-for-each|-length|-map|-ref|-set!|\?)?|with-exception-handler|write-(?:bytevector|char|string|u8)|zero\?)(?=[()\[\]\s]|$)/,lookbehind:!0},operator:{pattern:/((?:^|[^'`#])[(\[])(?:[-+*%/]|[<>]=?|=>?)(?=[()\[\]\s]|$)/,lookbehind:!0},number:{pattern:RegExp(function(e){for(var t in e)e[t]=e[t].replace(/<[\w\s]+>/g,function(t){return"(?:"+e[t].trim()+")"});return e[t]}({"<ureal dec>":/\d+(?:\/\d+)|(?:\d+(?:\.\d*)?|\.\d+)(?:[esfdl][+-]?\d+)?/.source,"<real dec>":/[+-]?<ureal dec>|[+-](?:inf|nan)\.0/.source,"<imaginary dec>":/[+-](?:<ureal dec>|(?:inf|nan)\.0)?i/.source,"<complex dec>":/<real dec>(?:@<real dec>|<imaginary dec>)?|<imaginary dec>/.source,"<num dec>":/(?:#d(?:#[ei])?|#[ei](?:#d)?)?<complex dec>/.source,"<ureal box>":/[0-9a-f]+(?:\/[0-9a-f]+)?/.source,"<real box>":/[+-]?<ureal box>|[+-](?:inf|nan)\.0/.source,"<imaginary box>":/[+-](?:<ureal box>|(?:inf|nan)\.0)?i/.source,"<complex box>":/<real box>(?:@<real box>|<imaginary box>)?|<imaginary box>/.source,"<num box>":/#[box](?:#[ei])?|(?:#[ei])?#[box]<complex box>/.source,"<number>":/(^|[()\[\]\s])(?:<num dec>|<num box>)(?=[()\[\]\s]|$)/.source}),"i"),lookbehind:!0},boolean:{pattern:/(^|[()\[\]\s])#(?:[ft]|false|true)(?=[()\[\]\s]|$)/,lookbehind:!0},function:{pattern:/((?:^|[^'`#])[(\[])(?:[^|()\[\]'\s]+|\|(?:[^\\|]|\\.)*\|)(?=[()\[\]\s]|$)/,lookbehind:!0},identifier:{pattern:/(^|[()\[\]\s])\|(?:[^\\|]|\\.)*\|(?=[()\[\]\s]|$)/,lookbehind:!0,greedy:!0},punctuation:/[()\[\]']/}}(e)}return QR=1,JR=e,e.displayName="scheme",e.aliases=[],JR}function cj(){if(vO)return yO;function e(e){!function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2}
152)*)/.source+"(?:"+e+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,r=t.length;n<r;n++){var a=t[n];if("code"===a.type){var o=a.content[1],i=a.content[3];if(o&&i&&"code-language"===o.type&&"code-block"===i.type&&"string"==typeof o.content){var s=o.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());i.alias?"string"==typeof i.alias?i.alias=[i.alias,l]:i.alias.push(l):i.alias=[l]}}else e(a.content)}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var n="",r=0,a=t.classes.length;r<a;r++){var o=t.classes[r],c=/language-(.+)/.exec(o);if(c){n=c[1];break}}var u=e.languages[n];if(u)t.content=e.highlight(function(e){var t=e.replace(i,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var r=s[t];return r||e}),t}(t.content.value),u,n);else if(n&&"none"!==n&&e.plugins.autoloader){var d="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=d,e.plugins.autoloader.loadLanguages(n,function(){var t=document.getElementById(d);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n))})}}});var i=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(e)}return vO=1,yO=e,e.displayName="markdown",e.aliases=["md"],yO}function uj(){if(cP)return lP;function e(e){e.languages.turtle={comment:{pattern:/#.*/,greedy:!0},"multiline-string":{pattern:/"""(?:(?:""?)?(?:[^"\\]|\\.))*"""|'''(?:(?:''?)?(?:[^'\\]|\\.))*'''/,greedy:!0,alias:"string",inside:{comment:/#.*/}},string:{pattern:/"(?:[^\\"\r\n]|\\.)*"|'(?:[^\\'\r\n]|\\.)*'/,greedy:!0},url:{pattern:/<(?:[^\x00-\x20<>"{}|^`\\]|\\(?:u[\da-fA-F]{4}|U[\da-fA-F]{8}))*>/,greedy:!0,inside:{punctuation:/[<>]/}},function:{pattern:/(?:(?![-.\d\xB7])[-.\w\xB7\xC0-\uFFFD]+)?:(?:(?![-.])(?:[-.:\w\xC0-\uFFFD]|%[\da-f]{2}|\\.)+)?/i,inside:{"local-name":{pattern:/([^:]*:)[\s\S]+/,lookbehind:!0},prefix:{pattern:/[\s\S]+/,inside:{punctuation:/:/}}}},number:/[+-]?\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[{}.,;()[\]]|\^\^/,boolean:/\b(?:false|true)\b/,keyword:[/(?:\ba|@prefix|@base)\b|=/,/\b(?:base|graph|prefix)\b/i],tag:{pattern:/@[a-z]+(?:-[a-z\d]+)*/i,inside:{punctuation:/@/}}},e.languages.trig=e.languages.turtle}return cP=1,lP=e,e.displayName="turtle",e.aliases=[],lP}function dj(){if(AP)return TP;function e(e){!function(e){function t(e,t,n){return{pattern:RegExp("<#"+e+"[\\s\\S]*?#>"),alias:"block",inside:{delimiter:{pattern:RegExp("^<#"+e+"|#>$"),alias:"important"},content:{pattern:/[\s\S]+/,inside:t,alias:n}}}}e.languages["t4-templating"]=Object.defineProperty({},"createT4",{value:function(n){var r=e.languages[n],a="language-"+n;return{block:{pattern:/<#[\s\S]+?#>/,inside:{directive:t("@",{"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/,inside:{punctuation:/^=|^["']|["']$/}},keyword:/\b\w+(?=\s)/,"attr-name":/\b\w+/}),expression:t("=",r,a),"class-feature":t("\\+",r,a),standard:t("",r,a)}}}}})}(e)}return AP=1,TP=e,e.displayName="t4Templating",e.aliases=[],TP}function pj(){if(RP)return _P;RP=1;var e=ZM();function t(t){t.register(e),t.languages.vbnet=t.languages.extend("basic",{comment:[{pattern:/(?:!|REM\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\:])'.*/,lookbehind:!0,greedy:!0}
152],string:{pattern:/(^|[^"])"(?:""|[^"])*"(?!")/,lookbehind:!0,greedy:!0},keyword:/(?:\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDBL|CDEC|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DEFAULT|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LET|LIB|LIKE|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPERATOR|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHELL|SHORT|SINGLE|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SWAP|SYNCLOCK|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\$|\b)/i,punctuation:/[,;:(){}]/})}return _P=t,t.displayName="vbnet",t.aliases=[],_P}function fj(){if(PP)return DP;function e(e){!function(e){var t=/[*&][^\s[\]{},]+/,n=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,r="(?:"+n.source+"(?:[ \t]+"+t.source+")?|"+t.source+"(?:[ \t]+"+n.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-]<PLAIN>)(?:[ \t]*(?:(?![#:])<PLAIN>|:<PLAIN>))*/.source.replace(/<PLAIN>/g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(e,t){t=(t||"").replace(/m/g,"")+"m";var n=/([:\-,[{]\s*(?:\s<<prop>>[ \t]+)?)(?:<<value>>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<value>>/g,function(){return e});return RegExp(n,t)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<<prop>>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<<prop>>/g,function(){return r})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<<prop>>[ \t]+)?)<<key>>(?=\s*:\s)/.source.replace(/<<prop>>/g,function(){return r}).replace(/<<key>>/g,function(){return"(?:"+a+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:n,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(e)}return PP=1,DP=e,e.displayName="yaml",e.aliases=["yml"],DP}var mj=function(){if(WM)return VM;WM=1;var e=jT();return VM=e,e.register(function(){if(zT)return FT;function e(e){e.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|
152EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\/MM\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\/DD\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\/MM\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\/DD\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMM
152IT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\b/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/}}return zT=1,FT=e,e.displayName="abap",e.aliases=[],FT}()),e.register(function(){if(BT)return $T;function e(e){!function(e){var t="(?:ALPHA|BIT|CHAR|CR|CRLF|CTL|DIGIT|DQUOTE|HEXDIG|HTAB|LF|LWSP|OCTET|SP|VCHAR|WSP)";e.languages.abnf={comment:/;.*/,string:{pattern:/(?:%[is])?"[^"\n\r]*"/,greedy:!0,inside:{punctuation:/^%[is]/}},range:{pattern:/%(?:b[01]+-[01]+|d\d+-\d+|x[A-F\d]+-[A-F\d]+)/i,alias:"number"},terminal:{pattern:/%(?:b[01]+(?:\.[01]+)*|d\d+(?:\.\d+)*|x[A-F\d]+(?:\.[A-F\d]+)*)/i,alias:"number"},repetition:{pattern:/(^|[^\w-])(?:\d*\*\d*|\d+)/,lookbehind:!0,alias:"operator"},definition:{pattern:/(^[ \t]*)(?:[a-z][\w-]*|<[^<>\r\n]*>)(?=\s*=)/m,lookbehind:!0,alias:"keyword",inside:{punctuation:/<|>/}},"core-rule":{pattern:RegExp("(?:(^|[^<\\w-])"+t+"|<"+t+">)(?![\\w-])","i"),lookbehind:!0,alias:["rule","constant"],inside:{punctuation:/<|>/}},rule:{pattern:/(^|[^<\w-])[a-z][\w-]*|<[^<>\r\n]*>/i,lookbehind:!0,inside:{punctuation:/<|>/}},operator:/=\/?|\//,punctuation:/[()\[\]]/}}(e)}return BT=1,$T=e,e.displayName="abnf",e.aliases=[],$T}()),e.register(function(){if(HT)return UT;function e(e){e.languages.actionscript=e.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),e.languages.actionscript["class-name"].alias="function",delete e.languages.actionscript.parameter,delete e.languages.actionscript["literal-property"],e.languages.markup&&e.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:e.languages.markup}})}return HT=1,UT=e,e.displayName="actionscript",e.aliases=[],UT}()),e.register(function(){if(WT)return VT;
152function e(e){e.languages.ada={comment:/--.*/,string:/"(?:""|[^"\r\f\n])*"/,number:[{pattern:/\b\d(?:_?\d)*#[\dA-F](?:_?[\dA-F])*(?:\.[\dA-F](?:_?[\dA-F])*)?#(?:E[+-]?\d(?:_?\d)*)?/i},{pattern:/\b\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:E[+-]?\d(?:_?\d)*)?\b/i}],"attr-name":/\b'\w+/,keyword:/\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\b/i,boolean:/\b(?:false|true)\b/i,operator:/<[=>]?|>=?|=>?|:=|\/=?|\*\*?|[&+-]/,punctuation:/\.\.?|[,;():]/,char:/'.'/,variable:/\b[a-z](?:\w)*\b/i}}return WT=1,VT=e,e.displayName="ada",e.aliases=[],VT}()),e.register(function(){if(qT)return GT;function e(e){!function(e){e.languages.agda={comment:/\{-[\s\S]*?(?:-\}|$)|--.*/,string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},punctuation:/[(){}â¦â¦.;@]/,"class-name":{pattern:/((?:data|record) +)\S+/,lookbehind:!0},function:{pattern:/(^[ \t]*)(?!\s)[^:\r\n]+(?=:)/m,lookbehind:!0},operator:{pattern:/(^\s*|\s)(?:[=|:ââλ\\?_]|->)(?=\s)/,lookbehind:!0},keyword:/\b(?:Set|abstract|constructor|data|eta-equality|field|forall|hiding|import|in|inductive|infix|infixl|infixr|instance|let|macro|module|mutual|no-eta-equality|open|overlap|pattern|postulate|primitive|private|public|quote|quoteContext|quoteGoal|quoteTerm|record|renaming|rewrite|syntax|tactic|unquote|unquoteDecl|unquoteDef|using|variable|where|with)\b/}}(e)}return qT=1,GT=e,e.displayName="agda",e.aliases=[],GT}()),e.register(function(){if(XT)return YT;function e(e){e.languages.al={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},function:{pattern:/(\b(?:event|procedure|trigger)\s+|(?:^|[^.])\.\s*)[a-z_]\w*(?=\s*\()/i,lookbehind:!0},keyword:[/\b(?:array|asserterror|begin|break|case|do|downto|else|end|event|exit|for|foreach|function|if|implements|in|indataset|interface|internal|local|of|procedure|program|protected|repeat|runonclient|securityfiltering|suppressdispose|temporary|then|to|trigger|until|var|while|with|withevents)\b/i,/\b(?:action|actions|addafter|addbefore|addfirst|addlast|area|assembly|chartpart|codeunit|column|controladdin|cuegroup|customizes|dataitem|dataset|dotnet|elements|enum|enumextension|extends|field|fieldattribute|fieldelement|fieldgroup|fieldgroups|fields|filter|fixed|grid|group|key|keys|label|labels|layout|modify|moveafter|movebefore|movefirst|movelast|page|pagecustomization|pageextension|part|profile|query|repeater|report|requestpage|schema|separator|systempart|table|tableelement|tableextension|textattribute|textelement|type|usercontrol|value|xmlport)\b/i],number:/\b(?:0x[\da-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)(?:F|LL?|U(?:LL?)?)?\b/i,boolean:/\b(?:false|true)\b/i,variable:/\b(?:Curr(?:FieldNo|Page|Report)|x?Rec|RequestOptionsPage)\b/,"class-name":/\b(?:automation|biginteger|bigtext|blob|boolean|byte|char|clienttype|code|completiontriggererrorlevel|connectiontype|database|dataclassification|datascope|date|dateformula|datetime|decimal|defaultlayout|dialog|dictionary|dotnetassembly|dotnettypedeclaration|duration|errorinfo|errortype|executioncontext|executionmode|fieldclass|fieldref|fieldtype|file|filterpagebuilder|guid|httpclient|httpcontent|httpheaders|httprequestmessage|httpresponsemessage|instream|integer|joker|jsonarray|jsonobject|jsontoken|jsonvalue|keyref|list|moduledependencyinfo|moduleinfo|none|notification|notificationscope|objecttype|option|outstream|pageresult|record|recordid|recordref|reportformat|securityfilter|sessionsettings|tableconnectiontype|tablefilter|testaction|testfield|testfilterfield|testpage|testpermissions|testrequestpage|text|textbuilder|textconst|textencoding|time|transactionmodel|transactiontype|variant|verbosity|version|view|views|webserviceactioncontext|webserviceactionresultcode|xmlattribute|xmlattributecollection|xmlcdata|xmlcomment|xmldeclaration|xmldocument|xmldocumenttype|xmlelement|xmlnamespacemanager|xmlnametable|xmlnode|xmlnodelist|xmlprocessinginstruction|xmlreadoptions|xmltext|xmlwriteoptions)\b/i,operator:/\.\.|:[=:]|[-+*/]=?|<>|[<>]=?|=|\b(?:and|div|mod|not|or|xor)\b/i,punctuation:/[()\[\]{}:.;,]/}}return XT=1,YT=e,e.displayName="al",e.aliases=[],YT}()),e.register(function(){if(ZT)return KT;function e(e){e.languages.antlr4={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,string:{pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,greedy:!0,alias:"regex",inside:{range:{pattern:/([^[]|(?:^|[^\\])(?:\\\\)*\\\[)-(?!\])/,lookbehind:!0,alias:"punctuation"},escape:/\\(?:u(?:[a-fA-F\d]{4}|\{[a-fA-F\d]+\})|[pP]\{[=\w-]+\}|[^\r\nupP])/,punctuation:/[\[\]]/}},action:{pattern:/\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\}/,greedy:!0,inside:{content:{pattern:/(\{)[\s\S]+(?=\})/,lookbehind:!0},punctuation:/[{}]/}},command:{pattern:/(->\s*(?!\s))(?:\s*(?:,\s*)?\b[a-z]\w*(?:\s*\([^()\r\n]*\))?)+(?=\s*;)/i,lookbehind:!0,inside:{function:/\b\w+(?=\s*(?:[,(]|$))/,punctuation:/[,()]/}},annotation:{pattern:/@\w+(?:::\w+)*/,alias:"keyword"},label:{pattern:/#[ \t]*\w+/,alias:"punctuation"},keyword:/\b(?:catch|channels|finally|fragment|grammar|import|lexer|locals|mode|options|parser|returns|throws|tokens)\b/,definition:[{pattern:/\b[a-z]\w*(?=\s*:)/,alias:["rule","class-name"]}
152,{pattern:/\b[A-Z]\w*(?=\s*:)/,alias:["token","constant"]}],constant:/\b[A-Z][A-Z_]*\b/,operator:/\.\.|->|[|~]|[*+?]\??/,punctuation:/[;:()=]/},e.languages.g4=e.languages.antlr4}return ZT=1,KT=e,e.displayName="antlr4",e.aliases=["g4"],KT}()),e.register(function(){if(QT)return JT;function e(e){e.languages.apacheconf={comment:/#.*/,"directive-inline":{pattern:/(^[\t ]*)\b(?:AcceptFilter|AcceptPathInfo|AccessFileName|Action|Add(?:Alt|AltByEncoding|AltByType|Charset|DefaultCharset|Description|Encoding|Handler|Icon|IconByEncoding|IconByType|InputFilter|Language|ModuleInfo|OutputFilter|OutputFilterByType|Type)|Alias|AliasMatch|Allow(?:CONNECT|EncodedSlashes|Methods|Override|OverrideList)?|Anonymous(?:_LogEmail|_MustGiveEmail|_NoUserID|_VerifyEmail)?|AsyncRequestWorkerFactor|Auth(?:BasicAuthoritative|BasicFake|BasicProvider|BasicUseDigestAlgorithm|DBDUserPWQuery|DBDUserRealmQuery|DBMGroupFile|DBMType|DBMUserFile|Digest(?:Algorithm|Domain|NonceLifetime|Provider|Qop|ShmemSize)|Form(?:Authoritative|Body|DisableNoStore|FakeBasicAuth|Location|LoginRequiredLocation|LoginSuccessLocation|LogoutLocation|Method|Mimetype|Password|Provider|SitePassphrase|Size|Username)|GroupFile|LDAP(?:AuthorizePrefix|BindAuthoritative|BindDN|BindPassword|CharsetConfig|CompareAsUser|CompareDNOnServer|DereferenceAliases|GroupAttribute|GroupAttributeIsDN|InitialBindAsUser|InitialBindPattern|MaxSubGroupDepth|RemoteUserAttribute|RemoteUserIsDN|SearchAsUser|SubGroupAttribute|SubGroupClass|Url)|Merging|Name|nCache(?:Context|Enable|ProvideFor|SOCache|Timeout)|nzFcgiCheckAuthnProvider|nzFcgiDefineProvider|Type|UserFile|zDBDLoginToReferer|zDBDQuery|zDBDRedirectQuery|zDBMType|zSendForbiddenOnFailure)|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|Cache(?:DefaultExpire|DetailHeader|DirLength|DirLevels|Disable|Enable|File|Header|IgnoreCacheControl|IgnoreHeaders|IgnoreNoLastMod|IgnoreQueryString|IgnoreURLSessionIdentifiers|KeyBaseURL|LastModifiedFactor|Lock|LockMaxAge|LockPath|MaxExpire|MaxFileSize|MinExpire|MinFileSize|NegotiatedDocs|QuickHandler|ReadSize|ReadTime|Root|Socache(?:MaxSize|MaxTime|MinTime|ReadSize|ReadTime)?|StaleOnError|StoreExpired|StoreNoStore|StorePrivate)|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|Deflate(?:BufferSize|CompressionLevel|FilterNote|InflateLimitRequestBody|InflateRatio(?:Burst|Limit)|MemLevel|WindowSize)|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|Heartbeat(?:Address|Listen|MaxServers|Storage)|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|Index(?:HeadInsert|Ignore|IgnoreReset|Options|OrderDefault|StyleSheet)|InputSed|ISAPI(?:AppendLogToErrors|AppendLogToQuery|CacheFile|FakeAsync|LogNotSupported|ReadAheadBuffer)|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAP(?:CacheEntries|CacheTTL|ConnectionPoolTTL|ConnectionTimeout|LibraryDebug|OpCacheEntries|OpCacheTTL|ReferralHopLimit|Referrals|Retries|RetryDelay|SharedCacheFile|SharedCacheSize|Timeout|TrustedClientCert|TrustedGlobalCert|TrustedMode|VerifyServerCert)|Limit(?:InternalRecursion|Request(?:Body|Fields|FieldSize|Line)|XMLRequestBody)|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|Lua(?:Hook(?:AccessChecker|AuthChecker|CheckUserID|Fixups|InsertFilter|Log|MapToStorage|TranslateName|TypeChecker)|Inherit|InputFilter|MapHandler|OutputFilter|PackageCPath|PackagePath|QuickHandler|Root|Scope)|Max(?
152:ConnectionsPerChild|KeepAliveRequests|MemFree|RangeOverlaps|RangeReversals|Ranges|RequestWorkers|SpareServers|SpareThreads|Threads)|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|Proxy(?:AddHeaders|BadHeader|Block|Domain|ErrorOverride|ExpressDBMFile|ExpressDBMType|ExpressEnable|FtpDirCharset|FtpEscapeWildcards|FtpListOnWildcard|HTML(?:BufSize|CharsetOut|DocType|Enable|Events|Extended|Fixups|Interp|Links|Meta|StripComments|URLMap)|IOBufferSize|MaxForwards|Pass(?:Inherit|InterpolateEnv|Match|Reverse|ReverseCookieDomain|ReverseCookiePath)?|PreserveHost|ReceiveBufferSize|Remote|RemoteMatch|Requests|SCGIInternalRedirect|SCGISendfile|Set|SourceAddress|Status|Timeout|Via)|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIP(?:Header|InternalProxy|InternalProxyList|ProxiesHeader|TrustedProxy|TrustedProxyList)|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|Rewrite(?:Base|Cond|Engine|Map|Options|Rule)|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script(?:Alias|AliasMatch|InterpreterSource|Log|LogBuffer|LogLength|Sock)?|SecureListen|SeeRequestTail|SendBufferSize|Server(?:Admin|Alias|Limit|Name|Path|Root|Signature|Tokens)|Session(?:Cookie(?:Name|Name2|Remove)|Crypto(?:Cipher|Driver|Passphrase|PassphraseFile)|DBD(?:CookieName|CookieName2|CookieRemove|DeleteLabel|InsertLabel|PerUser|SelectLabel|UpdateLabel)|Env|Exclude|Header|Include|MaxAge)?|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSL(?:CACertificateFile|CACertificatePath|CADNRequestFile|CADNRequestPath|CARevocationCheck|CARevocationFile|CARevocationPath|CertificateChainFile|CertificateFile|CertificateKeyFile|CipherSuite|Compression|CryptoDevice|Engine|FIPS|HonorCipherOrder|InsecureRenegotiation|OCSP(?:DefaultResponder|Enable|OverrideResponder|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|UseRequestNonce)|OpenSSLConfCmd|Options|PassPhraseDialog|Protocol|Proxy(?:CACertificateFile|CACertificatePath|CARevocation(?:Check|File|Path)|CheckPeer(?:CN|Expire|Name)|CipherSuite|Engine|MachineCertificate(?:ChainFile|File|Path)|Protocol|Verify|VerifyDepth)|RandomSeed|RenegBufferSize|Require|RequireSSL|Session(?:Cache|CacheTimeout|TicketKeyFile|Tickets)|SRPUnknownUserSeed|SRPVerifierFile|Stapling(?:Cache|ErrorCacheTimeout|FakeTryLater|ForceURL|ResponderTimeout|ResponseMaxAge|ResponseTimeSkew|ReturnResponderErrors|StandardCacheTimeout)|StrictSNIVHostCheck|UserName|UseStapling|VerifyClient|VerifyDepth)|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|Virtual(?:DocumentRoot|ScriptAlias)(?:IP)?|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\b/im,lookbehind:!0,alias:"property"},"directive-block":{pattern:/<\/?\b(?:Auth[nz]ProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|Require(?:All|Any|None)|VirtualHost)\b.*>/i,inside:{"directive-block":{pattern:/^<\/?\w+/,inside:{punctuation:/^<\/?/},alias:"tag"},"directive-block-parameter":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}}},alias:"attr-value"},punctuation:/>/},alias:"tag"},"directive-flags":{pattern:/\[(?:[\w=],?)+\]/,alias:"keyword"},string:{pattern:/("|').*\1/,inside:{variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/}},variable:/[$%]\{?(?:\w\.?[-+:]?)+\}?/,regex:/\^?.*\$|\^.*\$?/}}return QT=1,JT=e,e.displayName="apacheconf",e.aliases=[],JT}()),e.register(function(){if(rA)return nA;rA=1;var e=GM();function t(t){t.register(e),function(e){var t=/\b(?:(?:after|before)(?=\s+[a-z])|abstract|activate|and|any|array|as|asc|autonomous|begin|bigdecimal|blob|boolean|break|bulk|by|byte|case|cast|catch|char|class|collect|commit|const|continue|currency|date|datetime|decimal|default|delete|desc|do|double|else|end|enum|exception|exit|export|extends|final|finally|float|for|from|get(?=\s*[{};])|global|goto|group|having|hint|if|implements|import|in|inner|insert|instanceof|int|integer|interface|into|join|like|limit|list|long|loop|map|merge|new|not|null|nulls|number|object|of|on|or|outer|override|package|parallel|pragma|private|protected|public|retrieve|return|rollback|select|set|short|sObject|sort|static|string|super|switch|synchronized|
152system|testmethod|then|this|throw|time|transaction|transient|trigger|try|undelete|update|upsert|using|virtual|void|webservice|when|where|while|(?:inherited|with|without)\s+sharing)\b/i,n=/\b(?:(?=[a-z_]\w*\s*[<\[])|(?!<keyword>))[A-Z_]\w*(?:\s*\.\s*[A-Z_]\w*)*\b(?:\s*(?:\[\s*\]|<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>))*/.source.replace(/<keyword>/g,function(){return t.source});function r(e){return RegExp(e.replace(/<CLASS-NAME>/g,function(){return n}),"i")}var a={keyword:t,punctuation:/[()\[\]{};,:.<>]/};e.languages.apex={comment:e.languages.clike.comment,string:e.languages.clike.string,sql:{pattern:/((?:[=,({:]|\breturn)\s*)\[[^\[\]]*\]/i,lookbehind:!0,greedy:!0,alias:"language-sql",inside:e.languages.sql},annotation:{pattern:/@\w+\b/,alias:"punctuation"},"class-name":[{pattern:r(/(\b(?:class|enum|extends|implements|instanceof|interface|new|trigger\s+\w+\s+on)\s+)<CLASS-NAME>/.source),lookbehind:!0,inside:a},{pattern:r(/(\(\s*)<CLASS-NAME>(?=\s*\)\s*[\w(])/.source),lookbehind:!0,inside:a},{pattern:r(/<CLASS-NAME>(?=\s*\w+\s*[;=,(){:])/.source),inside:a}],trigger:{pattern:/(\btrigger\s+)\w+\b/i,lookbehind:!0,alias:"class-name"},keyword:t,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/(?:\B\.\d+|\b\d+(?:\.\d+|L)?)\b/i,operator:/[!=](?:==?)?|\?\.?|&&|\|\||--|\+\+|[-+*/^&|]=?|:|<<?=?|>{1,3}=?/,punctuation:/[()\[\]{};,.]/}}(t)}return nA=t,t.displayName="apex",t.aliases=[],nA}()),e.register(function(){if(oA)return aA;function e(e){e.languages.apl={comment:/(?:â|#[! ]).*$/m,string:{pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\b\d+(?:e[+¯]?\d+)?|¯|â)(?:j¯?(?:(?:\d+(?:\.\d+)?|\.\d+)(?:e[+¯]?\d+)?|¯|â))?/i,statement:/:[A-Z][a-z][A-Za-z]*\b/,"system-function":{pattern:/â[A-Z]+/i,alias:"function"},constant:/[â¬â¾#ââ]/,function:/[-+Ã÷âââ£|â³â¸?*ââ!â¹<â¤=>â¥â â¡â¢ââ·âªâ©~â¨â§â±â²â´,âªâ½âââââââââ·âââ¤â¥âââ£â¢ââââ¯â¤â]/,"monadic-operator":{pattern:/[\\\/â¿â¨â¨â¶&â¥]/,alias:"operator"},"dyadic-operator":{pattern:/[.â£â â¤ââ¸@âºâ¥]/,alias:"operator"},assignment:{pattern:/â/,alias:"keyword"},punctuation:/[\[;\]()ââ]/,dfn:{pattern:/[{}âºâµâ¶â¹ââ«:]/,alias:"builtin"}}}return oA=1,aA=e,e.displayName="apl",e.aliases=[],aA}()),e.register(function(){if(sA)return iA;function e(e){e.languages.applescript={comment:[/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,/--.+/,/#.+/],string:/"(?:\\.|[^"\\\r\n])*"/,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?\b/i,operator:[/[&=â â¤â¥*+\-\/÷^]|[<>]=?/,/\b(?:(?:begin|end|start)s? with|(?:contains?|(?:does not|doesn't) contain)|(?:is|isn't|is not) (?:contained by|in)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:comes|(?:does not|doesn't) come) (?:after|before)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equal to|equals|is not|isn't)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|as|div|mod|not|or))\b/],keyword:/\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\b/,"class-name":/\b(?:POSIX file|RGB color|alias|application|boolean|centimeters|centimetres|class|constant|cubic centimeters|cubic centimetres|cubic feet|cubic inches|cubic meters|cubic metres|cubic yards|date|degrees Celsius|degrees Fahrenheit|degrees Kelvin|feet|file|gallons|grams|inches|integer|kilograms|kilometers|kilometres|list|liters|litres|meters|metres|miles|number|ounces|pounds|quarts|real|record|reference|script|square feet|square kilometers|square kilometres|square meters|square metres|square miles|square yards|text|yards)\b/,punctuation:/[{}():,¬«»ãã]/}}return sA=1,iA=e,e.displayName="applescript",e.aliases=[],iA}()),e.register(function(){if(cA)return lA;function e(e){e.languages.aql={comment:/\/\/.*|\/\*[\s\S]*?\*\//,property:{pattern:/([{,]\s*)(?:(?!\d)\w+|(["'´`])(?:(?!\2)[^\\\r\n]|\\.)*\2)(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},identifier:{pattern:/([´`])(?:(?!\1)[^\\\r\n]|\\.)*\1/,greedy:!0},variable:/@@?\w+/,keyword:[{pattern:/(\bWITH\s+)COUNT(?=\s+INTO\b)/i,lookbehind:!0},/\b(?:AGGREGATE|ALL|AND|ANY|ASC|COLLECT|DESC|DISTINCT|FILTER|FOR|GRAPH|IN|INBOUND|INSERT|INTO|K_PATHS|K_SHORTEST_PATHS|LET|LIKE|LIMIT|NONE|NOT|NULL|OR|OUTBOUND|REMOVE|REPLACE|RETURN|SHORTEST_PATH|SORT|UPDATE|UPSERT|WINDOW|WITH)\b/i,{pattern:/(^|[^\w.[])(?:KEEP|PRUNE|SEARCH|TO)\b/i,lookbehind:!0},{pattern:/(^|[^\w.[])(?:CURRENT|NEW|OLD)\b/,lookbehind:!0},{pattern:/\bOPTIONS(?=\s*\{)/i}],function:/\b(?!\d)\w+(?=\s*\()/,boolean:/\b(?:false|true)\b/i,range:{pattern:/\.\./,alias:"operator"},number:[/\b0b[01]+/i,/\b0x[0-9a-f]+/i,/(?:\B\.\d+|\b(?:0|[1-9]\d*)(?:\.\d+)?)(?:e[+-]?\d+)?/i],operator:/\*{2,}|[=!]~|[!=<>
152]=?|&&|\|\||[-+*/%]/,punctuation:/::|[?.:,;()[\]{}]/}}return cA=1,lA=e,e.displayName="aql",e.aliases=[],lA}()),e.register(function(){if(hA)return mA;hA=1;var e=YM();function t(t){t.register(e),t.languages.arduino=t.languages.extend("cpp",{keyword:/\b(?:String|array|bool|boolean|break|byte|case|catch|continue|default|do|double|else|finally|for|function|goto|if|in|instanceof|int|integer|long|loop|new|null|return|setup|string|switch|throw|try|void|while|word)\b/,constant:/\b(?:ANALOG_MESSAGE|DEFAULT|DIGITAL_MESSAGE|EXTERNAL|FIRMATA_STRING|HIGH|INPUT|INPUT_PULLUP|INTERNAL|INTERNAL1V1|INTERNAL2V56|LED_BUILTIN|LOW|OUTPUT|REPORT_ANALOG|REPORT_DIGITAL|SET_PIN_MODE|SYSEX_START|SYSTEM_RESET)\b/,builtin:/\b(?:Audio|BSSID|Bridge|Client|Console|EEPROM|Esplora|EsploraTFT|Ethernet|EthernetClient|EthernetServer|EthernetUDP|File|FileIO|FileSystem|Firmata|GPRS|GSM|GSMBand|GSMClient|GSMModem|GSMPIN|GSMScanner|GSMServer|GSMVoiceCall|GSM_SMS|HttpClient|IPAddress|IRread|Keyboard|KeyboardController|LiquidCrystal|LiquidCrystal_I2C|Mailbox|Mouse|MouseController|PImage|Process|RSSI|RobotControl|RobotMotor|SD|SPI|SSID|Scheduler|Serial|Server|Servo|SoftwareSerial|Stepper|Stream|TFT|Task|USBHost|WiFi|WiFiClient|WiFiServer|WiFiUDP|Wire|YunClient|YunServer|abs|addParameter|analogRead|analogReadResolution|analogReference|analogWrite|analogWriteResolution|answerCall|attach|attachGPRS|attachInterrupt|attached|autoscroll|available|background|beep|begin|beginPacket|beginSD|beginSMS|beginSpeaker|beginTFT|beginTransmission|beginWrite|bit|bitClear|bitRead|bitSet|bitWrite|blink|blinkVersion|buffer|changePIN|checkPIN|checkPUK|checkReg|circle|cityNameRead|cityNameWrite|clear|clearScreen|click|close|compassRead|config|connect|connected|constrain|cos|countryNameRead|countryNameWrite|createChar|cursor|debugPrint|delay|delayMicroseconds|detach|detachInterrupt|digitalRead|digitalWrite|disconnect|display|displayLogos|drawBMP|drawCompass|encryptionType|end|endPacket|endSMS|endTransmission|endWrite|exists|exitValue|fill|find|findUntil|flush|gatewayIP|get|getAsynchronously|getBand|getButton|getCurrentCarrier|getIMEI|getKey|getModifiers|getOemKey|getPINUsed|getResult|getSignalStrength|getSocket|getVoiceCallStatus|getXChange|getYChange|hangCall|height|highByte|home|image|interrupts|isActionDone|isDirectory|isListening|isPIN|isPressed|isValid|keyPressed|keyReleased|keyboardRead|knobRead|leftToRight|line|lineFollowConfig|listen|listenOnLocalhost|loadImage|localIP|lowByte|macAddress|maintain|map|max|messageAvailable|micros|millis|min|mkdir|motorsStop|motorsWrite|mouseDragged|mouseMoved|mousePressed|mouseReleased|move|noAutoscroll|noBlink|noBuffer|noCursor|noDisplay|noFill|noInterrupts|noListenOnLocalhost|noStroke|noTone|onReceive|onRequest|open|openNextFile|overflow|parseCommand|parseFloat|parseInt|parsePacket|pauseMode|peek|pinMode|playFile|playMelody|point|pointTo|position|pow|prepare|press|print|printFirmwareVersion|printVersion|println|process|processInput|pulseIn|put|random|randomSeed|read|readAccelerometer|readBlue|readButton|readBytes|readBytesUntil|readGreen|readJoystickButton|readJoystickSwitch|readJoystickX|readJoystickY|readLightSensor|readMessage|readMicrophone|readNetworks|readRed|readSlider|readString|readStringUntil|readTemperature|ready|rect|release|releaseAll|remoteIP|remoteNumber|remotePort|remove|requestFrom|retrieveCallingNumber|rewindDirectory|rightToLeft|rmdir|robotNameRead|robotNameWrite|run|runAsynchronously|runShellCommand|runShellCommandAsynchronously|running|scanNetworks|scrollDisplayLeft|scrollDisplayRight|seek|sendAnalog|sendDigitalPortPair|sendDigitalPorts|sendString|sendSysex|serialEvent|setBand|setBitOrder|setClockDivider|setCursor|setDNS|setDataMode|setFirmwareVersion|setMode|setPINUsed|setSpeed|setTextSize|setTimeout|shiftIn|shiftOut|shutdown|sin|size|sqrt|startLoop|step|stop|stroke|subnetMask|switchPIN|tan|tempoWrite|text|tone|transfer|tuneWrite|turn|updateIR|userNameRead|userNameWrite|voiceCall|waitContinue|width|write|writeBlue|writeGreen|writeJSON|writeMessage|writeMicroseconds|writeRGB|writeRed|yield)\b/}),t.languages.ino=t.languages.arduino}return mA=t,t.displayName="arduino",t.aliases=["ino"],mA}()),e.register(function(){if(bA)return gA;
152function e(e){e.languages.arff={comment:/%.*/,string:{pattern:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/@(?:attribute|data|end|relation)\b/i,number:/\b\d+(?:\.\d+)?\b/,punctuation:/[{},]/}}return bA=1,gA=e,e.displayName="arff",e.aliases=[],gA}()),e.register(function(){if(vA)return yA;function e(e){!function(e){var t={pattern:/(^[ \t]*)\[(?!\[)(?:(["'$`])(?:(?!\2)[^\\]|\\.)*\2|\[(?:[^\[\]\\]|\\.)*\]|[^\[\]\\"'$`]|\\.)*\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\1)[^\\]|\\.)*\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\]|\\.)*'/,inside:{punctuation:/^'|'$/}},string:/"(?:[^"\\]|\\.)*"/,variable:/\w+(?==)/,punctuation:/^\[|\]$|,/,operator:/=/,"attr-value":/(?!^\s+$).+/}},n=e.languages.asciidoc={"comment-block":{pattern:/^(\/{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1/m,alias:"comment"},table:{pattern:/^\|={3,}(?:(?:\r?\n|\r(?!\n)).*)*?(?:\r?\n|\r)\|={3,}$/m,inside:{specifiers:{pattern:/(?:(?:(?:\d+(?:\.\d+)?|\.\d+)[+*](?:[<^>](?:\.[<^>])?|\.[<^>])?|[<^>](?:\.[<^>])?|\.[<^>])[a-z]*|[a-z]+)(?=\|)/,alias:"attr-value"},punctuation:{pattern:/(^|[^\\])[|!]=*/,lookbehind:!0}}},"passthrough-block":{pattern:/^(\+{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^\++|\++$/}},"literal-block":{pattern:/^(-{4,}|\.{4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\.+)|(?:-+|\.+)$/}},"other-block":{pattern:/^(--|\*{4,}|_{4,}|={4,})(?:\r?\n|\r)(?:[\s\S]*(?:\r?\n|\r))??\1$/m,inside:{punctuation:/^(?:-+|\*+|_+|=+)|(?:-+|\*+|_+|=+)$/}},"list-punctuation":{pattern:/(^[ \t]*)(?:-|\*{1,5}|\.{1,5}|(?:[a-z]|\d+)\.|[xvi]+\))(?= )/im,lookbehind:!0,alias:"punctuation"},"list-label":{pattern:/(^[ \t]*)[a-z\d].+(?::{2,4}|;;)(?=\s)/im,lookbehind:!0,alias:"symbol"},"indented-block":{pattern:/((\r?\n|\r)\2)([ \t]+)\S.*(?:(?:\r?\n|\r)\3.+)*(?=\2{2}|$)/,lookbehind:!0},comment:/^\/\/.*/m,title:{pattern:/^.+(?:\r?\n|\r)(?:={3,}|-{3,}|~{3,}|\^{3,}|\+{3,})$|^={1,5} .+|^\.(?![\s.]).*/m,alias:"important",inside:{punctuation:/^(?:\.|=+)|(?:=+|-+|~+|\^+|\++)$/}},"attribute-entry":{pattern:/^:[^:\r\n]+:(?: .*?(?: \+(?:\r?\n|\r).*?)*)?$/m,alias:"tag"},attributes:t,hr:{pattern:/^'{3,}$/m,alias:"punctuation"},"page-break":{pattern:/^<{3,}$/m,alias:"punctuation"},admonition:{pattern:/^(?:CAUTION|IMPORTANT|NOTE|TIP|WARNING):/m,alias:"keyword"},callout:[{pattern:/(^[ \t]*)<?\d*>/m,lookbehind:!0,alias:"symbol"},{pattern:/<\d+>/,alias:"symbol"}],macro:{pattern:/\b[a-z\d][a-z\d-]*::?(?:[^\s\[\]]*\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:{function:/^[a-z\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\[(?:[^\]\\"']|(["'])(?:(?!\1)[^\\]|\\.)*\1|\\.)*\])/,inside:t.inside}}},inline:{pattern:/(^|[^\\])(?:(?:\B\[(?:[^\]\\"']|(["'])(?:(?!\2)[^\\]|\\.)*\2|\\.)*\])?(?:\b_(?!\s)(?: _|[^_\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: _|[^_\\\r\n]|\\.)+)*_\b|\B``(?!\s).+?(?:(?:\r?\n|\r).+?)*''\B|\B`(?!\s)(?:[^`'\s]|\s+\S)+['`]\B|\B(['*+#])(?!\s)(?: \3|(?!\3)[^\\\r\n]|\\.)+(?:(?:\r?\n|\r)(?: \3|(?!\3)[^\\\r\n]|\\.)+)*\3\B)|(?:\[(?:[^\]\\"']|(["'])(?:(?!\4)[^\\]|\\.)*\4|\\.)*\])?(?:(__|\*\*|\+\+\+?|##|\$\$|[~^]).+?(?:(?:\r?\n|\r).+?)*\5|\{[^}\r\n]+\}|\[\[\[?.+?(?:(?:\r?\n|\r).+?)*\]?\]\]|<<.+?(?:(?:\r?\n|\r).+?)*>>|\(\(\(?.+?(?:(?:\r?\n|\r).+?)*\)?\)\)))/m,lookbehind:!0,inside:{attributes:t,url:{pattern:/^(?:\[\[\[?.+?\]?\]\]|<<.+?>>)$/,inside:{punctuation:/^(?:\[\[\[?|<<)|(?:\]\]\]?|>>)$/}},"attribute-ref":{pattern:/^\{.+\}$/,inside:{variable:{pattern:/(^\{)[a-z\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\{|\}$|::?/}},italic:{pattern:/^(['_])[\s\S]+\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\*[\s\S]+\*$/,inside:{punctuation:/^\*\*?|\*\*?$/}},punctuation:/^(?:``?|\+{1,3}|##?|\$\$|[~^]|\(\(\(?)|(?:''?|\+{1,3}|##?|\$\$|[~^`]|\)?\)\))$/}},replacement:{pattern:/\((?:C|R|TM)\)/,alias:"builtin"},entity:/&#?[\da-z]{1,8};/i,"line-continuation":{pattern:/(^| )\+$/m,lookbehind:!0,alias:"punctuation"}};function r(e){for(var t={},r=0,a=(e=e.split(" ")).length;r<a;r++)t[e[r]]=n[e[r]];return t}t.inside.interpreted.inside.rest=r("macro inline replacement entity"),n["passthrough-block"].inside.rest=r("macro"),n["literal-block"].inside.rest=r("callout"),n.table.inside.rest=r("comment-block passthrough-block literal-block other-block list-punctuation indented-block comment title attribute-entry attributes hr page-break admonition list-label callout macro inline replacement entity line-continuation"),n["other-block"].inside.rest=r("table list-punctuation indented-block comment attribute-entry attributes hr page-break admonition list-label macro inline replacement entity line-continuation"),n.title.inside.rest=r("macro inline replacement entity"),e.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.value.replace(/&/,"&"))}),e.languages.adoc=e.languages.asciidoc}(e)}return vA=1,yA=e,e.displayName="asciidoc",e.aliases=["adoc"],yA}()),e.register(function(){if(SA)return xA;function e(e){e.languages.asm6502={comment:/;.*/,directive:{pattern:/\.\w+(?= )/,alias:"property"},string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,"op-code":{pattern:/\b(?:ADC|AND|ASL|BCC|BCS|BEQ|BIT|BMI|BNE|BPL|BRK|BVC|BVS|CLC|CLD|CLI|CLV|CMP|CPX|CPY|DEC|DEX|DEY|EOR|INC|INX|INY|JMP|JSR|LDA|LDX|LDY|LSR|NOP|ORA|PHA|PHP|PLA|PLP|ROL|ROR|RTI|RTS|SBC|SEC|SED|SEI|STA|STX|STY|TAX|TAY|TSX|T
152XA|TXS|TYA|adc|and|asl|bcc|bcs|beq|bit|bmi|bne|bpl|brk|bvc|bvs|clc|cld|cli|clv|cmp|cpx|cpy|dec|dex|dey|eor|inc|inx|iny|jmp|jsr|lda|ldx|ldy|lsr|nop|ora|pha|php|pla|plp|rol|ror|rti|rts|sbc|sec|sed|sei|sta|stx|sty|tax|tay|tsx|txa|txs|tya)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{1,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[xya]\b/i,alias:"variable"},punctuation:/[(),:]/}}return SA=1,xA=e,e.displayName="asm6502",e.aliases=[],xA}()),e.register(function(){if(EA)return wA;function e(e){e.languages.asmatmel={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},constant:/\b(?:PORT[A-Z]|DDR[A-Z]|(?:DD|P)[A-Z](?:\d|[0-2]\d|3[01]))\b/,directive:{pattern:/\.\w+(?= )/,alias:"property"},"r-register":{pattern:/\br(?:\d|[12]\d|3[01])\b/,alias:"variable"},"op-code":{pattern:/\b(?:ADC|ADD|ADIW|AND|ANDI|ASR|BCLR|BLD|BRBC|BRBS|BRCC|BRCS|BREAK|BREQ|BRGE|BRHC|BRHS|BRID|BRIE|BRLO|BRLT|BRMI|BRNE|BRPL|BRSH|BRTC|BRTS|BRVC|BRVS|BSET|BST|CALL|CBI|CBR|CLC|CLH|CLI|CLN|CLR|CLS|CLT|CLV|CLZ|COM|CP|CPC|CPI|CPSE|DEC|DES|EICALL|EIJMP|ELPM|EOR|FMUL|FMULS|FMULSU|ICALL|IJMP|IN|INC|JMP|LAC|LAS|LAT|LD|LD[A-Za-z0-9]|LPM|LSL|LSR|MOV|MOVW|MUL|MULS|MULSU|NEG|NOP|OR|ORI|OUT|POP|PUSH|RCALL|RET|RETI|RJMP|ROL|ROR|SBC|SBCI|SBI|SBIC|SBIS|SBIW|SBR|SBRC|SBRS|SEC|SEH|SEI|SEN|SER|SES|SET|SEV|SEZ|SLEEP|SPM|ST|ST[A-Z0-9]|SUB|SUBI|SWAP|TST|WDR|XCH|adc|add|adiw|and|andi|asr|bclr|bld|brbc|brbs|brcc|brcs|break|breq|brge|brhc|brhs|brid|brie|brlo|brlt|brmi|brne|brpl|brsh|brtc|brts|brvc|brvs|bset|bst|call|cbi|cbr|clc|clh|cli|cln|clr|cls|clt|clv|clz|com|cp|cpc|cpi|cpse|dec|des|eicall|eijmp|elpm|eor|fmul|fmuls|fmulsu|icall|ijmp|in|inc|jmp|lac|las|lat|ld|ld[a-z0-9]|lpm|lsl|lsr|mov|movw|mul|muls|mulsu|neg|nop|or|ori|out|pop|push|rcall|ret|reti|rjmp|rol|ror|sbc|sbci|sbi|sbic|sbis|sbiw|sbr|sbrc|sbrs|sec|seh|sei|sen|ser|ses|set|sev|sez|sleep|spm|st|st[a-zA-Z0-9]|sub|subi|swap|tst|wdr|xch)\b/,alias:"keyword"},"hex-number":{pattern:/#?\$[\da-f]{2,4}\b/i,alias:"number"},"binary-number":{pattern:/#?%[01]+\b/,alias:"number"},"decimal-number":{pattern:/#?\b\d+\b/,alias:"number"},register:{pattern:/\b[acznvshtixy]\b/i,alias:"variable"},operator:/>>=?|<<=?|&&?|\|\|?|[-+*/%&|^!=<>?]=?/,punctuation:/[(),:]/}}return EA=1,wA=e,e.displayName="asmatmel",e.aliases=[],wA}()),e.register(function(){if(AA)return TA;AA=1;var e=XM();function t(t){t.register(e),t.languages.aspnet=t.languages.extend("markup",{"page-directive":{pattern:/<%\s*@.*%>/,alias:"tag",inside:{"page-directive":{pattern:/<%\s*@\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,alias:"tag"},rest:t.languages.markup.tag.inside}},directive:{pattern:/<%.*%>/,alias:"tag",inside:{directive:{pattern:/<%\s*?[$=%#:]{0,2}|%>/,alias:"tag"},rest:t.languages.csharp}}}),t.languages.aspnet.tag.pattern=/<(?!%)\/?[^\s>\/]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,t.languages.insertBefore("inside","punctuation",{directive:t.languages.aspnet.directive},t.languages.aspnet.tag.inside["attr-value"]),t.languages.insertBefore("aspnet","comment",{"asp-comment":{pattern:/<%--[\s\S]*?--%>/,alias:["asp","comment"]}}),t.languages.insertBefore("aspnet",t.languages.javascript?"script":"tag",{"asp-script":{pattern:/(<script(?=.*runat=['"]?server\b)[^>]*>)[\s\S]*?(?=<\/script>)/i,lookbehind:!0,alias:["asp","script"],inside:t.languages.csharp||{}}})}return TA=t,t.displayName="aspnet",t.aliases=[],TA}()),e.register(function(){if(NA)return IA;function e(e){e.languages.autohotkey={comment:[{pattern:/(^|\s);.*/,lookbehind:!0},{pattern:/(^[\t ]*)\/\*(?:[\r\n](?![ \t]*\*\/)|[^\r\n])*(?:[\r\n][ \t]*\*\/)?/m,lookbehind:!0,greedy:!0}],tag:{pattern:/^([ \t]*)[^\s,`":]+(?=:[ \t]*$)/m,lookbehind:!0},string:/"(?:[^"\n\r]|"")*"/,variable:/%\w+%/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/\?|\/\/?=?|:=|\|[=|]?|&[=&]?|\+[=+]?|-[=-]?|\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\b(?:AND|NOT|OR)\b/,boolean:/\b(?:false|true)\b/,selector:/\b(?:AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetRegVie
152w|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/i,constant:/\b(?:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guicontrol|a_guicontrolevent|a_guievent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles)\b/i,builtin:/\b(?:abs|acos|asc|asin|atan|ceil|chr|class|comobjactive|comobjarray|comobjconnect|comobjcreate|comobjerror|comobjflags|comobjget|comobjquery|comobjtype|comobjvalue|cos|dllcall|exp|fileexist|Fileopen|floor|format|il_add|il_create|il_destroy|instr|isfunc|islabel|IsObject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|numget|numput|onmessage|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strlen|strreplace|strsplit|substr|tan|tv_add|tv_delete|tv_get|tv_getchild|tv_getcount|tv_getnext|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__Call|__Get|__New|__Set)\b/i,symbol:/\b(?:alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|r
152win|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\b/i,important:/#\b(?:AllowSameLineComments|ClipboardTimeout|CommentFlag|DerefChar|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|If|IfTimeout|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InputLevel|InstallKeybdHook|InstallMouseHook|KeyHistory|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|MenuMaskKey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|Warn|WinActivateForce)\b/i,keyword:/\b(?:Abort|AboveNormal|Add|ahk_class|ahk_exe|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Catch|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|Finally|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|Region|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Throw|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|Try|TryAgain|Type|UnCheck|underline|Unicode|Unlock|Until|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\b/i,function:/[^(); \t,\n+*\-=?>:\\\/<&%\[\]]+(?=\()/,punctuation:/[{}[\]():,]/}}return NA=1,IA=e,e.displayName="autohotkey",e.aliases=[],IA}()),e.register(function(){if(RA)return _A;function e(e){e.languages.autoit={comment:[/;.*/,{pattern:/(^[\t ]*)#(?:comments-start|cs)[\s\S]*?^[ \t]*#(?:ce|comments-end)/m,lookbehind:!0}],url:{pattern:/(^[\t ]*#include\s+)(?:<[^\r\n>]+>|"[^\r\n"]+")/m,lookbehind:!0},string:{pattern:/(["'])(?:\1\1|(?!\1)[^\r\n])*\1/,greedy:!0,inside:{variable:/([%$@])\w+\1/}},directive:{pattern:/(^[\t ]*)#[\w-]+/m,lookbehind:!0,alias:"keyword"},function:/\b\w+(?=\()/,variable:/[$@]\w+/,keyword:/\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\b/i,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,boolean:/\b(?:False|True)\b/i,operator:/<[=>]?|[-+*\/=&>]=?|[?^]|\b(?:And|Not|Or)\b/i,punctuation:/[\[\]().,:]/}}return RA=1,_A=e,e.displayName="autoit",e.aliases=[],_A}()),e.register(function(){if(LA)return OA;function e(e){!function(e){function t(e,t,n){return RegExp(function(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return t[+n]})}(e,t),n)}var n=/bool|clip|float|int|string|val/.source,r=[[/is(?:bool|clip|float|int|string)|defined|(?:(?:internal)?function|var)?exists?/.source,/apply|assert|default|eval|import|nop|select|undefined/.source,/opt_(?:
vendor: 4,595 bytes, line 152
152allowfloataudio|avipadscanlines|dwchannelmask|enable_(?:b64a|planartopackedrgb|v210|y3_10_10|y3_10_16)|usewaveextensible|vdubplanarhack)|set(?:cachemode|maxcpu|memorymax|planarlegacyalignment|workingdir)/.source,/hex(?:value)?|value/.source,/abs|ceil|continued(?:denominator|numerator)?|exp|floor|fmod|frac|log(?:10)?|max|min|muldiv|pi|pow|rand|round|sign|spline|sqrt/.source,/a?sinh?|a?cosh?|a?tan[2h]?/.source,/(?:bit(?:and|not|x?or|[lr]?shift[aslu]?|sh[lr]|sa[lr]|[lr]rotatel?|ro[rl]|te?st|set(?:count)?|cl(?:ea)?r|ch(?:an)?ge?))/.source,/average(?:[bgr]|chroma[uv]|luma)|(?:[rgb]|chroma[uv]|luma|rgb|[yuv](?=difference(?:fromprevious|tonext)))difference(?:fromprevious|tonext)?|[yuvrgb]plane(?:median|min|max|minmaxdifference)/.source,/getprocessinfo|logmsg|script(?:dir(?:utf8)?|file(?:utf8)?|name(?:utf8)?)|setlogparams/.source,/chr|(?:fill|find|left|mid|replace|rev|right)str|format|[lu]case|ord|str(?:cmpi?|fromutf8|len|toutf8)|time|trim(?:all|left|right)/.source,/isversionorgreater|version(?:number|string)/.source,/buildpixeltype|colorspacenametopixeltype/.source,/addautoloaddir|on(?:cpu|cuda)|prefetch|setfiltermtmode/.source].join("|"),[/has(?:audio|video)/.source,/height|width/.source,/frame(?:count|rate)|framerate(?:denominator|numerator)/.source,/getparity|is(?:field|frame)based/.source,/bitspercomponent|componentsize|hasalpha|is(?:planar(?:rgba?)?|interleaved|rgb(?:24|32|48|64)?|y(?:8|u(?:va?|y2))?|yv(?:12|16|24|411)|420|422|444|packedrgb)|numcomponents|pixeltype/.source,/audio(?:bits|channels|duration|length(?:[fs]|hi|lo)?|rate)|isaudio(?:float|int)/.source].join("|"),[/avi(?:file)?source|directshowsource|image(?:reader|source|sourceanim)|opendmlsource|segmented(?:avisource|directshowsource)|wavsource/.source,/coloryuv|convertbacktoyuy2|convertto(?:RGB(?:24|32|48|64)|(?:planar)?RGBA?|Y8?|YV(?:12|16|24|411)|YUVA?(?:411|420|422|444)|YUY2)|fixluminance|gr[ae]yscale|invert|levels|limiter|mergea?rgb|merge(?:chroma|luma)|rgbadjust|show(?:alpha|blue|green|red)|swapuv|tweak|[uv]toy8?|ytouv/.source,/(?:colorkey|reset)mask|layer|mask(?:hs)?|merge|overlay|subtract/.source,/addborders|(?:bicubic|bilinear|blackman|gauss|lanczos4|lanczos|point|sinc|spline(?:16|36|64))resize|crop(?:bottom)?|flip(?:horizontal|vertical)|(?:horizontal|vertical)?reduceby2|letterbox|skewrows|turn(?:180|left|right)/.source,/blur|fixbrokenchromaupsampling|generalconvolution|(?:spatial|temporal)soften|sharpen/.source,/trim|(?:un)?alignedsplice|(?:assume|assumescaled|change|convert)FPS|(?:delete|duplicate)frame|dissolve|fade(?:in|io|out)[02]?|freezeframe|interleave|loop|reverse|select(?:even|odd|(?:range)?every)/.source,/assume[bt]ff|assume(?:field|frame)based|bob|complementparity|doubleweave|peculiarblend|pulldown|separate(?:columns|fields|rows)|swapfields|weave(?:columns|rows)?/.source,/amplify(?:db)?|assumesamplerate|audiodub(?:ex)?|audiotrim|convertaudioto(?:(?:8|16|24|32)bit|float)|converttomono|delayaudio|ensurevbrmp3sync|get(?:left|right)?channel|kill(?:audio|video)|mergechannels|mixaudio|monotostereo|normalize|resampleaudio|ssrc|supereq|timestretch/.source,/animate|applyrange|conditional(?:filter|reader|select)|frameevaluate|scriptclip|tcp(?:server|source)|writefile(?:end|if|start)?/.source,/imagewriter/.source,/blackness|blankclip|colorbars(?:hd)?|compare|dumpfiltergraph|echo|histogram|info|messageclip|preroll|setgraphanalysis|show(?:framenumber|smpte|time)|showfiveversions|stack(?:horizontal|vertical)|subtitle|tone|version/.source].join("|")].join("|");e.languages.avisynth={comment:[{pattern:/(^|[^\\])\[\*(?:[^\[*]|\[(?!\*)|\*(?!\])|\[\*(?:[^\[*]|\[(?!\*)|\*(?!\]))*\*\])*\*\]/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],argument:{pattern:t(/\b(?:<<0>>)\s+("?)\w+\1/.source,[n],"i"),inside:{keyword:/^\w+/}},"argument-label":{pattern:/([,(][\s\\]*)\w+\s*=(?!=)/,lookbehind:!0,inside:{"argument-name":{pattern:/^\w+/,alias:"punctuation"},punctuation:/=$/}},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0,inside:{constant:{pattern:/\b(?:DEFAULT_MT_MODE|(?:MAINSCRIPT|PROGRAM|SCRIPT)DIR|(?:MACHINE|USER)_(?:CLASSIC|PLUS)_PLUGINS)\b/}}}],variable:/\b(?:last)\b/i,boolean:/\b(?:false|no|true|yes)\b/i,keyword:/\b(?:catch|else|for|function|global|if|return|try|while|__END__)\b/i,constant:/\bMT_(?:MULTI_INSTANCE|NICE_FILTER|SERIALIZED|SPECIAL_MT)\b/,"builtin-function":{pattern:t(/\b(?:<<0>>)\b/.source,[r],"i"),alias:"function"},"type-cast":{pattern:t(/\b(?:<<0>>)(?=\s*\()/.source,[n],"i"),alias:"keyword"}
152,function:{pattern:/\b[a-z_]\w*(?=\s*\()|(\.)[a-z_]\w*\b/i,lookbehind:!0},"line-continuation":{pattern:/(^[ \t]*)\\|\\(?=[ \t]*$)/m,lookbehind:!0,alias:"punctuation"},number:/\B\$(?:[\da-f]{6}|[\da-f]{8})\b|(?:(?:\b|\B-)\d+(?:\.\d*)?\b|\B\.\d+\b)/i,operator:/\+\+?|[!=<>]=?|&&|\|\||[?:*/%-]/,punctuation:/[{}\[\]();,.]/},e.languages.avs=e.languages.avisynth}(e)}return LA=1,OA=e,e.displayName="avisynth",e.aliases=["avs"],OA}()),e.register(function(){if(PA)return DA;function e(e){e.languages["avro-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0},annotation:{pattern:/@(?:[$\w.-]|`[^\r\n`]+`)+/,greedy:!0,alias:"function"},"function-identifier":{pattern:/`[^\r\n`]+`(?=\s*\()/,greedy:!0,alias:"function"},identifier:{pattern:/`[^\r\n`]+`/,greedy:!0},"class-name":{pattern:/(\b(?:enum|error|protocol|record|throws)\b\s+)[$\w]+/,lookbehind:!0,greedy:!0},keyword:/\b(?:array|boolean|bytes|date|decimal|double|enum|error|false|fixed|float|idl|import|int|local_timestamp_ms|long|map|null|oneway|protocol|record|schema|string|throws|time_ms|timestamp_ms|true|union|uuid|void)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:[{pattern:/(^|[^\w.])-?(?:(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|0x(?:[a-f0-9]+(?:\.[a-f0-9]*)?|\.[a-f0-9]+)(?:p[+-]?\d+)?)[dfl]?(?![\w.])/i,lookbehind:!0},/-?\b(?:Infinity|NaN)\b/],operator:/=/,punctuation:/[()\[\]{}<>.:,;-]/},e.languages.avdl=e.languages["avro-idl"]}return PA=1,DA=e,e.displayName="avroIdl",e.aliases=[],DA}()),e.register(KM()),e.register(ZM()),e.register(function(){if(BA)return $A;function e(e){!function(e){var t=/%%?[~:\w]+%?|!\S+!/,n={pattern:/\/[a-z?]+(?=[ :]|$):?|-[a-z]\b|--[a-z-]+\b/im,alias:"attr-name",inside:{punctuation:/:/}},r=/"(?:[\\"]"|[^"])*"(?!")/,a=/(?:\b|-)\d+\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \t]*)rem\b(?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:"property"},command:[{pattern:/((?:^|[&(])[ \t]*)for(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* \S+ in \([^)]+\) do/im,lookbehind:!0,inside:{keyword:/\b(?:do|in)\b|^for\b/i,string:r,parameter:n,variable:t,number:a,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*)if(?: \/[a-z?](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:not )?(?:cmdextversion \d+|defined \w+|errorlevel \d+|exist \S+|(?:"[^"]*"|(?!")(?:(?!==)\S)+)?(?:==| (?:equ|geq|gtr|leq|lss|neq) )(?:"[^"]*"|[^\s"]\S*))/im,lookbehind:!0,inside:{keyword:/\b(?:cmdextversion|defined|errorlevel|exist|not)\b|^if\b/i,string:r,parameter:n,variable:t,number:a,operator:/\^|==|\b(?:equ|geq|gtr|leq|lss|neq)\b/i}},{pattern:/((?:^|[&()])[ \t]*)else\b/im,lookbehind:!0,inside:{keyword:/^else\b/i}},{pattern:/((?:^|[&(])[ \t]*)set(?: \/[a-z](?:[ :](?:"[^"]*"|[^\s"/]\S*))?)* (?:[^^&)\r\n]|\^(?:\r\n|[\s\S]))*/im,lookbehind:!0,inside:{keyword:/^set\b/i,string:r,parameter:n,variable:[t,/\w+(?=(?:[*\/%+\-&^|]|<<|>>)?=)/],number:a,operator:/[*\/%+\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \t]*@?)\w+\b(?:"(?:[\\"]"|[^"])*"(?!")|[^"^&)\r\n]|\^(?:\r\n|[\s\S]))*/m,lookbehind:!0,inside:{keyword:/^\w+\b/,string:r,parameter:n,label:{pattern:/(^\s*):\S+/m,lookbehind:!0,alias:"property"},variable:t,number:a,operator:/\^/}}],operator:/[&@]/,punctuation:/[()']/}}(e)}return BA=1,$A=e,e.displayName="batch",e.aliases=[],$A}()),e.register(function(){if(HA)return UA;function e(e){e.languages.bbcode={tag:{pattern:/\[\/?[^\s=\]]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))?(?:\s+[^\s=\]]+\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+))*\s*\]/,inside:{tag:{pattern:/^\[\/?[^\s=\]]+/,inside:{punctuation:/^\[\/?/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'"\]=]+)/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\]/,"attr-name":/[^\s=\]]+/}}},e.languages.shortcode=e.languages.bbcode}return HA=1,UA=e,e.displayName="bbcode",e.aliases=["shortcode"],UA}()),e.register(function(){if(WA)return VA;function e(e){e.languages.bicep={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}
vendor: 10,094 bytes, line 152
152],property:[{pattern:/([\r\n][ \t]*)[a-z_]\w*(?=[ \t]*:)/i,lookbehind:!0},{pattern:/([\r\n][ \t]*)'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'(?=[ \t]*:)/,lookbehind:!0,greedy:!0}],string:[{pattern:/'''[^'][\s\S]*?'''/,greedy:!0},{pattern:/(^|[^\\'])'(?:\\.|\$(?!\{)|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0}],"interpolated-string":{pattern:/(^|[^\\'])'(?:\\.|\$(?:(?!\{)|\{[^{}\r\n]*\})|[^'\\\r\n$])*'/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}\r\n]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0},punctuation:/^\$\{|\}$/}},string:/[\s\S]+/}},datatype:{pattern:/(\b(?:output|param)\b[ \t]+\w+[ \t]+)\w+\b/,lookbehind:!0,alias:"class-name"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:existing|for|if|in|module|null|output|param|resource|targetScope|var)\b/,decorator:/@\w+\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/,punctuation:/[{}[\];(),.:]/},e.languages.bicep["interpolated-string"].inside.interpolation.inside.expression.inside=e.languages.bicep}return WA=1,VA=e,e.displayName="bicep",e.aliases=[],VA}()),e.register(function(){if(qA)return GA;function e(e){e.languages.birb=e.languages.extend("clike",{string:{pattern:/r?("|')(?:\\.|(?!\1)[^\\])*\1/,greedy:!0},"class-name":[/\b[A-Z](?:[\d_]*[a-zA-Z]\w*)?\b/,/\b(?:[A-Z]\w*|(?!(?:var|void)\b)[a-z]\w*)(?=\s+\w+\s*[;,=()])/],keyword:/\b(?:assert|break|case|class|const|default|else|enum|final|follows|for|grab|if|nest|new|next|noSeeb|return|static|switch|throw|var|void|while)\b/,operator:/\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?|:/,variable:/\b[a-z_]\w*\b/}),e.languages.insertBefore("birb","function",{metadata:{pattern:/<\w+>/,greedy:!0,alias:"symbol"}})}return qA=1,GA=e,e.displayName="birb",e.aliases=[],GA}()),e.register(function(){if(XA)return YA;XA=1;var e=qM();function t(t){t.register(e),t.languages.bison=t.languages.extend("c",{}),t.languages.insertBefore("bison","comment",{bison:{pattern:/^(?:[^%]|%(?!%))*%%[\s\S]*?%%/,inside:{c:{pattern:/%\{[\s\S]*?%\}|\{(?:\{[^}]*\}|[^{}])*\}/,inside:{delimiter:{pattern:/^%?\{|%?\}$/,alias:"punctuation"},"bison-variable":{pattern:/[$@](?:<[^\s>]+>)?[\w$]+/,alias:"variable",inside:{punctuation:/<|>/}},rest:t.languages.c}},comment:t.languages.c.comment,string:t.languages.c.string,property:/\S+(?=:)/,keyword:/%\w+/,number:{pattern:/(^|[^@])\b(?:0x[\da-f]+|\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\[\]<>]/}}})}return YA=t,t.displayName="bison",t.aliases=[],YA}()),e.register(function(){if(ZA)return KA;function e(e){e.languages.bnf={string:{pattern:/"[^\r\n"]*"|'[^\r\n']*'/},definition:{pattern:/<[^<>\r\n\t]+>(?=\s*::=)/,alias:["rule","keyword"],inside:{punctuation:/^<|>$/}},rule:{pattern:/<[^<>\r\n\t]+>/,inside:{punctuation:/^<|>$/}},operator:/::=|[|()[\]{}*+?]|\.{3}/},e.languages.rbnf=e.languages.bnf}return ZA=1,KA=e,e.displayName="bnf",e.aliases=["rbnf"],KA}()),e.register(function(){if(QA)return JA;function e(e){e.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}}return QA=1,JA=e,e.displayName="brainfuck",e.aliases=[],JA}()),e.register(function(){if(tI)return eI;function e(e){e.languages.brightscript={comment:/(?:\brem|').*/i,"directive-statement":{pattern:/(^[\t ]*)#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if).*/im,lookbehind:!0,alias:"property",inside:{"error-message":{pattern:/(^#error).+/,lookbehind:!0},directive:{pattern:/^#(?:const|else(?:[\t ]+if)?|end[\t ]+if|error|if)/,alias:"keyword"},expression:{pattern:/[\s\S]+/,inside:null}}},property:{pattern:/([\r\n{,][\t ]*)(?:(?!\d)\w+|"(?:[^"\r\n]|"")*"(?!"))(?=[ \t]*:)/,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},"class-name":{pattern:/(\bAs[\t ]+)\w+/i,lookbehind:!0},keyword:/\b(?:As|Dim|Each|Else|Elseif|End|Exit|For|Function|Goto|If|In|Print|Return|Step|Stop|Sub|Then|To|While)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?!\d)\w+(?=[\t ]*\()/,number:/(?:\b\d+(?:\.\d+)?(?:[ed][+-]\d+)?|&h[a-f\d]+)\b[%&!#]?/i,operator:/--|\+\+|>>=?|<<=?|<>|[-+*/\\<>]=?|[:^=?]|\b(?:and|mod|not|or)\b/i,punctuation:/[.,;()[\]{}]/,constant:/\b(?:LINE_NUM)\b/i},e.languages.brightscript["directive-statement"].inside.expression.inside=e.languages.brightscript}return tI=1,eI=e,e.displayName="brightscript",e.aliases=[],eI}()),e.register(function(){if(rI)return nI;function e(e){e.languages.bro={comment:{pattern:/(^|[^\\$])#.*/,lookbehind:!0,inside:{italic:/\b(?:FIXME|TODO|XXX)\b/}},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},boolean:/\b[TF]\b/,function:{pattern:/(\b(?:event|function|hook)[ \t]+)\w+(?:::\w+)?/,lookbehind:!0},builtin:/(?:@(?:load(?:-(?:plugin|sigs))?|unload|prefixes|ifn?def|else|(?:end)?if|DIR|FILENAME))|(?:&?(?:add_func|create_expire|default|delete_func|encrypt|error_handler|expire_func|group|log|mergeable|optional|persistent|priority|raw_output|read_expire|redef|rotate_interval|rotate_size|synchronized|type_column|write_expire))/,constant:{pattern:/(\bconst[ \t]+)\w+/i,lookbehind:!0},keyword:/\b(?:add|addr|alarm|any|bool|break|const|continue|count|delete|double|else|enum|event|export|file|for|function|global|hook|if|in|int|interval|local|module|next|of|opaque|pattern|port|print|record|return|schedule|set|string|subnet|table|time|timeout|using|vector|when)\b/,operator:/--?|\+\+?|!=?=?|<=?|>=?|==?=?|&&|\|\|?|\?|\*|\/|~|\^|%/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,punctuation:/[{}[\];(),.:]/}}return rI=1,nI=e,e.displayName="bro",e.aliases=[],nI}()),e.register(function(){if(oI)return aI;function e(e){e.languages.bsl={comment:/\/\/.*/,string:[{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},{pattern:/'(?:[^'\r\n\\]|\\.)*'/}],keyword:[{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:пока|длÑ|новÑй|пÑеÑваÑÑ|попÑÑка|иÑклÑÑение|вÑзваÑÑиÑклÑÑение|инаÑе|конеÑпопÑÑки|неопÑеделено|ÑÑнкÑиÑ|пеÑем|возвÑаÑ|конеÑÑÑнкÑии|еÑли|инаÑееÑли|пÑоÑедÑÑа|конеÑпÑоÑедÑÑÑ|Ñогда|знаÑ|ÑкÑпоÑÑ|конеÑеÑли|из|каждого|иÑÑина|ложÑ|по|Ñикл|конеÑÑикла|вÑполниÑÑ)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:break|do|each|else|elseif|enddo|endfunction|endif|endprocedure|endtry|except|execute|export|false|for|function|if|in|new|null|procedure|raise|return|then|to|true|try|undefined|val|var|while)\b/i}],number:{pattern:/(^(?=\d)|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:\d+(?:\.\d*)?|\.\d+)(?:E[+-]?\d+)?/i,lookbehind:!0},operator:[/[<>+\-*/]=?|[%=]/,{pattern:/(^|[^\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])(?:и|или|не)(?![\w\u0400-\u0484\u0487-\u052f\u1d2b\u1d78\u2de0-\u2dff\ua640-\ua69f\ufe2e\ufe2f])/i,lookbehind:!0},{pattern:/\b(?:and|not|or)\b/i}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/,directive:[{pattern:/^([ \t]*)&.*/m,lookbehind:!0,greedy:!0,alias:"important"},{pattern:/^([ \t]*)#.*/gm,lookbehind:!0,greedy:!0,alias:"important"}]},e.languages.oscript=e.languages.bsl}return oI=1,aI=e,e.displayName="bsl",e.aliases=[],aI}()),e.register(qM()),e.register(function(){if(sI)return iI;function e(e){e.languages.cfscript=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,inside:{annotation:{pattern:/(?:^|[^.])@[\w\.]+/,alias:"punctuation"}}},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],keyword:/\b(?:abstract|break|catch|component|continue|default|do|else|extends|final|finally|for|function|if|in|include|package|private|property|public|remote|required|rethrow|return|static|switch|throw|try|var|while|xml)\b(?!\s*=)/,operator:[/\+\+|--|&&|\|\||::|=>|[!=]==|<=?|>=?|[-+*/%&|^!=<>]=?|\?(?:\.|:)?|[?:]/,/\b(?:and|contains|eq|equal|eqv|gt|gte|imp|is|lt|lte|mod|not|or|xor)\b/],scope:{pattern:/\b(?:application|arguments|cgi|client|cookie|local|session|super|this|variables)\b/,alias:"global"},type:{pattern:/\b(?:any|array|binary|boolean|date|guid|numeric|query|string|struct|uuid|void|xml)\b/,alias:"builtin"}}),e.languages.insertBefore("cfscript","keyword",{"function-variable":{pattern:/[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"}}),delete e.languages.cfscript["class-name"],e.languages.cfc=e.languages.cfscript}return sI=1,iI=e,e.displayName="cfscript",e.aliases=[],iI}()),e.register(function(){if(cI)return lI;cI=1;var e=YM();function t(t){t.register(e),t.languages.chaiscript=t.languages.extend("clike",{string:{pattern:/(^|[^\\])'(?:[^'\\]|\\[\s\S])*'/,lookbehind:!0,greedy:!0},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},{pattern:/(\b(?:attr|def)\s+)\w+(?=\s*::)/,lookbehind:!0}],keyword:/\b(?:attr|auto|break|case|catch|class|continue|def|default|else|finally|for|fun|global|if|return|switch|this|try|var|while)\b/,number:[t.languages.cpp.number,/\b(?:Infinity|NaN)\b/],operator:/>>=?|<<=?|\|\||&&|:[:=]?|--|\+\+|[=!<>+\-*/%|&^]=?|[?~]|`[^`\r\n]{1,4}`/}),t.languages.insertBefore("chaiscript","operator",{"parameter-type":{pattern:/([,(]\s*)\w+(?=\s+\w)/,lookbehind:!0,alias:"class-name"}}),t.languages.insertBefore("chaiscript","string",{"string-interpolation":{pattern:/(^|[^\\])"(?:[^"$\\]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\}/,lookbehind:!0,inside:{"interpolation-expression":{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.chaiscript},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"}}},string:/[\s\S]+/}}})}
152return lI=t,t.displayName="chaiscript",t.aliases=[],lI}()),e.register(function(){if(dI)return uI;function e(e){e.languages.cil={comment:/\/\/.*/,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},directive:{pattern:/(^|\W)\.[a-z]+(?=\s)/,lookbehind:!0,alias:"class-name"},variable:/\[[\w\.]+\]/,keyword:/\b(?:abstract|ansi|assembly|auto|autochar|beforefieldinit|bool|bstr|byvalstr|catch|char|cil|class|currency|date|decimal|default|enum|error|explicit|extends|extern|famandassem|family|famorassem|final(?:ly)?|float32|float64|hidebysig|u?int(?:8|16|32|64)?|iant|idispatch|implements|import|initonly|instance|interface|iunknown|literal|lpstr|lpstruct|lptstr|lpwstr|managed|method|native(?:Type)?|nested|newslot|object(?:ref)?|pinvokeimpl|private|privatescope|public|reqsecobj|rtspecialname|runtime|sealed|sequential|serializable|specialname|static|string|struct|syschar|tbstr|unicode|unmanagedexp|unsigned|value(?:type)?|variant|virtual|void)\b/,function:/\b(?:(?:constrained|no|readonly|tail|unaligned|volatile)\.)?(?:conv\.(?:[iu][1248]?|ovf\.[iu][1248]?(?:\.un)?|r\.un|r4|r8)|ldc\.(?:i4(?:\.\d+|\.[mM]1|\.s)?|i8|r4|r8)|ldelem(?:\.[iu][1248]?|\.r[48]|\.ref|a)?|ldind\.(?:[iu][1248]?|r[48]|ref)|stelem\.?(?:i[1248]?|r[48]|ref)?|stind\.(?:i[1248]?|r[48]|ref)?|end(?:fault|filter|finally)|ldarg(?:\.[0-3s]|a(?:\.s)?)?|ldloc(?:\.\d+|\.s)?|sub(?:\.ovf(?:\.un)?)?|mul(?:\.ovf(?:\.un)?)?|add(?:\.ovf(?:\.un)?)?|stloc(?:\.[0-3s])?|refany(?:type|val)|blt(?:\.un)?(?:\.s)?|ble(?:\.un)?(?:\.s)?|bgt(?:\.un)?(?:\.s)?|bge(?:\.un)?(?:\.s)?|unbox(?:\.any)?|init(?:blk|obj)|call(?:i|virt)?|brfalse(?:\.s)?|bne\.un(?:\.s)?|ldloca(?:\.s)?|brzero(?:\.s)?|brtrue(?:\.s)?|brnull(?:\.s)?|brinst(?:\.s)?|starg(?:\.s)?|leave(?:\.s)?|shr(?:\.un)?|rem(?:\.un)?|div(?:\.un)?|clt(?:\.un)?|alignment|castclass|ldvirtftn|beq(?:\.s)?|ckfinite|ldsflda|ldtoken|localloc|mkrefany|rethrow|cgt\.un|arglist|switch|stsfld|sizeof|newobj|newarr|ldsfld|ldnull|ldflda|isinst|throw|stobj|stfld|ldstr|ldobj|ldlen|ldftn|ldfld|cpobj|cpblk|break|br\.s|xor|shl|ret|pop|not|nop|neg|jmp|dup|cgt|ceq|box|and|or|br)\b/,boolean:/\b(?:false|true)\b/,number:/\b-?(?:0x[0-9a-f]+|\d+)(?:\.[0-9a-f]+)?\b/i,punctuation:/[{}[\];(),:=]|IL_[0-9A-Za-z]+/}}return dI=1,uI=e,e.displayName="cil",e.aliases=[],uI}()),e.register(function(){if(fI)return pI;function e(e){e.languages.clojure={comment:{pattern:/;.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},char:/\\\w+/,symbol:{pattern:/(^|[\s()\[\]{},])::?[\w*+!?'<>=/.-]+/,lookbehind:!0},keyword:{pattern:/(\()(?:-|->|->>|\.|\.\.|\*|\/|\+|<|<=|=|==|>|>=|accessor|agent|agent-errors|aget|alength|all-ns|alter|and|append-child|apply|array-map|aset|aset-boolean|aset-byte|aset-char|aset-double|aset-float|aset-int|aset-long|aset-short|assert|assoc|await|await-for|bean|binding|bit-and|bit-not|bit-or|bit-shift-left|bit-shift-right|bit-xor|boolean|branch\?|butlast|byte|cast|char|children|class|clear-agent-errors|comment|commute|comp|comparator|complement|concat|cond|conj|cons|constantly|construct-proxy|contains\?|count|create-ns|create-struct|cycle|dec|declare|def|def-|definline|definterface|defmacro|defmethod|defmulti|defn|defn-|defonce|defproject|defprotocol|defrecord|defstruct|deftype|deref|difference|disj|dissoc|distinct|do|doall|doc|dorun|doseq|dosync|dotimes|doto|double|down|drop|drop-while|edit|end\?|ensure|eval|every\?|false\?|ffirst|file-seq|filter|find|find-doc|find-ns|find-var|first|float|flush|fn|fnseq|for|frest|gensym|get|get-proxy-class|hash-map|hash-set|identical\?|identity|if|if-let|if-not|import|in-ns|inc|index|insert-child|insert-left|insert-right|inspect-table|inspect-tree|instance\?|int|interleave|intersection|into|into-array|iterate|join|key|keys|keyword|keyword\?|last|lazy-cat|lazy-cons|left|lefts|let|line-seq|list|list\*|load|load-file|locking|long|loop|macroexpand|macroexpand-1|make-array|make-node|map|map-invert|map\?|mapcat|max|max-key|memfn|merge|merge-with|meta|min|min-key|monitor-enter|name|namespace|neg\?|new|newline|next|nil\?|node|not|not-any\?|not-every\?|not=|ns|ns-imports|ns-interns|ns-map|ns-name|ns-publics|ns-refers|ns-resolve|ns-unmap|nth|nthrest|or|parse|partial|path|peek|pop|pos\?|pr|pr-str|print|print-str|println|println-str|prn|prn-str|project|proxy|proxy-mappings|quot|quote|rand|rand-int|range|re-find|re-groups|re-matcher|re-matches|re-pattern|re-seq|read|read-line|recur|reduce|ref|ref-set|refer|rem|remove|remove-method|remove-ns|rename|rename-keys|repeat|replace|replicate|resolve|rest|resultset-seq|reverse|rfirst|right|rights|root|rrest|rseq|second|select|select-keys|send|send-off|seq|seq-zip|seq\?|set|set!|short|slurp|some|sort|sort-by|sorted-map|sorted-map-by|sorted-set|special-symbol\?|split-at|split-with|str|string\?|struct|struct-map|subs|subvec|symbol|symbol\?|sync|take|take-nth|take-while|test|throw|time|to-array|to-array-2d|tree-seq|true\?|try|union|up|update-proxy|val|vals|var|var-get|var-set|var\?|vector|vector-zip|vector\?|when|when-first|when-let|when-not|with-local-vars|with-meta|with-open|with-out-str|xml-seq|xml-zip|zero\?|zipmap|zipper)(?=[\s)]|$)/,lookbehind:!0},boolean:/\b(?:false|nil|true)\b/,number:{pattern:/(^|[^\w$@])(?:\d+(?:[/.]\d+)?(?:e[+-]?\d+)?|0x[a-f0-9]+|[1-9]\d?r[a-z0-9]+)[lmn]?(?![\w$@])/i,lookbehind:!0},function:{pattern:/((?:^|[^'])\()[\w*+!?'<>=/.-]+(?=[\s)]|$)/,lookbehind:!0},operator:/[#@^`~]/,punctuation:/[{}\[\](),]/}}
152return fI=1,pI=e,e.displayName="clojure",e.aliases=[],pI}()),e.register(function(){if(hI)return mI;function e(e){e.languages.cmake={comment:/#.*/,string:{pattern:/"(?:[^\\"]|\\.)*"/,greedy:!0,inside:{interpolation:{pattern:/\$\{(?:[^{}$]|\$\{[^{}$]*\})*\}/,inside:{punctuation:/\$\{|\}/,variable:/\w+/}}}},variable:/\b(?:CMAKE_\w+|\w+_(?:(?:BINARY|SOURCE)_DIR|DESCRIPTION|HOMEPAGE_URL|ROOT|VERSION(?:_MAJOR|_MINOR|_PATCH|_TWEAK)?)|(?:ANDROID|APPLE|BORLAND|BUILD_SHARED_LIBS|CACHE|CPACK_(?:ABSOLUTE_DESTINATION_FILES|COMPONENT_INCLUDE_TOPLEVEL_DIRECTORY|ERROR_ON_ABSOLUTE_INSTALL_DESTINATION|INCLUDE_TOPLEVEL_DIRECTORY|INSTALL_DEFAULT_DIRECTORY_PERMISSIONS|INSTALL_SCRIPT|PACKAGING_INSTALL_PREFIX|SET_DESTDIR|WARN_ON_ABSOLUTE_INSTALL_DESTINATION)|CTEST_(?:BINARY_DIRECTORY|BUILD_COMMAND|BUILD_NAME|BZR_COMMAND|BZR_UPDATE_OPTIONS|CHANGE_ID|CHECKOUT_COMMAND|CONFIGURATION_TYPE|CONFIGURE_COMMAND|COVERAGE_COMMAND|COVERAGE_EXTRA_FLAGS|CURL_OPTIONS|CUSTOM_(?:COVERAGE_EXCLUDE|ERROR_EXCEPTION|ERROR_MATCH|ERROR_POST_CONTEXT|ERROR_PRE_CONTEXT|MAXIMUM_FAILED_TEST_OUTPUT_SIZE|MAXIMUM_NUMBER_OF_(?:ERRORS|WARNINGS)|MAXIMUM_PASSED_TEST_OUTPUT_SIZE|MEMCHECK_IGNORE|POST_MEMCHECK|POST_TEST|PRE_MEMCHECK|PRE_TEST|TESTS_IGNORE|WARNING_EXCEPTION|WARNING_MATCH)|CVS_CHECKOUT|CVS_COMMAND|CVS_UPDATE_OPTIONS|DROP_LOCATION|DROP_METHOD|DROP_SITE|DROP_SITE_CDASH|DROP_SITE_PASSWORD|DROP_SITE_USER|EXTRA_COVERAGE_GLOB|GIT_COMMAND|GIT_INIT_SUBMODULES|GIT_UPDATE_CUSTOM|GIT_UPDATE_OPTIONS|HG_COMMAND|HG_UPDATE_OPTIONS|LABELS_FOR_SUBPROJECTS|MEMORYCHECK_(?:COMMAND|COMMAND_OPTIONS|SANITIZER_OPTIONS|SUPPRESSIONS_FILE|TYPE)|NIGHTLY_START_TIME|P4_CLIENT|P4_COMMAND|P4_OPTIONS|P4_UPDATE_OPTIONS|RUN_CURRENT_SCRIPT|SCP_COMMAND|SITE|SOURCE_DIRECTORY|SUBMIT_URL|SVN_COMMAND|SVN_OPTIONS|SVN_UPDATE_OPTIONS|TEST_LOAD|TEST_TIMEOUT|TRIGGER_SITE|UPDATE_COMMAND|UPDATE_OPTIONS|UPDATE_VERSION_ONLY|USE_LAUNCHERS)|CYGWIN|ENV|EXECUTABLE_OUTPUT_PATH|GHS-MULTI|IOS|LIBRARY_OUTPUT_PATH|MINGW|MSVC(?:10|11|12|14|60|70|71|80|90|_IDE|_TOOLSET_VERSION|_VERSION)?|MSYS|PROJECT_(?:BINARY_DIR|DESCRIPTION|HOMEPAGE_URL|NAME|SOURCE_DIR|VERSION|VERSION_(?:MAJOR|MINOR|PATCH|TWEAK))|UNIX|WIN32|WINCE|WINDOWS_PHONE|WINDOWS_STORE|XCODE|XCODE_VERSION))\b/,property:/\b(?:cxx_\w+|(?:ARCHIVE_OUTPUT_(?:DIRECTORY|NAME)|COMPILE_DEFINITIONS|COMPILE_PDB_NAME|COMPILE_PDB_OUTPUT_DIRECTORY|EXCLUDE_FROM_DEFAULT_BUILD|IMPORTED_(?:IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_LANGUAGES|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|NO_SONAME|OBJECTS|SONAME)|INTERPROCEDURAL_OPTIMIZATION|LIBRARY_OUTPUT_DIRECTORY|LIBRARY_OUTPUT_NAME|LINK_FLAGS|LINK_INTERFACE_LIBRARIES|LINK_INTERFACE_MULTIPLICITY|LOCATION|MAP_IMPORTED_CONFIG|OSX_ARCHITECTURES|OUTPUT_NAME|PDB_NAME|PDB_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_DIRECTORY|RUNTIME_OUTPUT_NAME|STATIC_LIBRARY_FLAGS|VS_CSHARP|VS_DOTNET_REFERENCEPROP|VS_DOTNET_REFERENCE|VS_GLOBAL_SECTION_POST|VS_GLOBAL_SECTION_PRE|VS_GLOBAL|XCODE_ATTRIBUTE)_\w+|\w+_(?:CLANG_TIDY|COMPILER_LAUNCHER|CPPCHECK|CPPLINT|INCLUDE_WHAT_YOU_USE|OUTPUT_NAME|POSTFIX|VISIBILITY_PRESET)|ABSTRACT|ADDITIONAL_MAKE_CLEAN_FILES|ADVANCED|ALIASED_TARGET|ALLOW_DUPLICATE_CUSTOM_TARGETS|ANDROID_(?:ANT_ADDITIONAL_OPTIONS|API|API_MIN|ARCH|ASSETS_DIRECTORIES|GUI|JAR_DEPENDENCIES|NATIVE_LIB_DEPENDENCIES|NATIVE_LIB_DIRECTORIES|PROCESS_MAX|PROGUARD|PROGUARD_CONFIG_PATH|SECURE_PROPS_PATH|SKIP_ANT_STEP|STL_TYPE)|ARCHIVE_OUTPUT_DIRECTORY|ATTACHED_FILES|ATTACHED_FILES_ON_FAIL|AUTOGEN_(?:BUILD_DIR|ORIGIN_DEPENDS|PARALLEL|SOURCE_GROUP|TARGETS_FOLDER|TARGET_DEPENDS)|AUTOMOC|AUTOMOC_(?:COMPILER_PREDEFINES|DEPEND_FILTERS|EXECUTABLE|MACRO_NAMES|MOC_OPTIONS|SOURCE_GROUP|TARGETS_FOLDER)|AUTORCC|AUTORCC_EXECUTABLE|AUTORCC_OPTIONS|AUTORCC_SOURCE_GROUP|AUTOUIC|AUTOUIC_EXECUTABLE|AUTOUIC_OPTIONS|AUTOUIC_SEARCH_PATHS|BINARY_DIR|BUILDSYSTEM_TARGETS|BUILD_RPATH|BUILD_RPATH_USE_ORIGIN|BUILD_WITH_INSTALL_NAME_DIR|BUILD_WITH_INSTALL_RPATH|BUNDLE|BUNDLE_EXTENSION|CACHE_VARIABLES|CLEAN_NO_CUSTOM|COMMON_LANGUAGE_RUNTIME|COMPATIBLE_INTERFACE_(?:BOOL|NUMBER_MAX|NUMBER_MIN|STRING)|COMPILE_(?:DEFINITIONS|FEATURES|FLAGS|OPTIONS|PDB_NAME|PDB_OUTPUT_DIRECTORY)|COST|CPACK_DESKTOP_SHORTCUTS|CPACK_NEVER_OVERWRITE|CPACK_PERMANENT|CPACK_STARTUP_SHORTCUTS|CPACK_START_MENU_SHORTCUTS|CPACK_WIX_ACL|CROSSCOMPILING_EMULATOR|CUDA_EXTENSIONS|CUDA_PTX_COMPILATION|CUDA_RESOLVE_DEVICE_SYMBOLS|CUDA_SEPARABLE_COMPILATION|CUDA_STANDARD|CUDA_STANDARD_REQUIRED|CXX_EXTENSIONS|CXX_STANDARD|CXX_STANDARD_REQUIRED|C_EXTENSIONS|C_STANDARD|C_STANDARD_REQUIRED|DEBUG_CONFIGURATIONS|DEFINE_SYMBOL|DEFINITIONS|DEPENDS|DEPLOYMENT_ADDITIONAL_FILES|DEPLOYMENT_REMOTE_DIRECTORY|DISABLED|DISABLED_FEATURES|ECLIPSE_EXTRA_CPROJECT_CONTENTS|ECLIPSE_EXTRA_NATURES|ENABLED_FEATURES|ENABLED_LANGUAGES|ENABLE_EXPORTS|ENVIRONMENT|EXCLUDE_FROM_ALL|EXCLUDE_FROM_DEFAULT_BUILD|EXPORT_NAME|EXPORT_PROPERTIES|EXTERNAL_OBJECT|EchoString|FAIL_REGULAR_EXPRESSION|FIND_LIBRARY_USE_LIB32_PATHS|FIND_LIBRARY_USE_LIB64_PATHS|FIND_LIBRARY_USE_LIBX32_PATHS|FIND_LIBRARY_USE_OPENBSD_VERSIONING|FIXTURES_CLEANUP|FIXTURES_REQUIRED|FIXTURES_SETUP|FOLDER|FRAMEWORK|Fortran_FORMAT|Fortran_MODULE_DIRECTORY|GENERATED|GENERATOR_FILE_NAME|GENERATOR_IS_MULTI_CONFIG|GHS_INTEGRITY_APP|GHS_NO_SOURCE_GROUP_FILE|GLOBAL_DEPENDS_DEBUG_MODE|GLOBAL_DEPENDS_NO_CYCLES|GNUtoMS|HAS_CXX|HEADER_FILE_ONLY|HELPSTRING|IMPLICIT_DEPENDS_INCLUDE_TRANSFORM|IMPORTED|IMPORTED_(?:COMMON_LANGUAGE_RUNTIME|CONFIGURATIONS|GLOBAL|IMPLIB|LIBNAME|LINK_DEPENDENT_LIBRARIES|LINK_INTERFACE_(?:LANGUAGES|LIBRARIES|MULTIPLICITY)|LOCATION|NO_SONAME|OBJECTS|SONAME)|IMPORT_PREFIX|IMPORT_SUFFIX|INCLUDE_DIRECTORIES|INCLUDE_REGULAR_EXPRESSION|INSTALL_NAME_DIR|INSTALL_RPATH|INSTALL_RPATH_USE_LINK_PATH|INTERFACE_(?:AUTOUIC_OPTIONS|COMPILE_DEFINITIONS|COMPILE_FEATURES|COMPILE_OPTIONS|INCLUDE_DIRECTORIES|LINK_DEPENDS|LINK_DIRECTORIES|LINK_LIBRARIES|LINK_OPTIONS|POSITION_INDEPENDENT_CODE|SOURCES|SYSTEM_INCLUDE_DIRECTORIES)|INTERPROCEDURAL_OPTIMIZATION|IN_TRY_COMPILE|IOS_INSTALL_COMBINED|JOB_POOLS|JOB_POOL_COMPILE|JOB_POOL_LINK|KEEP_EXTENSION|LABELS|LANGUAGE|LIBRARY_OUTPUT_DIRECTORY|LINKER_LANGUAGE|LINK_(?:DEPENDS|DEPENDS_NO_SHARED|DIRECTORIES|FLAGS|INTERFACE_LIBRARIES|INTERFACE_MULTIPLICITY|LIBRARIES|OPTIONS|SEARCH_END_STATIC|SEARCH_START_STATIC|WHAT_YOU_USE)|LISTFILE_STACK|LOCATION|MACOSX_BUNDLE|MACOSX_BUNDLE_INFO_PLIST|MACOSX_FRAMEWORK_INFO_PLIST|MACOSX_PACKAGE_LOCATION|MACOSX_RPATH|MACROS|MANUALLY_ADDED_DEPENDENCIES|MEASUREMENT|MODIFIED|NAME|NO_SONAME|NO_SYSTEM_FROM_IMPORTED|OBJECT_DEPENDS|OBJECT_OUTPUTS|OSX_ARCHITECTURES|OUTPUT_NAME|PACKAGES_FOUND|PACKAGES_NOT_FOUND|PARENT_DIRECTORY|PASS_REGULAR_EXPRESSION|PDB_NAME|PDB_OUTPUT_DIRECTORY|POSITION_INDEPENDENT_CODE|POST_INSTALL_SCRIPT|PREDEFINED_TARGETS_FOLDER|PREFIX|PRE_INSTALL_SCRIPT|PRIVATE_HEADER|PROCESSORS|PROCESSOR_AFFINITY|PROJECT_LABEL|PUBLIC_HEADER|REPORT_UNDEFINED_PROPERTIES|REQUIRED_FILES|RESOURCE|RESOURCE_LOCK|RULE_LAUNCH_COMPILE|RULE_LAUNCH_CUSTOM|RULE_LAUNCH_LINK|RULE_MESSAGES|RUNTIME_OUTPUT_DIRECTORY|RUN_SERIAL|SKIP_AUTOGEN|SKIP_AUTOMOC|SKIP_AUTORCC|SKIP_AUTOUIC|SKIP_BUILD_RPATH|SKIP_RETURN_CODE|SOURCES|SOURCE_DIR|SOVERSION|STATIC_LIBRARY_FLAGS|STATIC_LIBRARY_OPTIONS|STRINGS|SUBDIRECTORIES|SUFFIX|SYMBOLIC|TARGET_ARCHIVES_MAY_BE_SHARED_LIBS|TARGET_MESSAGES|TARGET_SUPPORTS_SHARED_LIBS|TESTS|TEST_INCLUDE_FILE|TEST_INCLUDE_FILES|TIMEOUT|TIMEOUT_AFTER_MATCH|TYPE|USE_FOLDERS|VALUE|VARIABLES|VERSION|VISIBILITY_INLINES_HIDDEN|VS_(?:CONFIGURATION_TYPE|COPY_TO_OUT_DIR|DEBUGGER_(?:COMMAND|COMMAND_ARGUMENTS|ENVIRONMENT|WORKING_DIRECTORY)|DEPLOYMENT_CONTENT|DEPLOYMENT_LOCATION|DOTNET_REFERENCES|DOTNET_REFERENCES_COPY_LOCAL|GLOBAL_KEYWORD|GLOBAL_PROJECT_TYPES|GLOBAL_ROOTNAMESPACE|INCLUDE_IN_VSIX|IOT_STARTUP_TASK|KEYWORD|RESOURCE_G
152ENERATOR|SCC_AUXPATH|SCC_LOCALPATH|SCC_PROJECTNAME|SCC_PROVIDER|SDK_REFERENCES|SHADER_(?:DISABLE_OPTIMIZATIONS|ENABLE_DEBUG|ENTRYPOINT|FLAGS|MODEL|OBJECT_FILE_NAME|OUTPUT_HEADER_FILE|TYPE|VARIABLE_NAME)|STARTUP_PROJECT|TOOL_OVERRIDE|USER_PROPS|WINRT_COMPONENT|WINRT_EXTENSIONS|WINRT_REFERENCES|XAML_TYPE)|WILL_FAIL|WIN32_EXECUTABLE|WINDOWS_EXPORT_ALL_SYMBOLS|WORKING_DIRECTORY|WRAP_EXCLUDE|XCODE_(?:EMIT_EFFECTIVE_PLATFORM_NAME|EXPLICIT_FILE_TYPE|FILE_ATTRIBUTES|LAST_KNOWN_FILE_TYPE|PRODUCT_TYPE|SCHEME_(?:ADDRESS_SANITIZER|ADDRESS_SANITIZER_USE_AFTER_RETURN|ARGUMENTS|DISABLE_MAIN_THREAD_CHECKER|DYNAMIC_LIBRARY_LOADS|DYNAMIC_LINKER_API_USAGE|ENVIRONMENT|EXECUTABLE|GUARD_MALLOC|MAIN_THREAD_CHECKER_STOP|MALLOC_GUARD_EDGES|MALLOC_SCRIBBLE|MALLOC_STACK|THREAD_SANITIZER(?:_STOP)?|UNDEFINED_BEHAVIOUR_SANITIZER(?:_STOP)?|ZOMBIE_OBJECTS))|XCTEST)\b/,keyword:/\b(?:add_compile_definitions|add_compile_options|add_custom_command|add_custom_target|add_definitions|add_dependencies|add_executable|add_library|add_link_options|add_subdirectory|add_test|aux_source_directory|break|build_command|build_name|cmake_host_system_information|cmake_minimum_required|cmake_parse_arguments|cmake_policy|configure_file|continue|create_test_sourcelist|ctest_build|ctest_configure|ctest_coverage|ctest_empty_binary_directory|ctest_memcheck|ctest_read_custom_files|ctest_run_script|ctest_sleep|ctest_start|ctest_submit|ctest_test|ctest_update|ctest_upload|define_property|else|elseif|enable_language|enable_testing|endforeach|endfunction|endif|endmacro|endwhile|exec_program|execute_process|export|export_library_dependencies|file|find_file|find_library|find_package|find_path|find_program|fltk_wrap_ui|foreach|function|get_cmake_property|get_directory_property|get_filename_component|get_property|get_source_file_property|get_target_property|get_test_property|if|include|include_directories|include_external_msproject|include_guard|include_regular_expression|install|install_files|install_programs|install_targets|link_directories|link_libraries|list|load_cache|load_command|macro|make_directory|mark_as_advanced|math|message|option|output_required_files|project|qt_wrap_cpp|qt_wrap_ui|remove|remove_definitions|return|separate_arguments|set|set_directory_properties|set_property|set_source_files_properties|set_target_properties|set_tests_properties|site_name|source_group|string|subdir_depends|subdirs|target_compile_definitions|target_compile_features|target_compile_options|target_include_directories|target_link_directories|target_link_libraries|target_link_options|target_sources|try_compile|try_run|unset|use_mangled_mesa|utility_source|variable_requires|variable_watch|while|write_file)(?=\s*\()\b/,boolean:/\b(?:FALSE|OFF|ON|TRUE)\b/,namespace:/\b(?:INTERFACE|PRIVATE|PROPERTIES|PUBLIC|SHARED|STATIC|TARGET_OBJECTS)\b/,operator:/\b(?:AND|DEFINED|EQUAL|GREATER|LESS|MATCHES|NOT|OR|STREQUAL|STRGREATER|STRLESS|VERSION_EQUAL|VERSION_GREATER|VERSION_LESS)\b/,inserted:{pattern:/\b\w+::\w+\b/,alias:"class-name"},number:/\b\d+(?:\.\d+)*\b/,function:/\b[a-z_]\w*(?=\s*\()\b/i,punctuation:/[()>}]|\$[<{]/}}return hI=1,mI=e,e.displayName="cmake",e.aliases=[],mI}()),e.register(function(){if(bI)return gI;function e(e){e.languages.cobol={comment:{pattern:/\*>.*|(^[ \t]*)\*.*/m,lookbehind:!0,greedy:!0},string:{pattern:/[xzgn]?(?:"(?:[^\r\n"]|"")*"(?!")|'(?:[^\r\n']|'')*'(?!'))/i,greedy:!0},level:{pattern:/(^[ \t]*)\d+\b/m,lookbehind:!0,greedy:!0,alias:"number"},"class-name":{pattern:/(\bpic(?:ture)?\s+)(?:(?:[-\w$/,:*+<>]|\.(?!\s|$))(?:\(\d+\))?)+/i,lookbehind:!0,inside:{number:{pattern:/(\()\d+/,lookbehind:!0},punctuation:/[()]/}},keyword:{pattern:/(^|[^\w-])(?:ABORT|ACCEPT|ACCESS|ADD|ADDRESS|ADVANCING|AFTER|ALIGNED|ALL|ALPHABET|ALPHABETIC|ALPHABETIC-LOWER|ALPHABETIC-UPPER|ALPHANUMERIC|ALPHANUMERIC-EDITED|ALSO|ALTER|ALTERNATE|ANY|ARE|AREA|AREAS|AS|ASCENDING|ASCII|ASSIGN|ASSOCIATED-DATA|ASSOCIATED-DATA-LENGTH|AT|ATTRIBUTE|AUTHOR|AUTO|AUTO-SKIP|BACKGROUND-COLOR|BACKGROUND-COLOUR|BASIS|BEEP|BEFORE|BEGINNING|BELL|BINARY|BIT|BLANK|BLINK|BLOCK|BOTTOM|BOUNDS|BY|BYFUNCTION|BYTITLE|CALL|CANCEL|CAPABLE|CCSVERSION|CD|CF|CH|CHAINING|CHANGED|CHANNEL|CHARACTER|CHARACTERS|CLASS|CLASS-ID|CLOCK-UNITS|CLOSE|CLOSE-DISPOSITION|COBOL|CODE|CODE-SET|COL|COLLATING|COLUMN|COM-REG|COMMA|COMMITMENT|COMMON|COMMUNICATION|COMP|COMP-1|COMP-2|COMP-3|COMP-4|COMP-5|COMPUTATIONAL|COMPUTATIONAL-1|COMPUTATIONAL-2|COMPUTATIONAL-3|COMPUTATIONAL-4|COMPUTATIONAL-5|COMPUTE|CONFIGURATION|CONTAINS|CONTENT|CONTINUE|CONTROL|CONTROL-POINT|CONTROLS|CONVENTION|CONVERTING|COPY|CORR|CORRESPONDING|COUNT|CRUNCH|CURRENCY|CURSOR|DATA|DATA-BASE|DATE|DATE-COMPILED|DATE-WRITTEN|DAY|DAY-OF-WEEK|DBCS|DE|DEBUG-CONTENTS|DEBUG-ITEM|DEBUG-LINE|DEBUG-NAME|DEBUG-SUB-1|DEBUG-SUB-2|DEBUG-SUB-3|DEBUGGING|DECIMAL-POINT|DECLARATIVES|DEFAULT|DEFAULT-DISPLAY|DEFINITION|DELETE|DELIMITED|DELIMITER|DEPENDING|DESCENDING|DESTINATION|DETAIL|DFHRESP|DFHVALUE|DISABLE|DISK|DISPLAY|DISPLAY-1|DIVIDE|DIVISION|DONTCARE|DOUBLE|DOWN|DUPLICATES|DYNAMIC|EBCDIC|EGCS|EGI|ELSE|EMI|EMPTY-CHECK|ENABLE|END|END-ACCEPT|END-ADD|END-CALL|END-COMPUTE|END-DELETE|END-DIVIDE|END-EVALUATE|END-IF|END-MULTIPLY|END-OF-PAGE|END-PERFORM|END-READ|END-RECEIVE|END-RETURN|END-REWRITE|END-SEARCH|END-START|END-STRING|END-SUBTRACT|END-UNSTRING|END-WRITE|ENDING|ENTER|ENTRY|ENTRY-PROCEDURE|ENVIRONMENT|EOL|EOP|EOS|ERASE|ERROR|ESCAPE|ESI|EVALUATE|EVENT|EVERY|EXCEPTION|EXCLUSIVE|EXHIBIT|EXIT|EXPORT|EXTEND|EXTENDED|EXTERNAL|FD|FILE|FILE-CONTROL|FILLER|FINAL|FIRST|FOOTING|FOR|FOREGROUND-COLOR|FOREGROUND-COLOUR|FROM|FULL|FUNCTION|FUNCTION-POINTER|FUNCTIONNAME|GENERATE|GIVING|GLOBAL|GO|GOBACK|GRID|GROUP|HEADING|HIGH-VALUE|HIGH-VALUES|HIGHLIGHT|I-O|I-O-CONTROL|ID|IDENTIFICATION|IF|IMPLICIT|IMPORT|IN|INDEX|INDEXED|INDICATE|INITIAL|INITIALIZE|INITIATE|INPUT|INPUT-OUTPUT|INSPECT|INSTALLATION|INTEGER|INTO|INVALID|INVOKE|IS|JUST|JUSTIFIED|KANJI|KEPT|KEY|KEYBOARD|LABEL|LANGUAGE|LAST|LB|LD|LEADING|LEFT|LEFTLINE|LENGTH|LENGTH-CHECK|LIBACCESS|LIBPARAMETER|LIBRARY|LIMIT|LIMITS|LINAG
152E|LINAGE-COUNTER|LINE|LINE-COUNTER|LINES|LINKAGE|LIST|LOCAL|LOCAL-STORAGE|LOCK|LONG-DATE|LONG-TIME|LOW-VALUE|LOW-VALUES|LOWER|LOWLIGHT|MEMORY|MERGE|MESSAGE|MMDDYYYY|MODE|MODULES|MORE-LABELS|MOVE|MULTIPLE|MULTIPLY|NAMED|NATIONAL|NATIONAL-EDITED|NATIVE|NEGATIVE|NETWORK|NEXT|NO|NO-ECHO|NULL|NULLS|NUMBER|NUMERIC|NUMERIC-DATE|NUMERIC-EDITED|NUMERIC-TIME|OBJECT-COMPUTER|OCCURS|ODT|OF|OFF|OMITTED|ON|OPEN|OPTIONAL|ORDER|ORDERLY|ORGANIZATION|OTHER|OUTPUT|OVERFLOW|OVERLINE|OWN|PACKED-DECIMAL|PADDING|PAGE|PAGE-COUNTER|PASSWORD|PERFORM|PF|PH|PIC|PICTURE|PLUS|POINTER|PORT|POSITION|POSITIVE|PRINTER|PRINTING|PRIVATE|PROCEDURE|PROCEDURE-POINTER|PROCEDURES|PROCEED|PROCESS|PROGRAM|PROGRAM-ID|PROGRAM-LIBRARY|PROMPT|PURGE|QUEUE|QUOTE|QUOTES|RANDOM|RD|READ|READER|REAL|RECEIVE|RECEIVED|RECORD|RECORDING|RECORDS|RECURSIVE|REDEFINES|REEL|REF|REFERENCE|REFERENCES|RELATIVE|RELEASE|REMAINDER|REMARKS|REMOTE|REMOVAL|REMOVE|RENAMES|REPLACE|REPLACING|REPORT|REPORTING|REPORTS|REQUIRED|RERUN|RESERVE|RESET|RETURN|RETURN-CODE|RETURNING|REVERSE-VIDEO|REVERSED|REWIND|REWRITE|RF|RH|RIGHT|ROUNDED|RUN|SAME|SAVE|SCREEN|SD|SEARCH|SECTION|SECURE|SECURITY|SEGMENT|SEGMENT-LIMIT|SELECT|SEND|SENTENCE|SEPARATE|SEQUENCE|SEQUENTIAL|SET|SHARED|SHAREDBYALL|SHAREDBYRUNUNIT|SHARING|SHIFT-IN|SHIFT-OUT|SHORT-DATE|SIGN|SIZE|SORT|SORT-CONTROL|SORT-CORE-SIZE|SORT-FILE-SIZE|SORT-MERGE|SORT-MESSAGE|SORT-MODE-SIZE|SORT-RETURN|SOURCE|SOURCE-COMPUTER|SPACE|SPACES|SPECIAL-NAMES|STANDARD|STANDARD-1|STANDARD-2|START|STATUS|STOP|STRING|SUB-QUEUE-1|SUB-QUEUE-2|SUB-QUEUE-3|SUBTRACT|SUM|SUPPRESS|SYMBOL|SYMBOLIC|SYNC|SYNCHRONIZED|TABLE|TALLY|TALLYING|TAPE|TASK|TERMINAL|TERMINATE|TEST|TEXT|THEN|THREAD|THREAD-LOCAL|THROUGH|THRU|TIME|TIMER|TIMES|TITLE|TO|TODAYS-DATE|TODAYS-NAME|TOP|TRAILING|TRUNCATED|TYPE|TYPEDEF|UNDERLINE|UNIT|UNSTRING|UNTIL|UP|UPON|USAGE|USE|USING|VALUE|VALUES|VARYING|VIRTUAL|WAIT|WHEN|WHEN-COMPILED|WITH|WORDS|WORKING-STORAGE|WRITE|YEAR|YYYYDDD|YYYYMMDD|ZERO-FILL|ZEROES|ZEROS)(?![\w-])/i,lookbehind:!0},boolean:{pattern:/(^|[^\w-])(?:false|true)(?![\w-])/i,lookbehind:!0},number:{pattern:/(^|[^\w-])(?:[+-]?(?:(?:\d+(?:[.,]\d+)?|[.,]\d+)(?:e[+-]?\d+)?|zero))(?![\w-])/i,lookbehind:!0},operator:[/<>|[<>]=?|[=+*/&]/,{pattern:/(^|[^\w-])(?:-|and|equal|greater|less|not|or|than)(?![\w-])/i,lookbehind:!0}],punctuation:/[.:,()]/}}return bI=1,gI=e,e.displayName="cobol",e.aliases=[],gI}()),e.register(function(){if(vI)return yI;function e(e){!function(e){var t=/#(?!\{).+/,n={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:n}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:n}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(e)}return vI=1,yI=e,e.displayName="coffeescript",e.aliases=["coffee"],yI}()),e.register(function(){if(SI)return xI;function e(e){e.languages.concurnas={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*)/,lookbehind:!0,greedy:!0},langext:{pattern:/\b\w+\s*\|\|[\s\S]+?\|\|/,greedy:!0,inside:{"class-name":/^\w+/,string:{pattern:/(^\s*\|\|)[\s\S]+(?=\|\|$)/,lookbehind:!0},punctuation:/\|\|/}},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/,lookbehind:!0},keyword:/\b(?:abstract|actor|also|annotation|assert|async|await|bool|boolean|break|byte|case|catch|changed|char|class|closed|constant|continue|def|default|del|double|elif|else|enum|every|extends|false|finally|float|for|from|global|gpudef|gpukernel|if|import|in|init|inject|int|lambda|local|long|loop|match|new|nodefault|null|of|onchange|open|out|override|package|parfor|parforsync|post|pre|private|protected|provide|provider|public|return|shared|short|single|size_t|sizeof|super|sync|this|throw|trait|trans|transient|true|try|typedef|unchecked|using|val|var|void|while|with)\b/,boolean:/\b(?:false|true)\b/,number:/\b0b[01
152][01_]*L?\b|\b0x(?:[\da-f_]*\.)?[\da-f_p+-]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfls]?/i,punctuation:/[{}[\];(),.:]/,operator:/<==|>==|=>|->|<-|<>|&==|&<>|\?:?|\.\?|\+\+|--|[-+*/=<>]=?|[!^~]|\b(?:and|as|band|bor|bxor|comp|is|isnot|mod|or)\b=?/,annotation:{pattern:/@(?:\w+:)?(?:\w+|\[[^\]]+\])?/,alias:"builtin"}},e.languages.insertBefore("concurnas","langext",{"regex-literal":{pattern:/\br("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},regex:/[\s\S]+/}},"string-literal":{pattern:/(?:\B|\bs)("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:e.languages.concurnas},string:/[\s\S]+/}}}),e.languages.conc=e.languages.concurnas}return SI=1,xI=e,e.displayName="concurnas",e.aliases=["conc"],xI}()),e.register(function(){if(EI)return wI;function e(e){!function(e){for(var t=/\(\*(?:[^(*]|\((?!\*)|\*(?!\))|<self>)*\*\)/.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,"[]"),e.languages.coq={comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},attribute:[{pattern:RegExp(/#\[(?:[^\[\]("]|"(?:[^"]|"")*"(?!")|\((?!\*)|<comment>)*\]/.source.replace(/<comment>/g,function(){return t})),greedy:!0,alias:"attr-name",inside:{comment:RegExp(t),string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},operator:/=/,punctuation:/^#\[|\]$|[,()]/}},{pattern:/\b(?:Cumulative|Global|Local|Monomorphic|NonCumulative|Polymorphic|Private|Program)\b/,alias:"attr-name"}],keyword:/\b(?:Abort|About|Add|Admit|Admitted|All|Arguments|As|Assumptions|Axiom|Axioms|Back|BackTo|Backtrace|BinOp|BinOpSpec|BinRel|Bind|Blacklist|Canonical|Case|Cd|Check|Class|Classes|Close|CoFixpoint|CoInductive|Coercion|Coercions|Collection|Combined|Compute|Conjecture|Conjectures|Constant|Constants|Constraint|Constructors|Context|Corollary|Create|CstOp|Custom|Cut|Debug|Declare|Defined|Definition|Delimit|Dependencies|Dependent|Derive|Diffs|Drop|Elimination|End|Entry|Equality|Eval|Example|Existential|Existentials|Existing|Export|Extern|Extraction|Fact|Fail|Field|File|Firstorder|Fixpoint|Flags|Focus|From|Funclass|Function|Functional|GC|Generalizable|Goal|Grab|Grammar|Graph|Guarded|Haskell|Heap|Hide|Hint|HintDb|Hints|Hypotheses|Hypothesis|IF|Identity|Immediate|Implicit|Implicits|Import|Include|Induction|Inductive|Infix|Info|Initial|InjTyp|Inline|Inspect|Instance|Instances|Intro|Intros|Inversion|Inversion_clear|JSON|Language|Left|Lemma|Let|Lia|Libraries|Library|Load|LoadPath|Locate|Ltac|Ltac2|ML|Match|Method|Minimality|Module|Modules|Morphism|Next|NoInline|Notation|Number|OCaml|Obligation|Obligations|Opaque|Open|Optimize|Parameter|Parameters|Parametric|Path|Paths|Prenex|Preterm|Primitive|Print|Profile|Projections|Proof|Prop|PropBinOp|PropOp|PropUOp|Property|Proposition|Pwd|Qed|Quit|Rec|Record|Recursive|Redirect|Reduction|Register|Relation|Remark|Remove|Require|Reserved|Reset|Resolve|Restart|Rewrite|Right|Ring|Rings|SProp|Saturate|Save|Scheme|Scope|Scopes|Search|SearchHead|SearchPattern|SearchRewrite|Section|Separate|Set|Setoid|Show|Signatures|Solve|Solver|Sort|Sortclass|Sorted|Spec|Step|Strategies|Strategy|String|Structure|SubClass|Subgraph|SuchThat|Tactic|Term|TestCompile|Theorem|Time|Timeout|To|Transparent|Type|Typeclasses|Types|Typing|UnOp|UnOpSpec|Undelimit|Undo|Unfocus|Unfocused|Unfold|Universe|Universes|Unshelve|Variable|Variables|Variant|Verbose|View|Visibility|Zify|_|apply|as|at|by|cofix|else|end|exists|exists2|fix|for|forall|fun|if|in|let|match|measure|move|removed|return|struct|then|using|wf|where|with)\b/,number:/\b(?:0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]+)?(?:p[+-]?\d[\d_]*)?|\d[\d_]*(?:\.[\d_]+)?(?:e[+-]?\d[\d_]*)?)\b/i,punct:{pattern:/@\{|\{\||\[=|:>/,alias:"punctuation"},operator:/\/\\|\\\/|\.{2,3}|:{1,2}=|\*\*|[-=]>|<(?:->?|[+:=>]|<:)|>(?:=|->)|\|[-|]?|[-!%&*+/<=>?@^~']/,punctuation:/\.\(|`\(|@\{|`\{|\{\||\[=|:>|[:.,;(){}\[\]]/}}(e)}return EI=1,wI=e,e.displayName="coq",e.aliases=[],wI}()),e.register(YM()),e.register(function(){if(AI)return TI;AI=1;var e=JM();function t(t){t.register(e),function(e){e.languages.crystal=e.languages.extend("ruby",{keyword:[/\b(?:__DIR__|__END_LINE__|__FILE__|__LINE__|abstract|alias|annotation|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|ifdef|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|ptr|require|rescue|return|select|self|sizeof|struct|super|then|type|typeof|undef|uninitialized|union|unless|until|when|while|with|yield)\b/,{pattern:/(\.\s*)(?:is_a|responds_to)\?/,lookbehind:!0}],number:/\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[\da-fA-F_]*[\da-fA-F]|(?:\d(?:[\d_]*\d)?)(?:\.[\d_]*\d)?(?:[eE][+-]?[\d_]*\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\b/,operator:[/->/,e.languages.ruby.operator],punctuation:/[(){}[\].,;\\]/}),e.languages.insertBefore("crystal","string-literal",{attribute:{pattern:/@\[.*?\]/,inside:{delimiter:{pattern:/^@\[|\]$/,alias:"punctuation"},attribute:{pattern:/^(\s*)\w+/,lookbehind:!0,alias:"class-name"},args:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.crystal}}},expansion:{pattern:/\{(?:\{.*?\}|%.*?%)\}/,inside:{content:{pattern:/^(\{.)[\s\S]+(?=.\}$)/,lookbehind:!0,inside:e.languages.crystal},delimiter:{pattern:/^\{[\{%]|[\}%]\}$/,alias:"operator"}}},char:{pattern:/'(?:[^\\\r\n]{1,2}|\\(?:.|u(?:[A-Fa-f0-9]{1,4}|\{[A-Fa-f0-9]{1,6}\}
vendor: 5,625 bytes, line 152
152)))'/,greedy:!0}})}(t)}return TI=t,t.displayName="crystal",t.aliases=[],TI}()),e.register(XM()),e.register(function(){if(NI)return II;NI=1;var e=XM();function t(t){t.register(e),function(e){var t=/\/(?![/*])|\/\/.*[\r\n]|\/\*[^*]*(?:\*(?!\/)[^*]*)*\*\//.source,n=/@(?!")|"(?:[^\r\n\\"]|\\.)*"|@"(?:[^\\"]|""|\\[\s\S])*"(?!")/.source+"|"+/'(?:(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'|(?=[^\\](?!')))/.source;function r(e,r){for(var a=0;a<r;a++)e=e.replace(/<self>/g,function(){return"(?:"+e+")"});return e.replace(/<self>/g,"[^\\s\\S]").replace(/<str>/g,"(?:"+n+")").replace(/<comment>/g,"(?:"+t+")")}var a=r(/\((?:[^()'"@/]|<str>|<comment>|<self>)*\)/.source,2),o=r(/\[(?:[^\[\]'"@/]|<str>|<comment>|<self>)*\]/.source,2),i=r(/\{(?:[^{}'"@/]|<str>|<comment>|<self>)*\}/.source,2),s=r(/<(?:[^<>'"@/]|<str>|<comment>|<self>)*>/.source,2),l=/(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?/.source,c=/(?!\d)[^\s>\/=$<%]+/.source+l+/\s*\/?>/.source,u=/\B@?/.source+"(?:"+/<([a-zA-Z][\w:]*)/.source+l+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+c+"|"+r(/<\1/.source+l+/\s*>/.source+"(?:"+/[^<]/.source+"|"+/<\/?(?!\1\b)/.source+c+"|<self>)*"+/<\/\1\s*>/.source,2)+")*"+/<\/\1\s*>/.source+"|"+/</.source+c+")";e.languages.cshtml=e.languages.extend("markup",{});var d={pattern:/\S[\s\S]*/,alias:"language-csharp",inside:e.languages.insertBefore("csharp","string",{html:{pattern:RegExp(u),greedy:!0,inside:e.languages.cshtml}},{csharp:e.languages.extend("csharp",{})})};e.languages.insertBefore("cshtml","prolog",{"razor-comment":{pattern:/@\*[\s\S]*?\*@/,greedy:!0,alias:"comment"},block:{pattern:RegExp(/(^|[^@])@/.source+"(?:"+[i,/(?:code|functions)\s*/.source+i,/(?:for|foreach|lock|switch|using|while)\s*/.source+a+/\s*/.source+i,/do\s*/.source+i+/\s*while\s*/.source+a+/(?:\s*;)?/.source,/try\s*/.source+i+/\s*catch\s*/.source+a+/\s*/.source+i+/\s*finally\s*/.source+i,/if\s*/.source+a+/\s*/.source+i+"(?:"+/\s*else/.source+"(?:"+/\s+if\s*/.source+a+")?"+/\s*/.source+i+")*"].join("|")+")"),lookbehind:!0,greedy:!0,inside:{keyword:/^@\w*/,csharp:d}},directive:{pattern:/^([ \t]*)@(?:addTagHelper|attribute|implements|inherits|inject|layout|model|namespace|page|preservewhitespace|removeTagHelper|section|tagHelperPrefix|using)(?=\s).*/m,lookbehind:!0,greedy:!0,inside:{keyword:/^@\w+/,csharp:d}},value:{pattern:RegExp(/(^|[^@])@/.source+/(?:await\b\s*)?/.source+"(?:"+/\w+\b/.source+"|"+a+")(?:"+/[?!]?\.\w+\b/.source+"|"+a+"|"+o+"|"+s+a+")*"),lookbehind:!0,greedy:!0,alias:"variable",inside:{keyword:/^@/,csharp:d}},"delegate-operator":{pattern:/(^|[^@])@(?=<)/,lookbehind:!0,alias:"operator"}}),e.languages.razor=e.languages.cshtml}(t)}return II=t,t.displayName="cshtml",t.aliases=["razor"],II}()),e.register(function(){if(RI)return _I;function e(e){!function(e){function t(e){return RegExp(/([ \t])/.source+"(?:"+e+")"+/(?=[\s;]|$)/.source,"i")}e.languages.csp={directive:{pattern:/(^|[\s;])(?:base-uri|block-all-mixed-content|(?:child|connect|default|font|frame|img|manifest|media|object|prefetch|script|style|worker)-src|disown-opener|form-action|frame-(?:ancestors|options)|input-protection(?:-(?:clip|selectors))?|navigate-to|plugin-types|policy-uri|referrer|reflected-xss|report-(?:to|uri)|require-sri-for|sandbox|(?:script|style)-src-(?:attr|elem)|upgrade-insecure-requests)(?=[\s;]|$)/i,lookbehind:!0,alias:"property"},scheme:{pattern:t(/[a-z][a-z0-9.+-]*:/.source),lookbehind:!0},none:{pattern:t(/'none'/.source),lookbehind:!0,alias:"keyword"},nonce:{pattern:t(/'nonce-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},hash:{pattern:t(/'sha(?:256|384|512)-[-+/\w=]+'/.source),lookbehind:!0,alias:"number"},host:{pattern:t(/[a-z][a-z0-9.+-]*:\/\/[^\s;,']*/.source+"|"+/\*[^\s;,']*/.source+"|"+/[a-z0-9-]+(?:\.[a-z0-9-]+)+(?::[\d*]+)?(?:\/[^\s;,']*)?/.source),lookbehind:!0,alias:"url",inside:{important:/\*/}},keyword:[{pattern:t(/'unsafe-[a-z-]+'/.source),lookbehind:!0,alias:"unsafe"},{pattern:t(/'[a-z-]+'/.source),lookbehind:!0,alias:"safe"}],punctuation:/;/}}(e)}return RI=1,_I=e,e.displayName="csp",e.aliases=[],_I}()),e.register(function(){if(LI)return OI;function e(e){!function(e){var t,n=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;e.languages.css.selector={pattern:e.languages.css.selector.pattern,lookbehind:!0,inside:t={"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+/,class:/\.[-\w]+/,id:/#[-\w]+/,attribute:{pattern:RegExp("\\[(?:[^[\\]\"']|"+n.source+")*\\]"),greedy:!0,inside:{punctuation:/^\[|\]$/,"case-sensitivity":{pattern:/(\s)[si]$/i,lookbehind:!0,alias:"keyword"},namespace:{pattern:/^(\s*)(?:(?!\s)[-*\w\xA0-\uFFFF])*\|(?!=)/,lookbehind:!0,inside:{punctuation:/\|$/}},"attr-name":{pattern:/^(\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+/,lookbehind:!0},"attr-value":[n,{pattern:/(=\s*)(?:(?!\s)[-\w\xA0-\uFFFF])+(?=\s*$)/,lookbehind:!0}],operator:/[|~*^$]?=/}},"n-th":[{pattern:/(\(\s*)[+-]?\d*[\dn](?:\s*[+-]\s*\d+)?(?=\s*\))/,lookbehind:!0,inside:{number:/[\dn]+/,operator:/[+-]/}},{pattern:/(\(\s*)(?:even|odd)(?=\s*\))/i,lookbehind:!0}],combinator:/>|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}});var r={pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0},a={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"}
152,color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:r,number:a,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:r,number:a})}(e)}return LI=1,OI=e,e.displayName="cssExtras",e.aliases=[],OI}()),e.register(function(){if(PI)return DI;function e(e){e.languages.csv={value:/[^\r\n,"]+|"(?:[^"]|"")*"(?!")/,punctuation:/,/}}return PI=1,DI=e,e.displayName="csv",e.aliases=[],DI}()),e.register(function(){if(jI)return MI;function e(e){e.languages.cypher={comment:/\/\/.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/,greedy:!0},"class-name":{pattern:/(:\s*)(?:\w+|`(?:[^`\\\r\n])*`)(?=\s*[{):])/,lookbehind:!0,greedy:!0},relationship:{pattern:/(-\[\s*(?:\w+\s*|`(?:[^`\\\r\n])*`\s*)?:\s*|\|\s*:\s*)(?:\w+|`(?:[^`\\\r\n])*`)/,lookbehind:!0,greedy:!0,alias:"property"},identifier:{pattern:/`(?:[^`\\\r\n])*`/,greedy:!0},variable:/\$\w+/,keyword:/\b(?:ADD|ALL|AND|AS|ASC|ASCENDING|ASSERT|BY|CALL|CASE|COMMIT|CONSTRAINT|CONTAINS|CREATE|CSV|DELETE|DESC|DESCENDING|DETACH|DISTINCT|DO|DROP|ELSE|END|ENDS|EXISTS|FOR|FOREACH|IN|INDEX|IS|JOIN|KEY|LIMIT|LOAD|MANDATORY|MATCH|MERGE|NODE|NOT|OF|ON|OPTIONAL|OR|ORDER(?=\s+BY)|PERIODIC|REMOVE|REQUIRE|RETURN|SCALAR|SCAN|SET|SKIP|START|STARTS|THEN|UNION|UNIQUE|UNWIND|USING|WHEN|WHERE|WITH|XOR|YIELD)\b/i,function:/\b\w+\b(?=\s*\()/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:[eE][+-]?\d+)?)\b/,operator:/:|<--?|--?>?|<>|=~?|[<>]=?|[+*/%^|]|\.\.\.?/,punctuation:/[()[\]{},;.]/}}return jI=1,MI=e,e.displayName="cypher",e.aliases=[],MI}()),e.register(function(){if(zI)return FI;function e(e){e.languages.d=e.languages.extend("clike",{comment:[{pattern:/^\s*#!.+/,greedy:!0},{pattern:RegExp(/(^|[^\\])/.source+"(?:"+[/\/\+(?:\/\+(?:[^+]|\+(?!\/))*\+\/|(?!\/\+)[\s\S])*?\+\//.source,/\/\/.*/.source,/\/\*[\s\S]*?\*\//.source].join("|")+")"),lookbehind:!0,greedy:!0}],string:[{pattern:RegExp([/\b[rx]"(?:\\[\s\S]|[^\\"])*"[cwd]?/.source,/\bq"(?:\[[\s\S]*?\]|\([\s\S]*?\)|<[\s\S]*?>|\{[\s\S]*?\})"/.source,/\bq"((?!\d)\w+)$[\s\S]*?^\1"/.source,/\bq"(.)[\s\S]*?\2"/.source,/(["`])(?:\\[\s\S]|(?!\3)[^\\])*\3[cwd]?/.source].join("|"),"m"),greedy:!0},{pattern:/\bq\{(?:\{[^{}]*\}|[^{}])*\}/,greedy:!0,alias:"token-string"}],keyword:/\$|\b(?:__(?:(?:DATE|EOF|FILE|FUNCTION|LINE|MODULE|PRETTY_FUNCTION|TIMESTAMP|TIME|VENDOR|VERSION)__|gshared|parameters|traits|vector)|abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|dstring|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|ptrdiff_t|public|pure|real|ref|return|scope|shared|short|size_t|static|string|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|wstring)\b/,number:[/\b0x\.?[a-f\d_]+(?:(?!\.\.)\.[a-f\d_]*)?(?:p[+-]?[a-f\d_]+)?[ulfi]{0,4}/i,{pattern:/((?:\.\.)?)(?:\b0b\.?|\b|\.)\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:e[+-]?\d[\d_]*)?[ulfi]{0,4}/i,lookbehind:!0}],operator:/\|[|=]?|&[&=]?|\+[+=]?|-[-=]?|\.?\.\.|=[>=]?|!(?:i[ns]\b|<>?=?|>=?|=)?|\bi[ns]\b|(?:<[<>]?|>>?>?|\^\^|[*\/%^~])=?/}),e.languages.insertBefore("d","string",{char:/'(?:\\(?:\W|\w+)|[^\\])'/}),e.languages.insertBefore("d","keyword",{property:/\B@\w*/}),e.languages.insertBefore("d","function",{register:{pattern:/\b(?:[ABCD][LHX]|E?(?:BP|DI|SI|
152SP)|[BS]PL|[ECSDGF]S|CR[0234]|[DS]IL|DR[012367]|E[ABCD]X|X?MM[0-7]|R(?:1[0-5]|[89])[BWD]?|R[ABCD]X|R[BS]P|R[DS]I|TR[3-7]|XMM(?:1[0-5]|[89])|YMM(?:1[0-5]|\d))\b|\bST(?:\([0-7]\)|\b)/,alias:"variable"}})}return zI=1,FI=e,e.displayName="d",e.aliases=[],FI}()),e.register(function(){if(BI)return $I;function e(e){!function(e){var t=[/\b(?:async|sync|yield)\*/,/\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|covariant|default|deferred|do|dynamic|else|enum|export|extends|extension|external|factory|final|finally|for|get|hide|if|implements|import|in|interface|library|mixin|new|null|on|operator|part|rethrow|return|set|show|static|super|switch|sync|this|throw|try|typedef|var|void|while|with|yield)\b/],n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}}}};e.languages.dart=e.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:t,operator:/\bis!|\b(?:as|is)\b|\+\+|--|&&|\|\||<<=?|>>=?|~(?:\/=?)?|[+\-*\/%&^|=!<>]=?|\?/}),e.languages.insertBefore("dart","string",{"string-literal":{pattern:/r?(?:("""|''')[\s\S]*?\1|(["'])(?:\\.|(?!\2)[^\\\r\n])*\2(?!\2))/,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,lookbehind:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.dart}}},string:/[\s\S]+/}},string:void 0}),e.languages.insertBefore("dart","class-name",{metadata:{pattern:/@\w+/,alias:"function"}}),e.languages.insertBefore("dart","class-name",{generics:{pattern:/<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<(?:[\w\s,.&?]|<[\w\s,.&?]*>)*>)*>)*>/,inside:{"class-name":r,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}}})}(e)}return BI=1,$I=e,e.displayName="dart",e.aliases=[],$I}()),e.register(function(){if(HI)return UI;function e(e){!function(e){e.languages.dataweave={url:/\b[A-Za-z]+:\/\/[\w/:.?=&-]+|\burn:[\w:.?=&-]+/,property:{pattern:/(?:\b\w+#)?(?:"(?:\\.|[^\\"\r\n])*"|\b\w+)(?=\s*[:@])/,greedy:!0},string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},"mime-type":/\b(?:application|audio|image|multipart|text|video)\/[\w+-]+/,date:{pattern:/\|[\w:+-]+\|/,greedy:!0},comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],regex:{pattern:/\/(?:[^\\\/\r\n]|\\[^\r\n])+\//,greedy:!0},keyword:/\b(?:and|as|at|case|do|else|fun|if|input|is|match|not|ns|null|or|output|type|unless|update|using|var)\b/,function:/\b[A-Z_]\w*(?=\s*\()/i,number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\];(),.:@]/,operator:/<<|>>|->|[<>~=]=?|!=|--?-?|\+\+?|!|\?/,boolean:/\b(?:false|true)\b/}}(e)}return HI=1,UI=e,e.displayName="dataweave",e.aliases=[],UI}()),e.register(function(){if(WI)return VI;function e
vendor: 3,434 bytes, line 152
152(e){e.languages.dax={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/).*)/,lookbehind:!0},"data-field":{pattern:/'(?:[^']|'')*'(?!')(?:\[[ \w\xA0-\uFFFF]+\])?|\w+\[[ \w\xA0-\uFFFF]+\]/,alias:"symbol"},measure:{pattern:/\[[ \w\xA0-\uFFFF]+\]/,alias:"constant"},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},function:/\b(?:ABS|ACOS|ACOSH|ACOT|ACOTH|ADDCOLUMNS|ADDMISSINGITEMS|ALL|ALLCROSSFILTERED|ALLEXCEPT|ALLNOBLANKROW|ALLSELECTED|AND|APPROXIMATEDISTINCTCOUNT|ASIN|ASINH|ATAN|ATANH|AVERAGE|AVERAGEA|AVERAGEX|BETA\.DIST|BETA\.INV|BLANK|CALCULATE|CALCULATETABLE|CALENDAR|CALENDARAUTO|CEILING|CHISQ\.DIST|CHISQ\.DIST\.RT|CHISQ\.INV|CHISQ\.INV\.RT|CLOSINGBALANCEMONTH|CLOSINGBALANCEQUARTER|CLOSINGBALANCEYEAR|COALESCE|COMBIN|COMBINA|COMBINEVALUES|CONCATENATE|CONCATENATEX|CONFIDENCE\.NORM|CONFIDENCE\.T|CONTAINS|CONTAINSROW|CONTAINSSTRING|CONTAINSSTRINGEXACT|CONVERT|COS|COSH|COT|COTH|COUNT|COUNTA|COUNTAX|COUNTBLANK|COUNTROWS|COUNTX|CROSSFILTER|CROSSJOIN|CURRENCY|CURRENTGROUP|CUSTOMDATA|DATATABLE|DATE|DATEADD|DATEDIFF|DATESBETWEEN|DATESINPERIOD|DATESMTD|DATESQTD|DATESYTD|DATEVALUE|DAY|DEGREES|DETAILROWS|DISTINCT|DISTINCTCOUNT|DISTINCTCOUNTNOBLANK|DIVIDE|EARLIER|EARLIEST|EDATE|ENDOFMONTH|ENDOFQUARTER|ENDOFYEAR|EOMONTH|ERROR|EVEN|EXACT|EXCEPT|EXP|EXPON\.DIST|FACT|FALSE|FILTER|FILTERS|FIND|FIRSTDATE|FIRSTNONBLANK|FIRSTNONBLANKVALUE|FIXED|FLOOR|FORMAT|GCD|GENERATE|GENERATEALL|GENERATESERIES|GEOMEAN|GEOMEANX|GROUPBY|HASONEFILTER|HASONEVALUE|HOUR|IF|IF\.EAGER|IFERROR|IGNORE|INT|INTERSECT|ISBLANK|ISCROSSFILTERED|ISEMPTY|ISERROR|ISEVEN|ISFILTERED|ISINSCOPE|ISLOGICAL|ISNONTEXT|ISNUMBER|ISO\.CEILING|ISODD|ISONORAFTER|ISSELECTEDMEASURE|ISSUBTOTAL|ISTEXT|KEEPFILTERS|KEYWORDMATCH|LASTDATE|LASTNONBLANK|LASTNONBLANKVALUE|LCM|LEFT|LEN|LN|LOG|LOG10|LOOKUPVALUE|LOWER|MAX|MAXA|MAXX|MEDIAN|MEDIANX|MID|MIN|MINA|MINUTE|MINX|MOD|MONTH|MROUND|NATURALINNERJOIN|NATURALLEFTOUTERJOIN|NEXTDAY|NEXTMONTH|NEXTQUARTER|NEXTYEAR|NONVISUAL|NORM\.DIST|NORM\.INV|NORM\.S\.DIST|NORM\.S\.INV|NOT|NOW|ODD|OPENINGBALANCEMONTH|OPENINGBALANCEQUARTER|OPENINGBALANCEYEAR|OR|PARALLELPERIOD|PATH|PATHCONTAINS|PATHITEM|PATHITEMREVERSE|PATHLENGTH|PERCENTILE\.EXC|PERCENTILE\.INC|PERCENTILEX\.EXC|PERCENTILEX\.INC|PERMUT|PI|POISSON\.DIST|POWER|PREVIOUSDAY|PREVIOUSMONTH|PREVIOUSQUARTER|PREVIOUSYEAR|PRODUCT|PRODUCTX|QUARTER|QUOTIENT|RADIANS|RAND|RANDBETWEEN|RANK\.EQ|RANKX|RELATED|RELATEDTABLE|REMOVEFILTERS|REPLACE|REPT|RIGHT|ROLLUP|ROLLUPADDISSUBTOTAL|ROLLUPGROUP|ROLLUPISSUBTOTAL|ROUND|ROUNDDOWN|ROUNDUP|ROW|SAMEPERIODLASTYEAR|SAMPLE|SEARCH|SECOND|SELECTCOLUMNS|SELECTEDMEASURE|SELECTEDMEASUREFORMATSTRING|SELECTEDMEASURENAME|SELECTEDVALUE|SIGN|SIN|SINH|SQRT|SQRTPI|STARTOFMONTH|STARTOFQUARTER|STARTOFYEAR|STDEV\.P|STDEV\.S|STDEVX\.P|STDEVX\.S|SUBSTITUTE|SUBSTITUTEWITHINDEX|SUM|SUMMARIZE|SUMMARIZECOLUMNS|SUMX|SWITCH|T\.DIST|T\.DIST\.2T|T\.DIST\.RT|T\.INV|T\.INV\.2T|TAN|TANH|TIME|TIMEVALUE|TODAY|TOPN|TOPNPERLEVEL|TOPNSKIP|TOTALMTD|TOTALQTD|TOTALYTD|TREATAS|TRIM|TRUE|TRUNC|UNICHAR|UNICODE|UNION|UPPER|USERELATIONSHIP|USERNAME|USEROBJECTID|USERPRINCIPALNAME|UTCNOW|UTCTODAY|VALUE|VALUES|VAR\.P|VAR\.S|VARX\.P|VARX\.S|WEEKDAY|WEEKNUM|XIRR|XNPV|YEAR|YEARFRAC)(?=\s*\()/i,keyword:/\b(?:DEFINE|EVALUATE|MEASURE|ORDER\s+BY|RETURN|VAR|START\s+AT|ASC|DESC)\b/i,boolean:{pattern:/\b(?:FALSE|NULL|TRUE)\b/i,alias:"constant"},number:/\b\d+(?:\.\d*)?|\B\.\d+\b/,operator:/:=|[-+*\/=^]|&&?|\|\||<(?:=>?|<|>)?|>[>=]?|\b(?:IN|NOT)\b/i,punctuation:/[;\[\](){}`,.]/}}
152return WI=1,VI=e,e.displayName="dax",e.aliases=[],VI}()),e.register(function(){if(qI)return GI;function e(e){e.languages.dhall={comment:/--.*|\{-(?:[^-{]|-(?!\})|\{(?!-)|\{-(?:[^-{]|-(?!\})|\{(?!-))*-\})*-\}/,string:{pattern:/"(?:[^"\\]|\\.)*"|''(?:[^']|'(?!')|'''|''\$\{)*''(?!'|\$)/,greedy:!0,inside:{interpolation:{pattern:/\$\{[^{}]*\}/,inside:{expression:{pattern:/(^\$\{)[\s\S]+(?=\}$)/,lookbehind:!0,alias:"language-dhall",inside:null},punctuation:/\$\{|\}/}}}},label:{pattern:/`[^`]*`/,greedy:!0},url:{pattern:/\bhttps?:\/\/[\w.:%!$&'*+;=@~-]+(?:\/[\w.:%!$&'*+;=@~-]*)*(?:\?[/?\w.:%!$&'*+;=@~-]*)?/,greedy:!0},env:{pattern:/\benv:(?:(?!\d)\w+|"(?:[^"\\=]|\\.)*")/,greedy:!0,inside:{function:/^env/,operator:/^:/,variable:/[\s\S]+/}},hash:{pattern:/\bsha256:[\da-fA-F]{64}\b/,inside:{function:/sha256/,operator:/:/,number:/[\da-fA-F]{64}/}},keyword:/\b(?:as|assert|else|forall|if|in|let|merge|missing|then|toMap|using|with)\b|\u2200/,builtin:/\b(?:None|Some)\b/,boolean:/\b(?:False|True)\b/,number:/\bNaN\b|-?\bInfinity\b|[+-]?\b(?:0x[\da-fA-F]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/,operator:/\/\\|\/\/\\\\|&&|\|\||===|[!=]=|\/\/|->|\+\+|::|[+*#@=:?<>|\\\u2227\u2a53\u2261\u2afd\u03bb\u2192]/,punctuation:/\.\.|[{}\[\](),./]/,"class-name":/\b[A-Z]\w*\b/},e.languages.dhall.string.inside.interpolation.inside.expression.inside=e.languages.dhall}return qI=1,GI=e,e.displayName="dhall",e.aliases=[],GI}()),e.register(function(){if(XI)return YI;function e(e){!function(e){e.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d.*$/m]};var t={"deleted-sign":"-","deleted-arrow":"<","inserted-sign":"+","inserted-arrow":">",unchanged:" ",diff:"!"};Object.keys(t).forEach(function(n){var r=t[n],a=[];/^\w+$/.test(n)||a.push(/\w+/.exec(n)[0]),"diff"===n&&a.push("bold"),e.languages.diff[n]={pattern:RegExp("^(?:["+r+"].*(?:\r\n?|\n|(?![\\s\\S])))+","m"),alias:a,inside:{line:{pattern:/(.)(?=[\s\S]).*(?:\r\n?|\n)?/,lookbehind:!0},prefix:{pattern:/[\s\S]/,alias:/\w+/.exec(n)[0]}}}}),Object.defineProperty(e.languages.diff,"PREFIXES",{value:t})}(e)}return XI=1,YI=e,e.displayName="diff",e.aliases=[],YI}()),e.register(function(){if(QI)return JI;QI=1;var e=QM();function t(t){t.register(e),function(e){e.languages.django={comment:/^\{#[\s\S]*?#\}$/,tag:{pattern:/(^\{%[+-]?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%][+-]?|[+-]?[}%]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},filter:{pattern:/(\|)\w+/,lookbehind:!0,alias:"function"},test:{pattern:/(\bis\s+(?:not\s+)?)(?!not\b)\w+/,lookbehind:!0,alias:"function"},function:/\b[a-z_]\w+(?=\s*\()/i,keyword:/\b(?:and|as|by|else|for|if|import|in|is|loop|not|or|recursive|with|without)\b/,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,number:/\b\d+(?:\.\d+)?\b/,boolean:/[Ff]alse|[Nn]one|[Tt]rue/,variable:/\b\w+\b/,punctuation:/[{}[\](),.:;]/};var t=/\{\{[\s\S]*?\}\}|\{%[\s\S]*?%\}|\{#[\s\S]*?#\}/g,n=e.languages["markup-templating"];e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"django",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"django")}),e.languages.jinja2=e.languages.django,e.hooks.add("before-tokenize",function(e){n.buildPlaceholders(e,"jinja2",t)}),e.hooks.add("after-tokenize",function(e){n.tokenizePlaceholders(e,"jinja2")})}(t)}return JI=t,t.displayName="django",t.aliases=["jinja2"],JI}()),e.register(function(){if(tN)return eN;function e(e){e.languages["dns-zone-file"]={comment:/;.*/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},variable:[{pattern:/(^\$ORIGIN[ \t]+)\S+/m,lookbehind:!0},{pattern:/(^|\s)@(?=\s|$)/,lookbehind:!0}],keyword:/^\$(?:INCLUDE|ORIGIN|TTL)(?=\s|$)/m,class:{pattern:/(^|\s)(?:CH|CS|HS|IN)(?=\s|$)/,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|\s)(?:A|A6|AAAA|AFSDB|APL|ATMA|CAA|CDNSKEY|CDS|CERT|CNAME|DHCID|DLV|DNAME|DNSKEY|DS|EID|GID|GPOS|HINFO|HIP|IPSECKEY|ISDN|KEY|KX|LOC|MAILA|MAILB|MB|MD|MF|MG|MINFO|MR|MX|NAPTR|NB|NBSTAT|NIMLOC|NINFO|NS|NSAP|NSAP-PTR|NSEC|NSEC3|NSEC3PARAM|NULL|NXT|OPENPGPKEY|PTR|PX|RKEY|RP|RRSIG|RT|SIG|SINK|SMIMEA|SOA|SPF|SRV|SSHFP|TA|TKEY|TLSA|TSIG|TXT|UID|UINFO|UNSPEC|URI|WKS|X25)(?=\s|$)/,lookbehind:!0,alias:"keyword"},punctuation:/[()]/},e.languages["dns-zone"]=e.languages["dns-zone-file"]}return tN=1,eN=e,e.displayName="dnsZoneFile",e.aliases=[],eN}()),e.register(function(){if(rN)return nN;function e(e){!function(e){var t=/\\[\r\n](?:\s|\\[\r\n]|#.*(?!.))*(?![\s#]|\\[\r\n])/.source,n=/(?:[ \t]+(?![ \t])(?:<SP_BS>)?|<SP_BS>)/.source.replace(/<SP_BS>/g,function(){return t}),r=/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"|'(?:[^'\\\r\n]|\\(?:\r\n|[\s\S]))*'/.source,a=/--[\w-]+=(?:<STR>|(?!["'])(?:[^\s\\]|\\.)+)/.source.replace(/<STR>/g,function(){return r}),o={pattern:RegExp(r),greedy:!0},i={pattern:/(^[ \t]*)#.*/m,lookbehind:!0,greedy:!0};function s(e,t){return e=e.replace(/<OPT>/g,function(){return a}).replace(/<SP>/g,function(){return n}),RegExp(e,t)}e.languages.docker={instruction:{pattern:/(^[ \t]*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)(?:\\.|[^\r\n\\])*(?
152:\\$(?:\s|#.*$)*(?![\s#])(?:\\.|[^\r\n\\])*)*/im,lookbehind:!0,greedy:!0,inside:{options:{pattern:s(/(^(?:ONBUILD<SP>)?\w+<SP>)<OPT>(?:<SP><OPT>)*/.source,"i"),lookbehind:!0,greedy:!0,inside:{property:{pattern:/(^|\s)--[\w-]+/,lookbehind:!0},string:[o,{pattern:/(=)(?!["'])(?:[^\s\\]|\\.)+/,lookbehind:!0}],operator:/\\$/m,punctuation:/=/}},keyword:[{pattern:s(/(^(?:ONBUILD<SP>)?HEALTHCHECK<SP>(?:<OPT><SP>)*)(?:CMD|NONE)\b/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^(?:ONBUILD<SP>)?FROM<SP>(?:<OPT><SP>)*(?!--)[^ \t\\]+<SP>)AS/.source,"i"),lookbehind:!0,greedy:!0},{pattern:s(/(^ONBUILD<SP>)\w+/.source,"i"),lookbehind:!0,greedy:!0},{pattern:/^\w+/,greedy:!0}],comment:i,string:o,variable:/\$(?:\w+|\{[^{}"'\\]*\})/,operator:/\\$/m}},comment:i},e.languages.dockerfile=e.languages.docker}(e)}return rN=1,nN=e,e.displayName="docker",e.aliases=["dockerfile"],nN}()),e.register(function(){if(oN)return aN;function e(e){!function(e){var t="(?:"+[/[a-zA-Z_\x80-\uFFFF][\w\x80-\uFFFF]*/.source,/-?(?:\.\d+|\d+(?:\.\d*)?)/.source,/"[^"\\]*(?:\\[\s\S][^"\\]*)*"/.source,/<(?:[^<>]|(?!<!--)<(?:[^<>"']|"[^"]*"|'[^']*')+>|<!--(?:[^-]|-(?!->))*-->)*>/.source].join("|")+")",n={markup:{pattern:/(^<)[\s\S]+(?=>$)/,lookbehind:!0,alias:["language-markup","language-html","language-xml"],inside:e.languages.markup}};function r(e,n){return RegExp(e.replace(/<ID>/g,function(){return t}),n)}e.languages.dot={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\/|^#.*/m,greedy:!0},"graph-name":{pattern:r(/(\b(?:digraph|graph|subgraph)[ \t\r\n]+)<ID>/.source,"i"),lookbehind:!0,greedy:!0,alias:"class-name",inside:n},"attr-value":{pattern:r(/(=[ \t\r\n]*)<ID>/.source),lookbehind:!0,greedy:!0,inside:n},"attr-name":{pattern:r(/([\[;, \t\r\n])<ID>(?=[ \t\r\n]*=)/.source),lookbehind:!0,greedy:!0,inside:n},keyword:/\b(?:digraph|edge|graph|node|strict|subgraph)\b/i,"compass-point":{pattern:/(:[ \t\r\n]*)(?:[ewc_]|[ns][ew]?)(?![\w\x80-\uFFFF])/,lookbehind:!0,alias:"builtin"},node:{pattern:r(/(^|[^-.\w\x80-\uFFFF\\])<ID>/.source),lookbehind:!0,greedy:!0,inside:n},operator:/[=:]|-[->]/,punctuation:/[\[\]{};,]/},e.languages.gv=e.languages.dot}(e)}return oN=1,aN=e,e.displayName="dot",e.aliases=["gv"],aN}()),e.register(function(){if(sN)return iN;function e(e){e.languages.ebnf={comment:/\(\*[\s\S]*?\*\)/,string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0},special:{pattern:/\?[^?\r\n]*\?/,greedy:!0,alias:"class-name"},definition:{pattern:/^([\t ]*)[a-z]\w*(?:[ \t]+[a-z]\w*)*(?=\s*=)/im,lookbehind:!0,alias:["rule","keyword"]},rule:/\b[a-z]\w*(?:[ \t]+[a-z]\w*)*\b/i,punctuation:/\([:/]|[:/]\)|[.,;()[\]{}]/,operator:/[-=|*/!]/}}return sN=1,iN=e,e.displayName="ebnf",e.aliases=[],iN}()),e.register(function(){if(cN)return lN;function e(e){e.languages.editorconfig={comment:/[;#].*/,section:{pattern:/(^[ \t]*)\[.+\]/m,lookbehind:!0,alias:"selector",inside:{regex:/\\\\[\[\]{},!?.*]/,operator:/[!?]|\.\.|\*{1,2}/,punctuation:/[\[\]{},]/}},key:{pattern:/(^[ \t]*)[^\s=]+(?=[ \t]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/=.*/,alias:"attr-value",inside:{punctuation:/^=/}}}}return cN=1,lN=e,e.displayName="editorconfig",e.aliases=[],lN}()),e.register(function(){if(dN)return uN;function e(e){e.languages.eiffel={comment:/--.*/,string:[{pattern:/"([^[]*)\[[\s\S]*?\]\1"/,greedy:!0},{pattern:/"([^{]*)\{[\s\S]*?\}\1"/,greedy:!0},{pattern:/"(?:%(?:(?!\n)\s)*\n\s*%|%\S|[^%"\r\n])*"/,greedy:!0}],char:/'(?:%.|[^%'\r\n])+'/,keyword:/\b(?:across|agent|alias|all|and|as|assign|attached|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\b/i,boolean:/\b(?:False|True)\b/i,"class-name":/\b[A-Z][\dA-Z_]*\b/,number:[/\b0[xcb][\da-f](?:_*[\da-f])*\b/i,/(?:\b\d(?:_*\d)*)?\.(?:(?:\d(?:_*\d)*)?e[+-]?)?\d(?:_*\d)*\b|\b\d(?:_*\d)*\b\.?/i],punctuation:/:=|<<|>>|\(\||\|\)|->|\.(?=\w)|[{}[\];(),:?]/,operator:/\\\\|\|\.\.\||\.\.|\/[~\/=]?|[><]=?|[-+*^=~]/}}return dN=1,uN=e,e.displayName="eiffel",e.aliases=[],uN}()),e.register(function(){if(fN)return pN;fN=1;var e=QM();function t(t){t.register(e),function(e){e.languages.ejs={delimiter:{pattern:/^<%[-_=]?|[-_]?%>$/,alias:"punctuation"},comment:/^#[\s\S]*/,"language-javascript":{pattern:/[\s\S]+/,inside:e.languages.javascript}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"ejs",/<%(?!%)[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ejs")}),e.languages.eta=e.languages.ejs}(t)}return pN=t,t.displayName="ejs",t.aliases=["eta"],pN}()),e.register(function(){if(hN)return mN;function e(e){e.languages.elixir={doc:{pattern:/@(?:doc|moduledoc)\s+(?:("""|''')[\s\S]*?\1|("|')(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2)/,inside:{attribute:/^@\w+/,string:/['"][\s\S]+/}},comment:{pattern:/#.*/,greedy:!0}
152,regex:{pattern:/~[rR](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|[^\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[uismxfr]*/,greedy:!0},string:[{pattern:/~[cCsSwW](?:("""|''')(?:\\[\s\S]|(?!\1)[^\\])+\1|([\/|"'])(?:\\.|(?!\2)[^\\\r\n])+\2|\((?:\\.|[^\\)\r\n])+\)|\[(?:\\.|[^\\\]\r\n])+\]|\{(?:\\.|#\{[^}]+\}|#(?!\{)|[^#\\}\r\n])+\}|<(?:\\.|[^\\>\r\n])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/("""|''')[\s\S]*?\1/,greedy:!0,inside:{}},{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\w+/,lookbehind:!0,alias:"symbol"},module:{pattern:/\b[A-Z]\w*\b/,alias:"class-name"},"attr-name":/\b\w+\??:(?!:)/,argument:{pattern:/(^|[^&])&\d+/,lookbehind:!0,alias:"variable"},attribute:{pattern:/@\w+/,alias:"variable"},function:/\b[_a-zA-Z]\w*[?!]?(?:(?=\s*(?:\.\s*)?\()|(?=\/\d))/,number:/\b(?:0[box][a-f\d_]+|\d[\d_]*)(?:\.[\d_]+)?(?:e[+-]?[\d_]+)?\b/i,keyword:/\b(?:after|alias|and|case|catch|cond|def(?:callback|delegate|exception|impl|macro|module|n|np|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|quote|raise|require|rescue|try|unless|unquote|use|when)\b/,boolean:/\b(?:false|nil|true)\b/,operator:[/\bin\b|&&?|\|[|>]?|\\\\|::|\.\.\.?|\+\+?|-[->]?|<[-=>]|>=|!==?|\B!|=(?:==?|[>~])?|[*\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\[\]{}()]/},e.languages.elixir.string.forEach(function(t){t.inside={interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},rest:e.languages.elixir}}}})}return hN=1,mN=e,e.displayName="elixir",e.aliases=[],mN}()),e.register(function(){if(bN)return gN;function e(e){e.languages.elm={comment:/--.*|\{-[\s\S]*?-\}/,char:{pattern:/'(?:[^\\'\r\n]|\\(?:[abfnrtv\\']|\d+|x[0-9a-fA-F]+|u\{[0-9a-fA-F]+\}))'/,greedy:!0},string:[{pattern:/"""[\s\S]*?"""/,greedy:!0},{pattern:/"(?:[^\\"\r\n]|\\.)*"/,greedy:!0}],"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z]\w*(?:\.[A-Z]\w*)*(?:\s+as\s+(?:[A-Z]\w*)(?:\.[A-Z]\w*)*)?(?:\s+exposing\s+)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|exposing|import)\b/}},keyword:/\b(?:alias|as|case|else|exposing|if|in|infixl|infixr|let|module|of|then|type)\b/,builtin:/\b(?:abs|acos|always|asin|atan|atan2|ceiling|clamp|compare|cos|curry|degrees|e|flip|floor|fromPolar|identity|isInfinite|isNaN|logBase|max|min|negate|never|not|pi|radians|rem|round|sin|sqrt|tan|toFloat|toPolar|toString|truncate|turns|uncurry|xor)\b/,number:/\b(?:\d+(?:\.\d+)?(?:e[+-]?\d+)?|0x[0-9a-f]+)\b/i,operator:/\s\.\s|[+\-/*=.$<>:&|^?%#@~!]{2,}|[+\-/*=$<>:&|^?%#@~!]/,hvariable:/\b(?:[A-Z]\w*\.)*[a-z]\w*\b/,constant:/\b(?:[A-Z]\w*\.)*[A-Z]\w*\b/,punctuation:/[{}[\]|(),.:]/}}return bN=1,gN=e,e.displayName="elm",e.aliases=[],gN}()),e.register(function(){if(vN)return yN;vN=1;var e=JM(),t=QM();function n(n){n.register(e),n.register(t),function(e){e.languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:e.languages.ruby}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"erb")})}(n)}return yN=n,n.displayName="erb",n.aliases=[],yN}()),e.register(function(){if(SN)return xN;function e(e){e.languages.erlang={comment:/%.+/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},"quoted-function":{pattern:/'(?:\\.|[^\\'\r\n])+'(?=\()/,alias:"function"},"quoted-atom":{pattern:/'(?:\\.|[^\\'\r\n])+'/,alias:"atom"},boolean:/\b(?:false|true)\b/,keyword:/\b(?:after|case|catch|end|fun|if|of|receive|try|when)\b/,number:[/\$\\?./,/\b\d+#[a-z0-9]+/i,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i],function:/\b[a-z][\w@]*(?=\()/,variable:{pattern:/(^|[^@])(?:\b|\?)[A-Z_][\w@]*/,lookbehind:!0},operator:[/[=\/<>:]=|=[:\/]=|\+\+?|--?|[=*\/!]|\b(?:and|andalso|band|bnot|bor|bsl|bsr|bxor|div|not|or|orelse|rem|xor)\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\b[a-z][\w@]*/,punctuation:/[()[\]{}:;,.#|]|<<|>>/}}return SN=1,xN=e,e.displayName="erlang",e.aliases=[],xN}()),e.register(function(){if(kN)return CN;kN=1;var e=ej(),t=QM();function n(n){n.register(e),n.register(t),function(e){e.languages.etlua={delimiter:{pattern:/^<%[-=]?|-?%>$/,alias:"punctuation"},"language-lua":{pattern:/[\s\S]+/,inside:e.languages.lua}},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"etlua",/<%[\s\S]+?%>/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"etlua")})}(n)}return CN=n,n.displayName="etlua",n.aliases=[],CN}()),e.register(function(){if(AN)return TN;function e(e){e.languages["excel-formula"]={comment:{pattern:/(\bN\(\s*)"(?:[^"]|"")*"(?=\s*\))/i,lookbehind:!0,greedy:!0},string:{pattern:/"(?:[^"]|"")*"(?!")/,greedy:!0},reference:{pattern:/(?:'[^']*'|(?:[^\s()[\]{}<>*?"';,$&]*\[[^^\s()[\]{}<>*?"']+\])?\w+)!/,greedy:!0,alias:"string",inside:{operator:/!$/,punctuation:/'/,sheet:{pattern:/[^[\]]+$/,alias:"function"},file:{pattern:/\[[^[\]]+\]$/,inside:{punctuation:/[[\]]/}},path:/[\s\S]+/}}
152,"function-name":{pattern:/\b[A-Z]\w*(?=\()/i,alias:"keyword"},range:{pattern:/\$?\b(?:[A-Z]+\$?\d+:\$?[A-Z]+\$?\d+|[A-Z]+:\$?[A-Z]+|\d+:\$?\d+)\b/i,alias:"property",inside:{operator:/:/,cell:/\$?[A-Z]+\$?\d+/i,column:/\$?[A-Z]+/i,row:/\$?\d+/}},cell:{pattern:/\b[A-Z]+\d+\b|\$[A-Za-z]+\$?\d+\b|\b[A-Za-z]+\$\d+\b/,alias:"property"},number:/(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?\b/i,boolean:/\b(?:FALSE|TRUE)\b/i,operator:/[-+*/^%=&,]|<[=>]?|>=?/,punctuation:/[[\]();{}|]/},e.languages.xlsx=e.languages.xls=e.languages["excel-formula"]}return AN=1,TN=e,e.displayName="excelFormula",e.aliases=[],TN}()),e.register(function(){if(NN)return IN;function e(e){!function(e){var t={function:/\b(?:BUGS?|FIX(?:MES?)?|NOTES?|TODOS?|XX+|HACKS?|WARN(?:ING)?|\?{2,}|!{2,})\b/},n={number:/\\[^\s']|%\w/},r={comment:[{pattern:/(^|\s)(?:! .*|!$)/,lookbehind:!0,inside:t},{pattern:/(^|\s)\/\*\s[\s\S]*?\*\/(?=\s|$)/,lookbehind:!0,greedy:!0,inside:t},{pattern:/(^|\s)!\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,inside:t}],number:[{pattern:/(^|\s)[+-]?\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b[01]+|o[0-7]+|d\d+|x[\dA-F]+)(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)[+-]?\d+\/\d+\.?(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)\+?\d+\+\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)-\d+-\d+\/\d+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?(?:\d*\.\d+|\d+\.\d*|\d+)(?:e[+-]?\d+)?(?=\s|$)/i,lookbehind:!0},{pattern:/(^|\s)NAN:\s+[\da-fA-F]+(?=\s|$)/,lookbehind:!0},{pattern:/(^|\s)[+-]?0(?:b1\.[01]*|o1\.[0-7]*|d1\.\d*|x1\.[\dA-F]*)p\d+(?=\s|$)/i,lookbehind:!0}
vendor: 2,696 bytes, line 152
152],regexp:{pattern:/(^|\s)R\/\s(?:\\\S|[^\\/])*\/(?:[idmsr]*|[idmsr]+-[idmsr]+)(?=\s|$)/,lookbehind:!0,alias:"number",inside:{variable:/\\\S/,keyword:/[+?*\[\]^$(){}.|]/,operator:{pattern:/(\/)[idmsr]+(?:-[idmsr]+)?/,lookbehind:!0}}},boolean:{pattern:/(^|\s)[tf](?=\s|$)/,lookbehind:!0},"custom-string":{pattern:/(^|\s)[A-Z0-9\-]+"\s(?:\\\S|[^"\\])*"/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:/\\\S|%\w|\//}},"multiline-string":[{pattern:/(^|\s)STRING:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*;(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:{number:n.number,"semicolon-or-setlocal":{pattern:/([\r\n][ \t]*);(?=\s|$)/,lookbehind:!0,alias:"function"}}},{pattern:/(^|\s)HEREDOC:\s+\S+(?:\n|\r\n).*(?:\n|\r\n)\s*\S+(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n},{pattern:/(^|\s)\[(={0,6})\[\s[\s\S]*?\]\2\](?=\s|$)/,lookbehind:!0,greedy:!0,alias:"string",inside:n}],"special-using":{pattern:/(^|\s)USING:(?:\s\S+)*(?=\s+;(?:\s|$))/,lookbehind:!0,alias:"function",inside:{string:{pattern:/(\s)[^:\s]+/,lookbehind:!0}}},"stack-effect-delimiter":[{pattern:/(^|\s)(?:call|eval|execute)?\((?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)--(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\)(?=\s|$)/,lookbehind:!0,alias:"operator"}],combinators:{pattern:null,lookbehind:!0,alias:"keyword"},"kernel-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"sequences-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"math-builtin":{pattern:null,lookbehind:!0,alias:"variable"},"constructor-word":{pattern:/(^|\s)<(?!=+>|-+>)\S+>(?=\s|$)/,lookbehind:!0,alias:"keyword"},"other-builtin-syntax":{pattern:null,lookbehind:!0,alias:"operator"},"conventionally-named-word":{pattern:/(^|\s)(?!")(?:(?:change|new|set|with)-\S+|\$\S+|>[^>\s]+|[^:>\s]+>|[^>\s]+>[^>\s]+|\+[^+\s]+\+|[^?\s]+\?|\?[^?\s]+|[^>\s]+>>|>>[^>\s]+|[^<\s]+<<|\([^()\s]+\)|[^!\s]+!|[^*\s]\S*\*|[^.\s]\S*\.)(?=\s|$)/,lookbehind:!0,alias:"keyword"},"colon-syntax":{pattern:/(^|\s)(?:[A-Z0-9\-]+#?)?:{1,2}\s+(?:;\S+|(?!;)\S+)(?=\s|$)/,lookbehind:!0,greedy:!0,alias:"function"},"semicolon-or-setlocal":{pattern:/(\s)(?:;|:>)(?=\s|$)/,lookbehind:!0,alias:"function"},"curly-brace-literal-delimiter":[{pattern:/(^|\s)[a-z]*\{(?=\s)/i,lookbehind:!0,alias:"operator"},{pattern:/(\s)\}(?=\s|$)/,lookbehind:!0,alias:"operator"}],"quotation-delimiter":[{pattern:/(^|\s)\[(?=\s)/,lookbehind:!0,alias:"operator"},{pattern:/(\s)\](?=\s|$)/,lookbehind:!0,alias:"operator"}],"normal-word":{pattern:/(^|\s)[^"\s]\S*(?=\s|$)/,lookbehind:!0},string:{pattern:/"(?:\\\S|[^"\\])*"/,greedy:!0,inside:n}},a=function(e){return(e+"").replace(/([.?*+\^$\[\]\\(){}|\-])/g,"\\$1")},o=function(e){return new RegExp("(^|\\s)(?:"+e.map(a
vendor: 3,908 bytes, line 152
152).join("|")+")(?=\\s|$)")},i={"kernel-builtin":["or","2nipd","4drop","tuck","wrapper","nip","wrapper?","callstack>array","die","dupd","callstack","callstack?","3dup","hashcode","pick","4nip","build",">boolean","nipd","clone","5nip","eq?","?","=","swapd","2over","clear","2dup","get-retainstack","not","tuple?","dup","3nipd","call","-rotd","object","drop","assert=","assert?","-rot","execute","boa","get-callstack","curried?","3drop","pickd","overd","over","roll","3nip","swap","and","2nip","rotd","throw","(clone)","hashcode*","spin","reach","4dup","equal?","get-datastack","assert","2drop","<wrapper>","boolean?","identity-hashcode","identity-tuple?","null","composed?","new","5drop","rot","-roll","xor","identity-tuple","boolean"],"other-builtin-syntax":["=======","recursive","flushable",">>","<<<<<<","M\\","B","PRIVATE>","\\","======","final","inline","delimiter","deprecated","<PRIVATE",">>>>>>","<<<<<<<","parse-complex","malformed-complex","read-only",">>>>>>>","call-next-method","<<","foldable","$","$[","${"],"sequences-builtin":["member-eq?","mismatch","append","assert-sequence=","longer","repetition","clone-like","3sequence","assert-sequence?","last-index-from","reversed","index-from","cut*","pad-tail","join-as","remove-eq!","concat-as","but-last","snip","nths","nth","sequence","longest","slice?","<slice>","remove-nth","tail-slice","empty?","tail*","member?","virtual-sequence?","set-length","drop-prefix","iota","unclip","bounds-error?","unclip-last-slice","non-negative-integer-expected","non-negative-integer-expected?","midpoint@","longer?","?set-nth","?first","rest-slice","prepend-as","prepend","fourth","sift","subseq-start","new-sequence","?last","like","first4","1sequence","reverse","slice","virtual@","repetition?","set-last","index","4sequence","max-length","set-second","immutable-sequence","first2","first3","supremum","unclip-slice","suffix!","insert-nth","tail","3append","short","suffix","concat","flip","immutable?","reverse!","2sequence","sum","delete-all","indices","snip-slice","<iota>","check-slice","sequence?","head","append-as","halves","sequence=","collapse-slice","?second","slice-error?","product","bounds-check?","bounds-check","immutable","virtual-exemplar","harvest","remove","pad-head","last","set-fourth","cartesian-product","remove-eq","shorten","shorter","reversed?","shorter?","shortest","head-slice","pop*","tail-slice*","but-last-slice","iota?","append!","cut-slice","new-resizable","head-slice*","sequence-hashcode","pop","set-nth","?nth","second","join","immutable-sequence?","<reversed>","3append-as","virtual-sequence","subseq?","remove-nth!","length","last-index","lengthen","assert-sequence","copy","move","third","first","tail?","set-first","prefix","bounds-error","<repetition>","exchange","surround","cut","min-length","set-third","push-all","head?","subseq-start-from","delete-slice","rest","sum-lengths","head*","infimum","remove!","glue","slice-error","subseq","push","replace-slice","subseq-as","unclip-last"],"math-builtin":["number=","next-power-of-2","?1+","fp-special?","imaginary-part","float>bits","number?","fp-infinity?","bignum?","fp-snan?","denominator","gcd","*","+","fp-bitwise=","-","u>=","/",">=","bitand","power-of-2?","log2-expects-positive","neg?","<","log2",">","integer?","number","bits>double","2/","zero?","bits>float","float?","shift","ratio?","rect>","even?","ratio","fp-sign","bitnot",">fixnum","complex?","/i","integer>fixnum","/f","sgn",">bignum","next-float","u<","u>","mod","recip","rational",">float","2^","integer","fixnum?","neg","fixnum","sq","bignum",">rect","bit?","fp-qnan?","simple-gcd","complex","<fp-nan>","real",">fraction","double>bits","bitor","rem","fp-nan-payload","real-part","log2-expects-positive?","prev-float","align","unordered?","float","fp-nan?","abs","bitxor","integer>fixnum-strict","u<=","odd?","<=","/mod",">integer","real?","rational?","numerator"]};Object.keys(i).forEach(function(
152e){r[e].pattern=o(i[e])}),r.combinators.pattern=o(["2bi","while","2tri","bi*","4dip","both?","same?","tri@","curry","prepose","3bi","?if","tri*","2keep","3keep","curried","2keepd","when","2bi*","2tri*","4keep","bi@","keepdd","do","unless*","tri-curry","if*","loop","bi-curry*","when*","2bi@","2tri@","with","2with","either?","bi","until","3dip","3curry","tri-curry*","tri-curry@","bi-curry","keepd","compose","2dip","if","3tri","unless","tuple","keep","2curry","tri","most","while*","dip","composed","bi-curry@","find-last-from","trim-head-slice","map-as","each-from","none?","trim-tail","partition","if-empty","accumulate*","reject!","find-from","accumulate-as","collector-for-as","reject","map","map-sum","accumulate!","2each-from","follow","supremum-by","map!","unless-empty","collector","padding","reduce-index","replicate-as","infimum-by","trim-tail-slice","count","find-index","filter","accumulate*!","reject-as","map-integers","map-find","reduce","selector","interleave","2map","filter-as","binary-reduce","map-index-as","find","produce","filter!","replicate","cartesian-map","cartesian-each","find-index-from","map-find-last","3map-as","3map","find-last","selector-as","2map-as","2map-reduce","accumulate","each","each-index","accumulate*-as","when-empty","all?","collector-as","push-either","new-like","collector-for","2selector","push-if","2all?","map-reduce","3each","any?","trim-slice","2reduce","change-nth","produce-as","2each","trim","trim-head","cartesian-find","map-index","if-zero","each-integer","unless-zero","(find-integer)","when-zero","find-last-integer","(all-integers?)","times","(each-integer)","find-integer","all-integers?","unless-negative","if-positive","when-positive","when-negative","unless-positive","if-negative","case","2cleave","cond>quot","case>quot","3cleave","wrong-values","to-fixed-point","alist>quot","cond","cleave","call-effect","recursive-hashcode","spread","deep-spread>quot","2||","0||","n||","0&&","2&&","3||","1||","1&&","n&&","3&&","smart-unless*","keep-inputs","reduce-outputs","smart-when*","cleave>array","smart-with","smart-apply","smart-if","inputs/outputs","output>sequence-n","map-outputs","map-reduce-outputs","dropping","output>array","smart-map-reduce","smart-2map-reduce","output>array-n","nullary","input<sequence","append-outputs","drop-inputs","inputs","smart-2reduce","drop-outputs","smart-reduce","preserving","smart-when","outputs","append-outputs-as","smart-unless","smart-if*","sum-outputs","input<sequence-unsafe","output>sequence"]),e.languages.factor=r}(e)}return NN=1,IN=e,e.displayName="factor",e.aliases=[],IN}()),e.register(function(){if(RN)return _N;function e(e){!function(e){e.languages.false={comment:{pattern:/\{[^}]*\}/},string:{pattern:/"[^"]*"/,greedy:!0},"character-code":{pattern:/'(?:[^\r]|\r\n?)/,alias:"number"},"assembler-code":{pattern:/\d+`/,alias:"important"},number:/\d+/,operator:/[-!#$%&'*+,./:;=>?@\\^_`|~Ãø]/,punctuation:/\[|\]/,variable:/[a-z]/,"non-standard":{pattern:/[()<BDO®]/,alias:"bold"}}}(e)}return RN=1,_N=e,e.displayName="$false",e.aliases=[],_N}()),e.register(function(){if(LN)return ON;function e(e){e.languages["firestore-security-rules"]=e.languages.extend("clike",{comment:/\/\/.*/,keyword:/\b(?:allow|function|if|match|null|return|rules_version|service)\b/,operator:/&&|\|\||[<>!=]=?|[-+*/%]|\b(?:in|is)\b/}),delete e.languages["firestore-security-rules"]["class-name"],e.languages.insertBefore("firestore-security-rules","keyword",{path:{pattern:/(^|[\s(),])(?:\/(?:[\w\xA0-\uFFFF]+|\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)))+/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/\{[\w\xA0-\uFFFF]+(?:=\*\*)?\}|\$\([\w\xA0-\uFFFF.]+\)/,inside:{operator:/=/,keyword:/\*\*/,punctuation:/[.$(){}]/}},punctuation:/\//}},method:{pattern:/(\ballow\s+)[a-z]+(?:\s*,\s*[a-z]+)*(?=\s*[:;])/,lookbehind:!0,alias:"builtin",inside:{punctuation:/,/}}})}return LN=1,ON=e,e.displayName="firestoreSecurityRules",e.aliases=[],ON}()),e.register(function(){if(PN)return DN;function e(e){!function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|any|mixed|null|void)\b/,alias:"tag"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(e)}return PN=1,DN=e,e.displayName="flow",e.aliases=[],DN}()),e.register(function(){if(jN)return MN;function e(e){e.languages.fortran={"quoted-number":{pattern:/[BOZ](['"])[A-F0-9]+\1/i,alias:"number"},string:{pattern:/(?:\b\w+_)?(['"])(?:\1\1|&(?:\r\n?|\n)(?:[ \t]*!.*(?:\r\n?|\n)|(?![ \t]*!))|(?!\1).)*(?:\1|&)/,inside:{comment:{pattern:/(&(?:\r\n?|\n)\s*)!.*/,lookbehind:!0}}},comment:{pattern:/!.*/,greedy:!0},boolean:/\.(?:FALSE|TRUE)\.(?:_\w+)?/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[ED][+-]?\d+)?(?:_\w+)?/i,keyword:[/\b(?:CHARACTER|COMPLEX|DOUBLE ?PRECISION|INTEGER|LOGICAL|REAL)\b/i,/\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\b/i,/\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\b/i,/\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEIF|ELSEWHERE|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|O
vendor: 4,183 bytes, line 152
152NLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\b/i],operator:[/\*\*|\/\/|=>|[=\/]=|[<>]=?|::|[+\-*=%]|\.[A-Z]+\./i,{pattern:/(^|(?!\().)\/(?!\))/,lookbehind:!0}],punctuation:/\(\/|\/\)|[(),;:&]/}}return jN=1,MN=e,e.displayName="fortran",e.aliases=[],MN}()),e.register(function(){if(zN)return FN;function e(e){e.languages.fsharp=e.languages.extend("clike",{comment:[{pattern:/(^|[^\\])\(\*(?!\))[\s\S]*?\*\)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(?:"""[\s\S]*?"""|@"(?:""|[^"])*"|"(?:\\[\s\S]|[^\\"])*")B?/,greedy:!0},"class-name":{pattern:/(\b(?:exception|inherit|interface|new|of|type)\s+|\w\s*:\s*|\s:\??>\s*)[.\w]+\b(?:\s*(?:->|\*)\s*[.\w]+\b)*(?!\s*[:.])/,lookbehind:!0,inside:{operator:/->|\*/,punctuation:/\./}},keyword:/\b(?:let|return|use|yield)(?:!\B|\b)|\b(?:abstract|and|as|asr|assert|atomic|base|begin|break|checked|class|component|const|constraint|constructor|continue|default|delegate|do|done|downcast|downto|eager|elif|else|end|event|exception|extern|external|false|finally|fixed|for|fun|function|functor|global|if|in|include|inherit|inline|interface|internal|land|lazy|lor|lsl|lsr|lxor|match|member|method|mixin|mod|module|mutable|namespace|new|not|null|object|of|open|or|override|parallel|private|process|protected|public|pure|rec|sealed|select|sig|static|struct|tailcall|then|to|trait|true|try|type|upcast|val|virtual|void|volatile|when|while|with)\b/,number:[/\b0x[\da-fA-F]+(?:LF|lf|un)?\b/,/\b0b[01]+(?:uy|y)?\b/,/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[fm]|e[+-]?\d+)?\b/i,/\b\d+(?:[IlLsy]|UL|u[lsy]?)?\b/],operator:/([<>~&^])\1\1|([*.:<>&])\2|<-|->|[!=:]=|<?\|{1,3}>?|\??(?:<=|>=|<>|[-+*/%=<>])\??|[!?^&]|~[+~-]|:>|:\?>?/}),e.languages.insertBefore("fsharp","keyword",{preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(^#)\b(?:else|endif|if|light|line|nowarn)\b/,lookbehind:!0,alias:"keyword"}}}}),e.languages.insertBefore("fsharp","punctuation",{"computation-expression":{pattern:/\b[_a-z]\w*(?=\s*\{)/i,alias:"keyword"}}),e.languages.insertBefore("fsharp","string",{annotation:{pattern:/\[<.+?>\]/,greedy:!0,inside:{punctuation:/^\[<|>\]$/,"class-name":{pattern:/^\w+$|(^|;\s*)[A-Z]\w*(?=\()/,lookbehind:!0},"annotation-content":{pattern:/[\s\S]+/,inside:e.languages.fsharp}}},char:{pattern:/'(?:[^\\']|\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8}))'B?/,greedy:!0}})}return zN=1,FN=e,e.displayName="fsharp",e.aliases=[],FN}()),e.register(function(){if(BN)return $N;BN=1;var e=QM();function t(t){t.register(e),function(e){for(var t=/[^<()"']|\((?:<expr>)*\)|<(?!#--)|<#--(?:[^-]|-(?!->))*-->|"(?:[^\\"]|\\.)*"|'(?:[^\\']|\\.)*'/.source,n=0;n<2;n++)t=t.replace(/<expr>/g,function(){return t});t=t.replace(/<expr>/g,/[^\s\S]/.source);var r={comment:/<#--[\s\S]*?-->/,string:[{pattern:/\br("|')(?:(?!\1)[^\\]|\\.)*\1/,greedy:!0},{pattern:RegExp(/("|')(?:(?!\1|\$\{)[^\\]|\\.|\$\{(?:(?!\})(?:<expr>))*\})*\1/.source.replace(/<expr>/g,function(){return t})),greedy:!0,inside:{interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\\\)*)\$\{(?:(?!\})(?:<expr>))*\}/.source.replace(/<expr>/g,function(){return t})),lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:null}}}}],keyword:/\b(?:as)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/((?:^|[^?])\?\s*)\w+/,lookbehind:!0,alias:"function"},function:/\b\w+(?=\s*\()/,number:/\b\d+(?:\.\d+)?\b/,operator:/\.\.[<*!]?|->|--|\+\+|&&|\|\||\?{1,2}|[-+*/%!=<>]=?|\b(?:gt|gte|lt|lte)\b/,punctuation:/[,;.:()[\]{}]/};r.string[1].inside.interpolation.inside.rest=r,e.languages.ftl={"ftl-comment":{pattern:/^<#--[\s\S]*/,alias:"comment"},"ftl-directive":{pattern:/^<[\s\S]+>$/,inside:{directive:{pattern:/(^<\/?)[#@][a-z]\w*/i,lookbehind:!0,alias:"keyword"},punctuation:/^<\/?|\/?>$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}},"ftl-interpolation":{pattern:/^\$\{[\s\S]*\}$/,inside:{punctuation:/^\$\{|\}$/,content:{pattern:/\s*\S[\s\S]*/,alias:"ftl",inside:r}}}},e.hooks.add("before-tokenize",function(n){var r=RegExp(/<#--[\s\S]*?-->|<\/?[#@][a-zA-Z](?:<expr>)*?>|\$\{(?:<expr>)*?\}/.source.replace(/<expr>/g,function(){return t}
152),"gi");e.languages["markup-templating"].buildPlaceholders(n,"ftl",r)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"ftl")})}(t)}return $N=t,t.displayName="ftl",t.aliases=[],$N}()),e.register(function(){if(HN)return UN;function e(e){e.languages.gap={shell:{pattern:/^gap>[\s\S]*?(?=^gap>|$(?![\s\S]))/m,greedy:!0,inside:{gap:{pattern:/^(gap>).+(?:(?:\r(?:\n|(?!\n))|\n)>.*)*/,lookbehind:!0,inside:null},punctuation:/^gap>/}},comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(^|[^\\'"])(?:'(?:[^\r\n\\']|\\.){1,10}'|"(?:[^\r\n\\"]|\\.)*"(?!")|"""[\s\S]*?""")/,lookbehind:!0,greedy:!0,inside:{continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"}}},keyword:/\b(?:Assert|Info|IsBound|QUIT|TryNextMethod|Unbind|and|atomic|break|continue|do|elif|else|end|fi|for|function|if|in|local|mod|not|od|or|quit|readonly|readwrite|rec|repeat|return|then|until|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},continuation:{pattern:/([\r\n])>/,lookbehind:!0,alias:"punctuation"},operator:/->|[-+*/^~=!]|<>|[<>]=?|:=|\.\./,punctuation:/[()[\]{},;.:]/},e.languages.gap.shell.inside.gap.inside=e.languages.gap}return HN=1,UN=e,e.displayName="gap",e.aliases=[],UN}()),e.register(function(){if(WN)return VN;function e(e){e.languages.gcode={comment:/;.*|\B\(.*?\)\B/,string:{pattern:/"(?:""|[^"])*"/,greedy:!0},keyword:/\b[GM]\d+(?:\.\d+)?\b/,property:/\b[A-Z]/,checksum:{pattern:/(\*)\d+/,lookbehind:!0,alias:"number"},punctuation:/[:*]/}}return WN=1,VN=e,e.displayName="gcode",e.aliases=[],VN}()),e.register(function(){if(qN)return GN;function e(e){e.languages.gdscript={comment:/#.*/,string:{pattern:/@?(?:("|')(?:(?!\1)[^\n\\]|\\[\s\S])*\1(?!"|')|"""(?:[^\\]|\\[\s\S])*?""")/,greedy:!0},"class-name":{pattern:/(^(?:class|class_name|extends)[ \t]+|^export\([ \t]*|\bas[ \t]+|(?:\b(?:const|var)[ \t]|[,(])[ \t]*\w+[ \t]*:[ \t]*|->[ \t]*)[a-zA-Z_]\w*/m,lookbehind:!0},keyword:/\b(?:and|as|assert|break|breakpoint|class|class_name|const|continue|elif|else|enum|export|extends|for|func|if|in|is|master|mastersync|match|not|null|onready|or|pass|preload|puppet|puppetsync|remote|remotesync|return|self|setget|signal|static|tool|var|while|yield)\b/,function:/\b[a-z_]\w*(?=[ \t]*\()/i,variable:/\$\w+/,number:[/\b0b[01_]+\b|\b0x[\da-fA-F_]+\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.[\d_]+)(?:e[+-]?[\d_]+)?\b/,/\b(?:INF|NAN|PI|TAU)\b/],constant:/\b[A-Z][A-Z_\d]*\b/,boolean:/\b(?:false|true)\b/,operator:/->|:=|&&|\|\||<<|>>|[-+*/%&|!<>=]=?|[~^]/,punctuation:/[.:,;()[\]{}]/}}return qN=1,GN=e,e.displayName="gdscript",e.aliases=[],GN}()),e.register(function(){if(XN)return YN;function e(e){e.languages.gedcom={"line-value":{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?\w+ ).+/m,lookbehind:!0,inside:{pointer:{pattern:/^@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@$/,alias:"variable"}}},tag:{pattern:/(^[\t ]*\d+ +(?:@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@ +)?)\w+/m,lookbehind:!0,alias:"string"},level:{pattern:/(^[\t ]*)\d+/m,lookbehind:!0,alias:"number"},pointer:{pattern:/@\w[\w!"$%&'()*+,\-./:;<=>?[\\\]^`{|}~\x80-\xfe #]*@/,alias:"variable"}}}return XN=1,YN=e,e.displayName="gedcom",e.aliases=[],YN}()),e.register(function(){if(ZN)return KN;function e
vendor: 9,824 bytes, line 152
152(e){!function(e){var t=/(?:\r?\n|\r)[ \t]*\|.+\|(?:(?!\|).)*/.source;e.languages.gherkin={pystring:{pattern:/("""|''')[\s\S]+?\1/,alias:"string"},comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},tag:{pattern:/(^[ \t]*)@\S*/m,lookbehind:!0},feature:{pattern:/((?:^|\r?\n|\r)[ \t]*)(?:Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|CaracterÃstica|Egenskab|Egenskap|Eiginleiki|Feature|FÄ«Äa|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|FuncÅ£ionalitate|FuncÈionalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|FunkcionalitÄte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità |Hwaet|Hwæt|JellemzÅ|Karakteristik|Lastnost|Mak|Mogucnost|laH|MoguÄnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Ãzellik|Potrzeba biznesowa|perbogh|poQbogh malja'|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|SavybÄ|TÃnh nÄng|Trajto|Vermoë|VlastnosÅ¥|WÅaÅciwoÅÄ|ZnaÄilnost|ÎÏ
ναÏÏÏηÏα|ÎειÏοÏ
Ïγία|ÐогÑÑноÑÑ|Ðөмкинлек|ÐÑобина|СвойÑÑво|ҮзенÑÓлеклелек|ФÑнкÑионал|ФÑнкÑионалноÑÑ|ФÑнкÑиÑ|ФÑнкÑÑонал|ת××× ×|Ø®Ø§ØµÙØ©|Ø®ØµÙØµÛت|ØµÙØ§ØÛت|Ú©Ø§Ø±ÙØ¨Ø§Ø± Ú©Û Ø¶Ø±ÙØ±Øª|ÙÙÛÚÚ¯Û|रà¥à¤ª लà¥à¤|à¨à¨¾à¨¸à©à¨
ਤ|ਨà¨à¨¶ ਨà©à¨¹à¨¾à¨°|ਮà©à¨¹à¨¾à¨à¨¦à¨°à¨¾|à°à±à°£à°®à±|ಹà³à²à³à²à²³|à¸à¸§à¸²à¸¡à¸à¹à¸à¸à¸à¸²à¸£à¸à¸²à¸à¸à¸¸à¸£à¸à¸´à¸|à¸à¸§à¸²à¸¡à¸ªà¸²à¸¡à¸²à¸£à¸|à¹à¸à¸£à¸à¸«à¸¥à¸±à¸|기ë¥|ãã£ã¼ãã£|åè½|æ©è½):(?:[^:\r\n]+(?:\r?\n|\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]+/,lookbehind:!0},keyword:/[^:\r\n]+:/}},scenario:{pattern:/(^[ \t]*)(?:Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ãr|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bá»i cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liá»u|Dyagram Senaryo|Dyagram senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|EXAMPLZ|Examples|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|GeçmiÅ|Grundlage|Hannergrond|ghantoH|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung ká»ch bản|Khung tình huá»ng|Ká»ch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut chovnatlh|lut|lutmey|Lýsing Atburðarásar|Lýsing Dæma|MISHUN SRSLY|MISHUN|Menggariskan Senario|mo'|NáÄrt Scenára|NáÄrt ScénáÅe|NáÄrt Scenáru|Oris scenarija|Ãrnekler|Osnova|Osnova Scenára|Osnova scénáÅe|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|PiemÄri|Plan du scénario|Plan du Scénario|Plan Senaryo|Plan senaryo|Plang vum Szenario|PozadÃ|Pozadie|Pozadina|PrÃklady|PÅÃklady|Primer|Primeri|Primjeri|PrzykÅady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|ScénáÅ|Scenarie|Scenarij|Scenarijai|Scenarijaus Å¡ablonas|Scenariji|ScenÄrijs|ScenÄrijs pÄc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo Deskripsyon|Senaryo deskripsyon|Senaryo|Senaryo taslaÄı|Shiver me timbers|SituÄcija|Situai|Situasie Uiteensetting|Situasie|Skenario konsep|Skenario|Skica|Structura scenariu|StructurÄ scenariu|Struktura scenarija|Stsenaarium|Swa hwaer swa|Swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huá»ng|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo-ho-ho|You'll wanna|ZaÅożenia|ΠαÏαδείγμαÏα|ΠεÏιγÏαÏή ΣεναÏίοÏ
|ΣενάÏια|ΣενάÏιο|Î¥ÏÏβαθÏο|ÐеÑеÑ|ÐонÑекÑÑ|ÐонÑепÑ|ÐиÑаллаÑ|ÐиÑоллаÑ|ÐÑнова|ÐеÑедÑмова|Ðозадина|ÐÑедиÑÑоÑиÑ|ÐÑедÑÑÑоÑиÑ|ÐÑиклади|ÐÑимеÑ|ÐÑимеÑи|ÐÑимеÑÑ|Рамка на ÑÑенаÑий|СкиÑа|СÑÑÑкÑÑÑа ÑÑенаÑиÑа|СÑÑÑкÑÑÑа ÑÑенаÑиÑ|СÑÑÑкÑÑÑа ÑÑенаÑÑÑ|СÑенаÑий|СÑенаÑий ÑÑÑÑкÑÑÑаÑи|СÑенаÑийнÑÒ£ ÑөзелеÑе|СÑенаÑиÑи|СÑенаÑио|СÑенаÑÑй|ТаÑиÑ
|Ò®ÑнÓклÓÑ|××××××ת|רקע|ת×× ×ת תר××ש|תר××ש|Ø§ÙØ®ÙÙÙØ©|اÙÚ¯ÙÛ Ø³ÙØ§Ø±ÛÙ|اÙ
Ø«ÙØ©|پس Ù
ÙØ¸Ø±|زÙ
ÛÙÙ|Ø³ÙØ§Ø±ÛÙ|سÙÙØ§Ø±ÙÙ|سÙÙØ§Ø±ÙÙ Ù
خطط|Ù
ثاÙÛÚº|Ù
ÙØ¸Ø± ÙØ§Ù
Û Ú©Ø§ خاکÛ|Ù
ÙØ¸Ø±ÙاÙ
Û|ÙÙ
ÙÙÙ ÙØ§|à¤à¤¦à¤¾à¤¹à¤°à¤£|परिदà¥à¤¶à¥à¤¯|परिदà¥à¤¶à¥à¤¯ रà¥à¤ªà¤°à¥à¤à¤¾|पà¥à¤·à¥à¤ à¤à¥à¤®à¤¿|à¨à¨¦à¨¾à¨¹à¨°à¨¨à¨¾à¨|ਪà¨à¨à¨¥à¨¾|ਪà¨à¨à¨¥à¨¾ ਢਾà¨à¨à¨¾|ਪà¨à¨à¨¥à¨¾ ਰà©à¨ª ਰà©à¨à¨¾|ਪਿà¨à©à¨à©|à°à°¦à°¾à°¹à°°à°£à°²à±|à°à°¥à°¨à°|à°¨à±à°ªà°¥à±à°¯à°|సనà±à°¨à°¿à°µà±à°¶à°|à²à²¦à²¾à²¹à²°à²£à³à²à²³à³|à²à²¥à²¾à²¸à²¾à²°à²¾à²à²¶|ವಿವರಣà³|ಹಿನà³à²¨à³à²²à³|à¹à¸à¸£à¸à¸ªà¸£à¹à¸²à¸à¸à¸à¸à¹à¸«à¸à¸¸à¸à¸²à¸£à¸à¹|à¸à¸¸à¸à¸à¸à¸à¸à¸±à¸§à¸à¸¢à¹à¸²à¸|à¸à¸¸à¸à¸à¸à¸à¹à¸«à¸à¸¸à¸à¸²à¸£à¸à¹|à¹à¸à¸§à¸à¸´à¸|สรุà¸à¹à¸«à¸à¸¸à¸à¸²à¸£à¸à¹|à¹à¸«à¸à¸¸à¸à¸²à¸£à¸à¹|ë°°ê²½|ìë리ì¤|ìëë¦¬ì¤ ê°ì|ì|ãµã³ãã«|ã·ããªãª|ã·ããªãªã¢ã¦ãã©ã¤ã³|ã·ããªãªãã³ãã¬|ã·ããªãªãã³ãã¬ã¼ã|ãã³ãã¬|ä¾|ä¾å|å§æ¬|å§æ¬å¤§çº²|忬|åæ¬å¤§ç¶±|åºæ¯|åºæ¯å¤§çº²|å ´æ¯|å ´æ¯å¤§ç¶±|èæ¯):[^:\r\n]*/m,lookbehind:!0,inside:{important:{pattern:/(:)[^\r\n]*/,lookbehind:!0},keyword:/[^:\r\n]+:/}},"table-body":{pattern:RegExp("("+t+")(?:"+t+")+"),lookbehind:!0,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"},td:{pattern:/\s*[^\s|][^|]*/,alias:"string"},punctuation:/\|/}},"table-head":{pattern:RegExp(t),inside:{th:{pattern:/\s*[^\s|][^|]*/,alias:"variable"},punctuation:/\|/}},atrule:{pattern:/(^[ \t]+)(?:'a|'ach|'ej|7|a|A také|A taktiež|A tiež|A zároveÅ|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cand|Cando|Ce|Cuando|Äe|Ãa ðe|Ãa|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|DaÅ£i fiind|DaÈi fiind|DEN|Dato|De|Den youse gotta|Dengan|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ãurh|Eeldades|Ef|EÄer ki|Entao|Então|Entón|E|En|Entonces|Epi|Ãs|Etant donnée|Etant donné|Et|Ãtant données|Ãtant donnée|Ãtant donné|Etant données|Etant donnés|Ãtant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|JeÅli|Jeżeli|Kad|Kada|Kadar|Kai|Kaj|Když|KeÄ|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|MajÄ
c|Ma|Majd|Maka|Manawa|Mas|Men|Menawa|Mutta|Nalika|Nalikaning|Nanging|NÃ¥r|När|Nato|Nhưng|Niin|Njuk|O zaman|Och|Og|Oletetaan|Ond|Onda|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|Quan|Quand|Quando|qaSDI'|SÃ¥|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Åi|Èi|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|Un|Und|ugeholl|Và |vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za pÅedpokladu|Zadan|Zadani|Zadano|Zadate|Zadato|ZakÅadajÄ
c|Zaradi|Zatati|Ãa þe|Ãa|Ãá|Ãegar|Ãurh|Îλλά|ÎεδομÎνοÏ
|Îαι|ÎÏαν|ΤÏÏε|Ð Ñакож|ÐгаÑ|Ðле|Ðли|Ðммо|Ð|ÓгÓÑ|ÓйÑик|Óмма|ÐиÑок|Ðа|ÐÓ|Ðадено|Ðано|ÐопÑÑÑим|ÐÑли|ÐадаÑе|ÐадаÑи|ÐадаÑо|Ð|Ð|Ð ÑÐ¾Ð¼Ñ Ð¶Ðµ|Ðада|Ðад|ÐогаÑо|Ðогда|Ðоли|ÐÓкин|Ðекин|ÐÓÑиÒÓдÓ|ÐеÑ
ай|Ðо|Ðнда|ÐÑипÑÑÑимо, Ñо|ÐÑипÑÑÑимо|ÐÑÑÑÑ|Также|Та|Тогда|ТодÑ|То|Унда|ÒºÓм|ЯкÑо|×××|×××|××|×××× ×ª×|×××|××שר|Ø¢ÙگاÙ|اذاÙ|اگر|اÙ
ا|Ø§ÙØ±|با ÙØ±Ø¶|باÙÙØ±Ø¶|Ø¨ÙØ±Ø¶|پھر|تب|Ø«Ù
|جب|Ø¹ÙØ¯Ù
ا|ÙØ±Ø¶ Ú©ÛØ§|ÙÙÙ|ÙÛÚ©Ù|Ù
تÙ|ÙÙگاÙ
Û|Ù|à¤
à¤à¤°|à¤à¤°|à¤à¤¦à¤¾|à¤à¤¿à¤¨à¥à¤¤à¥|à¤à¥à¤à¤à¤¿|à¤à¤¬|तथा|तदा|तब|परनà¥à¤¤à¥|पर|यदि|à¨
ਤà©|à¨à¨¦à©à¨|à¨à¨¿à¨µà©à¨ à¨à¨¿|à¨à©à¨à¨°|ਤਦ|ਪਰ|à°
à°ªà±à°ªà±à°¡à±|ఠపరిసà±à°¥à°¿à°¤à°¿à°²à±|à°à°¾à°¨à°¿|à°à±à°ªà±à°ªà°¬à°¡à°¿à°¨à°¦à°¿|మరియà±|à²à²¦à²°à³|ನà²à²¤à²°|ನಿà³à²¡à²¿à²¦|ಮತà³à²¤à³|ಸà³à²¥à²¿à²¤à²¿à²¯à²¨à³à²¨à³|à¸à¸³à¸«à¸à¸à¹à¸«à¹|à¸à¸±à¸à¸à¸±à¹à¸|à¹à¸à¹|à¹à¸¡à¸·à¹à¸|à¹à¸¥à¸°|ê·¸ë¬ë©´<|ê·¸ë¦¬ê³ <|ë¨<|ë§ì½<|ë§ì¼<|먼ì <|ì¡°ê±´<|íì§ë§<|ãã¤<|ããã<|ãã ã<|ãªãã°<|ãã<|並ä¸<|ä½ã<|使¯<|åå¦<|åå®<|åè¨<|å设<|åæ<|åæ¶<|åæ<|å¹¶ä¸<|å½<|ç¶<|èä¸<|é£ä¹<|é£éº¼<)(?=[ \t])/m,lookbehind:!0},string:{pattern:/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,inside:{outline:{pattern:/<[^>]+>/,alias:"variable"}}},outline:{pattern:/<[^>]+>/,alias:"variable"}}}(e)}
152return ZN=1,KN=e,e.displayName="gherkin",e.aliases=[],KN}()),e.register(function(){if(QN)return JN;function e(e){e.languages.git={comment:/^#.*/m,deleted:/^[-â].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/}},coord:/^@@.*@@$/m,"commit-sha1":/^commit \w{40}$/m}}return QN=1,JN=e,e.displayName="git",e.aliases=[],JN}()),e.register(function(){if(t_)return e_;t_=1;var e=qM();function t(t){t.register(e),t.languages.glsl=t.languages.extend("c",{keyword:/\b(?:active|asm|atomic_uint|attribute|[ibdu]?vec[234]|bool|break|buffer|case|cast|centroid|class|coherent|common|const|continue|d?mat[234](?:x[234])?|default|discard|do|double|else|enum|extern|external|false|filter|fixed|flat|float|for|fvec[234]|goto|half|highp|hvec[234]|[iu]?sampler2DMS(?:Array)?|[iu]?sampler2DRect|[iu]?samplerBuffer|[iu]?samplerCube|[iu]?samplerCubeArray|[iu]?sampler[123]D|[iu]?sampler[12]DArray|[iu]?image2DMS(?:Array)?|[iu]?image2DRect|[iu]?imageBuffer|[iu]?imageCube|[iu]?imageCubeArray|[iu]?image[123]D|[iu]?image[12]DArray|if|in|inline|inout|input|int|interface|invariant|layout|long|lowp|mediump|namespace|noinline|noperspective|out|output|partition|patch|precise|precision|public|readonly|resource|restrict|return|sample|sampler[12]DArrayShadow|sampler[12]DShadow|sampler2DRectShadow|sampler3DRect|samplerCubeArrayShadow|samplerCubeShadow|shared|short|sizeof|smooth|static|struct|subroutine|superp|switch|template|this|true|typedef|uint|uniform|union|unsigned|using|varying|void|volatile|while|writeonly)\b/})}return e_=t,t.displayName="glsl",t.aliases=[],e_}()),e.register(function(){if(r_)return n_;function e(e){e.languages.gamemakerlanguage=e.languages.gml=e
vendor: 8,116 bytes, line 152
152.languages.extend("clike",{keyword:/\b(?:break|case|continue|default|do|else|enum|exit|for|globalvar|if|repeat|return|switch|until|var|while)\b/,number:/(?:\b0x[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ulf]{0,4}/i,operator:/--|\+\+|[-+%/=]=?|!=|\*\*?=?|<[<=>]?|>[=>]?|&&?|\^\^?|\|\|?|~|\b(?:and|at|not|or|with|xor)\b/,constant:/\b(?:GM_build_date|GM_version|action_(?:continue|restart|reverse|stop)|all|gamespeed_(?:fps|microseconds)|global|local|noone|other|pi|pointer_(?:invalid|null)|self|timezone_(?:local|utc)|undefined|ev_(?:create|destroy|step|alarm|keyboard|mouse|collision|other|draw|draw_(?:begin|end|post|pre)|keypress|keyrelease|trigger|(?:left|middle|no|right)_button|(?:left|middle|right)_press|(?:left|middle|right)_release|mouse_(?:enter|leave|wheel_down|wheel_up)|global_(?:left|middle|right)_button|global_(?:left|middle|right)_press|global_(?:left|middle|right)_release|joystick(?:1|2)_(?:button1|button2|button3|button4|button5|button6|button7|button8|down|left|right|up)|outside|boundary|game_start|game_end|room_start|room_end|no_more_lives|animation_end|end_of_path|no_more_health|user\d|gui|gui_begin|gui_end|step_(?:begin|end|normal))|vk_(?:alt|anykey|backspace|control|delete|down|end|enter|escape|home|insert|left|nokey|pagedown|pageup|pause|printscreen|return|right|shift|space|tab|up|f\d|numpad\d|add|decimal|divide|lalt|lcontrol|lshift|multiply|ralt|rcontrol|rshift|subtract)|achievement_(?:filter_(?:all_players|favorites_only|friends_only)|friends_info|info|leaderboard_info|our_info|pic_loaded|show_(?:achievement|bank|friend_picker|leaderboard|profile|purchase_prompt|ui)|type_challenge|type_score_challenge)|asset_(?:font|object|path|room|script|shader|sound|sprite|tiles|timeline|unknown)|audio_(?:3d|falloff_(?:exponent_distance|exponent_distance_clamped|inverse_distance|inverse_distance_clamped|linear_distance|linear_distance_clamped|none)|mono|new_system|old_system|stereo)|bm_(?:add|complex|dest_alpha|dest_color|dest_colour|inv_dest_alpha|inv_dest_color|inv_dest_colour|inv_src_alpha|inv_src_color|inv_src_colour|max|normal|one|src_alpha|src_alpha_sat|src_color|src_colour|subtract|zero)|browser_(?:chrome|firefox|ie|ie_mobile|not_a_browser|opera|safari|safari_mobile|tizen|unknown|windows_store)|buffer_(?:bool|f16|f32|f64|fast|fixed|generalerror|grow|invalidtype|network|outofbounds|outofspace|s16|s32|s8|seek_end|seek_relative|seek_start|string|text|u16|u32|u64|u8|vbuffer|wrap)|c_(?:aqua|black|blue|dkgray|fuchsia|gray|green|lime|ltgray|maroon|navy|olive|orange|purple|red|silver|teal|white|yellow)|cmpfunc_(?:always|equal|greater|greaterequal|less|lessequal|never|notequal)|cr_(?:appstart|arrow|beam|cross|default|drag|handpoint|hourglass|none|size_all|size_nesw|size_ns|size_nwse|size_we|uparrow)|cull_(?:clockwise|counterclockwise|noculling)|device_(?:emulator|tablet)|device_ios_(?:ipad|ipad_retina|iphone|iphone5|iphone6|iphone6plus|iphone_retina|unknown)|display_(?:landscape|landscape_flipped|portrait|portrait_flipped)|dll_(?:cdecl|cdel|stdcall)|ds_type_(?:grid|list|map|priority|queue|stack)|ef_(?:cloud|ellipse|explosion|firework|flare|rain|ring|smoke|smokeup|snow|spark|star)|fa_(?:archive|bottom|center|directory|hidden|left|middle|readonly|right|sysfile|top|volumeid)|fb_login_(?:default|fallback_to_webview|forcing_safari|forcing_webview|no_fallback_to_webview|use_system_account)|iap_(?:available|canceled|ev_consume|ev_product|ev_purchase|ev_restore|ev_storeload|failed|purchased|refunded|status_available|status_loading|status_processing|status_restoring|status_unavailable|status_uninitialised|storeload_failed|storeload_ok|unavailable)|leaderboard_type_(?:number|time_mins_secs)|lighttype_(?:dir|point)|matrix_(?:projection|view|world)|mb_(?:any|left|middle|none|right)|network_(?:config_(?:connect_timeout|disable_reliable_udp|enable_reliable_udp|use_non_blocking_socket)|socket_(?:bluetooth|tcp|udp)|type_(?:connect|data|disconnect|non_blocking_connect))|of_challenge_(?:lose|tie|win)|os_(?:android|ios|linux|macosx|ps3|ps4|psvita|unknown|uwp|win32|win8native|windows|winphone|xboxone)|phy_debug_render_(?:aabb|collision_pairs|coms|core_shapes|joints|obb|shapes)|phy_joint_(?:anchor_1_x|anchor_1_y|anchor_2_x|anchor_2_y|angle|angle_limits|damping_ratio|frequency|length_1|length_2|lower_angle_limit|max_force|max_length|max_motor_force|max_motor_torque|max_torque|motor_force|motor_speed|motor_torque|reaction_force_x|reaction_force_y|reaction_torque|speed|translation|upper_angle_limit)|phy_particle_data_flag_(?:category|color|colour|position|typeflags|velocity)|phy_particle_flag_(?:colormixing|colourmixing|elastic|powder|spring|tensile|viscous|wall|water|zombie)|phy_particle_group_flag_(?:rigid|solid)|pr_(?:linelist|linestrip|pointlist|trianglefan|trianglelist|trianglestrip)|ps_(?:distr|shape)_(?:diamond|ellipse|gaussian|invgaussian|line|linear|rectangle)|pt_shape_(?:circle|cloud|disk|explosion|flare|line|pixel|ring|smoke|snow|spark|sphere|square|star)|ty_(?:real|string)|gp_(?:face\d|axislh|axislv|axisrh|axisrv|padd|padl|padr|padu|select|shoulderl|shoulderlb|shoulderr|shoulderrb|start|stickl|stickr)|lb_disp_(?:none|numeric|time_ms|time_sec)|lb_sort_(?:ascending|descending|none)|ov_(?:achievements|community|friends|gamegroup|players|settings)|ugc_(?:filetype_(?:community|microtrans)|list_(?:Favorited|Followed|Published|Subscribed|UsedOrPlayed|VotedDown|VotedOn|VotedUp|WillVoteLater)|match_(?:AllGuides|Artwork|Collections|ControllerBindings|IntegratedGuides|Items|Items_Mtx|Items_ReadyToUse|Screenshots|UsableInGame|Videos|WebGuides)|query_(?:AcceptedForGameRankedByAcceptanceDate|CreatedByFriendsRankedByPublicationDate|FavoritedByFriendsRankedByPublicationDate|NotYetRated)|query_RankedBy(?:NumTimesReported|PublicationDate|TextSearch|TotalVotesAsc|Trend|Vote|VotesUp)|result_success|sortorder_CreationOrder(?:Asc|Desc)|sortorder_(?:ForModeration|LastUpdatedDesc|SubscriptionDateDesc|TitleAsc|VoteScoreDesc)|visibility_(?:friends_only|private|public))|vertex_usage_(?:binormal|blendindices|blendweight|color|colour|depth|fog|normal|position|psize|sample|tangent|texcoord|textcoord)|vertex_type_(?:float\d|color|colour|ubyte4)|input_type|layerelementtype_(?:background|instance|oldtilemap|particlesystem|sprite|tile|tilemap|undefined)|se_(?:chorus|compressor|echo|equalizer|flanger|gargle|none|reverb)|text_type|tile_(?:flip|index_mask|mirror|rotate)|(?:obj|rm|scr|spr)\w+)\b/,variable:/\b(?:alarm|application_surface|async_load|background_(?:alpha|blend|color|colour|foreground|height|hspeed|htiled|index|showcolor|showcolour|visible|vspeed|vtiled|width|x|xscale|y|yscale)|bbox_(?:bottom|left|right|top)|browser_(?:height|width)|caption_(?:health|lives|score)|current_(?:day|hour|minute|month|second|time|weekday|year)|cursor_sprite|debug_mode|delta_time|direction|display_aa|error_(?:last|occurred)|event_(?:action|number|object|type)|fps|fps_real|friction|game_(?:display|project|save)_(?:id|name)|gamemaker_(?:pro|registered|version)|gravity|gravity_direction|(?:h|v)speed|health|iap_data|id|image_(?:alpha|angle|blend|depth|index|number|speed|xscale|yscale)|instance_(?:count|id)|keyboard_(?:key|lastchar|lastkey|string)|layer|lives|mask_index|mouse_(?:button|lastbutton|x|y)|object_index|os_(?:browser|device|type|version)|path_(?:endaction|index|orientation|position|positionprevious|scale|speed)|persistent|phy_(?:rotation|(?:col_normal|collision|com|linear_velocity|position|speed)_(?:x|y)|angular_(?:damping|velocity)|position_(?:x|y)previous|speed|linear_damping|bullet|fixed_rotation|active|mass|inertia|dynamic|kinematic|sleeping|collision_points)|pointer_(?:invalid|null)|room|room_(?:caption|first|height|last|persistent|speed|width)|score|secure_mode|show_(?:health|lives|score)|solid|speed|sprite_(?:height|index|width|xoffset|yoffset)|temp_directory|timeline_(?:index|loop|position|running|speed)|transition_(?:color|kind|steps)|undefined|view_(?:angle|current|enabled|(?:h|v)(?:border|speed)|(?:h|w|x|y)port|(?:h|w|x|y)view|object|surface_id|visible)|visible|webgl_enabled|working_directory|(?:x|y)(?:previous|start)|x|y|argument(?:_relitive|_count|\d)|argument|global|local|other|self)\b/})}return
152r_=1,n_=e,e.displayName="gml",e.aliases=[],n_}()),e.register(function(){if(o_)return a_;function e(e){e.languages.gn={comment:{pattern:/#.*/,greedy:!0},"string-literal":{pattern:/(^|[^\\"])"(?:[^\r\n"\\]|\\.)*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:\{[\s\S]*?\}|[a-zA-Z_]\w*|0x[a-fA-F0-9]{2})/,lookbehind:!0,inside:{number:/^\$0x[\s\S]{2}$/,variable:/^\$\w+$/,"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},string:/[\s\S]+/}},keyword:/\b(?:else|if)\b/,boolean:/\b(?:false|true)\b/,"builtin-function":{pattern:/\b(?:assert|defined|foreach|import|pool|print|template|tool|toolchain)(?=\s*\()/i,alias:"keyword"},function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:current_cpu|current_os|current_toolchain|default_toolchain|host_cpu|host_os|root_build_dir|root_gen_dir|root_out_dir|target_cpu|target_gen_dir|target_os|target_out_dir)\b/,number:/-?\b\d+\b/,operator:/[-+!=<>]=?|&&|\|\|/,punctuation:/[(){}[\],.]/},e.languages.gn["string-literal"].inside.interpolation.inside.expression.inside=e.languages.gn,e.languages.gni=e.languages.gn}return o_=1,a_=e,e.displayName="gn",e.aliases=["gni"],a_}()),e.register(function(){if(s_)return i_;function e(e){e.languages["go-mod"]=e.languages["go-module"]={comment:{pattern:/\/\/.*/,greedy:!0},version:{pattern:/(^|[\s()[\],])v\d+\.\d+\.\d+(?:[+-][-+.\w]*)?(?![^\s()[\],])/,lookbehind:!0,alias:"number"},"go-version":{pattern:/((?:^|\s)go\s+)\d+(?:\.\d+){1,2}/,lookbehind:!0,alias:"number"},keyword:{pattern:/^([ \t]*)(?:exclude|go|module|replace|require|retract)\b/m,lookbehind:!0},operator:/=>/,punctuation:/[()[\],]/}}return s_=1,i_=e,e.displayName="goModule",e.aliases=[],i_}()),e.register(function(){if(c_)return l_;function e(e){e.languages.go=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),e.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete e.languages.go["class-name"]}return c_=1,l_=e,e.displayName="go",e.aliases=[],l_}()),e.register(function(){if(d_)return u_;function e(e){e.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:e.languages.markdown}}}
vendor: 1,590 bytes, line 152
152,string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},e.hooks.add("after-tokenize",function(e){if("graphql"===e.language)for(var t=e.tokens.filter(function(e){return"string"!=typeof e&&"comment"!==e.type&&"scalar"!==e.type}),n=0;n<t.length;){var r=t[n++];if("keyword"===r.type&&"mutation"===r.content){var a=[];if(d(["definition-mutation","punctuation"])&&"("===u(1).content){n+=2;var o=p(/^\($/,/^\)$/);if(-1===o)continue;for(;n<o;n++){var i=u(0);"variable"===i.type&&(f(i,"variable-input"),a.push(i.content))}n=o+1}
vendor: 4,447 bytes, line 152
152if(d(["punctuation","property-query"])&&"{"===u(0).content&&(n++,f(u(0),"property-mutation"),a.length>0)){var s=p(/^\{$/,/^\}$/);if(-1===s)continue;for(var l=n;l<s;l++){var c=t[l];"variable"===c.type&&a.indexOf(c.content)>=0&&f(c,"variable-input")}}}}function u(e){return t[n+e]}function d(e,t){t=t||0;for(var n=0;n<e.length;n++){var r=u(n+t);if(!r||r.type!==e[n])return!1}return!0}function p(e,r){for(var a=1,o=n;o<t.length;o++){var i=t[o],s=i.content;if("punctuation"===i.type&&"string"==typeof s)if(e.test(s))a++;else if(r.test(s)&&0===--a)return o}return-1}function f(e,t){var n=e.alias;n?Array.isArray(n)||(e.alias=n=[n]):e.alias=n=[],n.push(t)}})}return d_=1,u_=e,e.displayName="graphql",e.aliases=[],u_}()),e.register(function(){if(f_)return p_;function e(e){e.languages.groovy=e.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.hooks.add("wrap",function(t){if("groovy"===t.language&&"string"===t.type){var n=t.content.value[0];if("'"!=n){var r=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;"$"===n&&(r=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content.value=t.content.value.replace(/</g,"<").replace(/&/g,"&"),t.content=e.highlight(t.content.value,{expression:{pattern:r,lookbehind:!0,inside:e.languages.groovy}}),t.classes.push("/"===n?"regex":"gstring")}}})}return f_=1,p_=e,e.displayName="groovy",e.aliases=[],p_}()),e.register(function(){if(h_)return m_;h_=1;var e=JM();function t(t){t.register(e),function(e){e.languages.haml={"multiline-comment":{pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ].+)*/,lookbehind:!0,alias:"comment"},"multiline-code":[{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*,[\t ]*(?:(?:\r?\n|\r)\2[\t ].*,[\t ]*)*(?:(?:\r?\n|\r)\2[\t ].+)/,lookbehind:!0,inside:e.languages.ruby},{pattern:/((?:^|\r?\n|\r)([\t ]*)(?:[~-]|[&!]?=)).*\|[\t ]*(?:(?:\r?\n|\r)\2[\t ].*\|[\t ]*)*/,lookbehind:!0,inside:e.languages.ruby}],filter:{pattern:/((?:^|\r?\n|\r)([\t ]*)):[\w-]+(?:(?:\r?\n|\r)(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"}}},markup:{pattern:/((?:^|\r?\n|\r)[\t ]*)<.+/,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\r?\n|\r)[\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\r?\n|\r)[\t ]*)[%.#][\w\-#.]*[\w\-](?:\([^)]+\)|\{(?:\{[^}]+\}|[^{}])+\}|\[[^\]]+\])*[\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\{(?:\{[^}]+\}|[^{}])+\}/,lookbehind:!0,inside:e.languages.ruby},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*)(?:"(?:\\.|[^\\"\r\n])*"|[^)\s]+)/,lookbehind:!0},"attr-name":/[\w:-]+(?=\s*!?=|\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\[[^\]]+\]/,inside:e.languages.ruby}],punctuation:/[<>]/}},code:{pattern:/((?:^|\r?\n|\r)[\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:e.languages.ruby},interpolation:{pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"},ruby:{pattern:/[\s\S]+/,inside:e.languages.ruby}}},punctuation:{pattern:/((?:^|\r?\n|\r)[\t ]*)[~=\-&!]+/,lookbehind:!0}};for(var t=["css",{filter:"coffee",language:"coffeescript"},"erb","javascript","less","markdown","ruby","scss","textile"],n={},r=0,a=t.length;r<a;r++){var o=t[r];o="string"==typeof o?{filter:o,language:o}:o,e.languages[o.language]&&(n["filter-"+o.filter]={pattern:RegExp("((?:^|\\r?\\n|\\r)([\\t ]*)):{{filter_name}}
152(?:(?:\\r?\\n|\\r)(?:\\2[\\t ].+|\\s*?(?=\\r?\\n|\\r)))+".replace("{{filter_name}}",function(){return o.filter})),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"symbol"},text:{pattern:/[\s\S]+/,alias:[o.language,"language-"+o.language],inside:e.languages[o.language]}}})}e.languages.insertBefore("haml","filter",n)}(t)}return m_=t,t.displayName="haml",t.aliases=[],m_}()),e.register(function(){if(b_)return g_;b_=1;var e=QM();function t(t){t.register(e),function(e){e.languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"handlebars")}),e.languages.hbs=e.languages.handlebars}(t)}return g_=t,t.displayName="handlebars",t.aliases=["hbs"],g_}()),e.register(tj()),e.register(function(){if(S_)return x_;function e(e){e.languages.haxe=e.languages.extend("clike",{string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},"class-name":[{pattern:/(\b(?:abstract|class|enum|extends|implements|interface|new|typedef)\s+)[A-Z_]\w*/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\bthis\b|\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|final|for|from|function|if|implements|import|in|inline|interface|macro|new|null|operator|overload|override|package|private|public|return|static|super|switch|throw|to|try|typedef|untyped|using|var|while)(?!\.)\b/,function:{pattern:/\b[a-z_]\w*(?=\s*(?:<[^<>]*>\s*)?\()/i,greedy:!0},operator:/\.{3}|\+\+|--|&&|\|\||->|=>|(?:<<?|>{1,3}|[-+*/%!=&|^])=?|[?:~]/}
vendor: 1,646 bytes, line 152
152),e.languages.insertBefore("haxe","string",{"string-interpolation":{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\])\$(?:\w+|\{[^{}]+\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.haxe}}},string:/[\s\S]+/}}}),e.languages.insertBefore("haxe","class-name",{regex:{pattern:/~\/(?:[^\/\\\r\n]|\\.)+\/[a-z]*/,greedy:!0,inside:{"regex-flags":/\b[a-z]+$/,"regex-source":{pattern:/^(~\/)[\s\S]+(?=\/$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^~\/|\/$/}}}),e.languages.insertBefore("haxe","keyword",{preprocessor:{pattern:/#(?:else|elseif|end|if)\b.*/,alias:"property"},metadata:{pattern:/@:?[\w.]+/,alias:"symbol"},reification:{pattern:/\$(?:\w+|(?=\{))/,alias:"important"}})}return S_=1,x_=e,e.displayName="haxe",e.aliases=[],x_}()),e.register(function(){if(E_)return w_;function e(e){e.languages.hcl={comment:/(?:\/\/|#).*|\/\*[\s\S]*?(?:\*\/|$)/,heredoc:{pattern:/<<-?(\w+\b)[\s\S]*?^[ \t]*\1/m,greedy:!0,alias:"string"},keyword:[{pattern:/(?:data|resource)\s+(?:"(?:\\[\s\S]|[^\\"])*")(?=\s+"[\w-]+"\s+\{)/i,inside:{type:{pattern:/(resource|data|\s+)(?:"(?:\\[\s\S]|[^\\"])*")/i,lookbehind:!0,alias:"variable"}}},{pattern:/(?:backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+(?=\{)/i,inside:{type:{pattern:/(backend|module|output|provider|provisioner|variable)\s+(?:[\w-]+|"(?:\\[\s\S]|[^\\"])*")\s+/i,lookbehind:!0,alias:"variable"}}},/[\w-]+(?=\s+\{)/],property:[/[-\w\.]+(?=\s*=(?!=))/,/"(?:\\[\s\S]|[^\\"])+"(?=\s*[:=])/],str
152ing:{pattern:/"(?:[^\\$"]|\\[\s\S]|\$(?:(?=")|\$+(?!\$)|[^"${])|\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\})*"/,greedy:!0,inside:{interpolation:{pattern:/(^|[^$])\$\{(?:[^{}"]|"(?:[^\\"]|\\[\s\S])*")*\}/,lookbehind:!0,inside:{type:{pattern:/(\b(?:count|data|local|module|path|self|terraform|var)\b\.)[\w\*]+/i,lookbehind:!0,alias:"variable"},keyword:/\b(?:count|data|local|module|path|self|terraform|var)\b/i,function:/\w+(?=\()/,string:{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,punctuation:/[!\$#%&'()*+,.\/;<=>@\[\\\]^`{|}~?:]/}}}},number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?(?:e[+-]?\d+)?/i,boolean:/\b(?:false|true)\b/i,punctuation:/[=\[\]{}]/}}return E_=1,w_=e,e.displayName="hcl",e.aliases=[],w_}()),e.register(function(){if(k_)return C_;k_=1;var e=qM();function t(t){t.register(e),t.languages.hlsl=t.languages.extend("c",{"class-name":[t.languages.c["class-name"],/\b(?:AppendStructuredBuffer|BlendState|Buffer|ByteAddressBuffer|CompileShader|ComputeShader|ConsumeStructuredBuffer|DepthStencilState|DepthStencilView|DomainShader|GeometryShader|Hullshader|InputPatch|LineStream|OutputPatch|PixelShader|PointStream|RWBuffer|RWByteAddressBuffer|RWStructuredBuffer|RWTexture(?:1D|1DArray|2D|2DArray|3D)|RasterizerState|RenderTargetView|SamplerComparisonState|SamplerState|StructuredBuffer|Texture(?:1D|1DArray|2D|2DArray|2DMS|2DMSArray|3D|Cube|CubeArray)|TriangleStream|VertexShader)\b/],keyword:[/\b(?:asm|asm_fragment|auto|break|case|catch|cbuffer|centroid|char|class|column_major|compile|compile_fragment|const|const_cast|continue|default|delete|discard|do|dynamic_cast|else|enum|explicit|export|extern|for|friend|fxgroup|goto|groupshared|if|in|inline|inout|interface|line|lineadj|linear|long|matrix|mutable|namespace|new|nointerpolation|noperspective|operator|out|packoffset|pass|pixelfragment|point|precise|private|protected|public|register|reinterpret_cast|return|row_major|sample|sampler|shared|short|signed|sizeof|snorm|stateblock|stateblock_state|static|static_cast|string|struct|switch|tbuffer|technique|technique10|technique11|template|texture|this|throw|triangle|triangleadj|try|typedef|typename|uniform|union|unorm|unsigned|using|vector|vertexfragment|virtual|void|volatile|while)\b/,/\b(?:bool|double|dword|float|half|int|min(?:10float|12int|16(?:float|int|uint))|uint)(?:[1-4](?:x[1-4])?)?\b/],number:/(?:(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?|\b0x[\da-fA-F]+)[fFhHlLuU]?\b/,boolean:/\b(?:false|true)\b/})}return C_=t,t.displayName="hlsl",t.aliases=[],C_}()),e.register(function(){if(A_)return T_;function e(e){e.languages.hoon={comment:{pattern:/::.*/,greedy:!0},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},constant:/%(?:\.[ny]|[\w-]+)/,"class-name":/@(?:[a-z0-9-]*[a-z0-9])?|\*/i,function:/(?:\+[-+] {2})?(?:[a-z](?:[a-z0-9-]*[a-z0-9])?)/,keyword:/\.[\^\+\*=\?]|![><:\.=\?!]|=[>|:,\.\-\^<+;/~\*\?]|\?[>|:\.\-\^<\+&~=@!]|\|[\$_%:\.\-\^~\*=@\?]|\+[|\$\+\*]|:[_\-\^\+~\*]|%[_:\.\-\^\+~\*=]|\^[|:\.\-\+&~\*=\?]|\$[|_%:<>\-\^&~@=\?]|;[:<\+;\/~\*=]|~[>|\$_%<\+\/&=\?!]|--|==/}}return A_=1,T_=e,e.displayName="hoon",e.aliases=[],T_}()),e.register(function(){if(N_)return I_;function e(e){e.languages.hpkp={directive:{pattern:/\b(?:includeSubDomains|max-age|pin-sha256|preload|report-to|report-uri|strict)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return N_=1,I_=e,e.displayName="hpkp",e.aliases=[],I_}()),e.register(function(){if(R_)return __;function e(e){e.languages.hsts={directive:{pattern:/\b(?:includeSubDomains|max-age|preload)(?=[\s;=]|$)/i,alias:"property"},operator:/=/,punctuation:/;/}}return R_=1,__=e,e.displayName="hsts",e.aliases=[],__}()),e.register(function(){if(L_)return O_;function e(e){!function(e){function t(e){return RegExp("(^(?:"+e+"):[ \t]*(?![ \t]))[^]+","i")}e.languages.http={"request-line":{pattern:/^(?:CONNECT|DELETE|GET|HEAD|OPTIONS|PATCH|POST|PRI|PUT|SEARCH|TRACE)\s(?:https?:\/\/|\/)\S*\sHTTP\/[\d.]+/m,inside:{method:{pattern:/^[A-Z]+\b/,alias:"property"},"request-target":{pattern:/^(\s)(?:https?:\/\/|\/)\S*(?=\s)/,lookbehind:!0,alias:"url",inside:e.languages.uri},"http-version":{pattern:/^(\s)HTTP\/[\d.]+/,lookbehind:!0,alias:"property"}}},"response-status":{pattern:/^HTTP\/[\d.]+ \d+ .+/m,inside:{"http-version":{pattern:/^HTTP\/[\d.]+/,alias:"property"},"status-code":{pattern:/^(\s)\d+(?=\s)/,lookbehind:!0,alias:"number"},"reason-phrase":{pattern:/^(\s).+/,lookbehind:!0,alias:"string"}}}
vendor: 4,844 bytes, line 152
152,header:{pattern:/^[\w-]+:.+(?:(?:\r\n?|\n)[ \t].+)*/m,inside:{"header-value":[{pattern:t(/Content-Security-Policy/.source),lookbehind:!0,alias:["csp","languages-csp"],inside:e.languages.csp},{pattern:t(/Public-Key-Pins(?:-Report-Only)?/.source),lookbehind:!0,alias:["hpkp","languages-hpkp"],inside:e.languages.hpkp},{pattern:t(/Strict-Transport-Security/.source),lookbehind:!0,alias:["hsts","languages-hsts"],inside:e.languages.hsts},{pattern:t(/[^:]+/.source),lookbehind:!0}],"header-name":{pattern:/^[^:]+/,alias:"keyword"},punctuation:/^:/}}};var n,r=e.languages,a={"application/javascript":r.javascript,"application/json":r.json||r.javascript,"application/xml":r.xml,"text/xml":r.xml,"text/html":r.html,"text/css":r.css,"text/plain":r.plain},o={"application/json":!0,"application/xml":!0};function i(e){var t=e.replace(/^[a-z]+\//,"");return"(?:"+e+"|\\w+/(?:[\\w.-]+\\+)+"+t+"(?![+\\w.-]))"}for(var s in a)if(a[s]){n=n||{};var l=o[s]?i(s):s;n[s.replace(/\//g,"-")]={pattern:RegExp("("+/content-type:\s*/.source+l+/(?:(?:\r\n?|\n)[\w-].*)*(?:\r(?:\n|(?!\n))|\n)/.source+")"+/[^ \t\w-][\s\S]*/.source,"i"),lookbehind:!0,inside:a[s]}}n&&e.languages.insertBefore("http","header",n)}(e)}return L_=1,O_=e,e.displayName="http",e.aliases=[],O_}()),e.register(function(){if(P_)return D_;function e(e){e.languages.ichigojam={comment:/(?:\B'|REM)(?:[^\n\r]*)/i,string:{pattern:/"(?:""|[!#$%&'()*,\/:;<=>?^\w +\-.])*"/,greedy:!0},number:/\B#[0-9A-F]+|\B`[01]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,keyword:/\b(?:BEEP|BPS|CASE|CLEAR|CLK|CLO|CLP|CLS|CLT|CLV|CONT|COPY|ELSE|END|FILE|FILES|FOR|GOSUB|GOTO|GSB|IF|INPUT|KBD|LED|LET|LIST|LOAD|LOCATE|LRUN|NEW|NEXT|OUT|PLAY|POKE|PRINT|PWM|REM|RENUM|RESET|RETURN|RIGHT|RTN|RUN|SAVE|SCROLL|SLEEP|SRND|STEP|STOP|SUB|TEMPO|THEN|TO|UART|VIDEO|WAIT)(?:\$|\b)/i,function:/\b(?:ABS|ANA|ASC|BIN|BTN|DEC|END|FREE|HELP|HEX|I2CR|I2CW|IN|INKEY|LEN|LINE|PEEK|RND|SCR|SOUND|STR|TICK|USR|VER|VPEEK|ZER)(?:\$|\b)/i,label:/(?:\B@\S+)/,operator:/<[=>]?|>=?|\|\||&&|[+\-*\/=|&^~!]|\b(?:AND|NOT|OR)\b/i,punctuation:/[\[,;:()\]]/}}return P_=1,D_=e,e.displayName="ichigojam",e.aliases=[],D_}()),e.register(function(){if(j_)return M_;function e(e){e.languages.icon={comment:/#.*/,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n_]|\\.|_(?!\1)(?:\r\n|[\s\S]))*\1/,greedy:!0},number:/\b(?:\d+r[a-z\d]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b|\.\d+\b/i,"builtin-keyword":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\b/,alias:"variable"},directive:{pattern:/\$\w+/,alias:"builtin"},keyword:/\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\b/,function:/\b(?!\d)\w+(?=\s*[({]|\s*!\s*\[)/,operator:/[+-]:(?!=)|(?:[\/?@^%&]|\+\+?|--?|==?=?|~==?=?|\*\*?|\|\|\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\|~]/,punctuation:/[\[\](){},;]/}}return j_=1,M_=e,e.displayName="icon",e.aliases=[],M_}()),e.register(function(){if(z_)return F_;function e(e){!function(e){function t(e,n){return n<=0?/[]/.source:e.replace(/<SELF>/g,function(){return t(e,n-1)})}var n=/'[{}:=,](?:[^']|'')*'(?!')/,r={pattern:/''/,greedy:!0,alias:"operator"},a={pattern:n,greedy:!0,inside:{escape:r}},o=t(/\{(?:[^{}']|'(?![{},'])|''|<STR>|<SELF>)*\}/.source.replace(/<STR>/g,function(){return n.source}),8),i={pattern:RegExp(o),inside:{message:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:null},"message-delimiter":{pattern:/./,alias:"punctuation"}}};e.languages["icu-message-format"]={argument:{pattern:RegExp(o),greedy:!0,inside:{content:{pattern:/^(\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:{"argument-name":{pattern:/^(\s*)[^{}:=,\s]+/,lookbehind:!0},"choice-style":{pattern:/^(\s*,\s*choice\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{punctuation:/\|/,range:{pattern:/^(\s*)[+-]?(?:\d+(?:\.\d*)?|\u221e)\s*[<#\u2264]/,lookbehind:!0,inside:{operator:/[<#\u2264]/,number:/\S+/}},rest:null}},"plural-style":{pattern:/^(\s*,\s*(?:plural|selectordinal)\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{offset:/^offset:\s*\d+/,"nested-message":i,selector:{pattern:/=\d+|[^{}:=,\s]+/,inside:{keyword:/^(?:few|many|one|other|two|zero)$/}}}},"select-style":{pattern:/^(\s*,\s*select\s*,\s*)\S(?:[\s\S]*\S)?/,lookbehind:!0,inside:{"nested-message":i,selector:{pattern:/[^{}:=,\s]+/,inside:{keyword:/^other$/}}}},keyword:/\b(?:choice|plural|select|selectordinal)\b/,"arg-type":{pattern:/\b(?:date|duration|number|ordinal|spellout|time)\b/,alias:"keyword"},"arg-skeleton":{pattern:/(,\s*)::[^{}:=,\s]+/,lookbehind:!0},"arg-style":{pattern:/(,\s*)(?:currency|full|integer|long|medium|percent|short)(?=\s*$)/,lookbehind:!0}
152,"arg-style-text":{pattern:RegExp(/(^\s*,\s*(?=\S))/.source+t(/(?:[^{}']|'[^']*'|\{(?:<SELF>)?\})+/.source,8)+"$"),lookbehind:!0,alias:"string"},punctuation:/,/}},"argument-delimiter":{pattern:/./,alias:"operator"}}},escape:r,string:a},i.inside.message.inside=e.languages["icu-message-format"],e.languages["icu-message-format"].argument.inside.content.inside["choice-style"].inside.rest=e.languages["icu-message-format"]}(e)}return z_=1,F_=e,e.displayName="icuMessageFormat",e.aliases=[],F_}()),e.register(function(){if(B_)return $_;B_=1;var e=tj();function t(t){t.register(e),t.languages.idris=t.languages.extend("haskell",{comment:{pattern:/(?:(?:--|\|\|\|).*$|\{-[\s\S]*?-\})/m},keyword:/\b(?:Type|case|class|codata|constructor|corecord|data|do|dsl|else|export|if|implementation|implicit|import|impossible|in|infix|infixl|infixr|instance|interface|let|module|mutual|namespace|of|parameters|partial|postulate|private|proof|public|quoteGoal|record|rewrite|syntax|then|total|using|where|with)\b/,builtin:void 0}),t.languages.insertBefore("idris","keyword",{"import-statement":{pattern:/(^\s*import\s+)(?:[A-Z][\w']*)(?:\.[A-Z][\w']*)*/m,lookbehind:!0,inside:{punctuation:/\./}}}),t.languages.idr=t.languages.idris}return $_=t,t.displayName="idris",t.aliases=["idr"],$_}()),e.register(function(){if(H_)return U_;function e(e){e.languages.iecst={comment:[{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\(\*[\s\S]*?(?:\*\)|$)|\{[\s\S]*?(?:\}|$))/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:[/\b(?:END_)?(?:PROGRAM|CONFIGURATION|INTERFACE|FUNCTION_BLOCK|FUNCTION|ACTION|TRANSITION|TYPE|STRUCT|(?:INITIAL_)?STEP|NAMESPACE|LIBRARY|CHANNEL|FOLDER|RESOURCE|VAR_(?:ACCESS|CONFIG|EXTERNAL|GLOBAL|INPUT|IN_OUT|OUTPUT|TEMP)|VAR|METHOD|PROPERTY)\b/i,/\b(?:AT|BY|(?:END_)?(?:CASE|FOR|IF|REPEAT|WHILE)|CONSTANT|CONTINUE|DO|ELSE|ELSIF|EXIT|EXTENDS|FROM|GET|GOTO|IMPLEMENTS|JMP|NON_RETAIN|OF|PRIVATE|PROTECTED|PUBLIC|RETAIN|RETURN|SET|TASK|THEN|TO|UNTIL|USING|WITH|__CATCH|__ENDTRY|__FINALLY|__TRY)\b/],"class-name":/\b(?:ANY|ARRAY|BOOL|BYTE|U?(?:D|L|S)?INT|(?:D|L)?WORD|DATE(?:_AND_TIME)?|DT|L?REAL|POINTER|STRING|TIME(?:_OF_DAY)?|TOD)\b/,address:{pattern:/%[IQM][XBWDL][\d.]*|%[IQ][\d.]*/,alias:"symbol"},number:/\b(?:16#[\da-f]+|2#[01_]+|0x[\da-f]+)\b|\b(?:D|DT|T|TOD)#[\d_shmd:]*|\b[A-Z]*#[\d.,_]*|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/,operator:/S?R?:?=>?|&&?|\*\*?|<[=>]?|>=?|[-:^/+#]|\b(?:AND|EQ|EXPT|GE|GT|LE|LT|MOD|NE|NOT|OR|XOR)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,punctuation:/[()[\].,;]/}}return H_=1,U_=e,e.displayName="iecst",e.aliases=[],U_}()),e.register(function(){if(W_)return V_;function e(e){!function(e){e.languages.ignore={comment:/^#.*/m,entry:{pattern:/\S(?:.*(?:(?:\\ )|\S))?/,alias:"string",inside:{operator:/^!|\*\*?|\?/,regex:{pattern:/(^|[^\\])\[[^\[\]]*\]/,lookbehind:!0},punctuation:/\//}}},e.languages.gitignore=e.languages.ignore,e.languages.hgignore=e.languages.ignore,e.languages.npmignore=e.languages.ignore}(e)}return W_=1,V_=e,e.displayName="ignore",e.aliases=["gitignore","hgignore","npmignore"],V_}()),e.register(function(){if(q_)return G_;function e(e){e.languages.inform7={string:{pattern:/"[^"]*"/,inside:{substitution:{pattern:/\[[^\[\]]+\]/,inside:{delimiter:{pattern:/\[|\]/,alias:"punctuation"}}}}},comment:{pattern:/\[[^\[\]]+\]/,greedy:!0},title:{pattern:/^[ \t]*(?:book|chapter|part(?! of)|section|table|volume)\b.+/im,alias:"important"},number:{pattern:/(^|[^-])(?:\b\d+(?:\.\d+)?(?:\^\d+)?(?:(?!\d)\w+)?|\b(?:eight|eleven|five|four|nine|one|seven|six|ten|three|twelve|two))\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\b(?:answering|applying to|are|asking|attacking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:ing|s)?|consulting|contain(?:ing|s)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:s|ve|ving)|hold(?:ing|s)?|impl(?:ies|y)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:ing|s)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:ing|s)?|setting|showing|singing|sleeping|smelling|squeezing|support(?:ing|s)?|swearing|switching|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:ing|s)?|var(?:ies|y|ying)|waiting|waking|waving|wear(?:ing|s)?)\b(?!-)/i,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^-])\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|the story|unless)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supp
152orted|swinging|switch(?:able|ed(?: off| on)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\b(?!-)/i,lookbehind:!0,alias:"symbol"},position:{pattern:/(^|[^-])\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\b(?!-)/i,lookbehind:!0,alias:"keyword"},type:{pattern:/(^|[^-])\b(?:actions?|activit(?:ies|y)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\b(?!-)/i,lookbehind:!0,alias:"variable"},punctuation:/[.,:;(){}]/},e.languages.inform7.string.inside.substitution.inside.rest=e.languages.inform7,e.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\S(?:\s*\S)*/,alias:"comment"}}return q_=1,G_=e,e.displayName="inform7",e.aliases=[],G_}()),e.register(function(){if(X_)return Y_;function e(e){e.languages.ini={comment:{pattern:/(^[ \f\t\v]*)[#;][^\n\r]*/m,lookbehind:!0},section:{pattern:/(^[ \f\t\v]*)\[[^\n\r\]]*\]?/m,lookbehind:!0,inside:{"section-name":{pattern:/(^\[[ \f\t\v]*)[^ \f\t\v\]]+(?:[ \f\t\v]+[^ \f\t\v\]]+)*/,lookbehind:!0,alias:"selector"},punctuation:/\[|\]/}},key:{pattern:/(^[ \f\t\v]*)[^ \f\n\r\t\v=]+(?:[ \f\t\v]+[^ \f\n\r\t\v=]+)*(?=[ \f\t\v]*=)/m,lookbehind:!0,alias:"attr-name"},value:{pattern:/(=[ \f\t\v]*)[^ \f\n\r\t\v]+(?:[ \f\t\v]+[^ \f\n\r\t\v]+)*/,lookbehind:!0,alias:"attr-value",inside:{"inner-value":{pattern:/^("|').+(?=\1$)/,lookbehind:!0}}},punctuation:/=/}}return X_=1,Y_=e,e.displayName="ini",e.aliases=[],Y_}()),e.register(function(){if(Z_)return K_;function e(e){e.languages.io={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?(?:\*\/|$)|\/\/.*|#.*)/,lookbehind:!0,greedy:!0},"triple-quoted-string":{pattern:/"""(?:\\[\s\S]|(?!""")[^\\])*"""/,greedy:!0,alias:"string"},string:{pattern:/"(?:\\.|[^\\\r\n"])*"/,greedy:!0},keyword:/\b(?:activate|activeCoroCount|asString|block|break|call|catch|clone|collectGarbage|compileString|continue|do|doFile|doMessage|doString|else|elseif|exit|for|foreach|forward|getEnvironmentVariable|getSlot|hasSlot|if|ifFalse|ifNil|ifNilEval|ifTrue|isActive|isNil|isResumable|list|message|method|parent|pass|pause|perform|performWithArgList|print|println|proto|raise|raiseResumable|removeSlot|resend|resume|schedulerSleepSeconds|self|sender|setSchedulerSleepSeconds|setSlot|shallowCopy|slotNames|super|system|then|thisBlock|thisContext|try|type|uniqueId|updateSlot|wait|while|write|yield)\b/,builtin:/\b(?:Array|AudioDevice|AudioMixer|BigNum|Block|Box|Buffer|CFunction|CGI|Color|Curses|DBM|DNSResolver|DOConnection|DOProxy|DOServer|Date|Directory|Duration|DynLib|Error|Exception|FFT|File|Fnmatch|Font|Future|GL|GLE|GLScissor|GLU|GLUCylinder|GLUQuadric|GLUSphere|GLUT|Host|Image|Importer|LinkList|List|Lobby|Locals|MD5|MP3Decoder|MP3Encoder|Map|Message|Movie|Notification|Number|Object|OpenGL|Point|Protos|Random|Regex|SGML|SGMLElement|SGMLParser|SQLite|Sequence|Server|ShowMessage|SleepyCat|SleepyCatCursor|Socket|SocketManager|Sound|Soup|Store|String|Tree|UDPSender|UPDReceiver|URL|User|Warning|WeakLink)\b/,boolean:/\b(?:false|nil|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e-?\d+)?/i,operator:/[=!*/%+\-^&|]=|>>?=?|<<?=?|:?:?=|\+\+?|--?|\*\*?|\/\/?|%|\|\|?|&&?|\b(?:and|not|or|return)\b|@@?|\?\??|\.\./,punctuation:/[{}[\];(),.:]/}}return Z_=1,K_=e,e.displayName="io",e.aliases=[],K_}()),e.register(function(){if(Q_)return J_;function e(e){e.languages.j={comment:{pattern:/\bNB\..*/,greedy:!0},string:{pattern:/'(?:''|[^'\r\n])*'/,greedy:!0},keyword:/\b(?:(?:CR|LF|adverb|conjunction|def|define|dyad|monad|noun|verb)\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\w+|goto_\w+|if|label_\w+|return|select|throw|try|while|whilst)\.)/,verb:{pattern:/(?!\^:|;\.|[=!][.:])(?:\{(?:\.|::?)?|p(?:\.\.?|:)|[=!\]]|[<>+*\-%$|,#][.:]?|[?^]\.?|[;\[]:?|[~}"i][.:]|[ACeEIjLor]\.|(?:[_\/\\qsux]|_?\d):)/,alias:"keyword"},number:/\b_?(?:(?!\d:)\d+(?:\.\d+)?(?:(?:ad|ar|[ejpx])_?\d+(?:\.\d+)?)*(?:b_?[\da-z]+(?:\.[\da-z]+)?)?|_\b(?!\.))/,adverb:{pattern:/[~}]|[\/\\]\.?|[bfM]\.|t[.:]/,alias:"builtin"},operator:/[=a][.:]|_\./,conjunction:{pattern:/&(?:\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\.|`:?|[\^LS]:|"/,alias:"variable"},punctuation:/[()]/}}return Q_=1,J_=e,e.displayName="j",e.aliases=[],J_}
152()),e.register(nj()),e.register(function(){if(oR)return aR;oR=1;var e=nj(),t=rj();function n(n){n.register(e),n.register(t),function(e){var t=/(^(?:[\t ]*(?:\*\s*)*))[^*\s].*$/m,n=/#\s*\w+(?:\s*\([^()]*\))?/.source,r=/(?:\b[a-zA-Z]\w+\s*\.\s*)*\b[A-Z]\w*(?:\s*<mem>)?|<mem>/.source.replace(/<mem>/g,function(){return n});e.languages.javadoc=e.languages.extend("javadoclike",{}),e.languages.insertBefore("javadoc","keyword",{reference:{pattern:RegExp(/(@(?:exception|link|linkplain|see|throws|value)\s+(?:\*\s*)?)/.source+"(?:"+r+")"),lookbehind:!0,inside:{function:{pattern:/(#\s*)\w+(?=\s*\()/,lookbehind:!0},field:{pattern:/(#\s*)\w+/,lookbehind:!0},namespace:{pattern:/\b(?:[a-z]\w*\s*\.\s*)+/,inside:{punctuation:/\./}},"class-name":/\b[A-Z]\w*/,keyword:e.languages.java.keyword,punctuation:/[#()[\],.]/}},"class-name":{pattern:/(@param\s+)<[A-Z]\w*>/,lookbehind:!0,inside:{punctuation:/[.<>]/}},"code-section":[{pattern:/(\{@code\s+(?!\s))(?:[^\s{}]|\s+(?![\s}])|\{(?:[^{}]|\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})*\})*\})+(?=\s*\})/,lookbehind:!0,inside:{code:{pattern:t,lookbehind:!0,inside:e.languages.java,alias:"language-java"}}},{pattern:/(<(code|pre|tt)>(?!<code>)\s*)\S(?:\S|\s+\S)*?(?=\s*<\/\2>)/,lookbehind:!0,inside:{line:{pattern:t,lookbehind:!0,inside:{tag:e.languages.markup.tag,entity:e.languages.markup.entity,code:{pattern:/.+/,inside:e.languages.java,alias:"language-java"}}}}}],tag:e.languages.markup.tag,entity:e.languages.markup.entity}),e.languages.javadoclike.addSupport("java",e.languages.javadoc)}(n)}return aR=n,n.displayName="javadoc",n.aliases=[],aR}()),e.register(rj()),e.register(function(){if(sR)return iR;function e(e){e.languages.javastacktrace={summary:{pattern:/^([\t ]*)(?:(?:Caused by:|Suppressed:|Exception in thread "[^"]*")[\t ]+)?[\w$.]+(?::.*)?$/m,lookbehind:!0,inside:{keyword:{pattern:/^([\t ]*)(?:(?:Caused by|Suppressed)(?=:)|Exception in thread)/m,lookbehind:!0},string:{pattern:/^(\s*)"[^"]*"/,lookbehind:!0},exceptions:{pattern:/^(:?\s*)[\w$.]+(?=:|$)/,lookbehind:!0,inside:{"class-name":/[\w$]+$/,namespace:/\b[a-z]\w*\b/,punctuation:/\./}},message:{pattern:/(:\s*)\S.*/,lookbehind:!0,alias:"string"},punctuation:/:/}},"stack-frame":{pattern:/^([\t ]*)at (?:[\w$./]|@[\w$.+-]*\/)+(?:<init>)?\([^()]*\)/m,lookbehind:!0,inside:{keyword:{pattern:/^(\s*)at(?= )/,lookbehind:!0},source:[{pattern:/(\()\w+\.\w+:\d+(?=\))/,lookbehind:!0,inside:{file:/^\w+\.\w+/,punctuation:/:/,"line-number":{pattern:/\b\d+\b/,alias:"number"}}},{pattern:/(\()[^()]*(?=\))/,lookbehind:!0,inside:{keyword:/^(?:Native Method|Unknown Source)$/}}],"class-name":/[\w$]+(?=\.(?:<init>|[\w$]+)\()/,function:/(?:<init>|[\w$]+)(?=\()/,"class-loader":{pattern:/(\s)[a-z]\w*(?:\.[a-z]\w*)*(?=\/[\w@$.]*\/)/,lookbehind:!0,alias:"namespace",inside:{punctuation:/\./}},module:{pattern:/([\s/])[a-z]\w*(?:\.[a-z]\w*)*(?:@[\w$.+-]*)?(?=\/)/,lookbehind:!0,inside:{version:{pattern:/(@)[\s\S]+/,lookbehind:!0,alias:"number"},punctuation:/[@.]/}},namespace:{pattern:/(?:\b[a-z]\w*\.)+/,inside:{punctuation:/\./}},punctuation:/[()/.]/}},more:{pattern:/^([\t ]*)\.{3} \d+ [a-z]+(?: [a-z]+)*/m,lookbehind:!0,inside:{punctuation:/\.{3}/,number:/\d+/,keyword:/\b[a-z]+(?: [a-z]+)*\b/}}}}return sR=1,iR=e,e.displayName="javastacktrace",e.aliases=[],iR}()),e.register(function(){if(cR)return lR;function e(e){e.languages.jexl={string:/(["'])(?:\\[\s\S]|(?!\1)[^\\])*\1/,transform:{pattern:/(\|\s*)[a-zA-Zа-ÑÐ-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-ÑÐ-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*/,alias:"function",lookbehind:!0},function:/[a-zA-Zа-ÑÐ-Я_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$][\wа-ÑÐ-Я\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF$]*\s*(?=\()/,number:/\b\d+(?:\.\d+)?\b|\B\.\d+\b/,operator:/[<>!]=?|-|\+|&&|==|\|\|?|\/\/?|[?:*^%]/,boolean:/\b(?:false|true)\b/,keyword:/\bin\b/,punctuation:/[{}[\](),.]/}}return cR=1,lR=e,e.displayName="jexl",e.aliases=[],lR}()),e.register(function(){if(dR)return uR;function e(e){e.languages.jolie=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\[\s\S]|[^"\\])*"/,lookbehind:!0,greedy:!0},"class-name":{pattern:/((?:\b(?:as|courier|embed|in|inputPort|outputPort|service)\b|@)[ \t]*)\w+/,lookbehind:!0},keyword:/\b(?:as|cH|comp|concurrent|constants|courier|cset|csets|default|define|else|embed|embedded|execution|exit|extender|for|foreach|forward|from|global|if|import|in|include|init|inputPort|install|instanceof|interface|is_defined|linkIn|linkOut|main|new|nullProcess|outputPort|over|private|provide|public|scope|sequential|service|single|spawn|synchronized|this|throw|throws|type|undef|until|while|with)\b/,function:/\b[a-z_]\w*(?=[ \t]*[@(])/i,number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?l?/i,operator:/-[-=>]?|\+[+=]?|<[<=]?|[>=*!]=?|&&|\|\||[?\/%^@|]/,punctuation:/[()[\]{},;.:]/,builtin:/\b(?:Byte|any|bool|char|double|enum|float|int|length|long|ranges|regex|
vendor: 5,875 bytes, line 152
152string|undefined|void)\b/}),e.languages.insertBefore("jolie","keyword",{aggregates:{pattern:/(\bAggregates\s*:\s*)(?:\w+(?:\s+with\s+\w+)?\s*,\s*)*\w+(?:\s+with\s+\w+)?/,lookbehind:!0,inside:{keyword:/\bwith\b/,"class-name":/\w+/,punctuation:/,/}},redirects:{pattern:/(\bRedirects\s*:\s*)(?:\w+\s*=>\s*\w+\s*,\s*)*(?:\w+\s*=>\s*\w+)/,lookbehind:!0,inside:{punctuation:/,/,"class-name":/\w+/,operator:/=>/}},property:{pattern:/\b(?:Aggregates|[Ii]nterfaces|Java|Javascript|Jolie|[Ll]ocation|OneWay|[Pp]rotocol|Redirects|RequestResponse)\b(?=[ \t]*:)/}})}return dR=1,uR=e,e.displayName="jolie",e.aliases=[],uR}()),e.register(function(){if(fR)return pR;function e(e){!function(e){var t=/\\\((?:[^()]|\([^()]*\))*\)/.source,n=RegExp(/(^|[^\\])"(?:[^"\r\n\\]|\\[^\r\n(]|__)*"/.source.replace(/__/g,function(){return t})),r={interpolation:{pattern:RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+t),lookbehind:!0,inside:{content:{pattern:/^(\\\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:null},punctuation:/^\\\(|\)$/}}},a=e.languages.jq={comment:/#.*/,property:{pattern:RegExp(n.source+/(?=\s*:(?!:))/.source),lookbehind:!0,greedy:!0,inside:r},string:{pattern:n,lookbehind:!0,greedy:!0,inside:r},function:{pattern:/(\bdef\s+)[a-z_]\w+/i,lookbehind:!0},variable:/\B\$\w+/,"property-literal":{pattern:/\b[a-z_]\w*(?=\s*:(?!:))/i,alias:"property"},keyword:/\b(?:as|break|catch|def|elif|else|end|foreach|if|import|include|label|module|modulemeta|null|reduce|then|try|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b\d+\.|\B\.)?\b\d+(?:[eE][+-]?\d+)?\b/,operator:[{pattern:/\|=?/,alias:"pipe"},/\.\.|[!=<>]?=|\?\/\/|\/\/=?|[-+*/%]=?|[<>?]|\b(?:and|not|or)\b/],"c-style-function":{pattern:/\b[a-z_]\w*(?=\s*\()/i,alias:"function"},punctuation:/::|[()\[\]{},:;]|\.(?=\s*[\[\w$])/,dot:{pattern:/\./,alias:"important"}};r.interpolation.inside.content.inside=a}(e)}return fR=1,pR=e,e.displayName="jq",e.aliases=[],pR}()),e.register(function(){if(hR)return mR;function e(e){!function(e){function t(e,t){return RegExp(e.replace(/<ID>/g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),t)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:<ID>(?:\s*,\s*(?:\*\s*as\s+<ID>|\{[^{}]*\}))?|\*\s*as\s+<ID>|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+<ID>)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?<ID>/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var n=["function","function-variable","method","method-variable","property-access"],r=0;r<n.length;r++){var a=n[r],o=e.languages.javascript[a];"RegExp"===e.util.type(o)&&(o=e.languages.javascript[a]={pattern:o});var i=o.inside||{};o.inside=i,i["maybe-class-name"]=/^[A-Z][\s\S]*/}}(e)}return hR=1,mR=e,e.displayName="jsExtras",e.aliases=[],mR}()),e.register(function(){if(bR)return gR;function e(e){!function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(e,t){return"___"+t.toUpperCase()+"_"+e+"___"}function l(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}function c(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,l(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}function u(t,n,r){var a=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),i=0,u={},d=l(a.map(function(e){if("string"==typeof e)return e;for(var n,a=e.content;-1!==t.indexOf(n=s(i++,r)););return u[n]=a,n}).join(""),n,r),p=Object.keys(u);return i=0,function e(t){for(var n=0;n<t.length;n++){if(i>=p.length)return;var r=t[n];if("string"==typeof r||"string"==typeof r.content){var a=p[i],o="string"==typeof r?r:r.content,s=o.indexOf(a);if(-1!==s){++i;var l=o.substring(0,s),d=c(u[a]),f=o.substring(s+a.length),m=[];
152if(l&&m.push(l),m.push(d),f){var h=[f];e(h),m.push.apply(m,h)}"string"==typeof r?(t.splice.apply(t,[n,1].concat(m)),n+=m.length-1):r.content=m}}else{var g=r.content;Array.isArray(g)?e(g):e([g])}}}(d),new e.Token(r,d,"language-"+r,t)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var d={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function p(e){return"string"==typeof e?e:Array.isArray(e)?e.map(p).join(""):p(e.content)}e.hooks.add("after-tokenize",function(t){t.language in d&&function t(n){for(var r=0,a=n.length;r<a;r++){var o=n[r];if("string"!=typeof o){var i=o.content;if(Array.isArray(i))if("template-string"===o.type){var s=i[1];if(3===i.length&&"string"!=typeof s&&"embedded-code"===s.type){var l=p(s),c=s.alias,d=Array.isArray(c)?c[0]:c,f=e.languages[d];if(!f)continue;i[1]=u(l,f,d)}}else t(i);else"string"!=typeof i&&t([i])}}}(t.tokens)})}(e)}return bR=1,gR=e,e.displayName="jsTemplates",e.aliases=[],gR}()),e.register(function(){if(SR)return xR;SR=1;var e=rj(),t=aj();function n(n){n.register(e),n.register(t),function(e){var t=e.languages.javascript,n=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,r="(@(?:arg|argument|param|property)\\s+(?:"+n+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(r+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(r+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:<TYPE>\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(/<TYPE>/g,function(){return n})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+n),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(n)}return xR=n,n.displayName="jsdoc",n.aliases=[],xR}()),e.register(oj()),e.register(function(){if(kR)return CR;kR=1;var e=oj();function t(t){t.register(e),function(e){var t=/("|')(?:\\(?:\r\n?|\n|.)|(?!\1)[^\\\r\n])*\1/;e.languages.json5=e.languages.extend("json",{property:[{pattern:RegExp(t.source+"(?=\\s*:)"),greedy:!0},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/,alias:"unquoted"}],string:{pattern:t,greedy:!0},number:/[+-]?\b(?:NaN|Infinity|0x[a-fA-F\d]+)\b|[+-]?(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+\b)?/})}(t)}return CR=t,t.displayName="json5",t.aliases=[],CR}()),e.register(function(){if(AR)return TR;AR=1;var e=oj();function t(t){t.register(e),t.languages.jsonp=t.languages.extend("json",{punctuation:/[{}[\]();,.]/}),t.languages.insertBefore("jsonp","punctuation",{function:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*\()/})}return TR=t,t.displayName="jsonp",t.aliases=[],TR}()),e.register(function(){if(NR)return IR;function e(e){e.languages.jsstacktrace={"error-message":{pattern:/^\S.*/m,alias:"string"},"stack-frame":{pattern:/(^[ \t]+)at[ \t].*/m,lookbehind:!0,inside:{"not-my-code":{pattern:/^at[ \t]+(?!\s)(?:node\.js|<unknown>|.*(?:node_modules|\(<anonymous>\)|\(<unknown>|<anonymous>$|\(internal\/|\(node\.js)).*/m,alias:"comment"},filename:{pattern:/(\bat\s+(?!\s)|\()(?:[a-zA-Z]:)?[^():]+(?=:)/,lookbehind:!0,alias:"url"},function:{pattern:/(\bat\s+(?:new\s+)?)(?!\s)[_$a-zA-Z\xA0-\uFFFF<][.$\w\xA0-\uFFFF<>]*/,lookbehind:!0,inside:{punctuation:/\./}},punctuation:/[()]/,keyword:/\b(?:at|new)\b/,alias:{pattern:/\[(?:as\s+)?(?!\s)[_$a-zA-Z\xA0-\uFFFF][$\w\xA0-\uFFFF]*\]/,alias:"variable"},"line-number":{pattern:/:\d+(?::\d+)?\b/,alias:"number",inside:{punctuation:/:/}}}}}}return NR=1,IR=e,e.displayName="jsstacktrace",e.aliases=[],IR}()),e.register(ij()),e.register(function(){if(LR)return OR;function e(e){e.languages.julia={comment:{pattern:/(^|[^\\])(?:#=(?:[^#=]|=(?!#)|#(?!=)|#=(?:[^#=]|=(?!#)|#(?!=))*=#)*=#|#.*)/,lookbehind:!0},regex:{pattern:/r"(?:\\.|[^"\\\r\n])*"[imsx]{0,4}/,greedy:!0},string:{pattern:/"""[\s\S]+?"""|(?:\b\w+)?"(?:\\.|[^"\\\r\n])*"|`(?:[^\\`\r\n]|\\.)*`/,greedy:!0},char:{pattern:/(^|[^\w'])'(?:\\[^\r\n][^'\r\n]*|[^\\\r\n])'/,lookbehind:!0,greedy:!0},keyword:/\b(?:abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|in|let|local|macro|module|print|println|quote|return|struct|try|type|typealias|using|while)\b/,boolean:/\b(?:false|true)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[box])?(?:[\da-f]+(?:_[\da-f]+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[efp][+-]?\d+(?:_\d+)*)?j?/i,operator:/&&|\|\||[-+*^%÷â»&$\\]=?|\/[\/=]?|!=?=?|\|[=>]?|<(?:<=?|[=:|])?|>(?:=|>>?=?)?|==?=?|[~â â¤â¥'ââ]/,punctuation:/::?|[{}[\]();,.?]/,constant:/\b(?:(?:Inf|NaN)(?:16|32|64)?|im|pi)\b|[Ïâ¯]/}}return LR=1,OR=e,e.displayName="julia",e.aliases=[],OR}()),e.register(function(){if(PR)return DR;function e(e){e.languages.keepalived={comment:{pattern:/[#!].*/,greedy:!0},string:{pattern:/(^|[^\\])(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/,lookbehind:!0,greedy:!0}
152,ip:{pattern:RegExp(/\b(?:(?:(?:[\da-f]{1,4}:){7}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}:[\da-f]{1,4}|(?:[\da-f]{1,4}:){5}:(?:[\da-f]{1,4}:)?[\da-f]{1,4}|(?:[\da-f]{1,4}:){4}:(?:[\da-f]{1,4}:){0,2}[\da-f]{1,4}|(?:[\da-f]{1,4}:){3}:(?:[\da-f]{1,4}:){0,3}[\da-f]{1,4}|(?:[\da-f]{1,4}:){2}:(?:[\da-f]{1,4}:){0,4}[\da-f]{1,4}|(?:[\da-f]{1,4}:){6}<ipv4>|(?:[\da-f]{1,4}:){0,5}:<ipv4>|::(?:[\da-f]{1,4}:){0,5}<ipv4>|[\da-f]{1,4}::(?:[\da-f]{1,4}:){0,5}[\da-f]{1,4}|::(?:[\da-f]{1,4}:){0,6}[\da-f]{1,4}|(?:[\da-f]{1,4}:){1,7}:)(?:\/\d{1,3})?|<ipv4>(?:\/\d{1,2})?)\b/.source.replace(/<ipv4>/g,function(){return/(?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d))/.source}),"i"),alias:"number"},path:{pattern:/(\s)\/(?:[^\/\s]+\/)*[^\/\s]*|\b[a-zA-Z]:\\(?:[^\\\s]+\\)*[^\\\s]*/,lookbehind:!0,alias:"string"},variable:/\$\{?\w+\}?/,email:{pattern:/[\w-]+@[\w-]+(?:\.[\w-]{2,3}){1,2}/,alias:"string"},"conditional-configuration":{pattern:/@\^?[\w-]+/,alias:"variable"},operator:/=/,property:/\b(?:BFD_CHECK|DNS_CHECK|FILE_CHECK|HTTP_GET|MISC_CHECK|NAME|PING_CHECK|SCRIPTS|SMTP_CHECK|SSL|SSL_GET|TCP_CHECK|UDP_CHECK|accept|advert_int|alpha|auth_pass|auth_type|authentication|bfd_cpu_affinity|bfd_instance|bfd_no_swap|bfd_priority|bfd_process_name|bfd_rlimit_rttime|bfd_rt_priority|bind_if|bind_port|bindto|ca|certificate|check_unicast_src|checker|checker_cpu_affinity|checker_log_all_failures|checker_no_swap|checker_priority|checker_rlimit_rttime|checker_rt_priority|child_wait_time|connect_ip|connect_port|connect_timeout|dbus_service_name|debug|default_interface|delay|delay_before_retry|delay_loop|digest|dont_track_primary|dynamic|dynamic_interfaces|enable_(?:dbus|script_security|sni|snmp_checker|snmp_rfc|snmp_rfcv2|snmp_rfcv3|snmp_vrrp|traps)|end|fall|fast_recovery|file|flag-[123]|fork_delay|full_command|fwmark|garp_group|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|global_defs|global_tracking|gna_interval|group|ha_suspend|hashed|helo_name|higher_prio_send_advert|hoplimit|http_protocol|hysteresis|idle_tx|include|inhibit_on_failure|init_fail|init_file|instance|interface|interfaces|interval|ip_family|ipvs_process_name|keepalived.conf|kernel_rx_buf_size|key|linkbeat_interfaces|linkbeat_use_polling|log_all_failures|log_unknown_vrids|lower_prio_no_advert|lthreshold|lvs_flush|lvs_flush_onstop|lvs_method|lvs_netlink_cmd_rcv_bufs|lvs_netlink_cmd_rcv_bufs_force|lvs_netlink_monitor_rcv_bufs|lvs_netlink_monitor_rcv_bufs_force|lvs_notify_fifo|lvs_notify_fifo_script|lvs_sched|lvs_sync_daemon|max_auto_priority|max_hops|mcast_src_ip|mh-fallback|mh-port|min_auto_priority_delay|min_rx|min_tx|misc_dynamic|misc_path|misc_timeout|multiplier|name|namespace_with_ipsets|native_ipv6|neighbor_ip|net_namespace|net_namespace_ipvs|nftables|nftables_counters|nftables_ifindex|nftables_priority|no_accept|no_checker_emails|no_email_faults|nopreempt|notification_email|notification_email_from|notify|notify_backup|notify_deleted|notify_down|notify_fault|notify_fifo|notify_fifo_script|notify_master|notify_master_rx_lower_pri|notify_priority_changes|notify_stop|notify_up|old_unicast_checksum|omega|ops|param_match|passive|password|path|persistence_engine|persistence_granularity|persistence_timeout|preempt|preempt_delay|priority|process|process_monitor_rcv_bufs|process_monitor_rcv_bufs_force|process_name|process_names|promote_secondaries|protocol|proxy_arp|proxy_arp_pvlan|quorum|quorum_down|quorum_max|quorum_up|random_seed|real_server|regex|regex_max_offset|regex_min_offset|regex_no_match|regex_options|regex_stack|reload_repeat|reload_time_file|require_reply|retry|rise|router_id|rs_init_notifies|script|script_user|sh-fallback|sh-port|shutdown_script|shutdown_script_timeout|skip_check_adv_addr|smtp_alert|smtp_alert_checker|smtp_alert_vrrp|smtp_connect_timeout|smtp_helo_name|smtp_server|snmp_socket|sorry_server|sorry_server_inhibit|sorry_server_lvs_method|source_ip|start|startup_script|startup_script_timeout|state|static_ipaddress|static_routes|static_rules|status_code|step|strict_mode|sync_group_tracking_weight|terminate_delay|timeout|track_bfd|track_file|track_group|track_interface|track_process|track_script|track_src_ip|ttl|type|umask|unicast_peer|unicast_src_ip|unicast_ttl|url|use_ipvlan|use_pid_dir|use_vmac|user|uthreshold|val[123]|version|virtual_ipaddress|virtual_ipaddress_excluded|virtual_router_id|virtual_routes|virtual_rules|virtual_server|virtual_server_group|virtualhost|vmac_xmit_base|vrrp|vrrp_(?:check_unicast_src|cpu_affinity|garp_interval|garp_lower_prio_delay|garp_lower_prio_repeat|garp_master_delay|garp_master_refresh|garp_master_refresh_repeat|garp_master_repeat|gna_interval|higher_prio_send_advert|instance|ipsets|iptables|lower_prio_no_advert|mcast_group4|mcast_group6|min_garp|netlink_cmd_rcv_bufs|netlink_cmd_rcv_bufs_force|netlink_monitor_rcv_bufs|netlink_monitor_rcv_bufs_force|no_swap|notify_fifo|notify_fifo_script|notify_priority_changes|priority|process_name|rlimit_rttime|rt_priority|rx_bufs_multiplier|rx_bufs_policy|script|skip_check_adv_addr|startup_delay|strict|sync_group|track_process|version)|warmup|weight)\b/,constant:/\b(?:A|AAAA|AH|BACKUP|CNAME|DR|MASTER|MX|NAT|NS|PASS|SCTP|SOA|TCP|TUN|TXT|UDP|dh|fo|lblc|lblcr|lc|mh|nq|ovf|rr|sed|sh|wlc|wrr)\b/,number:{pattern:/(^|[^\w.-])-?\d+(?:\.\d+)?/,lookbehind:!0},boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\{\}]/}}return PR=1,DR=e,e.displayName="keepalived",e.aliases=[],DR}()),e.register(function(){if(jR)return MR;function e(e){e.languages.keyman={comment:{pattern:/\bc .*/i,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0}
vendor: 4,346 bytes, line 152
152,"virtual-key":{pattern:/\[\s*(?:(?:ALT|CAPS|CTRL|LALT|LCTRL|NCAPS|RALT|RCTRL|SHIFT)\s+)*(?:[TKU]_[\w?]+|[A-E]\d\d?|"[^"\r\n]*"|'[^'\r\n]*')\s*\]/i,greedy:!0,alias:"function"},"header-keyword":{pattern:/&\w+/,alias:"bold"},"header-statement":{pattern:/\b(?:bitmap|bitmaps|caps always off|caps on only|copyright|hotkey|language|layout|message|name|shift frees caps|version)\b/i,alias:"bold"},"rule-keyword":{pattern:/\b(?:any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|reset|return|save|set|store|use)\b/i,alias:"keyword"},"structural-keyword":{pattern:/\b(?:ansi|begin|group|match|nomatch|unicode|using keys)\b/i,alias:"keyword"},"compile-target":{pattern:/\$(?:keyman|keymanonly|keymanweb|kmfl|weaver):/i,alias:"property"},number:/\b(?:U\+[\dA-F]+|d\d+|x[\da-f]+|\d+)\b/i,operator:/[+>\\$]|\.\./,punctuation:/[()=,]/}}return jR=1,MR=e,e.displayName="keyman",e.aliases=[],MR}()),e.register(function(){if(zR)return FR;function e(e){!function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(e)}return zR=1,FR=e,e.displayName="kotlin",e.aliases=["kt","kts"],FR}()),e.register(function(){if(BR)return $R;function e(e){!function(e){var t=/\s\x00-\x1f\x22-\x2f\x3a-\x3f\x5b-\x5e\x60\x7b-\x7e/.source;function n(e,n){return RegExp(e.replace(/<nonId>/g,t),n)}e.languages.kumir={comment:{pattern:/\|.*/},prolog:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^\n\r"]*"|'[^\n\r']*'/,greedy:!0},boolean:{pattern:n(/(^|[<nonId>])(?:да|неÑ)(?=[<nonId>]|$)/.source),lookbehind:!0},"operator-word":{pattern:n(/(^|[<nonId>])(?:и|или|не)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},"system-variable":{pattern:n(/(^|[<nonId>])знаÑ(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"keyword"},type:[{pattern:n(/(^|[<nonId>])(?:веÑ|лиÑ|лог|Ñим|Ñел)(?:\x20*Ñаб)?(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"builtin"},{pattern:n(/(^|[<nonId>])(?:компл|Ñканкод|Ñайл|ÑвеÑ)(?=[<nonId>]|$)/.source),lookbehind:!0,alias:"important"}],keyword:{pattern:n(/(^|[<nonId>])(?:алг|аÑг(?:\x20*Ñез)?|ввод|ÐÐÐЮЧÐТЬ|вÑ[еÑ]|вÑбоÑ|вÑвод|вÑÑ
од|дано|длÑ|до|дÑ|еÑли|инаÑе|иÑп|иÑполÑзоваÑÑ|кон(?:(?:\x20+|_)иÑп)?|кÑ(?:(?:\x20+|_)пÑи)?|надо|наÑ|нÑ|нÑ|оÑ|паÑза|пока|пÑи|Ñаза?|Ñез|ÑÑоп|Ñаб|Ñо|ÑÑв|Ñаг)(?=[<nonId>]|$)/.source),lookbehind:!0},name:{pattern:n(/(^|[<nonId>])[^\d<nonId>][^<nonId>]*(?:\x20+[^<nonId>
152]+)*(?=[<nonId>]|$)/.source),lookbehind:!0},number:{pattern:n(/(^|[<nonId>])(?:\B\$[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?=[<nonId>]|$)/.source,"i"),lookbehind:!0},punctuation:/:=|[(),:;\[\]]/,"operator-char":{pattern:/\*\*?|<[=>]?|>=?|[-+/=]/,alias:"operator"}},e.languages.kum=e.languages.kumir}(e)}return BR=1,$R=e,e.displayName="kumir",e.aliases=["kum"],$R}()),e.register(function(){if(HR)return UR;function e(e){e.languages.kusto={comment:{pattern:/\/\/.*/,greedy:!0},string:{pattern:/```[\s\S]*?```|[hH]?(?:"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\.)*'|@(?:"[^\r\n"]*"|'[^\r\n']*'))/,greedy:!0},verb:{pattern:/(\|\s*)[a-z][\w-]*/i,lookbehind:!0,alias:"keyword"},command:{pattern:/\.[a-z][a-z\d-]*\b/,alias:"keyword"},"class-name":/\b(?:bool|datetime|decimal|dynamic|guid|int|long|real|string|timespan)\b/,keyword:/\b(?:access|alias|and|anti|as|asc|auto|between|by|(?:contains|(?:ends|starts)with|has(?:perfix|suffix)?)(?:_cs)?|database|declare|desc|external|from|fullouter|has_all|in|ingestion|inline|inner|innerunique|into|(?:left|right)(?:anti(?:semi)?|inner|outer|semi)?|let|like|local|not|of|on|or|pattern|print|query_parameters|range|restrict|schema|set|step|table|tables|to|view|where|with|matches\s+regex|nulls\s+(?:first|last))(?![\w-])/,boolean:/\b(?:false|null|true)\b/,function:/\b[a-z_]\w*(?=\s*\()/,datetime:[{pattern:/\b(?:(?:Fri|Friday|Mon|Monday|Sat|Saturday|Sun|Sunday|Thu|Thursday|Tue|Tuesday|Wed|Wednesday)\s*,\s*)?\d{1,2}(?:\s+|-)(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)(?:\s+|-)\d{2}\s+\d{2}:\d{2}(?::\d{2})?(?:\s*(?:\b(?:[A-Z]|(?:[ECMT][DS]|GM|U)T)|[+-]\d{4}))?\b/,alias:"number"},{pattern:/[+-]?\b(?:\d{4}-\d{2}-\d{2}(?:[ T]\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)?|\d{2}:\d{2}(?::\d{2}(?:\.\d+)?)?)Z?/,alias:"number"}],number:/\b(?:0x[0-9A-Fa-f]+|\d+(?:\.\d+)?(?:[Ee][+-]?\d+)?)(?:(?:min|sec|[mnµ]s|[dhms]|microsecond|tick)\b)?|[+-]?\binf\b/,operator:/=>|[!=]~|[!=<>]=?|[-+*/%|]|\.\./,punctuation:/[()\[\]{},;.:]/}}return HR=1,UR=e,e.displayName="kusto",e.aliases=[],UR}()),e.register(function(){if(WR)return VR;function e(e){!function(e){var t=/\\(?:[^a-z()[\]]|[a-z*]+)/i,n={"equation-command":{pattern:t,alias:"regex"}};e.languages.latex={comment:/%.*/,cdata:{pattern:/(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0},equation:[{pattern:/\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/,inside:n,alias:"string"},{pattern:/(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/,lookbehind:!0,inside:n,alias:"string"}],keyword:{pattern:/(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0},url:{pattern:/(\\url\{)[^}]+(?=\})/,lookbehind:!0},headline:{pattern:/(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/,lookbehind:!0,alias:"class-name"},function:{pattern:t,alias:"selector"},punctuation:/[[\]{}&]/},e.languages.tex=e.languages.latex,e.languages.context=e.languages.latex}(e)}return WR=1,VR=e,e.displayName="latex",e.aliases=["tex","context"],VR}()),e.register(function(){if(XR)return YR;XR=1;var e=QM(),t=sj();function n(n){n.register(e),n.register(t),function(e){e.languages.latte={comment:/^\{\*[\s\S]*/,"latte-tag":{pattern:/(^\{(?:\/(?=[a-z]))?)(?:[=_]|[a-z]\w*\b(?!\())/i,lookbehind:!0,alias:"important"},delimiter:{pattern:/^\{\/?|\}$/,alias:"punctuation"},php:{pattern:/\S(?:[\s\S]*\S)?/,alias:"language-php",inside:e.languages.php}};var t=e.languages.extend("markup",{});e.languages.insertBefore("inside","attr-value",{"n-attr":{pattern:/n:[\w-]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+))?/,inside:{"attr-name":{pattern:/^[^\s=]+/,alias:"important"},"attr-value":{pattern:/=[\s\S]+/,inside:{punctuation:[/^=/,{pattern:/^(\s*)["']|["']$/,lookbehind:!0}],php:{pattern:/\S(?:[\s\S]*\S)?/,inside:e.languages.php}}}}}},t.tag),e.hooks.add("before-tokenize",function(n){"latte"===n.language&&(e.languages["markup-templating"].buildPlaceholders(n,"latte",/\{\*[\s\S]*?\*\}|\{[^'"\s{}*](?:[^"'/{}]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|\/\*(?:[^*]|\*(?!\/))*\*\/)*\}/g),n.grammar=t)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"latte")})}(n)}
152return YR=n,n.displayName="latte",n.aliases=[],YR}()),e.register(function(){if(ZR)return KR;function e(e){e.languages.less=e.languages.extend("css",{comment:[/\/\*[\s\S]*?\*\//,{pattern:/(^|[^\\])\/\/.*/,lookbehind:!0}],atrule:{pattern:/@[\w-](?:\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\{[\w-]+\}|[^{};\s@])(?:@\{[\w-]+\}|\((?:[^(){}]|\([^(){}]*\))*\)|[^(){};@\s]|\s+(?!\s))*?(?=\s*\{)/,inside:{variable:/@+[\w-]+/}},property:/(?:@\{[\w-]+\}|[\w-])+(?:\+_?)?(?=\s*:)/,operator:/[+\-*\/]/}),e.languages.insertBefore("less","property",{variable:[{pattern:/@[\w-]+\s*:/,inside:{punctuation:/:/}},/@@?[\w-]+/],"mixin-usage":{pattern:/([{;]\s*)[.#](?!\d)[\w-].*?(?=[(;])/,lookbehind:!0,alias:"function"}})}return ZR=1,KR=e,e.displayName="less",e.aliases=[],KR}()),e.register(function(){if(tO)return eO;tO=1;var e=lj();function t(t){t.register(e),function(e){for(var t=/\((?:[^();"#\\]|\\[\s\S]|;.*(?!.)|"(?:[^"\\]|\\.)*"|#(?:\{(?:(?!#\})[\s\S])*#\}|[^{])|<expr>)*\)/.source,n=0;n<5;n++)t=t.replace(/<expr>/g,function(){return t});t=t.replace(/<expr>/g,/[^\s\S]/.source);var r=e.languages.lilypond={comment:/%(?:(?!\{).*|\{[\s\S]*?%\})/,"embedded-scheme":{pattern:RegExp(/(^|[=\s])#(?:"(?:[^"\\]|\\.)*"|[^\s()"]*(?:[^\s()]|<expr>))/.source.replace(/<expr>/g,function(){return t}),"m"),lookbehind:!0,greedy:!0,inside:{scheme:{pattern:/^(#)[\s\S]+$/,lookbehind:!0,alias:"language-scheme",inside:{"embedded-lilypond":{pattern:/#\{[\s\S]*?#\}/,greedy:!0,inside:{punctuation:/^#\{|#\}$/,lilypond:{pattern:/[\s\S]+/,alias:"language-lilypond",inside:null}}},rest:e.languages.scheme}},punctuation:/#/}},string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":{pattern:/(\\new\s+)[\w-]+/,lookbehind:!0},keyword:{pattern:/\\[a-z][-\w]*/i,inside:{punctuation:/^\\/}},operator:/[=|]|<<|>>/,punctuation:{pattern:/(^|[a-z\d])(?:'+|,+|[_^]?-[_^]?(?:[-+^!>._]|(?=\d))|[_^]\.?|[.!])|[{}()[\]<>^~]|\\[()[\]<>\\!]|--|__/,lookbehind:!0},number:/\b\d+(?:\/\d+)?\b/};r["embedded-scheme"].inside.scheme.inside["embedded-lilypond"].inside.lilypond.inside=r,e.languages.ly=r}(t)}return eO=t,t.displayName="lilypond",t.aliases=[],eO}()),e.register(function(){if(rO)return nO;rO=1;var e=QM();function t(t){t.register(e),t.languages.liquid={comment:{pattern:/(^\{%\s*comment\s*%\})[\s\S]+(?=\{%\s*endcomment\s*%\}$)/,lookbehind:!0},delimiter:{pattern:/^\{(?:\{\{|[%\{])-?|-?(?:\}\}|[%\}])\}$/,alias:"punctuation"},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},keyword:/\b(?:as|assign|break|(?:end)?(?:capture|case|comment|for|form|if|paginate|raw|style|tablerow|unless)|continue|cycle|decrement|echo|else|elsif|in|include|increment|limit|liquid|offset|range|render|reversed|section|when|with)\b/,object:/\b(?:address|all_country_option_tags|article|block|blog|cart|checkout|collection|color|country|country_option_tags|currency|current_page|current_tags|customer|customer_address|date|discount_allocation|discount_application|external_video|filter|filter_value|font|forloop|fulfillment|generic_file|gift_card|group|handle|image|line_item|link|linklist|localization|location|measurement|media|metafield|model|model_source|order|page|page_description|page_image|page_title|part|policy|product|product_option|recommendations|request|robots|routes|rule|script|search|selling_plan|selling_plan_allocation|selling_plan_group|shipping_method|shop|shop_locale|sitemap|store_availability|tax_line|template|theme|transaction|unit_price_measurement|user_agent|variant|video|video_source)\b/,function:[{pattern:/(\|\s*)\w+/,lookbehind:!0,alias:"filter"},{pattern:/(\.\s*)(?:first|last|size)/,lookbehind:!0}],boolean:/\b(?:false|nil|true)\b/,range:{pattern:/\.\./,alias:"operator"},number:/\b\d+(?:\.\d+)?\b/,operator:/[!=]=|<>|[<>]=?|[|?:=-]|\b(?:and|contains(?=\s)|or)\b/,punctuation:/[.,\[\]()]/,empty:{pattern:/\bempty\b/,alias:"keyword"}},t.hooks.add("before-tokenize",function(e){var n=!1;t.languages["markup-templating"].buildPlaceholders(e,"liquid",/\{%\s*comment\s*%\}[\s\S]*?\{%\s*endcomment\s*%\}|\{(?:%[\s\S]*?%|\{\{[\s\S]*?\}\}|\{[\s\S]*?\})\}/g,function(e){var t=/^\{%-?\s*(\w+)/.exec(e);if(t){var r=t[1];if("raw"===r&&!n)return n=!0,!0;if("endraw"===r)return n=!1,!0}return!n})}),t.hooks.add("after-tokenize",function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"liquid")})}return nO=t,t.displayName="liquid",t.aliases=[],nO}()),e.register(function(){if(oO)return aO;function e(e){!function(e){function t(e){return RegExp(/(\()/.source+"(?:"+e+")"+/(?=[\s\)])
vendor: 2,146 bytes, line 152
152/.source)}function n(e){return RegExp(/([\s([])/.source+"(?:"+e+")"+/(?=[\s)])/.source)}var r=/(?!\d)[-+*/~!@$%^=<>{}\w]+/.source,a="&"+r,o="(\\()",i="(?=\\s)",s=/(?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\))*\))*\))*/.source,l={heading:{pattern:/;;;.*/,alias:["comment","title"]},comment:/;.*/,string:{pattern:/"(?:[^"\\]|\\.)*"/,greedy:!0,inside:{argument:/[-A-Z]+(?=[.,\s])/,symbol:RegExp("`"+r+"'")}},"quoted-symbol":{pattern:RegExp("#?'"+r),alias:["variable","symbol"]},"lisp-property":{pattern:RegExp(":"+r),alias:"property"},splice:{pattern:RegExp(",@?"+r),alias:["symbol","variable"]},keyword:[{pattern:RegExp(o+"(?:and|(?:cl-)?letf|cl-loop|cond|cons|error|if|(?:lexical-)?let\\*?|message|not|null|or|provide|require|setq|unless|use-package|when|while)"+i),lookbehind:!0},{pattern:RegExp(o+"(?:append|by|collect|concat|do|finally|for|in|return)"+i),lookbehind:!0}],declare:{pattern:t(/declare/.source),lookbehind:!0,alias:"keyword"},interactive:{pattern:t(/interactive/.source),lookbehind:!0,alias:"keyword"},boolean:{pattern:n(/nil|t/.source),lookbehind:!0},number:{pattern:n(/[-+]?\d+(?:\.\d*)?/.source),lookbehind:!0},defvar:{pattern:RegExp(o+"def(?:const|custom|group|var)\\s+"+r),lookbehind:!0,inside:{keyword:/^def[a-z]+/,variable:RegExp(r)}},defun:{pattern:RegExp(o+/(?:cl-)?(?:defmacro|defun\*?)\s+/.source+r+/\s+\(/.source+s+/\)/.source),lookbehind:!0,greedy:!0,inside:{keyword:/^(?:cl-)?def\S+/,arguments:null,function:{pattern:RegExp("(^\\s)"+r),lookbehind:!0},punctuation:/[()]/}},lambda:{pattern:RegExp(o+"lambda\\s+\\(\\s*(?:&?"+r+"(?:\\s+&?"+r+")*\\s*)?\\)"),lookbehind:!0,greedy:!0,inside:{keyword:/^lambda/,arguments:null,punctuation:/[()]/}},car:{pattern:RegExp(o+r),lookbehind:!0},punctuation:[/(?:['`,]?\(|[)\[\]])/,{pattern:/(\s)\.(?=\s)/,lookbehind:!0}]},c={"lisp-marker":RegExp(a),varform:{pattern:RegExp(/\(/.source+r+/\s+(?=\S)/.source+s+/\)/.source),inside:l},argument:{pattern:RegExp(/(^|[\s(])/.source+r),lookbehind:!0,alias:"variable"},rest:l},u="\\S+(?:\\s+\\S+)*",d={pattern:RegExp(o+s+"(?=\\))"),lookbehind:!0,inside:{"rest-vars":{pattern:RegExp("&(?:body|rest)\\s+"+u),inside:c}
152,"other-marker-vars":{pattern:RegExp("&(?:aux|optional)\\s+"+u),inside:c},keys:{pattern:RegExp("&key\\s+"+u+"(?:\\s+&allow-other-keys)?"),inside:c},argument:{pattern:RegExp(r),alias:"variable"},punctuation:/[()]/}};l.lambda.inside.arguments=d,l.defun.inside.arguments=e.util.clone(d),l.defun.inside.arguments.inside.sublist=d,e.languages.lisp=l,e.languages.elisp=l,e.languages.emacs=l,e.languages["emacs-lisp"]=l}(e)}return oO=1,aO=e,e.displayName="lisp",e.aliases=[],aO}()),e.register(function(){if(sO)return iO;function e(e){e.languages.livescript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\])#.*/,lookbehind:!0}],"interpolated-string":{pattern:/(^|[^"])("""|")(?:\\[\s\S]|(?!\2)[^\\])*\2(?!")/,lookbehind:!0,greedy:!0,inside:{variable:{pattern:/(^|[^\\])#[a-z_](?:-?[a-z]|[\d_])*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\])#\{[^}]+\}/m,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^#\{|\}$/,alias:"variable"}}},string:/[\s\S]+/}},string:[{pattern:/('''|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},{pattern:/<\[[\s\S]*?\]>/,greedy:!0},/\\[^\s,;\])}]+/],regex:[{pattern:/\/\/(?:\[[^\r\n\]]*\]|\\.|(?!\/\/)[^\\\[])+\/\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0}}},{pattern:/\/(?:\[[^\r\n\]]*\]|\\.|[^/\\\r\n\[])+\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\b/m,lookbehind:!0},"keyword-operator":{pattern:/(^|[^-])\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?: not|nt)?|not|of|or|til|to|typeof|with|xor)(?!-)\b)/m,lookbehind:!0,alias:"operator"},boolean:{pattern:/(^|[^-])\b(?:false|no|off|on|true|yes)(?!-)\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\.&\.)[^&])&(?!&)\d*/m,lookbehind:!0,alias:"variable"},number:/\b(?:\d+~[\da-z]+|\d[\d_]*(?:\.\d[\d_]*)?(?:[a-z]\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|[\d_])*/i,operator:[{pattern:/( )\.(?= )/,lookbehind:!0},/\.(?:[=~]|\.\.?)|\.(?:[&|^]|<<|>>>?)\.|:(?:=|:=?)|&&|\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\+\+?|@@?|%%?|\*\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\^\^?|[\/?]/],punctuation:/[(){}\[\]|.,:;`]/},e.languages.livescript["interpolated-string"].inside.interpolation.inside.rest=e.languages.livescript}return sO=1,iO=e,e.displayName="livescript",e.aliases=[],iO}()),e.register(function(){if(cO)return lO;function e(e){!function(e){e.languages.llvm={comment:/;.*/,string:{pattern:/"[^"]*"/,greedy:!0},boolean:/\b(?:false|true)\b/,variable:/[%@!#](?:(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+|\d+)/i,label:/(?!\d)(?:[-$.\w]|\\[a-f\d]{2})+:/i,type:{pattern:/\b(?:double|float|fp128|half|i[1-9]\d*|label|metadata|ppc_fp128|token|void|x86_fp80|x86_mmx)\b/,alias:"class-name"},keyword:/\b[a-z_][a-z_0-9]*\b/,number:/[+-]?\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-Fa-f]+\b|\b0xK[\dA-Fa-f]{20}\b|\b0x[ML][\dA-Fa-f]{32}\b|\b0xH[\dA-Fa-f]{4}\b/,punctuation:/[{}[\];(),.!*=<>]/}}(e)}return cO=1,lO=e,e.displayName="llvm",e.aliases=[],lO}()),e.register(function(){if(dO)return uO;function e(e){e.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Error|Exception):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:e.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:file|ftp|https?):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp(/\b\d{4}[-/]\d{2}[-/]\d{2}(?:T(?=\d{1,2}:)|(?=\s\d{1,2}:))/.source+"|"+/\b\d{1,4}[-/ ](?:\d{1,2}
152|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)[-/ ]\d{2,4}T?\b/.source+"|"+/\b(?:(?:Fri|Mon|Sat|Sun|Thu|Tue|Wed)(?:\s{1,2}(?:Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep))?|Apr|Aug|Dec|Feb|Jan|Jul|Jun|Mar|May|Nov|Oct|Sep)\s{1,2}\d{1,2}\b/.source,"i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:false|null|true)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}}return dO=1,uO=e,e.displayName="log",e.aliases=[],uO}()),e.register(function(){if(fO)return pO;function e(e){e.languages.lolcode={comment:[/\bOBTW\s[\s\S]*?\sTLDR\b/,/\bBTW.+/],string:{pattern:/"(?::.|[^":])*"/,inside:{variable:/:\{[^}]+\}/,symbol:[/:\([a-f\d]+\)/i,/:\[[^\]]+\]/,/:[)>o":]/]},greedy:!0},number:/(?:\B-)?(?:\b\d+(?:\.\d*)?|\B\.\d+)/,symbol:{pattern:/(^|\s)(?:A )?(?:BUKKIT|NOOB|NUMBAR|NUMBR|TROOF|YARN)(?=\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\s)/}},label:{pattern:/((?:^|\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\w*/,lookbehind:!0,alias:"string"},function:{pattern:/((?:^|\s)(?:HOW IZ I|I IZ|IZ) )[a-zA-Z]\w*/,lookbehind:!0},keyword:[{pattern:/(^|\s)(?:AN|FOUND YR|GIMMEH|GTFO|HAI|HAS A|HOW IZ I|I HAS A|I IZ|IF U SAY SO|IM IN YR|IM OUTTA YR|IS NOW(?: A)?|ITZ(?: A)?|IZ|KTHX|KTHXBYE|LIEK(?: A)?|MAEK|MEBBE|MKAY|NERFIN|NO WAI|O HAI IM|O RLY\?|OIC|OMG|OMGWTF|R|SMOOSH|SRS|TIL|UPPIN|VISIBLE|WILE|WTF\?|YA RLY|YR)(?=\s|,|$)/,lookbehind:!0},/'Z(?=\s|,|$)/],boolean:{pattern:/(^|\s)(?:FAIL|WIN)(?=\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\s)IT(?=\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:ALL|ANY|BIGGR|BOTH|DIFF|EITHER|MOD|PRODUKT|QUOSHUNT|SMALLR|SUM|WON) OF)(?=\s|,|$)/,lookbehind:!0},punctuation:/\.{3}|â¦|,|!/}}return fO=1,pO=e,e.displayName="lolcode",e.aliases=[],pO}()),e.register(ej()),e.register(function(){if(hO)return mO;function e(e){e.languages.magma={output:{pattern:/^(>.*(?:\r(?:\n|(?!\n))|\n))(?!>)(?:.+|(?:\r(?:\n|(?!\n))|\n)(?!>).*)(?:(?:\r(?:\n|(?!\n))|\n)(?!>).*)*/m,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/(^|[^\\"])"(?:[^\r\n\\"]|\\.)*"/,lookbehind:!0,greedy:!0},keyword:/\b(?:_|adj|and|assert|assert2|assert3|assigned|break|by|case|cat|catch|clear|cmpeq|cmpne|continue|declare|default|delete|diff|div|do|elif|else|end|eq|error|eval|exists|exit|for|forall|forward|fprintf|freeze|function|ge|gt|if|iload|import|in|intrinsic|is|join|le|load|local|lt|meet|mod|ne|not|notadj|notin|notsubset|or|print|printf|procedure|quit|random|read|readi|repeat|require|requirege|requirerange|restore|return|save|sdiff|select|subset|then|time|to|try|until|vprint|vprintf|vtime|when|where|while|xor)\b/,boolean:/\b(?:false|true)\b/,generator:{pattern:/\b[a-z_]\w*(?=\s*<)/i,alias:"class-name"},function:/\b[a-z_]\w*(?=\s*\()/i,number:{pattern:/(^|[^\w.]|\.\.)(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?(?:_[a-z]?)?(?=$|[^\w.]|\.\.)/,lookbehind:!0},operator:/->|[-+*/^~!|#=]|:=|\.\./,punctuation:/[()[\]{}<>,;.:]/}}return hO=1,mO=e,e.displayName="magma",e.aliases=[],mO}()),e.register(function(){if(bO)return gO;function e(e){e.languages.makefile={comment:{pattern:/(^|[^\\])#(?:\\(?:\r\n|[\s\S])|[^\\\r\n])*/,lookbehind:!0},string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"builtin-target":{pattern:/\.[A-Z][^:#=\s]+(?=\s*:(?!=))/,alias:"builtin"},target:{pattern:/^(?:[^:=\s]|[ \t]+(?![\s:]))+(?=\s*:(?!=))/m,alias:"symbol",inside:{variable:/\$+(?:(?!\$)[^(){}:#=\s]+|(?=[({]))/}},variable:/\$+(?:(?!\$)[^(){}:#=\s]+|\([@*%<^+?][DF]\)|(?=[({]))/,keyword:/-include\b|\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\b/,function:{pattern:/(\()(?:abspath|addsuffix|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:list|s)?)(?=[ \t])/,lookbehind:!0},operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/}}return bO=1,gO=e,e.displayName="makefile",e.aliases=[],gO}()),e.register(cj()),e.register(QM()),e.register(function(){if(SO)return xO;function e(e){e.languages.matlab={comment:[/%\{[\s\S]*?\}
152%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[eE][+-]?\d+)?(?:[ij])?|\b[ij]\b/,keyword:/\b(?:NaN|break|case|catch|continue|else|elseif|end|for|function|if|inf|otherwise|parfor|pause|pi|return|switch|try|while)\b/,function:/\b(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}}return SO=1,xO=e,e.displayName="matlab",e.aliases=[],xO}()),e.register(function(){if(EO)return wO;function e(e){!function(e){var t=/\b(?:about|and|animate|as|at|attributes|by|case|catch|collect|continue|coordsys|do|else|exit|fn|for|from|function|global|if|in|local|macroscript|mapped|max|not|of|off|on|or|parameters|persistent|plugin|rcmenu|return|rollout|set|struct|then|throw|to|tool|try|undo|utility|when|where|while|with)\b/i;e.languages.maxscript={comment:{pattern:/\/\*[\s\S]*?(?:\*\/|$)|--.*/,greedy:!0},string:{pattern:/(^|[^"\\@])(?:"(?:[^"\\]|\\[\s\S])*"|@"[^"]*")/,lookbehind:!0,greedy:!0},path:{pattern:/\$(?:[\w/\\.*?]|'[^']*')*/,greedy:!0,alias:"string"},"function-call":{pattern:RegExp("((?:"+/^/.source+"|"+/[;=<>+\-*/^({\[]/.source+"|"+/\b(?:and|by|case|catch|collect|do|else|if|in|not|or|return|then|to|try|where|while|with)\b/.source+")[ \t]*)(?!"+t.source+")"+/[a-z_]\w*\b/.source+"(?=[ \t]*(?:(?!"+t.source+")"+/[a-z_]/.source+"|"+/\d|-\.?\d/.source+"|"+/[({'"$@#?]/.source+"))","im"),lookbehind:!0,greedy:!0,alias:"function"},"function-definition":{pattern:/(\b(?:fn|function)\s+)\w+\b/i,lookbehind:!0,alias:"function"},argument:{pattern:/\b[a-z_]\w*(?=:)/i,alias:"attr-name"},keyword:t,boolean:/\b(?:false|true)\b/,time:{pattern:/(^|[^\w.])(?:(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?[msft])+|\d+:\d+(?:\.\d*)?)(?![\w.:])/,lookbehind:!0,alias:"number"},number:[{pattern:/(^|[^\w.])(?:(?:\d+(?:\.\d*)?|\.\d+)(?:[eEdD][+-]\d+|[LP])?|0x[a-fA-F0-9]+)(?![\w.:])/,lookbehind:!0},/\b(?:e|pi)\b/],constant:/\b(?:dontcollect|ok|silentValue|undefined|unsupplied)\b/,color:{pattern:/\b(?:black|blue|brown|gray|green|orange|red|white|yellow)\b/i,alias:"constant"},operator:/[-+*/<>=!]=?|[&^?]|#(?!\()/,punctuation:/[()\[\]{}.:,;]|#(?=\()|\\$/m}}(e)}return EO=1,wO=e,e.displayName="maxscript",e.aliases=[],wO}()),e.register(function(){if(kO)return CO;function e(e){e
vendor: 16,738 bytes, line 152
152.languages.mel={comment:/\/\/.*/,code:{pattern:/`(?:\\.|[^\\`\r\n])*`/,greedy:!0,alias:"italic",inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},variable:/\$\w+/,number:/\b0x[\da-fA-F]+\b|\b\d+(?:\.\d*)?|\B\.\d+/,flag:{pattern:/-[^\d\W]\w*/,alias:"operator"},keyword:/\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\b/,function:/\b\w+(?=\()|\b(?:CBG|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|Mayatomr|about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\b/,operator:[/\+[+=]?|-[-=]?|&&|\|\||[<>]=|[*\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\[\](){}]/},
152e.languages.mel.code.inside.rest=e.languages.mel}return kO=1,CO=e,e.displayName="mel",e.aliases=[],CO}()),e.register(function(){if(AO)return TO;function e(e){e.languages.mermaid={comment:{pattern:/%%.*/,greedy:!0},style:{pattern:/^([ \t]*(?:classDef|linkStyle|style)[ \t]+[\w$-]+[ \t]+)\w.*[^\s;]/m,lookbehind:!0,inside:{property:/\b\w[\w-]*(?=[ \t]*:)/,operator:/:/,punctuation:/,/}}
152,"inter-arrow-label":{pattern:/([^<>ox.=-])(?:-[-.]|==)(?![<>ox.=-])[ \t]*(?:"[^"\r\n]*"|[^\s".=-](?:[^\r\n.=-]*[^\s.=-])?)[ \t]*(?:\.+->?|--+[->]|==+[=>])(?![<>ox.=-])/,lookbehind:!0,greedy:!0,inside:{arrow:{pattern:/(?:\.+->?|--+[->]|==+[=>])$/,alias:"operator"},label:{pattern:/^([\s\S]{2}[ \t]*)\S(?:[\s\S]*\S)?/,lookbehind:!0,alias:"property"},"arrow-head":{pattern:/^\S+/,alias:["arrow","operator"]}}},arrow:[{pattern:/(^|[^{}|o.-])[|}][|o](?:--|\.\.)[|o][|{](?![{}|o.-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>ox.=-])(?:[<ox](?:==+|--+|-\.*-)[>ox]?|(?:==+|--+|-\.*-)[>ox]|===+|---+|-\.+-)(?![<>ox.=-])/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>()x-])(?:--?(?:>>|[x>)])(?![<>()x])|(?:<<|[x<(])--?(?!-))/,lookbehind:!0,alias:"operator"},{pattern:/(^|[^<>|*o.-])(?:[*o]--|--[*o]|<\|?(?:--|\.\.)|(?:--|\.\.)\|?>|--|\.\.)(?![<>|*o.-])/,lookbehind:!0,alias:"operator"}],label:{pattern:/(^|[^|<])\|(?:[^\r\n"|]|"[^"\r\n]*")+\|/,lookbehind:!0,greedy:!0,alias:"property"},text:{pattern:/(?:[(\[{]+|\b>)(?:[^\r\n"()\[\]{}]|"[^"\r\n]*")+(?:[)\]}]+|>)/,alias:"string"},string:{pattern:/"[^"\r\n]*"/,greedy:!0},annotation:{pattern:/<<(?:abstract|choice|enumeration|fork|interface|join|service)>>|\[\[(?:choice|fork|join)\]\]/i,alias:"important"},keyword:[{pattern:/(^[ \t]*)(?:action|callback|class|classDef|classDiagram|click|direction|erDiagram|flowchart|gantt|gitGraph|graph|journey|link|linkStyle|pie|requirementDiagram|sequenceDiagram|stateDiagram|stateDiagram-v2|style|subgraph)(?![\w$-])/m,lookbehind:!0,greedy:!0},{pattern:/(^[ \t]*)(?:activate|alt|and|as|autonumber|deactivate|else|end(?:[ \t]+note)?|loop|opt|par|participant|rect|state|note[ \t]+(?:over|(?:left|right)[ \t]+of))(?![\w$-])/im,lookbehind:!0,greedy:!0}],entity:/#[a-z0-9]+;/,operator:{pattern:/(\w[ \t]*)&(?=[ \t]*\w)|:::|:/,lookbehind:!0},punctuation:/[(){};]/}}return AO=1,TO=e,e.displayName="mermaid",e.aliases=[],TO}()),e.register(function(){if(NO)return IO;function e(e){e.languages.mizar={comment:/::.+/,keyword:/@proof\b|\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|end|environ|equals|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:ies|y)|when|where|with|wrt)\b/,parameter:{pattern:/\$(?:10|\d)/,alias:"variable"},variable:/\b\w+(?=:)/,number:/(?:\b|-)\d+\b/,operator:/\.\.\.|->|&|\.?=/,punctuation:/\(#|#\)|[,:;\[\](){}]/}}return NO=1,IO=e,e.displayName="mizar",e.aliases=[],IO}()),e.register(function(){if(RO)return _O;function e(e){!function(e){var t=["$eq","$gt","$gte","$in","$lt","$lte","$ne","$nin","$and","$not","$nor","$or","$exists","$type","$expr","$jsonSchema","$mod","$regex","$text","$where","$geoIntersects","$geoWithin","$near","$nearSphere","$all","$elemMatch","$size","$bitsAllClear","$bitsAllSet","$bitsAnyClear","$bitsAnySet","$comment","$elemMatch","$meta","$slice","$currentDate","$inc","$min","$max","$mul","$rename","$set","$setOnInsert","$unset","$addToSet","$pop","$pull","$push","$pullAll","$each","$position","$slice","$sort","$bit","$addFields","$bucket","$bucketAuto","$collStats","$count","$currentOp","$facet","$geoNear","$graphLookup","$group","$indexStats","$limit","$listLocalSessions","$listSessions","$lookup","$match","$merge","$out","$planCacheStats","$project","$redact","$replaceRoot","$replaceWith","$sample","$set","$skip","$sort","$sortByCount","$unionWith","$unset","$unwind","$setWindowFields","$abs","$accumulator","$acos","$acosh","$add","$addToSet","$allElementsTrue","$and","$anyElementTrue","$arrayElemAt","$arrayToObject","$asin","$asinh","$atan","$atan2","$atanh","$avg","$binarySize","$bsonSize","$ceil","$cmp","$concat","$concatArrays","$cond","$convert","$cos","$dateFromParts","$dateToParts","$dateFromString","$dateToString","$dayOfMonth","$dayOfWeek","$dayOfYear","$degreesToRadians","$divide","$eq","$exp","$filter","$first","$floor","$function","$gt","$gte","$hour","$ifNull","$
152in","$indexOfArray","$indexOfBytes","$indexOfCP","$isArray","$isNumber","$isoDayOfWeek","$isoWeek","$isoWeekYear","$last","$last","$let","$literal","$ln","$log","$log10","$lt","$lte","$ltrim","$map","$max","$mergeObjects","$meta","$min","$millisecond","$minute","$mod","$month","$multiply","$ne","$not","$objectToArray","$or","$pow","$push","$radiansToDegrees","$range","$reduce","$regexFind","$regexFindAll","$regexMatch","$replaceOne","$replaceAll","$reverseArray","$round","$rtrim","$second","$setDifference","$setEquals","$setIntersection","$setIsSubset","$setUnion","$size","$sin","$slice","$split","$sqrt","$stdDevPop","$stdDevSamp","$strcasecmp","$strLenBytes","$strLenCP","$substr","$substrBytes","$substrCP","$subtract","$sum","$switch","$tan","$toBool","$toDate","$toDecimal","$toDouble","$toInt","$toLong","$toObjectId","$toString","$toLower","$toUpper","$trim","$trunc","$type","$week","$year","$zip","$count","$dateAdd","$dateDiff","$dateSubtract","$dateTrunc","$getField","$rand","$sampleRate","$setField","$unsetField","$comment","$explain","$hint","$max","$maxTimeMS","$min","$orderby","$query","$returnKey","$showDiskLoc","$natural"],n="(?:"+(t=t.map(function(e){return e.replace("$","\\$")})).join("|")+")\\b";e.languages.mongodb=e.languages.extend("javascript",{}),e.languages.insertBefore("mongodb","string",{property:{pattern:/(?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)(?=\s*:)/,greedy:!0,inside:{keyword:RegExp("^(['\"])?"+n+"(?:\\1)?$")}}}),e.languages.mongodb.string.inside={url:{pattern:/https?:\/\/[-\w@:%.+~#=]{1,256}\.[a-z0-9()]{1,6}\b[-\w()@:%+.~#?&/=]*/i,greedy:!0},entity:{pattern:/\b(?:(?:[01]?\d\d?|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d\d?|2[0-4]\d|25[0-5])\b/,greedy:!0}},e.languages.insertBefore("mongodb","constant",{builtin:{pattern:RegExp("\\b(?:"+["ObjectId","Code","BinData","DBRef","Timestamp","NumberLong","NumberDecimal","MaxKey","MinKey","RegExp","ISODate","UUID"].join("|")+")\\b"),alias:"keyword"}})}(e)}return RO=1,_O=e,e.displayName="mongodb",e.aliases=[],_O}()),e.register(function(){if(LO)return OO;function e(e){e.languages.monkey={comment:{pattern:/^#Rem\s[\s\S]*?^#End|'.+/im,greedy:!0},string:{pattern:/"[^"\r\n]*"/,greedy:!0},preprocessor:{pattern:/(^[ \t]*)#.+/m,lookbehind:!0,greedy:!0,alias:"property"},function:/\b\w+(?=\()/,"type-char":{pattern:/\b[?%#$]/,alias:"class-name"},number:{pattern:/((?:\.\.)?)(?:(?:\b|\B-\.?|\B\.)\d+(?:(?!\.\.)\.\d*)?|\$[\da-f]+)/i,lookbehind:!0},keyword:/\b(?:Abstract|Array|Bool|Case|Catch|Class|Const|Continue|Default|Eachin|Else|ElseIf|End|EndIf|Exit|Extends|Extern|False|Field|Final|Float|For|Forever|Function|Global|If|Implements|Import|Inline|Int|Interface|Local|Method|Module|New|Next|Null|Object|Private|Property|Public|Repeat|Return|Select|Self|Step|Strict|String|Super|Then|Throw|To|True|Try|Until|Void|Wend|While)\b/i,operator:/\.\.|<[=>]?|>=?|:?=|(?:[+\-*\/&~|]|\b(?:Mod|Shl|Shr)\b)=?|\b(?:And|Not|Or)\b/i,punctuation:/[.,:;()\[\]]/}}return LO=1,OO=e,e.displayName="monkey",e.aliases=[],OO}()),e.register(function(){if(PO)return DO;function e(e){e.languages.moonscript={comment:/--.*/,string:[{pattern:/'[^']*'|\[(=*)\[[\s\S]*?\]\1\]/,greedy:!0},{pattern:/"[^"]*"/,greedy:!0,inside:{interpolation:{pattern:/#\{[^{}]*\}/,inside:{moonscript:{pattern:/(^#\{)[\s\S]+(?=\})/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/#\{|\}/,alias:"punctuation"}}}}}],"class-name":[{pattern:/(\b(?:class|extends)[ \t]+)\w+/,lookbehind:!0},/\b[A-Z]\w*/],keyword:/\b(?:class|continue|do|else|elseif|export|extends|for|from|if|import|in|local|nil|return|self|super|switch|then|unless|using|when|while|with)\b/,variable:/@@?\w*/,property:{pattern:/\b(?!\d)\w+(?=:)|(:)(?!\d)\w+/,lookbehind:!0},function:{pattern:/\b(?:_G|_VERSION|assert|collectgarbage|coroutine\.(?:create|resume|running|status|wrap|yield)|debug\.(?:debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|setfenv|sethook|setlocal|setmetatable|setupvalue|traceback)|dofile|error|getfenv|getmetatable|io\.(?:close|flush|input|lines|open|output|popen|read|stderr|stdin|stdout|tmpfile|type|write)|ipairs|load|loadfile|loadstring|math\.(?:abs|acos|asin|atan|atan2|ceil|cos|cosh|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|pi|pow|rad|random|randomseed|sin|sinh|sqrt|tan|tanh)|module|next|os\.(?:clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)|package\.(?:cpath|loaded|loadlib|path|preload|seeall)|pairs|pcall|print|rawequal|rawget|rawset|require|select|setfenv|setmetatable|string\.(?:byte|char|dump|find|format|gmatch|gsub|len|lower|match|rep|reverse|sub|upper)|table\.(?:concat|insert|maxn|remove|sort)|tonumber|tostring|type|unpack|xpcall)\b/,inside:{punctuation:/\./}},boolean:/\b(?:false|true)\b/,number:/(?:\B\.\d+|\b\d+\.\d+|\b\d+(?=[eE]))(?
152:[eE][-+]?\d+)?\b|\b(?:0x[a-fA-F\d]+|\d+)(?:U?LL)?\b/,operator:/\.{3}|[-=]>|~=|(?:[-+*/%<>!=]|\.\.)=?|[:#^]|\b(?:and|or)\b=?|\b(?:not)\b/,punctuation:/[.,()[\]{}\\]/},e.languages.moonscript.string[1].inside.interpolation.inside.moonscript.inside=e.languages.moonscript,e.languages.moon=e.languages.moonscript}return PO=1,DO=e,e.displayName="moonscript",e.aliases=["moon"],DO}()),e.register(function(){if(jO)return MO;function e(e){e.languages.n1ql={comment:{pattern:/\/\*[\s\S]*?(?:$|\*\/)|--.*/,greedy:!0},string:{pattern:/(["'])(?:\\[\s\S]|(?!\1)[^\\]|\1\1)*\1/,greedy:!0},identifier:{pattern:/`(?:\\[\s\S]|[^\\`]|``)*`/,greedy:!0},parameter:/\$[\w.]+/,keyword:/\b(?:ADVISE|ALL|ALTER|ANALYZE|AS|ASC|AT|BEGIN|BINARY|BOOLEAN|BREAK|BUCKET|BUILD|BY|CALL|CAST|CLUSTER|COLLATE|COLLECTION|COMMIT|COMMITTED|CONNECT|CONTINUE|CORRELATE|CORRELATED|COVER|CREATE|CURRENT|DATABASE|DATASET|DATASTORE|DECLARE|DECREMENT|DELETE|DERIVED|DESC|DESCRIBE|DISTINCT|DO|DROP|EACH|ELEMENT|EXCEPT|EXCLUDE|EXECUTE|EXPLAIN|FETCH|FILTER|FLATTEN|FLUSH|FOLLOWING|FOR|FORCE|FROM|FTS|FUNCTION|GOLANG|GRANT|GROUP|GROUPS|GSI|HASH|HAVING|IF|IGNORE|ILIKE|INCLUDE|INCREMENT|INDEX|INFER|INLINE|INNER|INSERT|INTERSECT|INTO|IS|ISOLATION|JAVASCRIPT|JOIN|KEY|KEYS|KEYSPACE|KNOWN|LANGUAGE|LAST|LEFT|LET|LETTING|LEVEL|LIMIT|LSM|MAP|MAPPING|MATCHED|MATERIALIZED|MERGE|MINUS|MISSING|NAMESPACE|NEST|NL|NO|NTH_VALUE|NULL|NULLS|NUMBER|OBJECT|OFFSET|ON|OPTION|OPTIONS|ORDER|OTHERS|OUTER|OVER|PARSE|PARTITION|PASSWORD|PATH|POOL|PRECEDING|PREPARE|PRIMARY|PRIVATE|PRIVILEGE|PROBE|PROCEDURE|PUBLIC|RANGE|RAW|REALM|REDUCE|RENAME|RESPECT|RETURN|RETURNING|REVOKE|RIGHT|ROLE|ROLLBACK|ROW|ROWS|SATISFIES|SAVEPOINT|SCHEMA|SCOPE|SELECT|SELF|SEMI|SET|SHOW|SOME|START|STATISTICS|STRING|SYSTEM|TIES|TO|TRAN|TRANSACTION|TRIGGER|TRUNCATE|UNBOUNDED|UNDER|UNION|UNIQUE|UNKNOWN|UNNEST|UNSET|UPDATE|UPSERT|USE|USER|USING|VALIDATE|VALUE|VALUES|VIA|VIEW|WHERE|WHILE|WINDOW|WITH|WORK|XOR)\b/i,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:FALSE|TRUE)\b/i,number:/(?:\b\d+\.|\B\.)\d+e[+\-]?\d+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/%]|!=|==?|\|\||<[>=]?|>=?|\b(?:AND|ANY|ARRAY|BETWEEN|CASE|ELSE|END|EVERY|EXISTS|FIRST|IN|LIKE|NOT|OR|THEN|VALUED|WHEN|WITHIN)\b/i,punctuation:/[;[\](),.{}:]/}}return jO=1,MO=e,e.displayName="n1ql",e.aliases=[],MO}()),e.register(function(){if(zO)return FO;function e(e){e.languages.n4js=e.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),e.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),e.languages.n4jsd=e.languages.n4js}return zO=1,FO=e,e.displayName="n4js",e.aliases=["n4jsd"],FO}()),e.register(function(){if(BO)return $O;function e(e){e.languages["nand2tetris-hdl"]={comment:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,keyword:/\b(?:BUILTIN|CHIP|CLOCKED|IN|OUT|PARTS)\b/,boolean:/\b(?:false|true)\b/,function:/\b[A-Za-z][A-Za-z0-9]*(?=\()/,number:/\b\d+\b/,operator:/=|\.\./,punctuation:/[{}[\];(),:]/}}return BO=1,$O=e,e.displayName="nand2tetrisHdl",e.aliases=[],$O}()),e.register(function(){if(HO)return UO;function e(e){!function(e){var t=/\{[^\r\n\[\]{}]*\}/,n={"quoted-string":{pattern:/"(?:[^"\\]|\\.)*"/,alias:"operator"},"command-param-id":{pattern:/(\s)\w+:/,lookbehind:!0,alias:"property"},"command-param-value":[{pattern:t,alias:"selector"},{pattern:/([\t ])\S+/,lookbehind:!0,greedy:!0,alias:"operator"},{pattern:/\S(?:.*\S)?/,alias:"operator"}]};function r(e){return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):r(e.content)}e.languages.naniscript={comment:{pattern:/^([\t ]*);.*/m,lookbehind:!0},define:{pattern:/^>.+/m,alias:"tag",inside:{value:{pattern:/(^>\w+[\t ]+)(?!\s)[^{}\r\n]+/,lookbehind:!0,alias:"operator"},key:{pattern:/(^>)\w+/,lookbehind:!0}}},label:{pattern:/^([\t ]*)#[\t ]*\w+[\t ]*$/m,lookbehind:!0,alias:"regex"},command:{pattern:/^([\t ]*)@\w+(?=[\t ]|$).*/m,lookbehind:!0,alias:"function",inside:{"command-name":/^@\w+/,expression:{pattern:t,greedy:!0,alias:"selector"},"command-params":{pattern:/\s*\S[\s\S]*/,inside:n}}},"generic-text":{pattern:/(^[ \t]*)[^#@>;\s].*/m,lookbehind:!0,alias:"punctuation",inside:{"escaped-char":/\\[{}\[\]"]/,expression:{pattern:t,greedy:!0,alias:"selector"},"inline-command":{pattern:/\[[\t ]*\w[^\r\n\[\]]*\]/,greedy:!0,alias:"function",inside:{"command-params":{pattern:/(^\[[\t ]*\w+\b)[\s\S]+(?=\]$)/,lookbehind:!0,inside:n},"command-param-name":{pattern:/^(\[[\t ]*)\w+/,lookbehind:!0,alias:"name"},"start-stop-char":/[\[\]]/}}}}},e.languages.nani=e.languages.naniscript,e.hooks.add("after-tokenize",function(e){e.tokens.forEach(function(e){if("string"!=typeof e&&"generic-text"===e.type){var t=r(e);(function(e){for(var t="[]{}",n=[],r=0;r<e.length;r++){var a=e[r],o=t.indexOf(a);if(-1!==o)if(o%2==0)n.push(o+1);else if(n.pop()!==o)return!1}return 0===n.length})(t)||(e.type="bad-line",e.content=t)}})})}(e)}return HO=1,UO=e,e.displayName="naniscript",e.aliases=[],UO}()),e.register(function(){if(WO)return VO;function e(e){e.languages.nasm={comment:/;.*$/m,string:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,label:{pattern:/(^\s*)[A-Za-z._?$][\w.?$@~#]*:/m,lookbehind:!0,alias:"function"},keyword:[/\[?BITS (?:16|32|64)\]?/,{pattern:/(^\s*)section\s*[a-z.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\r\n]*/i,/(?:CPU|DEFAULT|FLOAT).*$/m],register:{pattern:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s)\b/i,alias:"variable"},number:/(?:\b|(?=\$))(?:0[hx](?:\.[\da-f]+|[\da-f]+(?:\.[\da-f]+)?)(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-\/%<>=&|$!]/}}return WO=1,VO=e,e.displayName="nasm",e.aliases=[],VO}()),e.register(function(){if(qO)return GO;function e(e){e.languages.neon={comment:{pattern:/#.*/,greedy:!0},datetime:{pattern:/(^|[[{(=:,\s])\d\d\d\d-\d\d?-\d\d?(?:(?:[Tt]| +)\d\d?:\d\d:\d\d(?:\.\d*)? *(?:Z|[-+]\d\d?(?::?\d\d)?)?)?(?=$|[\]}),\s])/,lookbehind:!0,alias:"number"},key:{pattern:/(^|[[{(,\s])[^,:=[\]{}()'"\s]+(?=\s*:(?:$|[\]}),\s])|\s*=)/,lookbehind:!0,alias:"atrule"},number:{pattern:/(^|[[{(=:,\s])[+-]?(?:0x[\da-fA-F]+|0o[0-7]+|0b[01]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:[eE][+-]?\d+)?)(?=$|[\]}),:=\s])/,lookbehind:!0},boolean:{pattern:/(^|[[{(=:,\s])(?:false|no|true|yes)(?=$|[\]}),:=\s])/i,lookbehind:!0},null:{pattern:/(^|[[{(=:,\s])(?:null)(?=$|[\]}),:=\s])/i,lookbehind:!0,alias:"keyword"},string:{pattern:/(^|[[{(=:,\s])(?:('''|""")\r?\n(?:(?:[^\r\n]|\r?\n(?![\t ]*\2))*\r?\n)?[\t ]*\2|'[^'\r\n]*'|"(?:\\.|[^\\"\r\n])*")/,lookbehind:!0,greedy:!0},literal:{pattern:/(^|[[{(=:,\s])(?:[^#"',:=[\]{}()\s`-]|[:-][^"',=[\]{}()\s])(?:[^,:=\]})(\s]|:(?![\s,\]})]|$)|[ \t]+[^#,:=\]})(\s])*/,lookbehind:!0,alias:"string"},punctuation:/[,:=[\]{}()-]/}}return qO=1,GO=e,e.displayName="neon",e.aliases=[],GO}()),e.register(function(){if(XO)return YO;function e(e){e.languages.nevod={comment:/\/\/.*|(?:\/\*[\s\S]*?(?:\*\/|$))/,string:{pattern:/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))!?\*?/,greedy:!0,inside:{"string-attrs":/!$|!\*$|\*$/}},namespace:{pattern:/(@namespace\s+)[a-zA-Z0-9\-.]+(?=\s*\{)/,lookbehind:!0},pattern:{pattern:/(@pattern\s+)?#?[a-zA-Z0-9\-.]+(?:\s*\(\s*(?:~\s*)?[a-zA-Z0-9\-.]+\s*(?:,\s*(?:~\s*)?[a-zA-Z0-9\-.]*)*\))?(?=\s*=)/,lookbehind:!0,inside:{"pattern-name":{pattern:/^#?[a-zA-Z0-9\-.]+/,alias:"class-name"},fields:{pattern:/\(.*\)/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},punctuation:/[,()]/,operator:{pattern:/~/,alias:"field-hidden-mark"}}}}},search:{pattern:/(@search\s+|#)[a-zA-Z0-9\-.]+(?:\.\*)?(?=\s*;)/,alias:"function",lookbehind:!0},keyword:/@(?:having|inside|namespace|outside|pattern|require|search|where)\b/,"standard-pattern":{pattern:/\b(?:Alpha|AlphaNum|Any|Blank|End|LineBreak|Num|NumAlpha|Punct|Space|Start|Symbol|Word|WordBreak)\b(?:\([a-zA-Z0-9\-.,\s+]*\))?/,inside:{"standard-pattern-name":{pattern:/^[a-zA-Z0-9\-.]+/,alias:"builtin"},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},"standard-pattern-attr":{pattern:/[a-zA-Z0-9\-.]+/,alias:"builtin"},punctuation:/[,()]/}},quantifier:{pattern:/\b\d+(?:\s*\+|\s*-\s*\d+)?(?!\w)/,alias:"number"},operator:[{pattern:/=/,alias:"pattern-def"},{pattern:/&/,alias:"conjunction"},{pattern:/~/,alias:"exception"},{pattern:/\?/,alias:"optionality"},{pattern:/[[\]]/,alias:"repetition"},{pattern:/[{}]/,alias:"variation"},{pattern:/[+_]/,alias:"sequence"},{pattern:/\.{2,3}/,alias:"span"}],"field-capture":[{pattern:/([a-zA-Z0-9\-.]+\s*\()\s*[a-zA-Z0-9\-.]+\s*:\s
152*[a-zA-Z0-9\-.]+(?:\s*,\s*[a-zA-Z0-9\-.]+\s*:\s*[a-zA-Z0-9\-.]+)*(?=\s*\))/,lookbehind:!0,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}},{pattern:/[a-zA-Z0-9\-.]+\s*:/,inside:{"field-name":{pattern:/[a-zA-Z0-9\-.]+/,alias:"variable"},colon:/:/}}],punctuation:/[:;,()]/,name:/[a-zA-Z0-9\-.]+/}}return XO=1,YO=e,e.displayName="nevod",e.aliases=[],YO}()),e.register(function(){if(ZO)return KO;function e(e){!function(e){var t=/\$(?:\w[a-z\d]*(?:_[^\x00-\x1F\s"'\\()$]*)?|\{[^}\s"'\\]+\})/i;e.languages.nginx={comment:{pattern:/(^|[\s{};])#.*/,lookbehind:!0,greedy:!0},directive:{pattern:/(^|\s)\w(?:[^;{}"'\\\s]|\\.|"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*'|\s+(?:#.*(?!.)|(?![#\s])))*?(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:{string:{pattern:/((?:^|[^\\])(?:\\\\)*)(?:"(?:[^"\\]|\\.)*"|'(?:[^'\\]|\\.)*')/,lookbehind:!0,greedy:!0,inside:{escape:{pattern:/\\["'\\nrt]/,alias:"entity"},variable:t}},comment:{pattern:/(\s)#.*/,lookbehind:!0,greedy:!0},keyword:{pattern:/^\S+/,greedy:!0},boolean:{pattern:/(\s)(?:off|on)(?!\S)/,lookbehind:!0},number:{pattern:/(\s)\d+[a-z]*(?!\S)/i,lookbehind:!0},variable:t}},punctuation:/[{};]/}}(e)}return ZO=1,KO=e,e.displayName="nginx",e.aliases=[],KO}()),e.register(function(){if(QO)return JO;function e(e){e.languages.nim={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/(?:\b(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+)?(?:"""[\s\S]*?"""(?!")|"(?:\\[\s\S]|""|[^"\\])*")/,greedy:!0},char:{pattern:/'(?:\\(?:\d+|x[\da-fA-F]{0,2}|.)|[^'])'/,greedy:!0},function:{pattern:/(?:(?!\d)(?:\w|\\x[89a-fA-F][0-9a-fA-F])+|`[^`\r\n]+`)\*?(?:\[[^\]]+\])?(?=\s*\()/,greedy:!0,inside:{operator:/\*$/}},identifier:{pattern:/`[^`\r\n]+`/,greedy:!0,inside:{punctuation:/`/}},number:/\b(?:0[xXoObB][\da-fA-F_]+|\d[\d_]*(?:(?!\.\.)\.[\d_]*)?(?:[eE][+-]?\d[\d_]*)?)(?:'?[iuf]\d*)?/,keyword:/\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\b/,operator:{pattern:/(^|[({\[](?=\.\.)|(?![({\[]\.).)(?:(?:[=+\-*\/<>@$~&%|!?^:\\]|\.\.|\.(?![)}\]]))+|\b(?:and|div|in|is|isnot|mod|not|notin|of|or|shl|shr|xor)\b)/m,lookbehind:!0},punctuation:/[({\[]\.|\.[)}\]]|[`(){}\[\],:]/}}return QO=1,JO=e,e.displayName="nim",e.aliases=[],JO}()),e.register(function(){if(tL)return eL;function e(e){e.languages.nix={comment:{pattern:/\/\*[\s\S]*?\*\/|#.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"|''(?:(?!'')[\s\S]|''(?:'|\\|\$\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\])\$\{(?:[^{}]|\{[^}]*\})*\}/,lookbehind:!0,inside:null}}},url:[/\b(?:[a-z]{3,7}:\/\/)[\w\-+%~\/.:#=?&]+/,{pattern:/([^\/])(?:[\w\-+%~.:#=?&]*(?!\/\/)[\w\-+%~\/.:#=?&])?(?!\/\/)\/[\w\-+%~\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\$(?=\{)/,alias:"important"},number:/\b\d+\b/,keyword:/\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\b/,function:/\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:Tarball|url)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\b|\bfoldl'\B/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|\+\+?|\|\||&&|\/\/|->?|[?@]/,punctuation:/[{}()[\].,:;]/},e.languages.nix.string.inside.interpolation.inside=e.languages.nix}return tL=1,eL=e,e.displayName="nix",e.aliases=[],eL}()),e.register(function(){if(rL)return nL;function e(e){e.languages.nsis={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|[#;].*)/,lookbehind:!0,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:{pattern:/(^[\t ]*)(?:Abort|Add(?:BrandingImage|Size)|AdvSplash|Allow(?:RootDirInstall|SkipFiles)|AutoCloseWindow|BG(?:Font|Gradient|Image)|Banner|BrandingText|BringToFront|CRCCheck|Call(?:InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|Create(?:Directory|Font|ShortCut)|Delete(?:INISec|INIStr|RegKey|RegValue)?|Detail(?:Print|sButtonText)|Dialer|Dir(?:Text|Var|Verify)|EnableWindow|Enum(?:RegKey|RegValue)|Exch|Exec(?:Shell(?:Wait)?|Wait)?|ExpandEnvStrings|File(?:BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|Seek|Write|WriteByte|WriteUTF16LE|WriteWord)?|Find(?:Close|First|Next|Window)|FlushINI|Get(?:CurInstType|CurrentAddress|DLLVersion(?:Local)?|DlgItem|ErrorLevel|FileTime(?:Local)?|FullPathName|Function(?:Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(?:Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|InstProgressFlags|Inst(?:Type(?:GetText|SetText)?)|Install(?:ButtonText|Colors|Dir(?:RegKey)?)|Int(?:64|Ptr)?CmpU?|Int(?:64)?Fmt|Int(?:Ptr)?Op|IsWindow|Lang(?:DLL|String)|License(?:BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(?:Set|Text)|Manifest(?:DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|NSISdl|Name|Nop|OutFile|PE(?:DllCharacteristics|SubsysVer)|Page(?:Callbacks)?|Pop|Push|Quit|RMDir|Read(?:EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|SearchPath|Section(?:End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(?:AutoClose|BrandingImage|Compress|Compressor(?:DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(?:Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|PluginUnload|RebootFlag|RegView|ShellVarContext|Silent)|Show(?:InstDetails|UninstDetails|Window)|Silent(?:Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(?:CmpS?|Cpy|Len)|SubCaption|System|UnRegDLL|Unicode|UninstPage|Uninstall(?:ButtonText|Caption|Icon|SubCaption|Text)|UserInfo|VI(?:AddVersionKey|FileVersion|ProductVersion)|VPatch|Var|WindowIcon|Write(?:INIStr|Reg(?:Bin|DWORD|ExpandStr|MultiStr|None|Str)|Uninstaller)|XPStyle|ns(?:Dialogs|Exec))\b/m,lookbehind:!0},property:/\b(?:ARCHIVE|FILE_(?:ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(?:(?:CR|CU|LM)(?:32|64)?|DD|PD|U)|HKEY_(?:CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(?:ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(?:ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY|admin|all|auto|both|colored|fal
152se|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user)\b/,constant:/\$\{[!\w\.:\^-]+\}|\$\([!\w\.:\^-]+\)/,variable:/\$\w[\w\.]*/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--?|\+\+?|<=?|>=?|==?=?|&&?|\|\|?|[?*\/~^%]/,punctuation:/[{}[\];(),.:]/,important:{pattern:/(^[\t ]*)!(?:addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversion|gettlbversion|if|ifdef|ifmacrodef|ifmacrondef|ifndef|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|verbose|warning)\b/im,lookbehind:!0}}}return rL=1,nL=e,e.displayName="nsis",e.aliases=[],nL}()),e.register(function(){if(oL)return aL;oL=1;var e=qM();function t(t){t.register(e),t.languages.objectivec=t.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete t.languages.objectivec["class-name"],t.languages.objc=t.languages.objectivec}return aL=t,t.displayName="objectivec",t.aliases=["objc"],aL}()),e.register(function(){if(sL)return iL;function e(e){e.languages.ocaml={comment:{pattern:/\(\*[\s\S]*?\*\)/,greedy:!0},char:{pattern:/'(?:[^\\\r\n']|\\(?:.|[ox]?[0-9a-f]{1,3}))'/i,greedy:!0},string:[{pattern:/"(?:\\(?:[\s\S]|\r\n)|[^\\\r\n"])*"/,greedy:!0},{pattern:/\{([a-z_]*)\|[\s\S]*?\|\1\}/,greedy:!0}],number:[/\b(?:0b[01][01_]*|0o[0-7][0-7_]*)\b/i,/\b0x[a-f0-9][a-f0-9_]*(?:\.[a-f0-9_]*)?(?:p[+-]?\d[\d_]*)?(?!\w)/i,/\b\d[\d_]*(?:\.[\d_]*)?(?:e[+-]?\d[\d_]*)?(?!\w)/i],directive:{pattern:/\B#\w+/,al
152ias:"property"},label:{pattern:/\B~\w+/,alias:"property"},"type-variable":{pattern:/\B'\w+/,alias:"function"},variant:{pattern:/`\w+/,alias:"symbol"},keyword:/\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|nonrec|object|of|open|private|rec|sig|struct|then|to|try|type|val|value|virtual|when|where|while|with)\b/,boolean:/\b(?:false|true)\b/,"operator-like-punctuation":{pattern:/\[[<>|]|[>|]\]|\{<|>\}/,alias:"punctuation"},operator:/\.[.~]|:[=>]|[=<>@^|&+\-*\/$%!?~][!$%&*+\-.\/:<=>?@^|~]*|\b(?:and|asr|land|lor|lsl|lsr|lxor|mod|or)\b/,punctuation:/;;|::|[(){}\[\].,:;#]|\b_\b/}}return sL=1,iL=e,e.displayName="ocaml",e.aliases=[],iL}()),e.register(function(){if(cL)return lL;cL=1;var e=qM();function t(t){t.register(e),function(e){e.languages.opencl=e.languages.extend("c",{keyword:/\b(?:(?:__)?(?:constant|global|kernel|local|private|read_only|read_write|write_only)|__attribute__|auto|(?:bool|u?(?:char|int|long|short)|half|quad)(?:2|3|4|8|16)?|break|case|complex|const|continue|(?:double|float)(?:16(?:x(?:1|2|4|8|16))?|1x(?:1|2|4|8|16)|2(?:x(?:1|2|4|8|16))?|3|4(?:x(?:1|2|4|8|16))?|8(?:x(?:1|2|4|8|16))?)?|default|do|else|enum|extern|for|goto|if|imaginary|inline|packed|pipe|register|restrict|return|signed|sizeof|static|struct|switch|typedef|uniform|union|unsigned|void|volatile|while)\b/,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[fuhl]{0,4}/i,boolean:/\b(?:false|true)\b/,"constant-opencl-kernel":{pattern:/\b(?:CHAR_(?:BIT|MAX|MIN)|CLK_(?:ADDRESS_(?:CLAMP(?:_TO_EDGE)?|NONE|REPEAT)|FILTER_(?:LINEAR|NEAREST)|(?:GLOBAL|LOCAL)_MEM_FENCE|NORMALIZED_COORDS_(?:FALSE|TRUE))|CL_(?:BGRA|(?:HALF_)?FLOAT|INTENSITY|LUMINANCE|A?R?G?B?[Ax]?|(?:(?:UN)?SIGNED|[US]NORM)_(?:INT(?:8|16|32))|UNORM_(?:INT_101010|SHORT_(?:555|565)))|(?:DBL|FLT|HALF)_(?:DIG|EPSILON|(?:MAX|MIN)(?:(?:_10)?_EXP)?|MANT_DIG)|FLT_RADIX|HUGE_VALF?|(?:INT|LONG|SCHAR|SHRT)_(?:MAX|MIN)|INFINITY|MAXFLOAT|M_(?:[12]_PI|2_SQRTPI|E|LN(?:2|10)|LOG(?:2|10)E?|PI(?:_[24])?|SQRT(?:1_2|2))(?:_F|_H)?|NAN|(?:UCHAR|UINT|ULONG|USHRT)_MAX)\b/,alias:"constant"}}),e.languages.insertBefore("opencl","class-name",{"builtin-type":{pattern:/\b(?:_cl_(?:command_queue|context|device_id|event|kernel|mem|platform_id|program|sampler)|cl_(?:image_format|mem_fence_flags)|clk_event_t|event_t|image(?:1d_(?:array_|buffer_)?t|2d_(?:array_(?:depth_|msaa_depth_|msaa_)?|depth_|msaa_depth_|msaa_)?t|3d_t)|intptr_t|ndrange_t|ptrdiff_t|queue_t|reserve_id_t|sampler_t|size_t|uintptr_t)\b/,alias:"keyword"}});var t
vendor: 7,530 bytes, line 152
152={"type-opencl-host":{pattern:/\b(?:cl_(?:GLenum|GLint|GLuin|addressing_mode|bitfield|bool|buffer_create_type|build_status|channel_(?:order|type)|(?:u?(?:char|int|long|short)|double|float)(?:2|3|4|8|16)?|command_(?:queue(?:_info|_properties)?|type)|context(?:_info|_properties)?|device_(?:exec_capabilities|fp_config|id|info|local_mem_type|mem_cache_type|type)|(?:event|sampler)(?:_info)?|filter_mode|half|image_info|kernel(?:_info|_work_group_info)?|map_flags|mem(?:_flags|_info|_object_type)?|platform_(?:id|info)|profiling_info|program(?:_build_info|_info)?))\b/,alias:"keyword"},"boolean-opencl-host":{pattern:/\bCL_(?:FALSE|TRUE)\b/,alias:"boolean"},"constant-opencl-host":{pattern:/\bCL_(?:A|ABGR|ADDRESS_(?:CLAMP(?:_TO_EDGE)?|MIRRORED_REPEAT|NONE|REPEAT)|ARGB|BGRA|BLOCKING|BUFFER_CREATE_TYPE_REGION|BUILD_(?:ERROR|IN_PROGRESS|NONE|PROGRAM_FAILURE|SUCCESS)|COMMAND_(?:ACQUIRE_GL_OBJECTS|BARRIER|COPY_(?:BUFFER(?:_RECT|_TO_IMAGE)?|IMAGE(?:_TO_BUFFER)?)|FILL_(?:BUFFER|IMAGE)|MAP(?:_BUFFER|_IMAGE)|MARKER|MIGRATE(?:_SVM)?_MEM_OBJECTS|NATIVE_KERNEL|NDRANGE_KERNEL|READ_(?:BUFFER(?:_RECT)?|IMAGE)|RELEASE_GL_OBJECTS|SVM_(?:FREE|MAP|MEMCPY|MEMFILL|UNMAP)|TASK|UNMAP_MEM_OBJECT|USER|WRITE_(?:BUFFER(?:_RECT)?|IMAGE))|COMPILER_NOT_AVAILABLE|COMPILE_PROGRAM_FAILURE|COMPLETE|CONTEXT_(?:DEVICES|INTEROP_USER_SYNC|NUM_DEVICES|PLATFORM|PROPERTIES|REFERENCE_COUNT)|DEPTH(?:_STENCIL)?|DEVICE_(?:ADDRESS_BITS|AFFINITY_DOMAIN_(?:L[1-4]_CACHE|NEXT_PARTITIONABLE|NUMA)|AVAILABLE|BUILT_IN_KERNELS|COMPILER_AVAILABLE|DOUBLE_FP_CONFIG|ENDIAN_LITTLE|ERROR_CORRECTION_SUPPORT|EXECUTION_CAPABILITIES|EXTENSIONS|GLOBAL_(?:MEM_(?:CACHELINE_SIZE|CACHE_SIZE|CACHE_TYPE|SIZE)|VARIABLE_PREFERRED_TOTAL_SIZE)|HOST_UNIFIED_MEMORY|IL_VERSION|IMAGE(?:2D_MAX_(?:HEIGHT|WIDTH)|3D_MAX_(?:DEPTH|HEIGHT|WIDTH)|_BASE_ADDRESS_ALIGNMENT|_MAX_ARRAY_SIZE|_MAX_BUFFER_SIZE|_PITCH_ALIGNMENT|_SUPPORT)|LINKER_AVAILABLE|LOCAL_MEM_SIZE|LOCAL_MEM_TYPE|MAX_(?:CLOCK_FREQUENCY|COMPUTE_UNITS|CONSTANT_ARGS|CONSTANT_BUFFER_SIZE|GLOBAL_VARIABLE_SIZE|MEM_ALLOC_SIZE|NUM_SUB_GROUPS|ON_DEVICE_(?:EVENTS|QUEUES)|PARAMETER_SIZE|PIPE_ARGS|READ_IMAGE_ARGS|READ_WRITE_IMAGE_ARGS|SAMPLERS|WORK_GROUP_SIZE|WORK_ITEM_DIMENSIONS|WORK_ITEM_SIZES|WRITE_IMAGE_ARGS)|MEM_BASE_ADDR_ALIGN|MIN_DATA_TYPE_ALIGN_SIZE|NAME|NATIVE_VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT)|NOT_(?:AVAILABLE|FOUND)|OPENCL_C_VERSION|PARENT_DEVICE|PARTITION_(?:AFFINITY_DOMAIN|BY_AFFINITY_DOMAIN|BY_COUNTS|BY_COUNTS_LIST_END|EQUALLY|FAILED|MAX_SUB_DEVICES|PROPERTIES|TYPE)|PIPE_MAX_(?:ACTIVE_RESERVATIONS|PACKET_SIZE)|PLATFORM|PREFERRED_(?:GLOBAL_ATOMIC_ALIGNMENT|INTEROP_USER_SYNC|LOCAL_ATOMIC_ALIGNMENT|PLATFORM_ATOMIC_ALIGNMENT|VECTOR_WIDTH_(?:CHAR|DOUBLE|FLOAT|HALF|INT|LONG|SHORT))|PRINTF_BUFFER_SIZE|PROFILE|PROFILING_TIMER_RESOLUTION|QUEUE_(?:ON_(?:DEVICE_(?:MAX_SIZE|PREFERRED_SIZE|PROPERTIES)|HOST_PROPERTIES)|PROPERTIES)|REFERENCE_COUNT|SINGLE_FP_CONFIG|SUB_GROUP_INDEPENDENT_FORWARD_PROGRESS|SVM_(?:ATOMICS|CAPABILITIES|COARSE_GRAIN_BUFFER|FINE_GRAIN_BUFFER|FINE_GRAIN_SYSTEM)|TYPE(?:_ACCELERATOR|_ALL|_CPU|_CUSTOM|_DEFAULT|_GPU)?|VENDOR(?:_ID)?|VERSION)|DRIVER_VERSION|EVENT_(?:COMMAND_(?:EXECUTION_STATUS|QUEUE|TYPE)|CONTEXT|REFERENCE_COUNT)|EXEC_(?:KERNEL|NATIVE_KERNEL|STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST)|FILTER_(?:LINEAR|NEAREST)|FLOAT|FP_(?:CORRECTLY_ROUNDED_DIVIDE_SQRT|DENORM|FMA|INF_NAN|ROUND_TO_INF|ROUND_TO_NEAREST|ROUND_TO_ZERO|SOFT_FLOAT)|GLOBAL|HALF_FLOAT|IMAGE_(?:ARRAY_SIZE|BUFFER|DEPTH|ELEMENT_SIZE|FORMAT|FORMAT_MISMATCH|FORMAT_NOT_SUPPORTED|HEIGHT|NUM_MIP_LEVELS|NUM_SAMPLES|ROW_PITCH|SLICE_PITCH|WIDTH)|INTENSITY|INVALID_(?:ARG_INDEX|ARG_SIZE|ARG_VALUE|BINARY|BUFFER_SIZE|BUILD_OPTIONS|COMMAND_QUEUE|COMPILER_OPTIONS|CONTEXT|DEVICE|DEVICE_PARTITION_COUNT|DEVICE_QUEUE|DEVICE_TYPE|EVENT|EVENT_WAIT_LIST|GLOBAL_OFFSET|GLOBAL_WORK_SIZE|GL_OBJECT|HOST_PTR|IMAGE_DESCRIPTOR|IMAGE_FORMAT_DESCRIPTOR|IMAGE_SIZE|KERNEL|KERNEL_ARGS|KERNEL_DEFINITION|KERNEL_NAME|LINKER_OPTIONS|MEM_OBJECT|MIP_LEVEL|OPERATION|PIPE_SIZE|PLATFORM|PROGRAM|PROGRAM_EXECUTABLE|PROPERTY|QUEUE_PROPERTIES|SAMPLER|VALUE|WORK_DIMENSION|WORK_GROUP_SIZE|WORK_ITEM_SIZE)|KERNEL_(?:ARG_(?:ACCESS_(?:NONE|QUALIFIER|READ_ONLY|READ_WRITE|WRITE_ONLY)|ADDRESS_(?:CONSTANT|GLOBAL|LOCAL|PRIVATE|QUALIFIER)|INFO_NOT_AVAILABLE|NAME|TYPE_(?:CONST|NAME|NONE|PIPE|QUALIFIER|RESTRICT|VOLATILE))|ATTRIBUTES|COMPILE_NUM_SUB_GROUPS|COMPILE_WORK_GROUP_SIZE|CONTEXT|EXEC_INFO_SVM_FINE_GRAIN_SYSTEM|EXEC_INFO_SVM_PTRS|FUNCTION_NAME|GLOBAL_WORK_SIZE|LOCAL_MEM_SIZE|LOCAL_SIZE_FOR_SUB_GROUP_COUNT|MAX_NUM_SUB_GROUPS|MAX_SUB_GROUP_SIZE_FOR_NDRANGE|NUM_ARGS|PREFERRED_WORK_GROUP_SIZE_MULTIPLE|PRIVATE_MEM_SIZE|PROGRAM|REFERENCE_COUNT|SUB_GROUP_COUNT_FOR_NDRANGE|WORK_GROUP_SIZE)|LINKER_NOT_AVAILABLE|LINK_PROGRAM_FAILURE|LOCAL|LUMINANCE|MAP_(?:FAILURE|READ|WRITE|WRITE_INVALIDATE_REGION)|MEM_(?:ALLOC_HOST_PTR|ASSOCIATED_MEMOBJECT|CONTEXT|COPY_HOST_PTR|COPY_OVERLAP|FLAGS|HOST_NO_ACCESS|HOST_PTR|HOST_READ_ONLY|HOST_WRITE_ONLY|KERNEL_READ_AND_WRITE|MAP_COUNT|OBJECT_(?:ALLOCATION_FAILURE|BUFFER|IMAGE1D|IMAGE1D_ARRAY|IMAGE1D_BUFFER|IMAGE2D|IMAGE2D_ARRAY|IMAGE3D|PIPE)|OFFSET|READ_ONLY|READ_WRITE|REFERENCE_COUNT|SIZE|SVM_ATOMICS|SVM_FINE_GRAIN_BUFFER|TYPE|USES_SVM_POINTER|USE_HOST_PTR|WRITE_ONLY)|MIGRATE_MEM_OBJECT_(?:CONTENT_UNDEFINED|HOST)|MISALIGNED_SUB_BUFFER_OFFSET|NONE|NON_BLOCKING|OUT_OF_(?:HOST_MEMORY|RESOURCES)|PIPE_(?:MAX_PACKETS|PACKET_SIZE)|PLATFORM_(?:EXTENSIONS|HOST_TIMER_RESOLUTION|NAME|PROFILE|VENDOR|VERSION)|PROFILING_(?:COMMAND_(?:COMPLETE|END|QUEUED|START|SUBMIT)|INFO_NOT_AVAILABLE)|PROGRAM_(?:BINARIES|BINARY_SIZES|BINARY_TYPE(?:_COMPILED_OBJECT|_EXECUTABLE|_LIBRARY|_NONE)?|BUILD_(?:GLOBAL_VARIABLE_TOTAL_SIZE|LOG|OPTIONS|STATUS)|CONTEXT|DEVICES|IL|KERNEL_NAMES|NUM_DEVICES|NUM_KERNELS|REFERENCE_COUNT|SOURCE)|QUEUED|QUEUE_(?:CONTEXT|DEVICE|DEVICE_DEFAULT|ON_DEVICE|ON_DEVICE_DEFAULT|OUT_OF_ORDER_EXEC_MODE_ENABLE|PROFILING_ENABLE|PROPERTIES|REFERENCE_COUNT|SIZE)|R|RA|READ_(?:ONLY|WRITE)_CACHE|RG|RGB|RGBA|RGBx|RGx|RUNNING|Rx|SAMPLER_(?:ADDRESSING_MODE|CONTEXT|FILTER_MODE|LOD_MAX|LOD_MIN|MIP_FILTER_MODE|NORMALIZED_COORDS|REFERENCE_COUNT)|(?:UN)?SIGNED_INT(?:8|16|32)|SNORM_INT(?:8|16)|SUBMITTED|SUCCESS|UNORM_INT(?:8|16|24|_101010|_101010_2)|UNORM_SHORT_(?:555|565)|VERSION_(?:1_0|1_1|1_2|2_0|2_1)|sBGRA|sRGB|sRGBA|sRGBx)\b/,alias:"constant"},"function-opencl-host":{pattern:/\bcl(?:BuildProgram|CloneKernel|CompileProgram|Create(?:Buffer|CommandQueue(?:WithProperties)?|Context|ContextFromType|Image|Image2D|Image3D|Kernel|KernelsInProgram|Pipe|ProgramWith(?:Binary|BuiltInKernels|IL|Source)|Sampler|SamplerWithProperties|SubBuffer|SubDevices|UserEvent)|Enqueue(?:(?:Barrier|Marker)(?:WithWaitList)?|Copy(?:Buffer(?:Rect|ToImage)?|Image(?:ToBuffer)?)|(?:Fill|Map)(?:Buffer|Image)|MigrateMemObjects|NDRangeKernel|NativeKernel|(?:Read|Write)(?:Buffer(?:Rect)?|Image)|SVM(?:Free|Map|MemFill|Memcpy|MigrateMem|Unmap)|Task|UnmapMemObject|WaitForEvents)|Finish|Flush|Get(?:CommandQueueInfo|ContextInfo|Device(?:AndHostTimer|IDs|Info)|Event(?:Profiling)?Info|ExtensionFunctionAddress(?:ForPlatform)?|HostTimer|ImageInfo|Kernel(?:ArgInfo|Info|SubGroupInfo|WorkGroupInfo)|MemObjectInfo|PipeInfo|Platform(?:IDs|Info)|Program(?:Build)?Info|SamplerInfo|SupportedImageFormats)|LinkProgram|(?:Release|Retain)(?:CommandQueue|Context|Device|Event|Kernel|MemObject|Program|Sampler)|SVM(?:Alloc|Free)|Set(?:CommandQueueProperty|DefaultDeviceCommandQueue|EventCallback|Kernel|Kernel(?:Arg(?:SVMPointer)?|ExecInfo)|MemObjectDestructorCallback|UserEventStatus)|Unload(?:Platform)?Compiler|WaitForEvents)\b/,alias:"function"}};
152e.languages.insertBefore("c","keyword",t),e.languages.cpp&&(t["type-opencl-host-cpp"]={pattern:/\b(?:Buffer|BufferGL|BufferRenderGL|CommandQueue|Context|Device|DeviceCommandQueue|EnqueueArgs|Event|Image|Image1D|Image1DArray|Image1DBuffer|Image2D|Image2DArray|Image2DGL|Image3D|Image3DGL|ImageFormat|ImageGL|Kernel|KernelFunctor|LocalSpaceArg|Memory|NDRange|Pipe|Platform|Program|SVMAllocator|SVMTraitAtomic|SVMTraitCoarse|SVMTraitFine|SVMTraitReadOnly|SVMTraitReadWrite|SVMTraitWriteOnly|Sampler|UserEvent)\b/,alias:"keyword"},e.languages.insertBefore("cpp","keyword",t))}(t)}return lL=t,t.displayName="opencl",t.aliases=[],lL}()),e.register(function(){if(dL)return uL;function e(e){e.languages.openqasm={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"[^"\r\n\t]*"|'[^'\r\n\t]*'/,greedy:!0},keyword:/\b(?:CX|OPENQASM|U|barrier|boxas|boxto|break|const|continue|ctrl|def|defcal|defcalgrammar|delay|else|end|for|gate|gphase|if|in|include|inv|kernel|lengthof|let|measure|pow|reset|return|rotary|stretchinf|while)\b|#pragma\b/,"class-name":/\b(?:angle|bit|bool|creg|fixed|float|int|length|qreg|qubit|stretch|uint)\b/,function:/\b(?:cos|exp|ln|popcount|rotl|rotr|sin|sqrt|tan)\b(?=\s*\()/,constant:/\b(?:euler|pi|tau)\b|Ï|ð|â/,number:{pattern:/(^|[^.\w$])(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?(?:dt|ns|us|µs|ms|s)?/i,lookbehind:!0},operator:/->|>>=?|<<=?|&&|\|\||\+\+|--|[!=<>&|~^+\-*/%]=?|@/,punctuation:/[(){}\[\];,:.]/},e.languages.qasm=e.languages.openqasm}return dL=1,uL=e,e.displayName="openqasm",e.aliases=["qasm"],uL}()),e.register(function(){if(fL)return pL;function e(e){e.languages.oz={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/"(?:[^"\\]|\\[\s\S])*"/,greedy:!0},atom:{pattern:/'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,alias:"builtin"},keyword:/\$|\[\]|\b(?:_|at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\b/,function:[/\b[a-z][A-Za-z\d]*(?=\()/,{pattern:/(\{)[A-Z][A-Za-z\d]*\b/,lookbehind:!0}],number:/\b(?:0[bx][\da-f]+|\d+(?:\.\d*)?(?:e~?\d+)?)\b|&(?:[^\\]|\\(?:\d{3}|.))/i,variable:/`(?:[^`\\]|\\.)+`/,"attr-name":/\b\w+(?=[ \t]*:(?![:=]))/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\=:?|!!?|[|#+\-*\/,~^@]|\b(?:andthen|div|mod|orelse)\b/,punctuation:/[\[\](){}.:;?]/}}return fL=1,pL=e,e.displayName="oz",e.aliases=[],pL}()),e.register(function(){if(hL)return mL;function e(e){var t;e.languages.parigp={comment:/\/\*[\s\S]*?\*\/|\\\\.*/,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"/,greedy:!0},keyword:(t=["breakpoint","break","dbg_down","dbg_err","dbg_up","dbg_x","forcomposite","fordiv","forell","forpart","forprime","forstep","forsubgroup","forvec","for","iferr","if","local","my","next","return","until","while"],t=t.map(function(e){return e.split("").join(" *")}).join("|"),RegExp("\\b(?:"+t+")\\b")),function:/\b\w(?:[\w ]*\w)?(?= *\()/,number:{pattern:/((?:\. *\. *)?)(?:\b\d(?: *\d)*(?: *(?!\. *\.)\.(?: *\d)*)?|\. *\d(?: *\d)*)(?: *e *(?:[+-] *)?\d(?: *\d)*)?/i,lookbehind:!0},operator:/\. *\.|[*\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\+(?: *[+=])?|-(?: *[-=>])?|<(?: *>|(?: *<)?(?: *=)?)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\(?: *\/)?(?: *=)?|&(?: *&)?|\| *\||['#~^]/,punctuation:/[\[\]{}().,:;|]/}}return hL=1,mL=e,e.displayName="parigp",e.aliases=[],mL}()),e.register(function(){if(bL)return gL;function e(e){!function(e){var t=e.languages.parser=e.languages.extend("markup",{keyword:{pattern:/(^|[^^])(?:\^(?:case|eval|for|if|switch|throw)\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\b)/,lookbehind:!0}
152,variable:{pattern:/(^|[^^])\B\$(?:\w+|(?=[.{]))(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{punctuation:/\.|:+/}},function:{pattern:/(^|[^^])\B[@^]\w+(?:(?:\.|::?)\w+)*(?:\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\.|:+/}},escape:{pattern:/\^(?:[$^;@()\[\]{}"':]|#[a-f\d]*)/i,alias:"builtin"},punctuation:/[\[\](){};]/});t=e.languages.insertBefore("parser","keyword",{"parser-comment":{pattern:/(\s)#.*/,lookbehind:!0,alias:"comment"},expression:{pattern:/(^|[^^])\((?:[^()]|\((?:[^()]|\((?:[^()])*\))*\))*\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])(["'])(?:(?!\2)[^^]|\^[\s\S])*\2/,lookbehind:!0},keyword:t.keyword,variable:t.variable,function:t.function,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[a-f\d]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?)\b/i,escape:t.escape,operator:/[~+*\/\\%]|!(?:\|\|?|=)?|&&?|\|\|?|==|<[<=]?|>[>=]?|-[fd]?|\b(?:def|eq|ge|gt|in|is|le|lt|ne)\b/,punctuation:t.punctuation}}}),e.languages.insertBefore("inside","punctuation",{expression:t.expression,keyword:t.keyword,variable:t.variable,function:t.function,escape:t.escape,"parser-punctuation":{pattern:t.punctuation,alias:"punctuation"}},t.tag.inside["attr-value"])}(e)}return bL=1,gL=e,e.displayName="parser",e.aliases=[],gL}()),e.register(function(){if(vL)return yL;function e(e){e.languages.pascal={directive:{pattern:/\{\$[\s\S]*?\}/,greedy:!0,alias:["marco","property"]},comment:{pattern:/\(\*[\s\S]*?\*\)|\{[\s\S]*?\}|\/\/.*/,greedy:!0},string:{pattern:/(?:'(?:''|[^'\r\n])*'(?!')|#[&$%]?[a-f\d]+)+|\^[a-z]/i,greedy:!0},asm:{pattern:/(\basm\b)[\s\S]+?(?=\bend\s*[;[])/i,lookbehind:!0,greedy:!0,inside:null},keyword:[{pattern:/(^|[^&])\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:dispose|exit|false|new|true)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\b/i,lookbehind:!0},{pattern:/(^|[^&])\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\b/i,lookbehind:!0}],number:[/(?:[&%]\d+|\$[a-f\d]+)/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?/i],operator:[/\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=]/,{pattern:/(^|[^&])\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\b/,lookbehind:!0}],punctuation:/\(\.|\.\)|[()\[\]:;,.]/},e.languages.pascal.asm.inside=e.languages.extend("pascal",{asm:void 0,keyword:void 0,operator:void 0}),e.languages.objectpascal=e.languages.pascal}return vL=1,yL=e,e.displayName="pascal",e.aliases=["objectpascal"],yL}()),e.register(function(){if(SL)return xL;function e(e){!function(e){var t=/\((?:[^()]|\((?:[^()]|\([^()]*\))*\))*\)/.source,n=/(?:\b\w+(?:<braces>)?|<braces>)/.source.replace(/<braces>/g,function(){return t}),r=e.languages.pascaligo={comment:/\(\*[\s\S]+?\*\)|\/\/.*/,string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1|\^[a-z]/i,greedy:!0},"class-name":[{pattern:RegExp(/(\btype\s+\w+\s+is\s+)<type>/.source.replace(/<type>/g,function(){return n}),"i"),lookbehind:!0,inside:null},{pattern:RegExp(/<type>(?=\s+is\b)/.source.replace(/<type>/g,function(){return n}),"i"),inside:null},{pattern:RegExp(/(:\s*)<type>/.source.replace(/<type>/g,function(){return n})),lookbehind:!0,inside:null}],keyword:{pattern:/(^|[^&])\b(?:begin|block|case|const|else|end|fail|for|from|function|if|is|nil|of|remove|return|ski
vendor: 4,109 bytes, line 152
152p|then|type|var|while|with)\b/i,lookbehind:!0},boolean:{pattern:/(^|[^&])\b(?:False|True)\b/i,lookbehind:!0},builtin:{pattern:/(^|[^&])\b(?:bool|int|list|map|nat|record|string|unit)\b/i,lookbehind:!0},function:/\b\w+(?=\s*\()/,number:[/%[01]+|&[0-7]+|\$[a-f\d]+/i,/\b\d+(?:\.\d+)?(?:e[+-]?\d+)?(?:mtz|n)?/i],operator:/->|=\/=|\.\.|\*\*|:=|<[<=>]?|>[>=]?|[+\-*\/]=?|[@^=|]|\b(?:and|mod|or)\b/,punctuation:/\(\.|\.\)|[()\[\]:;,.{}]/},a=["comment","keyword","builtin","operator","punctuation"].reduce(function(e,t){return e[t]=r[t],e},{});r["class-name"].forEach(function(e){e.inside=a})}(e)}return SL=1,xL=e,e.displayName="pascaligo",e.aliases=[],xL}()),e.register(function(){if(EL)return wL;function e(e){e.languages.pcaxis={string:/"[^"]*"/,keyword:{pattern:/((?:^|;)\s*)[-A-Z\d]+(?:\s*\[[-\w]+\])?(?:\s*\("[^"]*"(?:,\s*"[^"]*")*\))?(?=\s*=)/,lookbehind:!0,greedy:!0,inside:{keyword:/^[-A-Z\d]+/,language:{pattern:/^(\s*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/^\[|\]$/,property:/[-\w]+/}},"sub-key":{pattern:/^(\s*)\S[\s\S]*/,lookbehind:!0,inside:{parameter:{pattern:/"[^"]*"/,alias:"property"},punctuation:/^\(|\)$|,/}}}},operator:/=/,tlist:{pattern:/TLIST\s*\(\s*\w+(?:(?:\s*,\s*"[^"]*")+|\s*,\s*"[^"]*"-"[^"]*")?\s*\)/,greedy:!0,inside:{function:/^TLIST/,property:{pattern:/^(\s*\(\s*)\w+/,lookbehind:!0},string:/"[^"]*"/,punctuation:/[(),]/,operator:/-/}},punctuation:/[;,]/,number:{pattern:/(^|\s)\d+(?:\.\d+)?(?!\S)/,lookbehind:!0},boolean:/NO|YES/},e.languages.px=e.languages.pcaxis}return EL=1,wL=e,e.displayName="pcaxis",e.aliases=["px"],wL}()),e.register(function(){if(kL)return CL;function e(e){e.languages.peoplecode={comment:RegExp([/\/\*[\s\S]*?\*\//.source,/\bREM[^;]*;/.source,/<\*(?:[^<*]|\*(?!>)|<(?!\*)|<\*(?:(?!\*>)[\s\S])*\*>)*\*>/.source,/\/\+[\s\S]*?\+\//.source].join("|")),string:{pattern:/'(?:''|[^'\r\n])*'(?!')|"(?:""|[^"\r\n])*"(?!")/,greedy:!0},variable:/%\w+/,"function-definition":{pattern:/((?:^|[^\w-])(?:function|method)\s+)\w+/i,lookbehind:!0,alias:"function"},"class-name":{pattern:/((?:^|[^-\w])(?:as|catch|class|component|create|extends|global|implements|instance|local|of|property|returns)\s+)\w+(?::\w+)*/i,lookbehind:!0,inside:{punctuation:/:/}},keyword:/\b(?:abstract|alias|as|catch|class|component|constant|create|declare|else|end-(?:class|evaluate|for|function|get|if|method|set|try|while)|evaluate|extends|for|function|get|global|if|implements|import|instance|library|local|method|null|of|out|peopleCode|private|program|property|protected|readonly|ref|repeat|returns?|set|step|then|throw|to|try|until|value|when(?:-other)?|while)\b/i,"operator-keyword":{pattern:/\b(?:and|not|or)\b/i,alias:"operator"},function:/[_a-z]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/i,number:/\b\d+(?:\.\d+)?\b/,operator:/<>|[<>]=?|!=|\*\*|[-+*/|=@]/,punctuation:/[:.;,()[\]]/},e.languages.pcode=e.languages.peoplecode}return kL=1,CL=e,e.displayName="peoplecode",e.aliases=["pcode"],CL}()),e.register(function(){if(AL)return TL;function e(e){!function(e){var t=/(?:\((?:[^()\\]|\\[\s\S])*\)|\{(?:[^{}\\]|\\[\s\S])*\}|\[(?:[^[\]\\]|\\[\s\S])*\]|<(?:[^<>\\]|\\[\s\S])*>)/.source;e.languages.perl={comment:[{pattern:/(^\s*)=\w[\s\S]*?=cut.*/m,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\$])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:RegExp(/\b(?:q|qq|qw|qx)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"),greedy:!0},{pattern:/("|`)(?:(?!\1)[^\\]|\\[\s\S])*\1/,greedy:!0},{pattern:/'(?:[^'\\\r\n]|\\.)*'/,greedy:!0}],regex:[{pattern:RegExp(/\b(?:m|qr)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/([a-zA-Z0-9])(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,t].join("|")+")"+/[msixpodualngc]*/.source),greedy:!0},{pattern:RegExp(/(^|[^-])\b(?:s|tr|y)(?![a-zA-Z0-9])\s*/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\2)[^\\]|\\[\s\S])*\2(?:(?!\2)[^\\]|\\[\s\S])*\2/.source,/([a-zA-Z0-9])(?:(?!\3)[^\\]|\\[\s\S])*\3(?:(?!\3)[^\\]|\\[\s\S])*\3/.source,t+/\s*/.source+t].join("|")+")"+/[msixpodualngcer]*/.source),lookbehind:!0,greedy:!0}
152,{pattern:/\/(?:[^\/\\\r\n]|\\.)*\/[msixpodualngc]*(?=\s*(?:$|[\r\n,.;})&|\-+*~<>!?^]|(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|x|xor)\b))/,greedy:!0}],variable:[/[&*$@%]\{\^[A-Z]+\}/,/[&*$@%]\^[A-Z_]/,/[&*$@%]#?(?=\{)/,/[&*$@%]#?(?:(?:::)*'?(?!\d)[\w$]+(?![\w$]))+(?:::)*/,/[&*$@%]\d+/,/(?!%=)[$@%][!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\S*?>|\b_\b/,alias:"symbol"},"v-string":{pattern:/v\d+(?:\.\d+)*|\d+(?:\.\d+){2,}/,alias:"string"},function:{pattern:/(\bsub[ \t]+)\w+/,lookbehind:!0},keyword:/\b(?:any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|return|say|state|sub|switch|undef|unless|until|use|when|while)\b/,number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\b|\+[+=]?|-[-=>]?|\*\*?=?|\/\/?=?|=[=~>]?|~[~=]?|\|\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\.(?:=|\.\.?)?|[\\?]|\bx(?:=|\b)|\b(?:and|cmp|eq|ge|gt|le|lt|ne|not|or|xor)\b/,punctuation:/[{}[\];(),:]/}}(e)}return AL=1,TL=e,e.displayName="perl",e.aliases=[],TL}()),e.register(function(){if(NL)return IL;NL=1;var e=sj();function t(t){t.register(e),t.languages.insertBefore("php","variable",{this:{pattern:/\$this\b/,alias:"keyword"},global:/\$(?:GLOBALS|HTTP_RAW_POST_DATA|_(?:COOKIE|ENV|FILES|GET|POST|REQUEST|SERVER|SESSION)|argc|argv|http_response_header|php_errormsg)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/\b(?:parent|self|static)\b/,punctuation:/::|\\/}}})}return IL=t,t.displayName="phpExtras",t.aliases=[],IL}()),e.register(sj()),e.register(function(){if(RL)return _L;RL=1;var e=sj(),t=rj();function n(n){n.register(e),n.register(t),function(e){var t=/(?:\b[a-zA-Z]\w*|[|\\[\]])+/.source;e.languages.phpdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp("(@(?:global|param|property(?:-read|-write)?|var)\\s+(?:"+t+"\\s+)?)\\$\\w+"),lookbehind:!0}}),e.languages.insertBefore("phpdoc","keyword",{"class-name":[{pattern:RegExp("(@(?:global|package|param|property(?:-read|-write)?|return|subpackage|throws|var)\\s+)"+t),lookbehind:!0,inside:{keyword:/\b(?:array|bool|boolean|callback|double|false|float|int|integer|mixed|null|object|resource|self|string|true|void)\b/,punctuation:/[|\\[\]()]/}}]}),e.languages.javadoclike.addSupport("php",e.languages.phpdoc)}(n)}return _L=n,n.displayName="phpdoc",n.aliases=[],_L}()),e.register(function(){if(LL)return OL;LL=1;var e=GM();function t(t){t.register(e),t.languages.plsql=t.languages.extend("sql",{comment:{pattern:/\/\*[\s\S]*?\*\/|--.*/,greedy:!0},keyword:/\b(?:A|ACCESSIBLE|ADD|AGENT|AGGREGATE|ALL|ALTER|AND|ANY|ARRAY|AS|ASC|AT|ATTRIBUTE|AUTHID|AVG|BEGIN|BETWEEN|BFILE_BASE|BINARY|BLOB_BASE|BLOCK|BODY|BOTH|BOUND|BULK|BY|BYTE|C|CALL|CALLING|CASCADE|CASE|CHAR|CHARACTER|CHARSET|CHARSETFORM|CHARSETID|CHAR_BASE|CHECK|CLOB_BASE|CLONE|CLOSE|CLUSTER|CLUSTERS|COLAUTH|COLLECT|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPILED|COMPRESS|CONNECT|CONSTANT|CONSTRUCTOR|CONTEXT|CONTINUE|CONVERT|COUNT|CRASH|CREATE|CREDENTIAL|CURRENT|CURSOR|CUSTOMDATUM|DANGLING|DATA|DATE|DATE_BASE|DAY|DECLARE|DEFAULT|DEFINE|DELETE|DESC|DETERMINISTIC|DIRECTORY|DISTINCT|DOUBLE|DROP|DURATION|ELEMENT|ELSE|ELSIF|EMPTY|END|ESCAPE|EXCEPT|EXCEPTION|EXCEPTIONS|EXCLUSIVE|EXECUTE|EXISTS|EXIT|EXTERNAL|FETCH|FINAL|FIRST|FIXED|FLOAT|FOR|FORALL|FORCE|FROM|FUNCTION|GENERAL|GOTO|GRANT|GROUP|HASH|HAVING|HEAP|HIDDEN|HOUR|IDENTIFIED|IF|IMMEDIATE|IMMUTABLE|IN|INCLUDING|INDEX|INDEXES|INDICATOR|INDICES|INFINITE|INSERT|INSTANTIABLE|INT|INTERFACE|INTERSECT|INTERVAL|INTO|INVALIDATE|IS|ISOLATION|JAVA|LANGUAGE|LARGE|LEADING|LENGTH|LEVEL|LIBRARY|LIKE|LIKE2|LIKE4|LIKEC|LIMIT|LIMITED|LOCAL|LOCK|LONG|LOOP|MAP|MAX|MAXLEN|MEMBER|MERGE|MIN|MINUS|MINUTE|MOD|MODE|MODIFY|MONTH|MULTISET|MUTABLE|NAME|NAN|NATIONAL|NATIVE|NCHAR|NEW|NOCOMPRESS|NOCOPY|NOT|NOWAIT|NULL|NUMBER_BASE|OBJECT|OCICOLL|OCIDATE|OCIDATETIME|OCIDURATION|OCIINTERVAL|OCILOBLOCATOR|OCINUMBER|OCIRAW|OCIREF|OCIREFCURSOR|OCIROWID|OCISTRING|OCITYPE|OF|OLD|ON|ONLY|OPAQUE|OPEN|OPERATOR|OPTION|OR|ORACLE|ORADATA|ORDER|ORGANIZATION|ORLANY|ORLVARY|OTHERS|O
152UT|OVERLAPS|OVERRIDING|PACKAGE|PARALLEL_ENABLE|PARAMETER|PARAMETERS|PARENT|PARTITION|PASCAL|PERSISTABLE|PIPE|PIPELINED|PLUGGABLE|POLYMORPHIC|PRAGMA|PRECISION|PRIOR|PRIVATE|PROCEDURE|PUBLIC|RAISE|RANGE|RAW|READ|RECORD|REF|REFERENCE|RELIES_ON|REM|REMAINDER|RENAME|RESOURCE|RESULT|RESULT_CACHE|RETURN|RETURNING|REVERSE|REVOKE|ROLLBACK|ROW|SAMPLE|SAVE|SAVEPOINT|SB1|SB2|SB4|SECOND|SEGMENT|SELECT|SELF|SEPARATE|SEQUENCE|SERIALIZABLE|SET|SHARE|SHORT|SIZE|SIZE_T|SOME|SPARSE|SQL|SQLCODE|SQLDATA|SQLNAME|SQLSTATE|STANDARD|START|STATIC|STDDEV|STORED|STRING|STRUCT|STYLE|SUBMULTISET|SUBPARTITION|SUBSTITUTABLE|SUBTYPE|SUM|SYNONYM|TABAUTH|TABLE|TDO|THE|THEN|TIME|TIMESTAMP|TIMEZONE_ABBR|TIMEZONE_HOUR|TIMEZONE_MINUTE|TIMEZONE_REGION|TO|TRAILING|TRANSACTION|TRANSACTIONAL|TRUSTED|TYPE|UB1|UB2|UB4|UNDER|UNION|UNIQUE|UNPLUG|UNSIGNED|UNTRUSTED|UPDATE|USE|USING|VALIST|VALUE|VALUES|VARIABLE|VARIANCE|VARRAY|VARYING|VIEW|VIEWS|VOID|WHEN|WHERE|WHILE|WITH|WORK|WRAPPED|WRITE|YEAR|ZONE)\b/i,operator:/:=?|=>|[<>^~!]=|\.\.|\|\||\*\*|[-+*/%<>=@]/}),t.languages.insertBefore("plsql","operator",{label:{pattern:/<<\s*\w+\s*>>/,alias:"symbol"}})}return OL=t,t.displayName="plsql",t.aliases=[],OL}()),e.register(function(){if(PL)return DL;function e(e){e.languages.powerquery={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},"quoted-identifier":{pattern:/#"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},string:{pattern:/(?:#!)?"(?:[^"\r\n]|"")*"(?!")/,greedy:!0},constant:[/\bDay\.(?:Friday|Monday|Saturday|Sunday|Thursday|Tuesday|Wednesday)\b/,/\bTraceLevel\.(?:Critical|Error|Information|Verbose|Warning)\b/,/\bOccurrence\.(?:All|First|Last)\b/,/\bOrder\.(?:Ascending|Descending)\b/,/\bRoundingMode\.(?:AwayFromZero|Down|ToEven|TowardZero|Up)\b/,/\bMissingField\.(?:Error|Ignore|UseNull)\b/,/\bQuoteStyle\.(?:Csv|None)\b/,/\bJoinKind\.(?:FullOuter|Inner|LeftAnti|LeftOuter|RightAnti|RightOuter)\b/,/\bGroupKind\.(?:Global|Local)\b/,/\bExtraValues\.(?:Error|Ignore|List)\b/,/\bJoinAlgorithm\.(?:Dynamic|LeftHash|LeftIndex|PairwiseHash|RightHash|RightIndex|SortMerge)\b/,/\bJoinSide\.(?:Left|Right)\b/,/\bPrecision\.(?:Decimal|Double)\b/,/\bRelativePosition\.From(?:End|Start)\b/,/\bTextEncoding\.(?:Ascii|BigEndianUnicode|Unicode|Utf16|Utf8|Windows)\b/,/\b(?:Any|Binary|Date|DateTime|DateTimeZone|Duration|Function|Int16|Int32|Int64|Int8|List|Logical|None|Number|Record|Table|Text|Time)\.Type\b/,/\bnull\b/],boolean:/\b(?:false|true)\b/,keyword:/\b(?:and|as|each|else|error|if|in|is|let|meta|not|nullable|optional|or|otherwise|section|shared|then|try|type)\b|#(?:binary|date|datetime|datetimezone|duration|infinity|nan|sections|shared|table|time)\b/,function:{pattern:/(^|[^#\w.])[a-z_][\w.]*(?=\s*\()/i,lookbehind:!0},"data-type":{pattern:/\b(?:any|anynonnull|binary|date|datetime|datetimezone|duration|function|list|logical|none|number|record|table|text|time)\b/,alias:"class-name"},number:{pattern:/\b0x[\da-f]+\b|(?:[+-]?(?:\b\d+\.)?\b\d+|[+-]\.\d+|(^|[^.])\B\.\d+)(?:e[+-]?\d+)?\b/i,lookbehind:!0},operator:/[-+*\/&?@^]|<(?:=>?|>)?|>=?|=>?|\.\.\.?/,punctuation:/[,;\[\](){}]/},e.languages.pq=e.languages.powerquery,e.languages.mscript=e.languages.powerquery}return PL=1,DL=e,e.displayName="powerquery",e.aliases=[],DL}()),e.register(function(){if(jL)return ML;function e(e){!function(e){var t=e.languages.powershell={comment:[{pattern:/(^|[^`])<#[\s\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/"(?:`[\s\S]|[^`"])*"/,greedy:!0,inside:null},{pattern:/'(?:[^']|'')*'/,greedy:!0}],namespace:/\[[a-z](?:\[(?:\[[^\]]*\]|[^\[\]])*\]|[^\[\]])*\]/i,boolean:/\$(?:false|true)\b/i,variable:/\$\w+\b/,function:[/\b(?:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|ForEach|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Sort|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Tee|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Where|Write)-[a-z]+\b/i,/\b(?:ac|cat|chdir|clc|cli|clp|clv|compare|c
152opy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\b/i],keyword:/\b(?:Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\b/i,operator:{pattern:/(^|\W)(?:!|-(?:b?(?:and|x?or)|as|(?:Not)?(?:Contains|In|Like|Match)|eq|ge|gt|is(?:Not)?|Join|le|lt|ne|not|Replace|sh[lr])\b|-[-=]?|\+[+=]?|[*\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\];(),.]/};t.string[0].inside={function:{pattern:/(^|[^`])\$\((?:\$\([^\r\n()]*\)|(?!\$\()[^\r\n)])*\)/,lookbehind:!0,inside:t},boolean:t.boolean,variable:t.variable}}(e)}return jL=1,ML=e,e.displayName="powershell",e.aliases=[],ML}()),e.register(function(){if(zL)return FL;function e(e){e.languages.processing=e.languages.extend("clike",{keyword:/\b(?:break|case|catch|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\b/,function:/\b\w+(?=\s*\()/,operator:/<[<=]?|>[>=]?|&&?|\|\|?|[%?]|[!=+\-*\/]=?/}),e.languages.insertBefore("processing","number",{constant:/\b(?!XML\b)[A-Z][A-Z\d_]+\b/,type:{pattern:/\b(?:boolean|byte|char|color|double|float|int|[A-Z]\w*)\b/,alias:"class-name"}})}return zL=1,FL=e,e.displayName="processing",e.aliases=[],FL}()),e.register(function(){if(BL)return $L;function e(e){e.languages.prolog={comment:{pattern:/\/\*[\s\S]*?\*\/|%.*/,greedy:!0},string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1(?!\1)/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,function:/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+(?:\.\d*)?/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}}return BL=1,$L=e,e.displayName="prolog",e.aliases=[],$L}()),e.register(function(){if(HL)return UL;function e(e){!function(e){var t=["on","ignoring","group_right","group_left","by","without"],n=["sum","min","max","avg","group","stddev","stdvar","count","count_values","bottomk","topk","quantile"].concat(t,["offset"]);e.languages.promql={comment:{pattern:/(^[ \t]*)#.*/m,lookbehind:!0},"vector-match":{pattern:new RegExp("((?:"+t.join("|")+")\\s*)\\([^)]*\\)"),lookbehind:!0,inside:{"label-key":{pattern:/\b[^,]+\b/,alias:"attr-name"},punctuation:/[(),]/}},"context-labels":{pattern:/\{[^{}]*\}/,inside:{"label-key":{pattern:/\b[a-z_]\w*(?=\s*(?:=|![=~]))/,alias:"attr-name"},"label-value":{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0,alias:"attr-value"},punctuation:/\{|\}|=~?|![=~]|,/}},"context-range":[{pattern:/\[[\w\s:]+\]/,inside:{punctuation:/\[|\]|:/,"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}},{pattern:/(\boffset\s+)\w+/,lookbehind:!0,inside:{"range-duration":{pattern:/\b(?:\d+(?:[smhdwy]|ms))+\b/i,alias:"number"}}}],keyword:new RegExp("\\b(?:"+n.join("|")+")\\b","i"),function:/\b[a-z_]\w*(?=\s*\()/i,number:/[-+]?(?:(?:\b\d+(?:\.\d+)?|\B\.\d+)(?:e[-+]?\d+)?\b|\b(?:0x[0-9a-f]+|nan|inf)\b)/i,operator:/[\^*/%+-]|==|!=|<=|<|>=|>|\b(?:and|or|unless)\b/i,punctuation:/[{};()`,.[\]]/}}(e)}return HL=1,UL=e,e.displayName="promql",e.aliases=[],UL}()),e.register(function(){if(WL)return VL;function e(e){e.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?: *[=:] *(?! )| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+(?= *[=:]| )/m,punctuation:/[=:]/}}return WL=1,VL=e,e.displayName="properties",e.aliases=[],VL}()),e.register(function(){if(qL)return GL;function e(e){!function(e){var t=/\b(?:bool|bytes|double|s?fixed(?:32|64)|float|[su]?int(?:32|64)|string)\b/;e.languages.protobuf=e.languages.extend("clike",{"class-name":[{pattern:/(\b(?:enum|extend|message|service)\s+)[A-Za-z_]\w*(?=\s*\{)/,lookbehind:!0},{pattern:/(\b(?:rpc\s+\w+|returns)\s*\(\s*(?:stream\s+)?)\.?[A-Za-z_]\w*(?:\.[A-Za-z_]\w*)*(?=\s*\))/,lookbehind:!0}],keyword:/\b(?:enum|extend|extensions|import|message|oneof|option|optional|package|public|repeated|required|reserved|returns|rpc(?=\s+\w)|service|stream|syntax|to)\b(?!\s*=\s*\d)/,function:/\b[a-z_]\w*(?=\s*\()/i}),e.languages.insertBefore("protobuf","operator",{map:{pattern:/\bmap<\s*[\w.]+\s*,\s*[\w.]+\s*>
152(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/[<>.,]/,builtin:t}},builtin:t,"positional-class-name":{pattern:/(?:\b|\B\.)[a-z_]\w*(?:\.[a-z_]\w*)*(?=\s+[a-z_]\w*\s*[=;])/i,alias:"class-name",inside:{punctuation:/\./}},annotation:{pattern:/(\[\s*)[a-z_]\w*(?=\s*=)/i,lookbehind:!0}})}(e)}return qL=1,GL=e,e.displayName="protobuf",e.aliases=[],GL}()),e.register(function(){if(XL)return YL;function e(e){e.languages.psl={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0,inside:{symbol:/\\[ntrbA-Z"\\]/}},"heredoc-string":{pattern:/<<<([a-zA-Z_]\w*)[\r\n](?:.*[\r\n])*?\1\b/,alias:"string",greedy:!0},keyword:/\b(?:__multi|__single|case|default|do|else|elsif|exit|export|for|foreach|function|if|last|line|local|next|requires|return|switch|until|while|word)\b/,constant:/\b(?:ALARM|CHART_ADD_GRAPH|CHART_DELETE_GRAPH|CHART_DESTROY|CHART_LOAD|CHART_PRINT|EOF|OFFLINE|OK|PSL_PROF_LOG|R_CHECK_HORIZ|R_CHECK_VERT|R_CLICKER|R_COLUMN|R_FRAME|R_ICON|R_LABEL|R_LABEL_CENTER|R_LIST_MULTIPLE|R_LIST_MULTIPLE_ND|R_LIST_SINGLE|R_LIST_SINGLE_ND|R_MENU|R_POPUP|R_POPUP_SCROLLED|R_RADIO_HORIZ|R_RADIO_VERT|R_ROW|R_SCALE_HORIZ|R_SCALE_VERT|R_SEP_HORIZ|R_SEP_VERT|R_SPINNER|R_TEXT_FIELD|R_TEXT_FIELD_LABEL|R_TOGGLE|TRIM_LEADING|TRIM_LEADING_AND_TRAILING|TRIM_REDUNDANT|TRIM_TRAILING|VOID|WARN)\b/,boolean:/\b(?:FALSE|False|NO|No|TRUE|True|YES|Yes|false|no|true|yes)\b/,variable:/\b(?:PslDebug|errno|exit_status)\b/,builtin:{pattern:/\b(?:PslExecute|PslFunctionCall|PslFunctionExists|PslSetOptions|_snmp_debug|acos|add_diary|annotate|annotate_get|ascii_to_ebcdic|asctime|asin|atan|atexit|batch_set|blackout|cat|ceil|chan_exists|change_state|close|code_cvt|cond_signal|cond_wait|console_type|convert_base|convert_date|convert_locale_date|cos|cosh|create|date|dcget_text|destroy|destroy_lock|dget_text|difference|dump_hist|ebcdic_to_ascii|encrypt|event_archive|event_catalog_get|event_check|event_query|event_range_manage|event_range_query|event_report|event_schedule|event_trigger|event_trigger2|execute|exists|exp|fabs|file|floor|fmod|fopen|fseek|ftell|full_discovery|get|get_chan_info|get_ranges|get_text|get_vars|getenv|gethostinfo|getpid|getpname|grep|history|history_get_retention|in_transition|index|int|internal|intersection|is_var|isnumber|join|kill|length|lines|lock|lock_info|log|log10|loge|matchline|msg_check|msg_get_format|msg_get_severity|msg_printf|msg_sprintf|ntharg|nthargf|nthline|nthlinef|num_bytes|num_consoles|pconfig|popen|poplines|pow|print|printf|proc_exists|process|random|read|readln|refresh_parameters|remote_check|remote_close|remote_event_query|remote_event_trigger|remote_file_send|remote_open|remove|replace|rindex|sec_check_priv|sec_store_get|sec_store_set|set|set_alarm_ranges|set_locale|share|sin|sinh|sleep|snmp_agent_config|snmp_agent_start|snmp_agent_stop|snmp_close|snmp_config|snmp_get|snmp_get_next|snmp_h_get|snmp_h_get_next|snmp_h_set|snmp_open|snmp_set|snmp_trap_ignore|snmp_trap_listen|snmp_trap_raise_std_trap|snmp_trap_receive|snmp_trap_register_im|snmp_trap_send|snmp_walk|sopen|sort|splitline|sprintf|sqrt|srandom|str_repeat|strcasecmp|subset|substr|system|tail|tan|tanh|text_domain|time|tmpnam|tolower|toupper|trace_psl_process|trim|union|unique|unlock|unset|va_arg|va_start|write)\b/,alias:"builtin-function"},"foreach-variable":{pattern:/(\bforeach\s+(?:(?:\w+\b|"(?:\\.|[^\\"])*")\s+){0,2})[_a-zA-Z]\w*(?=\s*\()/,lookbehind:!0,greedy:!0},function:/\b[_a-z]\w*\b(?=\s*\()/i,number:/\b(?:0x[0-9a-f]+|\d+(?:\.\d+)?)\b/i,operator:/--|\+\+|&&=?|\|\|=?|<<=?|>>=?|[=!]~|[-+*/%&|^!=<>]=?|\.|[:?]/,punctuation:/[(){}\[\];,]/}}return XL=1,YL=e,e.displayName="psl",e.aliases=[],YL}()),e.register(function(){if(ZL)return KL;function e(e){!function(e){e.languages.pug={comment:{pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ].+)*/m,lookbehind:!0},"multiline-script":{pattern:/(^([\t ]*)script\b.*\.[\t ]*)(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:e.languages.javascript},filter:{pattern:/(^([\t ]*)):.+(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:/\S[\s\S]*/}},"multiline-plain-text":{pattern:/(^([\t ]*)[\w\-#.]+\.[\t ]*)(?:(?
152:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\t ]*)<.+/m,lookbehind:!0,inside:e.languages.markup},doctype:{pattern:/((?:^|\n)[\t ]*)doctype(?: .+)?/,lookbehind:!0},"flow-control":{pattern:/(^[\t ]*)(?:case|default|each|else|if|unless|when|while)\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\b/,inside:{keyword:/\b(?:each|in)\b/,punctuation:/,/}},branch:{pattern:/^(?:case|default|else|if|unless|when|while)\b/,alias:"keyword"},rest:e.languages.javascript}},keyword:{pattern:/(^[\t ]*)(?:append|block|extends|include|prepend)\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,function:/\w+(?=\s*\(|\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\t ]*)\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\+\w+/,alias:"function"},rest:e.languages.javascript}}],script:{pattern:/(^[\t ]*script(?:(?:&[^(]+)?\([^)]+\))*[\t ]).+/m,lookbehind:!0,inside:e.languages.javascript},"plain-text":{pattern:/(^[\t ]*(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?[\t ]).+/m,lookbehind:!0},tag:{pattern:/(^[\t ]*)(?!-)[\w\-#.]*[\w\-](?:(?:&[^(]+)?\([^)]+\))*\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\([^)]+\)/,inside:e.languages.javascript},{pattern:/\([^)]+\)/,inside:{"attr-value":{pattern:/(=\s*(?!\s))(?:\{[^}]*\}|[^,)\r\n]+)/,lookbehind:!0,inside:e.languages.javascript},"attr-name":/[\w-]+(?=\s*!?=|\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/,"attr-id":/#[\w\-]+/,"attr-class":/\.[\w\-]+/}},code:[{pattern:/(^[\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:e.languages.javascript}],punctuation:/[.\-!=|]+/};for(var t=/(^([\t ]*)):<filter_name>(?:(?:\r?\n|\r(?!\n))(?:\2[\t ].+|\s*?(?=\r?\n|\r)))+/.source,n=[{filter:"atpl",language:"twig"},{filter:"coffee",language:"coffeescript"},"ejs","handlebars","less","livescript","markdown",{filter:"sass",language:"scss"},"stylus"],r={},a=0,o=n.length;a<o;a++){var i=n[a];i="string"==typeof i?{filter:i,language:i}:i,e.languages[i.language]&&(r["filter-"+i.filter]={pattern:RegExp(t.replace("<filter_name>",function(){return i.filter}),"m"),lookbehind:!0,inside:{"filter-name":{pattern:/^:[\w-]+/,alias:"variable"},text:{pattern:/\S[\s\S]*/,alias:[i.language,"language-"+i.language],inside:e.languages[i.language]}}})}e.languages.insertBefore("pug","filter",r)}(e)}return ZL=1,KL=e,e.displayName="pug",e.aliases=[],KL}()),e.register(function(){if(QL)return JL;function e(e){!function(e){e.languages.puppet={heredoc:[{pattern:/(@\("([^"\r\n\/):]+)"(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/(@\(([^"\r\n\/):]+)(?:\/[nrts$uL]*)?\).*(?:\r?\n|\r))(?:.*(?:\r?\n|\r(?!\n)))*?[ \t]*(?:\|[ \t]*)?(?:-[ \t]*)?\2/,lookbehind:!0,greedy:!0,alias:"string",inside:{punctuation:/(?=\S).*\S(?= *$)/}},{pattern:/@\("?(?:[^"\r\n\/):]+)"?(?:\/[nrts$uL]*)?\)/,alias:"string",inside:{punctuation:{pattern:/(\().+?(?=\))/,lookbehind:!0}}}],"multiline-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,greedy:!0,alias:"comment"},regex:{pattern:/((?:\bnode\s+|[~=\(\[\{,]\s*|[=+]>\s*|^\s*))\/(?:[^\/\\]|\\[\s\S])+\/(?:[imx]+\b|\B)/,lookbehind:!0,greedy:!0,inside:{"extended-regex":{pattern:/^\/(?:[^\/\\]|\\[\s\S])+\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},string:{pattern:/(["'])(?:\$\{(?:[^'"}]|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}|\$(?!\{)|(?!\1)[^\\$]|\\[\s\S])*\1/,greedy:!0,inside:{"double-quoted":{pattern:/^"[\s\S]*"$/,inside:{}}}},variable:{pattern:/\$(?:::)?\w+(?:::\w+)*/,inside:{punctuation:/::/}},"attr-name":/(?:\b\w+|\*)(?=\s*=>)/,function:[{pattern:/(\.)(?!\d)\w+/,lookbehind:!0},/\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\b|\b(?!\d)\w+(?=\()/],number:/\b(?:0x[a-f\d]+|\d+(?:\.\d+)?(?:e-?\d+)?)\b/i,boolean:/\b(?:false|true)\b/,keyword:/\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\b/,datatype:{pattern:/\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\b/,alias:"symbol"},operator:/=[=~>
152]?|![=~]?|<(?:<\|?|[=~|-])?|>[>=]?|->?|~>|\|>?>?|[*\/%+?]|\b(?:and|in|or)\b/,punctuation:/[\[\]{}().,;]|:+/};var t=[{pattern:/(^|[^\\])\$\{(?:[^'"{}]|\{[^}]*\}|(["'])(?:(?!\2)[^\\]|\\[\s\S])*\2)+\}/,lookbehind:!0,inside:{"short-variable":{pattern:/(^\$\{)(?!\w+\()(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}},delimiter:{pattern:/^\$/,alias:"variable"},rest:e.languages.puppet}},{pattern:/(^|[^\\])\$(?:::)?\w+(?:::\w+)*/,lookbehind:!0,alias:"variable",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=t,e.languages.puppet.string.inside["double-quoted"].inside.interpolation=t}(e)}return QL=1,JL=e,e.displayName="puppet",e.aliases=[],JL}()),e.register(function(){if(tD)return eD;function e(e){!function(e){e.languages.pure={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0},/#!.+/],"inline-lang":{pattern:/%<[\s\S]+?%>/,greedy:!0,inside:{lang:{pattern:/(^%< *)-\*-.+?-\*-/,lookbehind:!0,alias:"comment"},delimiter:{pattern:/^%<.*|%>$/,alias:"punctuation"}}},string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},number:{pattern:/((?:\.\.)?)(?:\b(?:inf|nan)\b|\b0x[\da-f]+|(?:\b(?:0b)?\d+(?:\.\d+)?|\B\.\d+)(?:e[+-]?\d+)?L?)/i,lookbehind:!0},keyword:/\b(?:NULL|ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\b/,function:/\b(?:abs|add_(?:addr|constdef|(?:fundef|interface|macdef|typedef)(?:_at)?|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_c?string(?:_pointer)?|byte_(?:matrix|pointer)|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|sentry|short|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\b/,special:{pattern:/\b__[a-z]+__\b/i,alias:"builtin"},operator:/(?:[!"#$%&'*+,\-.\/:<=>?@\\^`|~\u00a1-\u00bf\u00d7-\u00f7\u20d0-\u2bff]|\b_+\b)+|\b(?:and|div|mod|not|or)\b/,punctuation:/[(){}\[\];,|]/};var t=/%< *-\*- *<lang>\d* *-\*-[\s\S]+?%>/.source;["c",{lang:"c++",alias:"cpp"},"fortran"].forEach(function(n){var r=n;if("string"!=typeof n&&(r=n.alias,n=n.lang),e.languages[r]){var a={};a["inline-lang-"+r]={pattern:RegExp(t.replace("<lang>",n.replace(/([.+*?\/\\(){}\[\]])/g,"\\$1")),"i"),inside:e.util.clone(e.languages.pure["inline-lang"].inside)},a["inline-lang-"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore("pure","inline-lang",a)}}),e.languages.c&&(e.languages.pure["inline-lang"].inside.rest=e.util.clone(e.languages.c))}(e)}return tD=1,eD=e,e.displayName="pure",e.aliases=[],eD}
vendor: 6,778 bytes, line 152
152()),e.register(function(){if(rD)return nD;function e(e){e.languages.purebasic=e.languages.extend("clike",{comment:/;.*/,keyword:/\b(?:align|and|as|break|calldebugger|case|compilercase|compilerdefault|compilerelse|compilerelseif|compilerendif|compilerendselect|compilererror|compilerif|compilerselect|continue|data|datasection|debug|debuglevel|declare|declarec|declarecdll|declaredll|declaremodule|default|define|dim|disableasm|disabledebugger|disableexplicit|else|elseif|enableasm|enabledebugger|enableexplicit|end|enddatasection|enddeclaremodule|endenumeration|endif|endimport|endinterface|endmacro|endmodule|endprocedure|endselect|endstructure|endstructureunion|endwith|enumeration|extends|fakereturn|for|foreach|forever|global|gosub|goto|if|import|importc|includebinary|includefile|includepath|interface|macro|module|newlist|newmap|next|not|or|procedure|procedurec|procedurecdll|proceduredll|procedurereturn|protected|prototype|prototypec|read|redim|repeat|restore|return|runtime|select|shared|static|step|structure|structureunion|swap|threaded|to|until|wend|while|with|xincludefile|xor)\b/i,function:/\b\w+(?:\.\w+)?\s*(?=\()/,number:/(?:\$[\da-f]+|\b-?(?:\d+(?:\.\d+)?|\.\d+)(?:e[+-]?\d+)?)\b/i,operator:/(?:@\*?|\?|\*)\w+|-[>-]?|\+\+?|!=?|<<?=?|>>?=?|==?|&&?|\|?\||[~^%?*/@]/}),e.languages.insertBefore("purebasic","keyword",{tag:/#\w+\$?/,asm:{pattern:/(^[\t ]*)!.*/m,lookbehind:!0,alias:"tag",inside:{comment:/;.*/,string:{pattern:/(["'`])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"label-reference-anonymous":{pattern:/(!\s*j[a-z]+\s+)@[fb]/i,lookbehind:!0,alias:"fasm-label"},"label-reference-addressed":{pattern:/(!\s*j[a-z]+\s+)[A-Z._?$@][\w.?$@~#]*/i,lookbehind:!0,alias:"fasm-label"},keyword:[/\b(?:extern|global)\b[^;\r\n]*/i,/\b(?:CPU|DEFAULT|FLOAT)\b.*/],function:{pattern:/^([\t ]*!\s*)[\da-z]+(?=\s|$)/im,lookbehind:!0},"function-inline":{pattern:/(:\s*)[\da-z]+(?=\s)/i,lookbehind:!0,alias:"function"},label:{pattern:/^([\t ]*!\s*)[A-Za-z._?$@][\w.?$@~#]*(?=:)/m,lookbehind:!0,alias:"fasm-label"},register:/\b(?:st\d|[xyz]mm\d\d?|[cdt]r\d|r\d\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(?:bp|di|si|sp)|[cdefgs]s|mm\d+)\b/i,number:/(?:\b|-|(?=\$))(?:0[hx](?:[\da-f]*\.)?[\da-f]+(?:p[+-]?\d+)?|\d[\da-f]+[hx]|\$\d[\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\d+|(?:\d+(?:\.\d+)?|\.\d+)(?:\.?e[+-]?\d+)?[dt]?)\b/i,operator:/[\[\]*+\-/%<>=&|$!,.:]/}}}),delete e.languages.purebasic["class-name"],delete e.languages.purebasic.boolean,e.languages.pbfasm=e.languages.purebasic}return rD=1,nD=e,e.displayName="purebasic",e.aliases=[],nD}()),e.register(function(){if(oD)return aD;oD=1;var e=tj();function t(t){t.register(e),t.languages.purescript=t.languages.extend("haskell",{keyword:/\b(?:ado|case|class|data|derive|do|else|forall|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\b|â/,"import-statement":{pattern:/(^[\t ]*)import\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*(?:\s+as\s+[A-Z][\w']*(?:\.[A-Z][\w']*)*)?(?:\s+hiding\b)?/m,lookbehind:!0,inside:{keyword:/\b(?:as|hiding|import)\b/,punctuation:/\./}},builtin:/\b(?:absurd|add|ap|append|apply|between|bind|bottom|clamp|compare|comparing|compose|conj|const|degree|discard|disj|div|eq|flap|flip|gcd|identity|ifM|join|lcm|liftA1|liftM1|map|max|mempty|min|mod|mul|negate|not|notEq|one|otherwise|recip|show|sub|top|unit|unless|unlessM|void|when|whenM|zero)\b/,operator:[t.languages.haskell.operator[0],t.languages.haskell.operator[2],/[\xa2-\xa6\xa8\xa9\xac\xae-\xb1\xb4\xb8\xd7\xf7\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u03f6\u0482\u058d-\u058f\u0606-\u0608\u060b\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u07fe\u07ff\u09f2\u09f3\u09fa\u09fb\u0af1\u0b70\u0bf3-\u0bfa\u0c7f\u0d4f\u0d79\u0e3f\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1390-\u1399\u166d\u17db\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u2044\u2052\u207a-\u207c\u208a-\u208c\u20a0-\u20bf\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u2140-\u2144\u214a-\u214d\u214f\u218a\u218b\u2190-\u2307\u230c-\u2328\u232b-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u2767\u2794-\u27c4\u27c7-\u27e5\u27f0-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2b73\u2b76-\u2b95\u2b97-\u2bff\u2ce5-\u2cea\u2e50\u2e51\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u309b\u309c\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua700-\ua716\ua720\ua721\ua789\ua78a\ua828-\ua82b\ua836-\ua839\uaa77-\uaa79\uab5b\uab6a\uab6b\ufb29\ufbb2-\ufbc1\ufdfc\ufdfd\ufe62\ufe64-\ufe66\ufe69\uff04\uff0b\uff1c-\uff1e\uff3e\uff40\uff5c\uff5e\uffe0-\uffe6\uffe8-\uffee\ufffc\ufffd]/]}),t.languages.purs=t.languages.purescript}return aD=t,t.displayName="purescript",t.aliases=["purs"],aD}()),e.register(function(){if(sD)return iD;function e(e){e.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01
152])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.python["string-interpolation"].inside.interpolation.inside.rest=e.languages.python,e.languages.py=e.languages.python}return sD=1,iD=e,e.displayName="python",e.aliases=["py"],iD}()),e.register(function(){if(cD)return lD;function e(e){e.languages.q={string:/"(?:\\.|[^"\\\r\n])*"/,comment:[{pattern:/([\t )\]}])\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|\r?\n|\r)\/[\t ]*(?:(?:\r?\n|\r)(?:.*(?:\r?\n|\r(?!\n)))*?(?:\\(?=[\t ]*(?:\r?\n|\r))|$)|\S.*)/,lookbehind:!0,greedy:!0},{pattern:/^\\[\t ]*(?:\r?\n|\r)[\s\S]+/m,greedy:!0},{pattern:/^#!.+/m,greedy:!0}],symbol:/`(?::\S+|[\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\d{4}\.\d\d(?:m|\.\d\d(?:T(?:\d\d(?::\d\d(?::\d\d(?:[.:]\d\d\d)?)?)?)?)?[dz]?)|\d\d:\d\d(?::\d\d(?:[.:]\d\d\d)?)?[uvt]?/,alias:"number"},number:/\b(?![01]:)(?:0N[hje]?|0W[hj]?|0[wn]|0x[\da-fA-F]+|\d+(?:\.\d*)?(?:e[+-]?\d+)?[hjfeb]?)/,keyword:/\\\w+\b|\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\b/,adverb:{pattern:/['\/\\]:?|\beach\b/,alias:"function"},verb:{pattern:/(?:\B\.\B|\b[01]:|<[=>]?|>=?|[:+\-*%,!?~=|$&#@^]):?|\b_\b:?/,alias:"operator"},punctuation:/[(){}\[\];.]/}}return cD=1,lD=e,e.displayName="q",e.aliases=[],lD}()),e.register(function(){if(dD)return uD;function e(e){!function(e){for(var t=/"(?:\\.|[^\\"\r\n])*"|'(?:\\.|[^\\'\r\n])*'/.source,n=/\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))*\*\//.source,r=/(?:[^\\()[\]{}"'/]|<string>|\/(?![*/])|<comment>|\(<expr>*\)|\[<expr>*\]|\{<expr>*\}|\\[\s\S])/.source.replace(/<string>/g,function(){return t}).replace(/<comment>/g,function(){return n}),a=0;a<2;a++)r=r.replace(/<expr>/g,function(){return r});r=r.replace(/<expr>/g,"[^\\s\\S]"),e.languages.qml={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},"javascript-function":{pattern:RegExp(/((?:^|;)[ \t]*)function\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*\(<js>*\)\s*\{<js>*\}/.source.replace(/<js>/g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},"class-name":{pattern:/((?:^|[:;])[ \t]*)(?!\d)\w+(?=[ \t]*\{|[ \t]+on\b)/m,lookbehind:!0},property:[{pattern:/((?:^|[;{])[ \t]*)(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0},{pattern:/((?:^|[;{])[ \t]*)property[ \t]+(?!\d)\w+(?:\.\w+)*[ \t]+(?!\d)\w+(?:\.\w+)*(?=[ \t]*:)/m,lookbehind:!0,inside:{keyword:/^property/,property:/\w+(?:\.\w+)*/}}],"javascript-expression":{pattern:RegExp(/(:[ \t]*)(?![\s;}[])(?:(?!$|[;}])<js>)+/.source.replace(/<js>/g,function(){return r}),"m"),lookbehind:!0,greedy:!0,alias:"language-javascript",inside:e.languages.javascript},string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},keyword:/\b(?:as|import|on)\b/,punctuation:/[{}[\]:;,]/}}(e)}return dD=1,uD=e,e.displayName="qml",e.aliases=[],uD}()),e.register(function(){if(fD)return pD;function e(e){e.languages.qore=e.languages.extend("clike",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:\/\/|#).*)/,lookbehind:!0},string:{pattern:/("|')(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|n
152ative|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:bool|date|float|int|list|number|string)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\b/,boolean:/\b(?:false|true)\b/i,function:/\$?\b(?!\d)\w+(?=\()/,number:/\b(?:0b[01]+|0x(?:[\da-f]*\.)?[\da-fp\-]+|(?:\d+(?:\.\d+)?|\.\d+)(?:e\d+)?[df]|(?:\d+(?:\.\d+)?|\.\d+))\b/i,operator:{pattern:/(^|[^.])(?:\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\|[|=]?|[*\/%^]=?|[~?])/,lookbehind:!0},variable:/\$(?!\d)\w+\b/})}return fD=1,pD=e,e.displayName="qore",e.aliases=[],pD}()),e.register(function(){if(hD)return mD;function e(e){!function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,n){return"(?:"+t[+n]+")"})}function n(e,n,r){return RegExp(t(e,n),"")}var r=RegExp("\\b(?:"+"Adj BigInt Bool Ctl Double false Int One Pauli PauliI PauliX PauliY PauliZ Qubit Range Result String true Unit Zero Adjoint adjoint apply as auto body borrow borrowing Controlled controlled distribute elif else fail fixup for function if in internal intrinsic invert is let mutable namespace new newtype open operation repeat return self set until use using while within".trim().replace(/ /g,"|")+")\\b"),a=t(/<<0>>(?:\s*\.\s*<<0>>)*/.source,[/\b[A-Za-z_]\w*\b/.source]),o={keyword:r,punctuation:/[<>()?,.:[\]]/},i=/"(?:\\.|[^\\"])*"/.source;e.languages.qsharp=e.languages.extend("clike",{comment:/\/\/.*/,string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[i]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\b(?:as|open)\s+)<<0>>(?=\s*(?:;|as\b))/.source,[a]),lookbehind:!0,inside:o},{pattern:n(/(\bnamespace\s+)<<0>>(?=\s*\{)/.source,[a]),lookbehind:!0,inside:o}],keyword:r,number:/(?:\b0(?:x[\da-f]+|b[01]+|o[0-7]+)|(?:\B\.\d+|\b\d+(?:\.\d*)?)(?:e[-+]?\d+)?)l?\b/i,operator:/\band=|\bor=|\band\b|\bnot\b|\bor\b|<[-=]|[-=]>|>>>=?|<<<=?|\^\^\^=?|\|\|\|=?|&&&=?|w\/=?|~~~|[*\/+\-^=!%]=?/,punctuation:/::|[{}[\];(),.:]/}),e.languages.insertBefore("qsharp","number",{range:{pattern:/\.\./,alias:"operator"}});var s=function(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,function(){return"(?:"+e+")"});return e.replace(/<<self>>/g,"[^\\s\\S]")}(t(/\{(?:[^"{}]|<<0>>|<<self>>)*\}/.source,[i]),2);e.languages.insertBefore("qsharp","string",{"interpolation-string":{pattern:n(/\$"(?:\\.|<<0>>|[^\\"{])*"/.source,[s]),greedy:!0,inside:{interpolation:{pattern:n(/((?:^|[^\\])(?:\\\\)*)<<0>>/.source,[s]),lookbehind:!0,inside:{punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-qsharp",inside:e.languages.qsharp}}}
152,string:/[\s\S]+/}}})}(e),e.languages.qs=e.languages.qsharp}return hD=1,mD=e,e.displayName="qsharp",e.aliases=["qs"],mD}()),e.register(function(){if(bD)return gD;function e(e){e.languages.r={comment:/#.*/,string:{pattern:/(['"])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},"percent-operator":{pattern:/%[^%\s]*%/,alias:"operator"},boolean:/\b(?:FALSE|TRUE)\b/,ellipsis:/\.\.(?:\.|\d+)/,number:[/\b(?:Inf|NaN)\b/,/(?:\b0x[\dA-Fa-f]+(?:\.\d*)?|\b\d+(?:\.\d*)?|\B\.\d+)(?:[EePp][+-]?\d+)?[iL]?/],keyword:/\b(?:NA|NA_character_|NA_complex_|NA_integer_|NA_real_|NULL|break|else|for|function|if|in|next|repeat|while)\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\|\|?|[+*\/^$@~]/,punctuation:/[(){}\[\],;]/}}return bD=1,gD=e,e.displayName="r",e.aliases=[],gD}()),e.register(function(){if(vD)return yD;vD=1;var e=lj();function t(t){t.register(e),t.languages.racket=t.languages.extend("scheme",{"lambda-parameter":{pattern:/([(\[]lambda\s+[(\[])[^()\[\]'\s]+/,lookbehind:!0}}),t.languages.insertBefore("racket","string",{lang:{pattern:/^#lang.+/m,greedy:!0,alias:"keyword"}}),t.languages.rkt=t.languages.racket}return yD=t,t.displayName="racket",t.aliases=["rkt"],yD}()),e.register(function(){if(SD)return xD;function e(e){e.languages.reason=e.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),e.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete e.languages.reason.function}return SD=1,xD=e,e.displayName="reason",e.aliases=[],xD}()),e.register(function(){if(ED)return wD;function e(e){!function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},n=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,r="(?:[^\\\\-]|"+n.source+")",a=RegExp(r+"-"+r),o={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:a,inside:{escape:n,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:n}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":o}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:n,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|<?[=!]|[idmnsuxU]+(?:-[idmnsuxU]+)?:?))?/,alias:"punctuation",inside:{"group-name":o}},{pattern:/\)/,alias:"punctuation"}],quantifier:{pattern:/(?:[+*?]|\{\d+(?:,\d*)?\})[?+]?/,alias:"number"},alternation:{pattern:/\|/,alias:"keyword"}}}(e)}return ED=1,wD=e,e.displayName="regex",e.aliases=[],wD}()),e.register(function(){if(kD)return CD;function e(e){e.languages.rego={comment:/#.*/,property:{pattern:/(^|[^\\.])(?:"(?:\\.|[^\\"\r\n])*"|`[^`]*`|\b[a-z_]\w*\b)(?=\s*:(?!=))/i,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:as|default|else|import|not|null|package|set(?=\s*\()|some|with)\b/,boolean:/\b(?:false|true)\b/,function:{pattern:/\b[a-z_]\w*\b(?:\s*\.\s*\b[a-z_]\w*\b)*(?=\s*\()/i,inside:{namespace:/\b\w+\b(?=\s*\.)/,punctuation:/\./}},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,operator:/[-+*/%|&]|[<>:=]=?|!=|\b_\b/,punctuation:/[,;.\[\]{}()]/}}return kD=1,CD=e,e.displayName="rego",e.aliases=[],CD}()),e.register(function(){if(AD)return TD;function e(e){e.languages.renpy={comment:{pattern:/(^|[^\\])#.+/,lookbehind:!0},string:{pattern:/("""|''')[\s\S]+?\1|("|')(?:\\.|(?!\2)[^\\])*\2|(?:^#?(?:(?:[0-9a-fA-F]){3}|[0-9a-fA-F]{6})$)/m,greedy:!0},function:/\b[a-z_]\w*(?=\()/i,property:/\b(?:Update|UpdateVersion|action|activate_sound|adv_nvl_transition|after_load_transition|align|alpha|alt|anchor|antialias|area|auto|background|bar_invert|bar_resizing|bar_vertical|black_color|bold|bottom_bar|bottom_gutter|bottom_margin|bottom_padding|box_reverse|box_wrap|can_update|caret|child|color|crop|default_afm_enable|default_afm_time|default_fullscreen|default_text_cps|developer|directory_name|drag_handle|drag_joined|drag_name|drag_raise|draggable|dragged|drop_shadow|drop_shadow_color|droppable|dropped|easein|easeout|edgescroll|end_game_transition|end_splash_transition|enter_replay_transition|enter_sound|enter_transition|enter_yesno_transition|executable_name|exit_replay_transition|exit_sound|exit_transition|exit_yesno_transition|fadein|fadeout|first_indent|first_spacing|fit_first|focus|focus_mask|font|foreground|game_main_transition|get_installed_packages|google_play_key|google_play_salt|ground|has_music|has_sound|has_voice|height|help|hinting|hover|hover_background|hover_color|hover_sound|hovered|hyperlink_functions|idle|idle_color|image_style|include_update|insensitive|insensitive_background|insensitive_color|inside|intra_transition|italic|justify|kerning|keyboard_focus|language|layer_clipping|layers|layout|left_bar|left_gutter|left_margin|left_padding|length|line_leading|line_overlap_split|line_spacing|linear|main_game_transition|main_menu_music|maximum|min_width|minimum|minwidth|modal|mouse|mousewheel|name|narrator_menu|newline_indent|nvl_adv_transition|offset|order_reverse|outlines|overlay_functions|pos|position|prefix|radius|range|rest_indent|right_bar|right_gutter|right_margin|right_padding|rotate|rotate_pad|ruby_style|sample_sound|save_directory|say_attribute_transition|screen_height|screen_width|scrollbars|selected_hover|selected_hover_color|selected_idle|selected_idle_color|selected_insensitive|show_side_image|show_two_window|side_spacing|side_xpos|side_ypos|size|size_group|slow_cps|slow_cps_multiplier|spacing|strikethrough|subpixel|text_align|text_style|text_xpos|text_y_fudge|text_ypos|thumb|thumb_offset|thumb_shadow|thumbnail_height|thumbnail_width|time|top_bar|top_gutter|top_margin|top_padding|translations|underline|unscrollable|update|value|version|version_name|version_tuple|vertical|width|window_hide_transition|window_icon|window_left_padding|window_show_transition|window_title|windows_icon|xadjustment|xalign|xanchor|xanchoraround|xaround|xcenter|xfill|xinitial|xmargin|xmaximum|xminimum|xoffset|xofsset|xpadding|xpos|xsize|xzoom|yadjustment|yalign|yanchor|yanchoraround|yaround|ycenter|yfill|yinitial|ymargin|ymaximum|yminimum|yoffset|ypadding|ypos|ysize|ysizexysize|yzoom|zoom|zorder)\b/,tag:/\b(?:bar|block|button|buttoscreenn|drag|draggroup|fixed|frame|grid|[hv]box|hotbar|hotspot|image|imagebutton|imagemap|input|key|label|menu|mm_menu_frame|mousearea|nvl|parallel|screen|self|side|tag|text|textbutton|timer|vbar|viewport|window)\b|\$/,keyword:/\b(?:None|add|adjustment|alignaround|allow|angle|animation|around|as|assert|behind|box_layout|break|build|cache|call|center|changed|child_size|choice|circles|class|clear|clicked|clipping|clockwise|config|contains|continue|corner1|corner2|counterclockwise|def|default|define|del|delay|disabled|disabled_text|dissolve|elif|else|event|except|exclude|exec|expression|fade|finally|for|from|function|global|gm_root|has|hide|id|if|import|in|init|is|jump|knot|lambda|left|less_rounded|mm_root|movie|music|null|on|onlayer|pass|pause|persistent|play|print|python|queue|raise|random|renpy|repeat|return|right|rounded_window|scene|scope|set|show|slow|slow_abortable|slow_done|sound|stop|store|style|style_group|substitute|suffix|theme|transform|transform_anchor|transpose|try|ui|unhovered|updater|use|voice|while|widget|widget_hover|widget_selected|widget_text|yield)\b/,boolean:/\b(?:[Ff]alse|[Tt]rue)\b/,number:/(?:\b(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?)|\B\.\d+)(?:e[+-]?\d+)?j?/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]|\b(?:and|at|not|or|with)\b/,punctuation:/[{}[\];(),.:]/},e.languages.rpy=e.languages.renpy}return AD=1,TD=e,e.displayName="renpy",e.aliases=["rpy"],TD}()),e.register(function(){if(ND)return ID;function e(e){e.languages.rest={table:[{pattern:/(^[\t ]*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1[+|].+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/m,lookbehind:!0,inside:{punctuation:/\||(?:\+[=-]+)+\+/}},{pattern:/(^[\t ]*)=+ [ =]*=(?:(?:\r?\n|\r)\1.+)+(?:\r?\n|\r)\1=+ [ =]*=(?=(?:\r?\n|\r){2}|\s*$)/m,lookbehind:!0,inside:{punctuation:/[=-]+/}}],"substitution-def":{pattern:/(^[\t ]*\.\. )\|(?:[^|\s](?:[^|]*[^|\s])?)\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\|(?:[^|\s]|[^|\s][^|]*[^|\s])\|/,alias:"attr-value",inside:{punctuation:/^\||\|$/}},directive:{pattern:/( )(?! )[^:]+::/,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}}}},"link-target":[{pattern:/(^[\t ]*\.\. )\[[^\]]+\]/m,lookbehind:!0,alias:"string",inside:{punctuation:/^\[|\]$/}},{pattern:/(^[\t ]*\.\. )_(?:`[^`]+`|(?:[^:\\]|\\.)+):/m,lookbehind:!0,alias:"string",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^[\t ]*\.\. )[^:]+::/m,lookbehind:!0,alias:"function",inside:{punctuation:/::$/}},comment:{pattern:/(^[\t ]*\.\.)(?:(?: .+)?(?:(?:\r?\n|\r).+)+| .+)(?=(?
152:\r?\n|\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+)(?:\r?\n|\r).+(?:\r?\n|\r)\1$/m,inside:{punctuation:/^[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+|[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\r?\n|\r){2}).+(?:\r?\n|\r)([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2+(?=\r?\n|\r|$)/,lookbehind:!0,inside:{punctuation:/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\r?\n|\r){2})([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\2{3,}(?=(?:\r?\n|\r){2})/,lookbehind:!0,alias:"punctuation"},field:{pattern:/(^[\t ]*):[^:\r\n]+:(?= )/m,lookbehind:!0,alias:"attr-name"},"command-line-option":{pattern:/(^[\t ]*)(?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?(?:, (?:[+-][a-z\d]|(?:--|\/)[a-z\d-]+)(?:[ =](?:[a-z][\w-]*|<[^<>]+>))?)*(?=(?:\r?\n|\r)? {2,}\S)/im,lookbehind:!0,alias:"symbol"},"literal-block":{pattern:/::(?:\r?\n|\r){2}([ \t]+)(?![ \t]).+(?:(?:\r?\n|\r)\1.+)*/,inside:{"literal-block-punctuation":{pattern:/^::/,alias:"punctuation"}}},"quoted-literal-block":{pattern:/::(?:\r?\n|\r){2}([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~]).*(?:(?:\r?\n|\r)\1.*)*/,inside:{"literal-block-punctuation":{pattern:/^(?:::|([!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~])\1*)/m,alias:"punctuation"}}},"list-bullet":{pattern:/(^[\t ]*)(?:[*+\-â¢â£â]|\(?(?:\d+|[a-z]|[ivxdclm]+)\)|(?:\d+|[a-z]|[ivxdclm]+)\.)(?= )/im,lookbehind:!0,alias:"punctuation"},"doctest-block":{pattern:/(^[\t ]*)>>> .+(?:(?:\r?\n|\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\s\-:\/'"<(\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\*\*?|``?|\|)(?!\s)(?:(?!\2).)*\S\2(?=[\s\-.,:;!?\\\/'")\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\*\*).+(?=\*\*$)/,lookbehind:!0},italic:{pattern:/(^\*).+(?=\*$)/,lookbehind:!0},"inline-literal":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:"symbol"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:"function",inside:{punctuation:/^:|:$/}},"interpreted-text":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:"attr-value"},substitution:{pattern:/(^\|).+(?=\|$)/,lookbehind:!0,alias:"attr-value"},punctuation:/\*\*?|``?|\|/}}],link:[{pattern:/\[[^\[\]]+\]_(?=[\s\-.,:;!?\\\/'")\]}]|$)/,alias:"string",inside:{punctuation:/^\[|\]_$/}},{pattern:/(?:\b[a-z\d]+(?:[_.:+][a-z\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\s\-.,:;!?\\\/'")\]}]|$)/i,alias:"string",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^[\t ]*)(?:\|(?= |$)|(?:---?|â|\.\.|__)(?= )|\.\.$)/m,lookbehind:!0}}}return ND=1,ID=e,e.displayName="rest",e.aliases=[],ID}()),e.register(function(){if(RD)return _D;function e(e){e.languages.rip={comment:{pattern:/#.*/,greedy:!0},char:{pattern:/\B`[^\s`'",.:;#\/\\()<>\[\]{}]\b/,greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},regex:{pattern:/(^|[^/])\/(?!\/)(?:\[[^\n\r\]]*\]|\\.|[^/\\\r\n\[])+\/(?=\s*(?:$|[\r\n,.;})]))/,lookbehind:!0,greedy:!0},keyword:/(?:=>|->)|\b(?:case|catch|class|else|exit|finally|if|raise|return|switch|try)\b/,builtin:/@|\bSystem\b/,boolean:/\b(?:false|true)\b/,date:/\b\d{4}-\d{2}-\d{2}\b/,time:/\b\d{2}:\d{2}:\d{2}\b/,datetime:/\b\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\b/,symbol:/:[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/,number:/[+-]?\b(?:\d+\.\d+|\d+)\b/,punctuation:/(?:\.{2,3})|[`,.:;=\/\\()<>\[\]{}]/,reference:/[^\d\s`'",.:;#\/\\()<>\[\]{}][^\s`'",.:;#\/\\()<>\[\]{}]*/}}return RD=1,_D=e,e.displayName="rip",e.aliases=[],_D}()),e.register(function(){if(LD)return OD;function e(e){e.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:external|import)\b|(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{))/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*(?![ \t]))[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}}return LD=1,OD=e,e.displayName="roboconf",e.aliases=[],OD}()),e.register(function(){if(PD)return DD;function e(e){!function(e){var t={pattern:/(^[ \t]*| {2}|\t)#.*/m,lookbehind:!0,greedy:!0},n={pattern:/((?:^|[^\\])(?:\\{2}
152)*)[$@&%]\{(?:[^{}\r\n]|\{[^{}\r\n]*\})*\}/,lookbehind:!0,inside:{punctuation:/^[$@&%]\{|\}$/}};function r(e,r){var a={"section-header":{pattern:/^ ?\*{3}.+?\*{3}/,alias:"keyword"}};for(var o in r)a[o]=r[o];return a.tag={pattern:/([\r\n](?: {2}|\t)[ \t]*)\[[-\w]+\]/,lookbehind:!0,inside:{punctuation:/\[|\]/}},a.variable=n,a.comment=t,{pattern:RegExp(/^ ?\*{3}[ \t]*<name>[ \t]*\*{3}(?:.|[\r\n](?!\*{3}))*/.source.replace(/<name>/g,function(){return e}),"im"),alias:"section",inside:a}}var a={pattern:/(\[Documentation\](?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},o={pattern:/([\r\n] ?)(?!#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,alias:"function",inside:{variable:n}},i={pattern:/([\r\n](?: {2}|\t)[ \t]*)(?!\[|\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0,inside:{variable:n}};e.languages.robotframework={settings:r("Settings",{documentation:{pattern:/([\r\n] ?Documentation(?: {2}|\t)[ \t]*)(?![ \t]|#)(?:.|(?:\r\n?|\n)[ \t]*\.{3})+/,lookbehind:!0,alias:"string"},property:{pattern:/([\r\n] ?)(?!\.{3}|#)(?:\S(?:[ \t]\S)*)+/,lookbehind:!0}}),variables:r("Variables"),"test-cases":r("Test Cases",{"test-name":o,documentation:a,property:i}),keywords:r("Keywords",{"keyword-name":o,documentation:a,property:i}),tasks:r("Tasks",{"task-name":o,documentation:a,property:i}),comment:t},e.languages.robot=e.languages.robotframework}(e)}return PD=1,DD=e,e.displayName="robotframework",e.aliases=[],DD}()),e.register(JM()),e.register(function(){if(jD)return MD;function e(e){!function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|<self>)*\*\//.source,n=0;n<2;n++)t=t.replace(/<self>/g,function(){return t});t=t.replace(/<self>/g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(e)}return jD=1,MD=e,e.displayName="rust",e.aliases=[],MD}()),e.register(function(){if(zD)return FD;function e(e){!function(e){var t=/(?:"(?:""|[^"])*"(?!")|'(?:''|[^'])*'(?!'))/.source,n=/\b(?:\d[\da-f]*x|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,r={pattern:RegExp(t+"[bx]"),alias:"number"},a={pattern:/&[a-z_]\w*/i},o={pattern:/((?:^|\s|=|\())%(?:ABORT|BY|CMS|COPY|DISPLAY|DO|ELSE|END|EVAL|GLOBAL|GO|GOTO|IF|INC|INCLUDE|INDEX|INPUT|KTRIM|LENGTH|LET|LIST|LOCAL|PUT|QKTRIM|QSCAN|QSUBSTR|QSYSFUNC|QUPCASE|RETURN|RUN|SCAN|
vendor: 4,583 bytes, line 152
152SUBSTR|SUPERQ|SYMDEL|SYMEXIST|SYMGLOBL|SYMLOCAL|SYSCALL|SYSEVALF|SYSEXEC|SYSFUNC|SYSGET|SYSRPUT|THEN|TO|TSO|UNQUOTE|UNTIL|UPCASE|WHILE|WINDOW)\b/i,lookbehind:!0,alias:"keyword"},i={pattern:/(^|\s)(?:proc\s+\w+|data(?!=)|quit|run)\b/i,alias:"keyword",lookbehind:!0},s=[/\/\*[\s\S]*?\*\//,{pattern:/(^[ \t]*|;\s*)\*[^;]*;/m,lookbehind:!0}],l={pattern:RegExp(t),greedy:!0},c=/[$%@.(){}\[\];,\\]/,u={pattern:/%?\b\w+(?=\()/,alias:"keyword"},d={function:u,"arg-value":{pattern:/(=\s*)[A-Z\.]+/i,lookbehind:!0},operator:/=/,"macro-variable":a,arg:{pattern:/[A-Z]+/i,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l},p={pattern:/\b(?:format|put)\b=?[\w'$.]+/i,inside:{keyword:/^(?:format|put)(?==)/i,equals:/=/,format:{pattern:/(?:\w|\$\d)+\.\d?/,alias:"number"}}},f={pattern:/\b(?:format|put)\s+[\w']+(?:\s+[$.\w]+)+(?=;)/i,inside:{keyword:/^(?:format|put)/i,format:{pattern:/[\w$]+\.\d?/,alias:"number"}}},m={pattern:/((?:^|\s)=?)(?:catname|checkpoint execute_always|dm|endsas|filename|footnote|%include|libname|%list|lock|missing|options|page|resetline|%run|sasfile|skip|sysecho|title\d?)\b/i,lookbehind:!0,alias:"keyword"},h={pattern:/(^|\s)(?:submit(?:\s+(?:load|norun|parseonly))?|endsubmit)\b/i,lookbehind:!0,alias:"keyword"},g=/aStore|accessControl|aggregation|audio|autotune|bayesianNetClassifier|bioMedImage|boolRule|builtins|cardinality|cdm|clustering|conditionalRandomFields|configuration|copula|countreg|dataDiscovery|dataPreprocess|dataSciencePilot|dataStep|decisionTree|deduplication|deepLearn|deepNeural|deepRnn|ds2|ecm|entityRes|espCluster|explainModel|factmac|fastKnn|fcmpact|fedSql|freqTab|gVarCluster|gam|gleam|graphSemiSupLearn|hiddenMarkovModel|hyperGroup|ica|image|iml|kernalPca|langModel|ldaTopic|loadStreams|mbc|mixed|mlTools|modelPublishing|network|neuralNet|nmf|nonParametricBayes|nonlinear|optNetwork|optimization|panel|pca|percentile|phreg|pls|qkb|qlim|quantreg|recommend|regression|reinforcementLearn|robustPca|ruleMining|sampling|sandwich|sccasl|search(?:Analytics)?|sentimentAnalysis|sequence|session(?:Prop)?|severity|simSystem|simple|smartData|sparkEmbeddedProcess|sparseML|spatialreg|spc|stabilityMonitoring|svDataDescription|svm|table|text(?:Filters|Frequency|Mining|Parse|Rule(?:Develop|Score)|Topic|Util)|timeData|transpose|tsInfo|tsReconcile|uniTimeSeries|varReduce/.source,b={pattern:RegExp(/(^|\s)(?:action\s+)?(?:<act>)\.[a-z]+\b[^;]+/.source.replace(/<act>/g,function(){return g}),"i"),lookbehind:!0,inside:{keyword:RegExp(/(?:<act>)\.[a-z]+\b/.source.replace(/<act>/g,function(){return g}),"i"),action:{pattern:/(?:action)/i,alias:"keyword"},comment:s,function:u,"arg-value":d["arg-value"],operator:d.operator,argument:d.arg,number:n,"numeric-constant":r,punctuation:c,string:l}},y={pattern:/((?:^|\s)=?)(?:after|analysis|and|array|barchart|barwidth|begingraph|by|call|cas|cbarline|cfill|class(?:lev)?|close|column|computed?|contains|continue|data(?==)|define|delete|describe|document|do\s+over|do|dol|drop|dul|else|end(?:comp|source)?|entryTitle|eval(?:uate)?|exec(?:ute)?|exit|file(?:name)?|fill(?:attrs)?|flist|fnc|function(?:list)?|global|goto|group(?:by)?|headline|headskip|histogram|if|infile|keep|keylabel|keyword|label|layout|leave|legendlabel|length|libname|loadactionset|merge|midpoints|_?null_|name|noobs|nowd|ods|options|or|otherwise|out(?:put)?|over(?:lay)?|plot|print|put|raise|ranexp|rannor|rbreak|retain|return|select|session|sessref|set|source|statgraph|sum|summarize|table|temp|terminate|then\s+do|then|title\d?|to|var|when|where|xaxisopts|y2axisopts|yaxisopts)\b/i,lookbehind:!0};e.languages.sas={datalines:{pattern:/^([ \t]*)(?:cards|(?:data)?lines);[\s\S]+?^[ \t]*;/im,lookbehind:!0,alias:"string",inside:{keyword:{pattern:/^(?:cards|(?:data)?lines)/i},punctuation:/;/}},"proc-sql":{pattern:/(^proc\s+(?:fed)?sql(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{sql:{pattern:RegExp(/^[ \t]*(?:select|alter\s+table|(?:create|describe|drop)\s+(?:index|table(?:\s+constraints)?|view)|create\s+unique\s+index|insert\s+into|update)(?:<str>|[^;"'])+;/.source.replace(/<str>/g,function(){return t}),"im"),alias:"language-sql",inside:e.languages.sql},"global-statements":m,"sql-statements":{pattern:/(^|\s)(?:disconnect\s+from|begin|commit|exec(?:ute)?|reset|rollback|validate)\b/i,lookbehind:!0,alias:"keyword"},number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-groovy":{pattern:/(^proc\s+groovy(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,groovy:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|n
152orun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return t}),"im"),lookbehind:!0,alias:"language-groovy",inside:e.languages.groovy},keyword:y,"submit-statement":h,"global-statements":m,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-lua":{pattern:/(^proc\s+lua(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|data|quit|run);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,lua:{pattern:RegExp(/(^[ \t]*submit(?:\s+(?:load|norun|parseonly))?)(?:<str>|[^"'])+?(?=endsubmit;)/.source.replace(/<str>/g,function(){return t}),"im"),lookbehind:!0,alias:"language-lua",inside:e.languages.lua},keyword:y,"submit-statement":h,"global-statements":m,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-cas":{pattern:/(^proc\s+cas(?:\s+[\w|=]+)?;)[\s\S]+?(?=^(?:proc\s+\w+|quit|data);|(?![\s\S]))/im,lookbehind:!0,inside:{comment:s,"statement-var":{pattern:/((?:^|\s)=?)saveresult\s[^;]+/im,lookbehind:!0,inside:{statement:{pattern:/^saveresult\s+\S+/i,inside:{keyword:/^(?:saveresult)/i}},rest:d}},"cas-actions":b,statement:{pattern:/((?:^|\s)=?)(?:default|(?:un)?set|on|output|upload)[^;]+/im,lookbehind:!0,inside:d},step:i,keyword:y,function:u,format:p,altformat:f,"global-statements":m,number:n,"numeric-constant":r,punctuation:c,string:l}},"proc-args":{pattern:RegExp(/(^proc\s+\w+\s+)(?!\s)(?:[^;"']|<str>)+;/.source.replace(/<str>/g,function(){return t}),"im"),lookbehind:!0,inside:d},"macro-keyword":o,"macro-variable":a,"macro-string-functions":{pattern:/((?:^|\s|=))%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)\(.*?(?:[^%]\))/i,lookbehind:!0,inside:{function:{pattern:/%(?:BQUOTE|NRBQUOTE|NRQUOTE|NRSTR|QUOTE|STR)/i,alias:"keyword"},"macro-keyword":o,"macro-variable":a,"escaped-char":{pattern:/%['"()<>=¬^~;,#]/},punctuation:c}},"macro-declaration":{pattern:/^%macro[^;]+(?=;)/im,inside:{keyword:/%macro/i}},"macro-end":{pattern:/^%mend[^;]+(?=;)/im,inside:{keyword:/%mend/i}},macro:{pattern:/%_\w+(?=\()/,alias:"keyword"},input:{pattern:/\binput\s[-\w\s/*.$&]+;/i,inside:{input:{alias:"keyword",pattern:/^input/i},comment:s,number:n,"numeric-constant":r}},"options-args":{pattern:/(^options)[-'"|/\\<>*+=:()\w\s]*(?=;)/im,lookbehind:!0,inside:d},"cas-actions":b,comment:s,function:u,format:p,altformat:f,"numeric-constant":r,datetime:{pattern:RegExp(t+"(?:dt?|t)"),alias:"number"},string:l,step:i,keyword:y,"operator-keyword":{pattern:/\b(?:eq|ge|gt|in|le|lt|ne|not)\b/i,alias:"operator"},number:n,operator:/\*\*?|\|\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\/=&]|[~¬^]=?/,punctuation:c}}(e)}return zD=1,FD=e,e.displayName="sas",e.aliases=[],FD}()),e.register(function(){if(BD)return $D;function e(e){!function(e){e.languages.sass=e.languages.extend("css",{comment:{pattern:/^([ \t]*)\/[\/*].*(?:(?:\r?\n|\r)\1[ \t].+)*/m,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("sass","atrule",{"atrule-line":{pattern:/^(?:[ \t]*)[@+=].+/m,greedy:!0,inside:{atrule:/(?:@[\w-]+|[+=])/}}}),delete e.languages.sass.atrule;var t=/\$[-\w]+|#\{\$[-\w]+\}/,n=[/[+*\/%]|[=!]=|<=?|>=?|\b(?:and|not|or)\b/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}];e.languages.insertBefore("sass","property",{"variable-line":{pattern:/^[ \t]*\$.+/m,greedy:!0,inside:{punctuation:/:/,variable:t,operator:n}},"property-line":{pattern:/^[ \t]*(?:[^:\s]+ *:.*|:[^:\s].*)/m,greedy:!0,inside:{property:[/[^:\s]+(?=\s*:)/,{pattern:/(:)[^:\s]+/,lookbehind:!0}],punctuation:/:/,variable:t,operator:n,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,e.languages.insertBefore("sass","punctuation",{selector:{pattern:/^([ \t]*)\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*(?:,(?:\r?\n|\r)\1[ \t]+\S(?:,[^,\r\n]+|[^,\r\n]*)(?:,[^,\r\n]+)*)*/m,lookbehind:!0,greedy:!0}})}(e)}return BD=1,$D=e,e.displayName="sass",e.aliases=[],$D}()),e.register(function(){if(HD)return UD;HD=1;var e=nj();function t(t){t.register(e),t.languages.scala=t.languages.extend("java",{"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0},keyword:/<-|=>|\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\b/,number:/\b0x(?:[\da-f]*\.)?[\da-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e\d+)?[dfl]?/i,builtin:/\b(?:Any|AnyRef|AnyVal|Boolean|Byte|Char|Double|Float|Int|Long|Nothing|Short|String|Unit)\b/,symbol:/'[^\d\s\\]\w*/}),t.languages.insertBefore("scala","triple-quoted-string",{"string-interpolation":{pattern:/\b[a-z]\w*(?:"""(?:[^$]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*?"""|"(?:[^$"\r\n]|\$(?:[^{]|\{(?:[^{}]|\{[^{}]*\})*\}))*")/i,greedy:!0,inside:{id:{pattern:/^\w+/,greedy:!0,alias:"function"},escape:{pattern:/\\\$"|\$[$"]/,greedy:!0,alias:"symbol"},interpolation:{pattern:/\$(?:\w+|\{(?:[^{}]|\{[^{}]*\})*\})/,greedy:!0,inside:{punctuation:/^\$\{?|\}$/,expression:{pattern:/[\s\S]+/,inside:t.languages.scala}}}
vendor: 5,549 bytes, line 152
152,string:/[\s\S]+/}}}),delete t.languages.scala["class-name"],delete t.languages.scala.function}return UD=t,t.displayName="scala",t.aliases=[],UD}()),e.register(lj()),e.register(function(){if(WD)return VD;function e(e){e.languages.scss=e.languages.extend("css",{comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-](?:\([^()]+\)|[^()\s]|\s+(?!\s))*?(?=\s+[{;])/,inside:{rule:/@[\w-]+/}},url:/(?:[-a-z]+-)?url(?=\()/i,selector:{pattern:/(?=\S)[^@;{}()]?(?:[^@;{}()\s]|\s+(?!\s)|#\{\$[-\w]+\})+(?=\s*\{(?:\}|\s|[^}][^:{}]*[:{][^}]))/,inside:{parent:{pattern:/&/,alias:"important"},placeholder:/%[-\w]+/,variable:/\$[-\w]+|#\{\$[-\w]+\}/}},property:{pattern:/(?:[-\w]|\$[-\w]|#\{\$[-\w]+\})+(?=\s*:)/,inside:{variable:/\$[-\w]+|#\{\$[-\w]+\}/}}}),e.languages.insertBefore("scss","atrule",{keyword:[/@(?:content|debug|each|else(?: if)?|extend|for|forward|function|if|import|include|mixin|return|use|warn|while)\b/i,{pattern:/( )(?:from|through)(?= )/,lookbehind:!0}]}),e.languages.insertBefore("scss","important",{variable:/\$[-\w]+|#\{\$[-\w]+\}/}),e.languages.insertBefore("scss","function",{"module-modifier":{pattern:/\b(?:as|hide|show|with)\b/i,alias:"keyword"},placeholder:{pattern:/%[-\w]+/,alias:"selector"},statement:{pattern:/\B!(?:default|optional)\b/i,alias:"keyword"},boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"},operator:{pattern:/(\s)(?:[-+*\/%]|[=!]=|<=?|>=?|and|not|or)(?=\s)/,lookbehind:!0}}),e.languages.scss.atrule.inside.rest=e.languages.scss}return WD=1,VD=e,e.displayName="scss",e.aliases=[],VD}()),e.register(function(){if(qD)return GD;qD=1;var e=KM();function t(t){t.register(e),function(e){var t=[/"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/.source,/'[^']*'/.source,/\$'(?:[^'\\]|\\[\s\S])*'/.source,/<<-?\s*(["']?)(\w+)\1\s[\s\S]*?[\r\n]\2/.source].join("|");e.languages["shell-session"]={command:{pattern:RegExp(/^/.source+"(?:"+/[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+(?::[^\0-\x1F$#%*?"<>:;|]+)?/.source+"|"+/[/~.][^\0-\x1F$#%*?"<>@:;|]*/.source+")?"+/[$#%](?=\s)/.source+/(?:[^\\\r\n \t'"<$]|[ \t](?:(?!#)|#.*$)|\\(?:[^\r]|\r\n?)|\$(?!')|<(?!<)|<<str>>)+/.source.replace(/<<str>>/g,function(){return t}),"m"),greedy:!0,inside:{info:{pattern:/^[^#$%]+/,alias:"punctuation",inside:{user:/^[^\s@:$#%*!/\\]+@[^\r\n@:$#%*!/\\]+/,punctuation:/:/,path:/[\s\S]+/}},bash:{pattern:/(^[$#%]\s*)\S[\s\S]*/,lookbehind:!0,alias:"language-bash",inside:e.languages.bash},"shell-symbol":{pattern:/^[$#%]/,alias:"important"}}},output:/.(?:.*(?:[\r\n]|.$))*/},e.languages["sh-session"]=e.languages.shellsession=e.languages["shell-session"]}(t)}return GD=t,t.displayName="shellSession",t.aliases=[],GD}()),e.register(function(){if(XD)return YD;function e(e){e.languages.smali={comment:/#.*/,string:{pattern:/"(?:[^\r\n\\"]|\\.)*"|'(?:[^\r\n\\']|\\(?:.|u[\da-fA-F]{4}))'/,greedy:!0},"class-name":{pattern:/(^|[^L])L(?:(?:\w+|`[^`\r\n]*`)\/)*(?:[\w$]+|`[^`\r\n]*`)(?=\s*;)/,lookbehind:!0,inside:{"class-name":{pattern:/(^L|\/)(?:[\w$]+|`[^`\r\n]*`)$/,lookbehind:!0},namespace:{pattern:/^(L)(?:(?:\w+|`[^`\r\n]*`)\/)+/,lookbehind:!0,inside:{punctuation:/\//}},builtin:/^L/}},builtin:[{pattern:/([();\[])[BCDFIJSVZ]+/,lookbehind:!0},{pattern:/([\w$>]:)[BCDFIJSVZ]/,lookbehind:!0}],keyword:[{pattern:/(\.end\s+)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])\.(?!\d)[\w-]+/,lookbehind:!0},{pattern:/(^|[^\w.-])(?:abstract|annotation|bridge|constructor|enum|final|interface|private|protected|public|runtime|static|synthetic|system|transient)(?![\w.-])/,lookbehind:!0}],function:{pattern:/(^|[^\w.-])(?:\w+|<[\w$-]+>)(?=\()/,lookbehind:!0},field:{pattern:/[\w$]+(?=:)/,alias:"variable"},register:{pattern:/(^|[^\w.-])[vp]\d(?![\w.-])/,lookbehind:!0,alias:"variable"},boolean:{pattern:/(^|[^\w.-])(?:false|true)(?![\w.-])/,lookbehind:!0},number:{pattern:/(^|[^/\w.-])-?(?:NAN|INFINITY|0x(?:[\dA-F]+(?:\.[\dA-F]*)?|\.[\dA-F]+)(?:p[+-]?[\dA-F]+)?|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?)[dflst]?(?![\w.-])/i,lookbehind:!0},label:{pattern:/(:)\w+/,lookbehind:!0,alias:"property"},operator:/->|\.\.|[\[=]/,punctuation:/[{}(),;:]/}}return XD=1,YD=e,e.displayName="smali",e.aliases=[],YD}()),e.register(function(){if(ZD)return KD;function e(e){e.languages.smalltalk={comment:{pattern:/"(?:""|[^"])*"/,greedy:!0},char:{pattern:/\$./,greedy:!0},string:{pattern:/'(?:''|[^'])*'/,greedy:!0},symbol:/#[\da-z]+|#(?:-|([+\/\\*~<>=@%|&?!])\1?)|#(?=\()/i,"block-arguments":{pattern:/(\[\s*):[^\[|]*\|/,lookbehind:!0,inside:{variable:/:[\da-z]+/i,punctuation:/\|/}},"temporary-variables":{pattern:/\|[^|]+\|/,inside:{variable:/[\da-z]+/i,punctuation:/\|/}},keyword:/\b(?:new|nil|self|super)\b/,boolean:/\b(?:false|true)\b/,number:[/\d+r-?[\dA-Z]+(?:\.[\dA-Z]+)?(?:e-?\d+)?/,/\b\d+(?:\.\d+)?(?:e-?\d+)?/],operator:/[<=]=?|:=|~[~=]|\/\/?|\\\\|>[>=]?|[!^+\-*&|,@]/,punctuation:/[.;:?\[\](){}]/}}return ZD=1,KD=e,e.displayName="smalltalk",e.aliases=[],KD}()),e.register(function(){if(QD)return JD;QD=1;var e=QM();function t(t){t.register(e),function(e){e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}
152],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty;var t=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,n=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return t.source}),"g");e.hooks.add("before-tokenize",function(t){var r=!1;e.languages["markup-templating"].buildPlaceholders(t,"smarty",n,function(e){return"{/literal}"===e&&(r=!1),!r&&("{literal}"===e&&(r=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"smarty")})}(t)}return JD=t,t.displayName="smarty",t.aliases=[],JD}()),e.register(function(){if(tP)return eP;function e(e){!function(e){var t=/\b(?:abstype|and|andalso|as|case|datatype|do|else|end|eqtype|exception|fn|fun|functor|handle|if|in|include|infix|infixr|let|local|nonfix|of|op|open|orelse|raise|rec|sharing|sig|signature|struct|structure|then|type|val|where|while|with|withtype)\b/i;e.languages.sml={comment:/\(\*(?:[^*(]|\*(?!\))|\((?!\*)|\(\*(?:[^*(]|\*(?!\))|\((?!\*))*\*\))*\*\)/,string:{pattern:/#?"(?:[^"\\]|\\.)*"/,greedy:!0},"class-name":[{pattern:RegExp(/((?:^|[^:]):\s*)<TERMINAL>(?:\s*(?:(?:\*|->)\s*<TERMINAL>|,\s*<TERMINAL>(?:(?=<NOT-LAST>)|(?!<NOT-LAST>)\s+<LONG-ID>)))*/.source.replace(/<NOT-LAST>/g,function(){return/\s*(?:[*,]|->)/.source}).replace(/<TERMINAL>/g,function(){return/(?:'[\w']*|<LONG-ID>|\((?:[^()]|\([^()]*\))*\)|\{(?:[^{}]|\{[^{}]*\})*\})(?:\s+<LONG-ID>)*/.source}).replace(/<LONG-ID>/g,function(){return/(?!<KEYWORD>)[a-z\d_][\w'.]*/.source}).replace(/<KEYWORD>/g,function(){return t.source}),"i"),lookbehind:!0,greedy:!0,inside:null},{pattern:/((?:^|[^\w'])(?:datatype|exception|functor|signature|structure|type)\s+)[a-z_][\w'.]*/i,lookbehind:!0}],function:{pattern:/((?:^|[^\w'])fun\s+)[a-z_][\w'.]*/i,lookbehind:!0},keyword:t,variable:{pattern:/(^|[^\w'])'[\w']*/,lookbehind:!0},number:/~?\b(?:\d+(?:\.\d+)?(?:e~?\d+)?|0x[\da-f]+)\b/i,word:{pattern:/\b0w(?:\d+|x[\da-f]+)\b/i,alias:"constant"},boolean:/\b(?:false|true)\b/i,operator:/\.\.\.|:[>=:]|=>?|->|[<>]=?|[!+\-*/^#|@~]/,punctuation:/[(){}\[\].:,;]/},e.languages.sml["class-name"][0].inside=e.languages.sml,e.languages.smlnj=e.languages.sml}(e)}return tP=1,eP=e,e.displayName="sml",e.aliases=["smlnj"],eP}()),e.register(function(){if(rP)return nP;function e(e){e.languages.solidity=e.languages.extend("clike",{"class-name":{pattern:/(\b(?:contract|enum|interface|library|new|struct|using)\s+)(?!\d)[\w$]+/,lookbehind:!0},keyword:/\b(?:_|anonymous|as|assembly|assert|break|calldata|case|constant|constructor|continue|contract|default|delete|do|else|emit|enum|event|external|for|from|function|if|import|indexed|inherited|interface|internal|is|let|library|mapping|memory|modifier|new|payable|pragma|private|public|pure|require|returns?|revert|selfdestruct|solidity|storage|struct|suicide|switch|this|throw|using|var|view|while)\b/,operator:/=>|->|:=|=:|\*\*|\+\+|--|\|\||&&|<<=?|>>=?|[-+*/%^&|<>!=]=?|[~?]/}),e.languages.insertBefore("solidity","keyword",{builtin:/\b(?:address|bool|byte|u?int(?:8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?|string|bytes(?:[1-9]|[12]\d|3[0-2])?)\b/}),e.languages.insertBefore("solidity","number",{version:{pattern:/([<>]=?|\^)\d+\.\d+\.\d+\b/,lookbehind:!0,alias:"number"}}),e.languages.sol=e.languages.solidity}return rP=1,nP=e,e.displayName="solidity",e.aliases=["sol"],nP}()),e.register(function(){if(oP)return aP;function e(e){!function(e){var t={pattern:/\{[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}\}/i,alias:"constant",inside:{punctuation:/[{}]/}};e.languages["solution-file"]={comment:{pattern:/#.*/,greedy:!0},string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,greedy:!0,inside:{guid:t}},object:{pattern:/^([ \t]*)(?:([A-Z]\w*)\b(?=.*(?:\r\n?|\n)(?:\1[ \t].*(?:\r\n?|\n))*\1End\2(?=[ \t]*$))|End[A-Z]\w*(?
152=[ \t]*$))/m,lookbehind:!0,greedy:!0,alias:"keyword"},property:{pattern:/^([ \t]*)(?!\s)[^\r\n"#=()]*[^\s"#=()](?=\s*=)/m,lookbehind:!0,inside:{guid:t}},guid:t,number:/\b\d+(?:\.\d+)*\b/,boolean:/\b(?:FALSE|TRUE)\b/,operator:/=/,punctuation:/[(),]/},e.languages.sln=e.languages["solution-file"]}(e)}return oP=1,aP=e,e.displayName="solutionFile",e.aliases=[],aP}()),e.register(function(){if(sP)return iP;sP=1;var e=QM();function t(t){t.register(e),function(e){var t=/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,n=/\b\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b|\b0x[\dA-F]+\b/;e.languages.soy={comment:[/\/\*[\s\S]*?\*\//,{pattern:/(\s)\/\/.*/,lookbehind:!0,greedy:!0}],"command-arg":{pattern:/(\{+\/?\s*(?:alias|call|delcall|delpackage|deltemplate|namespace|template)\s+)\.?[\w.]+/,lookbehind:!0,alias:"string",inside:{punctuation:/\./}},parameter:{pattern:/(\{+\/?\s*@?param\??\s+)\.?[\w.]+/,lookbehind:!0,alias:"variable"},keyword:[{pattern:/(\{+\/?[^\S\r\n]*)(?:\\[nrt]|alias|call|case|css|default|delcall|delpackage|deltemplate|else(?:if)?|fallbackmsg|for(?:each)?|if(?:empty)?|lb|let|literal|msg|namespace|nil|@?param\??|rb|sp|switch|template|xid)/,lookbehind:!0},/\b(?:any|as|attributes|bool|css|float|html|in|int|js|list|map|null|number|string|uri)\b/],delimiter:{pattern:/^\{+\/?|\/?\}+$/,alias:"punctuation"},property:/\w+(?==)/,variable:{pattern:/\$[^\W\d]\w*(?:\??(?:\.\w+|\[[^\]]+\]))*/,inside:{string:{pattern:t,greedy:!0},number:n,punctuation:/[\[\].?]/}},string:{pattern:t,greedy:!0},function:[/\w+(?=\()/,{pattern:/(\|[^\S\r\n]*)\w+/,lookbehind:!0}],boolean:/\b(?:false|true)\b/,number:n,operator:/\?:?|<=?|>=?|==?|!=|[+*/%-]|\b(?:and|not|or)\b/,punctuation:/[{}()\[\]|.,:]/},e.hooks.add("before-tokenize",function(t){var n=!1;e.languages["markup-templating"].buildPlaceholders(t,"soy",/\{\{.+?\}\}|\{.+?\}|\s\/\/.*|\/\*[\s\S]*?\*\//g,function(e){return"{/literal}"===e&&(n=!1),!n&&("{literal}"===e&&(n=!0),!0)})}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"soy")})}(t)}return iP=t,t.displayName="soy",t.aliases=[],iP}()),e.register(function(){if(dP)return uP;dP=1;var e=uj();function t(t){t.register(e),t.languages.sparql=t.languages.extend("turtle",{boolean:/\b(?:false|true)\b/i,variable:{pattern:/[?$]\w+/,greedy:!0}}),t.languages.insertBefore("sparql","punctuation",{keyword:[/\b(?:A|ADD|ALL|AS|ASC|ASK|BNODE|BY|CLEAR|CONSTRUCT|COPY|CREATE|DATA|DEFAULT|DELETE|DESC|DESCRIBE|DISTINCT|DROP|EXISTS|FILTER|FROM|GROUP|HAVING|INSERT|INTO|LIMIT|LOAD|MINUS|MOVE|NAMED|NOT|NOW|OFFSET|OPTIONAL|ORDER|RAND|REDUCED|SELECT|SEPARATOR|SERVICE|SILENT|STRUUID|UNION|USING|UUID|VALUES|WHERE)\b/i,/\b(?:ABS|AVG|BIND|BOUND|CEIL|COALESCE|CONCAT|CONTAINS|COUNT|DATATYPE|DAY|ENCODE_FOR_URI|FLOOR|GROUP_CONCAT|HOURS|IF|IRI|isBLANK|isIRI|isLITERAL|isNUMERIC|isURI|LANG|LANGMATCHES|LCASE|MAX|MD5|MIN|MINUTES|MONTH|REGEX|REPLACE|ROUND|sameTerm|SAMPLE|SECONDS|SHA1|SHA256|SHA384|SHA512|STR|STRAFTER|STRBEFORE|STRDT|STRENDS|STRLANG|STRLEN|STRSTARTS|SUBSTR|SUM|TIMEZONE|TZ|UCASE|URI|YEAR)\b(?=\s*\()/i,/\b(?:BASE|GRAPH|PREFIX)\b/i]}),t.languages.rq=t.languages.sparql}return uP=t,t.displayName="sparql",t.aliases=["rq"],uP}()),e.register(function(){if(fP)return pP;function e(e){e.languages["splunk-spl"]={comment:/`comment\("(?:\\.|[^\\"])*"\)`/,string:{pattern:/"(?:\\.|[^\\"])*"/,greedy:!0},keyword:/\b(?:abstract|accum|addcoltotals|addinfo|addtotals|analyzefields|anomalies|anomalousvalue|anomalydetection|append|appendcols|appendcsv|appendlookup|appendpipe|arules|associate|audit|autoregress|bin|bucket|bucketdir|chart|cluster|cofilter|collect|concurrency|contingency|convert|correlate|datamodel|dbinspect|dedup|delete|delta|diff|erex|eval|eventcount|eventstats|extract|fieldformat|fields|fieldsummary|filldown|fillnull|findtypes|folderize|foreach|format|from|gauge|gentimes|geom|geomfilter|geostats|head|highlight|history|iconify|input|inputcsv|inputlookup|iplocation|join|kmeans|kv|kvform|loadjob|localize|localop|lookup|makecontinuous|makemv|makeresults|map|mcollect|metadata|metasearch|meventcollect|mstats|multikv|multisearch|mvcombine|mvexpand|nomv|outlier|outputcsv|outputlookup|outputtext|overlap|pivot|predict|rangemap|rare|regex|relevancy|reltime|rename|replace|rest|return|reverse|rex|rtorder|run|savedsearch|script|scrub|search|searchtxn|selfjoin|sendemail|set|setfields|sichart|sirare|sistats|sitimechart|sitop|sort|spath|stats|strcat|streamstats|table|tags|tail|timechart|timewrap|top|transaction|transpose|trendline|tscollect|tstats|typeahead|typelearner|typer|union|uniq|untable|where|x11|xmlkv|xmlunescape|xpath|xyseries
152)\b/i,"operator-word":{pattern:/\b(?:and|as|by|not|or|xor)\b/i,alias:"operator"},function:/\b\w+(?=\s*\()/,property:/\b\w+(?=\s*=(?!=))/,date:{pattern:/\b\d{1,2}\/\d{1,2}\/\d{1,4}(?:(?::\d{1,2}){3})?\b/,alias:"number"},number:/\b\d+(?:\.\d+)?\b/,boolean:/\b(?:f|false|t|true)\b/i,operator:/[<>=]=?|[-+*/%|]/,punctuation:/[()[\],]/}}return fP=1,pP=e,e.displayName="splunkSpl",e.aliases=[],pP}()),e.register(function(){if(hP)return mP;function e(e){e.languages.sqf=e
vendor: 33,072 bytes, line 152
152.languages.extend("clike",{string:{pattern:/"(?:(?:"")?[^"])*"(?!")|'(?:[^'])*'/,greedy:!0},keyword:/\b(?:breakOut|breakTo|call|case|catch|default|do|echo|else|execFSM|execVM|exitWith|for|forEach|forEachMember|forEachMemberAgent|forEachMemberTeam|from|goto|if|nil|preprocessFile|preprocessFileLineNumbers|private|scopeName|spawn|step|switch|then|throw|to|try|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\b(?:abs|accTime|acos|action|actionIDs|actionKeys|actionKeysImages|actionKeysNames|actionKeysNamesArray|actionName|actionParams|activateAddons|activatedAddons|activateKey|add3DENConnection|add3DENEventHandler|add3DENLayer|addAction|addBackpack|addBackpackCargo|addBackpackCargoGlobal|addBackpackGlobal|addCamShake|addCuratorAddons|addCuratorCameraArea|addCuratorEditableObjects|addCuratorEditingArea|addCuratorPoints|addEditorObject|addEventHandler|addForce|addForceGeneratorRTD|addGoggles|addGroupIcon|addHandgunItem|addHeadgear|addItem|addItemCargo|addItemCargoGlobal|addItemPool|addItemToBackpack|addItemToUniform|addItemToVest|addLiveStats|addMagazine|addMagazineAmmoCargo|addMagazineCargo|addMagazineCargoGlobal|addMagazineGlobal|addMagazinePool|addMagazines|addMagazineTurret|addMenu|addMenuItem|addMissionEventHandler|addMPEventHandler|addMusicEventHandler|addOwnedMine|addPlayerScores|addPrimaryWeaponItem|addPublicVariableEventHandler|addRating|addResources|addScore|addScoreSide|addSecondaryWeaponItem|addSwitchableUnit|addTeamMember|addToRemainsCollector|addTorque|addUniform|addVehicle|addVest|addWaypoint|addWeapon|addWeaponCargo|addWeaponCargoGlobal|addWeaponGlobal|addWeaponItem|addWeaponPool|addWeaponTurret|admin|agent|agents|AGLToASL|aimedAtTarget|aimPos|airDensityCurveRTD|airDensityRTD|airplaneThrottle|airportSide|AISFinishHeal|alive|all3DENEntities|allAirports|allControls|allCurators|allCutLayers|allDead|allDeadMen|allDisplays|allGroups|allMapMarkers|allMines|allMissionObjects|allow3DMode|allowCrewInImmobile|allowCuratorLogicIgnoreAreas|allowDamage|allowDammage|allowFileOperations|allowFleeing|allowGetIn|allowSprint|allPlayers|allSimpleObjects|allSites|allTurrets|allUnits|allUnitsUAV|allVariables|ammo|ammoOnPylon|animate|animateBay|animateDoor|animatePylon|animateSource|animationNames|animationPhase|animationSourcePhase|animationState|append|apply|armoryPoints|arrayIntersect|asin|ASLToAGL|ASLToATL|assert|assignAsCargo|assignAsCargoIndex|assignAsCommander|assignAsDriver|assignAsGunner|assignAsTurret|assignCurator|assignedCargo|assignedCommander|assignedDriver|assignedGunner|assignedItems|assignedTarget|assignedTeam|assignedVehicle|assignedVehicleRole|assignItem|assignTeam|assignToAirport|atan|atan2|atg|ATLToASL|attachedObject|attachedObjects|attachedTo|attachObject|attachTo|attackEnabled|backpack|backpackCargo|backpackContainer|backpackItems|backpackMagazines|backpackSpaceFor|behaviour|benchmark|binocular|blufor|boundingBox|boundingBoxReal|boundingCenter|briefingName|buildingExit|buildingPos|buldozer_EnableRoadDiag|buldozer_IsEnabledRoadDiag|buldozer_LoadNewRoads|buldozer_reloadOperMap|buttonAction|buttonSetAction|cadetMode|callExtension|camCommand|camCommit|camCommitPrepared|camCommitted|camConstuctionSetParams|camCreate|camDestroy|cameraEffect|cameraEffectEnableHUD|cameraInterest|cameraOn|cameraView|campaignConfigFile|camPreload|camPreloaded|camPrepareBank|camPrepareDir|camPrepareDive|camPrepareFocus|camPrepareFov|camPrepareFovRange|camPreparePos|camPrepareRelPos|camPrepareTarget|camSetBank|camSetDir|camSetDive|camSetFocus|camSetFov|camSetFovRange|camSetPos|camSetRelPos|camSetTarget|camTarget|camUseNVG|canAdd|canAddItemToBackpack|canAddItemToUniform|canAddItemToVest|cancelSimpleTaskDestination|canFire|canMove|canSlingLoad|canStand|canSuspend|canTriggerDynamicSimulation|canUnloadInCombat|canVehicleCargo|captive|captiveNum|cbChecked|cbSetChecked|ceil|channelEnabled|cheatsEnabled|checkAIFeature|checkVisibility|civilian|className|clear3DENAttribute|clear3DENInventory|clearAllItemsFromBackpack|clearBackpackCargo|clearBackpackCargoGlobal|clearForcesRTD|clearGroupIcons|clearItemCargo|clearItemCargoGlobal|clearItemPool|clearMagazineCargo|clearMagazineCargoGlobal|clearMagazinePool|clearOverlay|clearRadio|clearVehicleInit|clearWeaponCargo|clearWeaponCargoGlobal|clearWeaponPool|clientOwner|closeDialog|closeDisplay|closeOverlay|collapseObjectTree|collect3DENHistory|collectiveRTD|combatMode|commandArtilleryFire|commandChat|commander|commandFire|commandFollow|commandFSM|commandGetOut|commandingMenu|commandMove|commandRadio|commandStop|commandSuppressiveFire|commandTarget|commandWatch|comment|commitOverlay|compile|compileFinal|completedFSM|composeText|configClasses|configFile|configHierarchy|configName|configNull|configProperties|configSourceAddonList|configSourceMod|configSourceModList|confirmSensorTarget|connectTerminalToUAV|controlNull|controlsGroupCtrl|copyFromClipboard|copyToClipboard|copyWaypoints|cos|count|countEnemy|countFriendly|countSide|countType|countUnknown|create3DENComposition|create3DENEntity|createAgent|createCenter|createDialog|createDiaryLink|createDiaryRecord|createDiarySubject|createDisplay|createGearDialog|createGroup|createGuardedPoint|createLocation|createMarker|createMarkerLocal|createMenu|createMine|createMissionDisplay|createMPCampaignDisplay|createSimpleObject|createSimpleTask|createSite|createSoundSource|createTask|createTeam|createTrigger|createUnit|createVehicle|createVehicleCrew|createVehicleLocal|crew|ctAddHeader|ctAddRow|ctClear|ctCurSel|ctData|ctFindHeaderRows|ctFindRowHeader|ctHeaderControls|ctHeaderCount|ctRemoveHeaders|ctRemoveRows|ctrlActivate|ctrlAddEventHandler|ctrlAngle|ctrlAutoScrollDelay|ctrlAutoScrollRewind|ctrlAutoScrollSpeed|ctrlChecked|ctrlClassName|ctrlCommit|ctrlCommitted|ctrlCreate|ctrlDelete|ctrlEnable|ctrlEnabled|ctrlFade|ctrlHTMLLoaded|ctrlIDC|ctrlIDD|ctrlMapAnimAdd|ctrlMapAnimClear|ctrlMapAnimCommit|ctrlMapAnimDone|ctrlMapCursor|ctrlMapMouseOver|ctrlMapScale|ctrlMapScreenToWorld|ctrlMapWorldToScreen|ctrlModel|ctrlModelDirAndUp|ctrlModelScale|ctrlParent|ctrlParentControlsGroup|ctrlPosition|ctrlRemoveAllEventHandlers|ctrlRemoveEventHandler|ctrlScale|ctrlSetActiveColor|ctrlSetAngle|ctrlSetAutoScrollDelay|ctrlSetAutoScrollRewind|ctrlSetAutoScrollSpeed|ctrlSetBackgroundColor|ctrlSetChecked|ctrlSetDisabledColor|ctrlSetEventHandler|ctrlSetFade|ctrlSetFocus|ctrlSetFont|ctrlSetFontH1|ctrlSetFontH1B|ctrlSetFontH2|ctrlSetFontH2B|ctrlSetFontH3|ctrlSetFontH3B|ctrlSetFontH4|ctrlSetFontH4B|ctrlSetFontH5|ctrlSetFontH5B|ctrlSetFontH6|ctrlSetFontH6B|ctrlSetFontHeight|ctrlSetFontHeightH1|ctrlSetFontHeightH2|ctrlSetFontHeightH3|ctrlSetFontHeightH4|ctrlSetFontHeightH5|ctrlSetFontHeightH6|ctrlSetFontHeightSecondary|ctrlSetFontP|ctrlSetFontPB|ctrlSetFontSecondary|ctrlSetForegroundColor|ctrlSetModel|ctrlSetModelDirAndUp|ctrlSetModelScale|ctrlSetPixelPrecision|ctrlSetPosition|ctrlSetScale|ctrlSetStructuredText|ctrlSetText|ctrlSetTextColor|ctrlSetTextColorSecondary|ctrlSetTextSecondary|ctrlSetTooltip|ctrlSetTooltipColorBox|ctrlSetTooltipColorShade|ctrlSetTooltipColorText|ctrlShow|ctrlShown|ctrlText|ctrlTextHeight|ctrlTextSecondary|ctrlTextWidth|ctrlType|ctrlVisible|ctRowControls|ctRowCount|ctSetCurSel|ctSetData|ctSetHeaderTemplate|ctSetRowTemplate|ctSetValue|ctValue|curatorAddons|curatorCamera|curatorCameraArea|curatorCameraAreaCeiling|curatorCoef|curatorEditableObjects|curatorEditingArea|curatorEditingAreaType|curatorMouseOver|curatorPoints|curatorRegisteredObjects|curatorSelected|curatorWaypointCost|current3DENOperation|currentChannel|currentCommand|currentMagazine|currentMagazineDetail|currentMagazineDetailTurret|currentMagazineTurret|currentMuzzle|currentNamespace|currentTask|currentTasks|currentThrowable|currentVisionMode|currentWaypoint|currentWeapon|currentWeaponMode|currentWeaponTurret|currentZeroing|cursorObject|cursorTarget|customChat|customRadio|cutFadeOut|cutObj|cutRsc|cutText|damage|date|dateToNumber|daytime|deActivateKey|debriefingText|debugFSM|debugLog|deg|delete3DENEntities|deleteAt|deleteCenter|deleteCollection|deleteEditorObject|deleteGroup|deleteGroupWhenEmpty|deleteIdentity|deleteLocation|deleteMarker|deleteMarkerLocal|deleteRange|deleteResources|deleteSite|deleteStatus|deleteTeam|deleteVehicle|deleteVehicleCrew|deleteWaypoint|detach|detectedMines|diag_activeMissionFSMs|diag_activeScripts|diag_activeSQFScripts|diag_activeSQSScripts|diag_captureFrame|diag_captureFrameToFile|diag_captureSlowFrame|diag_codePerformance|diag_drawMode|diag_dynamicSimulationEnd|diag_enable|diag_enabled|diag_fps|diag_fpsMin|diag_frameNo|diag_lightNewLoad|diag_list|diag_log|diag_logSlowFrame|diag_mergeConfigFile|diag_recordTurretLimits|diag_setLightNew|diag_tickTime|diag_toggle|dialog|diarySubjectExists|didJIP|didJIPOwner|difficulty|difficultyEnabled|difficultyEnabledRTD|difficultyOption|direction|directSay|disableAI|disableCollisionWith|disableConversation|disableDebriefingStats|disableMapIndicators|disableNVGEquipment|disableRemoteSensors|disableSerialization|disableTIEquipment|disableUAVConnectability|disableUserInput|displayAddEventHandler|displayCtrl|displayNull|displayParent|displayRemoveAllEventHandlers|displayRemoveEventHandler|displaySetEventHandler|dissolveTeam|distance|distance2D|distanceSqr|distributionRegion|do3DENAction|doArtilleryFire|doFire|doFollow|doFSM|doGetOut|doMove|doorPhase|doStop|doSuppressiveFire|doTarget|doWatch|drawArrow|drawEllipse|drawIcon|drawIcon3D|drawLine|drawLine3D|drawLink|drawLocation|drawPolygon|drawRectangle|drawTriangle|driver|drop|dynamicSimulationDistance|dynamicSimulationDistanceCoef|dynamicSimulationEnabled|dynamicSimulationSystemEnabled|east|edit3DENMissionAttributes|editObject|editorSetEventHandler|effectiveCommander|emptyPositions|enableAI|enableAIFeature|enableAimPrecision|enableAttack|enableAudioFeature|enableAutoStartUpRTD|enableAutoTrimRTD|enableCamShake|enableCaustics|enableChannel|enableCollisionWith|enableCopilot|enableDebriefingStats|enableDiagLegend|enableDynamicSimulation|enableDynamicSimulationSystem|enableEndDialog|enableEngineArtillery|enableEnvironment|enableFatigue|enableGunLights|enableInfoPanelComponent|enableIRLasers|enableMimics|enablePersonTurret|enableRadio|enableReload|enableRopeAttach|enableSatNormalOnDetail|enableSaving|enableSentences|enableSimulation|enableSimulationGlobal|enableStamina|enableStressDamage|enableTeamSwitch|enableTraffic|enableUAVConnectability|enableUAVWaypoints|enableVehicleCargo|enableVehicleSensor|enableWeaponDisassembly|endl|endLoadingScreen|endMission|engineOn|enginesIsOnRTD|enginesPowerRTD|enginesRpmRTD|enginesTorqueRTD|entities|environmentEnabled|estimatedEndServerTime|estimatedTimeLeft|evalObjectArgument|everyBackpack|everyContainer|exec|execEditorScript|exp|expectedDestination|exportJIPMessages|eyeDirection|eyePos|face|faction|fadeMusic|fadeRadio|fadeSound|fadeSpeech|failMission|fillWeaponsFromPool|find|findCover|findDisplay|findEditorObject|findEmptyPosition|findEmptyPositionReady|findIf|findNearestEnemy|finishMissionInit|finite|fire|fireAtTarget|firstBackpack|flag|flagAnimationPhase|flagOwner|flagSide|flagTexture|fleeing|floor|flyInHeight|flyInHeightASL|fog|fogForecast|fogParams|forceAddUniform|forceAtPositionRTD|forcedMap|forceEnd|forceFlagTexture|forceFollowRoad|forceGeneratorRTD|forceMap|forceRespawn|forceSpeed|forceWalk|forceWeaponFire|forceWeatherChange|forgetTarget|format|formation|formationDirection|formationLeader|formationMembers|formationPosition|formationTask|formatText|formLeader|freeLook|fromEditor|fuel|fullCrew|gearIDCAmmoCount|gearSlotAmmoCount|gearSlotData|get3DENActionState|get3DENAttribute|get3DENCamera|get3DENConnections|get3DENEntity|get3DENEntityID|get3DENGrid|get3DENIconsVisible|get3DENLayerEntities|get3DENLinesVisible|get3DENMissionAttribute|get3DENMouseOver|get3DENSelected|getAimingCoef|getAllEnvSoundControllers|getAllHitPointsDamage|getAllOwnedMines|getAllSoundControllers|getAmmoCargo|getAnimAimPrecision|getAnimSpeedCoef|getArray|getArtilleryAmmo|getArtilleryComputerSettings|getArtilleryETA|getAssignedCuratorLogic|getAssignedCuratorUnit|getBackpackCargo|getBleedingRemaining|getBurningValue|getCameraViewDirection|getCargoIndex|getCenterOfMass|getClientState|getClientStateNumber|getCompatiblePylonMagazines|getConnectedUAV|getContainerMaxLoad|getCursorObjectParams|getCustomAimCoef|getDammage|getDescription|getDir|getDirVisual|getDLCAssetsUsage|getDLCAssetsUsageByName|getDLCs|getDLCUsageTime|getEditorCamera|getEditorMode|getEditorObjectScope|getElevationOffset|getEngineTargetRpmRTD|getEnvSoundController|getFatigue|getFieldManualStartPage|getForcedFlagTexture|getFriend|getFSMVariable|getFuelCargo|getGroupIcon|getGroupIconParams|getGroupIcons|getHideFrom|getHit|getHitIndex|getHitPointDamage|getItemCargo|getMagazineCargo|getMarkerColor|getMarkerPos|getMarkerSize|getMarkerType|getMass|getMissionConfig|getMissionConfigValue|getMissionDLCs|getMissionLayerEntities|getMissionLayers|getModelInfo|getMousePosition|getMusicPlayedTime|getNumber|getObjectArgument|getObjectChildren|getObjectDLC|getObjectMaterials|getObjectProxy|getObjectTextures|getObjectType|getObjectViewDistance|getOxygenRemaining|getPersonUsedDLCs|getPilotCameraDirection|getPilotCameraPosition|getPilotCameraRotation|getPilotCameraTarget|getPlateNumber|getPlayerChannel|getPlayerScores|getPlayerUID|getPlayerUIDOld|getPos|getPosASL|getPosASLVisual|getPosASLW|getPosATL|getPosATLVisual|getPosVisual|getPosWorld|getPylonMagazines|getRelDir|getRelPos|getRemoteSensorsDisabled|getRepairCargo|getResolution|getRotorBrakeRTD|getShadowDistance|getShotParents|getSlingLoad|getSoundController|getSoundControllerResult|getSpeed|getStamina|getStatValue|getSuppression|getTerrainGrid|getTerrainHeightASL|getText|getTotalDLCUsageTime|getTrimOffsetRTD|getUnitLoadout|getUnitTrait|getUserMFDText|getUserMFDValue|getVariable|getVehicleCargo|getWeaponCargo|getWeaponSway|getWingsOrientationRTD|getWingsPositionRTD|getWPPos|glanceAt|globalChat|globalRadio|goggles|group|groupChat|groupFromNetId|groupIconSelectable|groupIconsVisible|groupId|groupOwner|groupRadio|groupSelectedUnits|groupSelectUnit|grpNull|gunner|gusts|halt|handgunItems|handgunMagazine|handgunWeapon|handsHit|hasInterface|hasPilotCamera|hasWeapon|hcAllGroups|hcGroupParams|hcLeader|hcRemoveAllGroups|hcRemoveGroup|hcSelected|hcSelectGroup|hcSetGroup|hcShowBar|hcShownBar|headgear|hideBody|hideObject|hideObjectGlobal|hideSelection|hint|hintC|hintCadet|hintSilent|hmd|hostMission|htmlLoad|HUDMovementLevels|humidity|image|importAllGroups|importance|in|inArea|inAreaArray|incapacitatedState|independent|inflame|inflamed|infoPanel|infoPanelComponentEnabled|infoPanelComponents|infoPanels|inGameUISetEventHandler|inheritsFrom|initAmbientLife|inPolygon|inputAction|inRangeOfArtillery|insertEditorObject|intersect|is3DEN|is3DENMultiplayer|isAbleToBreathe|isAgent|isAimPrecisionEnabled|isArray|isAutoHoverOn|isAutonomous|isAutoStartUpEnabledRTD|isAutotest|isAutoTrimOnRTD|isBleeding|isBurning|isClass|isCollisionLightOn|isCopilotEnabled|isDamageAllowed|isDedicated|isDLCAvailable|isEngineOn|isEqualTo|isEqualType|isEqualTypeAll|isEqualTypeAny|isEqualTypeArray|isEqualTypeParams|isFilePatchingEnabled|isFlashlightOn|isFlatEmpty|isForcedWalk|isFormationLeader|isGroupDeletedWhenEmpty|isHidden|isInRemainsCollector|isInstructorFigureEnabled|isIRLaserOn|isKeyActive|isKindOf|isLaserOn|isLightOn|isLocalized|isManualFire|isMarkedForCollection|isMultiplayer|isMultiplayerSolo|isNil|isNull|isNumber|isObjectHidden|isObjectRTD|isOnRoad|isPipEnabled|isPlayer|isRealTime|isRemoteExecuted|isRemoteExecutedJIP|isServer|isShowing3DIcons|isSimpleObject|isSprintAllowed|isStaminaEnabled|isSteamMission|isStreamFriendlyUIEnabled|isStressDamageEnabled|isText|isTouchingGround|isTurnedOut|isTutHintsEnabled|isUAVConnectable|isUAVConnected|isUIContext|isUniformAllowed|isVehicleCargo|isVehicleRadarOn|isVehicleSensorEnabled|isWalking|isWeaponDeployed|isWeaponRested|itemCargo|items|itemsWithMagazines|join|joinAs|joinAsSilent|joinSilent|joinString|kbAddDatabase|kbAddDatabaseTargets|kbAddTopic|kbHasTopic|kbReact|kbRemoveTopic|kbTell|kbWasSaid|keyImage|keyName|knowsAbout|land|landAt|landResult|language|laserTarget|lbAdd|lbClear|lbColor|lbColorRight|lbCurSel|lbData|lbDelete|lbIsSelected|lbPicture|lbPictureRight|lbSelection|lbSetColor|lbSetColorRight|lbSetCurSel|lbSetData|lbSetPicture|lbSetPictureColor|lbSetPictureColorDisabled|lbSetPictureColorSelected|lbSetPictureRight|lbSetPictureRightColor|lbSetPictureRightColorDisabled|lbSetPictureRightColorSelected|lbSetSelectColor|lbSetSelectColorRight|lbSetSelected|lbSetText|lbSetTextRight|lbSetTooltip|lbSetValue|lbSize|lbSort|lbSortByValue|lbText|lbTextRight|lbValue|leader|leaderboardDeInit|leaderboardGetRows|leaderboardInit|leaderboardRequestRowsFriends|leaderboardRequestRowsGlobal|leaderboardRequestRowsGlobalAroundUser|leaderboardsRequestUploadScore|leaderboardsRequestUploadScoreKeepBest|leaderboardState|leaveVehicle|libraryCredits|libraryDisclaimers|lifeState|lightAttachObject|lightDetachObject|lightIsOn|lightnings|limitSpeed|linearConversion|lineBreak|lineIntersects|lineIntersectsObjs|lineIntersectsSurfaces|lineIntersectsWith|linkItem|list|listObjects|listRemoteTargets|listVehicleSensors|ln|lnbAddArray|lnbAddColumn|lnbAddRow|lnbClear|lnbColor|lnbColorRight|lnbCurSelRow|lnbData|lnbDeleteColumn|lnbDeleteRow|lnbGetColumnsPosition|lnbPicture|lnbPictureRight|lnbSetColor|lnbSetColorRight|lnbSetColumnsPos|lnbSetCurSelRow|lnbSetData|lnbSetPicture|lnbSetPictureColor|lnbSetPictureColorRight|lnbSetPictureColorSelected|lnbSetPictureColorSelectedRight|lnbSetPictureRight|lnbSetText|lnbSetTextRight|lnbSetValue|lnbSize|lnbSort|lnbSortByValue|lnbText|lnbTextRight|lnbValue|load|loadAbs|loadBackpack|loadFile|loadGame|loadIdentity|loadMagazine|loadOverlay|loadStatus|loadUniform|loadVest|local|localize|locationNull|locationPosition|lock|lockCameraTo|lockCargo|lockDriver|locked|lockedCargo|lockedDriver|lockedTurret|lockIdentity|lockTurret|lockWP|log|logEntities|logNetwork|logNetworkTerminate|lookAt|lookAtPos|magazineCargo|magazines|magazinesAllTurrets|magazinesAmmo|magazinesAmmoCargo|magazinesAmmoFull|magazinesDetail|magazinesDetailBackpack|magazinesDetailUniform|magazinesDetailVest|magazinesTurret|magazineTurretAmmo|mapAnimAdd|mapAnimClear|mapAnimCommit|mapAnimDone|mapCenterOnCamera|mapGridPosition|markAsFinishedOnSteam|markerAlpha|markerBrush|markerColor|markerDir|markerPos|markerShape|markerSize|markerText|markerType|max|members|menuAction|menuAdd|menuChecked|menuClear|menuCollapse|menuData|menuDelete|menuEnable|menuEnabled|menuExpand|menuHover|menuPicture|menuSetAction|menuSetCheck|menuSetData|menuSetPicture|menuSetValue|menuShortcut|menuShortcutText|menuSize|menuSort|menuText|menuURL|menuValue|min|mineActive|mineDetectedBy|missionConfigFile|missionDifficulty|missionName|missionNamespace|missionStart|missionVersion|modelToWorld|modelToWorldVisual|modelToWorldVisualWorld|modelToWorldWorld|modParams|moonIntensity|moonPhase|morale|move|move3DENCamera|moveInAny|moveInCargo|moveInCommander|moveInDriver|moveInGunner|moveInTurret|moveObjectToEnd|moveOut|moveTime|moveTo|moveToCompleted|moveToFailed|musicVolume|name|nameSound|nearEntities|nearestBuilding|nearestLocation|nearestLocations|nearestLocationWithDubbing|nearestObject|nearestObjects|nearestTerrainObjects|nearObjects|nearObjectsReady|nearRoads|nearSupplies|nearTargets|needReload|netId|netObjNull|newOverlay|nextMenuItemIndex|nextWeatherChange|nMenuItems|numberOfEnginesRTD|numberToDate|objectCurators|objectFromNetId|objectParent|objNull|objStatus|onBriefingGear|onBriefingGroup|onBriefingNotes|onBriefingPlan|onBriefingTeamSwitch|onCommandModeChanged|onDoubleClick|onEachFrame|onGroupIconClick|onGroupIconOverEnter|onGroupIconOverLeave|onHCGroupSelectionChanged|onMapSingleClick|onPlayerConnected|onPlayerDisconnected|onPreloadFinished|onPreloadStarted|onShowNewObject|onTeamSwitch|openCuratorInterface|openDLCPage|openDSInterface|openMap|openSteamApp|openYoutubeVideo|opfor|orderGetIn|overcast|overcastForecast|owner|param|params|parseNumber|parseSimpleArray|parseText|parsingNamespace|particlesQuality|pi|pickWeaponPool|pitch|pixelGrid|pixelGridBase|pixelGridNoUIScale|pixelH|pixelW|playableSlotsNumber|playableUnits|playAction|playActionNow|player|playerRespawnTime|playerSide|playersNumber|playGesture|playMission|playMove|playMoveNow|playMusic|playScriptedMission|playSound|playSound3D|position|positionCameraToWorld|posScreenToWorld|posWorldToScreen|ppEffectAdjust|ppEffectCommit|ppEffectCommitted|ppEffectCreate|ppEffectDestroy|ppEffectEnable|ppEffectEnabled|ppEffectForceInNVG|precision|preloadCamera|preloadObject|preloadSound|preloadTitleObj|preloadTitleRsc|primaryWeapon|primaryWeaponItems|primaryWeaponMagazine|priority|processDiaryLink|processInitCommands|productVersion|profileName|profileNamespace|profileNameSteam|progressLoadingScreen|progressPosition|progressSetPosition|publicVariable|publicVariableClient|publicVariableServer|pushBack|pushBackUnique|putWeaponPool|queryItemsPool|queryMagazinePool|queryWeaponPool|rad|radioChannelAdd|radioChannelCreate|radioChannelRemove|radioChannelSetCallSign|radioChannelSetLabel|radioVolume|rain|rainbow|random|rank|rankId|rating|rectangular|registeredTasks|registerTask|reload|reloadEnabled|remoteControl|remoteExec|remoteExecCall|remoteExecutedOwner|remove3DENConnection|remove3DENEventHandler|remove3DENLayer|removeAction|removeAll3DENEventHandlers|removeAllActions|removeAllAssignedItems|removeAllContainers|removeAllCuratorAddons|removeAllCuratorCameraAreas|removeAllCuratorEditingAreas|removeAllEventHandlers|removeAllHandgunItems|removeAllItems|removeAllItemsWithMagazines|removeAllMissionEventHandlers|removeAllMPEventHandlers|removeAllMusicEventHandlers|removeAllOwnedMines|removeAllPrimaryWeaponItems|removeAllWeapons|removeBackpack|removeBackpackGlobal|removeCuratorAddons|removeCuratorCameraArea|removeCuratorEditableObjects|removeCuratorEditingArea|removeDrawIcon|removeDrawLinks|removeEventHandler|removeFromRemainsCollector|removeGoggles|removeGroupIcon|removeHandgunItem|removeHeadgear|removeItem|removeItemFromBackpack|removeItemFromUniform|removeItemFromVest|removeItems|removeMagazine|removeMagazineGlobal|removeMagazines|removeMagazinesTurret|removeMagazineTurret|removeMenuItem|removeMissionEventHandler|removeMPEventHandler|removeMusicEventHandler|removeOwnedMine|removePrimaryWeaponItem|removeSecondaryWeaponItem|removeSimpleTask|removeSwitchableUnit|removeTeamMember|removeUniform|removeVest|removeWeapon|removeWeaponAttachmentCargo|removeWeaponCargo|removeWeaponGlobal|removeWeaponTurret|reportRemoteTarget|requiredVersion|resetCamShake|resetSubgroupDirection|resistance|resize|resources|respawnVehicle|restartEditorCamera|reveal|revealMine|reverse|reversedMouseY|roadAt|roadsConnectedTo|roleDescription|ropeAttachedObjects|ropeAttachedTo|ropeAttachEnabled|ropeAttachTo|ropeCreate|ropeCut|ropeDestroy|ropeDetach|ropeEndPosition|ropeLength|ropes|ropeUnwind|ropeUnwound|rotorsForcesRTD|rotorsRpmRTD|round|runInitScript|safeZoneH|safeZoneW|safeZoneWAbs|safeZoneX|safeZoneXAbs|safeZoneY|save3DENInventory|saveGame|saveIdentity|saveJoysticks|saveOverlay|saveProfileNamespace|saveStatus|saveVar|savingEnabled|say|say2D|say3D|score|scoreSide|screenshot|screenToWorld|scriptDone|scriptName|scriptNull|scudState|secondaryWeapon|secondaryWeaponItems|secondaryWeaponMagazine|select|selectBestPlaces|selectDiarySubject|selectedEditorObjects|selectEditorObject|selectionNames|selectionPosition|selectLeader|selectMax|selectMin|selectNoPlayer|selectPlayer|selectRandom|selectRandomWeighted|selectWeapon|selectWeaponTurret|sendAUMessage|sendSimpleCommand|sendTask|sendTaskResult|sendUDPMessage|serverCommand|serverCommandAvailable|serverCommandExecutable|serverName|serverTime|set|set3DENAttribute|set3DENAttributes|set3DENGrid|set3DENIconsVisible|set3DENLayer|set3DENLinesVisible|set3DENLogicType|set3DENMissionAttribute|set3DENMissionAttributes|set3DENModelsVisible|set3DENObjectType|set3DENSelected|setAccTime|setActualCollectiveRTD|setAirplaneThrottle|setAirportSide|setAmmo|setAmmoCargo|setAmmoOnPylon|setAnimSpeedCoef|setAperture|setApertureNew|setArmoryPoints|setAttributes|setAutonomous|setBehaviour|setBleedingRemaining|setBrakesRTD|setCameraInterest|setCamShakeDefParams|setCamShakeParams|setCamUseTI|setCaptive|setCenterOfMass|setCollisionLight|setCombatMode|setCompassOscillation|setConvoySeparation|setCuratorCameraAreaCeiling|setCuratorCoef|setCuratorEditingAreaType|setCuratorWaypointCost|setCurrentChannel|setCurrentTask|setCurrentWaypoint|setCustomAimCoef|setCustomWeightRTD|setDamage|setDammage|setDate|setDebriefingText|setDefaultCamera|setDestination|setDetailMapBlendPars|setDir|setDirection|setDrawIcon|setDriveOnPath|setDropInterval|setDynamicSimulationDistance|setDynamicSimulationDistanceCoef|setEditorMode|setEditorObjectScope|setEffectCondition|setEngineRpmRTD|setFace|setFaceAnimation|setFatigue|setFeatureType|setFlagAnimationPhase|setFlagOwner|setFlagSide|setFlagTexture|setFog|setForceGeneratorRTD|setFormation|setFormationTask|setFormDir|setFriend|setFromEditor|setFSMVariable|setFuel|setFuelCargo|setGroupIcon|setGroupIconParams|setGroupIconsSelectable|setGroupIconsVisible|setGroupId|setGroupIdGlobal|setGroupOwner|setGusts|setHideBehind|setHit|setHitIndex|setHitPointDamage|setHorizonParallaxCoef|setHUDMovementLevels|setIdentity|setImportance|setInfoPanel|setLeader|setLightAmbient|setLightAttenuation|setLightBrightness|setLightColor|setLightDayLight|setLightFlareMaxDistance|setLightFlareSize|setLightIntensity|setLightnings|setLightUseFlare|setLocalWindParams|setMagazineTurretAmmo|setMarkerAlpha|setMarkerAlphaLocal|setMarkerBrush|setMarkerBrushLocal|setMarkerColor|setMarkerColorLocal|setMarkerDir|setMarkerDirLocal|setMarkerPos|setMarkerPosLocal|setMarkerShape|setMarkerShapeLocal|setMarkerSize|setMarkerSizeLocal|setMarkerText|setMarkerTextLocal|setMarkerType|setMarkerTypeLocal|setMass|setMimic|setMousePosition|setMusicEffect|setMusicEventHandler|setName|setNameSound|setObjectArguments|setObjectMaterial|setObjectMaterialGlobal|setObjectProxy|setObjectTexture|setObjectTextureGlobal|setObjectViewDistance|setOvercast|setOwner|setOxygenRemaining|setParticleCircle|setParticleClass|setParticleFire|setParticleParams|setParticleRandom|setPilotCameraDirection|setPilotCameraRotation|setPilotCameraTarget|setPilotLight|setPiPEffect|setPitch|setPlateNumber|setPlayable|setPlayerRespawnTime|setPos|setPosASL|setPosASL2|setPosASLW|setPosATL|setPosition|setPosWorld|setPylonLoadOut|setPylonsPriority|setRadioMsg|setRain|setRainbow|setRandomLip|setRank|setRectangular|setRepairCargo|setRotorBrakeRTD|setShadowDistance|setShotParents|setSide|setSimpleTaskAlwaysVisible|setSimpleTaskCustomData|setSimpleTaskDescription|setSimpleTaskDestination|setSimpleTaskTarget|setSimpleTaskType|setSimulWeatherLayers|setSize|setSkill|setSlingLoad|setSoundEffect|setSpeaker|setSpeech|setSpeedMode|setStamina|setStaminaScheme|setStatValue|setSuppression|setSystemOfUnits|setTargetAge|setTaskMarkerOffset|setTaskResult|setTaskState|setTerrainGrid|setText|setTimeMultiplier|setTitleEffect|setToneMapping|setToneMappingParams|setTrafficDensity|setTrafficDistance|setTrafficGap|setTrafficSpeed|setTriggerActivation|setTriggerArea|setTriggerStatements|setTriggerText|setTriggerTimeout|setTriggerType|setType|setUnconscious|setUnitAbility|setUnitLoadout|setUnitPos|setUnitPosWeak|setUnitRank|setUnitRecoilCoefficient|setUnitTrait|setUnloadInCombat|setUserActionText|setUserMFDText|setUserMFDValue|setVariable|setVectorDir|setVectorDirAndUp|setVectorUp|setVehicleAmmo|setVehicleAmmoDef|setVehicleArmor|setVehicleCargo|setVehicleId|setVehicleInit|setVehicleLock|setVehiclePosition|setVehicleRadar|setVehicleReceiveRemoteTargets|setVehicleReportOwnPosition|setVehicleReportRemoteTargets|setVehicleTIPars|setVehicleVarName|setVelocity|setVelocityModelSpace|setVelocityTransformation|setViewDistance|setVisibleIfTreeCollapsed|setWantedRpmRTD|setWaves|setWaypointBehaviour|setWaypointCombatMode|setWaypointCompletionRadius|setWaypointDescription|setWaypointForceBehaviour|setWaypointFormation|setWaypointHousePosition|setWaypointLoiterRadius|setWaypointLoiterType|setWaypointName|setWaypointPosition|setWaypointScript|setWaypointSpeed|setWaypointStatements|setWaypointTimeout|setWaypointType|setWaypointVisible|setWeaponReloadingTime|setWind|setWindDir|setWindForce|setWindStr|setWingForceScaleRTD|setWPPos|show3DIcons|showChat|showCinemaBorder|showCommandingMenu|showCompass|showCuratorCompass|showGPS|showHUD|showLegend|showMap|shownArtilleryComputer|shownChat|shownCompass|shownCuratorCompass|showNewEditorObject|shownGPS|shownHUD|shownMap|shownPad|shownRadio|shownScoretable|shownUAVFeed|shownWarrant|shownWatch|showPad|showRadio|showScoretable|showSubtitles|showUAVFeed|showWarrant|showWatch|showWaypoint|showWaypoints|side|sideAmbientLife|sideChat|sideEmpty|sideEnemy|sideFriendly|sideLogic|sideRadio|sideUnknown|simpleTasks|simulationEnabled|simulCloudDensity|simulCloudOcclusion|simulInClouds|simulWeatherSync|sin|size|sizeOf|skill|skillFinal|skipTime|sleep|sliderPosition|sliderRange|sliderSetPosition|sliderSetRange|sliderSetSpeed|sliderSpeed|slingLoadAssistantShown|soldierMagazines|someAmmo|sort|soundVolume|speaker|speed|speedMode|splitString|sqrt|squadParams|stance|startLoadingScreen|stop|stopEngineRTD|stopped|str|sunOrMoon|supportInfo|suppressFor|surfaceIsWater|surfaceNormal|surfaceType|swimInDepth|switchableUnits|switchAction|switchCamera|switchGesture|switchLight|switchMove|synchronizedObjects|synchronizedTriggers|synchronizedWaypoints|synchronizeObjectsAdd|synchronizeObjectsRemove|synchronizeTrigger|synchronizeWaypoint|systemChat|systemOfUnits|tan|targetKnowledge|targets|targetsAggregate|targetsQuery|taskAlwaysVisible|taskChildren|taskCompleted|taskCustomData|taskDescription|taskDestination|taskHint|taskMarkerOffset|taskNull|taskParent|taskResult|taskState|taskType|teamMember|teamMemberNull|teamName|teams|teamSwitch|teamSwitchEnabled|teamType|terminate|terrainIntersect|terrainIntersectASL|terrainIntersectAtASL|text|textLog|textLogFormat|tg|time|timeMultiplier|titleCut|titleFadeOut|titleObj|titleRsc|titleText|toArray|toFixed|toLower|toString|toUpper|triggerActivated|triggerActivation|triggerArea|triggerAttachedVehicle|triggerAttachObject|triggerAttachVehicle|triggerDynamicSimulation|triggerStatements|triggerText|triggerTimeout|triggerTimeoutCurrent|triggerType|turretLocal|turretOwner|turretUnit|tvAdd|tvClear|tvCollapse|tvCollapseAll|tvCount|tvCurSel|tvData|tvDelete|tvExpand|tvExpandAll|tvPicture|tvPictureRight|tvSetColor|tvSetCurSel|tvSetData|tvSetPicture|tvSetPictureColor|tvSetPictureColorDisabled|tvSetPictureColorSelected|tvSetPictureRight|tvSetPictureRightColor|tvSetPictureRightColorDisabled|tvSetPictureRightColorSelected|tvSetSelectColor|tvSetText|tvSetTooltip|tvSetValue|tvSort|tvSortByValue|tvText|tvTooltip|tvValue|type|typeName|typeOf|UAVControl|uiNamespace|uiSleep|unassignCurator|unassignItem|unassignTeam|unassignVehicle|underwater|uniform|uniformContainer|uniformItems|uniformMagazines|unitAddons|unitAimPosition|unitAimPositionVisual|unitBackpack|unitIsUAV|unitPos|unitReady|unitRecoilCoefficient|units|unitsBelowHeight|unlinkItem|unlockAchievement|unregisterTask|updateDrawIcon|updateMenuItem|updateObjectTree|useAIOperMapObstructionTest|useAISteeringComponent|useAudioTimeForMoves|userInputDisabled|vectorAdd|vectorCos|vectorCrossProduct|vectorDiff|vectorDir|vectorDirVisual|vectorDistance|vectorDistanceSqr|vectorDotProduct|vectorFromTo|vectorMagnitude|vectorMagnitudeSqr|vectorModelToWorld|vectorModelToWorldVisual|vectorMultiply|vectorNormalized|vectorUp|vectorUpVisual|vectorWorldToModel|vectorWorldToModelVisual|vehicle|vehicleCargoEnabled|vehicleChat|vehicleRadio|vehicleReceiveRemoteTargets|vehicleReportOwnPosition|vehicleReportRemoteTargets|vehicles|vehicleVarName|velocity|velocityModelSpace|verifySignature|vest|vestContainer|vestItems|vestMagazines|viewDistance|visibleCompass|visibleGPS|visibleMap|visiblePosition|visiblePositionASL|visibleScoretable|visibleWatch|waitUntil|waves|waypointAttachedObject|waypointAttachedVehicle|waypointAttachObject|waypointAttachVehicle|waypointBehaviour|waypointCombatMode|waypointCompletionRadius|waypointDescription|waypointForceBehaviour|waypointFormation|waypointHousePosition|waypointLoiterRadius|waypointLoiterType|waypointName|waypointPosition|waypoints|waypointScript|waypointsEnabledUAV|waypointShow|waypointSpeed|waypointStatements|waypointTimeout|waypointTimeoutCurrent|waypointType|waypointVisible|weaponAccessories|weaponAccessoriesCargo|weaponCargo|weaponDirection|weaponInertia|weaponLowered|weapons|weaponsItems|weaponsItemsCargo|weaponState|weaponsTurret|weightRTD|west|WFSideText|wind|windDir|windRTD|windStr|wingsForcesRTD|worldName|worldSize|worldToModel|worldToModelVisual|worldToScreen)\b/i,number:/(?:\$|\b0x)[\da-f]+\b|(?:\B\.\d+|\b\d+(?:\.\d+)?)(?:e[+-]?\d+)?\b/i,operator:/##|>>|&&|\|\||[!=<>]=?|[-+*/%#^]|\b(?:and|mod|not|or)\b/i,"magic-variable":{pattern:/\b(?:this|thisList|thisTrigger|_exception|_fnc_scriptName|_fnc_scriptNameParent|_forEachIndex|_this|_thisEventHandler|_thisFSM|_thisScript|_x)\b/i,alias:"keyword"},constant:/\bDIK(?:_[a-z\d]+)+\b/i}),
vendor: 6,181 bytes, line 152
152e.languages.insertBefore("sqf","string",{macro:{pattern:/(^[ \t]*)#[a-z](?:[^\r\n\\]|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{directive:{pattern:/#[a-z]+\b/i,alias:"keyword"},comment:e.languages.sqf.comment}}}),delete e.languages.sqf["class-name"]}return hP=1,mP=e,e.displayName="sqf",e.aliases=[],mP}()),e.register(GM()),e.register(function(){if(bP)return gP;function e(e){e.languages.squirrel=e.languages.extend("clike",{comment:[e.languages.clike.comment[0],{pattern:/(^|[^\\:])(?:\/\/|#).*/,lookbehind:!0,greedy:!0}],string:{pattern:/(^|[^\\"'@])(?:@"(?:[^"]|"")*"(?!")|"(?:[^\\\r\n"]|\\.)*")/,lookbehind:!0,greedy:!0},"class-name":{pattern:/(\b(?:class|enum|extends|instanceof)\s+)\w+(?:\.\w+)*/,lookbehind:!0,inside:{punctuation:/\./}},keyword:/\b(?:__FILE__|__LINE__|base|break|case|catch|class|clone|const|constructor|continue|default|delete|else|enum|extends|for|foreach|function|if|in|instanceof|local|null|resume|return|static|switch|this|throw|try|typeof|while|yield)\b/,number:/\b(?:0x[0-9a-fA-F]+|\d+(?:\.(?:\d+|[eE][+-]?\d+))?)\b/,operator:/\+\+|--|<=>|<[-<]|>>>?|&&?|\|\|?|[-+*/%!=<>]=?|[~^]|::?/,punctuation:/[(){}\[\],;.]/}),e.languages.insertBefore("squirrel","string",{char:{pattern:/(^|[^\\"'])'(?:[^\\']|\\(?:[xuU][0-9a-fA-F]{0,8}|[\s\S]))'/,lookbehind:!0,greedy:!0}}),e.languages.insertBefore("squirrel","operator",{"attribute-punctuation":{pattern:/<\/|\/>/,alias:"important"},lambda:{pattern:/@(?=\()/,alias:"operator"}})}return bP=1,gP=e,e.displayName="squirrel",e.aliases=[],gP}()),e.register(function(){if(vP)return yP;function e(e){!function(e){var t=/\b(?:algebra_solver|algebra_solver_newton|integrate_1d|integrate_ode|integrate_ode_bdf|integrate_ode_rk45|map_rect|ode_(?:adams|bdf|ckrk|rk45)(?:_tol)?|ode_adjoint_tol_ctl|reduce_sum|reduce_sum_static)\b/;e.languages.stan={comment:/\/\/.*|\/\*[\s\S]*?\*\/|#(?!include).*/,string:{pattern:/"[\x20\x21\x23-\x5B\x5D-\x7E]*"/,greedy:!0},directive:{pattern:/^([ \t]*)#include\b.*/m,lookbehind:!0,alias:"property"},"function-arg":{pattern:RegExp("("+t.source+/\s*\(\s*/.source+")"+/[a-zA-Z]\w*/.source),lookbehind:!0,alias:"function"},constraint:{pattern:/(\b(?:int|matrix|real|row_vector|vector)\s*)<[^<>]*>/,lookbehind:!0,inside:{expression:{pattern:/(=\s*)\S(?:\S|\s+(?!\s))*?(?=\s*(?:>$|,\s*\w+\s*=))/,lookbehind:!0,inside:null},property:/\b[a-z]\w*(?=\s*=)/i,operator:/=/,punctuation:/^<|>$|,/}},keyword:[{pattern:/\bdata(?=\s*\{)|\b(?:functions|generated|model|parameters|quantities|transformed)\b/,alias:"program-block"},/\b(?:array|break|cholesky_factor_corr|cholesky_factor_cov|complex|continue|corr_matrix|cov_matrix|data|else|for|if|in|increment_log_prob|int|matrix|ordered|positive_ordered|print|real|reject|return|row_vector|simplex|target|unit_vector|vector|void|while)\b/,t],function:/\b[a-z]\w*(?=\s*\()/i,number:/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:E[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,boolean:/\b(?:false|true)\b/,operator:/<-|\.[*/]=?|\|\|?|&&|[!=<>+\-*/]=?|['^%~?:]/,punctuation:/[()\[\]{},;]/},e.languages.stan.constraint.inside.expression.inside=e.languages.stan}(e)}return vP=1,yP=e,e.displayName="stan",e.aliases=[],yP}()),e.register(function(){if(SP)return xP;function e(e){!function(e){var t={pattern:/(\b\d+)(?:%|[a-z]+)/,lookbehind:!0},n={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0},r={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},url:{pattern:/\burl\((["']?).*?\1\)/i,greedy:!0},string:{pattern:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,greedy:!0},interpolation:null,func:null,important:/\B!(?:important|optional)\b/i,keyword:{pattern:/(^|\s+)(?:(?:else|for|if|return|unless)(?=\s|$)|@[\w-]+)/,lookbehind:!0},hexcode:/#[\da-f]{3,6}/i,color:[/\b(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)\b/i,{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:n,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,boolean:/\b(?:false|true)\b/,operator:[/~|[+!\/%<>?=]=?|[-:]=|\*[*=]?|\.{2,3}|&&|\|\||\B-\B|\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\b/],number:n,punctuation:/[{}()\[\];:,]/};r.interpolation={pattern:/\{[^\r\n}:]+\}/,alias:"variable",inside:{delimiter:{pattern:/^\{|\}$/,alias:"punctuation"},rest:r}},r.func={pattern:/[\w-]+\([^)]*\).*/,inside:{function:/^[^(]+/,rest:r}},e.languages.stylus={"atrule-declaration":{pattern:/(^[ \t]*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\w-]+/,rest:r}},"variable-declaration":{pattern:/(^[ \t]*)[\w$-]+\s*.?=[ \t]*(?:\{[^{}]*\}|\S.*|$)/m,lookbehind:!0,inside:{variable:/^\S+/,rest:r}},statement:{pattern:/(^[ \t]*)(?:else|for|if|return|unless)[ \t].+/m,lookbehind:!0,inside:{keyword:/^\S+/,rest:r}}
vendor: 4,345 bytes, line 152
152,"property-declaration":{pattern:/((?:^|\{)([ \t]*))(?:[\w-]|\{[^}\r\n]+\})+(?:\s*:\s*|[ \t]+)(?!\s)[^{\r\n]*(?:;|[^{\r\n,]$(?!(?:\r?\n|\r)(?:\{|\2[ \t])))/m,lookbehind:!0,inside:{property:{pattern:/^[^\s:]+/,inside:{interpolation:r.interpolation}},rest:r}},selector:{pattern:/(^[ \t]*)(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)(?:(?:\r?\n|\r)(?:\1(?:(?=\S)(?:[^{}\r\n:()]|::?[\w-]+(?:\([^)\r\n]*\)|(?![\w-]))|\{[^}\r\n]+\})+)))*(?:,$|\{|(?=(?:\r?\n|\r)(?:\{|\1[ \t])))/m,lookbehind:!0,inside:{interpolation:r.interpolation,comment:r.comment,punctuation:/[{},]/}},func:r.func,string:r.string,comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0,greedy:!0},interpolation:r.interpolation,punctuation:/[{}()\[\];:.]/}}(e)}return SP=1,xP=e,e.displayName="stylus",e.aliases=[],xP}()),e.register(function(){if(EP)return wP;function e(e){e.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},e.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=e.languages.swift})}return EP=1,wP=e,e.displayName="swift",e.aliases=[],wP}()),e.register(function(){if(kP)return CP;function e(e){!function(e){var t={pattern:/^[;#].*/m,greedy:!0},n=/"(?:[^\r\n"\\]|\\(?:[^\r]|\r\n?))*"(?!\S)/.source;e.languages.systemd={comment:t,section:{pattern:/^\[[^\n\r\[\]]*\](?=[ \t]*$)/m,greedy:!0,inside:{punctuation:/^\[|\]$/,"section-name":{pattern:/[\s\S]+/,alias:"selector"}}},key:{pattern:/^[^\s=]+(?=[ \t]*=)/m,greedy:!0,alias:"attr-name"}
152,value:{pattern:RegExp(/(=[ \t]*(?!\s))/.source+"(?:"+n+'|(?=[^"\r\n]))(?:'+/[^\s\\]/.source+'|[ \t]+(?:(?![ \t"])|'+n+")|"+/\\[\r\n]+(?:[#;].*[\r\n]+)*(?![#;])/.source+")*"),lookbehind:!0,greedy:!0,alias:"attr-value",inside:{comment:t,quoted:{pattern:RegExp(/(^|\s)/.source+n),lookbehind:!0,greedy:!0},punctuation:/\\$/m,boolean:{pattern:/^(?:false|no|off|on|true|yes)$/,greedy:!0}}},punctuation:/=/}}(e)}return kP=1,CP=e,e.displayName="systemd",e.aliases=[],CP}()),e.register(function(){if(NP)return IP;NP=1;var e=dj(),t=XM();function n(n){n.register(e),n.register(t),n.languages.t4=n.languages["t4-cs"]=n.languages["t4-templating"].createT4("csharp")}return IP=n,n.displayName="t4Cs",n.aliases=[],IP}()),e.register(dj()),e.register(function(){if(LP)return OP;LP=1;var e=dj(),t=pj();function n(n){n.register(e),n.register(t),n.languages["t4-vb"]=n.languages["t4-templating"].createT4("vbnet")}return OP=n,n.displayName="t4Vb",n.aliases=[],OP}()),e.register(function(){if(jP)return MP;jP=1;var e=fj();function t(t){t.register(e),t.languages.tap={fail:/not ok[^#{\n\r]*/,pass:/ok[^#{\n\r]*/,pragma:/pragma [+-][a-z]+/,bailout:/bail out!.*/i,version:/TAP version \d+/i,plan:/\b\d+\.\.\d+(?: +#.*)?/,subtest:{pattern:/# Subtest(?:: .*)?/,greedy:!0},punctuation:/[{}]/,directive:/#.*/,yamlish:{pattern:/(^[ \t]*)---[\s\S]*?[\r\n][ \t]*\.\.\.$/m,lookbehind:!0,inside:t.languages.yaml,alias:"language-yaml"}}}return MP=t,t.displayName="tap",t.aliases=[],MP}()),e.register(function(){if(zP)return FP;function e(e){e.languages.tcl={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},string:{pattern:/"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*"/,greedy:!0},variable:[{pattern:/(\$)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/,lookbehind:!0},{pattern:/(\$)\{[^}]+\}/,lookbehind:!0},{pattern:/(^[\t ]*set[ \t]+)(?:::)?(?:[a-zA-Z0-9]+::)*\w+/m,lookbehind:!0}],function:{pattern:/(^[\t ]*proc[ \t]+)\S+/m,lookbehind:!0},builtin:[{pattern:/(^[\t ]*)(?:break|class|continue|error|eval|exit|for|foreach|if|proc|return|switch|while)\b/m,lookbehind:!0},/\b(?:else|elseif)\b/],scope:{pattern:/(^[\t ]*)(?:global|upvar|variable)\b/m,lookbehind:!0,alias:"constant"},keyword:{pattern:/(^[\t ]*|\[)(?:Safe_Base|Tcl|after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|scan|seek|set|socket|source|split|string|subst|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|test|vars|wordBreak(?:After|Before))|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\b/m,lookbehind:!0},operator:/!=?|\*\*?|==|&&?|\|\|?|<[=<]?|>[=>]?|[-+~\/%?^]|\b(?:eq|in|ne|ni)\b/,punctuation:/[{}()\[\]]/}}return zP=1,FP=e,e.displayName="tcl",e.aliases=[],FP}()),e.register(function(){if(BP)return $P;function e(e){!function(e){var t=/\([^|()\n]+\)|\[[^\]\n]+\]|\{[^}\n]+\}/.source,n=/\)|\((?![^|()\n]+\))/.source;function r(e,r){return RegExp(e.replace(/<MOD>/g,function(){return"(?:"+t+")"}).replace(/<PAR>/g,function(){return"(?:"+n+")"}),r||"")}var a={css:{pattern:/\{[^{}]+\}/,inside:{rest:e.languages.css}},"class-id":{pattern:/(\()[^()]+(?=\))/,lookbehind:!0,alias:"attr-value"},lang:{pattern:/(\[)[^\[\]]+(?=\])/,lookbehind:!0,alias:"attr-value"},punctuation:/[\\\/]\d+|\S/},o=e.languages.textile=e.languages.extend("markup",{phrase:{pattern:/(^|\r|\n)\S[\s\S]*?(?=$|\r?\n\r?\n|\r\r)/,lookbehind:!0,inside:{"block-tag":{pattern:r(/^[a-z]\w*(?:<MOD>|<PAR>|[<>=])*\./.source),inside:{modifier:{pattern:r(/(^[a-z]\w*)(?:<MOD>|<PAR>|[<>=])+(?=\.)/.source),lookbehind:!0,inside:a},tag:/^[a-z]\w*/,punctuation:/\.$/}},list:{pattern:r(/^[*#]+<MOD>*\s+\S.*/.source,"m"),inside:{modifier:{pattern:r(/(^[*#]+)<MOD>+/.source),lookbehind:!0,inside:a},punctuation:/^[*#]+/}},table:{pattern:r(/^(?:(?:<MOD>|<PAR>|[<>
152=^~])+\.\s*)?(?:\|(?:(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.|(?!(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+\.))[^|]*)+\|/.source,"m"),inside:{modifier:{pattern:r(/(^|\|(?:\r?\n|\r)?)(?:<MOD>|<PAR>|[<>=^~_]|[\\/]\d+)+(?=\.)/.source),lookbehind:!0,inside:a},punctuation:/\||^\./}},inline:{pattern:r(/(^|[^a-zA-Z\d])(\*\*|__|\?\?|[*_%@+\-^~])<MOD>*.+?\2(?![a-zA-Z\d])/.source),lookbehind:!0,inside:{bold:{pattern:r(/(^(\*\*?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},italic:{pattern:r(/(^(__?)<MOD>*).+?(?=\2)/.source),lookbehind:!0},cite:{pattern:r(/(^\?\?<MOD>*).+?(?=\?\?)/.source),lookbehind:!0,alias:"string"},code:{pattern:r(/(^@<MOD>*).+?(?=@)/.source),lookbehind:!0,alias:"keyword"},inserted:{pattern:r(/(^\+<MOD>*).+?(?=\+)/.source),lookbehind:!0},deleted:{pattern:r(/(^-<MOD>*).+?(?=-)/.source),lookbehind:!0},span:{pattern:r(/(^%<MOD>*).+?(?=%)/.source),lookbehind:!0},modifier:{pattern:r(/(^\*\*|__|\?\?|[*_%@+\-^~])<MOD>+/.source),lookbehind:!0,inside:a},punctuation:/[*_%?@+\-^~]+/}},"link-ref":{pattern:/^\[[^\]]+\]\S+$/m,inside:{string:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0},url:{pattern:/(^\])\S+$/,lookbehind:!0},punctuation:/[\[\]]/}},link:{pattern:r(/"<MOD>*[^"]+":.+?(?=[^\w/]?(?:\s|$))/.source),inside:{text:{pattern:r(/(^"<MOD>*)[^"]+(?=")/.source),lookbehind:!0},modifier:{pattern:r(/(^")<MOD>+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[":]/}},image:{pattern:r(/!(?:<MOD>|<PAR>|[<>=])*(?![<>=])[^!\s()]+(?:\([^)]+\))?!(?::.+?(?=[^\w/]?(?:\s|$)))?/.source),inside:{source:{pattern:r(/(^!(?:<MOD>|<PAR>|[<>=])*)(?![<>=])[^!\s()]+(?:\([^)]+\))?(?=!)/.source),lookbehind:!0,alias:"url"},modifier:{pattern:r(/(^!)(?:<MOD>|<PAR>|[<>=])+/.source),lookbehind:!0,inside:a},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\b\[\d+\]/,alias:"comment",inside:{punctuation:/\[|\]/}},acronym:{pattern:/\b[A-Z\d]+\([^)]+\)/,inside:{comment:{pattern:/(\()[^()]+(?=\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\b\((?:C|R|TM)\)/,alias:"comment",inside:{punctuation:/[()]/}}}}}),i=o.phrase.inside,s={inline:i.inline,link:i.link,image:i.image,footnote:i.footnote,acronym:i.acronym,mark:i.mark};o.tag.pattern=/<\/?(?!\d)[a-z0-9]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i;var l=i.inline.inside;l.bold.inside=s,l.italic.inside=s,l.inserted.inside=s,l.deleted.inside=s,l.span.inside=s;var c=i.table.inside;c.inline=s.inline,c.link=s.link,c.image=s.image,c.footnote=s.footnote,c.acronym=s.acronym,c.mark=s.mark}(e)}return BP=1,$P=e,e.displayName="textile",e.aliases=[],$P}()),e.register(function(){if(HP)return UP;function e(e){!function(e){var t=/(?:[\w-]+|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*")/.source;function n(e){return e.replace(/__/g,function(){return t})}e.languages.toml={comment:{pattern:/#.*/,greedy:!0},table:{pattern:RegExp(n(/(^[\t ]*\[\s*(?:\[\s*)?)__(?:\s*\.\s*__)*(?=\s*\])/.source),"m"),lookbehind:!0,greedy:!0,alias:"class-name"},key:{pattern:RegExp(n(/(^[\t ]*|[{,]\s*)__(?:\s*\.\s*__)*(?=\s*=)/.source),"m"),lookbehind:!0,greedy:!0,alias:"property"},string:{pattern:/"""(?:\\[\s\S]|[^\\])*?"""|'''[\s\S]*?'''|'[^'\n\r]*'|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},date:[{pattern:/\b\d{4}-\d{2}-\d{2}(?:[T\s]\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?)?\b/i,alias:"number"},{pattern:/\b\d{2}:\d{2}:\d{2}(?:\.\d+)?\b/,alias:"number"}],number:/(?:\b0(?:x[\da-zA-Z]+(?:_[\da-zA-Z]+)*|o[0-7]+(?:_[0-7]+)*|b[10]+(?:_[10]+)*))\b|[-+]?\b\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?\b|[-+]?\b(?:inf|nan)\b/,boolean:/\b(?:false|true)\b/,punctuation:/[.,=[\]{}]/}}(e)}return HP=1,UP=e,e.displayName="toml",e.aliases=[],UP}()),e.register(function(){if(WP)return VP;function e(e){!function(e){e.languages.tremor={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},"interpolated-string":null,extractor:{pattern:/\b[a-z_]\w*\|(?:[^\r\n\\|]|\\(?:\r\n|[\s\S]))*\|/i,greedy:!0,inside:{regex:{pattern:/(^re)\|[\s\S]+/,lookbehind:!0},function:/^\w+/,value:/\|[\s\S]+/}},identifier:{pattern:/`[^`]*`/,greedy:!0},function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())\b/,keyword:/\b(?:args|as|by|case|config|connect|connector|const|copy|create|default|define|deploy|drop|each|emit|end|erase|event|flow|fn|for|from|group|having|insert|into|intrinsic|let|links|match|merge|mod|move|of|operator|patch|pipeline|recur|script|select|set|sliding|state|stream|to|tumbling|update|use|when|where|window|with)\b/,boolean:/\b(?:false|null|true)\b/i,number:/\b(?:0b[01_]*|0x[0-9a-fA-F_]*|\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee][+-]?[\d_]+)?)\b/,"pattern-punctuation":{pattern:/%(?=[({[])/,alias:"punctuation"},operator:/[-+*\/%~!^]=?|=[=>]?|&[&=]?|\|[|=]?|<<?=?|>>?>?=?|(?:absent|and|not|or|present|xor)\b/,punctuation:/::|[;\[\]()\{\},.:]/};var t=/#\{(?:[^"{}]|\{[^{}]*\}|"(?:[^"\\\r\n]|\\(?:\r\n|[\s\S]))*")*\}/.source;e.languages.tremor["interpolated-string"]={pattern:RegExp(/(^|[^\\])/.source+'(?:"""(?:'+/[^"\\#]|\\[\s\S]|"(?!"")|#(?!\{)/.source+"|"+t+')*"""|"(?:'+/[^"\\\r\n#]|\\(?:\r\n|[\s\S])|#(?!\{)/.source+"|"+t+')*")'),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:RegExp(t),inside:{punctuation:/^#\{|\}$/,expression:{pattern:/[\s\S]+/,inside:e.languages.tremor}}},string:/[\s\S]+/}},e.languages.troy=e.languages.tremor,e.languages.trickle=e.languages.tremor}(e)}return WP=1,VP=e,e.displayName="tremor",e.aliases=[],VP}()),e.register(function(){if(qP)return GP;qP=1;var e=ij(),t=aj();function n(n){n.register(e),n.register(t),function(e){var t=e.util.clone(e.languages.typescript);e.languages.tsx=e.languages.extend("jsx",t),delete e.languages.tsx.parameter,delete e.languages.tsx["literal-property"];var n=e.languages.tsx.tag;n.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+n.pattern.source+")",n.pattern.flags),n.lookbehind=!0}(n)}return GP=n,n.displayName="tsx",n.aliases=[],GP}()),e.register(function(){if(XP)return YP;XP=1;var e=QM();function t(t){t.register(e),function(e){e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}(t)}return YP=t,t.displayName="tt2",t.aliases=[],YP}()),e.register(uj()),e.register(function(){if(ZP)return KP;ZP=1;var e=QM();function t(t){t.register(e),t.languages.twig={comment:/^\{#[\s\S]*?#\}$/,"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/}},keyword:/\b(?:even|if|odd)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/},t.hooks.add("before-tokenize",function(e){"twig"===e.language&&t.languages["markup-templating"].buildPlaceholders(e,"twig",/\{(?:#[\s\S]*?#|%[\s\S]*?%|\{[\s\S]*?\})\}/g)}),t.hooks.add("after-tokenize",function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"twig")})}return KP=t,t.displayName="twig",t.aliases=[],KP}()),e.register(aj()),e.register(function(){if(QP)return JP;function e(e){!function(e){var t=/\b(?:ACT|ACTIFSUB|CARRAY|CASE|CLEARGIF|COA|COA_INT|CONSTANTS|CONTENT|CUR|EDITPANEL|EFFECT|EXT|FILE|FLUIDTEMPLATE|FORM|FRAME|FRAMESET|GIFBUILDER|GMENU|GMENU_FOLDOUT|GMENU_LAYERS|GP|HMENU|HRULER|HTML|IENV|IFSUB|IMAGE|IMGMENU|IMGMENUITEM|IMGTEXT|IMG_RESOURCE|INCLUDE_TYPOSCRIPT|JSMENU|JSMENUITEM|LLL|LOAD_REGIST
vendor: 1,046 bytes, line 152
152ER|NO|PAGE|RECORDS|RESTORE_REGISTER|TEMPLATE|TEXT|TMENU|TMENUITEM|TMENU_LAYERS|USER|USER_INT|_GIFBUILDER|global|globalString|globalVar)\b/;e.languages.typoscript={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0},{pattern:/(^|[^\\:= \t]|(?:^|[^= \t])[ \t]+)\/\/.*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^"'])#.*/,lookbehind:!0,greedy:!0}],function:[{pattern:/<INCLUDE_TYPOSCRIPT:\s*source\s*=\s*(?:"[^"\r\n]*"|'[^'\r\n]*')\s*>/,inside:{string:{pattern:/"[^"\r\n]*"|'[^'\r\n]*'/,inside:{keyword:t}},keyword:{pattern:/INCLUDE_TYPOSCRIPT/}}},{pattern:/@import\s*(?:"[^"\r\n]*"|'[^'\r\n]*')/,inside:{string:/"[^"\r\n]*"|'[^'\r\n]*'/}}],string:{pattern:/^([^=]*=[< ]?)(?:(?!\]\n).)*/,lookbehind:!0,inside:{function:/\{\$.*\}/,keyword:t,number:/^\d+$/,punctuation:/[,|:]/}},keyword:t,number:{pattern:/\b\d+\s*[.{=]/,inside:{operator:/[.{=]/}},tag:{pattern:/\.?[-\w\\]+\.?/,inside:{punctuation:/\./}},punctuation:/[{}[\];(),.:|]/,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/},e.languages.tsconfig=e.languages.typoscript}(e)}
152return QP=1,JP=e,e.displayName="typoscript",e.aliases=["tsconfig"],JP}()),e.register(function(){if(tM)return eM;function e(e){e.languages.unrealscript={comment:/\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},category:{pattern:/(\b(?:(?:autoexpand|hide|show)categories|var)\s*\()[^()]+(?=\))/,lookbehind:!0,greedy:!0,alias:"property"},metadata:{pattern:/(\w\s*)<\s*\w+\s*=[^<>|=\r\n]+(?:\|\s*\w+\s*=[^<>|=\r\n]+)*>/,lookbehind:!0,greedy:!0,inside:{property:/\b\w+(?=\s*=)/,operator:/=/,punctuation:/[<>|]/}},macro:{pattern:/`\w+/,alias:"property"},"class-name":{pattern:/(\b(?:class|enum|extends|interface|state(?:\(\))?|struct|within)\s+)\w+/,lookbehind:!0},keyword:/\b(?:abstract|actor|array|auto|autoexpandcategories|bool|break|byte|case|class|classgroup|client|coerce|collapsecategories|config|const|continue|default|defaultproperties|delegate|dependson|deprecated|do|dontcollapsecategories|editconst|editinlinenew|else|enum|event|exec|export|extends|final|float|for|forcescriptorder|foreach|function|goto|guid|hidecategories|hidedropdown|if|ignores|implements|inherits|input|int|interface|iterator|latent|local|material|name|native|nativereplication|noexport|nontransient|noteditinlinenew|notplaceable|operator|optional|out|pawn|perobjectconfig|perobjectlocalized|placeable|postoperator|preoperator|private|protected|reliable|replication|return|server|showcategories|simulated|singular|state|static|string|struct|structdefault|structdefaultproperties|switch|texture|transient|travel|unreliable|until|var|vector|while|within)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,boolean:/\b(?:false|true)\b/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/>>|<<|--|\+\+|\*\*|[-+*/~!=<>$@]=?|&&?|\|\|?|\^\^?|[?:%]|\b(?:ClockwiseFrom|Cross|Dot)\b/,punctuation:/[()[\]{};,.]/},e.languages.uc=e.languages.uscript=e.languages.unrealscript}return tM=1,eM=e,e.displayName="unrealscript",e.aliases=["uc","uscript"],eM}()),e.register(function(){if(rM)return nM;function e(e){e.languages.uorazor={"comment-hash":{pattern:/#.*/,alias:"comment",greedy:!0},"comment-slash":{pattern:/\/\/.*/,alias:"comment",greedy:!0},string:{pattern:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/,inside:{punctuation:/^['"]|['"]$/},greedy:!0},"source-layers":{pattern:/\b(?:arms|backpack|blue|bracelet|cancel|clear|cloak|criminal|earrings|enemy|facialhair|friend|friendly|gloves|gray|grey|ground|hair|head|innerlegs|innertorso|innocent|lefthand|middletorso|murderer|neck|nonfriendly|onehandedsecondary|outerlegs|outertorso|pants|red|righthand|ring|self|shirt|shoes|talisman|waist)\b/i,alias:"function"},"source-commands":{pattern:/\b(?:alliance|attack|cast|clearall|clearignore|clearjournal|clearlist|clearsysmsg|createlist|createtimer|dclick|dclicktype|dclickvar|dress|dressconfig|drop|droprelloc|emote|getlabel|guild|gumpclose|gumpresponse|hotkey|ignore|lasttarget|lift|lifttype|menu|menuresponse|msg|org|organize|organizer|overhead|pause|poplist|potion|promptresponse|pushlist|removelist|removetimer|rename|restock|say|scav|scavenger|script|setability|setlasttarget|setskill|settimer|setvar|sysmsg|target|targetloc|targetrelloc|targettype|undress|unignore|unsetvar|useobject|useonce|useskill|usetype|virtue|wait|waitforgump|waitformenu|waitforprompt|waitforstat|waitforsysmsg|waitfortarget|walk|wfsysmsg|wft|whisper|yell)\b/,alias:"function"},"tag-name":{pattern:/(^\{%-?\s*)\w+/,lookbehind:!0,alias:"keyword"},delimiter:{pattern:/^\{[{%]-?|-?[%}]\}$/,alias:"punctuation"},function:/\b(?:atlist|close|closest|count|counter|counttype|dead|dex|diffhits|diffmana|diffstam|diffweight|find|findbuff|finddebuff|findlayer|findtype|findtypelist|followers|gumpexists|hidden|hits|hp|hue|human|humanoid|ingump|inlist|insysmessage|insysmsg|int|invul|lhandempty|list|listexists|mana|maxhits|maxhp|maxmana|maxstam|maxweight|monster|mounted|name|next|noto|paralyzed|poisoned|position|prev|previous|queued|rand|random|rhandempty|skill|stam|str|targetexists|timer|timerexists|varexist|warmode|weight)\b/,keyword:/\b(?:and|as|break|continue|else|elseif|endfor|endif|endwhile|for|if|loop|not|or|replay|stop|while)\b/,boolean:/\b(?:false|null|true)\b/,number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,operator:[{pattern:/(\s)(?:and|b-and|b-or|b-xor|ends with|in|is|matches|not|or|same as|starts with)(?=\s)/,lookbehind:!0},/[=<>]=?|!=|\*\*?|\/\/?|\?:?|[-+~%|]/],punctuation:/[()\[\]{}:.,]/}}return rM=1,nM=e,e.displayName="uorazor",e.aliases=[],nM}()),e.register(function(){if(oM)return aM;function e(e){e.languages.uri={scheme:{pattern:/^[a-z][a-z0-9+.-]*:/im,greedy:!0,inside:{"scheme-delimiter":/:$/}},fragment:{pattern:/#[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"fragment-delimiter":/^#/}},query:{pattern:/\?[\w\-.~!$&'()*+,;=%:@/?]*/,inside:{"query-delimiter":{pattern:/^\?/,greedy:!0},"pair-delimiter":/[&;]/,pair:{pattern:/^[^=][\s\S]*/,inside:{key:/^[^=]+/,value:{pattern:/(^=)[\s\S]+/,lookbehind:!0}}}}},authority:{pattern:RegExp(/^\/\//.source+/(?:[\w\-.~!$&'()*+,;=%:]*@)?/.source+"(?:"+/\[(?:[0-9a-fA-F:.]{2,48}|v[0-9a-fA-F]+\.[\w\-.~!$&'()*+,;=]+)\]/.source+"|"+/[\w\-.~!$&'()*+,;=%]*/.source+")"+/(?::\d*)?/.source,"m"),inside:{"authority-delimiter":/^\/\//,"user-info-segment":{pattern:/^[\w\-.~!$&'()*+,;=%:]*@/,inside:{"user-info-delimiter":/@$/,"user-info":/^[\w\-.~!$&'()*+,;=%:]+/}},"port-segment":{pattern:/:\d*$/,inside:{"port-delimiter":/^:/,port:/^\d+/}},host:{pattern:/[\s\S]+/,inside:{"ip-literal":{pattern:/^\[[\s\S]+\]$/,inside:{"ip-literal-delimiter":/^\[|\]$/,"ipv-future":/^v[\s\S]+/,"ipv6-address":/^[\s\S]+/}},"ipv4-address":/^(?:(?:[03-9]\d?|[12]\d{0,2})\.){3}(?:[03-9]\d?|[12]\d{0,2})$/}}}},path:{pattern:/^[\w\-.~!$&'()*+,;=%:@/]+/m,inside:{"path-separator":/\//}}},e.languages.url=e.languages.uri}return oM=1,aM=e,e.displayName="uri",e.aliases=["url"],aM}()),e.register(function(){if(sM)return iM;function e(e){!function(e){var t={pattern:/[\s\S]+/,inside:null};e.languages.v=e.languages.extend("clike",{string:{pattern:/r?(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,alias:"quoted-string",greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2}
152)*)\$(?:\{[^{}]*\}|\w+(?:\.\w+(?:\([^\(\)]*\))?|\[[^\[\]]+\])*)/,lookbehind:!0,inside:{"interpolation-variable":{pattern:/^\$\w[\s\S]*$/,alias:"variable"},"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},"interpolation-expression":t}}}},"class-name":{pattern:/(\b(?:enum|interface|struct|type)\s+)(?:C\.)?\w+/,lookbehind:!0},keyword:/(?:\b(?:__global|as|asm|assert|atomic|break|chan|const|continue|defer|else|embed|enum|fn|for|go(?:to)?|if|import|in|interface|is|lock|match|module|mut|none|or|pub|return|rlock|select|shared|sizeof|static|struct|type(?:of)?|union|unsafe)|\$(?:else|for|if)|#(?:flag|include))\b/,number:/\b(?:0x[a-f\d]+(?:_[a-f\d]+)*|0b[01]+(?:_[01]+)*|0o[0-7]+(?:_[0-7]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?)\b/i,operator:/~|\?|[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\.?/,builtin:/\b(?:any(?:_float|_int)?|bool|byte(?:ptr)?|charptr|f(?:32|64)|i(?:8|16|64|128|nt)|rune|size_t|string|u(?:16|32|64|128)|voidptr)\b/}),t.inside=e.languages.v,e.languages.insertBefore("v","string",{char:{pattern:/`(?:\\`|\\?[^`]{1,2})`/,alias:"rune"}}),e.languages.insertBefore("v","operator",{attribute:{pattern:/(^[\t ]*)\[(?:deprecated|direct_array_access|flag|inline|live|ref_only|typedef|unsafe_fn|windows_stdcall)\]/m,lookbehind:!0,alias:"annotation",inside:{punctuation:/[\[\]]/,keyword:/\w+/}},generic:{pattern:/<\w+>(?=\s*[\)\{])/,inside:{punctuation:/[<>]/,"class-name":/\w+/}}}),e.languages.insertBefore("v","function",{"generic-function":{pattern:/\b\w+\s*<\w+>(?=\()/,inside:{function:/^\w+/,generic:{pattern:/<\w+>/,inside:e.languages.v.generic.inside}}}})}(e)}return sM=1,iM=e,e.displayName="v",e.aliases=[],iM}()),e.register(function(){if(cM)return lM;function e(e){e.languages.vala=e.languages.extend("clike",{"class-name":[{pattern:/\b[A-Z]\w*(?:\.\w+)*\b(?=(?:\?\s+|\*?\s+\*?)\w)/,inside:{punctuation:/\./}},{pattern:/(\[)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/(\b(?:class|interface)\s+[A-Z]\w*(?:\.\w+)*\s*:\s*)[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}},{pattern:/((?:\b(?:class|enum|interface|new|struct)\s+)|(?:catch\s+\())[A-Z]\w*(?:\.\w+)*\b/,lookbehind:!0,inside:{punctuation:/\./}}],keyword:/\b(?:abstract|as|assert|async|base|bool|break|case|catch|char|class|const|construct|continue|default|delegate|delete|do|double|dynamic|else|ensures|enum|errordomain|extern|finally|float|for|foreach|get|if|in|inline|int|int16|int32|int64|int8|interface|internal|is|lock|long|namespace|new|null|out|override|owned|params|private|protected|public|ref|requires|return|set|short|signal|sizeof|size_t|ssize_t|static|string|struct|switch|this|throw|throws|try|typeof|uchar|uint|uint16|uint32|uint64|uint8|ulong|unichar|unowned|ushort|using|value|var|virtual|void|volatile|weak|while|yield)\b/i,function:/\b\w+(?=\s*\()/,number:/(?:\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)(?:f|u?l?)?/i,operator:/\+\+|--|&&|\|\||<<=?|>>=?|=>|->|~|[+\-*\/%&^|=!<>]=?|\?\??|\.\.\./,punctuation:/[{}[\];(),.:]/,constant:/\b[A-Z0-9_]+\b/}),e.languages.insertBefore("vala","string",{"raw-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"template-string":{pattern:/@"[\s\S]*?"/,greedy:!0,inside:{interpolation:{pattern:/\$(?:\([^)]*\)|[a-zA-Z]\w*)/,inside:{delimiter:{pattern:/^\$\(?|\)$/,alias:"punctuation"},rest:e.languages.vala}},string:/[\s\S]+/}}}),e.languages.insertBefore("vala","keyword",{regex:{pattern:/\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[imsx]{0,4}(?=\s*(?:$|[\r\n,.;})\]]))/,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\//,"regex-flags":/^[a-z]+$/}}})}return cM=1,lM=e,e.displayName="vala",e.aliases=[],lM}()),e.register(pj()),e.register(function(){if(dM)return uM;function e(e){!function(e){e.languages.velocity=e.languages.extend("markup",{});var t={variable:{pattern:/(^|[^\\](?:\\\\)*)\$!?(?:[a-z][\w-]*(?:\([^)]*\))?(?:\.[a-z][\w-]*(?:\([^)]*\))?|\[[^\]]+\])*|\{[^}]+\})/i,lookbehind:!0,inside:{}},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},number:/\b\d+\b/,boolean:/\b(?:false|true)\b/,operator:/[=!<>]=?|[+*/%-]|&&|\|\||\.\.|\b(?:eq|g[et]|l[et]|n(?:e|ot))\b/,punctuation:/[(){}[\]:,.]/};
vendor: 4,570 bytes, line 152
152t.variable.inside={string:t.string,function:{pattern:/([^\w-])[a-z][\w-]*(?=\()/,lookbehind:!0},number:t.number,boolean:t.boolean,punctuation:t.punctuation},e.languages.insertBefore("velocity","comment",{unparsed:{pattern:/(^|[^\\])#\[\[[\s\S]*?\]\]#/,lookbehind:!0,greedy:!0,inside:{punctuation:/^#\[\[|\]\]#$/}},"velocity-comment":[{pattern:/(^|[^\\])#\*[\s\S]*?\*#/,lookbehind:!0,greedy:!0,alias:"comment"},{pattern:/(^|[^\\])##.*/,lookbehind:!0,greedy:!0,alias:"comment"}],directive:{pattern:/(^|[^\\](?:\\\\)*)#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})(?:\s*\((?:[^()]|\([^()]*\))*\))?/i,lookbehind:!0,inside:{keyword:{pattern:/^#@?(?:[a-z][\w-]*|\{[a-z][\w-]*\})|\bin\b/,inside:{punctuation:/[{}]/}},rest:t}},variable:t.variable}),e.languages.velocity.tag.inside["attr-value"].inside.rest=e.languages.velocity}(e)}return dM=1,uM=e,e.displayName="velocity",e.aliases=[],uM}()),e.register(function(){if(fM)return pM;function e(e){e.languages.verilog={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"kernel-function":{pattern:/\B\$\w+\b/,alias:"property"},constant:/\B`\w+\b/,function:/\b\w+(?=\()/,keyword:/\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|case|casex|casez|cell|chandle|class|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endsequence|endspecify|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_ondetect|pulsestyle_onevent|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\b/,important:/\b(?:always|always_comb|always_ff|always_latch)\b(?: *@)?/,number:/\B##?\d+|(?:\b\d+)?'[odbh] ?[\da-fzx_?]+|\b(?:\d*[._])?\d+(?:e[-+]?\d+)?/i,operator:/[-+{}^~%*\/?=!<>&|]+/,punctuation:/[[\];(),.:]/}}return fM=1,pM=e,e.displayName="verilog",e.aliases=[],pM}()),e.register(function(){if(hM)return mM;function e(e){e.languages.vhdl={comment:/--.+/,"vhdl-vectors":{pattern:/\b[oxb]"[\da-f_]+"|"[01uxzwlh-]+"/i,alias:"number"},"quoted-function":{pattern:/"\S+?"(?=\()/,alias:"function"},string:/"(?:[^\\"\r\n]|\\(?:\r\n|[\s\S]))*"/,constant:/\b(?:library|use)\b/i,keyword:/\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\b/i,boolean:/\b(?:false|true)\b/i,function:/\w+(?=\()/,number:/'[01uxzwlh-]'|\b(?:\d+#[\da-f_.]+#|\d[\d_.]*)(?:e[-+]?\d+)?/i,operator:/[<>]=?|:=|[-+*/&=]|\b(?:abs|and|mod|nand|nor|not|or|rem|rol|ror|sla|sll|sra|srl|xnor|xor)\b/i,punctuation:/[{}[\];(),.:]/}}return hM=1,mM=e,e.displayName="vhdl",e.aliases=[],mM}()),e.register(function(){if(bM)return gM;function e(e){e
vendor: 14,210 bytes, line 152
152.languages.vim={string:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\r\n]|'')*'/,comment:/".*/,function:/\b\w+(?=\()/,keyword:/\b(?:N|Next|P|Print|X|XMLent|XMLns|ab|abbreviate|abc|abclear|abo|aboveleft|al|all|ar|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|args|argu|argument|as|ascii|b|bN|bNext|ba|bad|badd|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bo|botright|bp|bprevious|br|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|brewind|bro|browse|bufdo|buffer|buffers|bun|bunload|bw|bwipeout|c|cN|cNext|cNfcNfile|ca|cabbrev|cabc|cabclear|cad|caddb|caddbuffer|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cg|cgetb|cgetbuffer|cgete|cgetexpr|cgetfile|change|changes|chd|chdir|che|checkpath|checkt|checktime|cl|cla|clast|clist|clo|close|cmapc|cmapclear|cn|cnew|cnewer|cnext|cnf|cnfile|cnorea|cnoreabbrev|co|col|colder|colo|colorscheme|comc|comclear|comp|compiler|con|conf|confirm|continue|cope|copen|copy|cp|cpf|cpfile|cprevious|cq|cquit|cr|crewind|cu|cuna|cunabbrev|cunmap|cw|cwindow|d|debugg|debuggreedy|delc|delcommand|delete|delf|delfunction|delm|delmarks|di|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|e|earlier|echoe|echoerr|echom|echomsg|echon|edit|el|else|elsei|elseif|em|emenu|en|endf|endfo|endfor|endfun|endfunction|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fin|fina|finally|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|foldd|folddoc|folddoclosed|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|h|ha|hardcopy|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iu|iuna|iunabbrev|iunmap|j|join|ju|jumps|k|kee|keepalt|keepj|keepjumps|keepmarks|l|lN|lNext|lNf|lNfile|la|lad|laddb|laddbuffer|laddexpr|laddf|laddfile|lan|language|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|left|lefta|leftabove|let|lex|lexpr|lf|lfile|lfir|lfirst|lg|lgetb|lgetbuffer|lgete|lgetexpr|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|list|ll|lla|llast|lli|llist|lm|lmak|lmake|lmap|lmapc|lmapclear|ln|lne|lnew|lnewer|lnext|lnf|lnfile|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lp|lpf|lpfile|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|m|ma|mak|make|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkv|mkvie|mkview|mkvimrc|mod|mode|move|mz|mzf|mzfile|mzscheme|n|nbkey|new|next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|o|omapc|omapclear|on|only|open|opt|options|ou|ounmap|p|pc|pclose|pe|ped|pedit|perl|perld|perldo|po|pop|popu|popup|pp|ppop|pre|preserve|prev|previous|print|prof|profd|profdel|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|ptN|ptNext|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|py|pyf|pyfile|python|q|qa|qall|quit|quita|quitall|r|read|rec|recover|red|redi|redir|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|ru|rub|ruby|rubyd|rubydo|rubyf|rubyfile|runtime|rv|rviminfo|sN|sNext|sa|sal|sall|san|sandbox|sargument|sav|saveas|sb|sbN|sbNext|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbp|sbprevious|sbr|sbrewind|sbuffer|scrip|scripte|scriptencoding|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sl|sla|slast|sleep|sm|smagic|smap|smapc|smapclear|sme|smenu|sn|snext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|so|sor|sort|source|sp|spe|spelld|spelldump|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|split|spr|sprevious|sre|srewind|st|sta|stag|star|startg|startgreplace|startinsert|startr|startreplace|stj|stjump|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tN|tNext|ta|tab|tabN|tabNext|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabn|tabnew|tabnext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tmenu|tn|tnext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tunmenu|u|una|unabbreviate|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|ve|verb|verbose|version|vert|vertical|vi|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|w|wN|wNext|wa|wall|wh|while|win|winc|wincmd|windo|winp|winpos|winsize|wn|wnext|wp|wprevious|wq|wqa|wqall|write|ws|wsverb|wv|wviminfo|x|xa|xall|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\b/,builtin:/\b(?:acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autocmd|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|t_AB|t_AF|t_AL|t_CS|t_CV|t_Ce|t_Co|t_Cs|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_IE|t_IS|t_K1|t_K3|t_K4|t_K5|t_K6|t_K7|t_K8|t_K9|t_KA|t_KB|t_KC|t_KD|t_KE|t_KF|t_KG|t_KH|t_KI|t_KJ|t_KK|t_KL|t_RI|t_RV|t_SI|t_Sb|t_Sf|t_WP|t_WS|t_ZH|t_ZR|t_al|t_bc|t_cd|t_ce|t_cl|t_cm|t_cs|t_da|t_db|t_dl|t_fs|t_k1|t_k2|t_k3|t_k4|t_k5|t_k6|t_k7|t_k8|t_k9|t_kB|t_kD|t_kI|t_kN|t_kP|t_kb|t_kd|t_ke|t_kh|t_kl|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_se|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_xs|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?)\b/i,operator:/\|\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\/%?]|\b(?:is(?:not)?)\b/,punctuation:/[{}[\](),;:]/}}return
152bM=1,gM=e,e.displayName="vim",e.aliases=[],gM}()),e.register(function(){if(vM)return yM;function e(e){e.languages["visual-basic"]={comment:{pattern:/(?:['ââ]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["ââ](?:["ââ]{2}|[^"ââ])*["ââ]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},e.languages.vb=e.languages["visual-basic"],e.languages.vba=e.languages["visual-basic"]}return vM=1,yM=e,e.displayName="visualBasic",e.aliases=[],yM}()),e.register(function(){if(SM)return xM;function e(e){e.languages.warpscript={comment:/#.*|\/\/.*|\/\*[\s\S]*?\*\//,string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'|<'(?:[^\\']|'(?!>)|\\.)*'>/,greedy:!0},variable:/\$\S+/,macro:{pattern:/@\S+/,alias:"property"},keyword:/\b(?:BREAK|CHECKMACRO|CONTINUE|CUDF|DEFINED|DEFINEDMACRO|EVAL|FAIL|FOR|FOREACH|FORSTEP|IFT|IFTE|MSGFAIL|NRETURN|RETHROW|RETURN|SWITCH|TRY|UDF|UNTIL|WHILE)\b/,number:/[+-]?\b(?:NaN|Infinity|\d+(?:\.\d*)?(?:[Ee][+-]?\d+)?|0x[\da-fA-F]+|0b[01]+)\b/,boolean:/\b(?:F|T|false|true)\b/,punctuation:/<%|%>|[{}[\]()]/,operator:/==|&&?|\|\|?|\*\*?|>>>?|<<|[<>!~]=?|[-/%^]|\+!?|\b(?:AND|NOT|OR)\b/}}return SM=1,xM=e,e.displayName="warpscript",e.aliases=[],xM}()),e.register(function(){if(EM)return wM;function e(e){e.languages.wasm={comment:[/\(;[\s\S]*?;\)/,{pattern:/;;.*/,greedy:!0}],string:{pattern:/"(?:\\[\s\S]|[^"\\])*"/,greedy:!0},keyword:[{pattern:/\b(?:align|offset)=/,inside:{operator:/=/}},{pattern:/\b(?:(?:f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|neg?|nearest|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|sqrt|store(?:8|16|32)?|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))?|memory\.(?:grow|size))\b/,inside:{punctuation:/\./}},/\b(?:anyfunc|block|br(?:_if|_table)?|call(?:_indirect)?|data|drop|elem|else|end|export|func|get_(?:global|local)|global|if|import|local|loop|memory|module|mut|nop|offset|param|result|return|select|set_(?:global|local)|start|table|tee_local|then|type|unreachable)\b/],variable:/\$[\w!#$%&'*+\-./:<=>?@\\^`|~]+/,number:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/,punctuation:/[()]/}}return EM=1,wM=e,e.displayName="wasm",e.aliases=[],wM}()),e.register(function(){if(kM)return CM;function e(e){!function(e){var t=/(?:\B-|\b_|\b)[A-Za-z][\w-]*(?![\w-])
vendor: 5,615 bytes, line 152
152/.source,n="(?:"+/\b(?:unsigned\s+)?long\s+long(?![\w-])/.source+"|"+/\b(?:unrestricted|unsigned)\s+[a-z]+(?![\w-])/.source+"|"+/(?!(?:unrestricted|unsigned)\b)/.source+t+/(?:\s*<(?:[^<>]|<[^<>]*>)*>)?/.source+")"+/(?:\s*\?)?/.source,r={};for(var a in e.languages["web-idl"]={comment:{pattern:/\/\/.*|\/\*[\s\S]*?\*\//,greedy:!0},string:{pattern:/"[^"]*"/,greedy:!0},namespace:{pattern:RegExp(/(\bnamespace\s+)/.source+t),lookbehind:!0},"class-name":[{pattern:/(^|[^\w-])(?:iterable|maplike|setlike)\s*<(?:[^<>]|<[^<>]*>)*>/,lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:attribute|const|deleter|getter|optional|setter)\s+)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp("("+/\bcallback\s+/.source+t+/\s*=\s*/.source+")"+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\btypedef\b\s*)/.source+n),lookbehind:!0,inside:r},{pattern:RegExp(/(\b(?:callback|dictionary|enum|interface(?:\s+mixin)?)\s+)(?!(?:interface|mixin)\b)/.source+t),lookbehind:!0},{pattern:RegExp(/(:\s*)/.source+t),lookbehind:!0},RegExp(t+/(?=\s+(?:implements|includes)\b)/.source),{pattern:RegExp(/(\b(?:implements|includes)\s+)/.source+t),lookbehind:!0},{pattern:RegExp(n+"(?="+/\s*(?:\.{3}\s*)?/.source+t+/\s*[(),;=]/.source+")"),inside:r}],builtin:/\b(?:ArrayBuffer|BigInt64Array|BigUint64Array|ByteString|DOMString|DataView|Float32Array|Float64Array|FrozenArray|Int16Array|Int32Array|Int8Array|ObservableArray|Promise|USVString|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray)\b/,keyword:[/\b(?:async|attribute|callback|const|constructor|deleter|dictionary|enum|getter|implements|includes|inherit|interface|mixin|namespace|null|optional|or|partial|readonly|required|setter|static|stringifier|typedef|unrestricted)\b/,/\b(?:any|bigint|boolean|byte|double|float|iterable|long|maplike|object|octet|record|sequence|setlike|short|symbol|undefined|unsigned|void)\b/],boolean:/\b(?:false|true)\b/,number:{pattern:/(^|[^\w-])-?(?:0x[0-9a-f]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|NaN|Infinity)(?![\w-])/i,lookbehind:!0},operator:/\.{3}|[=:?<>-]/,punctuation:/[(){}[\].,;]/},e.languages["web-idl"])"class-name"!==a&&(r[a]=e.languages["web-idl"][a]);e.languages.webidl=e.languages["web-idl"]}(e)}return kM=1,CM=e,e.displayName="webIdl",e.aliases=[],CM}()),e.register(function(){if(AM)return TM;function e(e){e.languages.wiki=e.languages.extend("markup",{"block-comment":{pattern:/(^|[^\\])\/\*[\s\S]*?\*\//,lookbehind:!0,alias:"comment"},heading:{pattern:/^(=+)[^=\r\n].*?\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\1/,inside:{"bold-italic":{pattern:/(''''').+?(?=\1)/,lookbehind:!0,alias:["bold","italic"]},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:"punctuation"},url:[/ISBN +(?:97[89][ -]?)?(?:\d[ -]?){9}[\dx]\b|(?:PMID|RFC) +\d+/i,/\[\[.+?\]\]|\[.+?\]/],variable:[/__[A-Z]+__/,/\{{3}.+?\}{3}/,/\{\{.+?\}\}/],symbol:[/^#redirect/im,/~{3,5}/],"table-tag":{pattern:/((?:^|[|!])[|!])[^|\r\n]+\|(?!\|)/m,lookbehind:!0,inside:{"table-bar":{pattern:/\|$/,alias:"punctuation"},rest:e.languages.markup.tag.inside}},punctuation:/^(?:\{\||\|\}|\|-|[*#:;!|])|\|\||!!/m}),e.languages.insertBefore("wiki","tag",{nowiki:{pattern:/<(nowiki|pre|source)\b[^>]*>[\s\S]*?<\/\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\b[^>]*>|<\/(?:nowiki|pre|source)>/i,inside:e.languages.markup.tag.inside}}}})}return AM=1,TM=e,e.displayName="wiki",e.aliases=[],TM}()),e.register(function(){if(NM)return IM;function e(e){e.languages.wolfram={comment:/\(\*(?:\(\*(?:[^*]|\*(?!\)))*\*\)|(?!\(\*)[\s\S])*?\*\)/,string:{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:Abs|AbsArg|Accuracy|Block|Do|For|Function|If|Manipulate|Module|Nest|NestList|None|Return|Switch|Table|Which|While)\b/,context:{pattern:/\b\w+`+\w*/,alias:"class-name"},blank:{pattern:/\b\w+_\b/,alias:"regex"},"global-variable":{pattern:/\$\w+/,alias:"variable"},boolean:/\b(?:False|True)\b/,number:/(?:\b(?=\d)|\B(?=\.))(?:0[bo])?(?:(?:\d|0x[\da-f])[\da-f]*(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?j?\b/i,operator:/\/\.|;|=\.|\^=|\^:=|:=|<<|>>|<\||\|>|:>|\|->|->|<-|@@@|@@|@|\/@|=!=|===|==|=|\+|-|\^|\[\/-+%=\]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},e.languages.mathematica=e.languages.wolfram,e.languages.wl=e.languages.wolfram,e.languages.nb=e.languages.wolfram}return NM=1,IM=e,e.displayName="wolfram",e.aliases=["mathematica","wl","nb"],IM}()),e.register(function(){if(RM)return _M;function e(e){e.languages.wren={comment:[{pattern:/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|\/\*(?:[^*/]|\*(?!\/)|\/(?!\*))*\*\/)*\*\/)*\*\//,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],"triple-quoted-string":{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string"},"string-literal":null,hashbang:{pattern:/^#!\/.+/,greedy:!0,alias:"comment"},attribute:{pattern:/#!?[ \t\u3000]*\w+/,alias:"keyword"},"class-name":[{pattern:/(\bclass\s+)\w+/,lookbehind:!0},/\b[A-Z][a-z\d_]*\b/],constant:/\b[A-Z][A-Z\d_]*\b/,null:{pattern:/\bnull\b/,alias:"keyword"},keyword:/\b(?:as|break|class|construct|continue|else|for|foreign|if|import|in|is|return|static|super|this|var|while)\b/,boolean:/\b(?:false|true)\b/,number:/\b(?:0x[\da-f]+|\d+(?:\.\d+)?(?:e[+-]?\d+)?)\b/i,function:/\b[a-z_]\w*(?=\s*[({])/i,operator:/<<|>>|[=!<>]=?|&&|\|\||[-+*/%~^&|?:]|\.{2,3}/,punctuation:/[\[\](){}.,;]/},e.languages.wren["string-literal"]={pattern:/(^|[^\\"])"(?:[^\\"%]|\\[\s\S]|%(?!\()|%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\))*"/,lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2}
152)*)%\((?:[^()]|\((?:[^()]|\([^)]*\))*\))*\)/,lookbehind:!0,inside:{expression:{pattern:/^(%\()[\s\S]+(?=\)$)/,lookbehind:!0,inside:e.languages.wren},"interpolation-punctuation":{pattern:/^%\(|\)$/,alias:"punctuation"}}},string:/[\s\S]+/}}}return RM=1,_M=e,e.displayName="wren",e.aliases=[],_M}()),e.register(function(){if(LM)return OM;function e(e){!function(e){e.languages.xeora=e.languages.extend("markup",{constant:{pattern:/\$(?:DomainContents|PageRenderDuration)\$/,inside:{punctuation:{pattern:/\$/}}},variable:{pattern:/\$@?(?:#+|[-+*~=^])?[\w.]+\$/,inside:{punctuation:{pattern:/[$.]/},operator:{pattern:/#+|[-+*~=^@]/}}},"function-inline":{pattern:/\$F:[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\$/,inside:{variable:{pattern:/(?:[,|])@?(?:#+|[-+*~=^])?[\w.]+/,inside:{punctuation:{pattern:/[,.|]/},operator:{pattern:/#+|[-+*~=^@]/}}},punctuation:{pattern:/\$\w:|[$:?.,|]/}},alias:"function"},"function-block":{pattern:/\$XF:\{[-\w.]+\?[-\w.]+(?:,(?:(?:@[-#]*\w+\.[\w+.]\.*)*\|)*(?:(?:[\w+]|[-#*.~^]+[\w+]|=\S)(?:[^$=]|=+[^=])*=*|(?:@[-#]*\w+\.[\w+.]\.*)+(?:(?:[\w+]|[-#*~^][-#*.~^]*[\w+]|=\S)(?:[^$=]|=+[^=])*=*)?)?)?\}:XF\$/,inside:{punctuation:{pattern:/[$:{}?.,|]/}},alias:"function"},"directive-inline":{pattern:/\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\/\w.]+\$/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}}},alias:"function"},"directive-block-open":{pattern:/\$\w+:\{|\$\w(?:#\d+\+?)?(?:\[[-\w.]+\])?:[-\w.]+:\{(?:![A-Z]+)?/,inside:{punctuation:{pattern:/\$(?:\w:|C(?:\[|#\d))?|[:{[\]]/,inside:{tag:{pattern:/#\d/}}},attribute:{pattern:/![A-Z]+$/,inside:{punctuation:{pattern:/!/}},alias:"keyword"}},alias:"function"},"directive-block-separator":{pattern:/\}:[-\w.]+:\{/,inside:{punctuation:{pattern:/[:{}]/}},alias:"function"},"directive-block-close":{pattern:/\}:[-\w.]+\$/,inside:{punctuation:{pattern:/[:{}$]/}},alias:"function"}}),e.languages.insertBefore("inside","punctuation",{variable:e.languages.xeora["function-inline"].inside.variable},e.languages.xeora["function-block"]),e.languages.xeoracube=e.languages.xeora}(e)}return LM=1,OM=e,e.displayName="xeora",e.aliases=["xeoracube"],OM}()),e.register(function(){if(PM)return DM;function e(e){!function(e){function t(t,n){e.languages[t]&&e.languages.insertBefore(t,"comment",{"doc-comment":n})}var n=e.languages.markup.tag,r={pattern:/\/\/\/.*/,greedy:!0,alias:"comment",inside:{tag:n}},a={pattern:/'''.*/,greedy:!0,alias:"comment",inside:{tag:n}};t("csharp",r),t("fsharp",r),t("vbnet",a)}(e)}return PM=1,DM=e,e.displayName="xmlDoc",e.aliases=[],DM}()),e.register(function(){if(jM)return MM;function e(e){e.languages.xojo={comment:{pattern:/(?:'|\/\/|Rem\b).+/i,greedy:!0},string:{pattern:/"(?:""|[^"])*"/,greedy:!0},number:[/(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:E[+-]?\d+)?/i,/&[bchou][a-z\d]+/i],directive:{pattern:/#(?:Else|ElseIf|Endif|If|Pragma)\b/i,alias:"property"},keyword:/\b(?:AddHandler|App|Array|As(?:signs)?|Auto|Boolean|Break|By(?:Ref|Val)|Byte|Call|Case|Catch|CFStringRef|CGFloat|Class|Color|Const|Continue|CString|Currency|CurrentMethodName|Declare|Delegate|Dim|Do(?:uble|wnTo)?|Each|Else(?:If)?|End|Enumeration|Event|Exception|Exit|Extends|False|Finally|For|Function|Get|GetTypeInfo|Global|GOTO|If|Implements|In|Inherits|Int(?:8|16|32|64|eger|erface)?|Lib|Loop|Me|Module|Next|Nil|Object|Optional|OSType|ParamArray|Private|Property|Protected|PString|Ptr|Raise(?:Event)?|ReDim|RemoveHandler|Return|Select(?:or)?|Self|Set|Shared|Short|Single|Soft|Static|Step|String|Sub|Super|Text|Then|To|True|Try|Ubound|UInt(?:8|16|32|64|eger)?|Until|Using|Var(?:iant)?|Wend|While|WindowPtr|WString)\b/i,operator:/<[=>]?|>=?|[+\-*\/\\^=]|\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|WeakAddressOf|Xor)\b/i,punctuation:/[.,;:()]/}}return jM=1,MM=e,e.displayName="xojo",e.aliases=[],MM}()),e.register(function(){if(zM)return FM;function e(e){!function(e){e.languages.xquery=e.languages.extend("markup",{"xquery-comment":{pattern:/\(:[\s\S]*?:\)/,greedy:!0,alias:"comment"},string:{pattern:/(["'])(?:\1\1|(?!\1)[\s\S])*\1/,greedy:!0}
vendor: 4,754 bytes, line 152
152,extension:{pattern:/\(#.+?#\)/,alias:"symbol"},variable:/\$[-\w:]+/,axis:{pattern:/(^|[^-])(?:ancestor(?:-or-self)?|attribute|child|descendant(?:-or-self)?|following(?:-sibling)?|parent|preceding(?:-sibling)?|self)(?=::)/,lookbehind:!0,alias:"operator"},"keyword-operator":{pattern:/(^|[^:-])\b(?:and|castable as|div|eq|except|ge|gt|idiv|instance of|intersect|is|le|lt|mod|ne|or|union)\b(?=$|[^:-])/,lookbehind:!0,alias:"operator"},keyword:{pattern:/(^|[^:-])\b(?:as|ascending|at|base-uri|boundary-space|case|cast as|collation|construction|copy-namespaces|declare|default|descending|else|empty (?:greatest|least)|encoding|every|external|for|function|if|import|in|inherit|lax|let|map|module|namespace|no-inherit|no-preserve|option|order(?: by|ed|ing)?|preserve|return|satisfies|schema|some|stable|strict|strip|then|to|treat as|typeswitch|unordered|validate|variable|version|where|xquery)\b(?=$|[^:-])/,lookbehind:!0},function:/[\w-]+(?::[\w-]+)*(?=\s*\()/,"xquery-element":{pattern:/(element\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"tag"},"xquery-attribute":{pattern:/(attribute\s+)[\w-]+(?::[\w-]+)*/,lookbehind:!0,alias:"attr-name"},builtin:{pattern:/(^|[^:-])\b(?:attribute|comment|document|element|processing-instruction|text|xs:(?:ENTITIES|ENTITY|ID|IDREFS?|NCName|NMTOKENS?|NOTATION|Name|QName|anyAtomicType|anyType|anyURI|base64Binary|boolean|byte|date|dateTime|dayTimeDuration|decimal|double|duration|float|gDay|gMonth|gMonthDay|gYear|gYearMonth|hexBinary|int|integer|language|long|negativeInteger|nonNegativeInteger|nonPositiveInteger|normalizedString|positiveInteger|short|string|time|token|unsigned(?:Byte|Int|Long|Short)|untyped(?:Atomic)?|yearMonthDuration))\b(?=$|[^:-])/,lookbehind:!0},number:/\b\d+(?:\.\d+)?(?:E[+-]?\d+)?/,operator:[/[+*=?|@]|\.\.?|:=|!=|<[=<]?|>[=>]?/,{pattern:/(\s)-(?=\s)/,lookbehind:!0}],punctuation:/[[\](){},;:/]/}),e.languages.xquery.tag.pattern=/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/,e.languages.xquery.tag.inside["attr-value"].pattern=/=(?:("|')(?:\\[\s\S]|\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}|(?!\1)[^\\])*\1|[^\s'">=]+)/,e.languages.xquery.tag.inside["attr-value"].inside.punctuation=/^="|"$/,e.languages.xquery.tag.inside["attr-value"].inside.expression={pattern:/\{(?!\{)(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}/,inside:e.languages.xquery,alias:"language-xquery"};var t=function(e){return"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(t).join("")},n=function(r){for(var a=[],o=0;o<r.length;o++){var i=r[o],s=!1;if("string"!=typeof i&&("tag"===i.type&&i.content[0]&&"tag"===i.content[0].type?"</"===i.content[0].content[0].content?a.length>0&&a[a.length-1].tagName===t(i.content[0].content[1])&&a.pop():"/>"===i.content[i.content.length-1].content||a.push({tagName:t(i.content[0].content[1]),openedBraces:0}):!(a.length>0&&"punctuation"===i.type&&"{"===i.content)||r[o+1]&&"punctuation"===r[o+1].type&&"{"===r[o+1].content||r[o-1]&&"plain-text"===r[o-1].type&&"{"===r[o-1].content?a.length>0&&a[a.length-1].openedBraces>0&&"punctuation"===i.type&&"}"===i.content?a[a.length-1].openedBraces--:"comment"!==i.type&&(s=!0):a[a.length-1].openedBraces++),(s||"string"==typeof i)&&a.length>0&&0===a[a.length-1].openedBraces){var l=t(i);o<r.length-1&&("string"==typeof r[o+1]||"plain-text"===r[o+1].type)&&(l+=t(r[o+1]),r.splice(o+1,1)),o>0&&("string"==typeof r[o-1]||"plain-text"===r[o-1].type)&&(l=t(r[o-1])+l,r.splice(o-1,1),o--),/^\s+$/.test(l)?r[o]=l:r[o]=new e.Token("plain-text",l,null,l)}i.content&&"string"!=typeof i.content&&n(i.content)}};e.hooks.add("after-tokenize",function(e){"xquery"===e.language&&n(e.tokens)})}(e)}return zM=1,FM=e,e.displayName="xquery",e.aliases=[],FM}()),e.register(fj()),e.register(function(){if(BM)return $M;function e(e){e.languages.yang={comment:/\/\*[\s\S]*?\*\/|\/\/.*/,string:{pattern:/"(?:[^\\"]|\\.)*"|'[^']*'/,greedy:!0},keyword:{pattern:/(^|[{};\r\n][ \t]*)[a-z_][\w.-]*/i,lookbehind:!0},namespace:{pattern:/(\s)[a-z_][\w.-]*(?=:)/i,lookbehind:!0},boolean:/\b(?:false|true)\b/,operator:/\+/,punctuation:/[{};:]/}}return BM=1,$M=e,e.displayName="yang",e.aliases=[],$M}()),e.register(function(){if(HM)return UM;function e(e){!function(e){function t(e){return function(){return e}}var n=/\b(?:align|allowzero|and|anyframe|anytype|asm|async|await|break|cancel|catch|comptime|const|continue|defer|else|enum|errdefer|error|export|extern|fn|for|if|inline|linksection|nakedcc|noalias|nosuspend|null|or|orelse|packed|promise|pub|resume|return|stdcallcc|struct|suspend|switch|test|threadlocal|try|undefined|union|unreachable|usingnamespace|var|volatile|while)\b/,r="\\b(?!"+n.source+")(?!\\d)\\w+\\b",a=/align\s*\((?:[^()]|\([^()]
152*\))*\)/.source,o="(?!\\s)(?:!?\\s*(?:"+/(?:\?|\bpromise->|(?:\[[^[\]]*\]|\*(?!\*)|\*\*)(?:\s*<ALIGN>|\s*const\b|\s*volatile\b|\s*allowzero\b)*)/.source.replace(/<ALIGN>/g,t(a))+"\\s*)*"+/(?:\bpromise\b|(?:\berror\.)?<ID>(?:\.<ID>)*(?!\s+<ID>))/.source.replace(/<ID>/g,t(r))+")+";e.languages.zig={comment:[{pattern:/\/\/[/!].*/,alias:"doc-comment"},/\/{2}.*/],string:[{pattern:/(^|[^\\@])c?"(?:[^"\\\r\n]|\\.)*"/,lookbehind:!0,greedy:!0},{pattern:/([\r\n])([ \t]+c?\\{2}).*(?:(?:\r\n?|\n)\2.*)*/,lookbehind:!0,greedy:!0}],char:{pattern:/(^|[^\\])'(?:[^'\\\r\n]|[\uD800-\uDFFF]{2}|\\(?:.|x[a-fA-F\d]{2}|u\{[a-fA-F\d]{1,6}\}))'/,lookbehind:!0,greedy:!0},builtin:/\B@(?!\d)\w+(?=\s*\()/,label:{pattern:/(\b(?:break|continue)\s*:\s*)\w+\b|\b(?!\d)\w+\b(?=\s*:\s*(?:\{|while\b))/,lookbehind:!0},"class-name":[/\b(?!\d)\w+(?=\s*=\s*(?:(?:extern|packed)\s+)?(?:enum|struct|union)\s*[({])/,{pattern:RegExp(/(:\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?[=;,)])|<TYPE>(?=\s*(?:<ALIGN>\s*)?\{)/.source.replace(/<TYPE>/g,t(o)).replace(/<ALIGN>/g,t(a))),lookbehind:!0,inside:null},{pattern:RegExp(/(\)\s*)<TYPE>(?=\s*(?:<ALIGN>\s*)?;)/.source.replace(/<TYPE>/g,t(o)).replace(/<ALIGN>/g,t(a))),lookbehind:!0,inside:null}],"builtin-type":{pattern:/\b(?:anyerror|bool|c_u?(?:int|long|longlong|short)|c_longdouble|c_void|comptime_(?:float|int)|f(?:16|32|64|128)|[iu](?:8|16|32|64|128|size)|noreturn|type|void)\b/,alias:"keyword"},keyword:n,function:/\b(?!\d)\w+(?=\s*\()/,number:/\b(?:0b[01]+|0o[0-7]+|0x[a-fA-F\d]+(?:\.[a-fA-F\d]*)?(?:[pP][+-]?[a-fA-F\d]+)?|\d+(?:\.\d*)?(?:[eE][+-]?\d+)?)\b/,boolean:/\b(?:false|true)\b/,operator:/\.[*?]|\.{2,3}|[-=]>|\*\*|\+\+|\|\||(?:<<|>>|[-+*]%|[-+*/%^&|<>!=])=?|[?~]/,punctuation:/[.:,;(){}[\]]/},e.languages.zig["class-name"].forEach(function(t){null===t.inside&&(t.inside=e.languages.zig)})}(e)}return HM=1,UM=e,e.displayName="zig",e.aliases=[],UM}()),VM}();var hj=function(e,t){return function(n){var r=n.language,a=n.children,o=n.style,i=void 0===o?t:o,s=n.customStyle,c=void 0===s?{}:s,u=n.codeTagProps,d=void 0===u?{className:r?"language-".concat(r):void 0,style:BC(BC({},i['code[class*="language-"]']),i['code[class*="language-'.concat(r,'"]')])}:u,p=n.useInlineStyles,f=void 0===p||p,m=n.showLineNumbers,h=void 0!==m&&m,g=n.showInlineLineNumbers,b=void 0===g||g,y=n.startingLineNumber,v=void 0===y?1:y,x=n.lineNumberContainerStyle,S=n.lineNumberStyle,w=void 0===S?{}:S,E=n.wrapLines,C=n.wrapLongLines,k=void 0!==C&&C,T=n.lineProps,A=void 0===T?{}:T,I=n.renderer,N=n.PreTag,_=void 0===N?"pre":N,R=n.CodeTag,O=void 0===R?"code":R,L=n.code,D=void 0===L?(Array.isArray(a)?a[0]:a)||"":L,P=n.astGenerator,M=function(e,t){if(null==e)return{};var n,r,a=Ia(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(n,zC);P=P||e;var j=h?l.createElement(HC,{containerStyle:x,codeStyle:d.style||{},numberStyle:w,startingLineNumber:v,codeString:D}):null,F=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},z=KC(P)?"hljs":"prismjs",$=f?Object.assign({},M,{style:Object.assign({},F,c)}):Object.assign({},M,{className:M.className?"".concat(z," ").concat(M.className):z,style:Object.assign({},c)});if(d.style=BC(k?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"},d.style),!P)return l.createElement(_,$,j,l.createElement(O,d,D));(void 0===E&&I||k)&&(E=!0),I=I||XC;var B=[{type:"text",value:D}],U=function(e){var t=e.astGenerator,n=e.language,r=e.code,a=e.defaultCodeValue;if(KC(t)){var o=function(e,t){return-1!==e.listLanguages().indexOf(t)}(t,n);return"text"===n?{value:a,language:"text"}:o?t.highlight(n,r):t.highlightAuto(r)}try{return n&&"text"!==n?{value:t.highlight(r,n)}:{value:a}}catch(yU){return{value:a}}}({astGenerator:P,language:r,code:D,defaultCodeValue:B});null===U.language&&(U.value=B);var H=U.value.length;1===H&&"text"===U.value[0].type&&(H=U.value[0].value.split("\n").length);var V=YC(U,E,A,h,b,v,H+v,w,k);return l.createElement(_,$,l.createElement(O,d,!b&&j,I({rows:V,stylesheet:i,useInlineStyles:f})))}}(m(mj),{'code[class*="language-"]':{color:"black",background:"none",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'And
152ale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"black",background:"#f5f2f0",textShadow:"0 1px white",fontFamily:"Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace",fontSize:"1em",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",wordWrap:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto"},'pre[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::-moz-selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'pre[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"]::selection':{textShadow:"none",background:"#b3d4fc"},'code[class*="language-"] ::selection':{textShadow:"none",background:"#b3d4fc"},':not(pre) > code[class*="language-"]':{background:"#f5f2f0",padding:".1em",borderRadius:".3em",whiteSpace:"normal"},comment:{color:"slategray"},prolog:{color:"slategray"},doctype:{color:"slategray"},cdata:{color:"slategray"},punctuation:{color:"#999"},namespace:{Opacity:".7"},property:{color:"#905"},tag:{color:"#905"},boolean:{color:"#905"},number:{color:"#905"},constant:{color:"#905"},symbol:{color:"#905"},deleted:{color:"#905"},selector:{color:"#690"},"attr-name":{color:"#690"},string:{color:"#690"},char:{color:"#690"},builtin:{color:"#690"},inserted:{color:"#690"},operator:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},entity:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)",cursor:"help"},url:{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".language-css .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},".style .token.string":{color:"#9a6e3a",background:"hsla(0, 0%, 100%, .5)"},atrule:{color:"#07a"},"attr-value":{color:"#07a"},keyword:{color:"#07a"},function:{color:"#DD4A68"},"class-name":{color:"#DD4A68"},regex:{color:"#e90"},important:{color:"#e90",fontWeight:"bold"},variable:{color:"#e90"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}});hj.supportedLanguages=["abap","abnf","actionscript","ada","agda","al","antlr4","apacheconf","apex","apl","applescript","aql","arduino","arff","asciidoc","asm6502","asmatmel","aspnet","autohotkey","autoit","avisynth","avro-idl","bash","basic","batch","bbcode","bicep","birb","bison","bnf","brainfuck","brightscript","bro","bsl","c","cfscript","chaiscript","cil","clike","clojure","cmake","cobol","coffeescript","concurnas","coq","cpp","crystal","csharp","cshtml","csp","css-extras","css","csv","cypher","d","dart","dataweave","dax","dhall","diff","django","dns-zone-file","docker","dot","ebnf","editorconfig","eiffel","ejs","elixir","elm","erb","erlang","etlua","excel-formula","factor","false","firestore-security-rules","flow","fortran","fsharp","ftl","gap","gcode","gdscript","gedcom","gherkin","git","glsl","gml","gn","go-module","go","graphql","groovy","haml","handlebars","haskell","haxe","hcl","hlsl","hoon","hpkp","hsts","http","ichigojam","icon","icu-message-format","idris","iecst","ignore","inform7","ini","io","j","java","javadoc","javadoclike","javascript","javastacktrace","jexl","jolie","jq","js-extras","js-templates","jsdoc","json","json5","jsonp","jsstacktrace","jsx","julia","keepalived","keyman","kotlin","kumir","kusto","latex","latte","less","lilypond","liquid","lisp","livescript","llvm","log","lolcode","lua","magma","makefile","markdown","markup-templating","markup","matlab","maxscript","mel","mermaid","mizar","mongodb","monkey","moonscript","n1ql","n4js","nand2tetris-hdl","naniscript","nasm","neon","nevod","nginx","nim","nix","nsis","objectivec","ocaml","opencl","openqasm","oz","parigp","parser","pascal","pascaligo","pcaxis","peoplecode","perl","php-extras","php","phpdoc","plsql","powerquery","powershell","processing","prolog","promql","properties","protobuf","psl","pug","puppet","pure","purebasic","purescript","python","q","qml","qore","qsharp","r","racket","reason","regex","rego","renpy","rest","rip","roboconf","robotframework","ruby","rust","sas","
152sass","scala","scheme","scss","shell-session","smali","smalltalk","smarty","sml","solidity","solution-file","soy","sparql","splunk-spl","sqf","sql","squirrel","stan","stylus","swift","systemd","t4-cs","t4-templating","t4-vb","tap","tcl","textile","toml","tremor","tsx","tt2","turtle","twig","typescript","typoscript","unrealscript","uorazor","uri","v","vala","vbnet","velocity","verilog","vhdl","vim","visual-basic","warpscript","wasm","web-idl","wiki","wolfram","wren","xeora","xml-doc","xojo","xquery","yaml","yang","zig"];const gj={'code[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#c5c8c6",textShadow:"0 1px rgba(0, 0, 0, 0.3)",fontFamily:"Inconsolata, Monaco, Consolas, 'Courier New', Courier, monospace",direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",borderRadius:"0.3em",background:"#1d1f21"},':not(pre) > code[class*="language-"]':{background:"#1d1f21",padding:".1em",borderRadius:".3em"},comment:{color:"#7C7C7C"},prolog:{color:"#7C7C7C"},doctype:{color:"#7C7C7C"},cdata:{color:"#7C7C7C"},punctuation:{color:"#c5c8c6"},".namespace":{Opacity:".7"},property:{color:"#96CBFE"},keyword:{color:"#96CBFE"},tag:{color:"#96CBFE"},"class-name":{color:"#FFFFB6",textDecoration:"underline"},boolean:{color:"#99CC99"},constant:{color:"#99CC99"},symbol:{color:"#f92672"},deleted:{color:"#f92672"},number:{color:"#FF73FD"},selector:{color:"#A8FF60"},"attr-name":{color:"#A8FF60"},string:{color:"#A8FF60"},char:{color:"#A8FF60"},builtin:{color:"#A8FF60"},inserted:{color:"#A8FF60"},variable:{color:"#C6C5FE"},operator:{color:"#EDEDED"},entity:{color:"#FFFFB6",cursor:"help"},url:{color:"#96CBFE"},".language-css .token.string":{color:"#87C38A"},".style .token.string":{color:"#87C38A"},atrule:{color:"#F9EE98"},"attr-value":{color:"#F9EE98"},function:{color:"#DAD085"},regex:{color:"#E9C062"},important:{color:"#fd971f",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"}},bj={'code[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]':{color:"#393A34",fontFamily:'"Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",fontSize:".9em",lineHeight:"1.2em",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",border:"1px solid #dddddd",backgroundColor:"white"},'pre > code[class*="language-"]':{fontSize:"1em"},'pre[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"]::-moz-selection':{background:"#C1DEF1"},'code[class*="language-"] ::-moz-selection':{background:"#C1DEF1"},'pre[class*="language-"]::selection':{background:"#C1DEF1"},'pre[class*="language-"] ::selection':{background:"#C1DEF1"},'code[class*="language-"]::selection':{background:"#C1DEF1"},'code[class*="language-"] ::selection':{background:"#C1DEF1"},':not(pre) > code[class*="language-"]':{padding:".2em",paddingTop:"1px",paddingBottom:"1px",background:"#f8f8f8",border:"1px solid #dddddd"},comment:{color:"#008000",fontStyle:"italic"},prolog:{color:"#008000",fontStyle:"italic"},doctype:{color:"#008000",fontStyle:"italic"},cdata:{color:"#008000",fontStyle:"italic"},namespace:{Opacity:".7"},string:{color:"#A31515"},punctuation:{color:"#393A34"},operator:{color:"#393A34"},url:{color:"#36acaa"},symbol:{color:"#36acaa"},number:{color:"#36acaa"},boolean:{color:"#36acaa"},variable:{color:"#36acaa"},constant:{color:"#36acaa"},inserted:{color:"#36acaa"},atrule:{color:"#0000ff"},keyword:{color:"#0000ff"},"attr-value":{color:"#0000ff"},".language-autohotkey .token.selector":{color:"#0000ff"},".language-json .token.boolean":{color:"#0000ff"},".language-json .token.number":{color:"#0000ff"},'code[class*="language-css"]':{color:"#0000ff"},function:{color:"#393A34"},deleted:{color:"#9a050f"},".language-autohotkey .token.tag":{color:"#9a050f"},selector:{color:"#800000"},".language-autohotkey .token.keyword":{color:"#00009f"},important:{color:"#e90",fontWeight:"bold"},bold:{fontWeight:"bold"},italic:{fontStyle:"italic"},"class-name":{color:"#2B91AF"},".language-json .token.property":{color:"#2B91AF"},tag:{color:"#800000"},"attr-name":{color:"#ff0000"},property:{color:"#ff0000"},regex:{color:"#ff0000"},entity:{color:"#ff0000"},"directive.tag.tag":{background:"#ffff00",color:"#393A34"},".line-numbers.line-numbers .line-numbers-rows":{borderRightColor:"#a5a5a5"},".line-numbers .line-numbers-rows > span:before":{color:"#2B91AF"},".line-highlight.line-highlight":{background:"linear-gradient(to right, rgba(193, 222, 241, 0.2) 70%, rgba(221, 222, 241, 0))"}},yj={'pre[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none",padding:"1em",margin:".5em 0",overflow:"auto",background:"#1e1e1e"},'code[class*="language-"]':{color:"#d4d4d4",fontSize:"13px",textShadow:"none",fontFamily:'Menlo, Monaco, Consolas, "Andale Mono", "Ubuntu Mono", "Courier New", monospace',direction:"ltr",textAlign:"left",whiteSpace:"pre",wordSpacing:"normal",wordBreak:"normal",lineHeight:"1.5",MozTabSize:"4",OTabSize:"4",tabSize:"4",WebkitHyphens:"none",MozHyphens:"none",msHyphens:"none",hyphens:"none"},'pre[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"]::selection':{textShadow:"none",background:"#264F78"},'pre[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},'code[class*="language-"] *::selection':{textShadow:"none",background:"#264F78"},':not(pre) > code[class*="language-"]':{padding:".1em .3em",borderRadius:".3em",color:"#db4c69",background:"#1e1e1e"},".namespace":{Opacity:".7"},"doctype.doctype-tag":{color:"#569CD6"},"doctype.name":{color:"#9cdcfe"},comment:{color:"#6a9955"},prolog:{color:"#6a9955"},punctuation:{color:"#d4d4d4"},".language-html .language-css .token.punctuation":{color:"#d4d4d4"},".language-html .language-javascript .token.punctuation":{color:"#d4d4d4"},property:{color:"#9cdcfe"},tag:{color:"#569cd6"},boolean:{color:"#569cd6"},number:{color:"#b5cea8"}
152,constant:{color:"#9cdcfe"},symbol:{color:"#b5cea8"},inserted:{color:"#b5cea8"},unit:{color:"#b5cea8"},selector:{color:"#d7ba7d"},"attr-name":{color:"#9cdcfe"},string:{color:"#ce9178"},char:{color:"#ce9178"},builtin:{color:"#ce9178"},deleted:{color:"#ce9178"},".language-css .token.string.url":{textDecoration:"underline"},operator:{color:"#d4d4d4"},entity:{color:"#569cd6"},"operator.arrow":{color:"#569CD6"},atrule:{color:"#ce9178"},"atrule.rule":{color:"#c586c0"},"atrule.url":{color:"#9cdcfe"},"atrule.url.function":{color:"#dcdcaa"},"atrule.url.punctuation":{color:"#d4d4d4"},keyword:{color:"#569CD6"},"keyword.module":{color:"#c586c0"},"keyword.control-flow":{color:"#c586c0"},function:{color:"#dcdcaa"},"function.maybe-class-name":{color:"#dcdcaa"},regex:{color:"#d16969"},important:{color:"#569cd6"},italic:{fontStyle:"italic"},"class-name":{color:"#4ec9b0"},"maybe-class-name":{color:"#4ec9b0"},console:{color:"#9cdcfe"},parameter:{color:"#9cdcfe"},interpolation:{color:"#9cdcfe"},"punctuation.interpolation-punctuation":{color:"#569cd6"},variable:{color:"#9cdcfe"},"imports.maybe-class-name":{color:"#9cdcfe"},"exports.maybe-class-name":{color:"#9cdcfe"},escape:{color:"#d7ba7d"},"tag.punctuation":{color:"#808080"},cdata:{color:"#808080"},"attr-value":{color:"#ce9178"},"attr-value.punctuation":{color:"#ce9178"},"attr-value.punctuation.attr-equals":{color:"#d4d4d4"},namespace:{color:"#4ec9b0"},'pre[class*="language-javascript"]':{color:"#9cdcfe"},'code[class*="language-javascript"]':{color:"#9cdcfe"},'pre[class*="language-jsx"]':{color:"#9cdcfe"},'code[class*="language-jsx"]':{color:"#9cdcfe"},'pre[class*="language-typescript"]':{color:"#9cdcfe"},'code[class*="language-typescript"]':{color:"#9cdcfe"},'pre[class*="language-tsx"]':{color:"#9cdcfe"},'code[class*="language-tsx"]':{color:"#9cdcfe"},'pre[class*="language-css"]':{color:"#ce9178"},'code[class*="language-css"]':{color:"#ce9178"},'pre[class*="language-html"]':{color:"#d4d4d4"},'code[class*="language-html"]':{color:"#d4d4d4"},".language-regex .token.anchor":{color:"#dcdcaa"},".language-html .token.punctuation":{color:"#808080"},'pre[class*="language-"] > code[class*="language-"]':{position:"relative",zIndex:"1"},".line-highlight.line-highlight":{background:"#f7ebc6",boxShadow:"inset 5px 0 0 #f7d87c",zIndex:"0"}},vj=({open:e,onClose:t,field:n={},onSave:r,savedLists:a,availablePaths:i=[]})=>{const s=n.path||"",l=s.replace(/\/\d+\//g,"/"),c=n.config||{behavior:"keep",selectedListId:"",valueList:[],selectionMode:"sequence",uuidCase:"lower",uuidPrefix:"",uuidSuffix:"",referencePath:"",referenceTransform:"",dateMode:"increment",baseDate:"",dateFormat:"YYYY-MM-DD",daysIncrement:1,startDate:"",endDate:"",includeTime:!1,startValue:"",incrementAmount:1,useTemplateValue:!0,numberMin:0,numberMax:100,isInteger:!0,decimalPlaces:2,customScript:""},[u,d]=o.useState({path:s,config:{...c}}),[p,f]=o.useState("monaco"),[m,h]=o.useState(!0),g=o.useRef(null);o.useEffect(()=>{if(e){const e={...{behavior:"keep",selectedListId:"",valueList:[],selectionMode:"sequence",sequenceBasis:"file",uuidCase:"lower",uuidPrefix:"",uuidSuffix:"",referencePath:"",referenceTransform:"",dateMode:"increment",baseDate:"",dateFormat:"YYYY-MM-DD",daysIncrement:1,startDate:"",endDate:"",includeTime:!1,startValue:"",incrementAmount:1,useTemplateValue:!0,numberMin:0,numberMax:100,isInteger:!0,decimalPlaces:2,customScript:""},...n?.config||{}};e.valueList&&Array.isArray(e.valueList)&&!e.customValuesText&&(e.customValuesText=e.valueList.join("\n")),d({path:n?.path||"",config:e})}},[e,n]),o.useEffect(()=>{if(e&&"monaco"===p){const e=setTimeout(()=>{g.current&&window.dispatchEvent(new Event("resize"))},300);return()=>clearTimeout(e)}},[e,p]);const b=e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,baseDate:t}}))},y=e=>{const t=Math.max(0,parseInt(e.target.value)||0);d(e=>({...e,config:{...e.config,daysIncrement:t}}))},v=e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,startDate:t}}))},x=e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,endDate:t}}))},S=()=>"custom"!==u.config.behavior?null:{title:"Custom Script Help",description:"Use JavaScript expressions to transform or generate values:",code:'// ACCESSING CONTEXT VARIABLES\n// value: The original field value\
152n// index: The current file index (0-based)\n// arrayIdx: The array item index (if inside an array)\n// path: Current field path\n// row: Access to other fields in the same data row\n\n// EXAMPLES FOR DIFFERENT BEHAVIORS:\n\n// Example 1: Enumeration (auto-incrementing)\nconst baseNum = parseInt(value || 0);\nreturn `ITEM-${(baseNum + index).toString().padStart(5, "0")}`;\n\n// Example 2: UUID generation\nreturn \'xxxx-xxxx-xxxx-xxxx\'.replace(/[x]/g, () => {\n return Math.floor(Math.random() * 16).toString(16);\n});\n\n// Example 3: List selection\nconst values = ["Apple", "Banana", "Cherry", "Date"];\nreturn values[index % values.length];\n\n// Example 4: Date generation\nconst date = new Date();\ndate.setDate(date.getDate() + index);\nreturn date.toISOString().split(\'T\')[0]; // YYYY-MM-DD\n\n// Example 5: Number generation\nreturn Math.floor(Math.random() * 100) + 1;\n\n// Example 6: Accessing row fields\n// If your data has fields like title, price, author:\nif (row.price > 20) {\n return `Premium: ${row.title} by ${row.author}`;\n} else {\n return `Standard: ${row.title}`;\n}\n\n// Example 7: Conditional transformations\nreturn value.length > 10 ? value.substring(0, 10) + "..." : value;'};return _.jsxs(Cu,{open:e,onClose:t,maxWidth:"md",fullWidth:!0,children:[_.jsxs(ju,{children:["Configure Field: ",l]}),_.jsxs(Ou,{children:[_.jsx(di,{variant:"body2",color:"textSecondary",sx:{mb:2},children:l}),_.jsxs(ed,{fullWidth:!0,sx:{mb:2},children:[_.jsx(Ld,{children:"Behavior"}),_.jsxs(_f,{value:u.config.behavior,onChange:e=>{const t=e.target.value,n={selectedListId:"",valueList:[],selectionMode:"sequence",uuidCase:"lower",uuidPrefix:"",uuidSuffix:"",referencePath:"",referenceTransform:"",dateMode:"increment",baseDate:"",dateFormat:"YYYY-MM-DD",daysIncrement:1,startDate:"",endDate:"",includeTime:!1,startValue:"",incrementAmount:1,useTemplateValue:!0,numberMin:0,numberMax:100,isInteger:!0,decimalPlaces:2,customScript:""};let r={behavior:t};switch(t){case"list":r={...r,selectedListId:n.selectedListId,valueList:n.valueList,selectionMode:n.selectionMode};break;case"uuid":r={...r,uuidCase:n.uuidCase,uuidPrefix:n.uuidPrefix,uuidSuffix:n.uuidSuffix};break;case"reference":r={...r,referencePath:n.referencePath,referenceTransform:n.referenceTransform};break;case"date":r={...r,dateMode:n.dateMode,baseDate:n.baseDate,dateFormat:n.dateFormat,daysIncrement:n.daysIncrement,startDate:n.startDate,endDate:n.endDate,includeTime:n.includeTime};break;case"enumerate":r={...r,startValue:n.startValue,incrementAmount:n.incrementAmount,useTemplateValue:n.useTemplateValue};break;case"number":r={...r,numberMin:n.numberMin,numberMax:n.numberMax,isInteger:n.isInteger,decimalPlaces:n.decimalPlaces};break;case"custom":r={...r,customScript:n.customScript}}d(e=>({...e,config:r}))},label:"Behavior",children:[_.jsx(zp,{value:"keep",children:"Keep Original"}),_.jsx(zp,{value:"list",children:"Select from List"}),_.jsx(zp,{value:"enumerate",children:"Auto increment"}),_.jsx(zp,{value:"uuid",children:"Generate UUID"}),_.jsx(zp,{value:"reference",children:"Reference Value"}),_.jsx(zp,{value:"date",children:"Generate Date"}),_.jsx(zp,{value:"number",children:"Generate Number"}),_.jsx(zp,{value:"custom",children:"Custom Script"})]})]}),"keep"!==u.config.behavior&&_.jsxs(pc,{sx:{mb:3},children:[_.jsxs(di,{variant:"h6",color:"primary",children:["list"===u.config.behavior&&"Select from List","enumerate"===u.config.behavior&&"Auto increment","uuid"===u.config.behavior&&"Generate UUID","reference"===u.config.behavior&&"Reference Value","date"===u.config.behavior&&"Generate Date","number"===u.config.behavior&&"Generate Number","custom"===u.config.behavior&&"Custom Script"]}),_.jsx(Uu,{sx:{mt:1,mb:2}})]}),"list"===u.config.behavior&&_.jsxs(_.Fragment,{children:[_.jsxs(ed,{fullWidth:!0,sx:{mb:2},children:[_.jsx(Ld,{children:"List"}),_.jsxs(_f,{value:u.config.selectedListId||"",onChange:e=>{const t=e.target.value,n=a.find(e=>e.id===t);d(n?e=>({...e,config:{...e.config,selectedListId:t,valueList:n.items}}):e=>({...e,config:{...e.config,selectedListId:"",valueList:[]}}))},label:"List",children:[_.jsx(zp,{value:"",children:_.jsx("em",{children:"Custom Values"})}),a.map(e=>_.jsx(zp,{value:e.id,children:e.name},e.id))]})]}),u.config.selectedListId&&_.jsxs(ed,{fullWidth:!0,sx:{mb:2},children:[_.jsx(Ld,{children:"Selection Mode"}),_.jsxs(_f,{value:u.config.selectionMode||"sequence",onChange:e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,selectionMode:t}}))},label:"Selection Mode",children:[_.jsx(zp,{value:"sequence",children:"Sequence"}),_.jsx(zp,{value:"random",children:"Random"})]})]}),u.config.selectedListId&&"sequence"===u.config.selectionMode&&_.jsxs(ed,{fullWidth:!0,sx:{mb:2},children:[_.jsx(Ld,{children:"Sequence Basis"}),_.jsxs(_f,{value:u.config.sequenceBasis||"file",onChange:e=>d(t=>({...t,config:{...t.config,sequenceBasis:e.target.value}})),label:"Sequence Basis",children:[_.jsx(zp,{value:"file",children:"File Index"}),_.jsx(zp,{value:"array",children:"Array Index"})]}),_.jsx(fd,{children:"Determines how the sequence advances for array items."})]}),!u.config.selectedListId&&_.jsx(oh,{label:"Custom Values (one per line)",multiline:!0,rows:4,fullWidth:!0,value:u.config.customValuesText||"",onChange:e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,selectedListId:"",customValuesText:t,valueList:t.split("\n").map(e=>
152e.trim()).filter(Boolean)}}))},sx:{mb:2},placeholder:"Enter each value on a new line..."})]}),"enumerate"===u.config.behavior&&_.jsxs(pc,{sx:{mb:3},children:[_.jsx(di,{variant:"subtitle2",sx:{mb:1},children:"Auto increment Settings"}),_.jsx(od,{control:_.jsx(Im,{checked:u.config.useTemplateValue,onChange:e=>{const t=e.target.checked;d(e=>({...e,config:{...e.config,useTemplateValue:t}}))}}),label:"Use template value as starting point",sx:{mb:2}}),!u.config.useTemplateValue&&_.jsx(oh,{fullWidth:!0,label:"Start Value",value:u.config.startValue||"",onChange:e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,startValue:t}}))},placeholder:"Enter a value with numbers (e.g. ID001)",helperText:"Enter a value containing numbers that will be incremented",sx:{mb:2}}),_.jsx(oh,{fullWidth:!0,label:"Increment Amount",type:"number",value:u.config.incrementAmount??1,onChange:e=>{const t=parseInt(e.target.value,10)||1;d(e=>({...e,config:{...e.config,incrementAmount:t}}))},InputProps:{inputProps:{min:1}},helperText:"How much to add to the numeric part for each iteration",sx:{mb:2}}),_.jsx(pc,{sx:{mt:2,p:2,bgcolor:"grey.50",borderRadius:1},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:u.config.useTemplateValue?"Will increment numeric parts in the original value for each file":`Will start from "${u.config.startValue}" and increment by ${u.config.incrementAmount} for each file`})})]}),"uuid"===u.config.behavior&&_.jsxs(pc,{sx:{mb:3},children:[_.jsx(di,{variant:"subtitle2",sx:{mb:2},children:"UUID Generation"}),_.jsxs(ed,{fullWidth:!0,sx:{mb:2},children:[_.jsx(Ld,{children:"Case"}),_.jsxs(_f,{value:u.config.uuidCase||"lower",onChange:e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,uuidCase:t}}))},label:"Case",children:[_.jsx(zp,{value:"lower",children:"Lowercase"}),_.jsx(zp,{value:"upper",children:"Uppercase"})]})]}),_.jsx(oh,{fullWidth:!0,label:"Prefix",value:u.config.uuidPrefix||"",onChange:e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,uuidPrefix:t}}))},placeholder:"Optional prefix before UUID",sx:{mb:2}}),_.jsx(oh,{fullWidth:!0,label:"Suffix",value:u.config.uuidSuffix||"",onChange:e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,uuidSuffix:t}}))},placeholder:"Optional suffix after UUID",sx:{mb:2}}),_.jsx(pc,{sx:{mt:2,p:2,bgcolor:"grey.50",borderRadius:1},children:_.jsxs(di,{variant:"body2",color:"text.secondary",children:["Preview: ",u.config.uuidPrefix,_.jsx("span",{style:{color:"primary.main",letterSpacing:"0.5px"},children:"upper"===u.config.uuidCase?"12345678-ABCD-4EFG-HIJK-LMNOPQRSTUVW":"12345678-abcd-4efg-hijk-lmnopqrstuvw"}),u.config.uuidSuffix]})})]}),"reference"===u.config.behavior&&_.jsxs(pc,{sx:{mb:3},children:[_.jsx(di,{variant:"subtitle2",sx:{mb:2},children:"Reference Configuration"}),_.jsxs(ed,{fullWidth:!0,sx:{mb:2},children:[_.jsx(Ld,{children:"Reference Path"}),_.jsxs(_f,{value:u.config.referencePath||"",onChange:e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,referencePath:t}}))},label:"Reference Path",children:[_.jsx(zp,{value:"",children:_.jsx("em",{children:"Select Path"})}),i.map(e=>_.jsx(zp,{value:e,children:e},e))]})]}),_.jsx(oh,{fullWidth:!0,label:"Transform (JavaScript expression)",value:u.config.referenceTransform||"",onChange:e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,referenceTransform:t}}))},placeholder:"value => value.toUpperCase()",sx:{mb:2}}),u.config.referencePath&&_.jsxs(di,{variant:"body2",color:"textSecondary",sx:{mb:2},children:["Will use the value from ",_.jsx("code",{children:u.config.referencePath}),u.config.referenceTransform&&" with transformation"]})]}),"date"===u.config.behavior&&_.jsxs(pc,{sx:{mb:3},children:[_.jsx(di,{variant:"subtitle2",sx:{mb:2},children:"Date Generation"}),_.jsxs(ed,{fullWidth:!0,sx:{mb:2},children:[_.jsx(Ld,{children:"Date Mode"}),_.jsxs(_f,{value:u.config.dateMode||"increment",onChange:e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,dateMode:t}}))},label:"Date Mode",children:[_.jsx(zp,{value:"fixed",children:"Fixed Date"}),_.jsx(zp,{value:"today",children:"Today + Offset"}),_.jsx(zp,{value:"increment",children:"Increment Days"}),_.jsx(zp,{value:"random",children:"Random Between Dates"})]})]}),_.jsx(od,{control:_.jsx(Im,{checked:u.config.includeTime||!1,onChange:e=>{const t=e.target.checked,n=t?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD";d(e=>({...e,config:{...e.config,includeTime:t,dateFormat:n}}))}}),label:"Include Time",sx:{mb:2}}),"fixed"===u.config.dateMode?_.jsxs(pc,{sx:{display:"flex",gap:1,alignItems:"flex-start"},children:[_.jsx(oh,{fullWidth:!0,label:"Fixed Date",type:"datetime-local",value:u.config.baseDate||"",onChange:b,sx:{mb:2},InputLabelProps:{shrink:!0}}),_.jsx(Ec,{variant:"outlined",onClick:()=>b({target:{value:(new Date).toISOString().slice(0,16)}}),sx:{mt:1},children:"Today"})]}):"today"===u.config.dateMode?_.jsx(oh,{fullWidth:!0,label:"Days Offset",type:"number",value:u.config.daysIncrement??0,onChange:y,placeholder:"Number of days to add to today's date (can be negative)",InputProps:{inputProps:{step:1}},sx:{mb:2}}):"increment"===u.config.dateMode?_.jsxs(_.Fragment,{children:[_.jsxs(pc,{sx:{display:"flex",gap:1,alignItems:"flex-start"},children:[_.jsx(oh,{fullWidth:!0,label:"Base Date",type:"datetime-local",value:u.config.baseDate||"",onChange:b,sx:{mb:2},InputLabelProps:{shrink:!0}}),_.jsx(Ec,{variant:"outlined",onClick:()=>b({target:{value:(new Date).toISOString().slice(0,16)}}),sx:{mt:1},children:"Today"})]}),_.jsx(oh,{fullWidth:!0,label:"Days to Increment",type:"number",value:u.config.daysIncrement??1,onChange:y,placeholder:"Number of days to add for each file",InputProps:{inputProps:{min:0}},sx:{mb:2}})]}):_.jsxs(_.Fragment,{children:[_.jsxs(pc,{sx:{display:"flex",gap:1,alignItems:"flex-start"},children:[_.jsx(oh,{fullWidth:!0,label:"Start Date",type:"datetime-local",value:u.config.startDate||"",onChange:v,sx:{mb:2},InputLabelProps:{shrink:!0}}),_.jsx(Ec,{variant:"outlined",onClick:()=>v({target:{value:(new Date).toISOString().slice(0,16)}}),sx:{mt:1},children:"Today"})]}),_.jsxs(pc,{sx:{display:"flex",gap:1,alignItems:"flex-start"},children:[_.jsx(oh,{fullWidth:!0,label:"End Date",type:"datetime-local",value:u.config.endDate||"",onChange:x,sx:{mb:2},InputLabelProps:{shrink:!0}}),_.jsx(Ec,{variant:"outlined",onClick:()=>x({target:{value:(new Date).toISOString().slice(0,16)}}),sx:{mt:1},children:"Today"})]})]}),_.jsx(pc,{sx:{mt:2,p:2,bgcolor:"grey.50",borderRadius:1},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"fixed"===u.config.dateMode?_.jsxs(_.Fragment,{children:["Using fixed date: ",u.config.baseDate?new Intl.DateTimeFormat(navigator.language,{year:"numeric",month:"2-digit",day:"2-digit",hour:u.config.includeTime?"2-digit":void 0,minute:u.config.includeTime?"2-digit":void 0,second:u.config.includeTime?"2-digit":void 0,hour12:!1}).format(new Date(u.config.baseDate)):"[Select date]"]}):"today"===u.config.dateMode?_.jsxs(_.Fragment,{children:["Will use today's date ",u.config.daysIncrement>0?`plus ${u.config.daysIncrement}`:u.config.daysIncrement<0?`minus ${Math.abs(u.config.daysIncrement)}`:""," day(s)",_.jsx("br",{}),"Preview: ",new Intl.DateTimeFormat(navigator.language,{year:"numeric",month:"2-digit",day:"2-digit",hour:u.config.includeTime?"2-digit":void 0,minute:u.config.includeTime?"2-digit":void 0,second:u.config.includeTime?"2-digit":void 0,hour12:!1}).format((()=>{const e=new Date;return u.config.daysIncrement&&e.setDate(e.getDate()+parseInt(u.config.daysIncrement)),e})())]}):"increment"===u.config.dateMode?_.jsxs(_.Fragment,{children:["Will generate dates starting from ",u.config.baseDate?new Intl.DateTimeFormat(navigator.language,{year:"numeric",month:"2-digit",day:"2-digit",hour:u.config.includeTime?"2-digit":void 0,minute:u.config.includeTime?"2-digit":void 0,second:u.config.includeTime?"2-digit":void 0,hour12:!1}).format(new Date(u.config.baseDate)):"[Select base date]",", incrementing by ",u.config.daysIncrement," day(s) for each file"]}):_.jsxs(_.Fragment,{children:["Will generate random dates between ",u.config.startDate?new Intl.DateTimeFormat(navigator.language,{year:"numeric",month:"2-digit",day:"2-digit",hour:u.config.includeTime?"2-digit":void 0,minute:u.config.includeTime?"2-digit":void 0,second:u.config.includeTime?"2-digit":void 0,hour12:!1}).format(new Date(u.config.startDate)):"[Select start date]","and ",u.config.endDate?new Intl.DateTimeFormat(navigator.language,{year:"numeric",month:"2-digit",day:"2-digit",hour:u.config.includeTime?"2-digit":void 0,minute:u.config.includeTime?"2-digit":void 0,second:u.config.includeTime?"2-digit":void 0,hour12:!1}).format(new Date(u.config.endDate)):"[Select end date]"]})})})]}),"number"===u.config.behavior&&_.jsxs(pc,{sx:{mb:3},children:[_.jsx(di,{variant:"subtitle2",sx:{mb:2},children:"Number Generation"}),_.jsx(od,{control:_.jsx(Im,{checked:u.config.isInteger||!1,onChange:e=>{const t=e.target.checked;d(e=>({...e,config:{...e.config,isInteger:t}}))}}),label:"Generate Integer",sx:{mb:2}}),_.jsxs(pc,{sx:{display:"flex",gap:2,mb:2},children:[_.jsx(oh,{fullWidth:!0,label:"Minimum Value",type:"number",value:u.config.numberMin??0,onChange:e=>{const t=parseFloat(e.target.value);d(e=>({...e,config:{...e.config,numberMin:t}}))},InputProps:{inputProps:{step:u.config.isInteger?1:.01}}}),_.jsx(oh,{fullWidth:!0,label:"Maximum Value",type:"number",value:u.config.numberMax??100,onChange:e=>{const t=parseFloat(e.target.value);d(e=>({...e,config:{...e.config,numberMax:t}}))},InputProps:{inputProps:{step:u.config.isInteger?1:.01}}})]}),!u.config.isInteger&&_.jsx(oh,{fullWidth:!0,label:"Decimal Places",type:"number",value:u.config.decimalPlaces??2,onCh
152ange:e=>{const t=Math.max(0,parseInt(e.target.value)||0);d(e=>({...e,config:{...e.config,decimalPlaces:t}}))},InputProps:{inputProps:{min:0,max:20}},sx:{mb:2}}),_.jsx(pc,{sx:{mt:2,p:2,bgcolor:"grey.50",borderRadius:1},children:_.jsxs(di,{variant:"body2",color:"text.secondary",children:["Will generate ",u.config.isInteger?"integer":"decimal"," numbers between ",u.config.numberMin," and ",u.config.numberMax,!u.config.isInteger&&` with ${u.config.decimalPlaces} decimal places`,_.jsx("br",{}),"Preview: ",(()=>{const e=u.config.numberMin+Math.random()*(u.config.numberMax-u.config.numberMin);return u.config.isInteger?String(Math.floor(e)):e.toFixed(u.config.decimalPlaces)})()]})})]}),"custom"===u.config.behavior&&_.jsxs(pc,{sx:{mb:3,mt:3},children:[_.jsxs(pc,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:1,p:1,borderRadius:1,bgcolor:"rgba(25, 118, 210, 0.08)"},children:[_.jsx(di,{variant:"subtitle1",color:"primary",children:"Custom Script"}),_.jsx(xm,{title:"simple"===p?"Switch to Code Editor":"Switch to Simple Editor",children:_.jsx(qo,{size:"small",onClick:()=>{f(e=>("simple"===e&&h(!0),"simple"===e?"monaco":"simple"))},children:"simple"===p?_.jsx(ME,{}):_.jsx(gC,{})})})]}),"simple"===p?_.jsxs(pc,{children:[_.jsx(oh,{fullWidth:!0,multiline:!0,rows:6,label:"Custom Script",value:u.config.customScript||"",onChange:e=>{const t=e.target.value;d(e=>({...e,config:{...e.config,customScript:t}}))},placeholder:"e.g., arrayIdx % 2 === 0 ? 'even' : 'odd'",sx:{fontFamily:"monospace","& .MuiInputBase-root":{fontFamily:"monospace"}}}),u.config.customScript&&_.jsxs(pc,{sx:{mt:1,borderRadius:1,overflow:"hidden",border:"1px solid rgba(0,0,0,0.12)"},children:[_.jsx(di,{variant:"caption",sx:{display:"block",p:1,bgcolor:"grey.100",borderBottom:"1px solid rgba(0,0,0,0.12)"},children:"Preview:"}),_.jsx(hj,{language:"javascript",style:gj,customStyle:{margin:0,maxHeight:"150px",fontSize:"0.75rem"},children:u.config.customScript})]})]}):_.jsxs(pc,{ref:g,sx:{border:"1px solid rgba(0,0,0,0.12)",borderRadius:1,overflow:"hidden",height:250,position:"relative","& .monaco-editor":{paddingTop:"8px",paddingBottom:"8px"}},children:[m&&_.jsx(pc,{sx:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",alignItems:"center",justifyContent:"center",bgcolor:"rgba(0,0,0,0.03)",zIndex:1},children:_.jsx(Uo,{size:24,thickness:4})}),_.jsx(Lw,{height:"250px",language:"javascript",value:u.config.customScript||"",onChange:e=>{void 0!==e&&d(t=>({...t,config:{...t.config,customScript:e}}))},theme:"vs-dark",options:{minimap:{enabled:!1},scrollBeyondLastLine:!1,fontSize:13,tabSize:2,wordWrap:"on",automaticLayout:!0,lineNumbers:"on",scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:8,horizontalScrollbarSize:8},quickSuggestions:!0,suggestOnTriggerCharacters:!0,formatOnPaste:!0,formatOnType:!0},beforeMount:e=>{e.languages.typescript.javascriptDefaults.setDiagnosticsOptions({noSemanticValidation:!1,noSyntaxValidation:!1}),e.languages.typescript.javascriptDefaults.setCompilerOptions({target:e.languages.typescript.ScriptTarget.ES6,allowNonTsExtensions:!0}),e.editor._xmJsonViewerCompletionRegistered||(e.languages.registerCompletionItemProvider("javascript",{provideCompletionItems:()=>({suggestions:[{label:"value",kind:e.languages.CompletionItemKind.Variable,documentation:"The original value from the template",insertText:"value"},{label:"index",kind:e.languages.CompletionItemKind.Variable,documentation:"The current file index (0-based)",insertText:"index"},{label:"arrayIdx",kind:e.languages.CompletionItemKind.Variable,documentation:"The array item index (if inside an array)",insertText:"arrayIdx"},{label:"path",kind:e.languages.CompletionItemKind.Variable,documentation:"Current field path",insertText:"path"},{label:"row",kind:e.languages.CompletionItemKind.Variable,documentation:"Access to other fields in the same data row (dynamically determined at runtime)",insertText:"row"}]})}),e.editor._xmJsonViewerCompletionRegistered=!0)},onMount:(e,t)=>{h(!1),e.focus(),g.current&&(g.current.editor=e)},loading:_.jsx(pc,{sx:{p:2},children:"Loading editor..."})})]}),_.jsxs(pc,{sx:{mt:1},children:[_.jsx(di,{variant:"caption",display:"block",gutterBottom:!0,children:"Enter a JavaScript expression to transform or override the generated value. Available variables:"}),_.jsxs(di,{variant:"caption",component:"div",color:"text.secondary",children:["⢠value: The current field value",_.jsx("br",{}),"⢠index: The file index (0-based)",_.jsx("br",{}),"⢠arrayIdx: Array item index (if inside an array)",_.jsx("br",{}),"⢠path: Current field path",_.jsx("br",{}),"⢠row: Access to other fields in the same data row (e.g., row.title, row.author)"]})]}),_.jsx(pc,{sx:{mt:3},children:_.jsx(Tc,{variant:"outlined",sx:{bgcolor:"rgba(0, 0, 0, 0.02)"},children:_.jsxs(Nc,{sx:{p:2,"&:last-child":{pb:2}},children:[_.jsx(di,{variant:"subtitle2",color:"primary",gutterBottom:!0,children:"Custom Script Help"}),_.jsx(di,{variant:"body2",sx:{mb:1},children:"Use JavaScript expressions to transform or generate values."}),_.jsx(hj,{language:"javascript",style:gj,customStyle:{fontSize:"0.75rem",borderRadius:"4px",padding:"12px",marginTop:"8px",maxHeight:"200px"},children:S()?S().code:"// No help examples available"})]})})})]}),"custom"!==u.config.behavior&&_.jsx(pc,{sx:{mb:3,mt:3},children:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:1,gap:1},children:[_.jsx(Sh,{color:"info",fontSize:"small"}),_.jsx(di,{variant:"caption",color:"text.secondary",children:"If you need more control, you can use Custom Script behavior instead."})]})})]}),_.jsxs(Au,{children:[_.jsx(Ec,{onClick:t,children:"Cancel"}),_.jsx(Ec,{onClick:()=>{const e={...u.config};e.behavior||(e.behavior="keep"),r(u.path,e),t()},variant:"contained",children:"Save"})]})]})},xj=({savedLists:e,editingList:t,newListName:n,newListItems:r,listSelectionMode:a,listsDialogOpen:o,setNewListName:i,setNewListItems:s,setListSelectionMode:l,handleSaveList:c,handleDeleteList:u,handleEditList:d,closeListsDialog:p,selectedField:f=null,handleListSelect:m=null})=>_.jsxs(Cu,{open:o,onClose:p,maxWidth:"md",fullWidth:!0,children:[_.jsx(ju,{children:t?"Edit List":f?"Select a List":"Manage Value Lists"}),_.jsxs(Ou,{children:[!f&&_.jsxs(pc,{sx:{mb:3,mt:2},children:[_.jsx(oh,{label:"List Name",fullWidth:!0,value:n,onChange:e=>i(e.target.value),sx:{mb:2}}),_.jsx(oh,{label:"Items (one per line)",fullWidth:!0,multiline:!0,rows:6,value:r,onChange:e=>s(e.target.value),placeholder:"Enter items, one per line"}),f&&_.jsxs(ed,{fullWidth:!0,sx:{mt:2},children:[_.jsx(Ld,{children:"Selection Mode"}),_.jsxs(_f,{value:a,onChange:e=>l(e.target.value),label:"Selection Mode",children:[_.jsx(zp,{value:"sequence",children:"Sequential"}),_.jsx(zp,{value:"random",children:"Random"})]})]}),_.jsx(Ec,{variant:"contained",onClick:c,sx:{mt:2}
152,disabled:!n.trim(),children:t?"Update List":"Create List"})]}),!f&&_.jsx(Uu,{sx:{my:2}}),_.jsx(di,{variant:"subtitle1",sx:{mb:2},children:f?"Select a list to use for this field":"Saved Lists"}),_.jsx(Kd,{children:e.map(e=>(e=>_.jsx(sp,{sx:{"&:hover":{backgroundColor:"rgba(0, 0, 0, 0.04)"}},secondaryAction:_.jsx(pc,{children:f?_.jsx(Ec,{variant:"outlined",size:"small",onClick:()=>m(e),sx:{mr:1},children:"Select"}):_.jsxs(_.Fragment,{children:[_.jsx(qo,{edge:"end",onClick:()=>d(e),sx:{mr:1},children:_.jsx(Mw,{})}),_.jsx(qo,{edge:"end",onClick:()=>u(e.id),children:_.jsx(tv,{})})]})}),children:_.jsx(hp,{primary:e.name,secondary:`${e.items.length} items`})},e.id))(e))})]}),_.jsx(Au,{children:_.jsx(Ec,{onClick:p,children:f?"Cancel":"Close"})})]});var Sj,wj={exports:{}};var Ej,Cj=(Sj||(Sj=1,Ej=wj,function(){function e(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){i(r.response,t,n)},r.onerror=function(){},r.send()}function n(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function r(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){var n=document.createEvent("MouseEvents");
152n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof h&&h.global===h?h:void 0,o=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),i=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(e,o,i){var s=a.URL||a.webkitURL,l=document.createElement("a");o=o||e.name||"download",l.download=o,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?r(l):n(l.href)?t(e,o,i):r(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout(function(){s.revokeObjectURL(l.href)},4e4),setTimeout(function(){r(l)},0))}:"msSaveOrOpenBlob"in navigator?function(a,o,i){if(o=o||a.name||"download","string"!=typeof a)navigator.msSaveOrOpenBlob(e(a,i),o);else if(n(a))t(a,o,i);else{var s=document.createElement("a");s.href=a,s.target="_blank",setTimeout(function(){r(s)})}}:function(e,n,r,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var s="application/octet-stream"===e.type,l=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||s&&l||o)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=e:location=e,i=null},u.readAsDataURL(e)}else{var d=a.URL||a.webkitURL,p=d.createObjectURL(e);i?i.location=p:location.href=p,i=null,setTimeout(function(){d.revokeObjectURL(p)},4e4)}});a.saveAs=i.saveAs=i,Ej.exports=i}()),wj.exports);const kj=({currentValue:e,config:t,generatedValues:n,path:r,contextPath:a,logger:o})=>{const i=t.referencePath;if(!i)return o.warn(`[Reference Handler] referencePath is missing for ${a}. Falling back.`),e;let s;if(n.has(i)&&(s=n.get(i),o.debug(`[Reference Handler] Found exact match for '${i}'`)),void 0===s&&a){o.debug(`[Reference Handler] Exact path '${i}' not found. Trying context-aware lookup using context: '${a}'`);try{const e=a.split("/"),t=e.reduce((t,n,r)=>(/^\d+$/.test(n)&&r>0&&(t[e[r-1]]=parseInt(n,10)),t),{}),r=i.split("/");let l=[];for(let n=0;n<r.length;n++){const e=r[n];l.push(e);const a=r[n+1],o=void 0!==a&&!/^\d+$/.test(a);void 0!==t[e]&&o&&l.push(t[e].toString())}const c=l.join("/");o.debug(`[Reference Handler] Constructed target path using context: '${c}'`),n.has(c)&&(s=n.get(c),o.debug(`[Reference Handler] Found context-aware match: '${c}'`))}catch(yU){o.error(`[Reference Handler] Error during context-aware path construction for ref '${i}' and context '${a}':`,yU)}}if(void 0!==s){o.debug(`[Reference Handler] Successfully retrieved value for '${i}' (context: '${a}'):`,s);const e=((e,t,n)=>{if(!t)return e;try{return new Function("value",`return ${t}`)(e)}catch(r){return n.error(`Error applying transform expression "${t}":`,r),e}})(s,t.referenceTransform,o);return o.debug(`[Reference Handler] Value after transform for ${a}:`,e),e}return o.warn(`[Reference Handler] Reference path '${i}' could not be resolved in generatedValues (context: '${a}'). Falling back.`),e},Tj=(e,t,n)=>{let r={};if(!t||!e)return n.warn("[getRowValues] Missing fullOriginalObj or path."),r;let a="",o="",i=null,s=t,l=!(!s||!s.documentElement||"function"!=typeof s.getElementsByTagName);if(l&&e.includes("[")){const t=e.match(/^(.*)\/([^\/\[]+)\[(\d+)\]\/[^\/]+$/);if(t)a=t[1],o=t[2];else{const t=e.match(/^([^\/\[]+)\[(\d+)\]\/[^\/]+$/);if(!t)return n.warn(`getRowValues (XML Array): Could not parse path: ${e}`),r;a="",o=t[1]}}else if(l){const t=e.split("/");a=t.length>1?t.slice(0,-1).join("/"):"",o=""}else if(e.includes("/")){const t=e.split("/");let n=-1;t.length>=2&&/^\d+$/.test(t[t.length-2])&&(n=parseInt(t[t.length-2],10)),-1!==n&&t.length>=3?(o=t[t.length-3],a=t.slice(0,t.length-3).join("/")):2===t.length&&e.includes("/")?(a=t[0],o=""):t.length>=2?(a=t.slice(0,-1).join("/"),o=""):(a="",o="")}else a="",o="";i=null;try{if(l){let e=s.documentElement;if(a){const t=a.split("/"),r=t.length>0&&e&&t[0]===e.nodeName?t.slice(1):t;if(r.length>0)if(e){for(const t of r){let r=!1;if(!e){n.warn(`getRowValues: Traversal failed before finding segment "${t}" in path "${a}"`);break}const o=e.childNodes;for(let n=0;n<o.length;n++){const a=o[n];
152if(1===a.nodeType&&a.nodeName===t){e=a,r=!0;break}}if(!r){n.warn(`getRowValues: Segment "${t}" not found under ${e?.nodeName} for path "${a}"`),e=null;break}}i=e}else n.warn("getRowValues: Cannot start XML traversal, root element is null."),i=null;else i=e}else i=s.documentElement}else i=a?((e,t,n)=>{if(null==e||!t)return n;const r=t.split("/");let a=e;for(const o of r){if(null==a)return n;if(/^\d+$/.test(o)&&Array.isArray(a)){const e=parseInt(o,10);if(!(e>=0&&e<a.length))return n;a=a[e]}else{if("object"!=typeof a)return n;if(!Object.prototype.hasOwnProperty.call(a,o))return n;a=a[o]}}return void 0===a?n:a})(s,a):s}catch(yU){return n.error(`getRowValues: Error accessing parent node/object for path: ${a}`,yU),r}if(!i)return n.warn(`getRowValues: Could not find parent node/object for path: ${a}`),r;let c=null;const u=e.match(/\[(\d+)\](?=\/[^\/]*$|$)/),d=e.split("/");if(u?c=parseInt(u[1],10):d.length>=2&&/^\d+$/.test(d[d.length-2])&&(c=parseInt(d[d.length-2],10)),null!==c)if(l){let e=[];if(i&&i.childNodes)for(let t=0;t<i.childNodes.length;t++){const n=i.childNodes[t];1===n.nodeType&&n.nodeName===o&&e.push(n)}if(e.length>c){const t=e[c];if(t.attributes)for(let e=0;e<t.attributes.length;e++){const n=t.attributes[e];r[n.name]=n.value}for(let e=0;e<t.childNodes.length;e++){const n=t.childNodes[e];1===n.nodeType&&(r[n.nodeName]=n.textContent?.trim())}}}else{const e=i?o?i[o]:i:void 0;Array.isArray(e)&&e.length>c?r=e[c]||{}:n.warn(`getRowValues (JSON Array): Could not access index ${c} in array at path '${a?a+(o?"/"+o:""):o||""}'`)}else if(l){if(i.attributes)for(let e=0;e<i.attributes.length;e++){const t=i.attributes[e];r[t.name]=t.value}for(let e=0;e<i.childNodes.length;e++){const t=i.childNodes[e];1===t.nodeType&&(r[t.nodeName]=t.textContent?.trim())}}else i&&"object"==typeof i&&!Array.isArray(i)?r=i:n.warn(`getRowValues (JSON Non-Array): Parent found for path '${e}' is not a usable object context. Parent:`,i);return n.debug(`[getRowValues] Final row data for path ${e}:`,r),r},Aj=(e,t)=>{if(!e||!e.fieldConfigs||!t)return{behavior:"keep"};const n=t.replace(/\[(\d+)\]/g,"/$1"),r=n.split("/");if(e.fieldConfigs[n])return e.fieldConfigs[n];const a=r.filter(e=>!/^\d+$/.test(e)).join("/");if(n!==a&&e.fieldConfigs[a])return e.fieldConfigs[a];if(r.length>1&&/^\d+$/.test(r[r.length-1])){const t=r.slice(0,-1).join("/");if(e.fieldConfigs[t])return e.fieldConfigs[t]}return{behavior:"keep"}},Ij=(e,t)=>{try{const r=(new Hx.DOMParser).parseFromString(e,"application/xml"),a=r.getElementsByTagName("parsererror");if(a.length>0)throw t.error("[xmlToObj Error] XML parsing error detected:",a[0]?.textContent||"Unknown error"),new Error("XML parsing error");const o=r.documentElement;if(!o)throw t.error("[xmlToObj Error] No document element found in parsed XML."),new Error("Invalid XML structure: No root element.");const i=e=>{const t={};if(e.attributes)for(let i=0;i<e.attributes.length;i++){const n=e.attributes[i];t[`@${n.name}`]=n.value}let n="";const r={},a={};if(e.childNodes)for(let l=0;l<e.childNodes.length;l++){const t=e.childNodes[l];if(1===t.nodeType){const e=t.nodeName,n=i(t);r[e]=(r[e]||0)+1,a[e]?(Array.isArray(a[e])||(a[e]=[a[e]]),a[e].push(n)):a[e]=n}else 3===t.nodeType&&(n+=t.nodeValue)}for(const i in a)t[i]=a[i];const o=n.trim(),s=Object.keys(t).filter(e=>!e.startsWith("@"));if(o)if(0===s.length){if(!(Object.keys(t).filter(e=>e.startsWith("@")).length>0))return o;t["#text"]=o}else t["#text"]=o;else if(0===s.length&&0===Object.keys(t).filter(e=>e.startsWith("@")).length)return"";return t},s={};s[o.nodeName]=i(o);try{return JSON.parse(JSON.stringify(s))}catch(n){return t.error("[xmlToObj Error] Error during JSON sanitization:",n),s}}catch(r){return t.error("[xmlToObj Error] Failed to parse XML:",r),null}},Nj={debug:(...e)=>{},info:(...e)=>{},warn:(...e)=>{},error:(...e)=>{}},_j=({files:e,selectedTemplate:t,templateConfig:n,setFiles:r,listManager:a})=>{const[i,s]=o.useState(!1),[l,c]=o.useState(0),[u,d]=o.useState(new Map),[p,f]=o.useState(new Map),[m,h]=o.useState(null),[g]=o.useState(new Map),[b]=o.useState(new Map),y=(e,t="",r,a,o)=>{if(null===e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map((e,n)=>y(e,`${t}/${n}`,r,a,o));const i={},s=Object.keys(e),l=[];for(const c of s){const s=t?`${t}/${c}`:c,u=Aj(n,s);u&&"reference"===u.behavior?(l.push(c),i[c]=e[c]):"object"==typeof e[c]&&null!==e[c]&&Object.keys(e[c]).length>0?i[c]=y(e[c],s,r,a,o):i[c]=x(e[c],u,r,s,a,o)}for(const c of l){const s=t?`${t}/${c}`:c,l=Aj(n,s);i[c]=x(e[c],l,r,s,a,o)}return i},v=o.useCallback((e,t={})=>
152{if(!e)return void h(null);const n={config:t,generatedValues:new Map,index:0},r=S(e,"",n);return h(r),f(n.generatedValues),r},[h,f]),x=(e,t,n,r,o,i)=>{n=Number(n);let s=e,l="",c="",d=NaN,p=!1,f=null;const m=r.split("/");if(m.length>=2){const e=m[m.length-2];/^\d+$/.test(e)&&(f=parseInt(e,10))}if(null===f){const e=[...r.matchAll(/\[(\d+)\]/g)];e.length>0&&(f=parseInt(e[e.length-1][1],10))}const h={config:t,path:r,fileIndex:n,arrayIndex:f,logger:Nj,generatedValues:u,currentValue:e};if(t&&"custom"===t.behavior)s=(({currentValue:e,config:t,path:n,fileIndex:r,arrayIndex:a,generatedValues:o,fullOriginalObj:i,logger:s})=>{if(s.debug(`[Custom Handler] Path: ${n}, File Index: ${r}, Array Index: ${a}, Config:`,t),!t.customScript||"string"!=typeof t.customScript||""===t.customScript.trim())return s.warn(`[Custom Handler] Custom script is missing or invalid for path ${n}. Falling back.`),e;let l=e;try{const c=Tj(n,i,s);s.debug("[Custom Handler] Row data for script context:",c);const u=t.customScript.includes("return")?t.customScript:`return (${t.customScript});`,d=new Function("value","index","path","arrayIdx","generatedValues","row",u);s.debug(`[Custom Script] Executing script for path ${n} with index=${r}, arrayIdx=${a}`),l=d(e,r,n,a,o,c),s.debug(`[Custom Script] Executed successfully for path ${n}. Result:`,l)}catch(c){s.error(`[Custom Handler] Custom script execution error for path ${n}:`,c)}return l})({...h,fullOriginalObj:o,logger:Nj});else if(t&&"keep"!==t.behavior)if("replace"===t.behavior)s=void 0!==t.replacementValue?t.replacementValue:e;else if("reference"===t.behavior)s=kj({...h,contextPath:r});else if("enumerate"===t.behavior){const e=(({currentValue:e,config:t,fileIndex:n,arrayIndex:r,path:a,logger:o})=>{o.debug(`[Enumerate Handler] Path: ${a}, File Index: ${n}, Array Index: ${r}, Config:`,t);let i=e,s="",l="",c=NaN,u=!1,d=!1!==t.useTemplateValue,p=d?String(e||""):t.startValue;o.debug(`[Enumerate Handler] Use template value: ${d}, Value to parse: '${p}'`);let f="",m="",h="",g=NaN;const b=p?p.match(/^(.*)(\d+)([^\d]*)$/):null;if(o.debug("[Enumerate Handler] Regex match result:",b),b&&b[2]?(f=b[1],m=b[2],h=b[3]||"",g=parseInt(m,10),o.debug(`[Enumerate Handler] Parsed: prefix='${f}', numberStr='${m}', suffix='${h}', baseNumValue=${g}`)):o.warn(`[Enumerate Handler] Could not parse number from valueToParse: '${p}' for path ${a}`),isNaN(g))o.warn(`[Enumerate Handler] Number parsing failed. Falling back for path ${a}.`),i=e;else{const e=Number(t.incrementAmount)||1;let a;null!==r?(a=g+r*e,o.debug(`[Enumerate Handler] Array item calculation: base=${g} + (arrayIdx=${r} * inc=${e}) = ${a}`)):(a=g+(n+1)*e,o.debug(`[Enumerate Handler] Non-array item calculation: base=${g} + ((fileIdx=${n} + 1) * inc=${e}) = ${a}`)),i=`${f}${String(a).padStart(m.length,"0")}${h}`,o.debug(`[Enumerate Handler] Calculated value: '${i}'`),s=f,l=h,c=a,u=!0}return o.debug(`[Enumerate Handler] Final returned value for path ${a}:`,i),{processedValue:i,enumPrefix:s,enumSuffix:l,enumCalculatedNum:c,wasEnumerated:u}})(h);s=e.processedValue,l=e.enumPrefix,c=e.enumSuffix,d=e.enumCalculatedNum,p=e.wasEnumerated}else if("uuid"===t.behavior)s=(({config:e,path:t,logger:n})=>{n.debug(`[UUID Handler] Processing path: ${t}, Config:`,e);let r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});r="upper"===e.uuidCase?r.toUpperCase():r.toLowerCase();const a=`${e.uuidPrefix||""}${r}${e.uuidSuffix||""}`;return n.info(`[UUID Handler] Generated UUID for ${t}: ${a}`),a})(h);else if("date"===t.behavior)s=(({config:e,fileIndex:t,path:n,logger:r})=>{let a;r.debug(`[Date Handler] Path: ${n}, File Index: ${t}, Config:`,e);const o=e.baseDate,i=e.dateFormat||"YYYY-MM-DD",s=!0===e.includeTime,l=(e,t,n)=>{const r=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),o=String(e.getDate()).padStart(2,"0"),i=String(e.getHours()).padStart(2,"0"),s=String(e.getMinutes()).padStart(2,"0"),l=String(e.getSeconds()).padStart(2,"0");let c="",u=n?` ${i}:${s}:${l}`:"";return c=t.includes("MM/DD/YYYY")?`${a}/${o}/${r}`:t.includes("DD.MM.YYYY")?`${o}.${a}.${r}`:`${r}-${a}-${o}`,c+u};let c=l(new Date,i,s);switch(e.dateMode){case"fixed":c=o||l(new Date,i,s),r.debug(`[Date Handler] Mode: fixed, Base: ${o}, Output: ${c}`);break;case"today":a=new Date,c=l(a,i,s),r.debug(`[Date Handler] Mode: today, Output: ${c}`);break;
152case"increment":try{if(a=o?new Date(o):new Date,isNaN(a.getTime()))throw new Error(`Invalid baseDate provided: "${o}"`);const n=Number(e.incrementAmount||1),u=e.incrementUnit||"days",d=n*Number(t||0);r.debug(`[Date Handler] Mode: increment, Base: ${a.toISOString()}, Unit: ${u}, Amount: ${n}, FileIndex: ${t}, Total Increment: ${d}`),"days"===u?a.setDate(a.getDate()+d):"months"===u?a.setMonth(a.getMonth()+d):"years"===u&&a.setFullYear(a.getFullYear()+d),c=l(a,i,s),r.debug(`[Date Handler] Incremented Date: ${a.toISOString()}, Output: ${c}`)}catch(yU){r.error(`[Date Handler] Error processing increment date for path ${n}: ${yU.message}. Falling back to today.`),c=l(new Date,i,s)}break;default:r.warn(`[Date Handler] Unknown or missing dateMode: '${e.dateMode}'. Falling back to today.`),a=new Date,c=l(a,i,s),r.debug(`[Date Handler] Mode: default/fallback, Output: ${c}`)}return c})(h);else if("number"===t.behavior)s=(({config:e,path:t,logger:n})=>{n.debug(`[Number Handler] Processing path: ${t}, Config:`,e);const r=parseFloat(e.numberMin??0),a=parseFloat(e.numberMax??100),o=!1!==e.isInteger,i=parseInt(e.decimalPlaces??2);let s;if(o){const e=Math.ceil(r),o=Math.floor(a);e>o?(n.warn(`[Number Handler] Integer min (${e}) > max (${o}) for path ${t}. Using min.`),s=e):s=Math.floor(Math.random()*(o-e+1))+e,n.debug(`[Number Handler] Generated Integer: ${s} (Range: ${e}-${o})`)}else{r>a?(n.warn(`[Number Handler] Float min (${r}) > max (${a}) for path ${t}. Using min.`),s=r):s=Math.random()*(a-r)+r;try{if(s=parseFloat(s.toFixed(i)),isNaN(s))throw new Error("toFixed result is NaN")}catch(yU){n.error(`[Number Handler] Error applying toFixed(${i}) for path ${t}:`,yU),s=Math.random()*(a-r)+r}n.debug(`[Number Handler] Generated Float: ${s} (Range: ${r}-${a}, Decimals: ${i})`)}return s})(h);else if("list"===t.behavior)s=(({currentValue:e,config:t,path:n,fileIndex:r,listManager:a,listCounters:o,incrementedListKeysThisFile:i,logger:s})=>{s.debug(`[List Handler] Path: ${n}, File Index: ${r}, Config:`,t);let l=[];if(t.selectedListId){const e=a.getListById(t.selectedListId);e&&Array.isArray(e.items)?(l=e.items,s.debug(`[List Handler] Using list from ListManager (ID: ${t.selectedListId}), ${l.length} items.`)):s.warn(`[List Handler] List with ID '${t.selectedListId}' not found or has no items.`)}else t.valueList&&Array.isArray(t.valueList)?(l=t.valueList,s.debug(`[List Handler] Using inline valueList, ${l.length} items.`)):s.warn(`[List Handler] No valid selectedListId or valueList provided for path ${n}.`);if(0===l.length)return s.warn(`[List Handler] List is empty for path ${n}. Falling back to original value.`),e;let c=-1;if("random"===(t.selectionMode||"random"))c=Math.floor(Math.random()*l.length),s.debug(`[List Handler] Mode: random, Selected Index: ${c}`);else{const e=t.sequenceBasis||"file",a=t.selectedListId||JSON.stringify(t.valueList);let u=n.replace(/\[\d+\]/g,"").replace(/\/\d+(\/|$)/g,(e,t)=>t||"");u.endsWith("/")&&(u=u.slice(0,-1));const d=`${a}::${u}::${e}`,p=o.get(d)||0;if("array"===e){let e=null;const t=n.split("/");if(t.length>=2){const n=t[t.length-2];/^\d+$/.test(n)&&(e=parseInt(n,10))}if(null===e){const t=[...n.matchAll(/\[(\d+)\]/g)];t.length>0&&(e=parseInt(t[t.length-1][1],10))}null!==e?(c=(r+e)%l.length,s.debug(`[List Handler] Mode: sequence (array), Key: ${d}, FileIdx: ${r}, ArrayIdx: ${e}, Calculated Index: ${c}`)):(s.warn(`[List Handler] Could not determine array index for sequenceBasis='array' on path ${n}. Falling back to file-based index calculation.`),c=r%l.length,s.debug(`[List Handler] Mode: sequence (array fallback to file index calc), Key: ${d}, FileIdx: ${r}, Calculated Index: ${c}`)),o.set(d,p+1),s.debug(`[List Handler] Incremented counter (array basis tracking) for Key: ${d} to ${p+1}`)}else c=r%l.length,s.debug(`[List Handler] Mode: sequence (file), Key: ${d}, FileIdx: ${r}, Calculated Index: ${c}`),i.has(d)?s.debug(`[List Handler] Global counter for Key: ${d} already incremented for file ${r}.`):(o.set(d,p+1),i.add(d),s.debug(`[List Handler] Incremented global counter (file basis) for Key: ${d} to ${p+1} (First time for file ${r})`))}let u=e;return c>=0&&c<l.length?(u=l[c],s.debug("[List Handler] Final selected value:",u)):s.error(`[List Handler] Invalid valueIndex calculated (${c}) for path ${n}. List length: ${l.length}. Falling back.`),u})({...h,listManager:a,listCounters:b,incrementedListKeysThisFile:i});else if("auto_increment"===t.behavior){const t=r.includes("/")&&/\/\d+\//.test(r),a=String(e).match(/(\D*)(\d+)(\D*)/);if(a){const[e,o,i,l]=a,c=parseInt(i,10);let u=n;if(t){const e=r.match(/\.(\d+)\./);e&&(u+=parseInt(e[1],10))}s=`${o}${String(c+u).padStart(i.length,"0")}${l}`}else s=e;Nj.debug(`[Auto Increment - Inline] Path: ${r}, Result: ${s}`)}else Nj.warn(`[Generate Value] Unknown behavior '${t.behavior}' for path ${r}. Keeping original value.`),s=e;else s=e;if(t&&t.customScript&&"custom"!==t.behavior){const e=Tj(r,o,Nj);try{const a=t.customScript.trim();let o;const i=["value","index","path","arrayIdx","generatedValues","row"];let m;o=a.includes("return ")||a.includes("{")?new Function(...i,a):new Function(...i,`return ${a}`),m=p&&!isNaN(d)?d:s;const h=o(m,n,r,f,u,e);if(p){const e=String(h);s=`${l||""}${e}${c||""}`}else s=h;Nj.debug(`[Aux Script] Executed successfully for path ${r}. Result:`,s)}catch(g){Nj.error(`[Aux Script] Execution error for path ${r}:`,g)}}return u.set(r,s),Nj.debug(`[Generate Value] Stored final value for path '${r}':`,s),s},S=(e,t="",n={})=>
152{if("object"!=typeof e||null===e)return w(e,t,n.config,n);if(Array.isArray(e))return e.length>0?[S(e[0],`${t}/0`,{...n,index:0})]:[];const r={};for(const a in e){const o=t?`${t}/${a}`:a;r[a]=S(e[a],o,n)}return r},w=(e,t,n,r={})=>{const a=n?.behavior||"keep",{index:o,generatedValues:i}=r;let s=null;const l=t.match(/\/(\d+)\//);switch(l&&(s=parseInt(l[1],10)),a){case"keep":default:return e;case"remove":return null;case"empty":return"string"==typeof e?"":Array.isArray(e)?[]:"object"==typeof e&&null!==e?{}:"number"==typeof e?0:"boolean"!=typeof e&&null;case"placeholder":return n.placeholder||`[${t}]`;case"custom-script":if(n&&n.customScript)try{const r=n.customScript.trim();let a;a=r.includes("return ")||r.includes("{")?new Function("value","index","path","arrayIdx","allValues",r):new Function("value","index","path","arrayIdx","allValues",`return ${r}`);const l=a(e,o,t,s,i);return i.set(t,l),l}catch(c){return e}return e}};return{isGenerating:i,generationProgress:l,exampleValues:p,generatedData:m,generateExampleValues:v,handleGenerateFiles:async(a,o,i,l="")=>{if(Nj.debug(`[handleGenerateFiles] Starting file generation. Num files: ${a}, Template: ${t}, Zip ID: ${l}`),!n)return void Nj.warn("[handleGenerateFiles] Aborting: templateConfig is not available.");s(!0),c(0),d(new Map),b.clear();const u=[];try{const o=[];let i=0;if(l){const t=e.find(e=>e.id===l);if(!t||"zip"!==t.fileType||!t.rawData)return Nj.error("Selected ZIP file not found or is invalid."),s(!1),[];Nj.info(`Processing ZIP file: ${t.name}`);try{const e=await vx.loadAsync(t.rawData),n=[];if(e.forEach((e,t)=>{t.dir||e.startsWith("__MACOSX/")||t.name.endsWith(".DS_Store")||n.push({name:t.name,entry:t})}),0===n.length)return Nj.warn("Selected ZIP file contains no valid template files."),s(!1),[];for(const t of n){const e=await t.entry.async("string"),n=t.name.toLowerCase().endsWith(".xml")?"xml":t.name.toLowerCase().endsWith(".json")?"json":(t.name.toLowerCase().endsWith(".xsd"),null);n?o.push({name:t.name,sourceContent:e,fileType:n}):Nj.warn(`Skipping file inside ZIP due to unsupported type: ${t.name}`)}}catch(p){return Nj.error(`Error reading ZIP file ${t.name}:`,p),s(!1),[]}}else{Nj.debug(`[handleGenerateFiles] Using single template mode. Selected Index: ${t}, Files Array Length: ${e?.length}`);const n=e[t];if(Nj.debug("[handleGenerateFiles] Selected template object:",n?{name:n.name,type:n.fileType}:"UNDEFINED"),!n)return Nj.error("No template selected."),s(!1),[];o.push(n)}const d=o.length*a;try{for(const e of o){Nj.info(`Processing template: ${e.name}`);const t="xml"===e.fileType?new Hx.DOMParser:null;let r=null,o=null;try{if("xml"===e.fileType){if(!t)throw new Error("DOMParser is null, cannot parse XML.");r=t.parseFromString(e.sourceContent,"text/xml");const n=r.getElementsByTagName("parsererror");if(n.length>0)throw new Error("XML parsing error: "+(n[0]?.textContent||"Unknown parser error"));if(!r.documentElement)throw new Error("XML parsing critical error: No document element found after parsing.")}else"json"===e.fileType&&(o=JSON.parse(e.sourceContent))}catch(f){Nj.error(`Error parsing template ${e.name}:`,f);continue}for(let s=0;s<a;s++){const a=i;i++;const l=new Set;let f,m,h="json"===e.fileType?o:r;if("json"===e.fileType)try{const t=y(o,"",a,o,l),n=e.sourceContent.includes(" ")?2:e.sourceContent.includes("\t")?"\t":0;f=JSON.stringify(t,null,n)}catch(p){Nj.error(`ERROR IN JSON PROCESSING BLOCK for file ${s+1}:`,p);continue}else try{const r=t.parseFromString(e.sourceContent,"text/xml");if(r.getElementsByTagName("parsererror").length>0)throw new Error("XML parsing error");const o=(e,t="",r,a)=>{const i={attributes:[],elements:[]};e.attributes&&Array.from(e.attributes).forEach(e=>{const a=`${t}/@${e.name}`,o=Aj(n,a);if(o&&"enumerate"===o.behavior&&(Nj.debug(`[XML Attribute Enumerate Debug] Path: ${a}`),Nj.debug(`[XML Attribute Enumerate Debug] Original Attribute Value: '${e.value}'`),Nj.debug("[XML Attribute Enumerate Debug] Resolved fieldConfig:",JSON.parse(JSON.stringify(o))),Nj.debug(`[XML Attribute Enumerate Debug] File Index: ${r}`)),o&&"reference"===o.behavior)i.attributes.push(e);else{let t=e.value;o&&"enumerate"===o.behavior&&(!1===o.useTemplateValue&&o.startValue&&(t=o.startValue),Nj.debug(`[XML Attribute Enumerate Debug] Value passed to generateValueBasedOnBehavior (valueToPassForAttr): '${t}'`));const n=x(t,o,r,a,h,l);e.value=String(n)}});const s=Array.from(e.childNodes),c={},u=[];
152if(s.forEach(e=>{1===e.nodeType?(c[e.nodeName]||(c[e.nodeName]=[]),c[e.nodeName].push(e)):3===e.nodeType&&u.push(e)}),Object.entries(c).forEach(([e,s])=>{const l=t?`${t}/${e}`:e;s.forEach((e,t)=>{const c=s.length>1?`${l}[${t}]`:l,u=Aj(n,c);u&&"reference"===u.behavior?i.elements.push({node:e,path:c}):o(e,c,r,a)})}),0===Object.keys(c).length&&u.length>0){const a=u.map(e=>e.nodeValue).join(""),o=Aj(n,t);o&&"enumerate"===o.behavior&&(Nj.debug(`[XML Enumerate Debug] Path: ${t}`),Nj.debug(`[XML Enumerate Debug] Original XML Text (consolidatedText): '${a}'`),Nj.debug("[XML Enumerate Debug] Resolved fieldConfig:",JSON.parse(JSON.stringify(o))),Nj.debug(`[XML Enumerate Debug] File Index: ${r}`)),o&&o.behavior;let i=a;o&&"enumerate"===o.behavior&&!1===o.useTemplateValue&&o.startValue&&(i=o.startValue),o&&"enumerate"===o.behavior&&Nj.debug(`[XML Enumerate Debug] Value passed to generateValueBasedOnBehavior (valueToPass): '${i}'`);const s=x(i,o,r,t,h,l);o&&"enumerate"===o.behavior&&Nj.debug(`[XML Enumerate Debug] New Value from generateValueBasedOnBehavior: '${s}'`),u.forEach(t=>e.removeChild(t)),e.appendChild(e.ownerDocument.createTextNode(String(s)))}else if(0===Object.keys(c).length&&0===u.length){const a=Aj(n,t);if(a&&a.behavior&&"keep"!==a.behavior){const n=x("",a,r,t,h,l);e.appendChild(e.ownerDocument.createTextNode(String(n)))}}else u.length;i.attributes.forEach(e=>{const o=`${t}/@${e.name}`,i=Aj(n,o);let s=e.value;e.value=x(s,i,r,o,h,a)}),i.elements.forEach(e=>{const{node:t,path:o}=e,i=Aj(n,o),s=t.textContent,l=x(s,i,r,o,h,a);for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(t.ownerDocument.createTextNode(l))})};o(r.documentElement,r.documentElement.nodeName,a,l);f=(new Hx.XMLSerializer).serializeToString(r),m=Ij(f,Nj)}catch(p){Nj.error(`Error processing XML for file ${s+1}:`,p);continue}const g="json"===e.fileType?"json":"xml",b=e.name.lastIndexOf("."),v=`generated_${b>0?e.name.substring(0,b):e.name}_${s+1}.${g}`,S={id:mx(),name:v,parsedData:m,sourceContent:f,fileType:e.fileType,isZip:!1,createdAt:Date.now()};u.push(S),c(i/d*100)}}if(u.length>0)if(l||u.length>3){Nj.info(`Zipping ${u.length} generated files.`);const e=new vx;for(const t of u)e.file(t.name,t.sourceContent);try{const t=await e.generateAsync({type:"blob"}),n=`generated_${l?"batch":o[0].name.replace(/\.[^/.]+$/,"")}_files.zip`;Cj.saveAs(t,n),Nj.info(`Downloaded ${n}`)}catch(m){Nj.error("Error creating ZIP file:",m)}}else r(e=>[...e,...u]),Nj.info(`Adding ${u.length} generated files to viewer.`)}catch(p){Nj.error("Error during file generation process:",p)}return Nj.debug(`[handleGenerateFiles] Finished generation. Total files: ${u.length}`),u}finally{s(!1),c(0)}},getConfigForPath:Aj}},Rj=({files:e,selectedTemplate:t,templateConfig:n,setFiles:r,listManager:a,expandedNodes:i,setExpandedNodes:s,zipFiles:l,selectedZipForGeneration:c,handleSetSelectedZipForGeneration:u})=>{const[d,p]=o.useState(()=>{try{const e=localStorage.getItem("nodeflip_num_files_to_generate");return e?Math.max(1,parseInt(e,10)):1}catch{return 1}});o.useEffect(()=>{try{localStorage.setItem("nodeflip_num_files_to_generate",d.toString())}catch(e){}},[d]);const{isAuthenticated:f,login:m}=Iy.useKindeAuth(),{tier:h}=lx(),[g,b]=o.useState(null),y=Boolean(g),v=()=>{b(null)},x=e=>{u(e),setTimeout(()=>{v()},50)},{isGenerating:S,generationProgress:w,handleGenerateFiles:E}=_j({files:e,selectedTemplate:t,templateConfig:n,setFiles:r,listManager:a}),C=()=>f?"Free"===h.name&&d>3?{canGenerate:!1,errorMessage:`Free accounts can generate up to 3 files. You're trying to generate ${d} files. Please upgrade to generate more files.`,showLoginButton:!1}:{canGenerate:!0,errorMessage:null,showLoginButton:!1}:{canGenerate:!1,errorMessage:"Please log in to generate test files.",showLoginButton:!0},{canGenerate:k,errorMessage:T,showLoginButton:A}=C();return _.jsxs(pc,{sx:{display:"flex",flexDirection:"column",gap:2,mb:3},children:[!k&&_.jsx(ai,{severity:"warning",action:A?_.jsx(Ec,{color:"inherit",size:"small",onClick:()=>{m()},sx:{fontWeight:"bold"},children:"LOG IN"}):null,children:T}),_.jsxs(pc,{sx:{display:"flex",gap:2,alignItems:"flex-end",flexWrap:"wrap"},children:[_.jsx(oh,{type:"number",label:"Number of Files to Generate",value:d,onChange:e=>p(Math.max(1,parseInt(e.target.value)||1)),sx:{flex:"1 1 200px"},InputProps:{inputProps:{min:1}}}),_.jsxs(pc,{sx:{flex:"1 1 250px",minWidth:200},children:[_.jsx(Ec,{id:"zip-generator-button","aria-controls":y?"zip-generator-menu":void 0,"aria-haspopup":"true","aria-expanded":y?"true":void 0,variant:"outlined",onClick:e=>{b(e.currentTarget)},disabled:S,endIcon:_.jsx(AE,{}),sx:{height:56,width:"100%",justifyContent:"space-between",textTransform:"none",textAlign:"left",color:c?"text.primary":"text.secondary",borderColor:"rgba(0, 0, 0, 0.23)","&:hover":{borderColor:"rgba(0, 0, 0, 0.87)"}},children:c?l.find(e=>e.id===c)?.name||c:"Template Source (Optional ZIP)"}),_.jsxs(Pp,{id:"zip-generator-menu",anchorEl:g,open:y,onClose:v,MenuListProps:{"aria-labelledby":"zip-generator-button"},PaperProps:{style:{width:g?g.clientWidth:void 0}},children:[_.jsx(zp,{onClick:()=>x(""),selected:""===c,children:_.jsx("em",{children:"None - Use Selected Template Above"})}),l&&l.map((e,t)=>{return _.jsx(zp,{onClick:(n=e?.id,()=>{x(n)}),selected:e?.id===c,children:e?.name||"Invalid File Entry"},e?.id||t);var n})]})]}),_.jsx(Ec,{variant:"contained",color:"primary",onClick:async()=>{const{canGenerate:e}=C();e&&await E(d,i,s,c)},disabled:!t&&!c||S||!k,sx:{height:56,px:4,flexShrink:0},children:S?"Generating...":"Generate Test Files"})]}),S&&_.jsxs(pc,{sx:{width:"100%",mt:2},children:[_.jsx(Gd,{variant:"determinate",value:w}
152),_.jsxs(di,{variant:"caption",sx:{display:"block",mt:1},children:["Generating files: ",Math.round(w),"%"]})]})]})},Oj=e=>{const t={...e};return Object.entries(t).forEach(([e,n])=>{if(n&&"object"==typeof n)switch(n.behavior){case"enumerate":void 0===n.startValue&&(n.startValue=""),void 0===n.incrementAmount&&(n.incrementAmount=1),void 0===n.useTemplateValue&&(n.useTemplateValue=!0);break;case"uuid":void 0===n.uuidCase&&(n.uuidCase="lower"),void 0===n.uuidPrefix&&(n.uuidPrefix=""),void 0===n.uuidSuffix&&(n.uuidSuffix="");break;case"list":void 0===n.selectedListId&&(n.selectedListId=""),void 0===n.selectionMode&&(n.selectionMode="sequence"),void 0===n.sequenceBasis&&(n.sequenceBasis="file");break;case"date":void 0===n.dateMode&&(n.dateMode="increment"),void 0===n.dateFormat&&(n.dateFormat="YYYY-MM-DD"),void 0===n.daysIncrement&&(n.daysIncrement=1),void 0===n.includeTime&&(n.includeTime=!1),void 0===n.baseDate&&(n.baseDate=""),void 0===n.startDate&&(n.startDate=""),void 0===n.endDate&&(n.endDate="");break;case"number":void 0===n.numberMin&&(n.numberMin=0),void 0===n.numberMax&&(n.numberMax=100),void 0===n.isInteger&&(n.isInteger=!0),void 0===n.decimalPlaces&&(n.decimalPlaces=2);break;case"reference":void 0===n.referencePath&&(n.referencePath=""),void 0===n.referenceTransform&&(n.referenceTransform="");break;case"custom":void 0===n.customScript&&(n.customScript="");break;default:n.behavior||(n.behavior="keep")}else t[e]={behavior:"keep"}}),t},Lj=()=>{try{const t=localStorage.getItem("templateConfigs");let n=[];try{n=JSON.parse(t||"[]"),Array.isArray(n)||(n=[])}catch(e){n=[]}return n.map(e=>({...e,config:Oj(e.config||{})}))}catch(t){return[]}},Dj=e=>{try{return!!Array.isArray(e)&&(localStorage.setItem("templateConfigs",JSON.stringify(e)),!0)}catch(t){return!1}},Pj=(e,t="test-data-configurations.json")=>{try{if(!Array.isArray(e))return!1;const n=JSON.stringify(e,null,2),r=new Blob([n],{type:"application/json"}),a=URL.createObjectURL(r),o=document.createElement("a");return o.href=a,o.download=t,document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(a),!0}catch(n){return!1}},Mj=()=>{const[e,t]=o.useState([]),[n,r]=o.useState(""),[a,i]=o.useState({fieldConfigs:{}}),[s,l]=o.useState(!1),[c,u]=o.useState(""),[d,p]=o.useState(!1),[f,m]=o.useState(null);o.useEffect(()=>{const e=Lj();e.length>0?(Nj.debug(`Loaded ${e.length} template configs`),t(e)):(Nj.debug("No template configs found"),t([]))},[]);const h=o.useCallback(e=>({fieldConfigs:{}}),[]),g=o.useCallback((t,n)=>{if(r(t),t){if(!Array.isArray(e))return void Nj.error("templateConfigs is not an array");const n=e.find(e=>e.id===t);if(n){const e={fieldConfigs:n.config||{}},t=Oj(e.fieldConfigs);return e.fieldConfigs=t,i(e),e}Nj.error("Config not found for id:",t)}else if(n){const e=h(n);return i(e),e}return null},[e,h]),b=o.useCallback(()=>{l(!0)},[]),y=e=>{switch(e){case"list":return["behavior","selectedListId","valueList","selectionMode","sequenceBasis"];case"enumerate":return["behavior","startValue","incrementAmount","useTemplateValue"];case"uuid":return["behavior","uuidCase","uuidPrefix","uuidSuffix"];case"reference":return["behavior","referencePath","referenceTransform"];case"date":return["behavior","dateMode","baseDate","dateFormat","daysIncrement","startDate","endDate","includeTime"];case"number":return["behavior","numberMin","numberMax","isInteger","decimalPlaces"];case"custom":return["behavior","customScript"];default:return["behavior"]}},v=o.useCallback(e=>{if(!e)return;const n={};Object.entries(a.fieldConfigs||{}).forEach(([e,t])=>{if(!t||!t.behavior||"keep"===t.behavior)return;const r=y(t.behavior),a={};r.forEach(e=>{t.hasOwnProperty(e)&&("valueList"===e&&Array.isArray(t[e])&&0===t[e].length&&t.selectedListId||(a[e]=t[e]))}),a.selectedListId&&a.hasOwnProperty("valueList")&&delete a.valueList,n[e]=a});const o={id:Date.now().toString(),name:e,config:n},i=[...JSON.parse(localStorage.getItem("templateConfigs")||"[]"),o];return Dj(i)&&(t(i),r(o.id)),l(!1),u(""),o},[a]),x=o.useCallback(()=>{if(n){if(!Array.isArray(e))return!1;const r=e.findIndex(e=>e.id===n);if(-1!==r){const n=e[r],o={};Object.entries(a.fieldConfigs||{}
152).forEach(([e,t])=>{if(!t||!t.behavior||"keep"===t.behavior)return;const n=y(t.behavior),r={};n.forEach(e=>{t.hasOwnProperty(e)&&("valueList"===e&&Array.isArray(t[e])&&0===t[e].length&&t.selectedListId||(r[e]=t[e]))}),r.selectedListId&&r.hasOwnProperty("valueList")&&delete r.valueList,o[e]=r});const i=[...e];if(i[r]={...n,config:o},Dj(i))return t(i),!0}}return!1},[n,e,a]),S=o.useCallback(e=>{m(e),p(!0)},[]),w=o.useCallback(e=>{if(f){const a=JSON.parse(localStorage.getItem("templateConfigs")||"[]").filter(e=>e.id!==f);if(Dj(a)&&(t(a),n===f&&(r(""),e))){const t=h(e);return i(t),t}}return p(!1),m(null),null},[f,n,h]),E=o.useCallback(e=>{i(e)},[]),C=o.useCallback(()=>{const e=Lj();return Pj(e,"test-data-configurations.json")},[]),k=o.useCallback(e=>{const t=Lj().find(t=>t.id===e);return!!t&&Pj([t],`${t.name.replace(/[^a-z0-9]/gi,"_").toLowerCase()}-config.json`)},[]),T=o.useCallback(async e=>{const n=Lj(),r=await(async(e,t=[])=>{try{const n=await e.text(),r=JSON.parse(n);if(!Array.isArray(r))throw new Error("Invalid configuration file: expected an array of configurations");for(const e of r)if(!e.id||!e.name||!e.config)throw new Error("Invalid configuration format: missing required fields (id, name, config)");const a=new Set(t.map(e=>e.id)),o=[...t];let i=0,s=0;for(const e of r)if(a.has(e.id)){const t=Date.now().toString()+"_"+Math.random().toString(36).substr(2,9);o.push({...e,id:t,name:`${e.name} (imported)`}),s++,i++}else o.push(e),a.add(e.id),i++;return{success:!0,configs:o,importedCount:i,duplicateCount:s,message:`Successfully imported ${i} configuration(s)${s>0?` (${s} renamed due to duplicates)`:""}`}}catch(n){return{success:!1,configs:t,error:n.message}}})(e,n);return r.success&&Dj(r.configs)?(t(r.configs),r):r},[]);return{templateConfigs:e,selectedConfig:n,currentConfig:a,saveDialogOpen:s,newConfigName:c,deleteConfirmOpen:d,configToDelete:f,setTemplateConfigs:t,setSelectedConfig:r,setNewConfigName:u,setSaveDialogOpen:l,setDeleteConfirmOpen:p,generateInitialConfig:h,selectConfig:g,openSaveDialog:b,saveNewConfig:v,updateConfig:x,deleteConfig:S,confirmDeleteConfig:w,updateCurrentConfig:E,exportAllConfigs:C,exportSpecificConfig:k,importConfigsFromFile:T}},jj="nodeflip_test_data_state",Fj=({children:e,content:t,position:n="top",className:r=""})=>{const[a,i]=o.useState(!1),[s,l]=o.useState({top:0,left:0}),c=o.useRef(null),u=o.useRef(null);if(o.useEffect(()=>{if(a&&c.current){const e=c.current.getBoundingClientRect(),t=window.innerWidth;let a=0,o=0;const i=r.includes("file-tooltip");switch(n){case"top":i?(a=e.top,o=e.left,o<20?o=20:o+400>t&&(o=t-400)):(a=e.top-8,o=e.left+e.width/2,o<200?o=Math.max(200,e.left+20):o+200>t&&(o=Math.min(t-200,e.right-20)));break;case"bottom":a=e.bottom+8,o=e.left+e.width/2,o<200?o=Math.max(200,e.left+20):o+200>t&&(o=Math.min(t-200,e.right-20));break;case"left":a=e.top+e.height/2,o=e.left-8;break;case"right":i?(a=e.top,o=e.right+8,o+400>t&&(o=t-400)):(a=e.top+e.height/2,o=e.right+8);break;default:a=e.top-8,o=e.left+e.width/2}l({top:a,left:o})}},[a,n,r]),o.useEffect(()=>()=>{u.current&&clearTimeout(u.current)},[]),!t)return e;const d=a&&Oa.createPortal(_.jsx("div",{className:`simple-tooltip simple-tooltip-${n} ${r.includes("file-tooltip")?"file-tooltip-arrow":""}`,style:{position:"fixed",top:["top","left","right"].includes(n)?`${s.top}px`:"auto",bottom:"bottom"===n?window.innerHeight-s.top+"px":"auto",left:["top","bottom","right"].includes(n)?`${s.left}px`:"auto",right:"left"===n?window.innerWidth-s.left+"px":"auto",transform:"top"!==n||r.includes("file-tooltip")?"top"===n&&r.includes("file-tooltip")?"translate(0, -100%)":"bottom"!==n||r.includes("file-tooltip")?"bottom"===n&&r.includes("file-tooltip")?"translate(0, 0)":"left"===n?"translate(-100%, -50%)":"right"!==n||r.includes("file-tooltip")?"right"===n&&r.includes("file-tooltip")?"translate(0, 0)":"none":"translate(0, -50%)":"translate(-50%, 0)":"translate(-50%, -100%)",zIndex:1e4,opacity:1,transition:"opacity 0.2s ease-in-out"},children:t}),document.body);return _.jsxs("div",{ref:c,className:`simple-tooltip-container ${r}`,onMouseEnter:()=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{i(!0)},700)},onMouseLeave:()=>{u.current&&clearTimeout(u.current),i(!1)},children:[e,d]})},zj=({files:e,selectedFileIndex:t,setFiles:n})=>
152{const[r,a]=o.useState(""),[i,s]=o.useState(!1),[l,c]=o.useState(null),[u,d]=o.useState(new Set),[p,f]=o.useState([]),[m,h]=o.useState(!1),[g,b]=o.useState(""),[y,v]=o.useState(null),[x,S]=o.useState(""),[w,E]=o.useState(""),[C,k]=o.useState(!1),[T,A]=o.useState(!1),[I,N]=o.useState(""),[R,O]=o.useState(""),L=e=>{if(!e||!e.sourceContent)return null;if("xml"===e.fileType)try{return pE(e.sourceContent)}catch(yU){return Nj.error("Failed to parse XML for template",yU),{error:"XML_PARSE_ERROR",details:yU.message}}else if("json"===e.fileType)try{return JSON.parse(e.sourceContent)}catch(yU){return Nj.error("Failed to parse JSON for template",yU),{error:"JSON_PARSE_ERROR",details:yU.message}}return null},D=o.useMemo(()=>{if(""===r)return null;const t=parseInt(r,10);return isNaN(t)||!e[t]?null:L(e[t])},[r,e]),P=o.useCallback(e=>{E(e)},[]),M=(()=>{const[e,t]=o.useState([]),[n,r]=o.useState(null),[a,i]=o.useState(""),[s,l]=o.useState(""),[c,u]=o.useState("sequence"),[d,p]=o.useState(!1);o.useEffect(()=>{const e=JSON.parse(localStorage.getItem("valueLists")||"[]");t(e)},[]);const f=()=>{r(null),i(""),l(""),u("sequence")};return{savedLists:e,editingList:n,newListName:a,newListItems:s,listSelectionMode:c,listsDialogOpen:d,setSavedLists:t,setEditingList:r,setNewListName:i,setNewListItems:l,setListSelectionMode:u,setListsDialogOpen:p,handleSaveList:()=>{if(!a.trim())return;const o=s.split("\n").map(e=>e.trim()).filter(e=>e.length>0);if(n){const r=e.map(e=>e.id===n.id?{...e,name:a,items:o,date:(new Date).toISOString()}:e);t(r),localStorage.setItem("valueLists",JSON.stringify(r))}else{const n={id:Date.now().toString(),name:a,items:o,date:(new Date).toISOString()},r=[...e,n];t(r),localStorage.setItem("valueLists",JSON.stringify(r))}i(""),l(""),r(null)},handleDeleteList:n=>{const r=e.filter(e=>e.id!==n);t(r),localStorage.setItem("valueLists",JSON.stringify(r))},handleEditList:e=>{r(e),i(e.name),l(e.items.join("\n"))},resetListForm:f,openListsDialog:()=>{f(),p(!0)},closeListsDialog:()=>{p(!1),f()},getListById:t=>e.find(e=>e.id===t)}})(),j=Mj(),F=_j({files:e,selectedTemplate:r,templateConfig:j.currentConfig,setFiles:n,listManager:M}),z=(e=>{const t=o.useRef(e);return o.useEffect(()=>{t.current=e},[e]),o.useEffect(()=>{const e=()=>{try{const e=t.current;if(e.selectedTemplate){const t={selectedTemplate:e.selectedTemplate,selectedZipForGeneration:e.selectedZipForGeneration,expandedNodes:Array.from(e.expandedNodes||new Set),selectedConfig:e.selectedConfig,currentConfig:e.currentConfig,timestamp:Date.now()};sessionStorage.setItem(jj,JSON.stringify(t))}}catch(e){}};return window.addEventListener("beforeunload",e),()=>{e(),window.removeEventListener("beforeunload",e)}},[]),{restoreState:()=>{try{const e=sessionStorage.getItem(jj);if(!e)return null;const t=JSON.parse(e),n=Date.now()-864e5;return t.timestamp&&t.timestamp<n?(sessionStorage.removeItem(jj),null):t}catch(e){return null}}}})(o.useMemo(()=>({selectedTemplate:r,selectedZipForGeneration:w,expandedNodes:u,selectedConfig:j.selectedConfig,currentConfig:j.currentConfig}),[r,w,u,j.selectedConfig,j.currentConfig]));o.useEffect(()=>{const e=Lj();e.length>0?(Nj.debug(`Loaded ${e.length} template configs`),j.setTemplateConfigs(e)):(Nj.debug("No template configs found"),j.setTemplateConfigs([]))},[]),o.useEffect(()=>{const e=()=>{try{const e=localStorage.getItem("templateConfigs");if(e){const t=JSON.parse(e);Array.isArray(t)&&t.length>0&&j.setTemplateConfigs(t)}}catch(e){Nj.error("Error reloading template configs:",e)}};return window.addEventListener("focus",e),e(),()=>{window.removeEventListener("focus",e)}},[r]),o.useEffect(()=>{const t=e.findIndex(e=>e&&"zip"!==e.fileType&&"xsd"!==e.fileType),n=""===r,o=""!==r&&(isNaN(parseInt(r,10))||!e[parseInt(r,10)]||"zip"===e[parseInt(r,10)].fileType||"xsd"===e[parseInt(r,10)].fileType);if((n||o)&&-1!==t){const n=t.toString();Nj.debug(`useEffect Initializing/Resetting selectedTemplate to: ${n}`),a(n);const r=e[t];if(r){const e=L(r);if(e&&!e.error){const t=j.generateInitialConfig(e);j.updateCurrentConfig(t);const n=Object.keys(e)[0];d(new Set(n?[n]:[])),setTimeout(()=>{F.generateExampleValues(e,t)},0)}}}else""===r&&-1===t&&(a(""),j.updateCurrentConfig(null),d(new Set),F.generateExampleValues(null,null))},[e,r]),o.useEffect(()=>{if(!r||!j.templateConfigs||0===j.templateConfigs.length)return;if(!sessionStorage.getItem("nodeflip_test_data_state"))return;const t=z.restoreState();if(!t)return;const n=parseInt(t.selectedTemplate,10);if(isNaN(n)||!e[n]||"zip"===e[n].fileType)return;const o=[];if(t.selectedTemplate!==r&&o.push(()=>a(t.selectedTemplate)),t.selectedZipForGeneration){const n=e.some(e=>e.id===t.selectedZipForGeneration&&"zip"===e.fileType);n&&o.push(()=>E(t.selectedZipForGeneration))}if(t.expandedNodes&&t.expandedNodes.length>0&&o.push(()=>d(new Set(t.expandedNodes))),t.selectedConfig){const e=j.templateConfigs.some(e=>e.id===t.selectedConfig);e&&o.push(()=>j.setSelectedConfig(t.selectedConfig))}t.currentConfig&&o.push(()=>
152j.updateCurrentConfig(t.currentConfig)),o.forEach(e=>e()),sessionStorage.removeItem("nodeflip_test_data_state")},[r,e.length]);const $=(e,t="")=>{const n=[];if("object"==typeof e&&null!==e)if(Array.isArray(e))e.length>0&&n.push(...$(e[0],t));else for(const[r,a]of Object.entries(e)){const e=t?`${t}/${r}`:r;"object"!=typeof a||null===a?n.push(e):n.push(...$(a,e))}return n};o.useEffect(()=>{if(D){const e=$(D);f(e)}},[D]);const B=(e,t)=>{if(!e)return{behavior:"keep"};const n=e.fieldConfigs?e:{fieldConfigs:e};if(!n.fieldConfigs)return{behavior:"keep"};const r=t.split(".").filter(Boolean).map(e=>e.replace("[]","")).join("/"),a=[r],o=r.match(/(.+)\/(\d+)$/);o&&a.push(o[1]);const i=r.replace(/\/\d+\//g,"/");i!==r&&a.push(i);const s=r.split("/").filter(e=>!/^\d+$/.test(e)).join("/");s===r||a.includes(s)||a.push(s);const l=r.match(/(.+)\/(\d+)\/(.+)$/);if(l){const[e,t,n,r]=l,o=`${t}/${r}`;a.includes(o)||a.push(o),a.includes(t)||a.push(t)}for(const c of a){const e=n.fieldConfigs[c];if(e)return e}return{behavior:"keep"}},U=(e,t)=>{if(Nj.debug("Saving field config for path:",e,"Config:",t),!e)return void Nj.error("No path provided for saving config");const n={...j.currentConfig.fieldConfigs||{}};let r=e;const a=r.match(/(.+)\/(\d+)$/);if(a)r=a[1],Nj.debug(`Path ends with index, using parent path: ${r}`);else{const e=r.split("/").map(e=>
152/^\d+$/.test(e)?"":e).filter(Boolean).join("/");e!==r&&(r=e,Nj.debug(`Complex array path normalized to: ${r}`))}n[r]=t,Nj.debug(`Saving configuration for ${r}:`,t);const o={...j.currentConfig,fieldConfigs:n};j.updateCurrentConfig(o),s(!1)},H=e=>{switch(e){case"enumerate":return"#FF9800";case"number":return"#4CAF50";case"date":return"#2196F3";case"uuid":return"#9C27B0";case"list":return"#FFEB3B";case"reference":return"#E91E63";case"custom":return"#F44336";default:return"#E0E0E0"}},V=(e,t,n)=>{let r="",a="";switch(t){case"enumerate":r=`Auto increment by ${n.incrementAmount||1}`,a=`Example: ${e} (click to copy)`;break;case"number":if("integer"===n.numberType){r=`Random integer between ${void 0!==n.minValue?n.minValue:0} and ${void 0!==n.maxValue?n.maxValue:100}`}else if("decimal"===n.numberType){r=`Random decimal between ${void 0!==n.minValue?n.minValue:0} and ${void 0!==n.maxValue?n.maxValue:1} with ${void 0!==n.precision?n.precision:2} decimal places`}else r="Random number";a=`Example: ${e} (click to copy)`;break;case"date":r=n.dateFormat?`Date format: ${n.dateFormat}`:"Increment Date",a=`Example: ${e} (click to copy)`;break;case"uuid":const t="upper"===n.uuidCase?"uppercase":"lowercase",o=n.uuidPrefix&&n.uuidPrefix.length>0,i=n.uuidSuffix&&n.uuidSuffix.length>0;r=`Generate UUID in ${t}`,(o||i)&&(r+=" with ",o&&(r+=`prefix "${n.uuidPrefix}"`),o&&i&&(r+=" and "),i&&(r+=`suffix "${n.uuidSuffix}"`)),a=`Example: ${e} (click to copy)`;break;case"list":const s=n.selectedListId?M.savedLists.find(e=>e.id===n.selectedListId)?.name:"";r=`Value from list: ${s||"Unknown list"}`,a=`Example: ${e} (click to copy)`;break;case"reference":r=`Reference to: ${n.referencePath||"Unknown path"}`,n.referenceTransform&&(r+=`\nTransform: ${n.referenceTransform}`),a=`Example: ${e} (click to copy)`;break;case"custom":if(r="Custom script",n.customScript){r+=`\n${n.customScript.length>50?n.customScript.substring(0,50)+"...":n.customScript}`}a=`Example: ${e} (click to copy script)`;break;default:r="Original value",a=`Value: ${e} (click to copy)`}return _.jsxs("div",{style:{padding:"8px 12px",maxWidth:"300px"},children:[_.jsx("div",{style:{marginBottom:"8px",whiteSpace:"pre-line"},children:r}),_.jsx("div",{style:{marginTop:"8px",padding:"4px 8px",backgroundColor:"rgba(0,0,0,0.05)",borderRadius:"4px",fontFamily:"monospace",overflow:"hidden",textOverflow:"ellipsis"},children:a})]})},W=e=>e&&"object"==typeof e&&0===Object.keys(e).length||null==e?"":String(e),G=(e,t,n="",r=0)=>{const a=`${n}${n.length>0?"/":""}${e}`,o=B(j.currentConfig,a),i=(e=>{switch(e){case"enumerate":return _.jsx(nC,{fontSize:"small",sx:{fontSize:"0.8rem",color:"#FF9800"}});case"date":return _.jsx(_E,{fontSize:"small",sx:{fontSize:"0.8rem",color:"#2196F3"}});case"number":return _.jsx(qE,{fontSize:"small",sx:{fontSize:"0.8rem",color:"#4CAF50"}});case"uuid":return _.jsx(WE,{fontSize:"small",sx:{fontSize:"0.8rem",color:"#9C27B0"}});case"list":return _.jsx(GE,{fontSize:"small",sx:{fontSize:"0.8rem",color:"#FFEB3B"}});case"reference":return _.jsx(ZE,{fontSize:"small",sx:{fontSize:"0.8rem",color:"#E91E63"}});case"custom":return _.jsx(ME,{fontSize:"small",sx:{fontSize:"0.8rem",color:"#F44336"}});case"keep":return _.jsx(QE,{fontSize:"small",sx:{fontSize:"0.8rem",color:"#9E9E9E"}});default:return _.jsx(hC,{fontSize:"small",sx:{fontSize:"0.8rem"}})}})(o.behavior),l="object"==typeof t&&null!==t&&Object.keys(t).length>0,d="object"!=typeof t||null===t||0===Object.keys(t).length,p=u.has(a);let f="";if(d&&D)try{const e=a.split("/").filter(Boolean);let t=D;for(const n of e){if(null==t)break;t=!isNaN(parseInt(n))&&Array.isArray(t)?t[parseInt(n)]:t[n]}f=t,Nj.debug(`Original value for ${a}:`,f)}catch(y){Nj.error(`Error getting original value for ${a}:`,y)}let m=f;if("keep"!==o.behavior){const e=F.exampleValues.get(a);if(void 0!==e)m=e,Nj.debug(`Found example value for ${a}:`,e);else switch(o.behavior){case"uuid":const e="upper"===o.uuidCase?"upper":"lower",t=o.uuidPrefix||"",n=o.uuidSuffix||"",r="00000000-0000-0000-0000-000000000000";m=`${t}${"upper"===e?r.toUpperCase():r}${n}`;break;case"enumerate":m=`${f} + increment`;break;case"list":m="List Value";break;case"date":m="Generated Date";break;case"number":m="Random Number";break;case"reference":m=`[Ref: ${o.referencePath||"path"}]`;break;
152case"custom":m="[Custom Script]"}}const h=()=>{if(o&&"list"===o.behavior&&o.selectedListId){const e=M.savedLists.find(e=>e.id===o.selectedListId);return e?e.name:"Unknown List"}return""},g=!isNaN(parseInt(e))&&String(parseInt(e))===e;if(g&&l&&!Array.isArray(t))return _.jsx(pc,{children:Object.entries(t).map(([e,t])=>G(e,t,a,r+1))},a);const b=l&&!Array.isArray(t)&&0===Object.keys(t).length;return _.jsxs(pc,{children:[_.jsx(sp,{sx:{pl:3*r,borderLeft:r>0?"1px dashed rgba(0,0,0,0.1)":"none",ml:r>0?2:0,"&:hover":{backgroundColor:"rgba(0, 0, 0, 0.04)"}},children:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",flex:1,gap:1},children:[l&&!b&&_.jsx(qo,{size:"small",onClick:()=>K(a),children:p?_.jsx(Dw,{}):_.jsx(XE,{})}),(!l||b)&&_.jsx(pc,{sx:{width:28}}),_.jsxs(di,{sx:{flex:1,fontWeight:l&&!b?500:400,color:l&&!b?"primary.main":"text.primary",fontStyle:b?"italic":"normal"},children:[g?l?`${n.split(".").pop()} []`:n.split(".").pop():e,!g&&Array.isArray(t)&&" []",b&&_.jsx("span",{style:{fontSize:"0.8rem",marginLeft:"4px"},children:"(empty)"})]}),d&&_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:2},children:[_.jsx(pc,{sx:{display:"flex",alignItems:"center"},children:null!=f?_.jsx(Fj,{content:V("keep"===o.behavior?f:m,o.behavior,o),position:"top",children:_.jsxs(pc,{onClick:()=>{const e="keep"===o.behavior?f:m;"custom"===o.behavior&&o.customScript?Y(o.customScript):Y(W(e))},sx:{minHeight:"24px",minWidth:200,maxWidth:300,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",padding:"4px 8px",paddingLeft:"28px",borderRadius:"4px",backgroundColor:"keep"===o.behavior?"transparent":"rgba(0, 0, 0, 0.04)",border:"1px solid rgba(0, 0, 0, 0.12)",borderLeft:`4px solid ${H(o.behavior)}`,fontSize:"0.875rem",color:"keep"===o.behavior?"text.secondary":"text.primary",fontFamily:"monospace",position:"relative",cursor:"pointer","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.08)"}},children:[_.jsx(pc,{sx:{position:"absolute",left:"8px",top:"50%",transform:"translateY(-50%)",display:"flex",alignItems:"center"},children:i}),W("keep"===o.behavior?f:m)]})}):_.jsx(oh,{size:"small",placeholder:"",value:null!=f?String(f):"",disabled:!0,sx:{width:200,"& .MuiInputBase-input":{height:"1rem",fontSize:"0.875rem"},"& .MuiOutlinedInput-root":{"& fieldset":{borderLeft:`4px solid ${H(o.behavior)}`}}}})}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(ed,{size:"small",sx:{width:250},children:_.jsxs(_f,{value:o.behavior||"keep",onChange:e=>{X(a,e.target.value)},variant:"outlined",sx:{height:32,bgcolor:"keep"===o.behavior?"transparent":"#fff9c4",color:"keep"===o.behavior?"inherit":"black",borderLeft:`4px solid ${H(o.behavior||"keep")}`},renderValue:e=>{if("list"===e&&h())return h();switch(e){case"date":return"increment"===o.dateMode?"Increment "+(o.includeTime?"DateTime":"Date"):"today"===o.dateMode?`Today${o.daysIncrement?` ${o.daysIncrement>0?"+":""}${o.daysIncrement} days`:""}${o.includeTime?" with time":""}`:"fixed"===o.dateMode?"Fixed "+(o.includeTime?"DateTime":"Date"):"random"===o.dateMode?"Random "+(o.includeTime?"DateTime":"Date"):"Generate Date";case"enumerate":return"Auto increment";case"keep":return"Keep Original";case"list":return"From List";case"reference":return"Reference Value";case"uuid":return"Generate UUID";case"number":return"Generate Number";case"custom":return"Custom Script";default:return e}},children:[_.jsx(zp,{value:"keep",children:"Keep Original"}),_.jsx(zp,{value:"enumerate",children:"Auto increment"}),_.jsx(zp,{value:"uuid",children:"Generate UUID"}),_.jsx(zp,{value:"list",children:"From List"}),_.jsx(zp,{value:"date",children:"Generate Date"}),_.jsx(zp,{value:"number",children:"Generate Number"}),_.jsx(zp,{value:"reference",children:"Reference Value"}),_.jsx(zp,{value:"custom",children:"Custom Script"})]})}),_.jsx(qo,{size:"small",onClick:()=>(e=>{Nj.debug("Configuring field at path:",e);const t=B(j.currentConfig,e);Nj.debug("Current config for path:",t),c({path:e,config:t}),v(t),S(e),s(!0)})(a),children:_.jsx(Rh,{fontSize:"small"})})]})]})]})}),p&&l&&!b&&_.jsx(pc,{children:Array.isArray(t)&&t.length>0?G("0",t[0],a,r+1):Object.entries(t).map(([e,t])=>G(e,t,a,r+1))})]},a)},q=o.useMemo(()=>
152{if(!D||"object"!=typeof D||D.error)return null;const e=D;return Object.entries(e).map(([e,t])=>G(e,t,"",0))},[D,j.currentConfig,u,F.exampleValues]),Y=e=>{navigator.clipboard.writeText(String(e)),b(String(e)),h(!0),setTimeout(()=>h(!1),2e3)};e.filter(e=>"zip"===e.fileType);const X=(e,t)=>{let n=e;const r=n.match(/(.+)\/(\d+)$/);if(r)n=r[1],Nj.debug(`Path ends with index, using parent path: ${n}`);else{const e=n.split("/").map(e=>/^\d+$/.test(e)?"":e).filter(Boolean).join("/");e!==n&&(n=e,Nj.debug(`Complex array path normalized to: ${n}`))}const a={...j.currentConfig.fieldConfigs||{}};"keep"===t?a[n]&&(delete a[n],Nj.debug(`Removing configuration for ${n} (behavior set to keep)`)):(a[n]={...a[n]||{},behavior:t},Nj.debug(`Updating behavior for ${n} to ${t}`)),j.updateCurrentConfig({...j.currentConfig,fieldConfigs:a})},K=e=>{d(t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})};return _.jsx(pc,{sx:{p:3,display:"flex",justifyContent:"center"},children:_.jsxs(pc,{sx:{width:"80%",minWidth:"800px",maxWidth:"1400px"},children:[_.jsxs(pc,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:3},children:[_.jsx(di,{variant:"h5",children:"Test Data Generator"}),_.jsxs(pc,{sx:{display:"flex",gap:1},children:[_.jsx(Ec,{variant:"outlined",startIcon:_.jsx(JE,{}),onClick:()=>{c(null),M.openListsDialog()},children:"Manage Lists"}),_.jsx(Ec,{variant:"outlined",startIcon:_.jsx(HE,{}),onClick:()=>k(!0),children:"Import"}),_.jsx(Ec,{variant:"outlined",startIcon:_.jsx(UE,{}),onClick:()=>A(!0),disabled:!j.templateConfigs||0===j.templateConfigs.length,children:"Export"})]})]}),_.jsxs(pc,{sx:{display:"flex",gap:3,mb:3},children:[_.jsxs(ed,{sx:{flex:1},children:[_.jsx(Ld,{children:"Select Template File"}),_.jsx(_f,{value:r,onChange:t=>{const n=t.target.value;a(n),j.setSelectedConfig("");const r=parseInt(n,10);if(""!==n&&!isNaN(r)&&e[r]){const t=e[r],n=L(t);if(n&&!n.error){const e=j.generateInitialConfig(n);j.updateCurrentConfig(e);const t=Object.keys(n)[0];d(new Set([t])),setTimeout(()=>{F.generateExampleValues(n,e)},100)}}},label:"Select Template File",children:e.map((e,t)=>"zip"===e.fileType?_.jsx(zp,{value:t.toString(),disabled:!0,children:_.jsx(Fj,{content:"Zip files cannot be used as templates. Please extract or upload individual XML/JSON files.",children:_.jsx("span",{children:e.name})})},t):"xsd"===e.fileType?_.jsx(zp,{value:t.toString(),disabled:!0,children:_.jsx(Fj,{content:"XSD schema files cannot be used as templates for data generation.",children:_.jsx("span",{children:e.name})})},t):_.jsx(zp,{value:t.toString(),children:e.name},t))})]}),""!==r&&_.jsxs(pc,{sx:{display:"flex",gap:2,flex:1},children:[_.jsxs(ed,{sx:{flex:1},children:[_.jsx(Ld,{children:"Saved Configurations"}),_.jsxs(_f,{value:j.selectedConfig,onChange:e=>{const t=e.target.value;Nj.debug("Config selected:",t);const n=D,r=j.selectConfig(t,n);r&&n&&setTimeout(()=>{F.generateExampleValues(n,r)},100)},label:"Saved Configurations",MenuProps:{PaperProps:{style:{maxHeight:300}},autoFocus:!1},renderValue:e=>{if(!Array.isArray(j.templateConfigs)||0===j.templateConfigs.length)return _.jsx("em",{children:"None"});const t=j.templateConfigs.find(t=>t.id===e);return t?t.name:_.jsx("em",{children:"None"})},children:[_.jsx(zp,{value:"",children:_.jsx("em",{children:"None"})}),Array.isArray(j.templateConfigs)&&j.templateConfigs.length>0?j.templateConfigs.map(e=>_.jsx(zp,{value:e.id,children:_.jsxs(pc,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",width:"100%"},children:[_.jsx("span",{children:e.name||"Unnamed Config"}),_.jsx(qo,{size:"small",onClick:t=>{t.stopPropagation(),j.deleteConfig(e.id)},children:_.jsx(tv,{fontSize:"small"})})]})},e.id)):_.jsx(zp,{disabled:!0,children:_.jsx("em",{children:"No saved configurations"})})]})]}),_.jsx(Ec,{variant:"contained",startIcon:_.jsx(jw,{}),onClick:()=>{j.selectedConfig?j.updateConfig():j.openSaveDialog()},sx:{height:56},disabled:""===r,children:"SAVE"}),_.jsx(Ec,{variant:"outlined",startIcon:_.jsx(jw,{}),onClick:()=>j.openSaveDialog(),sx:{height:56},disabled:""===r,children:"Save As..."})]})]}),""!==r&&_.jsxs(_.Fragment,{children:[_.jsxs(lo,{sx:{mb:3,maxHeight:"calc(100vh - 250px)",overflow:"hidden",display:"flex",flexDirection:"column"},children:[_.jsxs(pc,{sx:{position:"sticky",top:0,zIndex:10,backgroundColor:"background.paper",borderBottom:"1px solid",borderColor:"divider",p:3,pb:2,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[_.jsx(di,{variant:"subtitle1",children:"Template Configuration"}),_.jsxs(pc,{sx:{display:"flex",gap:1},children:[_.jsx(Ec,{variant:"outlined",size:"small",onClick:()=>
152{if(D){const e=[],t=(n,r="")=>{if("object"==typeof n&&null!==n)if(Array.isArray(n))n.forEach((n,a)=>{const o=r?`${r}/${a}`:String(a);e.push(o),t(n,o)});else for(const[a,o]of Object.entries(n)){const n=r?`${r}/${a}`:a;e.push(n),t(o,n)}};t(D),d(new Set(e))}},children:"Expand All"}),_.jsx(Ec,{variant:"outlined",size:"small",onClick:()=>{if(D){const e=Object.keys(D)[0];d(new Set([e]))}},children:"Collapse All"})]})]}),_.jsx(pc,{sx:{flex:1,overflow:"auto",px:3,pb:3},children:_.jsx(Kd,{children:q})})]}),""!==r&&_.jsx(Rj,{files:e,selectedTemplate:r,templateConfig:j.currentConfig,setFiles:n,listManager:M,expandedNodes:u,setExpandedNodes:d,zipFiles:e.filter(e=>"zip"===e.fileType),selectedZipForGeneration:w,handleSetSelectedZipForGeneration:P})]}),_.jsx(vj,{open:i,onClose:()=>s(!1),field:l?{path:l.path,config:l.config}:{},onSave:(e,t)=>U(e,t),savedLists:M.savedLists,availablePaths:p}),_.jsx(xj,{savedLists:M.savedLists,editingList:M.editingList,newListName:M.newListName,newListItems:M.newListItems,listSelectionMode:M.listSelectionMode,listsDialogOpen:M.listsDialogOpen,setNewListName:M.setNewListName,setNewListItems:M.setNewListItems,setListSelectionMode:M.setListSelectionMode,handleSaveList:M.handleSaveList,handleDeleteList:M.handleDeleteList,handleEditList:M.handleEditList,closeListsDialog:M.closeListsDialog,selectedField:l,handleListSelect:e=>{const t={behavior:"list",selectedListId:e.id,selectionMode:M.listSelectionMode};U(l,t),M.closeListsDialog(),c(null)}}),_.jsxs(Cu,{open:j.saveDialogOpen,onClose:()=>j.setSaveDialogOpen(!1),"aria-labelledby":"save-config-dialog-title",children:[_.jsx(ju,{id:"save-config-dialog-title",children:"Save Configuration"}),_.jsx(Ou,{children:_.jsx(oh,{autoFocus:!0,margin:"dense",id:"name",label:"Configuration Name",type:"text",fullWidth:!0,value:j.newConfigName,onChange:e=>j.setNewConfigName(e.target.value)})}),_.jsxs(Au,{children:[_.jsx(Ec,{onClick:()=>j.setSaveDialogOpen(!1),color:"primary",children:"Cancel"}),_.jsx(Ec,{onClick:()=>j.saveNewConfig(j.newConfigName),color:"primary",disabled:!j.newConfigName,children:"Save"})]})]}),_.jsxs(Cu,{open:j.deleteConfirmOpen,onClose:()=>j.setDeleteConfirmOpen(!1),"aria-labelledby":"delete-config-dialog-title",children:[_.jsx(ju,{id:"delete-config-dialog-title",children:"Delete Configuration"}),_.jsx(Ou,{children:_.jsx(di,{children:"Are you sure you want to delete this configuration? This action cannot be undone."})}),_.jsxs(Au,{children:[_.jsx(Ec,{onClick:()=>j.setDeleteConfirmOpen(!1),color:"primary",children:"Cancel"}),_.jsx(Ec,{onClick:()=>{const t=""!==r&&e[r]?e[r].data:null;j.confirmDeleteConfig(t)},color:"primary",children:"Delete"})]})]}),_.jsxs(Cu,{open:T,onClose:()=>A(!1),"aria-labelledby":"export-config-dialog-title",children:[_.jsx(ju,{id:"export-config-dialog-title",children:"Export Configurations"}),_.jsxs(Ou,{children:[_.jsx(di,{sx:{mb:2},children:"Choose what to export:"}),_.jsxs(pc,{sx:{display:"flex",flexDirection:"column",gap:1},children:[_.jsxs(Ec,{variant:"outlined",onClick:()=>{j.exportAllConfigs(),A(!1)},startIcon:_.jsx(UE,{}),children:["Export All Configurations (",j.templateConfigs?.length||0,")"]}),j.selectedConfig&&_.jsx(Ec,{variant:"outlined",onClick:()=>{j.selectedConfig&&(j.exportSpecificConfig(j.selectedConfig),A(!1))},startIcon:_.jsx(UE,{}),children:"Export Current Configuration Only"})]})]}),_.jsx(Au,{children:_.jsx(Ec,{onClick:()=>A(!1),color:"primary",children:"Cancel"})})]}),_.jsxs(Cu,{open:C,onClose:()=>{k(!1),N(""),O("")},"aria-labelledby":"import-config-dialog-title",children:[_.jsx(ju,{id:"import-config-dialog-title",children:"Import Configurations"}),_.jsxs(Ou,{children:[_.jsx(di,{sx:{mb:2},children:"Select a JSON file to import configurations. Existing configurations will be preserved."}),_.jsx("input",{accept:".json",style:{display:"none"},id:"import-config-file",type:"file",onChange:async e=>{const t=e.target.files?.[0];if(!t)return;N(""),O("");const n=await j.importConfigsFromFile(t);n.success?N(n.message):O(n.error||"Failed to import configurations"),e.target.value=""}}),_.jsx("label",{htmlFor:"import-config-file",children:_.jsx(Ec,{variant:"outlined",component:"span",startIcon:_.jsx(HE,{}),fullWidth:!0,children:"Choose File"})}),I&&_.jsx(di,{color:"success.main",sx:{mt:2},children:I}),R&&_.jsx(di,{color:"error.main",sx:{mt:2},children:R})]}),_.jsx(Au,{children:_.jsx(Ec,{onClick:()=>{k(!1),N(""),O("")}
152,color:"primary",children:"Close"})})]}),_.jsx(um,{open:m,autoHideDuration:2e3,onClose:()=>h(!1),message:`Copied: ${g}`,anchorOrigin:{vertical:"bottom",horizontal:"center"},sx:{"& .MuiSnackbarContent-root":{backgroundColor:"primary.main",color:"white",maxWidth:"80%"},"& .MuiSnackbarContent-message":{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"}}})]})})},$j=()=>{const{files:e,fileManager:t,selectedFileId:n}=Mb(),r=e.findIndex(e=>e.id===n),a=-1!==r?r.toString():"";return _.jsxs(pc,{sx:{flex:1,overflowY:"auto",height:"100%"},children:[_.jsx("style",{children:".test-data-container {\n padding: 20px;\n background-color: #f9f9f9;\n border-radius: 5px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);\n}\n\n.test-data {\n margin-top: 15px;\n}\n\n.field {\n margin-bottom: 5px;\n padding: 5px;\n border-radius: 4px;\n}\n\n.field:hover {\n background-color: rgba(0, 0, 0, 0.03);\n}\n\n.field-name {\n font-weight: bold;\n margin-right: 10px;\n}\n\n.clickable {\n cursor: pointer;\n user-select: none;\n}\n\n.field-value {\n font-family: monospace;\n color: #555;\n}\n\n.field-behaviors {\n display: inline-block;\n margin-left: 20px;\n}\n\n.behavior-select {\n padding: 4px;\n border: 1px solid #ccc;\n border-radius: 4px;\n background-color: white;\n}\n\n.behavior-select option {\n padding: 4px;\n}\n\n.field-children {\n margin-top: 5px;\n border-left: 1px dashed #ccc;\n padding-left: 10px;\n}\n\n.expand-icon {\n display: inline-block;\n width: 20px;\n height: 20px;\n text-align: center;\n font-weight: bold;\n border-radius: 50%;\n margin-left: 5px;\n background-color: #f0f0f0;\n}\n\n/* Dialog styles */\n.config-dialog {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 1000;\n}\n\n.config-dialog-content {\n background-color: white;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);\n width: 500px;\n max-width: 90%;\n}\n\n.form-group {\n margin-bottom: 15px;\n}\n\n.form-group label {\n display: block;\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n.form-group textarea {\n width: 100%;\n height: 120px;\n padding: 8px;\n border: 1px solid #ddd;\n border-radius: 4px;\n font-family: monospace;\n}\n\n.dialog-buttons {\n display: flex;\n justify-content: flex-end;\n gap: 10px;\n margin-top: 20px;\n}\n\n.dialog-buttons button {\n padding: 8px 16px;\n border-radius: 4px;\n border: none;\n cursor: pointer;\n}\n\n.dialog-buttons button:first-child {\n background-color: #f0f0f0;\n}\n\n.dialog-buttons button:last-child {\n background-color: #4caf50;\n color: white;\n} "}),_.jsx(zj,{files:e,selectedFileIndex:a,setFiles:n=>{if(Array.isArray(n))n.forEach(e=>{e.id&&e.name&&e.fileType&&void 0!==e.sourceContent&&void 0!==e.isZip&&t.addConvertedFile({name:e.name,sourceContent:e.sourceContent,fileType:e.fileType,data:e.parsedData})});else if("function"==typeof n){const r=e;n(r).filter(e=>!r.find(t=>t.id===e.id)).forEach(e=>{e.id&&e.name&&e.fileType&&void 0!==e.sourceContent&&void 0!==e.isZip&&t.addConvertedFile({name:e.name,sourceContent:e.sourceContent,fileType:e.fileType,data:e.parsedData})})}}})]})},Bj="#text",Uj="@",Hj=10,Vj=(e,t)=>{if(!e||!t)return!1;const n=String(e).trim(),r=String(t).trim();if(!(r.includes("*")||r.includes("?")))return n===r;const a=r.replace(/\*/g,".*").replace(/\?/g,".").replace(/\./g,"\\.");return new RegExp(`^${a}$`).test(n)},Wj=(e,t)=>{if(!e||!t)return!1;const n=String(e).toLowerCase().trim(),r=String(t).toLowerCase().trim();if(!(r.includes("*")||r.includes("?")))return n===r;const a=r.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/\?/g,".");return new RegExp(`^${a}$`).test(n)},Gj=(e,t)=>{if(!e||!t)return!1;const n=String(e).toLowerCase().trim(),r=String(t).toLowerCase().trim();if(!r.includes("*")&&!r.includes("?"))return n===r;if(r.startsWith("*")&&!r.endsWith("*")&&!r.includes("?")){const e=r.substring(1);return n.endsWith(e)}if(r.endsWith("*")&&!r.startsWith("*")&&!r.includes("?")){const e=r.substring(0,r.length-1);return n.startsWith(e)}const a=r.replace(/[.+^${}()|[\]\\]/g,"\\$&").replace(/\*/g,".*").replace(/\?/g,"."),o=!r.startsWith("*"),i=!r.endsWith("*");return new RegExp(`${o?"^":""}${a}
152${i?"$":""}`).test(n)},qj=(e,t,n,r=!1,a=null)=>{if(!e||0===e.length)return[];if(r&&a){const t=a.value||(a.terms&&a.terms.length>0?a.terms[0]:"");if(!t)return e;const r=new Set,o=new Set;return e.forEach(e=>{let a=!1;if(((e,t)=>{if(!e||"object"!=typeof e)return!1;if(void 0!==e.value)if("string"==typeof e.value){if(Gj(e.value,t))return!0}else if(!isNaN(e.value)&&!isNaN(parseFloat(t))&&Vj(String(e.value),t))return!0;if(e.key&&"string"==typeof e.key&&Gj(e.key,t))return!0;if(void 0!==e.textContent)if("string"==typeof e.textContent){if(Gj(e.textContent,t))return!0}else if(!isNaN(e.textContent)&&!isNaN(parseFloat(t))&&Vj(String(e.textContent),t))return!0;if("object"==typeof e.value&&null!==e.value){if(void 0!==e.value[Bj]){const n=e.value[Bj];if("string"==typeof n){if(Gj(n,t))return!0}else if(!isNaN(n)&&!isNaN(parseFloat(t))&&Vj(String(n),t))return!0}const n=Object.entries(e.value).filter(([e])=>e.startsWith(Uj));return n.length>0?n.some(([e,n])=>{if("string"==typeof n)return Gj(n,t);if(void 0!==n){const e=String(n);return isNaN(e)||isNaN(parseFloat(t))?Gj(e,t):Vj(e,t)}return!1}):Array.isArray(e.value)?e.value.some(e=>{if("object"==typeof e)return Object.entries(e).some(([e,n])=>{if(e.startsWith(Uj)){if("string"==typeof n)return Gj(n,t);if(void 0!==n){const e=String(n);return isNaN(e)||isNaN(parseFloat(t))?Gj(e,t):Vj(e,t)}}else{if("string"==typeof n)return Gj(n,t);if(void 0!==n){const e=String(n);return isNaN(e)||isNaN(parseFloat(t))?Gj(e,t):Vj(e,t)}}return!1});if("string"==typeof e)return Gj(e,t);if(void 0!==e){const n=String(e);return isNaN(n)||isNaN(parseFloat(t))?Gj(n,t):Vj(n,t)}return!1}):Object.entries(e.value).some(([e,n])=>{if(e.startsWith(Uj)||e===Bj)return!1;if("string"==typeof n)return Gj(n,t);if(void 0!==n){const e=String(n);return isNaN(e)||isNaN(parseFloat(t))?Gj(e,t):Vj(e,t)}return!1})}return!(!e.attributes||!Array.isArray(e.attributes))&&e.attributes.some(e=>{if("object"==typeof e){if(void 0!==e.value){if("string"==typeof e.value)return Gj(e.value,t);if(null!==e.value){const n=String(e.value);return isNaN(n)||isNaN(parseFloat(t))?Gj(n,t):Vj(n,t)}}if(e.name&&"string"==typeof e.name)return Gj(e.name,t)}else{if("string"==typeof e)return Gj(e,t);if(void 0!==e){const n=String(e);return isNaN(n)||isNaN(parseFloat(t))?Gj(n,t):Vj(n,t)}}return!1})})(e,t))a=!0;else{const n=void 0!==e.value?String(e.value):"",r=void 0!==e.ke
152y?String(e.key):"",o=t;(Gj(r,o)||Gj(n,o))&&(a=!0),a||isNaN(n)&&isNaN(parseFloat(o))||o.includes("*")||o.includes("?")||Vj(n,o)&&(a=!0),!a&&e.attributes&&e.attributes.length>0&&e.attributes.some(e=>{if("object"==typeof e&&void 0!==e.value){const t=String(e.value);return isNaN(t)||isNaN(parseFloat(o))||o.includes("*")||o.includes("?")?Gj(t,o):Vj(t,o)}if(void 0!==e){const t=String(e);return isNaN(t)||isNaN(parseFloat(o))||o.includes("*")||o.includes("?")?Gj(t,o):Vj(t,o)}return!1})&&(a=!0)}if(a){r.add(e.path);let t=e.parentPath;for(;t;){o.add(t);const e=n.get(t);if(!e)break;t=e.parentPath}}}),e.filter(e=>r.has(e.path)||o.has(e.path))}return e.filter(e=>{if(!e.parentPath)return!0;let r=e.parentPath;for(;r;){if(!t.has(r))return!1;const e=n.get(r);if(!e)break;r=e.parentPath}return!0})},Yj=e=>{const t={},n=performance.now(),r=(e=>{if(null==e||"object"!=typeof e)return{original:e,nodeMap:new Map,pathMap:new Map,valueIndex:new Map,flatNodes:[],attributeIndex:new Map};const t=new Map,n=new Map,r=new Map,a=new Map,o=[],i=(e,s="",l="root",c=0)=>{if(null==e){const n={path:s,name:l,depth:c,type:"null",parentPath:s.includes(".")?s.substring(0,s.lastIndexOf(".")):"",children:[],isLeaf:!0,value:String(e)},r=o.push(n)-1;return t.set(s,{...n,flatNodeIndex:r}),e}const u={path:s,name:l,depth:c,type:typeof e,parentPath:s.includes(".")?s.substring(0,s.lastIndexOf(".")):"",children:[]};if("object"!=typeof e){const a=String(e??"");u.isLeaf=!0,u.value=a,a&&(r.has(a)||r.set(a,new Set),r.get(a).add(s),n.set(s,{value:a,name:l,depth:c,parentPath:u.parentPath}));const i=o.push(u)-1;return t.set(s,{...u,flatNodeIndex:i}),e}if(Array.isArray(e)){u.type="array",u.length=e.length,u.isLeaf=0===e.length;const n=o.push(u)-1;t.set(s,{...u,flatNodeIndex:n});const r=e.map((e,t)=>{const n=s?`${s}.${t}`:`${t}`,r=i(e,n,`${t}`,c+1);return u.children&&u.children.push(n),r});return o[n]={...u},r}u.type="object",u.keys=Object.keys(e||{}),u.isLeaf=0===u.keys.length;const d=o.push(u)-1;t.set(s,{...u,flatNodeIndex:d});const p={};for(const[t,n]of Object.entries(e||{})){const e=s?`${s}.${t}`:t;p[t]=i(n,e,t,c+1),u.children&&u.children.push(e),a.has(t)||a.set(t,new Set),a.get(t).add(e)}return o[d]={...u},p};return{original:i(e),nodeMap:t,pathMap:n,valueIndex:r,flatNodes:o,attributeIndex:a}})(e);t.optimizationTime=performance.now()-n,t.nodeCount=r.flatNodes.length;const a=performance.now();((e,t)=>{if(!e)return{_filtered:!0,_filterError:!0,_errorMessage:"Invalid optimized data"};if(!t||0===Object.keys(t).length)return e.original?{...e.original}:{};const{original:n,nodeMap:r,pathMap:a,valueIndex:o,attributeIndex:i}=e;if(!n)return{_filtered:!0,_filterError:!0,_errorMessage:"Invalid optimized data structure"};let s=new Set,l=new Set;{const e=String(t.value).toLowerCase();try{for(const[t,n]of o.entries())"string"==typeof t&&t.toLowerCase().includes(e)&&n.forEach(e=>{s.add(e);const t=a.get(e);if(t&&t.parentPath){let e=t.parentPath;for(;e;){l.add(e);const t=r.get(e);e=t&&t.parentPath?t.parentPath:""}}else{const t=e.split(".");let n="";for(let e=0;e<t.length-1;e++)n=0===e?t[e]:`${n}.${t[e]}`,l.add(n)}});if(0===s.size)for(const[t,n]of a.entries())if(n.value&&"string"==typeof n.value&&n.value.toLowerCase().includes(e)&&(s.add(t),n.parentPath)){let e=n.parentPath;for(;e;){l.add(e);const t=r.get(e);e=t&&t.parentPath?t.parentPath:""}}}catch(u){return{_filtered:!0,_filterError:!0,_errorMessage:"Error processing value filters"}}}if(t.attribute&&void 0!==t.attributeValue)try{const e=t.attribute,n=String(t.attributeValue||"").toLowerCase(),o=new Set;if(i.has(e)){const t=i.get(e);for(const e of t){const t=a.get(e);if(t&&(""===n||t.value&&String(t.value).toLowerCase().includes(n))&&(s.add(e),t.parentPath)){s.add(t.parentPath),o.add(t.parentPath);let e=t.parentPath;for(;e;){l.add(e);const t=r.get(e);e=t&&t.parentPath?t.parentPath:""}}}}}catch(u){return{_filtered:!0,_filterError:!0,_errorMessage:"Error processing attribute filters"}}if(0===s.size&&t.value)return{_filtered:!0,_noMatches:!0};const c=new Set([...s,...l]);try{const e=(n,o="")=>{if(null==n)return n;const i=r.get(o);if(t.attribute&&""===t.attributeValue&&s.size>0&&i&&"object"===i.type&&i.keys&&i.keys.includes(t.attribute))return a(n,o,t.attribute);if(i&&i.isLeaf)return 0===c.size||c.has(o)?n:void 0;if("object"!=typeof n)return 0===c.size||c.has(o)?n:void 0;if(Array.isArray(n)){if(0===c.size||c.has(o)){const t=n.map((t,n)=>e(t,o?`${o}.${n}`:`${n}`)).filter(e=>void 0!==e);if(t.length>0)return t}return}const l={};let u=!1;const d=0===c.size||c.has(o),p=i&&i.children?i.children.map(e=>{const t=e.substring(e.lastIndexOf(".")+1);return[t,n[t],e]}):Object.entries(n).map(([e,t])=>[e,t,o?`${o}.${e}`:e]);for(const[r,a,s]of p){const n=e(a,s);void 0!==n?(l[r]=n,u=!0):d&&t.attribute&&r===t.attribute&&(l[r]=a,u=!0)}return(u||d)&&Object.keys(l).length>0?(l._filtered=!0,l):void 0},a=(e,t,n)=>{const r={_filtered:!0};void 0!==e[n]&&(r[n]=e[n]);const a=new Set(["id","name","key","type","value"]);for(const o of a)void 0!==e[o]&&(r[o]=e[o]);return r},o=e(n);return o&&"object"==typeof o&&(o._filtered=!0),o||{_filtered:!0,_noMatches:!0}}catch(u){return{_filtered:!0,_filterError:!0,_errorMessage:`Error filtering tree: ${u.message}`}}})(r,{value:"test"}),t.filteringTime=performance.now()-a;const o=Array.from(r.attributeIndex.keys());if(o.length>0){const e=o[0],n=performance.now();
vendor: 4,525 bytes, line 152
152r.attributeIndex.get(e),t.attributeAccessTime=performance.now()-n,t.attributeCount=r.attributeIndex.size}return t};function Xj(e){if(null==e)return null;try{if("object"!=typeof e)return{value:e};const t=Object.keys(e);if(1===t.length&&"object"==typeof e[t[0]]){const n=t[0];return{...e,_xmlRoot:n}}return e}catch(t){return{error:"Data normalization failed"}}}var Kj,Zj,Jj,Qj,eF,tF,nF,rF,aF,oF,iF,sF,lF,cF,uF,dF,pF,fF,mF,hF,gF,bF,yF,vF,xF,SF,wF,EF,CF,kF,TF,AF,IF,NF,_F,RF,OF,LF,DF,PF,MF,jF,FF,zF,$F,BF,UF,HF,VF,WF,GF,qF,YF,XF,KF,ZF,JF,QF,ez,tz,nz,rz,az,oz,iz,sz,lz,cz,uz,dz,pz,fz,mz,hz,gz,bz,yz,vz;function xz(){if(Qj)return Jj;Qj=1;var e=function(){if(Zj)return Kj;Zj=1;var e="object"==typeof h&&h&&h.Object===Object&&h;return Kj=e}(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return Jj=n}function Sz(){if(tF)return eF;tF=1;var e=xz().Symbol;return eF=e}function wz(){if(sF)return iF;sF=1;var e=Sz(),t=function(){if(rF)return nF;rF=1;var e=Sz(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,a=e?e.toStringTag:void 0;return nF=function(e){var t=n.call(e,a),o=e[a];try{e[a]=void 0;var i=!0}catch(yU){}var s=r.call(e);return i&&(t?e[a]=o:delete e[a]),s}}(),n=function(){if(oF)return aF;oF=1;var e=Object.prototype.toString;return aF=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return iF=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function Ez(){if(cF)return lF;return cF=1,lF=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function Cz(){if(hF)return mF;hF=1;var e,t=function(){if(fF)return pF;fF=1;var e=xz()["__core-js_shared__"];return pF=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return mF=function(e){return!!n&&n in e}}function kz(){if(vF)return yF;vF=1;var e=function(){if(dF)return uF;dF=1;var e=wz(),t=Ez();return uF=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}(),t=Cz(),n=Ez(),r=function(){if(bF)return gF;bF=1;var e=Function.prototype.toString;return gF=function(t){if(null!=t){try{return e.call(t)}catch(yU){}try{return t+""}catch(yU){}}return""}}(),a=/^\[object .+?Constructor\]$/,o=Function.prototype,i=Object.prototype,s=o.toString,l=i.hasOwnProperty,c=RegExp("^"+s.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return yF=function(o){return!(!n(o)||t(o))&&(e(o)?c:a).test(r(o))}}function Tz(){if(EF)return wF;EF=1;var e=kz(),t=SF?xF:(SF=1,xF=function(e,t){return null==e?void 0:e[t]});return wF=function(n,r){var a=t(n,r);return e(a)?a:void 0}}function Az(){if(kF)return CF;kF=1;var e=Tz()(Object,"create");return CF=e}function Iz(){if(jF)return MF;jF=1;var e=function(){if(AF)return TF;AF=1;var e=Az();return TF=function(){this.__data__=e?e(null):{},this.size=0}}(),t=NF?IF:(NF=1,IF=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(RF)return _F;RF=1;var e=Az(),t=Object.prototype.hasOwnProperty;return _F=function(n){var r=this.__data__;if(e){var a=r[n];return"__lodash_hash_undefined__"===a?void 0:a}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(LF)return OF;LF=1;var e=Az(),t=Object.prototype.hasOwnProperty;return OF=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),a=function(){if(PF)return DF;PF=1;var e=Az();return DF=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=a,MF=o}function Nz(){if(HF)return UF;HF=1;var e=BF?$F:(BF=1,$F=function(e,t){return e===t||e!=e&&t!=t});return UF=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}}function _z(){if(QF)return JF;QF=1;var e=zF?FF:(zF=1,FF=function(){this.__data__=[],this.size=0}),t=function(){if(WF)return VF;WF=1;var e=Nz(),t=Array.prototype.splice;return VF=function(n){var r=this.__data__,a=e(r,n);return!(a<0||(a==r.length-1?r.pop():t.call(r,a,1),--this.size,0))},VF}(),n=function(){if(qF)return GF;qF=1;var e=Nz();return GF=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]},GF}(),r=function(){if(XF)return YF;XF=1;var e=Nz();return YF=function(t){return e(this.__data__,t)>-1}
152}(),a=function(){if(ZF)return KF;ZF=1;var e=Nz();return KF=function(t,n){var r=this.__data__,a=e(r,t);return a<0?(++this.size,r.push([t,n])):r[a][1]=n,this},KF}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=a,JF=o}function Rz(){if(rz)return nz;rz=1;var e=Iz(),t=_z(),n=function(){if(tz)return ez;tz=1;var e=Tz()(xz(),"Map");return ez=e}();return nz=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}function Oz(){if(sz)return iz;sz=1;var e=oz?az:(oz=1,az=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return iz=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map}}function Lz(){if(bz)return gz;bz=1;var e=Rz(),t=function(){if(cz)return lz;cz=1;var e=Oz();return lz=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(dz)return uz;dz=1;var e=Oz();return uz=function(t){return e(this,t).get(t)}}(),r=function(){if(fz)return pz;fz=1;var e=Oz();return pz=function(t){return e(this,t).has(t)}}(),a=function(){if(hz)return mz;hz=1;var e=Oz();return mz=function(t,n){var r=e(this,t),a=r.size;return r.set(t,n),this.size+=r.size==a?0:1,this},mz}();function o(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return o.prototype.clear=e,o.prototype.delete=t,o.prototype.get=n,o.prototype.has=r,o.prototype.set=a,gz=o}!function(){if(vz)return yz;vz=1;var e=Lz();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var a=function(){var e=arguments,t=r?r.apply(this,e):e[0],o=a.cache;if(o.has(t))return o.get(t);var i=n.apply(this,e);return a.cache=o.set(t,i)||o,i};return a.cache=new(t.Cache||e),a}t.Cache=e,yz=t}();const Dz=o.memo(({index:e,style:t,node:n,expandedNodes:r,highlightedValues:a,filters:o,isFiltered:i,onNodeClick:s,onValueClick:l,onContextMenu:c,commonFontStyle:u={fontFamily:"monospace"},contextMenuHighlightedNodePath:d=null})=>{const p=Kr();if(!n)return null;const f=(e,t)=>{if(!e)return e;if(t){if("yellow"===e)return"rgba(255, 255, 0, 0.15)";if("#8BE9FD"===e)return"rgba(139, 233, 253, 0.15)";if("#FF79C6"===e)return"rgba(255, 121, 198, 0.15)";if("#50FA7B"===e)return"rgba(80, 250, 123, 0.15)";if(e.startsWith("#")){return`rgba(${parseInt(e.slice(1,3),16)}, ${parseInt(e.slice(3,5),16)}, ${parseInt(e.slice(5,7),16)}, 0.15)`}return e.startsWith("rgba")?e.replace(/,\s*[\d.]+\)/,", 0.15)"):e}return e};try{if(n.error)return _.jsxs(pc,{style:t,sx:{display:"flex",alignItems:"center",padding:"0 8px",height:24,color:"error.main",backgroundColor:"rgba(211, 47, 47, 0.04)",border:"1px dashed",borderColor:"error.light",borderRadius:"4px",margin:"2px 0",fontSize:"0.8rem"},children:[_.jsx(pc,{sx:{width:24,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:_.jsx(pc,{sx:{width:24}})}),"Error rendering node: ",n.value||"Unknown error"]},`error-${e}`);const m=e=>{if("object"!=typeof e.value)return e.value;if("object"==typeof e.value&&e.value){if(void 0!==e.value._)return e.value._;if(void 0!==e.value.value)return e.value.value;if(void 0!==e.value["#text"])return e.value["#text"];if(e.attributes&&e.attributes.length>0){const t=Object.keys(e.value||{}).filter(e=>!["$","attributes","_","#text"].includes(e));if(1===t.length&&"string"==typeof e.value[t[0]])return e.value[t[0]]}if(e.textContent)return e.textContent}},h=r.has(n.path),g=18*(n.path?(n.path.match(/\//g)||[]).length:0)+8;let b=null,y=!1,v=!1,x=!1,S=!1;if(i&&o&&(o.attribute&&n.key===o.attribute&&(v=!0),o.attribute&&o.attributeValue&&n.key===o.attribute&&"string"==typeof n.value&&n.value.toLowerCase().includes(String(o.attributeValue).toLowerCase())&&(x=!0),o.terms&&o.terms.length>0)){const e=m(n),t="string"==typeof e?e.toLowerCase():void 0!==e?String(e).toLowerCase():"",r="string"==typeof n.value?n.value.toLowerCase():"",a="string"==typeof n.key?n.key.toLowerCase():"";S=o.terms.some(e=>{const n=e.toLowerCase();return a.includes(n)||r.includes(n)||t.includes(n)})}if(a&&"object"==typeof a){const e=m(n);for(const[t,r]of Object.entries(a)){if("string"==typeof n.value&&"string"==typeof t&&n.value===t||"string"==typeof e&&"string"==typeof t&&e===t){b=r,y=!0;break}if("number"==typeof n.value&&n.value.toString()===t||"number"==typeof e&&e.toString()===t){b=r,y=!0;break}if("boolean"==typeof n.value&&n.value.toString()===t||"boolean"==typeof e&&e.toString()===t){b=r,y=!0;break}}}let w=!1;null!==d&&n.path===d&&(w=!0);const E=n.attributes&&n.attributes.length>0;(v||x||S)&&(b=b||"rgba(76, 175, 80, 0.2)",y=!0);E&&o&&o.attribute&&n.attributes.some(e=>{const t="object"==typeof e?e.name:e,n="object"==typeof e?e.value:"",r=o&&o.attribute&&t===o.attribute.replace("@",""),a=r&&o.attributeValue&&n.toLowerCase().includes(String(o.attributeValue).toLowerCase());return r||a})&&(b=b||"rgba(76, 175, 80, 0.2)",y=!0);const C=e=>{N&&void 0!==I?l&&l(I,e):s&&s(n,e)},k=(e,t)=>{t.stopPropagation(),l&&l(e,t)},T=(e,t=null)=>c&&c(n,e,t),A=E&&h?24+20*n.attributes.length:24,I=m(n),N=void 0!==I;return _.jsxs(pc,{style:{...t,height:A},onClick:C,onContextMenu:e=>{N&&void 0!==I?T(e,I):T(e)},sx:{display:"flex",flexDirection:"column",pl:`${g}px`,pr:"8px",cursor:n.isObject||N&&void 0!==I?"pointer":"default",fontSize:"0.75rem",backgroundColor:w?"dark"===p.palette.mode?"rgba(255, 255, 255, 0.08)":"rgba(0, 0, 0, 0.08)":y?f(b||"rgba(255, 255, 0, 0.2)","dark"===p.palette.mode):"transparent",borderLeft:"3px solid",borderLeftColor:y?"rgba(76, 175, 80, 0.7)":"transparent","&:hover":{backgroundColor:w?"dark"===p.palette.mode?"rgba(255, 255, 255, 0.12)":"rgba(0, 0, 0, 0.12)":y?f(b||"rgba(255, 255, 0, 0.3)","dark"===p.palette.mode):"dark"===p.palette.mode?"rgba(255, 255, 255, 0.04)":"rgba(0, 0, 0, 0.04)"},whiteSpace:"nowrap",width:"fit-content",minWidth:"100%"},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",height:24},children:[_.jsx(pc,{sx:{width:24,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:n.isObject&&n.childCount>0||E?h?_.jsx(Dw,{fontSize:"small"}):_.jsx(XE,{fontSize:"small"}):_.jsx(pc,{sx:{width:24}})}),_.jsxs(di,{component:"span",sx:{color:"dark"===p.palette.mode?p.palette.primary.light:"#2c5282",fontWeight:v?"bold":"normal",backgroundColor:v?"dark"===p.palette.mode?"rgba(76, 175, 80, 0.15)":"rgba(76, 175, 80, 0.2)":"transparent",padding:v?"0 4px":"0",borderRadius:v?"2px":"0",...u,flexShrink:0},children:[n.key,S&&n.key.toLowerCase().includes(o.terms[0].toLowerCase())&&_.jsx("span",{style:{position:"absolute",bottom:"2px",left:`${g+24+7*n.key.length}px`,height:"2px",backgroundColor:"rgba(76, 175, 80, 0.7)",width:"100%",maxWidth:7*o.terms[0].length+"px"}})]}),n.isObject&&n.childCount>0&&_.jsx(di,{component:"span",sx:{ml:.5,color:"dark"===p.palette.mode?"rgba(255, 255, 255, 0.7)":"rgba(0, 0, 0, 0.6)",fontSize:"0.75rem",fontStyle:"italic",...u,flexShrink:0},children:Array.isArray(n.value)?`Array (${n.value.length})`:`Object (${n.childCount})`}),N&&_.jsxs(_.Fragment,{children:[_.jsx(di,{component:"span",sx:{color:"text.secondary",...u},children:": "}),_.jsxs(di,{component:"span",onClick:e=>k(I,e),onContextMenu:e=>T(e,I),sx:{color:"dark"===p.palette.mode?p.palette.success.light:"#2f855a",cursor:"pointer",bgcolor:y?f(b||"rgba(255, 255, 0, 0.2)","dark"===p.palette.mode):"transparent",px:.5,borderRadius:y?"2px":0,fontWeight:y||x?"bold":"normal",textDecoration:"none",...u,maxWidth:"none",flexGrow:0,display:"inline-block",position:"relative",whiteSpace:"nowrap",overflow:"visible"},children:["string"==typeof I?`"${I}"`:null===I?"null":void 0===I||"object"==typeof I?"":String(I),S&&"string"==typeof I&&o.terms&&o.terms.some(e=>String(I).toLowerCase().includes(e.toLowerCase()))&&_.jsx("span",{style:{position:"absolute",bottom:"2px",left:"0",height:"2px",backgroundColor:"rgba(76, 175, 80, 0.7)",width:"100%"}})]})]})]}),E&&h&&_.jsx(pc,{sx:{display:"flex",flexDirection:"column",pl:3},children:n.attributes.map((e,t)=>{const r="object"==typeof e?e.name:e,o="object"==typeof e&&void 0!==e.value?e.value:"";let i=null;if(a&&"object"==typeof a)for(const[n,s]of Object.entries(a))if(o===n){i=s;break}return _.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:"4px",fontSize:"0.75rem",fontStyle:"italic",color:(p.palette.mode,"#87BEEB"),...u,height:20},children:[_.jsx("span",{children:"@"}),_.jsxs("span",{children:[r,'="']}),_.jsx("span",{onClick:e=>{e.stopPropagation(),k(o,e)},style:{cursor:"pointer",backgroundColor:i?f(i,"dark"===p.palette.mode):"transparent",padding:"0 2px",borderRadius:i?"2px":"0",fontWeight:i?"bold":"normal",color:"dark"===p.palette.mode?p.palette.success.light:"#2f855a"},children:o}),_.jsx("span",{children:'"'})]},`${n.path}-attr-${t}`)})})]},n.path||e)}catch(m){return _.jsxs(pc,{style:t,sx:{padding:1,color:"error.main",fontSize:"0.8rem",backgroundColor:"rgba(211, 47, 47, 0.04)",border:"1px dashed",borderColor:"error.light",borderRadius:"4px",margin:"2px 0"},children:["Error rendering node: ",m.message||"Unknown error"]},`error-${e}`)}});let Pz=!1;const Mz=e=>{Pz=e},jz=()=>Pz,Fz=(e,...t)=>{},zz=(e,...t)=>{},$z="set_loading",Bz="process_data",Uz="update_visible_nodes",Hz="toggle_node",Vz="expand_children",Wz="collapse_children",Gz="reset",qz="reset_state",Yz={loading:!0,flattenedNodes:[],nodesMap:new Map,expandedNodes:new Set,visibleNodes:[],visibleHeight:0,calculatedHeight:300,processingTime:0,dataHash:null,
152scrollOffset:0},Xz=new Map;function Kz(e){return Math.max(24*e,360)}function Zz(e,t){switch(t.type){case $z:return{...e,loading:t.payload};case Bz:{const{data:n,expandAll:r,forceAllVisible:a,isFiltered:o,filters:i}=t.payload;if(n&&!0===n.error)return{...e,loading:!1,flattenedNodes:[{key:"error",value:n.message||"Unknown error",details:n.details||"",path:"error",parentPath:null,depth:0,isObject:!1,childCount:0,attributes:[],error:!0}],nodesMap:new Map([["error",{key:"error",value:n.message||"Unknown error",details:n.details||"",path:"error",parentPath:null,depth:0,isObject:!1,childCount:0,attributes:[],error:!0}]]),visibleNodes:[{key:"error",value:n.message||"Unknown error",details:n.details||"",path:"error",parentPath:null,depth:0,isObject:!1,childCount:0,attributes:[],error:!0}],expandedNodes:new Set,calculatedHeight:24};const s=(e=>{try{const t=JSON.stringify(e);let n=0;for(let e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e),n&=n;return`${Math.abs(n).toString(16)}-${t.length}`}catch(yU){return Date.now().toString()}})(n);if(!o&&Xz.has(s)){const t=Xz.get(s);return{...e,...t,loading:!1,dataHash:s}}const{flattenedNodes:l,nodesMap:c}=function(e){if(!e)return{flattenedNodes:[],nodesMap:new Map};if("object"==typeof e&&0===Object.keys(e).length)return{flattenedNodes:[],nodesMap:new Map};if(Array.isArray(e)&&0===e.length)return{flattenedNodes:[],nodesMap:new Map};const t=[],n=new Map,r=(e,a=null,o=0)=>{try{let i;i="object"==typeof e&&null!==e&&"key"in e?e:{key:a?a.split("/").pop():"value",value:e,attributes:[]};const s=a?`${a}/${i.key}`:i.key,l="object"==typeof i.value&&null!==i.value;let c=[];l&&i.value&&i.value.$&&"object"==typeof i.value.$?(c=Object.entries(i.value.$).map(([e,t])=>({name:e,value:String(t)})),delete i.value.$):l&&i.value&&i.value.attributes&&(c=Array.isArray(i.value.attributes)?i.value.attributes:Object.entries(i.value.attributes).map(([e,t])=>({name:e,value:String(t)})),delete i.value.attributes);let u=0;l&&(Array.isArray(i.value)?u=i.value.length:i.value&&(u=Object.keys(i.value).filter(e=>!e.startsWith("$")&&"attributes"!==e&&"_"!==e&&"_filtered"!==e&&"_matchCount"!==e&&"_noMatches"!==e).length));const d={key:i.key,value:i.value,path:s,parentPath:a,depth:o,isObject:l,childCount:u,attributes:c,hasTextContent:l&&i.value&&(void 0!==i.value["#text"]||void 0!==i.value._),textContent:l&&i.value?void 0!==i.value["#text"]?i.value["#text"]:void 0!==i.value._?i.value._:1===Object.keys(i.value).length&&"string"==typeof i.value[Object.keys(i.value)[0]]?i.value[Object.keys(i.value)[0]]:void 0:void 0};t.push(d),n.set(s,d),l&&(Array.isArray(i.value)?i.value.forEach((e,n)=>{if(void 0!==e)try{r({key:String(n),value:e,attributes:[]},s,o+1)}catch(a){t.push({key:String(n),value:"Error processing node",path:`${s}/${n}`,parentPath:s,depth:o+1,isObject:!1,childCount:0,attributes:[],error:!0})}}):i.value&&Object.entries(i.value).forEach(([e,n])=>{if("#text"!==e&&"_"!==e&&"$"!==e&&"attributes"!==e&&"_filtered"!==e&&"_matchCount"!==e&&"_noMatches"!==e)try{r({key:e,value:n,attributes:[]},s,o+1)}catch(a){t.push({key:e,value:"Error processing node",path:`${s}/${e}`,parentPath:s,depth:o+1,isObject:!1,childCount:0,attributes:[],error:!0})}}))}catch(i){if(a){const e="error",n=`${a}/${e}`;t.push({key:e,value:"Error processing node",path:n,parentPath:a,depth:o,isObject:!1,childCount:0,attributes:[],error:!0})}}};try{return e._xmlRoot?r({key:e._xmlRoot,value:e[e._xmlRoot],attributes:[]}):r({key:"root",value:e,attributes:[]}),{flattenedNodes:t,nodesMap:n}}catch(a){return{flattenedNodes:[{key:"error",value:"Error processing data structure",path:"error",parentPath:null,depth:0,isObject:!1,childCount:0,attributes:[],error:!0}],nodesMap:new Map([["error",{key:"error",value:"Error processing data structure",path:"error",parentPath:null,depth:0,isObject:!1,childCount:0,attributes:[],error:!0}]])}}}(n),u=l.some(e=>e.attributes&&e.attributes.length>0||!0===e.hasTextContent||void 0!==e.textContent||e.value&&"object"==typeof e.value&&(void 0!==e.value[Bj]||Object.keys(e.value).some(e=>e.startsWith(Uj)))),d=new Set;a||o?l.forEach(e=>{e.path&&d.add(e.path)}
152):l.forEach(e=>{if(e.parentPath){let t=e.parentPath;for(;t;){d.add(t);const e=c.get(t);if(!e)break;t=e.parentPath}}e.isObject&&d.add(e.path)});const p=o?qj(l,d,c,o,i):a?l:qj(l,d,c),f=Kz(p.length);if(!o){const e={flattenedNodes:l,nodesMap:c,expandedNodes:d,visibleNodes:p,calculatedHeight:f,isXmlData:u};if(Xz.size>Hj){const e=Xz.keys().next().value;Xz.delete(e)}Xz.set(s,e)}return{...e,flattenedNodes:l,nodesMap:c,expandedNodes:d,visibleNodes:p,calculatedHeight:f,loading:!1,isXmlData:u,dataHash:s}}case Hz:{const{path:n,depth:r,forceAllVisible:a,scrollOffset:o}=t.payload,i=new Set(e.expandedNodes);if(a)e.flattenedNodes.forEach(e=>{e.path&&i.add(e.path)}),i.delete(n),e.flattenedNodes.forEach(e=>{e.path.startsWith(n+"/")&&i.delete(e.path)});else{!i.has(n)?(i.add(n),0!==r&&1!==r||e.flattenedNodes.forEach(e=>{e.parentPath===n&&e.isObject&&i.add(e.path)})):(i.delete(n),e.flattenedNodes.forEach(e=>{e.path.startsWith(n+"/")&&i.delete(e.path)}))}const s=qj(e.flattenedNodes,i,e.nodesMap),l=Kz(s.length);return{...e,expandedNodes:i,visibleNodes:s,calculatedHeight:l,scrollOffset:o||e.scrollOffset}}case Vz:{const{path:n,scrollOffset:r}=t.payload,a=new Set(e.expandedNodes);a.add(n),e.flattenedNodes.forEach(e=>{e.path.startsWith(n+"/")&&a.add(e.path)});const o=qj(e.flattenedNodes,a,e.nodesMap),i=Kz(o.length);return{...e,expandedNodes:a,visibleNodes:o,calculatedHeight:i,scrollOffset:void 0!==r?r:e.scrollOffset}}case Wz:{const{path:n,scrollOffset:r}=t.payload,a=new Set(e.expandedNodes);!n.includes("/")||a.delete(n),e.flattenedNodes.forEach(e=>{e.path.startsWith(n+"/")&&a.delete(e.path)});const o=qj(e.flattenedNodes,a,e.nodesMap),i=Kz(o.length);return{...e,expandedNodes:a,visibleNodes:o,calculatedHeight:i,scrollOffset:void 0!==r?r:e.scrollOffset}}case Uz:return{...e,visibleNodes:t.payload.visible,calculatedHeight:t.payload.heightValue};case Gz:return Yz;case qz:{const{forceReset:n}=t.payload||{};return Xz.clear(),{...Yz,loading:!!n||e.loading,dataHash:Date.now().toString()}}default:return e}}const Jz=24,Qz=o.memo(({data:e,highlightedValues:t={},onValueClick:n=()=>{},valueRefsMap:r={},cardId:a="default",filters:i=null,optimizedData:s=null,isFiltered:l=!1,canvasHeight:c=800,adaptiveHeight:u=!1,containerHeight:d=null,expandAll:p=!1,wordWrapEnabled:f=!1,onApplyFilterToAllCards:m=null,cardHeightMultiplier:h=1.8,showAllNodes:g=!0,onFilteredCountChange:b=null})=>{const y=o.useRef(null),[v,x]=o.useState(0);o.useEffect(()=>{y.current&&x(y.current.getBoundingClientRect().height)},[]),o.useEffect(()=>{const e=new ResizeObserver(e=>{for(let t of e)x(t.contentRect.height)});return y.current&&e.observe(y.current),()=>{y.current&&e.unobserve(y.current)}},[]);const S=o.useRef(null),w=o.useRef(null),[E,C]=o.useState(0),[k,T]=o.useState(null),[A,I]=o.useState(null),[N,R]=o.use
152State(null),[O,L]=o.useState(null),D=o.useRef(!1),[P,M]=o.useState(g),[j,F]=o.useState(""),[z,$]=o.useReducer(Zz,Yz),{loading:B,flattenedNodes:U,nodesMap:H,expandedNodes:V,visibleNodes:W,treeHeight:G}=z,q=o.useMemo(()=>({fontFamily:'Menlo, Monaco, Consolas, "Courier New", monospace',fontSize:"12px",lineHeight:"1.2",whiteSpace:f?"normal":"nowrap",wordBreak:f?"break-word":"normal",overflow:"hidden",textOverflow:"ellipsis"}),[f]),Y=o.useCallback(e=>{if(!e)return Jz;let t=Jz;return e.attributes&&e.attributes.length>0&&V.has(e.path)&&(t+=20*e.attributes.length),t},[V]);W.length;const X=o.useMemo(()=>{if(!W||0===W.length)return 360;let e=0;return W.forEach(t=>{e+=Y(t)}),e+40},[W,V,Y]),K=o.useMemo(()=>{if(d)return d;const e=Math.max(400,.8*c);return Math.min(X,e)},[X,d,c]);y.current?y.current.offsetWidth:window.innerWidth;const[Z,J]=o.useState(!1),[Q,ee]=o.useState(null),[te,ne]=o.useState(!1),[re,ae]=o.useState(!1),[oe,ie]=o.useState(null),[se,le]=o.useState(0),ce=o.useMemo(()=>.3*K,[K]);o.useEffect(()=>{if(b&&!B){const e=Boolean(i&&(i.value&&i.value.trim()||i.terms&&i.terms.length>0||i.attribute));b(W.length,e)}},[B,b]),o.useEffect(()=>{if(D.current)return void(D.current=!1);if(!e)return;ne(!1),ae(!1),ie(null),le(0);if(Boolean(i&&(i.value&&i.value.trim()||i.terms&&i.terms.length>0||i.attribute)))try{const t=((e,t)=>{if(!t||!e)return e;const n=[];if(t.terms&&t.terms.length>0?n.push(...t.terms):t.value&&n.push(t.value),n.length>0){const t=n.map(e=>String(e).trim().toLowerCase()),r=new Set,a=new Set,o=new Set,i=(e,n=[])=>{const s=n.join("/");if("object"!=typeof e||null===e){const i=String(e).toLowerCase();let l=!1;if(isNaN(i)||isNaN(parseFloat(i))||(l=t.some(e=>!(isNaN(parseFloat(e))||e.includes("*")||e.includes("?"))&&Vj(i,e))),l||(l=t.some(e=>Wj(i,e))),l){r.add(s),o.add(i);let e=n.slice(0,-1);for(;e.length>0;)a.add(e.join("/")),e=e.slice(0,-1);return!0}return!1}if(Array.isArray(e)){let t=!1;for(let r=0;r<e.length;r++){const a=[...n,r];i(e[r],a)&&(t=!0)}return t&&a.add(s),t}let l=!1;for(const i of Object.keys(e)){const c=i.toLowerCase(),u=i.startsWith("@"),d=u?i.substring(1).toLowerCase():null;if(u){if(t.some(e=>Wj(d,e))){r.add(s),o.add(d);let e=n.slice(0,-1);for(;e.length>0;)a.add(e.join("/")),e=e.slice(0,-1);l=!0}const c=String(e[i]).toLowerCase();if(t.some(e=>Wj(c,e))){r.add(s),o.add(c);let e=n.slice(0,-1);for(;e.length>0;)a.add(e.join("/")),e=e.slice(0,-1);l=!0}continue}if(t.some(e=>Wj(c,e))){r.add(s),o.add(c);let e=n.slice(0,-1);for(;e.length>0;)a.add(e.join("/")),e=e.slice(0,-1);l=!0}}for(const[r,a]of Object.entries(e)){if("_filtered"===r||"_matchCount"===r||"_noMatches"===r)continue;const e=[...n,r];if("string"==typeof a){const e=a.toLowerCase();t.some(t=>Wj(e,t))}i(a,e)&&(l=!0)}return l&&a.add(s),l},s=i(e),l=(e,n=[])=>{const o=n.join("/");if("object"!=typeof e||null===e)return r.has(o)||a.has(o)?e:void 0;if(Array.isArray(e)){const t=[];let r=!1;for(let a=0;a<e.length;a++){const o=[...n,a],i=l(e[a],o);void 0!==i&&(t[a]=i,r=!0)}return r?t:void 0}const i={};let s=!1;for(const[r,a]of Object.entries(e)){if("_filtered"===r||"_matchCount"===r||"_noMatches"===r)continue;const e=[...n,r];e.join("/");const o=r.toLowerCase();if(t.some(e=>Wj(o,e)))i[r]=a,s=!0;else{const t=l(a,e);void 0!==t&&(i[r]=t,s=!0)}}return s?(i._filtered=!0,i):void 0};if(s){const n=l(e);if(void 0===n)return{_filtered:!0,_noMatches:!0,_originalData:e,_matchCount:0};{n._filtered=!0;const e=n=>{if("object"!=typeof n||null===n)return 0;if(Array.isArray(n))return n.reduce((t,n)=>void 0===n?t:t+e(n),0);let r=0;for(const[a,o]of Object.entries(n))if("_filtered"!==a&&"_matchCount"!==a&&"_noMatches"!==a){if(a.startsWith("@")){const e=a.substring(1).toLowerCase(),n=String(o).toLowerCase();if(t.some(t=>Wj(e,t))){r+=1;continue}if(t.some(e=>isNaN(n)||isNaN(parseFloat(n))||isNaN(parseFloat(e))||e.includes("*")||e.includes("?")?Wj(n,e):Vj(n,e))){r+=1;continue}}if("object"!=typeof o||null===o){const e=String(o).toLowerCase();if(t.some(t=>{if(!(isNaN(e)||isNaN(parseFloat(e))||isNaN(parseFloat(t))||t.includes("*")||t.includes("?")))return Vj(e,t);return Wj(e,t)})){r+=1;continue}}"object"==typeof o&&null!==o&&(r+=e(o))}return r},r=e(n);n._matchCount=r>0?r:o.size}return n}if("object"==typeof e&&null!==e){const n=JSON.stringify(e).toLowerCase();if(t.some(e=>Wj(n,e)))return{_filtered:!0,_originalData:e,_matchCount:1}}return{_filtered:!0,_noMatches:!0,_originalData:e,_matchCount:0}}if(t.attribute){const n=(e,r="")=>{if("object"!=typeof e||null===e)return null;if(!Array.isArray(e)&&void 0!==e[t.attribute]){if(!t.attributeValue)return e;{const n=String(e[t.attribute]).toLowerCase(),r=String(t.attributeValue).toLowerCase();if(Wj(n,r))return e}}if(!Array.isArray(e)){const n=`@${t.attribute}`;
152if(void 0!==e[n]){if(!t.attributeValue)return e;{const r=String(e[n]).toLowerCase(),a=String(t.attributeValue).toLowerCase();if(Wj(r,a))return e}}}if(Array.isArray(e)){const t=e.map((e,t)=>n(e,`${r}/${t}`)).filter(Boolean);return t.length>0?t:null}const a={};let o=!1;for(const[t,i]of Object.entries(e)){const e=n(i,`${r}/${t}`);e&&(a[t]=e,o=!0)}return o?a:null},r=n(e);return null!==r?r:{_filtered:!0,_noMatches:!0}}return e})(e,i);if(t&&"number"==typeof t._matchCount&&le(t._matchCount),t&&t._noMatches)return ae(!0),void $({type:Bz,payload:{data:Xj({}),expandAll:!1,forceAllVisible:!1,isFiltered:!1,filters:null}});if(t&&t._filterError)return ne(!0),ie(t._errorMessage||"Filter error"),void $({type:Bz,payload:{data:Xj(e),expandAll:!1,forceAllVisible:!1,isFiltered:!1,filters:null}});$({type:Bz,payload:{data:Xj(t),expandAll:!1,forceAllVisible:!1,isFiltered:!1,filters:null}}),S.current&&S.current.scrollTo(0)}catch(t){ne(!0),ie(t.message),$({type:Bz,payload:{data:Xj(e),expandAll:!1,forceAllVisible:!1,isFiltered:!1,filters:null}})}else $({type:Bz,payload:{data:Xj(e),expandAll:p,forceAllVisible:P,isFiltered:!1,filters:null}})},[e,i,a,p,P]);const ue=o.useCallback((e,t,n=null)=>{t.preventDefault(),t.stopPropagation(),null!==n?(I(e),R(n),L(e.path),T({mouseX:t.clientX,mouseY:t.clientY,isValue:!0})):e&&e.isObject?(I(e),R(null),L(e.path),T({mouseX:t.clientX,mouseY:t.clientY,isValue:!1})):(T(null),L(null))},[]),de=o.useCallback((e,t)=>{t.stopPropagation();const n=S.current?.state?.scrollOffset||0;e&&e.isObject&&(P&&(D.current=!0,M(!1)),$({type:Hz,payload:{path:e.path,depth:e.depth,forceAllVisible:P,scrollOffset:n}}))},[$,P]),pe=o.useCallback(({scrollOffset:e})=>{C(e)},[]);o.useEffect(()=>{S.current&&void 0!==z.scrollOffset&&S.current.scrollTo(z.scrollOffset)},[z.expandedNodes,z.scrollOffset,W]);const fe=o.useCallback((e,t)=>{t.stopPropagation(),"object"==typeof e&&null!==e||n&&n(e)},[n]),me=o.useCallback(({index:e,style:n})=>{if(e>=W.length)return _.jsx("div",{style:{...n,height:`${ce}px`,width:"100%"}});if(!W||e>=W.length)return null;const r=W[e];if(!r)return null;const a=Y(r),o={...n,height:`${a}px`};return _.jsx(Dz,{index:e,style:o,node:r,expandedNodes:V,highlightedValues:t,filters:i,isFiltered:l,onNodeClick:de,onValueClick:fe,onContextMenu:ue,commonFontStyle:q,contextMenuHighlightedNodePath:O})},[W,V,t,i,l,de,ue,fe,q,O,ce]),he=o.useMemo(()=>{if(te)return"Filter Error";if(re)return i&&i.terms&&i.terms.length>0?`No matches found for "${i.terms.join(" ")}"`:"No Matches Found";if(l||Boolean(i&&(i.value&&i.value.trim()||i.terms&&i.terms.length>0||i.attribute))){const e=se>0?` (${se} match${1!==se?"es":""})`:"";return i&&i.attribute?`Filtered by ${i.attribute}${i.attributeValue?": "+i.attributeValue:""}${e}`:i&&i.terms&&i.terms.length>0?`Filtered by: "${i.terms.join(" ")}"${e}`:`Filtered Data${e}`}return null},[l,re,te,i,se]),ge=o.useMemo(()=>_.jsxs(pc,{sx:{p:2,textAlign:"center",color:"error.light",minHeight:360,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[_.jsx(di,{color:"inherit",fontWeight:"medium",children:"Error applying filter"}),oe&&_.jsx(di,{variant:"caption",color:"inherit",display:"block",mt:1,children:oe})]}),[oe]);return o.useMemo(()=>_.jsx(pc,{sx:{p:2,textAlign:"center",color:"text.secondary",minHeight:360,display:"flex",alignItems:"center",justifyContent:"center"},children:_.jsx(di,{children:"No matches found with current filters"})}),[]),B?_.jsxs(pc,{sx:{display:"flex",alignItems:"center",justifyContent:"center",p:4,height:"100%",minHeight:360},children:[_.jsx(Uo,{size:32}),_.jsx(di,{sx:{ml:2},children:"Loading data..."})]}):te?ge:null==e?_.jsx(pc,{sx:{p:2,textAlign:"center",color:"error.light",minHeight:360,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:_.jsx(di,{children:"No valid data to display"})}):l||0!==W.length?_.jsxs(pc,{ref:y,onContextMenu:e=>{e.preventDefault(),e.stopPropagation()},sx:{height:K,width:"100%",overflow:"auto",border:"1px solid rgba(0, 0, 0, 0.1)",borderRadius:1,WebkitOverflowScrolling:"touch","& > div":{scrollbarWidth:"thin","&::-webkit-scrollbar":{width:"6px",height:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"rgba(0, 0, 0, 0.2)",borderRadius:"3px"}}},children:[he&&_.jsxs(pc,{sx:{position:"sticky",top:0,zIndex:20,width:"100%",bgcolor:te||re?"#ef5350":"#60a5fa",color:"white",py:.5,px:2,display:"flex",justifyContent:"space-between",alignItems:"center",boxShadow:1},children:[_.jsx(di,{variant:"body2",fontWeight:"medium",children:he}),m&&!te&&_.jsx(Ec,{size:"small",variant:"outlined",color:"inherit",onClick:()=>{i&&m(i)},sx:{fontSize:"0.7rem",py:0,minWidth:"auto",position:"relative",right:0,mr:4},children:"Apply to All"})]}),_.jsx(Nv,{ref:S,height:K,width:"100%",itemCount:W.length+1,itemSize:e=>e>=W.length?ce:Y(W[e]),estimatedItemSize:Jz,onScroll:pe,overscanCount:20,initialScrollOffset:E,outerRef:w,style:{overflowX:"auto",overflowY:"auto"},itemData:{visibleNodes:W,expandedNodes:z.expandedNodes,highlightedValues:t,filters:i,isFiltered:l,onNodeClick:de,onValueClick:fe,onContextMenu:ue,commonFontStyle:q},children:me},`tree-list-${i?"filtered":"unfiltered"}-${f?"wrap":"nowrap"}`),_.jsxs(Pp,{open:null!==k,onClose:()=>{T(null),L(null)},anchorReference:"anchorPosition",anchorPosition:null!==k?{top:k.mouseY,left:k.mouseX}:void 0,children:[k&&!k.isValue&&_.jsx(_.Fragment,{children:A&&!(e=>{if(!e||!e.isObject)return!1;if(!V.has(e.path))return!1;const t=U.filter(t=>t.parentPath===e.path);return 0===t.length||t.every(e=>!e.isObject||V.has(e.path))})(A)?_.jsx(zp,{onClick:()=>
152{if(A){const e=S.current?.state?.scrollOffset||E||0;$({type:Vz,payload:{path:A.path,scrollOffset:e}}),T(null),L(null)}},children:"Expand all children"}):_.jsx(zp,{onClick:()=>{if(A){const e=S.current?.state?.scrollOffset||E||0;$({type:Wz,payload:{path:A.path,scrollOffset:e}}),T(null),L(null)}},children:"Collapse all children"})}),k&&k.isValue&&_.jsx(zp,{onClick:()=>{null!==N&&(navigator.clipboard.writeText(String(N)).then(()=>{}).catch(e=>{const t=document.createElement("textarea");t.value=String(N),document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t)}),T(null),L(null))},children:"Copy value"}),k&&k.isValue&&m&&_.jsx(zp,{onClick:()=>{if(null!==N&&m){const e={value:String(N)};m(e),T(null),L(null)}},children:"Filter all cards"})]})]}):_.jsx(pc,{sx:{p:2,textAlign:"center",color:"text.secondary",minHeight:360,display:"flex",alignItems:"center",justifyContent:"center"},children:_.jsx(di,{children:"No data to display"})})},(e,t)=>{if(e.data!==t.data)return!1;if(e.filters!==t.filters){if(!e.filters&&t.filters||e.filters&&!t.filters)return!1;if(JSON.stringify(e.filters)!==JSON.stringify(t.filters))return!1}if(e.renderMode!==t.renderMode)return!1;if(e.adaptiveHeight!==t.adaptiveHeight)return!1;if(e.canvasHeight!==t.canvasHeight)return!1;if(e.contentHeight!==t.contentHeight)return!1;if(e.wordWrapEnabled!==t.wordWrapEnabled)return!1;if(e.highlightedValues!==t.highlightedValues){const n=Object.keys(e.highlightedValues||{}),r=Object.keys(t.highlightedValues||{});if(n.length!==r.length)return!1;if(n.some(n=>!t.highlightedValues||e.highlightedValues[n]!==t.highlightedValues[n]))return!1;if(r.some(t=>!e.highlightedValues||!(t in e.highlightedValues)))return!1}return!0}),e$=({onFilterChange:e,initialFilter:t=null,onApplyFilterToAllCards:n=null})=>{const[r,a]=o.useState(t?.value||"");o.useEffect(()=>{t?.value?a(t.value):null===t&&a("")},[t]);const i=o.useCallback(()=>{const t=r.trim();e(t?{value:t}:null)},[r,e]),s=o.useCallback(()=>{a(""),e(null)},[e]),l=o.useCallback(e=>{"Enter"===e.key?i():"Escape"===e.key&&s()},[i,s]);return _.jsx(pc,{sx:{mb:2},children:_.jsxs(lo,{elevation:0,sx:{display:"flex",alignItems:"center",p:.5,border:"1px solid rgba(0, 0, 0, 0.1)",overflow:"hidden",borderRadius:1},children:[_.jsx(oh,{placeholder:"Filter tree content...",variant:"standard",fullWidth:!0,value:r,onChange:e=>a(e.target.value),onKeyDown:l,autoComplete:"off",InputProps:{disableUnderline:!0,sx:{px:1,fontSize:"0.875rem"}}}),r&&_.jsx(xm,{title:"Clear filter",children:_.jsx(qo,{onClick:s,size:"small",sx:{mx:.5},children:_.jsx(PE,{fontSize:"small"})})})]})})},t$=({data:e,highlightedValues:t={},onValueClick:n=()=>{},valueRefsMap:r={},cardId:a="default",useVirtualization:i=!0,expandAll:s=!0,maxHeight:l="none",showAllNodes:c=!0,canvasHeight:u=800,wordWrapEnabled:d=!1,onApplyFilterToAllCards:p=null,initialFilter:f=null,matchCount:m=0,cardHeightMultiplier:h=1.8,onRemoveHighlight:g=null,onFilteredCountChange:b=null})=>{const y=Kr(),v=o.useRef(null),[x,S]=o.useState(""),[w,E]=o.useState(Date.now()),[C,k]=o.useState(f);o.useEffect(()=>{try{const t=JSON.stringify(e).slice(0,200),n=`${a}-${t.length}-${Date.now()}`;x&&x!==n&&k(f),S(n)}catch(t){}},[e,a,f]);const T=o.useCallback(e=>{if(k(e),e||E(Date.now()),p){const t={};t[a]=e,p(t,!0)}},[a,p]);o.useEffect(()=>{k(f),E(Date.now())},[f]);const A=o.useCallback(e=>{if(Math.abs(e.deltaX)>Math.abs(e.deltaY)&&Math.abs(e.deltaX)>10)return e.preventDefault(),e.stopPropagation(),!1},[]);o.useEffect(()=>{const e=v.current;if(e)return e.addEventListener("wheel",A,{passive:!1}),e.addEventListener("touchmove",A,{passive:!1}),e.addEventListener("webkitmouseforcechanged",A,{passive:!1}),e.addEventListener("mousewheel",A,{passive:!1}),()=>{e.removeEventListener("wheel",A),e.removeEventListener("touchmove",A),e.removeEventListener("webkitmouseforcechanged",A),e.removeEventListener("mousewheel",A)}},[A]);const I=o.useMemo(()=>{if(!t||0===Object.keys(t).length)return{};const n={};return Object.entries(t).forEach(([t,r])=>{let a=0;const o=e=>{e&&Object.entries(e).forEach(([e,n])=>{"key"!==e&&"path"!==e&&"parentPath"!==e&&(e.startsWith("@")?n===t&&a++:("string"!=typeof n&&"number"!=typeof n&&"boolean"!=typeof n||e.startsWith("@")||n!=t||a++,n&&"object"==typeof n&&!Array.isArray(n)&&o(n),Array.isArray(n)&&n.forEac
152h(e=>{"object"==typeof e?o(e):e==t&&a++})))})};o(e),a>0&&(n[t]={color:r,count:a})}),n},[t,e]),N=(e,t)=>{if(!e)return e;if("yellow"===e)return"rgba(255, 255, 0, 0.15)";if("#8BE9FD"===e)return"rgba(139, 233, 253, 0.15)";if("#FF79C6"===e)return"rgba(255, 121, 198, 0.15)";if("#50FA7B"===e)return"rgba(80, 250, 123, 0.15)";if(e.startsWith("#")){return`rgba(${parseInt(e.slice(1,3),16)}, ${parseInt(e.slice(3,5),16)}, ${parseInt(e.slice(5,7),16)}, 0.15)`}return e.startsWith("rgba")?e.replace(/,\s*[\d.]+\)/,", 0.15)"):e};return _.jsxs(pc,{sx:{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",zIndex:10,pointerEvents:"auto"},ref:v,children:[_.jsx(e$,{onFilterChange:T,initialFilter:C,onApplyFilterToAllCards:p}),C&&m>0&&_.jsx(pc,{sx:{bgcolor:"success.light",color:"success.contrastText",px:2,py:.5,mb:1,borderRadius:1,fontSize:"0.75rem",fontWeight:"medium",display:"flex",justifyContent:"space-between",alignItems:"center",flexShrink:0},children:_.jsxs("span",{children:[m," match",1!==m?"es":""," found"]})}),Object.keys(I).length>0&&_.jsxs(pc,{sx:{mb:1,flexShrink:0},children:[_.jsxs(pc,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:.5,px:.5},children:[_.jsx(di,{variant:"caption",sx:{color:"text.secondary",fontSize:"0.7rem",fontWeight:"medium"},children:"Highlighted Values"}),g&&_.jsx(pc,{onClick:()=>{g("__CLEAR_ALL__")},sx:{cursor:"pointer",fontSize:"0.7rem",color:"text.secondary",padding:"2px 6px",borderRadius:"3px","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.05)",color:"text.primary"}},children:"Clear all"})]}),_.jsx(pc,{sx:{maxHeight:"120px",overflowY:"auto",overflowX:"hidden",paddingRight:"4px",scrollbarWidth:"thin",position:"relative",zIndex:20,transform:"translateZ(0)",willChange:"scroll-position","&::-webkit-scrollbar":{width:"6px !important",display:"block !important"},"&::-webkit-scrollbar-track":{background:"transparent !important",display:"block !important"},"&::-webkit-scrollbar-thumb":{background:"rgba(0, 0, 0, 0.2) !important",borderRadius:"3px !important",display:"block !important"}},children:Object.entries(I).map(([e,{color:t,count:n}])=>_.jsxs(pc,{sx:{width:"100%",backgroundColor:"dark"===y.palette.mode?N(t):t,py:.25,px:1,fontSize:"0.75rem",color:"dark"===y.palette.mode?"rgba(255, 255, 255, 0.87)":"rgba(0, 0, 0, 0.87)",fontFamily:'Menlo, Monaco, Consolas, "Courier New", monospace',borderLeft:"3px solid rgba(76, 175, 80, 0.7)",mb:.25,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[_.jsxs("span",{children:[n,' marked with "',e,'"']}),g&&_.jsx(pc,{onClick:t=>{t.stopPropagation(),g(e)},sx:{cursor:"pointer",color:"dark"===y.palette.mode?"rgba(255, 255, 255, 0.5)":"rgba(0, 0, 0, 0.5)",fontSize:"14px",fontWeight:"bold",padding:"2px 4px",borderRadius:"2px","&:hover":{backgroundColor:"dark"===y.palette.mode?"rgba(255, 255, 255, 0.1)":"rgba(0, 0, 0, 0.1)",color:"dark"===y.palette.mode?"rgba(255, 255, 255, 0.8)":"rgba(0, 0, 0, 0.8)"}},children:"Ã"})]},`marker-${e}`))})]}),_.jsx(pc,{sx:{flex:"1 1 auto",width:"100%",minHeight:"500px",height:"auto",overflow:"hidden"},children:_.jsx(Qz,{data:e,highlightedValues:t,onValueClick:n,valueRefsMap:r,cardId:a,filters:C,isFiltered:Boolean(C),canvasHeight:u,adaptiveHeight:!1,wordWrapEnabled:d,onApplyFilterToAllCards:p,cardHeightMultiplier:h,expandAll:s,showAllNodes:c,onFilteredCountChange:b},`tree-${w}`)})]})},n$=({card:e,isDragged:t,onCardMouseDown:n,onCardClose:r,onCardSelection:a,selectedCards:i,highlightedValues:s,onValueClick:l,valueRefsMap:c,setHighlightedValues:u,canvasHeight:d,virtualizationOptions:p={},onApplyFilterToAllCards:f=null,cardFilter:m=null,matchCount:h=0,themeMode:g="light",onRemoveHighlight:b})=>{const y=o.useRef(null),[v,x]=o.useState(!1),[S,w]=o.useState(e.width||420),[E,C]=o.useState({mouseX:0,mouseY:0,width:0}),[k,T]=o.useState(0),[A,I]=o.useState(null),N=o.useCallback((e,t)=>{I(t?e:null)},[]),R=o.useCallback(e=>{if(Math.abs(e.deltaX)>Math.abs(e.deltaY)&&Math.abs(e.deltaX)>10)return e.preventDefault(),e.stopPropagation(),!1},[]);o.useEffect(()=>{const e=y.current;if(e)return e.addEventListener("wheel",R,{passive:!1}),e.addEventListener("touchmove",R,{passive:!1}),e.addEventListener("webkitmouseforcechanged",R,{passive:!1}),e.addEventListener("mousewheel",R,{passive:!1}),()=>{e.removeEventListener("wheel",R),e.removeEventListener("touchmove",R),e.removeEventListener("webkitmouseforcechanged",R),e.removeEventListener("mousewheel",R)}},[R]),o.useEffect(()=>{const e=y.current;if(!e)return;const t=document.createElement("div");
152t.className="card-resize-handle",t.style.cssText="\n position: absolute;\n top: 0;\n right: -6px;\n width: 12px;\n height: 100%;\n cursor: e-resize;\n z-index: 9999;\n pointer-events: all;\n touch-action: none;\n ";const n=document.createElement("div"),r="dark"===g?"#555555":"#c1c1c1";n.style.cssText=`\n position: absolute;\n top: 50%;\n right: 4px;\n width: 4px;\n height: 75px;\n transform: translateY(-50%);\n background: ${r};\n border-radius: 2px;\n pointer-events: none;\n `,t.appendChild(n),e.appendChild(t);const a=e=>{e.preventDefault(),e.stopPropagation(),T(e=>e+1),x(!0),C({mouseX:e.clientX,mouseY:e.clientY,width:S})},o=e=>{if(!v)return;const t=e.clientX-E.mouseX,n=Math.max(420,Math.min(1120,E.width+t));w(n)},i=()=>{v&&x(!1)};return t.addEventListener("mousedown",a),window.addEventListener("mousemove",o),window.addEventListener("mouseup",i),t.addEventListener("mouseenter",()=>{n.style.background="rgba(33, 150, 243, 0.4)"}),t.addEventListener("mouseleave",()=>{n.style.background=r}),()=>{t.removeEventListener("mousedown",a),window.removeEventListener("mousemove",o),window.removeEventListener("mouseup",i),e.contains(t)&&e.removeChild(t)}},[v,E,S,g]),o.useEffect(()=>{v||S===(e.width||420)||(e.width=S)},[v,S,e]);const O=d?d*(p.cardHeightMultiplier||1.8)+"px":"720px",L=o.useMemo(()=>{if(!e.content)return null;try{return JSON.parse(JSON.stringify(e.content))}catch(t){return e.content}},[e.content]);return _.jsxs(pc,{ref:y,"data-card-id":e.id,sx:{position:"absolute",top:0,left:0,width:`${S}px`,height:"auto",minHeight:"800px",minWidth:"420px",maxWidth:"1120px",maxHeight:`calc(${O} + 60px)`,display:"flex",flexDirection:"column",bgcolor:"dark"===g?"#303031":"white",color:"dark"===g?"white":"inherit",borderRadius:1,boxShadow:t?3:1,p:2,cursor:v?"e-resize":t?"move":"default",transform:`translate3d(${e.x}px, ${e.y}px, 0)`,transition:t||v?"none":"transform 0.1s ease, box-shadow 0.2s ease",userSelect:"none",willChange:"transform",backfaceVisibility:"hidden",border:i.some(t=>t.id===e.id)?"3px solid #2196f3":"none","&:hover":{boxShadow:2},"& *":{userSelect:"none"}},onMouseDown:t=>{t.stopPropagation();!t.target.closest("[data-header]")||t.target.closest(".card-resize-handle")||t.target.closest("button")||n(t,e)},children:[_.jsxs(pc,{"data-header":"true",sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2,position:"relative",width:"100%",backgroundColor:"dark"===g?"rgba(144, 202, 249, 0.1)":"rgba(44, 82, 130, 0.05)",borderRadius:1,p:1.5,border:"1px solid "+("dark"===g?"rgba(144, 202, 249, 0.2)":"rgba(44, 82, 130, 0.1)"),cursor:"move","&:hover":{backgroundColor:"dark"===g?"rgba(144, 202, 249, 0.15)":"rgba(44, 82, 130, 0.08)"}},children:[_.jsx(pc,{sx:{display:"flex",alignItems:"center",maxWidth:"70%",overflow:"hidden",textOverflow:"ellipsis"},children:_.jsx(di,{variant:"subtitle1",sx:{fontSize:"0.9rem",fontWeight:"medium",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",color:"dark"===g?"#90caf9":"#2c5282",fontFamily:"monospace"},children:e.title})}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",flexShrink:0},children:[void 0!==e.fileIndex&&_.jsx(xm,{title:"Select for comparison",children:_.jsx(qo,{size:"small",onClick:t=>a(t,e),sx:{marginRight:"4px",bgcolor:i.some(t=>t.id===e.id)?"#2196f3":"background.paper",color:i.some(t=>t.id===e.id)?"white":"inherit",border:"2px solid",borderColor:i.some(t=>t.id===e.id)?"#2196f3":"dark"===g?"#555":"#e0e0e0",padding:"5px","&:hover":{bgcolor:i.some(t=>t.id===e.id)?"#1976d2":"dark"===g?"#333":"#e3f2fd",borderColor:"#2196f3"}},children:_.jsx(jE,{fontSize:"small"})})}),_.jsx(xm,{title:"Close",children:_.jsx(qo,{size:"small",onClick:t=>{t.stopPropagation(),r(e.id)},sx:{border:"1px solid "+("dark"===g?"#555":"#e0e0e0"),padding:"5px","&:hover":{bgcolor:"dark"===g?"#422":"#ffebee",border:"1px solid #f44336"}},children:_.jsx(yE,{fontSize:"small"})})})]})]}),void 0!==e.fileIndex?_.jsx(pc,{sx:{flex:"1 1 auto",minHeight:"700px",height:"auto",display:"flex",flexDirection:"column",overflowY:"auto",overflowX:"hidden",p:1.5,backgroundColor:"dark"===g?"rgba(40, 40, 40, 0.6)":"rgba(250, 250, 250, 0.6)",borderRadius:1,border:"1px solid "+("dark"===g?"rgba(255, 255, 255, 0.1)":"rgba(0, 0, 0, 0.08)")},onClick:e=>e.stopPropagation(),"data-virtualized":"true",children:_.jsx(t$,{data:L,highlightedValues:s,onValueClick:(t,n,r)=>l(t,n,e.id,r),valueRefsMap:c,cardId:e.id,useVirtualization:p.enabled,canvasHeight:d,initialFilter:m,onApplyFilterToAllCards:f,matchCount:h,cardHeightMultiplier:p.cardHeightMultiplier,onRemoveHighlight:b,onFilteredCountChange:N},`treeview-${e.id}-${e._isolationTime||Date.now()}`)}):_.jsx(di,{children:String(e.content)}),!1]})};var r$={};let a$=!1,o$="";const i$=e=>{a$||(a$=!0,o$=e)}
152,s$="nodeflip_datalineage_cards",l$=(e,t)=>{try{return localStorage.setItem(e,JSON.stringify(t)),!0}catch(n){return!1}},c$=(e,t=null)=>{try{const n=localStorage.getItem(e);return n?JSON.parse(n):t}catch(n){return t}},u$="dataLineageDB",d$="cards",p$="settings",f$="files",m$="dataExtractorState";let h$=null,g$=null;const b$={},y$=()=>g$||(h$?Promise.resolve(h$):(g$=new Promise(async(e,t)=>{try{let n=function(){const n=indexedDB.open(u$,9);function r(){h$.onerror=e=>{e.target.error,h$=null},h$.onclose=()=>{h$=null},h$.onversionchange=()=>{h$.close(),h$=null},Array.from(h$.objectStoreNames)}n.onerror=e=>{e.target.error,g$=null,t("Error opening database")},n.onsuccess=n=>{h$=n.target.result;const a=[d$,p$,f$,m$],o=a.filter(e=>!h$.objectStoreNames.contains(e));if(o.length>0){o.join(", "),h$.close(),h$=null;const n=indexedDB.open(u$,10);return n.onupgradeneeded=e=>{const t=e.target.result;for(const n of a)if(!t.objectStoreNames.contains(n))if(Fz(),n===d$){t.createObjectStore(n,{keyPath:"id"}).createIndex("title","title",{unique:!1})}else if(n===p$)t.createObjectStore(n,{keyPath:"key"});else if(n===f$){t.createObjectStore(n,{keyPath:"id"}).createIndex("name","name",{unique:!1})}else n===m$&&t.createObjectStore(n,{keyPath:"id"})},n.onsuccess=t=>{h$=t.target.result,r(),g$=null,e(h$)},void(n.onerror=e=>{e.target.error,g$=null,t("Failed to create missing stores")})}r(),g$=null,e(h$)},n.onupgradeneeded=e=>{const t=e.target.result;if(Array.from(t.objectStoreNames),!t.objectStoreNames.contains(d$)){t.createObjectStore(d$,{keyPath:"id"}).createIndex("title","title",{unique:!1})}if(t.objectStoreNames.contains(p$)||t.createObjectStore(p$,{keyPath:"key"}),!t.objectStoreNames.contains(f$)){t.createObjectStore(f$,{keyPath:"id"}).createIndex("name","name",{unique:!1})}t.objectStoreNames.contains(m$)||t.createObjectStore(m$,{keyPath:"id"}),Array.from(t.objectStoreNames)}};const r=indexedDB.open(u$);let a=!1;r.onsuccess=e=>{const t=e.target.result;if(![d$,p$,f$,m$].every(e=>t.objectStoreNames.contains(e))&&t.objectStoreNames.length>0){a=!0,t.close();const e=indexedDB.deleteDatabase(u$);e.onsuccess=()=>{n()},e.onerror=e=>{n()}}else t.close(),n()},r.onerror=()=>{n()}}catch(n){g$=null,t(n)}}),g$)),v$=async()=>{try{return await y$()}catch(e){throw h$=null,e}};let x$=!1;const S$=async(e,t=3)=>{try{return await e()}catch(n){if(t>0)return h$=null,await new Promise(e=>setTimeout(e,500)),S$(e,t-1);throw n}},w$=async e=>{const t=await v$();if(!t.objectStoreNames.contains(e)){h$=null,g$=null;const t=await y$();if(!t.objectStoreNames.contains(e))throw new Error(`Required object store ${e} not available`);return t}return t};let E$=null;const C$=async(e,t)=>e?S$(async()=>{const n=await w$(p$);return new Promise((r,a)=>{try{const o=n.transaction(p$,"readwrite"),i=o.objectStore(p$);let s;try{s=JSON.stringify(t)}catch(yU){s=JSON.stringify({error:"Unstringifiable value"})}const l=i.put({key:e,value:s});l.onsuccess=()=>{r()},l.onerror=e=>{e.target.error,a(e.target.error)},o.onerror=e=>{e.target.error,a(e.target.error)}}catch(o){a(o)}})}):Promise.resolve(),k$=async(e,t=null)=>{if(!e)return Promise.resolve(t);if(b$[e])return t;b$[e]=!0;try{return await S$(async()=>{const n=await v$();return new Promise((r,a)=>{try{const o=n.transaction(p$,"readonly"),i=o.objectStore(p$).get(e);i.onsuccess=()=>{if(i.result)try{r(JSON.parse(i.result.value))}catch(e){r(t)}else r(t)},i.onerror=e=>{a(e.target.error)},o.onerror=e=>{a(e.target.error)}}catch(o){a(o)}})})}finally{setTimeout(()=>{b$[e]=!1},100)}},T$={xpathQuery:"",extractedValues:[],zipFileNames:[]},A$=(e=[],t=1,n={x:0,y:0},r={enabled:!0,threshold:2,minNodes:500,cardHeight:.82})=>{const[a,i]=o.useState(e),[s,l]=o.useState(t),[c,u]=o.useState(n),[d,p]=o.useState(r),[f,m]=o.useState(!1),h=o.useRef(null),g=o.useRef(!1);o.useRef(0);const b=o.useRef(null),y=o.useRef([]),v=o.useRef(!0),x=async()=>{if(y.current.length>0){y.current.length;for(const t of y.current)try{await t()}catch(e){zz(0)}y.current=[]}};o.useEffect(()=>{if(f)return;let e=!0;v.current=!0;return(async()=>{try{g.current||(localStorage.removeItem("dataLineageCards"),localStorage.removeItem("dataLineageZoom"),localStorage.removeItem("dataLineagePosition"),localStorage.removeItem("dataLineageVirtualizationConfig"),g.current=!0);const a=await(()=>{const e="undefined"!=typeof process&&r$&&!0,t=e?console.log:e=>{};if(a$){const e=c$(s$,[]);return t(`Loaded ${e.length} cards from localStorage (fallback mode: ${o$})`),E$=e,Promise.resolve(e)}return x$?(t("Load cards already in progress, waiting..."),new Promise(e=>{setTimeout(()=>
152{t(`Returning cached cards while load in progress: ${E$?.length||0}`),e(E$||[])},300)})):(x$=!0,t(`[${e?"PRODUCTION":"DEV"}] Loading cards from IndexedDB`),new Promise((n,r)=>{try{if(!window.indexedDB){const e=new Error("IndexedDB not supported in this browser");return t("IndexedDB not supported"),x$=!1,void r(e)}const a=indexedDB.open(u$,9);a.onerror=e=>{const r=e.target.error?.message||"Unknown error";t(`Error opening database for loadCards: ${r}`),x$=!1,i$(`IndexedDB open failed: ${r}`);const a=c$(s$,[]);t(`Loaded ${a.length} cards from localStorage fallback`),E$=a,n(a)},a.onsuccess=a=>{const o=a.target.result;t("Database opened successfully");try{if(!o.objectStoreNames.contains(d$))return t("Cards store not found in database"),x$=!1,void n([]);const a=o.transaction([d$],"readonly"),i=a.objectStore(d$).getAll();i.onerror=e=>{const a=e.target.error?.message||"Unknown error";t(`Error getting cards: ${a}`),x$=!1,E$?(t(`Returning cached cards due to error: ${E$.length}`),n(E$)):r(e.target.error||new Error("Failed to get cards from store"))},i.onsuccess=r=>{const a=r.target.result;x$=!1,E$=a,t(`Successfully loaded ${a.length} cards from IndexedDB`),e&&a.length>0&&a.slice(0,3).forEach((e,t)=>{}),n(a)},a.oncomplete=()=>{t("Card load transaction completed"),o.close()},a.onerror=e=>{const a=e.target.error?.message||"Unknown error";t(`Error during card load transaction: ${a}`),x$=!1,E$?(t(`Returning cached cards due to error: ${E$.length}`),n(E$)):r(e.target.error||new Error("Transaction error while loading cards"))}}catch(i){t(`Error in loadCards transaction setup: ${i?.message||"Unknown error"}`),x$=!1,E$?(t(`Returning cached cards due to error: ${E$.length}`),n(E$)):r(i||new Error("Failed to set up transaction"))}},a.onupgradeneeded=e=>{t(`Database upgrade needed during loadCards - current version: ${e.oldVersion}, new version: 9`)}}catch(a){t(`Error in loadCards: ${a?.message||"Unknown error"}`),x$=!1,E$?(t(`Returning cached cards due to error: ${E$.length}`),n(E$)):r(a||new Error("Critical error when loading cards"))}}))})();if(!e)return;a&&Array.isArray(a)&&a.length>0&&(a.length,h.current=JSON.stringify(a),i(a));const o=await k$("canvasZoom",t);if(!e)return;o&&!isNaN(parseFloat(o))&&parseFloat(o)>0&&l(parseFloat(o));const s=await k$("canvasPosition",n);if(!e)return;s&&"object"==typeof s&&"x"in s&&"y"in s&&u(s);const c=await k$("virtualizationConfig",r);if(!e)return;c&&"object"==typeof c&&p(c),e&&(m(!0),v.current=!1,await x())}catch(a){e&&(m(!0),v.current=!1,await x())}})(),()=>{e=!1}},[]);return{cards:a,setCards:e=>{i(t=>{try{const n="function"==typeof e?e(t):e,r=Array.isArray(n)?n:[],a=r.length>t.length||r.length<t.length||r.length===t.length&&r.some((e,n)=>{const r=t[n];return r&&e&&r.id===e.id&&(r.x!==e.x||r.y!==e.y||r.width!==e.width)});if(a){const e=r.length>t.length?"add":r.length<t.length?"remove":"move";b.current={type:e,time:Date.now(),count:r.length},r.length;const n=async()=>{try{await(e=>(e.length,new Promise(a$?(t,n)=>{l$(s$,e)?(e.length,t()):n(new Error("Failed to save to localStorage fallback"))}:async(t,n)=>{try{const a=await w$(d$);try{const r=a.transaction([d$],"readwrite"),o=r.objectStore(d$),i=o.clear();i.onerror=e=>{e.target.error,n(e.target.error)},i.onsuccess=()=>{let t=0,n=0;e.forEach(r=>{try{const a=JSON.parse(JSON.stringify(r)),i=o.add(a);i.onsuccess=()=>{t++,t+n===e.length&&(n>0||e.length)},i.onerror=t=>{t.target.error,n++,e.length}}catch(a){n++,e.length}}),e.length},r.oncomplete=()=>{t()},r.onerror=e=>{e.target.error,n(e.target.error)}}catch(r){n(r)}}catch(r){i$("IndexedDB store access failed");try{l$(s$,e)?(e.length,t()):n(new Error("Both IndexedDB and localStorage failed"))}catch(a){n(r)}}})))(r)}catch(e){try{localStorage.setItem("dataLineageCards",JSON.stringify(r))}catch(t){}}};v.current?y.current.push(n):n().catch(e=>{})}return r}catch(n){return t}})},canvasZoom:s,setCanvasZoom:l,canvasPosition:c,setCanvasPosition:u,virtualizationConfig:d,setVirtualizationConfig:p,saveZoom:async e=>{if(void 0!==e){const t=async()=>{try{await C$("canvasZoom",e)}catch(t){}};v.current?y.current.push(t):await t()}},savePosition:async e=>{if(e){const t=async()=>{try{await C$("canvasPosition",e)}catch(t){}};v.current?y.current.push(t):await t()}},saveConfig:async e=>{if(e){const t=async()=>{try{await C$("virtualizationConfig",e)}catch(t){}};v.current?y.current.push(t):await t()}},isLoaded:f}},I$=({initialZoom:e=1,initialPosition:t={x:0,y:0}})=>{const[n,r]=o.useState(e),[a,i]=o.useState(t),[s,l]=o.useState({x:0,y:0}
152),[c,u]=o.useState(!1),[d,p]=o.useState({x:0,y:0}),f=o.useRef({x:0,y:0}),m=o.useRef(0),h=o.useRef(a),g=o.useRef(),b=o.useRef(null),y=o.useRef(t),v=.05;o.useEffect(()=>{h.current=a},[a]),o.useEffect(()=>{if(c)return;(y.current.x!==t.x||y.current.y!==t.y)&&(i(t),y.current=t)},[t,c]);const x=o.useCallback((e,t=!1)=>{r(n=>{const r=n+(t?e/100:.1*Math.sign(e));return Math.min(Math.max(r,.5),2)})},[]);o.useEffect(()=>{const e=e=>{(e.metaKey||e.ctrlKey)&&("="===e.key||"+"===e.key?(e.preventDefault(),x(1)):"-"===e.key?(e.preventDefault(),x(-1)):"0"===e.key&&(e.preventDefault(),r(1)))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[x]);const S=o.useCallback(e=>{if(!e||0===e.length)return;const t=e.reduce((e,t)=>t.x<e.x?t:e,e[0]);i({x:200/n-t.x,y:150/n-t.y})},[n]);o.useEffect(()=>{const e=b.current;if(!e)return;const t=t=>{t.target===e&&(t.preventDefault(),t.stopPropagation())};return e.addEventListener("dblclick",t),()=>{e.removeEventListener("dblclick",t)}},[]);o.useEffect(()=>{if(!c)return;const e=()=>{u(!1)},t=e=>{if(!c)return;const t=e.clientX-d.x,r=e.clientY-d.y;i({x:f.current.x+t/n,y:f.current.y+r/n})};return window.addEventListener("mouseup",e),window.addEventListener("mousemove",t),()=>{window.removeEventListener("mouseup",e),window.removeEventListener("mousemove",t)}},[c,d,n]),o.useEffect(()=>{const e=()=>{Math.abs(s.x)<v&&Math.abs(s.y)<v?l({x:0,y:0}):(i(e=>({x:e.x+s.x/n,y:e.y+s.y/n})),l(e=>({x:.85*e.x,y:.85*e.y})),g.current=requestAnimationFrame(e))};return(Math.abs(s.x)>=v||Math.abs(s.y)>=v)&&(g.current&&cancelAnimationFrame(g.current),g.current=requestAnimationFrame(e)),()=>{g.current&&(cancelAnimationFrame(g.current),g.current=null)}},[s,n]);const w=o.useCallback(e=>{if(e.target.closest('[data-virtualized="true"]')){const t=Date.now();if(m.current=t,e.ctrlKey||e.metaKey){const t=e.deltaY>0?-.1:.1;x(t)}return}const t=Date.now();if(!(t-(m.current||0)<16))if(m.current=t,e.ctrlKey||e.metaKey){const t=e.deltaY>0?-.1:.1;x(t)}else{if(Math.abs(e.deltaX)<10&&Math.abs(e.deltaY)<10&&!c)l(t=>({x:t.x-.2*e.deltaX,y:t.y-.2*e.deltaY}));else{const t=1.5/n;i(n=>({x:n.x-e.deltaX*t,y:n.y-e.deltaY*t}))}}},[n,c,x]);o.useEffect(()=>(()=>{const e=b.current;if(!e)return null;const t=e=>{w(e)};return e.addEventListener("wheel",t,{passive:!0}),()=>{e.removeEventListener("wheel",t,{passive:!0})}})(),[w]);const E=o.useCallback(e=>e.ctrlKey||e.metaKey||Math.abs(e.deltaX)>Math.abs(e.deltaY)&&Math.abs(e.deltaX)>10?(e.preventDefault(),e.stopPropagation(),!1):void 0,[]);o.useEffect(()=>{const e=b.current;if(e)return e.addEventListener("wheel",E,{passive:!1}),e.addEventListener("touchmove",E,{passive:!1}),e.addEventListener("webkitmouseforcechanged",E,{passive:!1}),e.addEventListener("mousewheel",E,{passive:!1}),window.addEventListener("swipe",E,{passive:!1}),()=>{e.removeEventListener("wheel",E),e.removeEventListener("touchmove",E),e.removeEventListener("webkitmouseforcechanged",E),e.removeEventListener("mousewheel",E),window.removeEventListener("swipe",E)}},[E]),o.useEffect(()=>{const e=e=>{"Backspace"!==e.key||["INPUT","TEXTAREA","SELECT"].includes(document.activeElement.tagName)||e.preventDefault()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]);const C=o.useCallback(e=>{if(r(1),e&&e.length>0){const t=e.reduce((e,t)=>t.x<e.x?t:e,e[0]);i({x:200-t.x,y:150-t.y})}else i({x:0,y:0})},[]),k=o.useCallback(e=>{"__CLEAR_ALL__"===e?setHighlightedValues({}):setHighlightedValues(t=>{const n={...t};return delete n[e],n})},[]);return{canvasZoom:n,setCanvasZoom:r,canvasPosition:a,setCanvasPosition:i,isDraggingCanvas:c,momentum:s,containerRef:b,handleMouseDown:e=>{0===e.button&&(g.current&&(cancelAnimationFrame(g.current),g.current=null),l({x:0,y:0}),u(!0),p({x:e.clientX,y:e.clientY}),f.current={x:a.x,y:a.y})},handleMouseMove:e=>{if(!c)return;const t=e.clientX-d.x,r=e.clientY-d.y;i({x:f.current.x+t/n,y:f.current.y+r/n})},handleMouseUp:()=>{c&&u(!1)},handleZoom:x,handleWheel:w,repositionCanvasToCard:S,resetView:C,handleRemoveHighlight:k}},N$=(e=[],t,n,r,a)=>{const[i,s]=o.useState(null),[l,c]=o.useState({mouseX:0,mouseY:0,cardX:0,cardY:0}
152),[u,d]=o.useState(!1),[p,f]=o.useState(null),[m,h]=o.useState({mouseX:0,width:0}),g=e=>{if(!i)return;const r=(e.clientX-l.mouseX)/n,a=(e.clientY-l.mouseY)/n;!u&&(Math.abs(r)>5||Math.abs(a)>5)&&d(!0);const o=l.cardX+r,s=l.cardY+a;t(e=>e.map(e=>e.id===i?{...e,x:o,y:s}:e))};o.useEffect(()=>{if(!i)return;const e=()=>{u&&a&&a(),s(null),d(!1)},t=e=>{g(e)};return window.addEventListener("mouseup",e),window.addEventListener("mousemove",t),()=>{window.removeEventListener("mouseup",e),window.removeEventListener("mousemove",t)}},[i,l,n,u,a]);const b=e=>{if(!p)return;const r=(e.clientX-m.mouseX)/n,a=Math.max(420,Math.min(1120,m.width+r));t(e=>e.map(e=>e.id===p?{...e,width:Math.round(a)}:e))},y=()=>{p&&(t(e=>{const t=e.find(e=>e.id===p);return t&&(t.id,t.width),e}),f(null),h({mouseX:0,width:0}))};o.useEffect(()=>{if(!p)return;const e=()=>{y()},t=e=>{b(e)};return window.addEventListener("mouseup",e),window.addEventListener("mousemove",t),()=>{window.removeEventListener("mouseup",e),window.removeEventListener("mousemove",t)}},[p,m,n]);const v=o.useCallback((e,n)=>{if(e)try{if(e.name,!e.sourceContent)return void e.name;const i="json"===e.fileType,s="xml"===e.fileType;if(!i&&!s)return void e.fileType;const l=e.sourceContent;let c;if(i)try{c=ex(l)}catch(a){return void e.name}else s&&(c=pE(l));e.name,t(t=>{let a=80,o=2;if(t.length>0){const e=t.reduce((e,t)=>t.x>e.x?t:e,t[0]),n=e.width||420;a=e.x+n+40,o=2}const s=Date.now(),l=Math.random().toString(36).substring(2,9),u=`card-${e.name.replace(/[^a-zA-Z0-9]/g,"-")}-${s}-${l}`,d=`file-${s}-${l}`,p={id:u,title:e.name,content:c,fileType:i?"json":"xml",x:a,y:o,fileIndex:n,width:420,fileId:d,_freshIsolation:!0,_isolationTime:s};if(r&&"function"==typeof r.registerCardForFile)try{r.registerCardForFile(d,u)}catch(f){}return[...t,p]});try{const t="object"==typeof l?JSON.stringify(l).length/10:0;t>1e3&&(t.toFixed(0),setTimeout(()=>{(e=>{try{const t=Yj(e);t.attributeAccessTime,t.nodeCount,t.nodeCount}catch(t){}})(c,`Performance metrics for ${e.name}`)},100))}catch(o){}}catch(o){}},[t,r]),x=o.useCallback(e=>{if(e)try{t(t=>{const n=t.find(t=>t.id===e);if(n){if(n.title,n.id,r&&n.fileId&&"function"==typeof r.unregisterCard)try{r.unregisterCard(e)}catch(o){}try{n.content=null}catch(o){}}const a=t.filter(t=>t.id!==e);return a.length,t.length,a})}catch(n){t(t=>t.filter(t=>t.id!==e))}},[t,r]);return{draggedCard:i,isResizing:p,handleCardMouseDown:(e,t)=>{e.stopPropagation(),0===e.button&&(s(t.id),d(!1),c({mouseX:e.clientX,mouseY:e.clientY,cardX:t.x,cardY:t.y}))},handleCardMouseMove:g,handleCardMouseUp:()=>{i&&u&&a&&a(),s(null),d(!1)},handleResizeMouseDown:(e,t)=>{e.stopPropagation(),e.preventDefault(),f(t.id),h({mouseX:e.clientX,width:t.width||420})},handleResizeMouseMove:b,handleResizeMouseUp:y,handleAddFileCard:v,handleCardClose:x}},_$=({canvasZoom:e,handleZoom:t,resetView:n,onSettingsClick:r})=>{const a=Kr(),o="dark"===a.palette.mode;return _.jsx(pc,{sx:{position:"fixed",bottom:16,right:16,display:"flex",flexDirection:"column",gap:1,alignItems:"flex-end",zIndex:1200},children:_.jsxs(pc,{sx:{display:"flex",gap:1,bgcolor:o?a.palette.background.paper:"white",p:1,borderRadius:1,boxShadow:1},children:[_.jsx(Ec,{variant:"contained",onClick:()=>t(-1),size:"small",sx:{fontSize:"1.2rem",bgcolor:"#60a5fa","&:hover":{bgcolor:"#3b82f6"}},children:"-"}),_.jsxs(Ec,{variant:"outlined",onClick:n,size:"small",sx:{minWidth:"80px",borderColor:"#60a5fa",color:"#60a5fa","&:hover":{borderColor:"#3b82f6",color:"#3b82f6",backgroundColor:"rgba(96, 165, 250, 0.04)"}},children:[Math.round(100*e),"%"]}),_.jsx(Ec,{variant:"contained",onClick:()=>t(1),size:"small",sx:{fontSize:"1.2rem",bgcolor:"#60a5fa","&:hover":{bgcolor:"#3b82f6"}},children:"+"}),_.jsx(xm,{title:"Settings",children:_.jsx(qo,{size:"small",onClick:r,sx:{color:o?a.palette.text.primary:void 0},children:_.jsx(Rh,{})})})]})})},R$=({files:e,selectedValue:t,setSelectedValue:n,fileManager:r,themeMode:a="light"})=>{const{cards:i,setCards:s,canvasZoom:l,canvasPosition:c,virtualizationConfig:u,setVirtualizationConfig:d,saveZoom:p,savePosition:f,saveConfig:m,isLoaded:h}=A$(),[g,b]=o.useState(!0);o.useEffect(()=>{b(jz())},[]);const[y,v]=o.useState(c||{x:0,y:0}),x=o.useCallback(async e=>{try{await f(e)}catch(t){}},[f]),[S,w]=o.useState(!1);o.useEffect(()=>{h&&!S&&w(!0)},[h,S]);const{canvasZoom:E,setCanvasZoom:C,canvasPosition:k,setCanvasPosition:T,isDraggingCanvas:A,containerRef:I,handleMouseDown:N,handleMouseMove:R,handleMouseUp:O,handleZoom:L}=I$({initialZoom:l||1,initialPosition:y}),D=o.useCallback(e=>
152{1===e||-1===e?(L(e),setTimeout(()=>{S&&p(E)},50)):(C(e),S&&p(e))},[C,S,p,E,L]),P=o.useCallback(()=>{if(!i||0===i.length)return;const e=i.reduce((e,t)=>!e||t.x<e.x?t:e,null);if(e){const t={x:100-e.x,y:100-e.y};T(t),S&&x(t)}},[i,T,x,S]),M=o.useCallback(()=>{P()},[P]),j=o.useCallback(e=>{S&&x(e)},[S,x]),{draggedCard:F,isResizing:z,handleCardMouseDown:$,handleResizeMouseDown:B,handleResizeMouseMove:U,handleResizeMouseUp:H,handleAddFileCard:V,handleCardClose:W}=N$(i,s,E,r,j);o.useEffect(()=>{i.length},[]);const G=o.useCallback(()=>{if(C(1),i&&i.length>0)P();else{T({x:0,y:0})}S&&(p(1),setTimeout(()=>{f(k)},50))},[i,P,C,T,S,p,f,k]);o.useEffect(()=>{const e=I.current;if(!e)return;const t=t=>{t.target===e&&(t.preventDefault(),t.stopPropagation(),M())};return e.addEventListener("dblclick",t),()=>{e.removeEventListener("dblclick",t)}},[M]);const q=o.useCallback(e=>{d(e),S&&m(e)},[d,S,m]),[Y,X]=o.useState({x:0,y:0}),[K,Z]=o.useState(null),[J,Q]=o.useState([]),[ee,te]=o.useState("yellow"),[ne,re]=o.useState({}),[ae,oe]=o.useState([]),[ie,se]=o.useState(!1),le=o.useRef(new Map);o.useRef();const ce=o.useRef(null);o.useRef({x:0,y:0}),o.useRef(0);const ue=o.useRef(k);o.useEffect(()=>{ue.current=k},[k]);const de=["yellow","#8BE9FD","#FF79C6","#50FA7B"],pe=o.useRef("yellow");o.useEffect(()=>{pe.current=ee},[ee]);const fe=(e,t)=>{e.stopPropagation(),oe(e=>{if(e.some(e=>e.id===t.id))return e.filter(e=>e.id!==t.id);const n={...t,content:JSON.parse(JSON.stringify(t.content)),_isolationId:`isolated-${Date.now()}-${Math.random().toString(36).substring(2,7)}`};return e.length>=2?[...e.slice(1),n]:[...e,n]})},me=o.useCallback((e,t=!1)=>{if(t)we(t=>{const n={...t},r=Object.keys(e)[0],a=e[r];return null===a?delete n[r]:n[r]=a,n});else{const t={};i.forEach(n=>{t[n.id]={...e}}),we(t)}},[i]);o.useEffect(()=>{Q([])},[t,i,E,k]);const he=o.useCallback((e,t,n,r)=>{const a=pe.current,o={...ne};o[e]===a?delete o[e]:o[e]=a,re(o),le.current.clear()},[ne,le]),ge=o.useCallback(e=>{if(Math.abs(e.deltaX)>Math.abs(e.deltaY)&&Math.abs(e.deltaX)>10)return e.preventDefault(),e.stopPropagation(),!1},[]);o.useEffect(()=>()=>{le.current.clear()},[]);const be=o.useCallback(()=>{re({})},[]);o.useEffect(()=>()=>{if(ce.current)try{ce.current.dispose(),ce.current=null}catch(yU){}},[]),o.useEffect(()=>{if(!ie&&ce.current){const e=setTimeout(()=>{try{ce.current&&(ce.current.dispose(),ce.current=null)}catch(yU){}},100);return()=>clearTimeout(e)}},[ie]);const ye=o.useRef({width:0,height:0});o.useEffect(()=>{const e=()=>{if(I.current){const{width:e,height:t}=I.current.getBoundingClientRect();ye.current={width:e,height:t}}};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]);const[ve,xe]=o.useState(null),[Se,we]=o.useState({}),[Ee,Ce]=o.useState({}),ke=o.useCallback(e=>Se[e]||null,[Se]),Te=o.useCallback(e=>Ee[e]||0,[Ee]),Ae=o.useCallback(()=>{we({}),Ce({})},[]),[Ie,Ne]=o.useState(!1),_e=o.useCallback(()=>{Ne(!0)},[]),Re=o.useCallback(()=>{s([]);const e={x:0,y:0};T(e),S&&f(e),Ne(!1)},[s,T,S,f]),Oe=o.useMemo(()=>Object.keys(Se).length>0,[Se]);o.useEffect(()=>{const e=e=>{e.altKey&&"c"===e.key&&Ae()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[Ae]),o.useEffect(()=>{const e=I.current;if(e)return e.addEventListener("wheel",ge,{passive:!1}),e.addEventListener("touchmove",ge,{passive:!1}),e.addEventListener("webkitmouseforcechanged",ge,{passive:!1}),e.addEventListener("mousewheel",ge,{passive:!1}),window.addEventListener("swipe",ge,{passive:!1}),()=>{e.removeEventListener("wheel",ge),e.removeEventListener("touchmove",ge),e.removeEventListener("webkitmouseforcechanged",ge),e.removeEventListener("mousewheel",ge),window.removeEventListener("swipe",ge)}},[ge]),o.useEffect(()=>{const e=e=>{"Backspace"!==e.key||["INPUT","TEXTAREA","SELECT"].includes(document.activeElement.tagName)||e.preventDefault()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[]);const Le=o.useCallback(e=>{re("__CLEAR_ALL__"===e?{}:t=>{const n={...t};return delete n[e],n})},[]);return _.jsxs(pc,{id:"data-lineage-container",ref:I,sx:{position:"relative",width:"100%",height:"100%",bgcolor:"dark"===a?"#1e1e1e":"#f5f5f5",overflow:"hidden",cursor:A?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitTapHighlightColor:"transparent",overscrollBehavior:"contain",WebkitOverflowScrolling:"touch",msOverflowStyle:"none",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"},WebkitTouchCallout:"none",WebkitUserSelect:"none",khtmlUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",WebkitUserDrag:"none",WebkitAppRegion:"no-drag","& *":{backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",overscrollBehavior:"contain","&::-webkit-scrollbar":{display:"none"},scrollbarWidth:"none",msOverflowStyle:"none"},"&":{"-ms-content-zooming":"none","-ms-touch-action":"none","touch-action":"none"}},onMouseDown:N,onMouseMove:R,onMouseUp:O,children:[_.jsx(Yu,{color:"primary",id:"add-file-button","aria-label":"add",onClick:e=>Z(e.currentTarget),sx:{position:"absolute",top:32,left:24,zIndex:1,bgcolor:"#60a5fa","&:hover":{bgcolor:"#3b82f6"}},children:_.jsx(EE,{})}),_.jsx(xm,{title:"Remove all cards",placement:"right",children:_.jsx(Yu,{color:"primary","aria-label":"remove-all",onClick:_e,sx:{position:"absolute",bottom:32,left:24,zIndex:1,bgcolor:"#ef5350",color:"white","&:hover":{bgcolor:"#e53935"}},children:_.jsx($E,{})})}),_.jsxs(Cu,{open:Ie,onClose:()=>Ne(!1),"aria-labelledby":"remove-all-dialog-title",children:[_.jsx(ju,{id:"remove-all-dialog-title",children:"Remove All Cards"}),_.jsx(Ou,{children:_.jsx(di,{children:"Are you sure you want to remove all cards from the canvas? This action cannot be undone."})}),_.jsxs(Au,{children:[_.jsx(Ec,{onClick:()=>Ne(!1),color:"primary",children:"Cancel"}),_.jsx(Ec,{onClick:Re,color:"error",variant:"contained",startIcon:_.jsx($E,{}),children:"Remove All"})]})]}),2===ae.length&&_.jsx(pc,{sx:{position:"fixed",bottom:24,left:"50%",transform:"translateX(-50%)",zIndex:1100},children:_.jsx(Ec,{variant:"contained",color:"secondary",size:"large",startIcon:_.jsx(FE,{}),onClick:()=>
152{if(2!==ae.length)return;const e=ae[0],t=ae[1];e.id,e.title,e.fileIndex,"object"==typeof e.content?Object.keys(e.content).join(", "):e.content,t.id,t.title,t.fileIndex,"object"==typeof t.content?Object.keys(t.content).join(", "):t.content,se(!0)},sx:{backgroundColor:"#e91e63","&:hover":{backgroundColor:"#d81b60"},fontWeight:"bold",padding:"10px 20px",boxShadow:"0 4px 8px rgba(0, 0, 0, 0.2)"},children:"Compare Files"})}),1===ae.length&&_.jsxs(pc,{sx:{position:"fixed",bottom:24,left:"50%",transform:"translateX(-50%)",zIndex:1100,backgroundColor:"rgba(25, 118, 210, 0.9)",padding:"10px 20px",borderRadius:"24px",color:"white",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:"0 2px 8px rgba(0, 0, 0, 0.2)",minWidth:"280px"},children:[_.jsx(jE,{sx:{marginRight:"10px"}}),_.jsx(di,{variant:"body1",sx:{fontWeight:"medium"},children:"Select one more file to compare"})]}),_.jsxs(lo,{elevation:6,sx:{position:"fixed",top:"50%",right:0,transform:"translateY(-50%)",zIndex:1200,padding:"10px",display:"flex",flexDirection:"column",gap:"12px",backgroundColor:"dark"===a?"rgba(30, 30, 30, 0.95)":"rgba(255, 255, 255, 0.95)",borderRadius:"4px 0 0 4px",borderRight:"none",boxShadow:"0 0 15px rgba(0,0,0,0.2)"},children:[de.map(e=>_.jsx(xm,{title:"yellow"===e?"Yellow":"#8BE9FD"===e?"Cyan":"#FF79C6"===e?"Pink":"Green",placement:"left",children:_.jsx(pc,{onClick:()=>te(e),sx:{width:30,height:30,backgroundColor:e,cursor:"pointer",borderRadius:"4px",border:ee===e?"3px solid "+("dark"===a?"white":"black"):"1px solid "+("dark"===a?"#555":"#ccc"),"&:hover":{opacity:.8,boxShadow:"0 0 5px rgba(0,0,0,0.3)"}}})},e)),_.jsx(xm,{title:"Clear all markers",placement:"left",children:_.jsx(pc,{onClick:be,sx:{width:30,height:30,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",borderRadius:"4px",border:"1px solid "+("dark"===a?"#555":"#ccc"),marginTop:"8px",backgroundColor:"dark"===a?"#333":"#f5f5f5",color:"dark"===a?"white":"inherit","&:hover":{backgroundColor:"dark"===a?"#444":"#e0e0e0",boxShadow:"0 0 5px rgba(0,0,0,0.3)"}},children:_.jsx(yE,{fontSize:"small"})})})]}),ie&&2===ae.length&&_.jsxs(pc,{sx:{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:1500,backgroundColor:"dark"===a?"#1e1e1e":"#fff",color:"dark"===a?"white":"inherit",display:"flex",flexDirection:"column"},children:[_.jsxs(pc,{sx:{padding:2,display:"flex",justifyContent:"space-between",alignItems:"center",borderBottom:"1px solid "+("dark"===a?"#333":"#e0e0e0")},children:[_.jsxs(di,{variant:"h6",children:["Comparing: ",ae[0]?.title," vs ",ae[1]?.title]}),_.jsx(qo,{onClick:()=>{se(!1),oe([])},children:_.jsx(yE,{})})]}),_.jsxs(pc,{sx:{flexGrow:1,position:"relative"},children:[!1,_.jsx(Nw,{height:"100%",original:"object"==typeof ae[0]?.content?JSON.stringify(ae[0]?.content,null,2):String(ae[0]?.content||""),modified:"object"==typeof ae[1]?.content?JSON.stringify(ae[1]?.content,null,2):String(ae[1]?.content||""),language:"json"===ae[0]?.fileType?"json":"xml",theme:"dark"===a?"vs-dark":"vs",options:{readOnly:!0,minimap:{enabled:!0},scrollBeyondLastLine:!1,fontSize:13,fontFamily:"'Fira Code', monospace",automaticLayout:!0,lineNumbers:"on",renderWhitespace:"none",folding:!0,renderSideBySide:!0,quickSuggestions:!1,find:{addExtraSpaceOnTop:!1,autoFind
152InSelection:"never",seedSearchStringFromSelection:"never"}},loading:_.jsx(pc,{sx:{p:2},children:"Loading comparison..."}),onMount:(e,t)=>{ce.current=e;const n=e.getModel().original,r=e.getModel().modified,a="json"===ae[0]?.fileType?"json":"xml";t.editor.setModelLanguage(n,a),t.editor.setModelLanguage(r,a),n.getLanguageId(),r.getLanguageId(),setTimeout(()=>{if(e)try{e.focus()}catch(yU){}},100)},ref:ce},`diff-${ae[0]?.id}-${ae[1]?.id}`)]})]}),_.jsxs(Pp,{anchorEl:K,open:Boolean(K),onClose:()=>Z(null),children:[e.filter(e=>"xsd"!==e.fileType).map((e,t)=>_.jsxs(zp,{onClick:()=>{try{V(e,t)}catch(n){}},sx:{minWidth:200,gap:1},children:[_.jsx(dp,{children:_.jsx(Rv,{fontSize:"small"})}),_.jsx(hp,{primary:e.name})]},t)),0===e.length&&_.jsx(zp,{disabled:!0,children:_.jsx(hp,{primary:"No files available"})})]}),Oe&&_.jsx(xm,{title:"Clear all filters (Alt+C)",placement:"right",children:_.jsx(Yu,{color:"default","aria-label":"clear-filters",onClick:Ae,sx:{position:"absolute",top:32,left:96,zIndex:1,bgcolor:"#ef5350",color:"white","&:hover":{bgcolor:"#e53935"}},children:_.jsx(VE,{})})}),_.jsxs(pc,{sx:{width:"100%",height:"100%",transform:`scale(${E}) translate(${k.x}px, ${k.y}px)`,transformOrigin:"0 0",transition:A||F||z?"none":"transform 0.05s linear",willChange:A?"transform":"auto",backfaceVisibility:"hidden",WebkitBackfaceVisibility:"hidden",position:"relative"},children:[_.jsx("svg",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",pointerEvents:"none",zIndex:1},children:J.map((e,t)=>_.jsx("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:"#2196f3",strokeWidth:"2",strokeDasharray:"4"},t))}),i.map(e=>_.jsx(n$,{card:e,isDragged:F===e.id,onCardMouseDown:$,onCardClose:W,onCardSelection:fe,selectedCards:ae,highlightedValues:ne,onValueClick:he,valueRefsMap:le,setHighlightedValues:re,canvasHeight:ye.current?ye.current.height:window.innerHeight,virtualizationOptions:{enabled:u.enabled,cardHeightMultiplier:u.cardHeight},cardFilter:ke(e.id),matchCount:Te(e.id),onApplyFilterToAllCards:me,handleResizeMouseDown:B,handleResizeMouseMove:U,handleResizeMouseUp:H,isResizing:z===e.id,themeMode:a,onRemoveHighlight:Le},`${e.id}-card`))]}),_.jsx(_$,{canvasZoom:E,handleZoom:D,resetView:G,onSettingsClick:e=>{xe(e.currentTarget)}}),_.jsx(Pp,{anchorEl:ve,open:Boolean(ve),onClose:()=>xe(null),children:_.jsxs(pc,{sx:{p:1,width:240},children:[_.jsx(di,{variant:"subtitle2",sx:{mb:1},children:"Debug Options"}),_.jsx(od,{control:_.jsx(Im,{checked:g,onChange:e=>{const t=e.target.checked;b(t),Mz(t)},a:!0,size:"small"}),label:_.jsx(di,{variant:"body2",children:"Enable Logging"}),sx:{display:"block",mb:2}}),_.jsx(di,{variant:"subtitle2",sx:{mb:1},children:"Card Height"}),_.jsx(hf,{value:u.cardHeight<=.82?"1.0":u.cardHeight.toString(),onChange:e=>{const t=parseFloat(e.target.value),n=1===t?.82:t;q({...u,cardHeight:n})},children:[1,2,3,4,5].map(e=>_.jsx(od,{value:1===e?"1.0":e.toString(),control:_.jsx(ff,{size:"small"}),label:_.jsxs(di,{variant:"body2",children:[e,"x"]}),sx:{my:.5}},e))})]})})]})},O$=()=>{const{files:e,fileManager:t,themeMode:n}=Mb();return _.jsx(pc,{sx:{width:"100%",height:"100%"},children:_.jsx(R$,{files:e,fileManager:t,themeMode:n})})},L$=({title:e,description:t,keywords:n,image:r,url:a})=>{o.useEffect(()=>{e&&(document.title=`${e} | Nodeflip - XML & JSON Viewer`);const o=(e,t)=>{let n=document.querySelector(`meta[name="${e}"]`);n||(n=document.createElement("meta"),n.name=e,document.head.appendChild(n)),n.content=t},i=(e,t)=>{let n=document.querySelector(`meta[property="${e}"]`);n||(n=document.createElement("meta"),n.setAttribute("property",e),document.head.appendChild(n)),n.content=t};t&&(o("description",t),i("og:description",t),o("twitter:description",t)),n&&o("keywords",n),e&&(i("og:title",`${e} | Nodeflip`),o("twitter:title",`${e} | Nodeflip`)),r&&(i("og:image",r),o("twitter:image",r)),a&&i("og:url",a),i("og:type","website"),o("twitter:card","summary_large_image"),o("twitter:site","@nodeflip")},[e,t,n,r,a])},D$=()=>{const{files:e,fileManager:t}=Mb(),n=Db();L$({title:"Nodeflip - XML and JSON Data Analysis Tool",description:"Powerful web application for analyzing, visualizing, and extracting data from XML and JSON files. Features tree view, grid analysis, bulk processing, and data extraction tools.",keywords:"XML JSON analysis, data visualization, file processing, XML JSON viewer, data extraction, JSON XML parser, web application, data analysis tools",url:"undefined"!=typeof window?window.location.href:void 0});const r=e=>{switch(e){case"json":return _.jsx(Ah,{sx:{fontSize:20}});case"xml":return _.jsx(ME,{sx:{fontSize:20}});case"zip":return _.jsx(CE,{sx:{fontSize:20}});default:return _.jsx(Rv,{sx:{fontSize:20}})}};return _.jsxs(Gc,{maxWidth:"xl",sx:{py:4},children:[_.jsxs(pc,{sx:{mb:6,textAlign:"center"},children:[_.jsx(di,{variant:"h3",component:"h1",gutterBottom:!0,sx:{fontWeight:"bold"},children:"Welcome to Nodeflip"}),_.jsx(di,{variant:"h6",component:"p",sx:{color:"text.secondary",maxWidth:"700px",mx:"auto",mb:3},children:"Analyze XML and JSON files with powerful visualization, filtering, and extraction tools"}),_.jsx(Ec,{variant:"contained",size:"large",href:"https://www.nodeflip.com/documentation",target:"_blank",rel:"noopener noreferrer",sx:{textTransform:"none",fontWeight:"bold",px:4,py:1.5},children:"View Full Documentation"})]}),_.jsx(ai,{severity:"info",icon:_.jsx(KE,{}),sx:{mb:4},children:_.jsxs(di,{variant:"body2",children:[_.jsx("strong",{children:"New to Nodeflip?"})," Start by loading a sample file below, then follow our step-by-step tutorials to master each feature."]})}),_.jsxs(lo,{sx:{p:4,mb:4},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:3},children:[_.jsx(oC,{sx:{fontSize:28,color:"primary.main",mr:2}}),_.jsx(di,{variant:"h4",component:"h2",sx:{fontWeight:"bold"},children:"Getting Started"})]}),_.jsx(di,{variant:"body1",paragraph:!0,children:"Nodeflip helps you understand and analyze XML and JSON data through multiple views and powerful analysis tools. Here's how to get the most out of each feature:"}),_.jsxs(Kd,{children:[_.jsxs(sp,{children:[_.jsx(dp,{children:_.jsx(OE,{color:"success"})}),_.jsx(hp,{primary:"1. Load Your Data",secondary:"Upload files, paste content, or try our sample files below to get started"})]}),_.jsxs(sp,{children:[_.jsx(dp,{children:_.jsx(OE,{color:"success"})}),_.jsx(hp,{primary:"2. Choose Your View",secondary:"Switch between Tree View, Grid View, and Source View depen
152ding on your analysis needs"})]}),_.jsxs(sp,{children:[_.jsx(dp,{children:_.jsx(OE,{color:"success"})}),_.jsx(hp,{primary:"3. Analyze and Extract",secondary:"Use filtering, comparison, and extraction tools to find insights in your data"})]})]})]}),_.jsxs(pc,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",lg:"2fr 1fr"},gap:6,mb:6},children:[_.jsxs(pc,{children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:4},children:[_.jsx(dC,{sx:{fontSize:28,color:"primary.main",mr:2}}),_.jsx(di,{variant:"h4",component:"h2",sx:{fontWeight:"bold"},children:"Feature Tutorials"})]}),_.jsxs(pc,{sx:{display:"grid",gridTemplateColumns:{xs:"1fr",md:"repeat(2, 1fr)"},gap:3},children:[_.jsxs(lo,{sx:{p:3,height:"100%"},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:2},children:[_.jsx(Ih,{sx:{fontSize:24,color:"primary.main",mr:2}}),_.jsx(di,{variant:"h6",component:"h3",sx:{fontWeight:"bold"},children:"Tree View Navigation"})]}),_.jsx(di,{variant:"body2",color:"text.secondary",paragraph:!0,children:"Navigate complex XML/JSON structures with collapsible nodes. Click any element to get its XPath or JSON path for easy reference."}),_.jsx(di,{variant:"body2",sx:{fontWeight:"medium",mb:1},children:"How to use:"}),_.jsxs(Kd,{dense:!0,children:[_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Click arrows to expand/collapse nodes"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Right-click elements for XPath/JSON path"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Use search to find specific elements"})})]}),_.jsx(Ec,{variant:"text",size:"small",href:"https://www.nodeflip.com/docs/Files#tree-view",target:"_blank",rel:"noopener noreferrer",sx:{mt:1,p:0,textTransform:"none",color:"primary.main","&:hover":{backgroundColor:"action.hover",color:"primary.main"},"&:visited":{color:"primary.main"}},children:"Read detailed guide â"})]}),_.jsxs(lo,{sx:{p:3,height:"100%"},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:2},children:[_.jsx(YE,{sx:{fontSize:24,color:"primary.main",mr:2}}),_.jsx(di,{variant:"h6",component:"h3",sx:{fontWeight:"bold"},children:"Grid View Analysis"})]}),_.jsx(di,{variant:"body2",color:"text.secondary",paragraph:!0,children:"View arrays of objects in a powerful spreadsheet-like interface with sorting, filtering, and summary calculations."}),_.jsx(di,{variant:"body2",sx:{fontWeight:"medium",mb:1},children:"Best for:"}),_.jsxs(Kd,{dense:!0,children:[_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Analyzing large datasets"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Calculating totals and averages"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Filtering and sorting data"})})]}),_.jsx(Ec,{variant:"text",size:"small",href:"https://www.nodeflip.com/docs/Files#nested-grid-view",target:"_blank",rel:"noopener noreferrer",sx:{mt:1,p:0,textTransform:"none",color:"primary.main","&:hover":{backgroundColor:"action.hover",color:"primary.main"},"&:visited":{color:"primary.main"}},children:"Learn grid view â"})]}),_.jsxs(lo,{sx:{p:3,height:"100%"},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:2},children:[_.jsx(_h,{sx:{fontSize:24,color:"primary.main",mr:2}}),_.jsx(di,{variant:"h6",component:"h3",sx:{fontWeight:"bold"},children:"Bulk Data Analysis"})]}),_.jsx(di,{variant:"body2",color:"text.secondary",paragraph:!0,children:"Upload ZIP files containing hundreds of XML/JSON files to analyze patterns, filter data, and export results."}),_.jsx(di,{variant:"body2",sx:{fontWeight:"medium",mb:1},children:"Perfect for:"}),_.jsxs(Kd,{dense:!0,children:[_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Processing large file collections"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Finding similar data structures"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Associative filtering across files"})})]}),_.jsx(Ec,{variant:"text",size:"small",href:"https://www.nodeflip.com/docs/DataAnalysis",target:"_blank",rel:"noopener noreferrer",sx:{mt:1,p:0,textTransform:"none",color:"primary.main","&:hover":{backgroundColor:"action.hover",color:"primary.main"},"&:visited":{color:"primary.main"}},children:"Data analysis guide â"})]}),_.jsxs(lo,{sx:{p:3,height:"100%"},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:2},children:[_.jsx(jE,{sx:{fontSize:24,color:"primary.main",mr:2}}),_.jsx(di,{variant:"h6",component:"h3",sx:{fontWeight:"bold"},children:"File Comparison"})]}),_.jsx(di,{variant:"body2",color:"text.secondary",paragraph:!0,children:"Compare two files side-by-side to spot differences, changes, and variations in your data structures."}),_.jsx(di,{variant:"body2",sx:{fontWeight:"medium",mb:1},children:"Use cases:"}),_.jsxs(Kd,{dense:!0,children:[_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠API response validation"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Configuration file changes"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Data migration verification"})})]}),_.jsx(Ec,{variant:"text",size:"small",href:"https://www.nodeflip.com/docs/Files#source-view",target:"_blank",rel:"noopener noreferrer",sx:{mt:1,p:0,textTransform:"none",color:"primary.main","&:hover":{backgroundColor:"action.hover",color:"primary.main"},"&:visited":{color:"primary.main"}},children:"Comparison tutorial â"})]}),_.jsxs(lo,{sx:{p:3,height:"100%"},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:2},children:[_.jsx(zE,{sx:{fontSize:24,color:"primary.main",mr:2}}),_.jsx(di,{variant:"h6",component:"h3",sx:{fontWeight:"bold"},children:"Data Extraction"})]}),_.jsx(di,{variant:"body2",color:"text.secondary",paragraph:!0,children:"Extract specific data points using XPath queries or JSON paths. Process multiple files at once from ZIP ar
152chives."}),_.jsx(di,{variant:"body2",sx:{fontWeight:"medium",mb:1},children:"Common tasks:"}),_.jsxs(Kd,{dense:!0,children:[_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Extract specific fields from logs"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Generate reports from data"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Transform data formats"})})]}),_.jsx(Ec,{variant:"text",size:"small",href:"https://www.nodeflip.com/docs/DataExtractor",target:"_blank",rel:"noopener noreferrer",sx:{mt:1,p:0,textTransform:"none",color:"primary.main","&:hover":{backgroundColor:"action.hover",color:"primary.main"},"&:visited":{color:"primary.main"}},children:"Extraction guide â"})]}),_.jsxs(lo,{sx:{p:3,height:"100%"},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:2},children:[_.jsx(NE,{sx:{fontSize:24,color:"primary.main",mr:2}}),_.jsx(di,{variant:"h6",component:"h3",sx:{fontWeight:"bold"},children:"Test Data Generation"})]}),_.jsx(di,{variant:"body2",color:"text.secondary",paragraph:!0,children:"Create sample XML and JSON data for testing. Use advanced behaviors like auto-increment, UUIDs, and custom scripts."}),_.jsx(di,{variant:"body2",sx:{fontWeight:"medium",mb:1},children:"Features:"}),_.jsxs(Kd,{dense:!0,children:[_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Dynamic value generation"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Custom JavaScript behaviors"})}),_.jsx(sp,{sx:{py:0},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"⢠Realistic test datasets"})})]}),_.jsx(Ec,{variant:"text",size:"small",href:"https://www.nodeflip.com/docs/TestData#workflow-overview",target:"_blank",rel:"noopener noreferrer",sx:{mt:1,p:0,textTransform:"none",color:"primary.main","&:hover":{backgroundColor:"action.hover",color:"primary.main"},"&:visited":{color:"primary.main"}},children:"Generation guide â"})]})]})]}),_.jsxs(pc,{children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:3},children:[_.jsx(di,{variant:"h4",component:"h2",sx:{fontWeight:"bold"},children:"Practice Files"}),_.jsx(al,{label:"Try Now",color:"primary",size:"small",sx:{ml:2}})]}),_.jsx(di,{variant:"body1",color:"text.secondary",sx:{mb:3},children:"Load these sample files to practice using Nodeflip's features"}),_.jsx(pc,{sx:{display:"flex",flexDirection:"column",gap:2},children:[{id:"sample-1",name:"Customer Orders (XML)",description:"E-commerce order data with customer details, payments, and shipping",type:"xml",size:"8.2 KB",url:"/samples/customer-orders.xml",useCase:"Learn tree navigation and XPath extraction"},{id:"sample-2",name:"Product Catalog (JSON)",description:"Complete product catalog with categories, pricing, and specifications",type:"json",size:"12.4 KB",url:"/samples/product-catalog.json",useCase:"Practice grid view and data filtering"},{id:"sample-3",name:"Financial Data (XML)",description:"Financial transactions, accounts, and risk metrics",type:"xml",size:"9.8 KB",url:"/samples/financial-data.xml",useCase:"Explore complex nested structures"},{id:"sample-4",name:"API Responses (JSON)",description:"Collection of REST API responses with various endpoints",type:"json",size:"15.6 KB",url:"/samples/api-responses.json",useCase:"Compare different API response formats"},{id:"sample-5",name:"Sample Data Archive (ZIP)",description:"ZIP archive with multiple JSON/XML files for bulk analysis. This archive contains a couple of files that differ in structure, and are used to test the data analysis feature and to see the schema differences.",type:"zip",size:"67.1 KB",url:"/samples/sample-data-archive.zip",useCase:"Try bulk data analysis features (available for free users)"}].map(e=>{return _.jsxs(lo,{sx:{p:2,cursor:"pointer",transition:"all 0.2s ease-in-out","&:hover":{transform:"translateX(4px)",boxShadow:e=>e.shadows[4],bgcolor:"action.hover"}},onClick:()=>(async e=>{try{const r=await fetch(e.url);if(!r.ok)throw new Error(`Failed to fetch ${e.name}: ${r.statusText}`);const a=await r.text();let o;const i=(new URL(e.url,window.location.origin).pathname.split("/").pop()||`sample.${e.type}`).replace(/\s+/g,"-");switch(e.type){case"xml":o="application/xml";break;case"json":o="application/json";break;case"zip":o="application/zip";break;default:o="text/plain"}if("zip"===e.type){const n=await fetch(e.url),r=await n.blob(),a=new File([r],i,{type:o});await t.addFilesFromInput([a],!0)}else{const e=new File([a],i,{type:o});await t.addFilesFromInput([e],!0)}n("/viewer")}catch(r){alert(`Failed to load ${e.name}. Please try again.`)}})(e),children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:1},children:[r(e.type),_.jsx(di,{variant:"subtitle1",component:"h3",sx:{ml:1,fontWeight:"medium",flex:1},children:e.name}),(a=e.type,_.jsx(al,{label:a.toUpperCase(),size:"small",variant:"outlined",sx:{ml:1}}))]}),_.jsx(di,{variant:"body2",color:"text.secondary",sx:{mb:1},children:e.description}),_.jsx(di,{variant:"caption",color:"primary.main",sx:{fontWeight:"medium"},children:e.useCase}
152),_.jsxs(di,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.5},children:["Size: ",e.size]})]},e.id);var a})})]})]})]})};var P$,M$={};var j$=(P$||(P$=1,function(e){var t="__namespace",n=function(e){return e&&((n=e.nodeType)===t||Number.isInteger(n)&&n>=1&&n<=11)&&"string"==typeof e.nodeName;var n},r=function(e,t){for(var n=0;n<t.length;n+=1)e(t[n],n,t)},a=function(e,t,n){var a=t;return r(function(t,n){a=e(a,t,n)},n),a},o=function(e,t){var n=new Array(t.length);return r(function(t,r){n[r]=e(t)},t),n},i=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return!0;return!1};function s(e){return e.toString()}var l=function(e,t){return t.join(e)},c=function(e,t,n){return e+n+t},u=Array.prototype.concat;function d(e,t){for(var n=Object(e),r=1;r<arguments.length;r++){var a=arguments[r];if(null!=a)for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])}return n}var p=1,f=2,m=3,h=4,g=7,b=8,y=9,v=10,x=11,S=t;function w(){this.init()}function E(e){this.expression=e}function C(e,t,n){t in e||(e[t]=n)}function k(){}function T(e){arguments.length>0&&this.init(e)}function A(e){arguments.length>0&&this.init(e)}function I(e,t){arguments.length>0&&this.init(e,t)}function N(e,t){arguments.length>0&&this.init(e,t)}function _(e,t){arguments.length>0&&this.init(e,t)}function R(e,t){arguments.length>0&&this.init(e,t)}function O(e,t){arguments.length>0&&this.init(e,t)}function L(e,t){arguments.length>0&&this.init(e,t)}function D(e,t){arguments.length>0&&this.init(e,t)}function P(e,t){arguments.length>0&&this.init(e,t)}function M(e,t){arguments.length>0&&this.init(e,t)}function j(e,t){arguments.length>0&&this.init(e,t)}function F(e,t){arguments.length>0&&this.init(e,t)}function z(e,t){arguments.length>0&&this.init(e,t)}function $(e,t){arguments.length>0&&this.init(e,t)}function B(e,t){arguments.length>0&&this.init(e,t)}function U(e,t){arguments.length>0&&this.init(e,t)}function H(e,t,n){arguments.length>0&&this.init(e,t,n)}function V(e){for(;e&&e.parentNode;)e=e.parentNode;return e}w.prototype=new Object,w.prototype.constructor=w,w.superclass=Object.prototype,w.prototype.init=function(){this.reduceActions=[],this.reduceActions[3]=function(e){return new N(e[0],e[2])},this.reduceActions[5]=function(e){return new _(e[0],e[2])},this.reduceActions[7]=function(e){return new R(e[0],e[2])},this.reduceActions[8]=function(e){return new O(e[0],e[2])},this.reduceActions[10]=function(e){return new L(e[0],e[2])},this.reduceActions[11]=function(e){return new D(e[0],e[2])},this.reduceActions[12]=function(e){return new P(e[0],e[2])},this.reduceActions[13]=function(e){return new M(e[0],e[2])},this.reduceActions[15]=function(e){return new j(e[0],e[2])},this.reduceActions[16]=function(e){return new F(e[0],e[2])},this.reduceActions[18]=function(e){return new z(e[0],e[2])},this.reduceActions[19]=function(e){return new $(e[0],e[2])},this.reduceActions[20]=function(e){return new B(e[0],e[2])},this.reduceActions[22]=function(e){return new A(e[1])},this.reduceActions[24]=function(e){return new U(e[0],e[2])},this.reduceActions[25]=function(e){return new H(void 0,void 0,e[0])},this.reduceActions[27]=function(e){return e[0].locationPath=e[2],e[0]},this.reduceActions[28]=function(e){return e[0].locationPath=e[2],e[0].locationPath.steps.unshift(new K(K.DESCENDANTORSELF,J.nodeTest,[])),e[0]},this.reduceActions[29]=function(e){return new H(e[0],[],void 0)},this.reduceActions[30]=function(e){return fe.instance_of(e[0],H)?(null==e[0].filterPredicates&&(e[0].filterPredicates=[]),e[0].filterPredicates.push(e[1]),e[0]):new H(e[0],[e[1]],void 0)},this.reduceActions[32]=function(e){return e[1]},this.reduceActions[33]=function(e){return new ne(e[0])},this.reduceActions[34]=function(e){return new re(e[0])},this.reduceActions[36]=function(e){return new ee(e[0],[])},this.reduceActions[37]=function(e){return new ee(e[0],e[2])},this.reduceActions[38]=function(e){return[e[0]]},this.reduceActions[39]=function(e){return e[2].unshift(e[0]),e[2]},this.reduceActions[43]=function(e){return new X(!0,[])},this.reduceActions[44]=function(e){return e[1].absolute=!0,e[1]},this.reduceActions[46]=function(e){return new X(!1,[e[0]])},this.reduceActions[47]=function(e){return e[0].steps.push(e[2]),e[0]},this.reduceActions[49]=function(e){return new K(e[0],e[1],[])},this.reduceActions[50]=function(e){return new K(K.CHILD,e[0],[])},this.reduceActions[51]=function(e){return new K(e[0],e[1],e[2])},this.reduceActions[52]=function(e){return new K(K.CHILD,e[0],e[1])},this.reduceActions[54]=function(e){return[e[0]]},this.reduceActions[55]=function(e){return e[1].unshift(e[0]),e[1]},this.reduceActions[56]=function(e){return"ancestor"==e[0]?K.ANCESTOR:"ancestor-or-self"==e[0]?K.ANCESTORORSELF:"attribute"==e[0]?K.ATTRIBUTE:"child"==e[0]?K.CHILD:"descendant"==e[0]?K.DESCENDANT:"descendant-or-self"==e[0]?K.DESCENDANTORSELF:"following"==e[0]?K.FOLLOWING:"following-sibling"==e[0]?K.FOLLOWINGSIBLING:"namespace"
152==e[0]?K.NAMESPACE:"parent"==e[0]?K.PARENT:"preceding"==e[0]?K.PRECEDING:"preceding-sibling"==e[0]?K.PRECEDINGSIBLING:"self"==e[0]?K.SELF:-1},this.reduceActions[57]=function(e){return K.ATTRIBUTE},this.reduceActions[59]=function(e){return"comment"==e[0]?J.commentTest:"text"==e[0]?J.textTest:"processing-instruction"==e[0]?J.anyPiTest:"node"==e[0]?J.nodeTest:new J(-1,void 0)},this.reduceActions[60]=function(e){return new J.PITest(e[2])},this.reduceActions[61]=function(e){return e[1]},this.reduceActions[63]=function(e){return e[1].absolute=!0,e[1].steps.unshift(new K(K.DESCENDANTORSELF,J.nodeTest,[])),e[1]},this.reduceActions[64]=function(e){return e[0].steps.push(new K(K.DESCENDANTORSELF,J.nodeTest,[])),e[0].steps.push(e[2]),e[0]},this.reduceActions[65]=function(e){return new K(K.SELF,J.nodeTest,[])},this.reduceActions[66]=function(e){return new K(K.PARENT,J.nodeTest,[])},this.reduceActions[67]=function(e){return new Q(e[1])},this.reduceActions[68]=function(e){return J.nameTestAny},this.reduceActions[69]=function(e){return new J.NameTestPrefixAny(e[0].split(":")[0])},this.reduceActions[70]=function(e){return new J.NameTestQName(e[0])}},w.actionTable=[" s s sssssssss s ss s ss"," s ","r rrrrrrrrr rrrrrrr rr r "," rrrrr "," s s sssssssss s ss s ss","rs rrrrrrrr s sssssrrrrrr rrs rs "," s s sssssssss s ss s ss"," s "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s "," s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr r ","a ","r s rr r ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrs rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r srrrrrrrr rrrrrrs rr sr ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrr rrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r "," sssss ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrr rrrrr rr r "," s "," s "," rrrrr "," s s sssssssss s sss s ss","r srrrrrrrr rrrrrrs rr r "," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss s ss s ss"," s s sssssssss ss s ss"," s s sssssssss s ss s ss"," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr rr "," s s sssss s s "," s s sssss s s ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr sr ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr "," s ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," rr "," s "," rs ","r sr rr r ","r s rr s rr r ","r rssrr rss rr r ","r rssrr rss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrr rrrss rr r ","r rrrrrsss rrrrr rr r ","r rrrrrsss rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrr rr r ","r rrrrrrrr rrrrrr rr r "," r "," s ","r srrrrrrrr rrrrrrs rr r ","r srrrrrrrr rrrrrrs rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr r ","r rrrrrrrrr rrrrrrr rr rr ","r rrrrrrrrr rrrrrrr rr rr "," s s sssssssss s ss s ss","r rrrrrrrrr rrrrrrr rr rr "," r "],w.actionTableNumber=[" 1 0 /.-,+*)(' & %$ # \"!"," J ","a aaaaaaaaa aaaaaaa aa a "," YYYYY "," 1 0 /.-,+*)(' & %$ # \"!","K1 KKKKKKKK . +*)('KKKKKK KK# K\" "," 1 0 /.-,+*)(' & %$ # \"!"," N "," O ","e eeeeeeeee eeeeeee ee ee ","f fffffffff fffffff ff ff ","d ddddddddd ddddddd dd dd ","B BBBBBBBBB BBBBBBB BB BB ","A AAAAAAAAA AAAAAAA AA AA "," P "," Q "," 1 . +*)(' # \" ","b bbbbbbbbb bbbbbbb bb b "," ","! S !! ! ",'" T" "" " ',"$ V $$ U $$ $ ","& &ZY&& &XW && & ",") ))))) )))\\[ )) ) ",". ....._^] ..... .. . ","1 11111111 11111 11 1 ","5 55555555 55555` 55 5 ","7 77777777 777777 77 7 ","9 99999999 999999 99 9 ",":
152c:::::::: ::::::b :: a: ","I fIIIIIIII IIIIIIe II I ","= ========= ======= == == ","? ????????? ??????? ?? ?? ","C CCCCCCCCC CCCCCCC CC CC ","J JJJJJJJJ JJJJJJ JJ J ","M MMMMMMMM MMMMMM MM M ","N NNNNNNNNN NNNNNNN NN N ","P PPPPPPPPP PPPPPPP PP P "," +*)(' ","R RRRRRRRRR RRRRRRR RR aR ","U UUUUUUUUU UUUUUUU UU U ","Z ZZZZZZZZZ ZZZZZZZ ZZ ZZ ","c ccccccccc ccccccc cc cc "," j ","L fLLLLLLLL LLLLLLe LL L ","6 66666666 66666 66 6 "," k "," l "," XXXXX "," 1 0 /.-,+*)(' & %$m # \"!","_ f________ ______e __ _ "," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 0 /.-,+*)(' %$ # \"!"," 1 0 /.-,+*)(' & %$ # \"!"," 1 . +*)(' # \" "," 1 . +*)(' # \" ","> >>>>>>>>> >>>>>>> >> >> "," 1 . +*)(' # \" "," 1 . +*)(' # \" ","Q QQQQQQQQQ QQQQQQQ QQ aQ ","V VVVVVVVVV VVVVVVV VV aV ","T TTTTTTTTT TTTTTTT TT T ","@ @@@@@@@@@ @@@@@@@ @@ @@ "," Â ","[ [[[[[[[[[ [[[[[[[ [[ [[ ","D DDDDDDDDD DDDDDDD DD DD "," HH "," Â "," FÂ ","# T# ## # ","% V %% U %% % ","' 'ZY'' 'XW '' ' ","( (ZY(( (XW (( ( ","+ +++++ +++\\[ ++ + ","* ***** ***\\[ ** * ","- ----- ---\\[ -- - ",", ,,,,, ,,,\\[ ,, , ","0 00000_^] 00000 00 0 ","/ /////_^] ///// // / ","2 22222222 22222 22 2 ","3 33333333 33333 33 3 ","4 44444444 44444 44 4 ","8 88888888 888888 88 8 "," ^ "," Â ","; f;;;;;;;; ;;;;;;e ;; ; ","< f<<<<<<<< <<<<<<e << < ","O OOOOOOOOO OOOOOOO OO O ","` ````````` ``````` `` ` ","S SSSSSSSSS SSSSSSS SS S ","W WWWWWWWWW WWWWWWW WW W ","\\ \\\\\\\\\\\\\\\\\\ \\\\\\\\\\\\\\ \\\\ \\\\ ","E EEEEEEEEE EEEEEEE EE EE "," 1 0 /.-,+*)(' & %$ # \"!","] ]]]]]]]]] ]]]]]]] ]] ]] "," G "],w.gotoTable=["3456789:;<=>?@ AB CDEFGH IJ "," "," "," ","L456789:;<=>?@ AB CDEFGH IJ "," M EFGH IJ "," N;<=>?@ AB CDEFGH IJ "," "," "," "," "," "," "," "," "," "," S EFGH IJ "," "," "," "," "," "," "," "," "," "," "," "," "," e "," "," "," "," "," "," "," "," "," h J "," i j "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABpqCDEFGH IJ "," "," r6789:;<=>?@ AB CDEFGH IJ "," s789:;<=>?@ AB CDEFGH IJ "," t89:;<=>?@ AB CDEFGH IJ "," u89:;<=>?@ AB CDEFGH IJ "," v9:;<=>?@ AB CDEFGH IJ "," w9:;<=>?@ AB CDEFGH IJ "," x9:;<=>?@ AB CDEFGH IJ "," y9:;<=>?@ AB CDEFGH IJ "," z:;<=>?@ AB CDEFGH IJ "," {:;<=>?@ AB CDEFGH IJ "," |;<=>?@ AB CDEFGH IJ "," };<=>?@ AB CDEFGH IJ "," ~;<=>?@ AB CDEFGH IJ "," �=>?@ AB CDEFGH IJ ","Â456789:;<=>?@ AB CDEFGH IJÂ"," Â EFGH IJ "," Â EFGH IJ "," "," Â GH IJ "," Â
GH IJ "," i  "," i  "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ","o456789:;<=>?@ ABÂqCDEFGH IJ "," "," "],w.productions=[[1,1,2],[2,1,3],[3,1,4],[3,3,3,-9,4],[4,1,5],[4,3,4,-8,5],[5,1,6],[5,3,5,-22,6],[5,3,5,-5,6],[6,1,7],[6,3,6,-23,7],[6,3,6,-24,7],[6,3,6,-6,7],[6,3,6,-7,7],[7,1,8],[7,3,7,-25,8],[7,3,7,-26,8],[8,1,9],[8,3,8,-12,9],[8,3,8,-11,9],[8,3,8,-10,9],[9,1,10],[9,2,-26,9],[10,1,11],[10,3,10,-27,11],[11,1,12],[11,1,13],[11,3,13,-28,14],[11,3,13,-4,14],[13,1,15],[13,2,13,16],[15,1,17],[15,3,-29,2,-30],[15,1,-15],[15,1,-16],[15,1,18],[18,3,-13,-29,-30],[18,4,-13,-29,19,-30],[19,1,20],[19,3,20,-31,19],[20,1,2],[12,1,14],[12,1,21],[21,1,-28],[21,2,-28,14],[21,1,22],[14,1,23],[14,3,14,-28,23],[14,1,24],[23,2,25,26],[23,1,26],[23,3,25,26,27],[23,2,26,27],[23,1,28],[27,1,16],[27,2,16,27],[25,2,-14,-3],[25,1,-32],[26,1,29],[26,3,-20,-29,-30],[26,4,-21,-29,-15,-30],[16,3,-33,30,-34],[30,1,2],[22,2,-4,14],[24,3,14,-4,23],[28,1,-35],[28,1,-2],[17,2,-36,-18],[29,1,-17],[29,1,-19],[29,1,-18]],w.DOUBLEDOT=2,w.DOUBLECOLON=3,w.DOUBLESLASH=4,w.NOTEQUAL=5,w.LESSTHANOREQUAL=6,w.GREATERTHANOREQUAL=7,w.AND=8,w.OR=9,w.MOD=10,w.DIV=11,w.MULTIPLYOPERATOR=12,w.FUNCTIONNAME=13,w.AXISNAME=14,w.LITERAL=15,w.NUMBER=16,w.ASTERISKNAMETEST=17,w.QNAME=18,w.NCNAMECOLONASTERISK=19,w.NODETYPE=20,w.PROCESSINGINSTRUCTIONWITHLITERAL=21,w.EQUALS=22,w.LESSTHAN=23,w.GREATERTHAN=24,w.PLUS=25,w.MINUS=26,w.BAR=27,w.SLASH=28,w.LEFTPARENTHESIS=29,w.RIGHTPARENTHESIS=30,w.COMMA=31,w.AT=32,w.LEFTBRACKET=33,w.RIGHTBRACKET=34,w.DOT=35,w.DOLLAR=36,w.prototype.tokenize=function(e){for(var t=[],n=[],r=e+"\0",a=0,o=r.charAt(a++);;){for(;
152" "==o||"\t"==o||"\r"==o||"\n"==o;)o=r.charAt(a++);if("\0"==o||a>=r.length)break;if("("!=o)if(")"!=o)if("["!=o)if("]"!=o)if("@"!=o)if(","!=o)if("|"!=o)if("+"!=o)if("-"!=o)if("="!=o)if("$"!=o)if("."!=o)if("'"!=o&&'"'!=o)if(o>="0"&&o<="9"){for(u=o,o=r.charAt(a++);o>="0"&&o<="9";)u+=o,o=r.charAt(a++);if("."==o&&r.charAt(a)>="0"&&r.charAt(a)<="9")for(u+=o,u+=r.charAt(a++),o=r.charAt(a++);o>="0"&&o<="9";)u+=o,o=r.charAt(a++);t.push(w.NUMBER),n.push(u)}else if("*"!=o)if(":"!=o||":"!=r.charAt(a))if("/"!=o)if("!"!=o||"="!=r.charAt(a))if("<"!=o)if(">"!=o){if("_"!=o&&!fe.isLetter(o.charCodeAt(0)))throw new Error("Unexpected character "+o);var i=o;for(o=r.charAt(a++);fe.isNCNameChar(o.charCodeAt(0));)i+=o,o=r.charAt(a++);if(t.length>0&&(s=t[t.length-1])!=w.AT&&s!=w.DOUBLECOLON&&s!=w.LEFTPARENTHESIS&&s!=w.LEFTBRACKET&&s!=w.AND&&s!=w.OR&&s!=w.MOD&&s!=w.DIV&&s!=w.MULTIPLYOPERATOR&&s!=w.SLASH&&s!=w.DOUBLESLASH&&s!=w.BAR&&s!=w.PLUS&&s!=w.MINUS&&s!=w.EQUALS&&s!=w.NOTEQUAL&&s!=w.LESSTHAN&&s!=w.LESSTHANOREQUAL&&s!=w.GREATERTHAN&&s!=w.GREATERTHANOREQUAL){if("and"==i){t.push(w.AND),n.push(i);continue}if("or"==i){t.push(w.OR),n.push(i);continue}if("mod"==i){t.push(w.MOD),n.push(i);continue}if("div"==i){t.push(w.DIV),n.push(i);continue}}if(":"==o){if("*"==r.charAt(a)){t.push(w.NCNAMECOLONASTERISK),n.push(i+":*"),a++,o=r.charAt(a++);continue}if("_"==r.charAt(a)||fe.isLetter(r.charCodeAt(a))){for(i+=":",o=r.charAt(a++);fe.isNCNameChar(o.charCodeAt(0));)i+=o,o=r.charAt(a++);if("("==o){t.push(w.FUNCTIONNAME),n.push(i);continue}t.push(w.QNAME),n.push(i);continue}if(":"==r.charAt(a)){t.push(w.AXISNAME),n.push(i);continue}}if("("==o){if("comment"==i||"text"==i||"node"==i){t.push(w.NODETYPE),n.push(i);continue}if("processing-instruction"==i){")"==r.charAt(a)?t.push(w.NODETYPE):t.push(w.PROCESSINGINSTRUCTIONWITHLITERAL),n.push(i);continue}t.push(w.FUNCTIONNAME),n.push(i);continue}t.push(w.QNAME),n.push(i)}else{if("="==r.charAt(a)){t.push(w.GREATERTHANOREQUAL),n.push(">="),a++,o=r.charAt(a++);continue}t.push(w.GREATERTHAN),n.push(">"),o=r.charAt(a++)}else{if("="==r.charAt(a)){t.push(w.LESSTHANOREQUAL),n.push("<="),a++,o=r.charAt(a++);continue}t.push(w.LESSTHAN),n.push("<"),o=r.charAt(a++)}else t.push(w.NOTEQUAL),n.push("!="),a++,o=r.charAt(a++);else{if("/"==(o=r.charAt(a++))){t.push(w.DOUBLESLASH),n.push("//"),o=r.charAt(a++);continue}t.push(w.SLASH),n.push("/")}else t.push(w.DOUBLECOLON),n.push("::"),a++,o=r.charAt(a++);else{var s;if(t.length>0&&(s=t[t.length-1])!=w.AT&&s!=w.DOUBLECOLON&&s!=w.LEFTPARENTHESIS&&s!=w.LEFTBRACKET&&s!=w.AND&&s!=w.OR&&s!=w.MOD&&s!=w.DIV&&s!=w.MULTIPLYOPERATOR&&s!=w.SLASH&&s!=w.DOUBLESLASH&&s!=w.BAR&&s!=w.PLUS&&s!=w.MINUS&&s!=w.EQUALS&&s!=w.NOTEQUAL&&s!=w.LESSTHAN&&s!=w.LESSTHANOREQUAL&&s!=w.GREATERTHAN&&s!=w.GREATERTHANOREQUAL){t.push(w.MULTIPLYOPERATOR),n.push(o),o=r.charAt(a++);continue}t.push(w.ASTERISKNAMETEST),n.push(o),o=r.charAt(a++)}else{for(var l=o,c="";a<r.length&&(o=r.charAt(a))!==l;)c+=o,a+=1;if(o!==l)throw he.fromMessage("Unterminated string literal: "+l+c);a+=1,t.push(w.LITERAL),n.push(c),o=r.charAt(a++)}else{if("."==(o=r.charAt(a++))){t.push(w.DOUBLEDOT),n.push(".."),o=r.charAt(a++);continue}if(o>="0"&&o<="9"){var u="."+o;for(o=r.charAt(a++);o>="0"&&o<="9";)u+=o,o=r.charAt(a++);t.push(w.NUMBER),n.push(u);continue}t.push(w.DOT),n.push(".")}else t.push(w.DOLLAR),n.push(o),o=r.charAt(a++);else t.push(w.EQUALS),n.push(o),o=r.charAt(a++);else t.push(w.MINUS),n.push(o),o=r.charAt(a++);else t.push(w.PLUS),n.push(o),o=r.charAt(a++);else t.push(w.BAR),n.push(o),o=r.charAt(a++);else t.push(w.COMMA),n.push(o),o=r.charAt(a++);else t.push(w.AT),n.push(o),o=r.charAt(a++);else t.push(w.RIGHTBRACKET),n.push(o),o=r.charAt(a++);else t.push(w.LEFTBRACKET),n.push(o),o=r.charAt(a++);else t.push(w.RIGHTPARENTHESIS),n.push(o),o=r.charAt(a++);else t.push(w.LEFTPARENTHESIS),n.push(o),o=r.charAt(a++)}return t.push(1),n.push("[EOF]"),[t,n]},w.SHIFT="s",w.REDUCE="r",w.ACCEPT="a",w.prototype.parse=function(e){if(!e)throw new Error("XPath expression unspecified.");if("string"!=typeof e)throw new Error("XPath expression must be a string.");var t,n,r=this.tokenize(e);if(null!=r){t=r[0],n=r[1];var a,o,i=0,s=[],l=[],c=[];for(s.push(0),l.push(1),c.push("_S"),a=t[i],o=n[i++];;)switch(e=s[s.length-1],w.actionTable[e].charAt(a-1)){case w.SHIFT:l.push(-a),c.push(o),s.push(w.actionTableNumber[e].charCodeAt(a-1)-32),a=t[i],o=n[i++];break;case w.REDUCE:for(var u=w.productions[w.actionTableNumber[e].charCodeAt(a-1)-32][1],d=[],p=0;p<u;p++)l.pop(),d.unshift(c.pop()),s.pop();var f=s[s.length-1];l.push(w.productions[w.actionTableNumber[e].charCodeAt(a-1)-32][0]),null==this.reduceActions[w.actionTableNumber[e].charCodeAt(a-1)-32]?c.push(d[0]):c.push(this.reduceActions[w.actionTableNumber[e].charCodeAt(a-1)-32](d)),s.push(w.gotoTable[f].charCodeAt(w.productions[w.actionTableNumber[e].charCodeAt(a-1)-32][0]-2)-33);break;case w.ACCEPT:return new E(c.pop());default:throw new Error("XPath parse error")}}},E.prototype=new Object,E.prototype.constructor=E,E.superclass=Object.prototype,E.prototype.toString=function(){return this.expression.toString()},E.prototype.evaluate=function(e){var t=e.expressionContextNode;if(!function(e){return null==e}(t)&&!n(t))throw new Error("Context node does not appear to be a valid DOM node.");return e.contextNode=e.expressionContextNode,e.contextSize=1,e.contextPosition=1,e.isHtml&&(C(e,"caseInsensitive",!0),C(e,"allowAnyNamespaceForNoPrefix",!0)),C(e,"caseInsensitive",!1),this.expression.evaluate(e)},E.XML_NAMESPACE_URI="http://www.w3.org/XML/1998/namespace",E.XMLNS_NAMESPACE_URI="http://www.w3.org/2000/xmlns/",k.prototype=new Object,k.prototype.constructor=k,k.superclass=Object.prototype,k.prototype.init=function(){},k.prototype.toString=function(){return"<Expression>"},k.prototype.evaluate=function(e){throw new Error("Could not evaluate expression.")},T.prototype=new k,T.prototype.constructor=T,T.superclass=k.prototype,T.prototype.init=function(e){this.rhs=e},A.prototype=new T,A.prototype.constructor=A,A.superclass=T.prototype,A.prototype.init=function(e){A.superclass.init.call(this,e)},A.prototype.evaluate=function(e){return this.rhs.evaluate(e).number().negate()},A.prototype.toString=function(){return"-"+this.rhs.toString()},I.prototype=new k,I.prototype.constructor=I,I.superclass=k.prototype,I.prototype.init=function(e,t){this.lhs=e,this.rhs=t},N.prototype=new I,N.prototype.constructor=N,N.superclass=I.prototype,N.prototype.init=function(e,t){N.superclass.init.call(this,e,t)},N.prototype.toString=function(){return"("+this.lhs.toString()+" or "+this.rhs.toString()+")"},N.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?t:this.rhs.evaluate(e).bool()},_.prototype=new I,_.prototype.constructor=_,_.superclass=I.prototype,_.prototype.init=function(e,t){_.superclass.init.call(this,e,t)},_.prototype.toString=function(){return"("+this.lhs.toString()+" and "+this.rhs.toString()+")"},_.prototype.evaluate=function(e){var t=this.lhs.evaluate(e).bool();return t.booleanValue()?this.rhs.evaluate(e).bool():t},R.prototype=new I,R.prototype.constructor=R,R.superclass=I.prototype,R.prototype.init=function(e,t){R.superclass.init.call(this,e,t)},R.prototype.toString=function(){return"("+this.lhs.toString()+" = "+this.rhs.toString()+")"},R.prototype.evaluate=function(e){return this.lhs.evaluate(e).equals(this.rhs.evaluate(e))},O.prototype=new I,O.prototype.constructor=O,O.superclass=I.prototype,O.prototype.init=function(e,t){O.superclass.init.call(this,e,t)},O.prototype.toString=function(){return"("+this.lhs.toString()+" != "+this.rhs.toString()+")"},O.prototype.evaluate=function(e){return this.lhs.evaluate(e).notequal(this.rhs.evaluate(e))},L.prototype=new I,L.prototype.constructor=L,L.superclass=I.prototype,L.prototype.init=function(e,t){L.superclass.init.call(this,e,t)},L.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthan(this.rhs.evaluate(e))},L.prototype.toString=function(){return"("+this.lhs.toString()+" < "+this.rhs.toString()+")"},D.prototype=new I,D.prototype.constructor=D,D.superclass=I.prototype,D.prototype.init=function(e,t){D.superclass.init.call(this,e,t)},D.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthan(this.rhs.evaluate(e))},D.prototype.toString=function(){return"("+this.lhs.toString()+" > "+this.rhs.toString()+")"},P.prototype=new I,P.prototype.constructor=P,P.superclass=I.prototype,P.prototype.init=function(e,t){P.superclass.init.call(this,e,t)},P.prototype.evaluate=function(e){return this.lhs.evaluate(e).lessthanorequal(this.rhs.evaluate(e))},P.prototype.toString=function(){return"("+this.lhs.toString()+" <= "+this.rhs.toString()+")"},M.prototype=new I,M.prototype.constructor=M,M.superclass=I.prototype,M.prototype.init=function(e,t){M.superclass.init.call(this,e,t)},M.prototype.evaluate=function(e){return this.lhs.evaluate(e).greaterthanorequal(this.rhs.evaluate(e))},M.prototype.toString=function(){return"("+this.lhs.toString()+" >= "+this.rhs.toString()+")"},j.prototype=new I,j.prototype.constructor=j,j.superclass=I.prototype,j.prototype.init=function(e,t){j.superclass.init.call(this,e,t)},j.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().plus(this.rhs.evaluate(e).number())},j.prototype.toString=function(){return"("+this.lhs.toString()+" + "+this.rhs.toString()+")"},F.prototype=new I,F.prototype.constructor=F,F.superclass=I.prototype,F.prototype.init=function(e,t){F.superclass.init.call(this,e,t)},F.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().minus(this.rhs.evaluate(e).number())},F.prototype.toString=function(){return"("+this.lhs.toString()+" - "+this.rhs.toString()+")"},z.prototype=new I,z.prototype.constructor=z,z.superclass=I.prototype,z.prototype.init=function(e,t){z.superclass.init.call(this,e,t)},z.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().multiply(this.rhs.evaluate(e).number())},z.prototype.toString=function(){return"("+this.lhs.toString()+" * "+this.rhs.toString()+")"},$.prototype=new I,$.prototype.constructor=$,$.superclass=I.prototype,$.prototype.init=function(e,t){$.superclass.init.call(this,e,t)},$.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().div(this.rhs.evaluate(e).number())},$.prototype.toString=function(){return"("+this.lhs.toString()+" div "+this.rhs.toString()+")"},B.prototype=new I,B.prototype.constructor=B,B.superclass=I.prototype,B.prototype.init=function(e,t){B.superclass.init.call(this,e,t)},B.prototype.evaluate=function(e){return this.lhs.evaluate(e).number().mod(this.rhs.evaluate(e).number())},B.prototype.toString=function(){return"("+this.lhs.toString()+" mod "+this.rhs.toString()+")"},U.prototype=new I,U.prototype.constructor=U,U.superclass=I.prototype,U.prototype.init=function(e,t){U.superclass.init.call(this,e,t)},U.prototype.evaluate=function(e){return this.lhs.evaluate(e).nodeset().union(this.rhs.evaluate(e).nodeset()
152)},U.prototype.toString=function(){return o(s,[this.lhs,this.rhs]).join(" | ")},H.prototype=new k,H.prototype.constructor=H,H.superclass=k.prototype,H.prototype.init=function(e,t,n){H.superclass.init.call(this),this.filter=e,this.filterPredicates=t,this.locationPath=n};var W=function(e,t,n,o){if(0===e.length)return n;var i=t.extend({});return a(function(e,t){return i.contextSize=e.length,function(e,t){var n=[];return r(function(t,r){e(t,r)&&n.push(t)},t),n}(function(e,n){return i.contextNode=e,i.contextPosition=n+1,H.predicateMatches(t,i)},e)},function(e,t){var n=new ie;n.addArray(e);var r=n.toArray();return t?r.reverse():r}(n,o),e)};H.getRoot=function(e,t){var n=t[0];if(n&&n.nodeType===y)return n;if(e.virtualRoot)return e.virtualRoot;if(!n)throw new Error("Context node not found when determining document root.");var r=n.ownerDocument;if(r)return r;for(var a=n;null!=a.parentNode;)a=a.parentNode;return a};var G=function(e){var t=String(e.name);return"xmlns"===t?"":"xmlns:"===t.substring(0,6)?t.substring(6,t.length):null};function q(e,t,n){return W(e.predicates,t,H.applyStep(e,t,n),i(Z,e.axis))}function Y(e,t,n){return function(e){for(var t=[],n=0;n<e.length;n+=32767){var r=e.slice(n,n+32767);t=u.apply(t,r)}return t}(o(q.bind(null,n,e),t))}function X(e,t){arguments.length>0&&this.init(e,t)}function K(e,t,n){arguments.length>0&&this.init(e,t,n)}H.applyStep=function(e,t,n){if(!n)throw new Error("Context node not found when evaluating XPath step: "+e);var r=[];switch(t.contextNode=n,e.axis){case K.ANCESTOR:if(t.contextNode===t.virtualRoot)break;for(a=t.contextNode.nodeType==f?H.getOwnerElement(t.contextNode):t.contextNode.parentNode;null!=a&&(e.nodeTest.matches(a,t)&&r.push(a),a!==t.virtualRoot);)a=a.parentNode;break;case K.ANCESTORORSELF:for(var a=t.contextNode;null!=a&&(e.nodeTest.matches(a,t)&&r.push(a),a!==t.virtualRoot);a=a.nodeType==f?H.getOwnerElement(a):a.parentNode);break;case K.ATTRIBUTE:var o=t.contextNode.attributes;if(null!=o)for(var i=0;i<o.length;i++)a=o.item(i),e.nodeTest.matches(a,t)&&r.push(a);break;case K.CHILD:for(a=t.contextNode.firstChild;null!=a;a=a.nextSibling)e.nodeTest.matches(a,t)&&r.push(a);break;case K.DESCENDANT:for(var s=[t.contextNode.firstChild];s.length>0;)for(a=s.pop();null!=a;)e.nodeTest.matches(a,t)&&r.push(a),null!=a.firstChild?(s.push(a.nextSibling),a=a.firstChild):a=a.nextSibling;break;case K.DESCENDANTORSELF:for(e.nodeTest.matches(t.contextNode,t)&&r.push(t.contextNode),s=[t.contextNode.firstChild];s.length>0;)for(a=s.pop();null!=a;)e.nodeTest.matches(a,t)&&r.push(a),null!=a.firstChild?(s.push(a.nextSibling),a=a.firstChild):a=a.nextSibling;break;case K.FOLLOWING:if(t.contextNode===t.virtualRoot)break;for(s=[],null!=t.contextNode.firstChild?s.unshift(t.contextNode.firstChild):s.unshift(t.contextNode.nextSibling),a=t.contextNode.parentNode;null!=a&&a.nodeType!=y&&a!==t.virtualRoot;a=a.parentNode)s.unshift(a.nextSibling);do{for(a=s.pop();null!=a;)e.nodeTest.matches(a,t)&&r.push(a),null!=a.firstChild?(s.push(a.nextSibling),a=a.firstChild):a=a.nextSibling}while(s.length>0);break;case K.FOLLOWINGSIBLING:if(t.contextNode===t.virtualRoot)break;for(a=t.contextNode.nextSibling;null!=a;a=a.nextSibling)e.nodeTest.matches(a,t)&&r.push(a);break;case K.NAMESPACE:var l={};if(t.contextNode.nodeType==p){for(l.xml=new se("xml",null,E.XML_NAMESPACE_URI,t.contextNode),a=t.contextNode;null!=a&&a.nodeType==p;a=a.parentNode)for(i=0;i<a.attributes.length;i++){var c=a.attributes.item(i);null!=(u=G(c))&&null==l[u]&&(l[u]=new se(u,c,c.value,t.contextNode))}for(var u in l)n=l[u],e.nodeTest.matches(n,t)&&r.push(n)}break;case K.PARENT:a=null,t.contextNode!==t.virtualRoot&&(a=t.contextNode.nodeType==f?H.getOwnerElement(t.contextNode):t.contextNode.parentNode),null!=a&&e.nodeTest.matches(a,t)&&r.push(a);break;case K.PRECEDING:s=null!=t.virtualRoot?[t.virtualRoot]:[V(t.contextNode)];e:for(;s.length>0;)for(a=s.pop();null!=a;){if(a==t.contextNode)break e;e.nodeTest.matches(a,t)&&r.unshift(a),null!=a.firstChild?(s.push(a.nextSibling),a=a.firstChild):a=a.nextSibling}break;case K.PRECEDINGSIBLING:if(t.contextNode===t.virtualRoot)break;for(a=t.contextNode.previousSibling;null!=a;a=a.previousSibling)e.nodeTest.matches(a,t)&&r.push(a);break;case K.SELF:e.nodeTest.matches(t.contextNode,t)&&r.push(t.contextNode)}return r},H.applySteps=function(e,t,n){return a(Y.bind(null,t),n,e)},H.prototype.applyFilter=function(e,t){if(!this.filter)return{nodes:[e.contextNode]};var n=this.filter.evaluate(e);if(!fe.instance_of(n,ie)){if(null!=this.filterPredicates&&this.filterPredicates.length>0||null!=this.locationPath)throw new Error("Path expression filter must evaluate to a nodeset if predicates or location path are used");return{nonNodes:n}}return{nodes:W(this.filterPredicates||[],t,n.toUnsortedArray(),!1)}},H.applyLocationPath=function(e,t,n){if(!e)return n;var r=e.absolute?[H.getRoot(t,n)]:n;return H.applySteps(e.steps,t,r)},H.prototype.evaluate=function(e){var t=d(new le,e),n=this.applyFilter(e,t);if("nonNodes"in n)return n.nonNodes;var r=new ie;return r.addArray(H.applyLocationPath(this.locationPath,t,n.nodes)),r},H.predicateMatches=function(e,t){var n=e.evaluate(t);return fe.instance_of(n,re)?t.contextPosition===n.numberValue():n.booleanValue()},H.predicateString=function(e){return c("[","]",e.toString())},H.predicatesString=function(e){return l("",o(H.predicateString,e))},H.prototype.toString=function(){if(null!=this.filter){var e=s(this.filter);return fe.instance_of(this.filter,ne)?c("'","'",e):null!=this.filterPredicates&&this.filterPredicates.length?c("(",")",e)+H.predicatesString(this.filterPredicates):null!=this.locationPath?e+(this.locationPath.absolute?"":"/")+s(this.locationPath):e}return s(this.locationPath)},H.getOwnerElement=function(e){if(e.ownerElement)return e.ownerElement;try{if(e.selectSingleNode)return e.selectSingleNode("..")}catch(yU){}for(var t=(e.nodeType==y?e:e.ownerDocument).getElementsByTagName("*"),n=0;n<t.length;n++)for(var r=t.item(n),a=r.attributes,o=0;o<a.length;o++)if(a.item(o)===e)return r;return null},X.prototype=new Object,X.prototype.constructor=X,X.superclass=Object.prototype,X.prototype.init=function(e,t){this.absolute=e,this.steps=t},X.prototype.toString=function(){return(this.absolute?"/":"")+o(s,this.steps).join("/")},K.prototype=new Object,K.prototype.constructor=K,K.superclass=Object.prototype,K.prototype.init=function(e,t,n){this.axis=e,this.nodeTest=t,this.predicates=n},K.prototype.toString=function(){return K.STEPNAMES[this.axis]+"::"+this.nodeTest.toString()+H.predicatesString(this.predicates)},K.ANCESTOR=0,K.ANCESTORORSELF=1,K.ATTRIBUTE=2,K.CHILD=3,K.DESCENDANT=4,K.DESCENDANTORSELF=5,K.FOLLOWING=6,K.FOLLOWINGSIBLING=7,K.NAMESPACE=8,K.PARENT=9,K.PRECEDING=10,K.PRECEDINGSIBLING=11,K.SELF=12,K.STEPNAMES=a(function(e,t){return e[t[0]]=t[1],e},{},[[K.ANCESTOR,"ancestor"],[K.ANCESTORORSELF,"ancestor-or-self"],[K.ATTRIBUTE,"attribute"],[K.CHILD,"child"],[K.DESCENDANT,"descendant"],[K.DESCENDANTORSELF,"desce
152ndant-or-self"],[K.FOLLOWING,"following"],[K.FOLLOWINGSIBLING,"following-sibling"],[K.NAMESPACE,"namespace"],[K.PARENT,"parent"],[K.PRECEDING,"preceding"],[K.PRECEDINGSIBLING,"preceding-sibling"],[K.SELF,"self"]]);var Z=[K.ANCESTOR,K.ANCESTORORSELF,K.PARENT,K.PRECEDING,K.PRECEDINGSIBLING];function J(e,t){arguments.length>0&&this.init(e,t)}function Q(e){arguments.length>0&&this.init(e)}function ee(e,t){arguments.length>0&&this.init(e,t)}J.prototype=new Object,J.prototype.constructor=J,J.superclass=Object.prototype,J.prototype.init=function(e,t){this.type=e,this.value=t},J.prototype.toString=function(){return"<unknown nodetest type>"},J.prototype.matches=function(e,t){},J.NAMETESTANY=0,J.NAMETESTPREFIXANY=1,J.NAMETESTQNAME=2,J.COMMENT=3,J.TEXT=4,J.PI=5,J.NODE=6,J.isNodeType=function(e){return function(t){return i(e,t.nodeType)}},J.makeNodeTestType=function(e,t,n){var r=n||function(){};return r.prototype=new J(e),r.prototype.constructor=r,d(r.prototype,t),r},J.makeNodeTypeTest=function(e,t,n){return new(J.makeNodeTestType(e,{matches:J.isNodeType(t),toString:(r=n,function(){return r})}));var r},J.hasPrefix=function(e){return e.prefix||-1!==(e.nodeName||e.tagName).indexOf(":")},J.isElementOrAttribute=J.isNodeType([1,2]),J.nameSpaceMatches=function(e,t,n){var r=n.namespaceURI||"";if(!e)return!r||t.allowAnyNamespaceForNoPrefix&&!J.hasPrefix(n);var a=t.namespaceResolver.getNamespace(e,t.expressionContextNode);if(null==a)throw new Error("Cannot resolve QName "+e);return a===r},J.localNameMatches=function(e,t,n){var r=n.localName||n.nodeName;return t.caseInsensitive?e.toLowerCase()===r.toLowerCase():e===r},J.NameTestPrefixAny=J.makeNodeTestType(J.NAMETESTPREFIXANY,{matches:function(e,t){return J.isElementOrAttribute(e)&&J.nameSpaceMatches(this.prefix,t,e)},toString:function(){return this.prefix+":*"}},function(e){this.prefix=e}),J.NameTestQName=J.makeNodeTestType(J.NAMETESTQNAME,{matches:function(e,t){return J.isNodeType([p,f,S])(e)&&J.nameSpaceMatches(this.prefix,t,e)&&J.localNameMatches(this.localName,t,e)},toString:function(){return this.name}},function(e){var t=e.split(":");this.name=e,this.prefix=t.length>1?t[0]:null,this.localName=t[t.length>1?1:0]}),J.PITest=J.makeNodeTestType(J.PI,{matches:function(e,t){return J.isNodeType([g])(e)&&(e.target||e.nodeName)===this.name},toString:function(){return c('processing-instruction("','")',this.name)}},function(e){this.name=e}),J.nameTestAny=J.makeNodeTypeTest(J.NAMETESTANY,[p,f,S],"*"),J.textTest=J.makeNodeTypeTest(J.TEXT,[m,h],"text()"),J.commentTest=J.makeNodeTypeTest(J.COMMENT,[b],"comment()"),J.nodeTest=J.makeNodeTypeTest(J.NODE,[p,f,m,h,g,b,y],"node()"),J.anyPiTest=J.makeNodeTypeTest(J.PI,[g],"processing-instruction()"),Q.prototype=new k,Q.prototype.constructor=Q,Q.superclass=k.prototype,Q.prototype.init=function(e){this.variable=e},Q.prototype.toString=function(){return"$"+this.variable},Q.prototype.evaluate=function(e){var t=fe.resolveQName(this.variable,e.namespaceResolver,e.contextNode,!1);if(null==t[0])throw new Error("Cannot resolve QName "+fn);var n=e.variableResolver.getVariable(t[1],t[0]);if(!n)throw he.fromMessage("Undeclared variable: "+this.toString());return n},ee.prototype=new k,ee.prototype.constructor=ee,ee.superclass=k.prototype,ee.prototype.init=function(e,t){this.functionName=e,this.arguments=t},ee.prototype.toString=function(){for(var e=this.functionName+"(",t=0;t<this.arguments.length;t++)t>0&&(e+=", "),e+=this.arguments[t].toString();return e+")"},ee.prototype.evaluate=function(e){var t=ue.getFunctionFromContext(this.functionName,e);if(!t)throw new Error("Unknown function "+this.functionName);var n=[e].concat(this.arguments);return t.apply(e.functionResolver.thisArg,n)};var te=new Object;function ne(e){arguments.length>0&&this.init(e)}function re(e){arguments.length>0&&this.init(e)}function ae(e){arguments.length>0&&this.init(e)}function oe(e){this.init(e)}function ie(){this.init()}function se(e,t,n,r){this.isXPathNamespace=!0,this.baseNode=t,this.ownerDocument=r.ownerDocument,this.nodeName=e,this.prefix=e,this.localName=e,this.namespaceURI=null,this.nodeValue=n,this.ownerElement=r,this.nodeType=S}function le(e,t,n){this.variableResolver=null!=e?e:new ce,this.namespaceResolver=null!=t?t:new de,this.functionResolver=null!=n?n:new ue}function ce(){}function ue(e){this.thisArg=null!=e?e:pe,this.functions=new Object,this.addStandardFunctions()}function de(){}te.equals=function(e,t){return e.equals(t)},te.notequal=function(e,t){return e.notequal(t)},te.lessthan=function(e,t){return e.lessthan(t)},te.greaterthan=function(e,t){return e.greaterthan(t)},te.lessthanorequal=function(e,t){return e.lessthanorequal(t)},te.greaterthanorequal=function(e,t){return e.greaterthanorequal(t)},ne.prototype=new k,ne.prototype.constructor=ne,ne.superclass=k.prototype,ne.prototype.init=function(e){this.str=String(e)},ne.prototype.toString=function(){return this.str},ne.prototype.evaluate=function(e){return this},ne.prototype.string=function(){return this},ne.prototype.number=function(){return new re(this.str)},ne.prototype.bool=function(){return new ae(this.str)},ne.prototype.nodeset=function(){throw new Error("Cannot convert string to nodeset")},ne.prototype.stringValue=function(){return this.str},ne.prototype.numberValue=function(){return this.number().numberValue()},ne.prototype.booleanValue=function(){return this.bool().booleanValue()},ne.prototype.equals=function(e){return fe.instance_of(e,ae)?this.bool().equals(e):fe.instance_of(e,re)?this.number().equals(e):fe.instance_of(e,ie)?e.compareWithString(this,te.equals):new ae(this.str==e.str)},ne.prototype.notequal=function(e){return fe.instance_of(e,ae)?this.bool().notequal(e):fe.instance_of(e,re)?this.number().notequal(e):fe.instance_of(e,ie)?e.compareWithString(this,te.notequal):new ae(this.str!=e.str)},ne.prototype.lessthan=function(e){return this.number().lessthan(e)},ne.prototype.greaterthan=function(e){return this.number().greaterthan(e)},ne.prototype.lessthanorequal=function(e){return this.number().lessthanorequal(e)},ne.prototype.greaterthanorequal=function(e){return this.number().greaterthanorequal(e)},re.prototype=new k,re.prototype.constructor=re,re.superclass=k.prototype,re.prototype.init=function(e){this.num="string"==typeof e?this.parse(e):Number(e)},re.prototype.numberFormat=/^\s*-?[0-9]*\.?[0-9]+\s*$/,re.prototype.parse=function(e){return this.numberFormat.test(e)?parseFloat(e):Number.NaN},re.prototype.toString=function(){var e=this.num.toString();return-1!==e.indexOf("e-")?function(e){for(var t=e.split("e-"),n=t[0].replace(".",""),r=Number(t[1]),a=0;a<r-1;a+=1)n="0"+n;return"0."+n}(e):-1!==e.indexOf("e")?function(e){for(var t=e.split("e"),n=t[0].replace(".",""),r=Number(t[1])+1-n.length,a=0;a<r;a+=1)n+="0";return n}(e):e},re.prototype.evaluate=function(e){return this},re.prototype.string=function(){return new ne(this.toString())},re.prototype.number=function(){return this},re.prototype.bool=function(){return new ae(this.num)},re.prototype.nodeset=function(){throw new Error("Cannot convert number to nodeset")}
152,re.prototype.stringValue=function(){return this.string().stringValue()},re.prototype.numberValue=function(){return this.num},re.prototype.booleanValue=function(){return this.bool().booleanValue()},re.prototype.negate=function(){return new re(-this.num)},re.prototype.equals=function(e){return fe.instance_of(e,ae)?this.bool().equals(e):fe.instance_of(e,ne)?this.equals(e.number()):fe.instance_of(e,ie)?e.compareWithNumber(this,te.equals):new ae(this.num==e.num)},re.prototype.notequal=function(e){return fe.instance_of(e,ae)?this.bool().notequal(e):fe.instance_of(e,ne)?this.notequal(e.number()):fe.instance_of(e,ie)?e.compareWithNumber(this,te.notequal):new ae(this.num!=e.num)},re.prototype.lessthan=function(e){return fe.instance_of(e,ie)?e.compareWithNumber(this,te.greaterthan):fe.instance_of(e,ae)||fe.instance_of(e,ne)?this.lessthan(e.number()):new ae(this.num<e.num)},re.prototype.greaterthan=function(e){return fe.instance_of(e,ie)?e.compareWithNumber(this,te.lessthan):fe.instance_of(e,ae)||fe.instance_of(e,ne)?this.greaterthan(e.number()):new ae(this.num>e.num)},re.prototype.lessthanorequal=function(e){return fe.instance_of(e,ie)?e.compareWithNumber(this,te.greaterthanorequal):fe.instance_of(e,ae)||fe.instance_of(e,ne)?this.lessthanorequal(e.number()):new ae(this.num<=e.num)},re.prototype.greaterthanorequal=function(e){return fe.instance_of(e,ie)?e.compareWithNumber(this,te.lessthanorequal):fe.instance_of(e,ae)||fe.instance_of(e,ne)?this.greaterthanorequal(e.number()):new ae(this.num>=e.num)},re.prototype.plus=function(e){return new re(this.num+e.num)},re.prototype.minus=function(e){return new re(this.num-e.num)},re.prototype.multiply=function(e){return new re(this.num*e.num)},re.prototype.div=function(e){return new re(this.num/e.num)},re.prototype.mod=function(e){return new re(this.num%e.num)},ae.prototype=new k,ae.prototype.constructor=ae,ae.superclass=k.prototype,ae.prototype.init=function(e){this.b=Boolean(e)},ae.prototype.toString=function(){return this.b.toString()},ae.prototype.evaluate=function(e){return this},ae.prototype.string=function(){return new ne(this.b)},ae.prototype.number=function(){return new re(this.b)},ae.prototype.bool=function(){return this},ae.prototype.nodeset=function(){throw new Error("Cannot convert boolean to nodeset")},ae.prototype.stringValue=function(){return this.string().stringValue()},ae.prototype.numberValue=function(){return this.number().numberValue()},ae.prototype.booleanValue=function(){return this.b},ae.prototype.not=function(){return new ae(!this.b)},ae.prototype.equals=function(e){return fe.instance_of(e,ne)||fe.instance_of(e,re)?this.equals(e.bool()):fe.instance_of(e,ie)?e.compareWithBoolean(this,te.equals):new ae(this.b==e.b)},ae.prototype.notequal=function(e){return fe.instance_of(e,ne)||fe.instance_of(e,re)?this.notequal(e.bool()):fe.instance_of(e,ie)?e.compareWithBoolean(this,te.notequal):new ae(this.b!=e.b)},ae.prototype.lessthan=function(e){return this.number().lessthan(e)},ae.prototype.greaterthan=function(e){return this.number().greaterthan(e)},ae.prototype.lessthanorequal=function(e){return this.number().lessthanorequal(e)},ae.prototype.greaterthanorequal=function(e){return this.number().greaterthanorequal(e)},ae.true_=new ae(!0),ae.false_=new ae(!1),oe.prototype=new Object,oe.prototype.constructor=oe,oe.superclass=Object.prototype,oe.prototype.init=function(e){this.left=null,this.right=null,this.node=e,this.depth=1},oe.prototype.balance=function(){var e=null==this.left?0:this.left.depth,t=null==this.right?0:this.right.depth;if(e>t+1)(null==this.left.left?0:this.left.left.depth)<(null==this.left.right?0:this.left.right.depth)&&this.left.rotateRR(),this.rotateLL();else if(e+1<t){var n=null==this.right.right?0:this.right.right.depth;(null==this.right.left?0:this.right.left.depth)>n&&this.right.rotateLL(),this.rotateRR()}},oe.prototype.rotateLL=function(){var e=this.node,t=this.right;this.node=this.left.node,this.right=this.left,this.left=this.left.left,this.right.left=this.right.right,this.right.right=t,this.right.node=e,this.right.updateInNewLocation(),this.updateInNewLocation()},oe.prototype.rotateRR=function(){var e=this.node,t=this.left;this.node=this.right.node,this.left=this.right,this.right=this.right.right,this.left.right=this.left.left,this.left.left=t,this.left.node=e,this.left.updateInNewLocation(),this.updateInNewLocation()},oe.prototype.updateInNewLocation=function(){this.getDepthFromChildren()},oe.prototype.getDepthFromChildren=function(){this.depth=null==this.node?0:1,null!=this.left&&(this.depth=this.left.depth+1),null!=this.right&&this.depth<=this.right.depth&&(this.depth=this.right.depth+1)},oe.prototype.add=function(e){if(e===this.node)return!1;var t=function(e,t){if(e===t)return 0;if(e.compareDocumentPosition){var n=e.compareDocumentPosition(t);return 1&n||10&n?1:20&n?-1:0}for(var r=0,a=0,o=e;null!=o;o=o.parentNode||o.ownerElement)r++;for(var i=t;null!=i;i=i.parentNode||i.ownerElement)a++;if(r>a){for(;r>a;)e=e.parentNode||e.ownerElement,r--;if(e===t)return 1}else if(a>r){for(;a>r;)t=t.parentNode||t.ownerElement,a--;if(e===t)return-1}for(var s=e.parentNode||e.ownerElement,l=t.parentNode||t.ownerElement;s!==l;)t=l,s=(e=s).parentNode||e.ownerElement,l=t.parentNode||t.ownerElement;var c=me(e),u=me(t);if(c&&!u)return-1;if(!c&&u)return 1;if(e.isXPathNamespace){if(e.nodeValue===E.XML_NAMESPACE_URI)return-1;if(!t.isXPathNamespace)return-1;
152if(t.nodeValue===E.XML_NAMESPACE_URI)return 1}else if(t.isXPathNamespace)return 1;if(s)for(var d=c?s.attributes:s.childNodes,p=d.length,f=e.baseNode||e,m=t.baseNode||t,h=0;h<p;h+=1){var g=d[h];if(g===f)return-1;if(g===m)return 1}throw new Error("Unexpected: could not determine node order")}(e,this.node),n=!1;return-1==t?null==this.left?(this.left=new oe(e),n=!0):(n=this.left.add(e))&&this.balance():1==t&&(null==this.right?(this.right=new oe(e),n=!0):(n=this.right.add(e))&&this.balance()),n&&this.getDepthFromChildren(),n},ie.prototype=new k,ie.prototype.constructor=ie,ie.superclass=k.prototype,ie.prototype.init=function(){this.tree=null,this.nodes=[],this.size=0},ie.prototype.toString=function(){var e=this.first();return null==e?"":this.stringForNode(e)},ie.prototype.evaluate=function(e){return this},ie.prototype.string=function(){return new ne(this.toString())},ie.prototype.stringValue=function(){return this.toString()},ie.prototype.number=function(){return new re(this.string())},ie.prototype.numberValue=function(){return Number(this.string())},ie.prototype.bool=function(){return new ae(this.booleanValue())},ie.prototype.booleanValue=function(){return!!this.size},ie.prototype.nodeset=function(){return this},ie.prototype.stringForNode=function(e){return e.nodeType==y||e.nodeType==p||e.nodeType===x?this.stringForContainerNode(e):e.nodeType===f?e.value||e.nodeValue:e.isNamespaceNode?e.namespace:e.nodeValue},ie.prototype.stringForContainerNode=function(e){for(var t="",n=e.firstChild;null!=n;n=n.nextSibling){var r=n.nodeType;1!==r&&3!==r&&4!==r&&9!==r&&11!==r||(t+=this.stringForNode(n))}return t},ie.prototype.buildTree=function(){if(!this.tree&&this.nodes.length){this.tree=new oe(this.nodes[0]);for(var e=1;e<this.nodes.length;e+=1)this.tree.add(this.nodes[e])}return this.tree},ie.prototype.first=function(){var e=this.buildTree();if(null==e)return null;for(;null!=e.left;)e=e.left;return e.node},ie.prototype.add=function(e){for(var t=0;t<this.nodes.length;t+=1)if(e===this.nodes[t])return;this.tree=null,this.nodes.push(e),this.size+=1},ie.prototype.addArray=function(e){var t=this;r(function(e){t.add(e)},e)},ie.prototype.toArray=function(){var e=[];return this.toArrayRec(this.buildTree(),e),e},ie.prototype.toArrayRec=function(e,t){null!=e&&(this.toArrayRec(e.left,t),t.push(e.node),this.toArrayRec(e.right,t))},ie.prototype.toUnsortedArray=function(){return this.nodes.slice()},ie.prototype.compareWithString=function(e,t){for(var n=this.toUnsortedArray(),r=0;r<n.length;r++){var a=n[r],o=t(new ne(this.stringForNode(a)),e);if(o.booleanValue())return o}return new ae(!1)},ie.prototype.compareWithNumber=function(e,t){for(var n=this.toUnsortedArray(),r=0;r<n.length;r++){var a=n[r],o=t(new re(this.stringForNode(a)),e);if(o.booleanValue())return o}return new ae(!1)},ie.prototype.compareWithBoolean=function(e,t){return t(this.bool(),e)},ie.prototype.compareWithNodeSet=function(e,t){for(var n=this.toUnsortedArray(),r=function(e,n){return t(n,e)},a=0;a<n.length;a++){var o=new ne(this.stringForNode(n[a])),i=e.compareWithString(o,r);if(i.booleanValue())return i}return new ae(!1)},ie.compareWith=function(e){var t=Array.prototype.slice,n=e.length,r=function(){var a=t.call(arguments);return a.length<n?function(e,n){return function(){return n.apply(this,e.concat(t.call(arguments)))}}(a,r):e.apply(this,t.apply(arguments,[0,n]))};return r}(function(e,t){return fe.instance_of(t,ne)?this.compareWithString(t,e):fe.instance_of(t,re)?this.compareWithNumber(t,e):fe.instance_of(t,ae)?this.compareWithBoolean(t,e):this.compareWithNodeSet(t,e)}),ie.prototype.equals=ie.compareWith(te.equals),ie.prototype.notequal=ie.compareWith(te.notequal),ie.prototype.lessthan=ie.compareWith(te.lessthan),ie.prototype.greaterthan=ie.compareWith(te.greaterthan),ie.prototype.lessthanorequal=ie.compareWith(te.lessthanorequal),ie.prototype.greaterthanorequal=ie.compareWith(te.greaterthanorequal),ie.prototype.union=function(e){var t=new ie;return t.addArray(this.toUnsortedArray()),t.addArray(e.toUnsortedArray()),t},se.prototype=new Object,se.prototype.constructor=se,se.superclass=Object.prototype,se.prototype.toString=function(){return'{ "'+this.prefix+'", "'+this.namespaceURI+'" }'},le.prototype=new Object,le.prototype.constructor=le,le.superclass=Object.prototype,le.prototype.extend=function(e){return d(new le,this,e)},ce.prototype=new Object,ce.prototype.constructor=ce,ce.superclass=Object.prototype,ce.prototype.getVariable=function(e,t){return null},ue.prototype=new Object,ue.prototype.constructor=ue,ue.superclass=Object.prototype,ue.prototype.addStandardFunctions=function(){this.functions["{}last"]=pe.last,this.functions["{}position"]=pe.position,this.functions["{}count"]=pe.count,this.functions["{}id"]=pe.id,this.functions["{}local-name"]=pe.localName,this.functions["{}namespace-uri"]=pe.namespaceURI,this.functions["{}name"]=pe.name,this.functions["{}string"]=pe.string,this.functions["{}concat"]=pe.concat,this.functions["{}starts-with"]=pe.startsWith,this.functions["{}contains"]=pe.contains,this.functions["{}substring-before"]=pe.substringBefore,this.functions["{}substring-after"]=pe.substringAfter,this.functions["{}substring"]=pe.substring,this.functions["{}string-length"]=pe.stringLength,this.functions["{}normalize-space"]=pe.normalizeSpace,this.functions["{}translate"]=pe.translate,this.functions["{}boolean"]=pe.boolean_,this.functions["{}not"]=pe.not,this.functions["{}true"]=pe.true_,this.functions["{}false"]=pe.false_,this.functions["{}lang"]=pe.lang,this.functions["{}number"]=pe.number,this.functions["{}sum"]=pe.sum,this.functions["{}floor"]=pe.floor,this.functions["{}ceiling"]=pe.ceiling,this.functions["{}round"]=pe.round},ue.prototype.addFunction=function(e,t,n){this.functions["{"+e+"}"+t]=n},ue.getFunctionFromContext=function(e,t){var n=fe.resolveQName(e,t.namespaceResolver,t.contextNode,!1);if(null===n[0])throw new Error("Cannot resolve QName "+name);return t.functionResolver.getFunction(n[1],n[0])},ue.prototype.getFunction=function(e,t){return this.functions["{"+t+"}"+e]},de.prototype=new Object,de.prototype.constructor=de,de.superclass=Object.prototype,de.prototype.getNamespace=function(e,t){if("xml"==e)return E.XML_NAMESPACE_URI;if("xmlns"==e)return E.XMLNS_NAMESPACE_URI;
152for(t.nodeType==y?t=t.documentElement:t.nodeType==f?t=H.getOwnerElement(t):t.nodeType!=p&&(t=t.parentNode);null!=t&&t.nodeType==p;){for(var n=t.attributes,r=0;r<n.length;r++){var a=n.item(r),o=a.name||a.nodeName;if("xmlns"===o&&""===e||o==="xmlns:"+e)return String(a.value||a.nodeValue)}t=t.parentNode}return null};var pe=new Object;pe.last=function(e){if(1!=arguments.length)throw new Error("Function last expects ()");return new re(e.contextSize)},pe.position=function(e){if(1!=arguments.length)throw new Error("Function position expects ()");return new re(e.contextPosition)},pe.count=function(){var e,t=arguments[0];if(2!=arguments.length||!fe.instance_of(e=arguments[1].evaluate(t),ie))throw new Error("Function count expects (node-set)");return new re(e.size)},pe.id=function(){var e,t=arguments[0];if(2!=arguments.length)throw new Error("Function id expects (object)");e=arguments[1].evaluate(t);for(var n=(e=fe.instance_of(e,ie)?e.toArray().join(" "):e.stringValue()).split(/[\x0d\x0a\x09\x20]+/),r=new ie,a=t.contextNode.nodeType==y?t.contextNode:t.contextNode.ownerDocument,o=0;o<n.length;o++){var i;null!=(i=a.getElementById?a.getElementById(n[o]):fe.getElementById(a,n[o]))&&r.add(i)}return r},pe.localName=function(e,t){var n;if(1==arguments.length)n=e.contextNode;else{if(2!=arguments.length)throw new Error("Function local-name expects (node-set?)");n=t.evaluate(e).first()}return new ne(null==n?"":n.localName||n.baseName||n.target||n.nodeName||"")},pe.namespaceURI=function(){var e,t=arguments[0];if(1==arguments.length)e=t.contextNode;else{if(2!=arguments.length)throw new Error("Function namespace-uri expects (node-set?)");e=arguments[1].evaluate(t).first()}return new ne(null==e?"":e.namespaceURI||"")},pe.name=function(){var e,t=arguments[0];if(1==arguments.length)e=t.contextNode;else{if(2!=arguments.length)throw new Error("Function name expects (node-set?)");e=arguments[1].evaluate(t).first()}return null==e?new ne(""):e.nodeType==p?new ne(e.nodeName):e.nodeType==f?new ne(e.name||e.nodeName):e.nodeType===g?new ne(e.target||e.nodeName):null==e.localName?new ne(""):new ne(e.localName)},pe.string=function(){var e=arguments[0];if(1==arguments.length)return new ne(ie.prototype.stringForNode(e.contextNode));if(2==arguments.length)return arguments[1].evaluate(e).string();throw new Error("Function string expects (object?)")},pe.concat=function(e){if(arguments.length<3)throw new Error("Function concat expects (string, string[, string]*)");for(var t="",n=1;n<arguments.length;n++)t+=arguments[n].evaluate(e).stringValue();return new ne(t)},pe.startsWith=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function startsWith expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),n=arguments[2].evaluate(e).stringValue();return new ae(t.substring(0,n.length)==n)},pe.contains=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function contains expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),n=arguments[2].evaluate(e).stringValue();return new ae(-1!==t.indexOf(n))},pe.substringBefore=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function substring-before expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),n=arguments[2].evaluate(e).stringValue();return new ne(t.substring(0,t.indexOf(n)))},pe.substringAfter=function(){var e=arguments[0];if(3!=arguments.length)throw new Error("Function substring-after expects (string, string)");var t=arguments[1].evaluate(e).stringValue(),n=arguments[2].evaluate(e).stringValue();if(0==n.length)return new ne(t);var r=t.indexOf(n);return new ne(-1==r?"":t.substring(r+n.length))},pe.substring=function(){var e=arguments[0];if(3!=arguments.length&&4!=arguments.length)throw new Error("Function substring expects (string, number, number?)");var t=arguments[1].evaluate(e).stringValue(),n=Math.round(arguments[2].evaluate(e).numberValue())-1,r=4==arguments.length?n+Math.round(arguments[3].evaluate(e).numberValue()):void 0;return new ne(t.substring(n,r))},pe.stringLength=function(){var e,t=arguments[0];if(1==arguments.length)e=ie.prototype.stringForNode(t.contextNode);else{if(2!=arguments.length)throw new Error("Function string-length expects (string?)");e=arguments[1].evaluate(t).stringValue()}return new re(e.length)},pe.normalizeSpace=function(){var e,t=arguments[0];if(1==arguments.length)e=ie.prototype.stringForNode(t.contextNode);else{if(2!=arguments.length)throw new Error("Function normalize-space expects (string?)");e=arguments[1].evaluate(t).stringValue()}for(var n=0,r=e.length-1;fe.isSpace(e.charCodeAt(r));)r--;for(var a="";n<=r&&fe.isSpace(e.charCodeAt(n));)n++;for(;n<=r;)if(fe.isSpace(e.charCodeAt(n)))for(a+=" ";n<=r&&fe.isSpace(e.charCodeAt(n));)n++;else a+=e.charAt(n),n++;return new ne(a)},pe.translate=function(e,t,n,r){if(4!=arguments.length)throw new Error("Function translate expects (string, string, string)");var i=t.evaluate(e).stringValue(),s=n.evaluate(e).stringValue(),c=r.evaluate(e).stringValue(),u=a(function(e,t,n){return t in e||(e[t]=n>c.length?"":c[n]),e},{},s);return new ne(l("",o(function(e){return e in u?u[e]:e},i)))},pe.boolean_=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function boolean expects (object)");return arguments[1].evaluate(e).bool()},pe.not=function(e,t){if(2!=arguments.length)throw new Error("Function not expects (object)");return t.evaluate(e).bool().not()},pe.true_=function(){if(1!=arguments.length)throw new Error("Function true expects ()");return ae.true_},pe.false_=function(){if(1!=arguments.length)throw new Error("Function false expects ()");return ae.false_},pe.lang=function(){var e,t=arguments[0];if(2!=arguments.length)throw new Error("Function lang expects (string)");for(var n=t.contextNode;null!=n&&n.nodeType!=y;n=n.parentNode){var r=n.getAttributeNS(E.XML_NAMESPACE_URI,"lang");if(null!=r){e=String(r);break}}if(null==e)return ae.false_;var a=arguments[1].evaluate(t).stringValue();return new ae(e.substring(0,a.length)==a&&(e.length==a.length||"-"==e.charAt(a.length)))},pe.number=function(){var e=arguments[0];if(1!=arguments.length&&2!=arguments.length)throw new Error("Function number expects (object?)");return 1==arguments.length?new re(ie.prototype.stringForNode(e.contextNode)):arguments[1].evaluate(e).number()},pe.sum=function(){var e,t=arguments[0];
152if(2!=arguments.length||!fe.instance_of(e=arguments[1].evaluate(t),ie))throw new Error("Function sum expects (node-set)");e=e.toUnsortedArray();for(var n=0,r=0;r<e.length;r++)n+=new re(ie.prototype.stringForNode(e[r])).numberValue();return new re(n)},pe.floor=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function floor expects (number)");return new re(Math.floor(arguments[1].evaluate(e).numberValue()))},pe.ceiling=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function ceiling expects (number)");return new re(Math.ceil(arguments[1].evaluate(e).numberValue()))},pe.round=function(){var e=arguments[0];if(2!=arguments.length)throw new Error("Function round expects (number)");return new re(Math.round(arguments[1].evaluate(e).numberValue()))};var fe=new Object,me=function(e){return e&&(e.nodeType===f||e.ownerElement||e.isXPathNamespace)};fe.splitQName=function(e){var t=e.indexOf(":");return-1==t?[null,e]:[e.substring(0,t),e.substring(t+1)]},fe.resolveQName=function(e,t,n,r){var a=fe.splitQName(e);return null!=a[0]?a[0]=t.getNamespace(a[0],n):r?(a[0]=t.getNamespace("",n),null==a[0]&&(a[0]="")):a[0]="",a},fe.isSpace=function(e){return 9==e||13==e||10==e||32==e},fe.isLetter=function(e){return e>=65&&e<=90||e>=97&&e<=122||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=255||e>=256&&e<=305||e>=308&&e<=318||e>=321&&e<=328||e>=330&&e<=382||e>=384&&e<=451||e>=461&&e<=496||e>=500&&e<=501||e>=506&&e<=535||e>=592&&e<=680||e>=699&&e<=705||902==e||e>=904&&e<=906||908==e||e>=910&&e<=929||e>=931&&e<=974||e>=976&&e<=982||986==e||988==e||990==e||992==e||e>=994&&e<=1011||e>=1025&&e<=1036||e>=1038&&e<=1103||e>=1105&&e<=1116||e>=1118&&e<=1153||e>=1168&&e<=1220||e>=1223&&e<=1224||e>=1227&&e<=1228||e>=1232&&e<=1259||e>=1262&&e<=1269||e>=1272&&e<=1273||e>=1329&&e<=1366||1369==e||e>=1377&&e<=1414||e>=1488&&e<=1514||e>=1520&&e<=1522||e>=1569&&e<=1594||e>=1601&&e<=1610||e>=1649&&e<=1719||e>=1722&&e<=1726||e>=1728&&e<=1742||e>=1744&&e<=1747||1749==e||e>=1765&&e<=1766||e>=2309&&e<=2361||2365==e||e>=2392&&e<=2401||e>=2437&&e<=2444||e>=2447&&e<=2448||e>=2451&&e<=2472||e>=2474&&e<=2480||2482==e||e>=2486&&e<=2489||e>=2524&&e<=2525||e>=2527&&e<=2529||e>=2544&&e<=2545||e>=2565&&e<=2570||e>=2575&&e<=2576||e>=2579&&e<=2600||e>=2602&&e<=2608||e>=2610&&e<=2611||e>=2613&&e<=2614||e>=2616&&e<=2617||e>=2649&&e<=2652||2654==e||e>=2674&&e<=2676||e>=2693&&e<=2699||2701==e||e>=2703&&e<=2705||e>=2707&&e<=2728||e>=2730&&e<=2736||e>=2738&&e<=2739||e>=2741&&e<=2745||2749==e||2784==e||e>=2821&&e<=2828||e>=2831&&e<=2832||e>=2835&&e<=2856||e>=2858&&e<=2864||e>=2866&&e<=2867||e>=2870&&e<=2873||2877==e||e>=2908&&e<=2909||e>=2911&&e<=2913||e>=2949&&e<=2954||e>=2958&&e<=2960||e>=2962&&e<=2965||e>=2969&&e<=2970||2972==e||e>=2974&&e<=2975||e>=2979&&e<=2980||e>=2984&&e<=2986||e>=2990&&e<=2997||e>=2999&&e<=3001||e>=3077&&e<=3084||e>=3086&&e<=3088||e>=3090&&e<=3112||e>=3114&&e<=3123||e>=3125&&e<=3129||e>=3168&&e<=3169||e>=3205&&e<=3212||e>=3214&&e<=3216||e>=3218&&e<=3240||e>=3242&&e<=3251||e>=3253&&e<=3257||3294==e||e>=3296&&e<=3297||e>=3333&&e<=3340||e>=3342&&e<=3344||e>=3346&&e<=3368||e>=3370&&e<=3385||e>=3424&&e<=3425||e>=3585&&e<=3630||3632==e||e>=3634&&e<=3635||e>=3648&&e<=3653||e>=3713&&e<=3714||3716==e||e>=3719&&e<=3720||3722==e||3725==e||e>=3732&&e<=3735||e>=3737&&e<=3743||e>=3745&&e<=3747||3749==e||3751==e||e>=3754&&e<=3755||e>=3757&&e<=3758||3760==e||e>=3762&&e<=3763||3773==e||e>=3776&&e<=3780||e>=3904&&e<=3911||e>=3913&&e<=3945||e>=4256&&e<=4293||e>=4304&&e<=4342||4352==e||e>=4354&&e<=4355||e>=4357&&e<=4359||4361==e||e>=4363&&e<=4364||e>=4366&&e<=4370||4412==e||4414==e||4416==e||4428==e||4430==e||4432==e||e>=4436&&e<=4437||4441==e||e>=4447&&e<=4449||4451==e||4453==e||4455==e||4457==e||e>=4461&&e<=4462||e>=4466&&e<=4467||4469==e||4510==e||4520==e||4523==e||e>=4526&&e<=4527||e>=4535&&e<=4536||4538==e||e>=4540&&e<=4546||4587==e||4592==e||4601==e||e>=7680&&e<=7835||e>=7840&&e<=7929||e>=7936&&e<=7957||e>=7960&&e<=7965||e>=7968&&e<=8005||e>=8008&&e<=8013||e>=8016&&e<=8023||8025==e||8027==e||8029==e||e>=8031&&e<=8061||e>=8064&&e<=8116||e>=8118&&e<=8124||8126==e||e>=8130&&e<=8132||e>=8134&&e<=8140||e>=8144&&e<=8147||e>=8150&&e<=8155||e>=8160&&e<=8172||e>=8178&&e<=8180||e>=8182&&e<=8188||8486==e||e>=8490&&e<=8491||8494==e||e>=8576&&e<=8578||e>
152=12353&&e<=12436||e>=12449&&e<=12538||e>=12549&&e<=12588||e>=44032&&e<=55203||e>=19968&&e<=40869||12295==e||e>=12321&&e<=12329},fe.isNCNameChar=function(e){return e>=48&&e<=57||e>=1632&&e<=1641||e>=1776&&e<=1785||e>=2406&&e<=2415||e>=2534&&e<=2543||e>=2662&&e<=2671||e>=2790&&e<=2799||e>=2918&&e<=2927||e>=3047&&e<=3055||e>=3174&&e<=3183||e>=3302&&e<=3311||e>=3430&&e<=3439||e>=3664&&e<=3673||e>=3792&&e<=3801||e>=3872&&e<=3881||46==e||45==e||95==e||fe.isLetter(e)||e>=768&&e<=837||e>=864&&e<=865||e>=1155&&e<=1158||e>=1425&&e<=1441||e>=1443&&e<=1465||e>=1467&&e<=1469||1471==e||e>=1473&&e<=1474||1476==e||e>=1611&&e<=1618||1648==e||e>=1750&&e<=1756||e>=1757&&e<=1759||e>=1760&&e<=1764||e>=1767&&e<=1768||e>=1770&&e<=1773||e>=2305&&e<=2307||2364==e||e>=2366&&e<=2380||2381==e||e>=2385&&e<=2388||e>=2402&&e<=2403||e>=2433&&e<=2435||2492==e||2494==e||2495==e||e>=2496&&e<=2500||e>=2503&&e<=2504||e>=2507&&e<=2509||2519==e||e>=2530&&e<=2531||2562==e||2620==e||2622==e||2623==e||e>=2624&&e<=2626||e>=2631&&e<=2632||e>=2635&&e<=2637||e>=2672&&e<=2673||e>=2689&&e<=2691||2748==e||e>=2750&&e<=2757||e>=2759&&e<=2761||e>=2763&&e<=2765||e>=2817&&e<=2819||2876==e||e>=2878&&e<=2883||e>=2887&&e<=2888||e>=2891&&e<=2893||e>=2902&&e<=2903||e>=2946&&e<=2947||e>=3006&&e<=3010||e>=3014&&e<=3016||e>=3018&&e<=3021||3031==e||e>=3073&&e<=3075||e>=3134&&e<=3140||e>=3142&&e<=3144||e>=3146&&e<=3149||e>=3157&&e<=3158||e>=3202&&e<=3203||e>=3262&&e<=3268||e>=3270&&e<=3272||e>=3274&&e<=3277||e>=3285&&e<=3286||e>=3330&&e<=3331||e>=3390&&e<=3395||e>=3398&&e<=3400||e>=3402&&e<=3405||3415==e||3633==e||e>=3636&&e<=3642||e>=3655&&e<=3662||3761==e||e>=3764&&e<=3769||e>=3771&&e<=3772||e>=3784&&e<=3789||e>=3864&&e<=3865||3893==e||3895==e||3897==e||3902==e||3903==e||e>=3953&&e<=3972||e>=3974&&e<=3979||e>=3984&&e<=3989||3991==e||e>=3993&&e<=4013||e>=4017&&e<=4023||4025==e||e>=8400&&e<=8412||8417==e||e>=12330&&e<=12335||12441==e||12442==e||183==e||720==e||721==e||903==e||1600==e||3654==e||3782==e||12293==e||e>=12337&&e<=12341||e>=12445&&e<=12446||e>=12540&&e<=12542},fe.coalesceText=function(e){for(var t=e.firstChild;null!=t;t=t.nextSibling)if(t.nodeType==m||t.nodeType==h){var n=t.nodeValue,r=t;for(t=t.nextSibling;null!=t&&(t.nodeType==m||t.nodeType==h);){n+=t.nodeValue;var a=t;t=t.nextSibling,a.parentNode.removeChild(a)}if(r.nodeType==h){var o=r.parentNode;if(null==r.nextSibling)o.removeChild(r),o.appendChild(o.ownerDocument.createTextNode(n));else{var i=r.nextSibling;o.removeChild(r),o.insertBefore(o.ownerDocument.createTextNode(n),i)}}else r.nodeValue=n;if(null==t)break}else t.nodeType==p&&fe.coalesceText(t)},fe.instance_of=function(e,t){for(;null!=e;){if(e.constructor===t)return!0;if(e===Object)return!1;e=e.constructor.superclass}return!1},fe.getElementById=function(e,t){if(e.nodeType==p&&(e.getAttribute("id")==t||e.getAttributeNS(null,"id")==t))return e;for(var n=e.firstChild;null!=n;n=n.nextSibling){var r=fe.getElementById(n,t);if(null!=r)return r}return null};var he=function(){function e(t,n,r){var a=Error.call(this,function(t,n){var r=n?": "+n.toString():"";switch(t){case e.INVALID_EXPRESSION_ERR:return"Invalid expression"+r;case e.TYPE_ERR:return"Type error"+r}return null}(t,n)||r);return a.code=t,a.exception=n,a}return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e.superclass=Error,e.prototype.toString=function(){return this.message},e.fromMessage=function(t,n){return new e(null,n,t)},e.INVALID_EXPRESSION_ERR=51,e.TYPE_ERR=52,e}();function ge(e,t,n){this.xpath=n.parse(e),this.context=new le,this.context.namespaceResolver=new be(t)}function be(e){this.xpathNSResolver=e}function ye(e){this.node=e,this.namespaceResolver=new de}function ve(e,t){switch(t==ve.ANY_TYPE&&(e.constructor===ne?t=ve.STRING_TYPE:e.constructor===re?t=ve.NUMBER_TYPE:e.constructor===ae?t=ve.BOOLEAN_TYPE:e.constructor===ie&&(t=ve.UNORDERED_NODE_ITERATOR_TYPE)),this.resultType=t,t){case ve.NUMBER_TYPE:return void(this.numberValue=e.numberValue());case ve.STRING_TYPE:return void(this.stringValue=e.stringValue());case ve.BOOLEAN_TYPE:return void(this.booleanValue=e.booleanValue());case ve.ANY_UNORDERED_NODE_TYPE:case ve.FIRST_ORDERED_NODE_TYPE:if(e.constructor===ie)return void(this.singleNodeValue=e.first());break;case ve.UNORDERED_NODE_ITERATOR_TYPE:case ve.ORDERED_NODE_ITERATOR_TYPE:if(e.constructor===ie)return this.invalidIteratorState=!1,this.nodes=e.toArray(),void(this.iteratorIndex=0);break;case ve.UNORDERED_NODE_SNAPSHOT_TYPE:case ve.ORDERED_NODE_SNAPSHOT_TYPE:if(e.constructor===ie)return this.nodes=e.toArray(),void(this.snapshotLength=this.nodes.length)}
152throw new he(he.TYPE_ERR)}function xe(e,t){e.createExpression=function(e,n){try{return new ge(e,n,t)}catch(e){throw new he(he.INVALID_EXPRESSION_ERR,e)}},e.createNSResolver=function(e){return new ye(e)},e.evaluate=function(n,r,a,o,i){if(o<0||o>9)throw{code:0,toString:function(){return"Request type not supported"}};return e.createExpression(n,a,t).evaluate(r,o,i)}}ge.prototype={},ge.prototype.constructor=ge,ge.superclass=Object.prototype,ge.getOwnerDocument=function(e){return e.nodeType===y?e:e.ownerDocument},ge.detectHtmlDom=function(e){if(!e)return!1;var t=ge.getOwnerDocument(e);try{return t.implementation.hasFeature("HTML","2.0")}catch(yU){return!0}},ge.prototype.evaluate=function(e,t,n){return this.context.expressionContextNode=e,this.context.caseInsensitive=ge.detectHtmlDom(e),new ve(this.xpath.evaluate(this.context),t)},be.prototype={},be.prototype.constructor=be,be.superclass=Object.prototype,be.prototype.getNamespace=function(e,t){return null==this.xpathNSResolver?null:this.xpathNSResolver.lookupNamespaceURI(e)},ye.prototype={},ye.prototype.constructor=ye,ye.superclass=Object.prototype,ye.prototype.lookupNamespaceURI=function(e){return this.namespaceResolver.getNamespace(e,this.node)},ve.prototype={},ve.prototype.constructor=ve,ve.superclass=Object.prototype,ve.prototype.iterateNext=function(){if(this.resultType!=ve.UNORDERED_NODE_ITERATOR_TYPE&&this.resultType!=ve.ORDERED_NODE_ITERATOR_TYPE)throw new he(he.TYPE_ERR);return this.nodes[this.iteratorIndex++]},ve.prototype.snapshotItem=function(e){if(this.resultType!=ve.UNORDERED_NODE_SNAPSHOT_TYPE&&this.resultType!=ve.ORDERED_NODE_SNAPSHOT_TYPE)throw new he(he.TYPE_ERR);return this.nodes[e]},ve.ANY_TYPE=0,ve.NUMBER_TYPE=1,ve.STRING_TYPE=2,ve.BOOLEAN_TYPE=3,ve.UNORDERED_NODE_ITERATOR_TYPE=4,ve.ORDERED_NODE_ITERATOR_TYPE=5,ve.UNORDERED_NODE_SNAPSHOT_TYPE=6,ve.ORDERED_NODE_SNAPSHOT_TYPE=7,ve.ANY_UNORDERED_NODE_TYPE=8,ve.FIRST_ORDERED_NODE_TYPE=9;try{var Se=!0;try{document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("XPath",null)&&(Se=!1)}catch(yU){}Se&&xe(document,new w)}catch(yU){}xe(e,new w),function(){var t=new w,n=new de,r=new ue,a=new ce;function o(e){return{getNamespace:function(t,r){return e(t,r)||n.getNamespace(t,r)}}}function i(e){return e&&"function"==typeof e.getNamespace?o((t=e).getNamespace.bind(t)):"function"==typeof e?o(e):"object"==typeof e?function(e){return o(function(t){return e[t]})}(e):n;var t}function s(e){if(null==e||e instanceof ne||e instanceof ae||e instanceof re||e instanceof ie)return e;switch(typeof e){case"string":return new ne(e);case"boolean":return new ae(e);case"number":return new re(e)}var t=new ie;return t.addArray([].concat(e)),t}function l(e){return{getFunction:function(t,n){var a=e(t,n);return a?function(e){return function(t){var n=Array.prototype.slice.call(arguments,1).map(function(e){return e.evaluate(t)});return s(e.apply(this,[].concat(t,n)))}}(a):r.getFunction(t,n)}}}function c(e){return e&&"function"==typeof e.getFunction?l((t=e).getFunction.bind(t)):"function"==typeof e?l(e):"object"==typeof e?function(e){return l(function(t){return e[t]})}(e):r;var t}function u(e){return{getVariable:function(t,n){return s(e(t,n))}}}function d(e,t,n){e in n&&(t[e]=n[e])}function p(e){var t=new le;return e?(t.namespaceResolver=i(e.namespaces),t.functionResolver=c(e.functions),t.variableResolver=function(e){if(e){if("function"==typeof e.getVariable)return u(e.getVariable.bind(e));if("function"==typeof e)return u(e);if("object"==typeof e)return u(function(t){return e[t]})}return a}(e.variables),t.expressionContextNode=e.node,d("allowAnyNamespaceForNoPrefix",t,e),d("isHtml",t,e)):t.namespaceResolver=n,t}var f={evaluate:function(e){return function(e,t){var n=p(t);return e.evaluate(n)}(this.expression,e)},evaluateNumber:function(e){return this.evaluate(e).numberValue()},evaluateString:function(e){return this.evaluate(e).stringValue()},evaluateBoolean:function(e){return this.evaluate(e).booleanValue()},evaluateNodeSet:function(e){return this.evaluate(e).nodeset()},select:function(e){return this.evaluateNodeSet(e).toArray()},select1:function(e){return this.select(e)[0]}};e.parse=function(e){var n=t.parse(e);return Object.create(f,{expression:{value:n}})}}(),d(e,{XPath:E,XPathParser:w,XPathResult:ve,Step:K,PathExpr:H,NodeTest:J,LocationPath:X,OrOperation:N,AndOperation:_,BarOperation:U,EqualsOperation:R,NotEqualOperation:O,LessThanOperation:L,GreaterThanOperation:D,LessThanOrEqualOperation:P,GreaterThanOrEqualOperation:M,PlusOperation:j,MinusOperation:F,MultiplyOperation:z,DivOperation:$,ModOperation:B,UnaryMinusOperation:A,FunctionCall:ee,VariableReference:Q,XPathContext:le,XNodeSet:ie,XBoolean:ae,XString:ne,XNumber:re,NamespaceResolver:de,FunctionResolver:ue,VariableResolver:ce,Utilities:fe}
152),e.select=function(t,n,r){return e.selectWithResolver(t,n,null,r)},e.useNamespaces=function(t){var n={mappings:t||{},lookupNamespaceURI:function(e){return this.mappings[e]}};return function(t,r,a){return e.selectWithResolver(t,r,n,a)}},e.selectWithResolver=function(e,t,n,r){var a=new ge(e,n,new w),o=ve.ANY_TYPE,i=a.evaluate(t,o,null);return i.resultType==ve.STRING_TYPE?i=i.stringValue:i.resultType==ve.NUMBER_TYPE?i=i.numberValue:i.resultType==ve.BOOLEAN_TYPE?i=i.booleanValue:(i=i.nodes,r&&(i=i[0])),i},e.select1=function(t,n){return e.select(t,n,!0)};var we=function(e){return function(t){return n(t)&&t.nodeType===e}};d(e,{isNodeLike:n,isArrayOfNodes:function(e){return Array.isArray(e)&&e.every(n)},isElement:we(p),isAttribute:we(f),isTextNode:we(m),isCDATASection:we(h),isProcessingInstruction:we(g),isComment:we(b),isDocumentNode:we(y),isDocumentTypeNode:we(v),isDocumentFragment:we(x)})}(M$)),M$);const F$=m(j$),z$=async(e,t,n)=>{const r=e.toLowerCase();if(r.endsWith(".xml"))return{type:"xml",content:null,isCertain:!0};if(r.endsWith(".xsd"))return{type:"xsd",content:null,isCertain:!0};if(r.endsWith(".json"))return{type:"json",content:null,isCertain:!0};if(r.endsWith(".zip"))return{type:"zip",content:null,isCertain:!0};let a=null;try{n||(t instanceof File?a=await t.text():t&&"function"==typeof t.async&&(a=await t.async("text")))}catch(o){return{type:"unknown",content:null,isCertain:!1}}return null===a||"string"!=typeof a?{type:"unknown",content:null,isCertain:!1}:(e=>{if("string"!=typeof e||""===e.trim())return!1;try{return ex(e),!0}catch(yU){return!1}})(a)?{type:"json",content:a,isCertain:!1}:(e=>{if("string"!=typeof e||""===e.trim())return!1;try{if("undefined"==typeof DOMParser)return!1;return 0===(new DOMParser).parseFromString(e,"text/xml").getElementsByTagName("parsererror").length}catch(o){return!1}})(a)?{type:"xml",content:a,isCertain:!1}:a.length>0&&!/[\0-��-�]/.test(a)?{type:"text",content:a,isCertain:!1}:{type:"unknown",content:a,isCertain:!1}},$$=e=>{const t=[];let n=0,r=e.replace(/\s*&\s*'/g,"&'");for(r=r.replace(/'\s*&\s*/g,"'&");n<r.length;){const e=r.indexOf("&'",n);if(-1===e){const e=r.substring(n).trim();e&&t.push({type:"xpath",value:e});break}const a=r.substring(n,e).trim();a&&t.push({type:"xpath",value:a});const o=r.indexOf("'&",e+2);if(-1===o){const e=r.substring(n).trim();e&&t.push({type:"xpath",value:e});break}const i=r.substring(e+2,o);t.push({type:"delimiter",value:i}),n=o+2}return t},B$=2,U$=4;let H$=U$;H$=B$;const V$=(...e)=>{},W$=(...e)=>{},G$=(...e)=>{},q$=(...e)=>{},Y$="nodeflip_data_extractor_state",X$=l.memo(({value:e,themeMode:t="light",structuredData:n,formatStructuredDataForDisplay:r,isJsonFile:a,enableSyntaxHighlighting:i=!1,nodeName:s=null,showSyntax:l=!0,isConcatenationResult:c=!1})=>{if(!e)return null;const u=o.useMemo(()=>{const t="string"==typeof e&&e.includes("<")&&e.includes(">");if(!l){if(c)return String(e);if(!a){if("string"==typeof e){const t=e.replace(/>\s*</g,">$LINE$<").replace(/<[^>]+>/g,"").split("$LINE$").map(e=>e.trim()).filter(Boolean);return t.join("\n")}return String(e)}try{return(e=>{const t=[],n=e=>{null!=e&&(Array.isArray(e)?e.forEach(e=>n(e)):"object"!=typeof e?t.push(String(e)):Object.values(e).forEach(e=>{null!=e&&("object"==typeof e?n(e):t.push(String(e)))}))};return n(e),t.join("\n")})("string"==typeof e?JSON.parse(e):e)}catch(Bg){return String(e).replace(/[{}\[\]"]/g,"").replace(/,\s*/g,"\n")}}if(!a&&t)return e;if(a){const t=(e=>{if("string"!=typeof e)return null;try{const t=JSON.parse(e);if(t&&"object"==typeof t&&!Array.isArray(t)){const n=Object.keys(t);if(1===n.length&&"object"==typeof t[n[0]])return e}}catch(Bg){}return null})(e);if(t)return t}return a||"string"!=typeof e||t?e:((e,t=null)=>{if(!e)return"";if(e.trim().startsWith("<")&&e.trim().endsWith(">"))return e;const n=t||"element";return`<${n}>${e}</${n}>`})(e,s)},[e,n,r,a,s,l,c]),d=u.length>1e5||u.split("\n").length>2e3;let p="text",f=!1;if(a)p="json",f=i&&!d&&l;else{const e=u.includes("<")&&u.includes(">"),t=(u.includes(": ")||u.includes('": "'))&&(u.includes("{")||u.includes("["));e?(p="markup",f=i&&l):t&&(p="json",f=i&&!d&&l)}if(!f)return _.jsx("div",{style:{fontFamily:"monospace",fontSize:"0.875rem",lineHeight:"1.3",whiteSpace:"pre-wrap",wordWrap:"break-word",overflowWrap:"break-word"},children:u});try{return _.jsx(hj,{language:p,style:"dark"===t?yj:bj,customStyle:{margin:0,padding:0,fontSize:"0.875rem",lineHeight:"1.3",fontFamily:"'Fira Code', 'Consolas', 'Monaco', monospace",background:"transparent",border:"none",borderRadius:0,overflow:"visible",maxHeight:"none",width:"100%",maxWidth:"100%",boxSizing:"border-box"},codeTagProps:{style:{fontFamily:"'Fira Code', 'Consolas', 'Monaco', monospace",fontSize:"0.875rem"}},showLineNumbers:!1,wrapLines:!0,wrapLongLines:!0,children:u})}catch(m){return _.jsx("div",{style:{fontFamily:"monospace",fontSize:"0.875rem",lineHeight:"1.3",whiteSpace:"pre-wrap",wordWrap:"break-word",overflowWrap:"break-word",color:"dark"===t?"#cccccc":"#333333"},children:u})}},(e,t)=>e.value===t.value&&e.themeMode===t.themeMode&&e.enableSyntaxHighlighting===t.enableSyntaxHighlighting&&e.isJsonFile===t.isJsonFile&&e.structuredData===t.structuredData&&e.nodeName===t.nodeName&&e.showSyntax===t.showSyntax),K$=l.memo(({index:e,style:t,data:n})=>{const{extractedValues:r,onExtractSingleFile:a,themeColors:o,themeMode:i}=n,s=r[e];return _.jsxs("div",{style:{...t,display:"flex",alignItems:"flex-start",backgroundColor:s.error?o.error:e%2==0?o.background.row:o.background.rowAlt,borderBottom:`1px solid ${o.border}`,color:o.text.primary,width:"100%",boxSizing:"border-box",minHeight:"52px"},children:[_.jsx("div",{style:{width:"40%",maxWidth:"40%",minWidth:0,padding:"8px 16px",
152wordWrap:"break-word",overflowWrap:"break-word",whiteSpace:"pre-wrap",lineHeight:"1.3",boxSizing:"border-box"},children:s.filename}),_.jsx("div",{style:{width:"40%",maxWidth:"40%",minWidth:0,padding:"8px 16px",boxSizing:"border-box"},children:_.jsx(X$,{value:s.displayXml||s.value,themeMode:i,structuredData:s.structuredData,formatStructuredDataForDisplay:n.formatStructuredDataForDisplay,isJsonFile:s.filename&&s.filename.toLowerCase().includes(".json"),enableSyntaxHighlighting:n.enableSyntaxHighlighting,showSyntax:n.showSyntax,isConcatenationResult:s.isConcatenationResult})}),_.jsx("div",{style:{width:"20%",padding:"8px 16px",textAlign:"center",color:"inherit",display:"flex",alignItems:"flex-start",justifyContent:"center",paddingTop:"16px"},children:!s.error&&s.zipFileId&&s.internalPath&&_.jsx(xm,{title:"Open this file in viewer",children:_.jsx(qo,{size:"small",onClick:()=>a(s.zipFileId,s.internalPath),disabled:!a,children:_.jsx(aC,{fontSize:"small"})})})})]})}),Z$=({index:e,style:t,data:n})=>{const{selectableModuleFiles:r,selectedModuleFiles:a,toggleModuleFileSelection:o}=n,i=r[e];return _.jsxs(sp,{style:{...t,width:"100%",boxSizing:"border-box"},dense:!0,component:"div",onClick:()=>o(i.id||i.name),sx:{cursor:"pointer","&:hover":{backgroundColor:"rgba(0, 0, 0, 0.04)"}},children:[_.jsx(dp,{children:_.jsx(Hc,{edge:"start",checked:a.includes(i.id||i.name),tabIndex:-1,disableRipple:!0,onClick:e=>{e.stopPropagation(),o(i.id||i.name)}})}),_.jsx(dp,{children:"zip"===i.fileType?_.jsx(Ov,{fontSize:"small"}):_.jsx(Rv,{fontSize:"small"})}),_.jsx(hp,{primary:i.name,sx:{wordBreak:"break-all"},primaryTypographyProps:{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}})]},i.id||i.name)},J$=({files:e=[],themeMode:t="light",onExtractSingleFile:n,onAddExtractedFileData:r,xmlToObj:a})=>{const i="dark"===t?{background:{paper:"#252526",default:"#1e1e1e",row:"#303031",rowAlt:"#252526",header:"#2c2f34"},text:{primary:"#cccccc",secondary:"#8e8e8e"},border:"#404040",error:"rgba(255, 0, 0, 0.1)"}:{background:{paper:"#ffffff",default:"#f4f6f8",row:"#ffffff",rowAlt:"#f5f5f5",header:"rgba(44, 82, 130, 0.05)"},text:{primary:"#212121",secondary:"#616161"},border:"rgba(224, 224, 224, 1)",error:"rgba(255, 0, 0, 0.05)"},s=o.useRef(),[c,u]=o.useState(""),[d,p]=o.useState([]),[f,m]=o.useState(!1),[h,g]=o.useState(!1),[b,y]=o.useState(null),[v,x]=o.useState(0),[S,w]=o.useState(0),[E,C]=o.useState(!1),[k,T]=o.useState([]),[A,I]=o.useState(!1),[N,R]=o.use
152State([]),[O,L]=o.useState(!1),[D,P]=o.useState(!0),[M,j]=o.useState(!1),[F,z]=o.useState([]),$=o.useRef(null),B=o.useRef(null),U=(e=>{const t=o.useRef(e);return o.useEffect(()=>{t.current=e},[e]),o.useEffect(()=>{const e=()=>{try{const e=t.current;if(e.xpathQuery||e.selectedModuleFiles.length>0){const t={xpathQuery:e.xpathQuery,selectedModuleFiles:e.selectedModuleFiles,selectAllModuleFiles:e.selectAllModuleFiles,timestamp:Date.now()};sessionStorage.setItem(Y$,JSON.stringify(t))}}catch(b){}};return window.addEventListener("beforeunload",e),()=>{e(),window.removeEventListener("beforeunload",e)}},[]),{restoreState:()=>{try{const e=sessionStorage.getItem(Y$);if(!e)return null;const t=JSON.parse(e),n=Date.now()-864e5;return t.timestamp&&t.timestamp<n?(sessionStorage.removeItem(Y$),null):t}catch(b){return null}}}})(l.useMemo(()=>({xpathQuery:c,selectedModuleFiles:k,selectAllModuleFiles:A}),[c,k,A]));o.useEffect(()=>{s.current&&s.current.resetAfterIndex(0)},[d,D,t]);const H=l.useMemo(()=>e.filter(e=>("xml"===e.fileType||"json"===e.fileType||"zip"===e.fileType)&&"xsd"!==e.fileType),[e]);o.useEffect(()=>{if(0===H.length)return;const e=k.length===H.length&&H.length>0;A!==e&&I(e)},[k.length,H.length]),o.useEffect(()=>{let e=!0;return(async()=>{try{V$("[DataExtractor] Attempting to load state from IndexedDB...");const t=await(async()=>{try{const e=await y$();return new Promise((t,n)=>{const r=e.transaction(m$,"readonly"),a=r.objectStore(m$).get("currentState");a.onsuccess=()=>{const e=a.result;t(e?{xpathQuery:e.xpathQuery||T$.xpathQuery,extractedValues:e.extractedValues||T$.extractedValues,zipFileNames:e.zipFileNames||T$.zipFileNames}:T$)},a.onerror=e=>{e.target.error,t(T$)},r.onerror=e=>{e.target.error,t(T$)}})}catch(b){return T$}})();e&&t?(V$("[DataExtractor] State loaded from IndexedDB:",t),u(t.xpathQuery||""),p(t.extractedValues||[]),g(!0)):e&&(V$("[DataExtractor] No state found in IndexedDB or component unmounted."),g(!0))}catch(t){q$("[DataExtractor] Error loading state from IndexedDB:",t),g(!0)}})(),()=>{e=!1}},[]),o.useEffect(()=>{if(!h)return void V$("[DataExtractor] Skipping save, state not initialized yet.");const e=setTimeout(()=>{const e=d.map(e=>{const{sourceZipFile:t,...n}=e;return t&&"object"==typeof t&&t.name?{...n,sourceZipFileName:t.name}:e});(async e=>{try{const t=await y$();return new Promise((n,r)=>{const a=t.transaction(m$,"readwrite"),o=a.objectStore(m$).put({id:"currentState",...e});o.onsuccess=()=>{},o.onerror=e=>{e.target.error,r(e.target.error)},a.oncomplete=()=>{n()},a.onerror=e=>{e.target.error,r(e.target.error)}})}catch(b){throw b}})({xpathQuery:c,extractedValues:e}).then(()=>V$("[DataExtractor] State saved to IndexedDB successfully.")).catch(e=>q$("[DataExtractor] Failed to save state to IndexedDB:",e))},500);return()=>clearTimeout(e)},[c,d,h]);const[V,W]=o.useState(!1);o.useEffect(()=>{if(!h||V)return;if(!sessionStorage.getItem("nodeflip_data_extractor_state"))return void W(!0);if(0===H.length&&e.length>0)return;const t=U.restoreState();if(t){if(t.xpathQuery&&t.xpathQuery!==c&&u(t.xpathQuery),t.selectedModuleFiles&&t.selectedModuleFiles.length>0){const e=H.map(e=>e.id||e.name),n=t.selectedModuleFiles.filter(t=>e.includes(t));n.length>0&&(T(n),I(t.selectAllModuleFiles&&n.length===e.length))}sessionStorage.removeItem("nodeflip_data_extractor_state"),W(!0)}else W(!0)},[h,H,e.length,V,c,U]),o.useEffect(()=>{try{const e=localStorage.getItem("nodeflip_xpath_recent_queries");if(e){const t=JSON.parse(e);Array.isArray(t)&&z(t.filter(e=>"string"==typeof e))}}catch(Bg){}},[]);const G=async(e,t,n)=>{V$(`[processFileContent] Entered. Filename: ${t}, Received isJsonFileParam (type ${typeof n}): ${n}. Content snippet: ${(e||"").substring(0,100)}`);const r=Boolean(n);V$(`[processFileContent] After Boolean() conversion, isJsonFile: ${r}`),V$(`[processFileContent] Current xpathQuery: "${c}"`);const a=/\s*&\s*'/.test(c)&&/'\s*&\s*/.test(c);if(V$(`[processFileContent] Calculated hasConcatenation (with regex test): ${a}`),r)try{const n=ex(e);if(V$(`[processFileContent] JSON parsed successfully for ${t}
152`),a){V$(`[processFileContent] Using concatenation logic for JSON ${t}`);const e=$$(c),r=e.filter(e=>"xpath"===e.type);if(0===r.length)return q$("[processFileContent] No XPath segment found in concatenation query for JSON."),[{filename:t,value:"Error: Invalid concatenation query for JSON",error:!0}];const a=[];let o=0;for(const s of r){const e=J(n,s.value,t,!1);a.push({xpath:s.value,results:e,columnName:ie(s.value)}),o=Math.max(o,e.length)}const i=[];for(let n=0;n<o;n++){const r={},o=[];a.forEach(e=>{const t=e.results[n];t&&(t.structuredData?Object.assign(r,t.structuredData):r[e.columnName]=t.value)});for(const t of e)if("xpath"===t.type){const e=a.find(e=>e.xpath===t.value),r=e&&e.results[n],i=r?r.value:"";o.push(i)}else"delimiter"===t.type&&o.push(t.value);i.push({filename:t,value:o.join(""),structuredData:r,isConcatenationResult:!0})}return i}return J(n,c,t,!1)}catch(o){return q$(`[processFileContent] Error parsing JSON file ${t}:`,o),[{filename:t,value:`Error: Invalid JSON - ${o.message}`,error:!0}]}else try{if(V$(`[processFileContent] XML for ${t} - VERIFYING content before parse. Type: ${typeof e}, Length: ${e?.length}. Snippet:`,(e||"").substring(0,200)),"string"!=typeof e||!e.trim())return q$(`[process
152FileContent] XML for ${t} - Content is NOT a valid non-empty string before parsing. Aborting XML processing.`),[{filename:t,value:"Error: Invalid or empty content for XML processing",error:!0}];let n=e;65279===n.charCodeAt(0)&&(V$(`[processFileContent] BOM detected in ${t}. Removing it.`),n=n.substring(1));const a=(new Hx.DOMParser).parseFromString(n,"text/xml");V$(`[processFileContent] XML for ${t} - xmlDoc type: ${typeof a}`),a?(V$(`[processFileContent] XML for ${t} - xmlDoc.documentElement exists: ${!!a.documentElement}`),a.documentElement&&V$(`[processFileContent] XML for ${t} - xmlDoc.documentElement.nodeName: ${a.documentElement.nodeName}`)):G$(`[processFileContent] XML for ${t} - xmlDoc is null/undefined after parsing.`),V$(`[processFileContent] XML parsed (by xmldom) for ${t}`);const o=a.getElementsByTagName("parsererror");if(o.length>0){const e=o[0];return G$(`[processFileContent] XML parsererror in ${t}:`,e.textContent),[{filename:t,value:`Error: Invalid XML content detected - ${e.textContent}`,error:!0}]}if(!r&&c.startsWith("/")&&!c.includes("//")&&!c.includes("@")&&!c.includes("*")&&a.documentElement&&a.documentElement.nodeName){const e=c.split("/").filter(e=>""!==e);if(e.length>0&&e[0]===a.documentElement.nodeName){const n=[],r=(a,o,i)=>{if(!a||"function"!=typeof a.getElementsByTagName)return void V$(`[traverseNodes] Halting traversal for path ${i} at index ${o}: currentNode is invalid or not an element.`);if(o>=e.length)return;const s=e[o],l=(e[e.length-1],s.match(/(\w+)\[(\d+)\]/));if(l){const[,u,d]=l,p=parseInt(d,10)-1,f=a.getElementsByTagName(u);if(f&&f.length>p&&f[p]){const a=f[p];if(o===e.length-1){const e=re(c),r=Array.from(a.childNodes).filter(e=>1===e.nodeType);let o=null;const i=ee(a);i?o=i:r.length>0&&(o={},r.forEach(e=>{const t=e.nodeName,n=e.textContent||"",r=`${t}`;o[r]?(Array.isArray(o[r])||(o[r]=[o[r]]),o[r].push(n)):o[r]=n}));let s=Q(a);const l={filename:t,value:a.textContent||"",columnName:e,displayXml:s};o&&(l.structuredData=o),n.push(l)}else r(a,o+1,`${i}/${s}`)}else V$(`[traverseNodes] Indexed element ${u}[${p+1}] not found or invalid at path ${i}`)}else{const l=a.getElementsByTagName(s);if(l&&l.length>0)if(o===e.length-1){const e=re(c);for(let r=0;r<l.length;r++)if(l[r]){const a=l[r],o=Array.from(a.childNodes).filter(e=>1===e.nodeType);let i=null,s=a.textContent||"";const c=ee(a);if(c)i=c;else if(o.length>0){const e=o.map(e=>e.nodeName);[...new Set(e)].length<o.length&&o.length>5?s=a.toString&&"function"==typeof a.toString?a.toString():`<${a.nodeName}>${a.innerHTML||a.textContent||""}</${a.nodeName}>`:(i={},o.forEach(e=>{const t=e.nodeName,n=e.textContent||"",r=`${t}`;i[r]?(Array.isArray(i[r])||(i[r]=[i[r]]),i[r].push(n)):i[r]=n}))}s=Q(a);const u={filename:t,value:a.textContent||"",columnName:e,displayXml:s};i&&(u.structuredData=i),n.push(u)}}else for(let e=0;e<l.length;e++)l[e]&&r(l[e],o+1,`${i}/${s}`);else V$(`[traverseNodes] Element ${s} not found at path ${i}`)}};if(r(a.documentElement,1,`/${e[0]}`),n.length>0){V$(`[processFileContent] XML simple path optimization successful for ${t}`);const e=c.split("/").filter(e=>e);if(1===e.length&&a.documentElement&&a.documentElement.nodeName===e[0])try{const e=a.documentElement,t=Q(e);1===n.length&&(n[0].value=t)}
152catch(yU){q$(`[processFileContent] Error preserving XML structure for root element in ${t}:`,yU)}n.some(e=>e.structuredData);return n}V$(`[processFileContent] XML simple path optimization found no results for ${t}. Will try standard XPath.`)}}if(c.includes("&'")&&c.includes("'&")||c.includes(" & '")&&c.includes("' & ")){V$(`[processFileContent] Using concatenation logic for XML ${t}`);const e=$$(c),n=e.filter(e=>"xpath"===e.type);if(0===n.length)return[];const r=[];let o=0;for(const t of n){const e=await te(t.value,a,!1);let n=null;e&&e.structuredData&&(n=e.structuredData),r.push({xpath:t.value,values:e,structuredData:n,columnName:re(t.value)}),o=Math.max(o,Array.isArray(e)?e.length:0)}const i=[];for(let a=0;a<o;a++){const n={},o=[];r.forEach(e=>{if(e.structuredData&&e.structuredData[a])Object.assign(n,e.structuredData[a]);else if(e.values&&void 0!==e.values[a]){const t=e.values[a]||"";n[e.columnName]=t}});for(const t of e)if("xpath"===t.type){const e=r.find(e=>e.xpath===t.value);let n=e&&e.values&&e.values[a]?e.values[a]:"";"string"==typeof n&&n.trim().startsWith("<")&&(n=n.replace(/<[^>]+>/g,"").replace(/\s+/g," ").trim()),o.push(n)}else"delimiter"===t.type&&o.push(t.value);i.push({filename:t,value:o.join(""),structuredData:n,isConcatenationResult:!0})}return i}{let e=c;if(e.includes("#text")&&(e=e.replace(/#text/g,"text()")),/\/$/.test(e)){const t=e;e=e.replace(/\/+$/,""),V$(`[processFileContent] Trimmed trailing slash: '${t}' -> '${e}'`)}V$(`[processFileContent] Calling evaluateXPathSegment for XML ${t} with query: ${e}`);const n=await te(e,a,!1);if(n.length>0){V$(`[processFileContent] evaluateXPathSegment successful for XML ${t}`);const r=re(e);return n.map((e,a)=>{const o=n.structuredData?n.structuredData[a]:null;let i="",s=e||"";return"string"==typeof e&&e.trim().startsWith("<")&&(i=e,s=e.replace(/<[^>]+>/g,""),s=s.replace(/\s+/g," ").trim()),o?{filename:t,value:s,structuredData:o,...i?{displayXml:i}:{}}:{filename:t,value:s,columnName:r,...i?{displayXml:i}:{}}})}return V$(`[processFileContent] evaluateXPathSegment found no matches for XML ${t}`),[]}}
152catch(o){return q$(`[processFileContent] Error processing XML file ${t}:`,o),[{filename:t,value:`Error: ${o.message}`,error:!0}]}},q=e=>{if(!e||"object"!=typeof e)return"";const t=Object.entries(e);return 0===t.length?"":t.map(([e,t])=>{const n=e.includes("_")?e.split("_").slice(1).join("_"):e;return Array.isArray(t)?t.map(e=>`<${n}>${e}</${n}>`).join("\n"):`<${n}>${t}</${n}>`}).join("\n")},Y=l.useMemo(()=>({extractedValues:d,onExtractSingleFile:n,themeColors:i,themeMode:t,formatStructuredDataForDisplay:q,enableSyntaxHighlighting:O,showSyntax:D,xpathQuery:c}),[d,n,i,t,O,D,c]),X=M,K=D&&!X,Z=O&&K;Y.showSyntax=K,Y.enableSyntaxHighlighting=Z;const J=(e,t,n,r=!1)=>{V$(`[evaluateJsonPath] Entered. Filename: ${n}, PathQuery: ${t}, ReturnRaw: ${r}. Parsed JSON (type): ${typeof e}, isArray: ${Array.isArray(e)}`);try{const a=t.split("/").filter(e=>e);let o=e;for(let e=0;e<a.length;e++){const i=a[e];if(null==o)return V$(`[evaluateJsonPath] Path traversal stopped at part '${i}', data is null/undefined.`),[];const s=i.match(/([^[]+)\[(\d+)]/);if(s){const[,e,t]=s,n=parseInt(t,10)-1;if(!o[e]||!Array.isArray(o[e])||n<0||n>=o[e].length)return V$(`[evaluateJsonPath] Invalid index or not an array at part '${i}'. Key: ${e}, Index: ${n}`),[];o=o[e][n]}else if(Array.isArray(o)){if(e===a.length-1){const e=o.map(e=>e?e[i]:void 0).filter(e=>void 0!==e);if(r)return e.map(e=>"object"==typeof e?JSON.stringify(e,null,2):String(e));{const r=ie(t);return e.map(e=>"object"==typeof e&&null!==e?{filename:n,value:JSON.stringify(e,null,2),structuredData:e}:{filename:n,value:String(e),columnName:r,displayXml:JSON.stringify({[r]:e},null,2)})}}if(G$(`[evaluateJsonPath] Intermediate array traversal for key '${i}' might be complex.`),o=o.map(e=>e?e[i]:void 0).filter(e=>void 0!==e),0===o.length)return[]}else{if("object"!=typeof o)return G$(`[evaluateJsonPath] Cannot traverse part '${i}' on non-object/non-array.`),[];if(!Object.prototype.hasOwnProperty.call(o,i))return V$(`[evaluateJsonPath] Path part '${i}' not found in object.`),[];o=o[i]}}if(void 0===o)return[];if(Array.isArray(o)){if(r)return o.map(e=>"object"==typeof e?JSON.stringify(e,null,2):String(e));{const e=ie(t);return o.map(t=>"object"==typeof t&&null!==t?{filename:n,value:JSON.stringify(t,null,2),structuredData:t}:{filename:n,value:String(t),columnName:e,displayXml:JSON.stringify({[e]:t},null,2)})}}if("object"==typeof o&&null!==o){if(r)return[JSON.stringify(o,null,2)];{const e=t.split("/").filter(e=>e),r=e.length>0?e[e.length-1]:"object",a=JSON.stringify({[r]:o},null,2);return[{filename:n,value:JSON.stringify(o,null,2),structuredData:o,displayXml:a}]}}if(r)return[String(o)];{const e=ie(t),r=t.split("/").filter(e=>e),a=r.length>0?r[r.length-1]:e,i=JSON.stringify({[a]:o},null,2);return[{filename:n,value:String(o),columnName:e,displayXml:i}]}}catch(a){return q$(`[evaluateJsonPath] Error evaluating path '${t}':`,a),r?[]:[{filename:n,value:`Error evaluating path: ${a.message}`,error:!0}]}},Q=e=>{if(!e||"object"!=typeof e)return"";if("number"!=typeof e.nodeType)return"";try{if(1===e.nodeType){const t=e.nodeName;let n="";if(e.attributes)for(let a=0;a<e.attributes.length;a++){const t=e.attributes[a];n+=` ${t.name}="${t.value}"`}if(!e.hasChildNodes())return`<${t}${n}/>`;let r="";for(let a=0;a<e.childNodes.length;a++){const t=e.childNodes[a];if(1===t.nodeType)r+=Q(t);else if(3===t.nodeType){r+=(t.nodeValue||"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}}return`<${t}${n}>${r}</${t}>`}if(3===e.nodeType){return(e.nodeValue||"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/\"/g,""").replace(/'/g,"'")}return 9===e.nodeType&&e.documentElement?Q(e.documentElement):2===e.nodeType?String(e.value||""):String(e.textContent||e.nodeValue||"")}catch(yU){return q$("[serializeXmlNode] Error in serialization:",yU),String(e.textContent||e.nodeValue||"")}},ee=e=>{if(!e||"object"!=typeof e||"number"!=typeof e.nodeType)return null;const t=Array.from(e.childNodes).filter(e=>1===e.nodeType);if(0===t.length)return null;const n={};
152t.forEach(e=>{const t=e.nodeName;n[t]||(n[t]=[]),n[t].push(e)});const r=Object.values(n).some(e=>e.length>1);if(!r)return null;const a={};return Object.entries(n).forEach(([e,t])=>{const n=t.map(t=>{const n=Array.from(t.childNodes).filter(e=>1===e.nodeType);if(0===n.length)return{[e]:t.textContent||""};const r={};return n.forEach(e=>{const t=e.nodeName,n=e.textContent||"";Object.prototype.hasOwnProperty.call(r,t)?(Array.isArray(r[t])||(r[t]=[r[t]]),r[t].push(n)):r[t]=n}),r});a[e]=n}),a},te=async(e,t,n=!1)=>{V$(`[evaluateXPathSegment] Starting FOR XML. Query: ${e}, xmlDoc available: ${!!t}`);const r=(e.startsWith("/"),e.split("/").filter(e=>e)),a=1===r.length,o=r.length>0?r[r.length-1]:"";if(n)return q$("[evaluateXPathSegment] Error: This function should not be called for JSON files anymore."),[];if(!t||!t.documentElement)return V$("[evaluateXPathSegment] Exiting early: Invalid xmlDoc or documentElement."),[];let i=[];if(e.startsWith("/")&&!e.includes("//")&&!e.includes("@")&&!e.includes("*"))try{const n=e.split("/").filter(e=>""!==e),r=1===n.length;n[n.length-1];if(r&&t.documentElement&&t.documentElement.nodeName===n[0])try{const e=t.documentElement;let r;return r=Q(e),V$(`[evaluateXPathSegment] Direct root element handling for ${n[0]}`),[r]}catch(yU){q$("[evaluateXPathSegment] Error serializing root element:",yU)}let a=t,o=null;for(let e=0;e<n.length;e++){const t=n[e],r=e===n.length-1,i=t.match(/(\w+)\[(\d+)\]/);if(i){const[,e,t]=i,n=parseInt(t,10)-1,s=a.getElementsByTagName(e);if(r){o=s;break}if(!(s.length>n)){a=null;break}a=s[n]}else{const e=a.getElementsByTagName(t);if(!(e.length>0)){a=null;break}if(r){o=e;break}a=e[0]}}const s=o||(a!==t?[a]:[]);if(s.length>0){const e=[];for(let t=0;t<s.length;t++){const n=s[t];if(n&&n.textContent)if(i.push(n.textContent),1===n.nodeType&&n.hasChildNodes()){const t=Array.from(n.childNodes).filter(e=>1===e.nodeType);if(t.length>0){const r=ee(n);if(r)e.push(r);else{const n={};t.forEach(e=>{const t=e.nodeName,r=e.textContent||"";n[t]=r}),e.push(n)}}else e.push(null)}else e.push(null)}e.some(e=>null!==e)&&(i.structuredData=e)}}catch(u){q$("[evaluateXPathSegment] Error during simple DOM traversal:",u)}if(i.length>0)return V$("[evaluateXPathSegment] Returning results from simple DOM traversal:",i),i;const s=(e=>{const t={},n=e.documentElement.getAttribute("xmlns");n&&(t.default=n);const r=e.documentElement.attributes;for(let a=0;a<r.length;a++){const e=r[a];if(e.name.startsWith("xmlns:")){t[e.name.substring(6)]=e.value}}return t})(t),l=e=>"default"===e&&s.default?s.default:s[e]?s[e]:!s.default||"ns0"!==e&&"ns1"!==e&&"ns2"!==e?null:s.default;let c;try{V$(`[evaluateXPathSegment] Attempting standard xpath.select with query: ${e}`),c=F$.select(e,t,l),a&&c&&1===c.length&&1===c[0].nodeType&&c[0].nodeName===e.replace(/^\//,"")&&V$("[evaluateXPathSegment] Found root element, will preserve XML structure")}catch(u){q$("[evaluateXPathSegment] Error during standard xpath.select:",u)}if((!c||Array.isArray(c)&&0===c.length)&&s.default)try{const n="ns0",r={};r[n]=s.default;const a=e=>e===n?r[e]:s[e]||null;if(e.includes("ns0:")){const n=e;c=F$.select(n,t,a)}else{const r=e.split("/").filter(e=>e).map(e=>{if("text()"===e||e.includes("[")||e.includes("@")){if("text()"===e)return e;const t=e.search(/[\[@]/);return`${n}:${e.substring(0,t)}${e.substring(t)}`}return`${n}:${e}`}),o=`/${r.join("/")}`;c=F$.select(o,t,a)}}catch(u){}if(!c||Array.isArray(c)&&0===c.length)try{const n=e.split("/").filter(e=>e).map(e=>{if(e.startsWith("ns0:"))return`*[local-name()='${e.substring(4)}']`;if("text()"===e)return"text()";if(e.startsWith("@"))return`@*[local-name()='${e.substring(1)}']`;if(e.includes("[")){const[t,n]=e.split("[");return`*[local-name()='${t}'][${n}`}return`*[local-name()='${e}']`}),r=`/${n.join("/")}`;c=F$.select(r,t)}catch(u){}if("string"==typeof c||"number"==typeof c||"boolean"==typeof c)return[String(c)];if(c&&c.length>0){const e=[],t=[];return o&&c.length>0&&1===c[0].nodeType&&c[0].nodeName,c.forEach(n=>{let r="",a=null;try{r=Q(n);const e=Array.from(n.childNodes).filter(e=>1===e.nodeType);if(e.length>0){const t=ee(n);t?a=t:(a={}
152,e.forEach(e=>{const t=e.nodeName,n=e.textContent||"";a[t]=n}))}}catch(yU){q$("[evaluateXPathSegment] Error preserving XML structure for root element:",yU),r=n.textContent||""}e.push(r),t.push(a)}),t.some(e=>null!==e)&&(e.structuredData=t),e}return[]},ne=async()=>{if(0===k.length||!c)return y("Please select file(s) and provide an XPath query"),m(!1),void w(0);if($.current)try{$.current.blur()}catch(Bg){}V$("[EvFM] Entered extractValuesFromModuleFiles. Selected files count:",k.length),B.current=new AbortController;const e=B.current.signal;m(!0),y(null),p([]),w(0);const t=/\s*&\s*'/.test(c)&&/'\s*&\s*/.test(c);j(t);try{const e=String(c||"").trim();if(e){const t=[e,...F.filter(t=>t!==e)].slice(0,10);z(t),localStorage.setItem("nodeflip_xpath_recent_queries",JSON.stringify(t))}}catch(Bg){}const n=H.filter(e=>k.includes(e.id||e.name));let r=[],a=0;V$("[EvFM] Starting pre-count. Number of selected top-level items:",n.length);for(const c of n)if("zip"===c.fileType&&c.rawData){V$(`[EvFM] Pre-counting ZIP: ${c.name}`);try{const e=new vx,t=await e.loadAsync(c.rawData);let n=0;for(const r in t.files)if(Object.prototype.hasOwnProperty.call(t.files,r)){const e=t.files[r];if(!(e.dir||r.startsWith("__MACOSX/")||r.includes("/__MACOSX/")||r.includes("._"))){const t=await z$(r,e);"xml"!==t.type&&"json"!==t.type||(n++,V$(`[EvFM] Pre-count: Found processable internal file ${r} (type: ${t.type}) in ${c.name}`))}}a+=n,0===n&&G$(`[EvFM] Pre-count: ZIP file ${c.name} contained no processable XML/JSON files.`)}catch(yU){q$(`[EvFM] Error pre-counting files in ZIP ${c.name}:`,yU),a++,G$(`[EvFM] Adding 1 to actualFilesToProcessCount for potentially corrupt ZIP ${c.name} to ensure it gets processed.`)}}else"xml"!==c.fileType&&"json"!==c.fileType||(a++,V$(`[EvFM] Pre-count: Found direct processable file ${c.name} (type: ${c.fileType})`));V$("[EvFM] Pre-count finished. Total actualFilesToProcessCount:",a),x(a);let o=0;for(const c of n){if(e.aborted)return void V$("[EvFM] Extraction cancelled during file processing");if("xml"===c.fileType||"json"===c.fileType){o++,a>0&&w(o);try{const e=c.sourceContent;if(e)try{const t="json"===c.fileType;V$(`[extractValuesFromModuleFiles] Calling processFileContent for ${c.name}, isJson: ${t}`);const n=await G(e,c.name,t);r=r.concat(n)}catch(i){q$(`Error processing ${c.fileType} file ${c.name}:`,i),r.push({filename:c.name,value:`Error: ${i.message}`,error:!0})}else r.push({filename:c.name,value:"No content available",error:!0})}catch(s){q$(`Error processing ${c.fileType} file ${c.name}:`,s),r.push({filename:c.name,value:`Error: ${s.message}`,error:!0})}}else if("zip"===c.fileType&&c.rawData){V$(`[EvFM] Processing ZIP file: ${c.name}`);try{const t=new vx,i=await t.loadAsync(c.rawData);let s=[];for(const e in i.files)if(Object.prototype.hasOwnProperty.call(i.files,e)){const t=i.files[e];if(t.dir||e.startsWith("__MACOSX/")||e.includes("/__MACOSX/")||e.includes("._"))continue;const n=await z$(e,t);V$(`[EvFM] File: ${e}, Determined Type: ${n.type}, Certain: ${n.isCertain}`),"xml"===n.type||"json"===n.type?(s.push({name:e,entry:t,content:n.content,isXml:"xml"===n.type,isJson:"json"===n.type}),V$(`[EvFM] Added ${e} as ${n.type} to process list.`)):V$(`[EvFM] Skipped ${e}, type: ${n.type}`)}if(s.length>0)for(const n of s){if(e.aborted)return void V$("[EvFM] Extraction cancelled during ZIP file processing");o++,a>0&&w(o);try{V$(`[EvFM] Preparing content for ${n.name}. internalFileDetail.content type: ${typeof n.content}, isNull: ${null===n.content}`);let e="[NOT_YET_READ]";if(null===n.content)try{e=await n.entry.async("string"),V$(`[EvFM] Content for ${n.name} read via async('string'). Type: ${typeof e}, Length: ${e?.length}.`)}catch(yU){q$(`[EvFM] Error reading content for ${n.name} via async('string'):`,yU),e="[READ_ERROR]"}const t=n.content||e;V$(`[EvFM] LOOP: Processing ${c.name}/${n.name}. Using isJson: ${n.isJson}. Final content type for processFileContent: ${typeof t}`);const a=(await G(t,`${c.name}/${n.name}`,n.isJson)).map(e=>({...e,zipFileId:c.id,internalPath:n.name}));r=r.concat(a)}catch(l){q$(`Error processing internal file ${n.name} from ${c.name}:`,l),r.push({filename:`${c.name}/${n.name}`,value:`Error: ${l.message}`,error:!0,zipFileId:c.id,internalPath:n.name})}}const u=n.some(e=>e.id===c.id||e.name===c.name);u&&s.length}catch(u){q$(`Error processing ZIP file ${c.name}:`,u),r.push({filename:c.name,value:`Error processing ZIP: ${u.message}`,error:!0})}}else r.push({filename:c.name,value:`Unsupported file type: ${c.fileType}`,error:!0})}W$("[EvFM] Extraction complete. Number of results:",r.length),m(!1),w(0),B.current=null,0===r.length?y(0===a?"No files were selected or processed":"No matches found for the XPath query in the processed files"):p(r)},re=e=>{if(!e)return"Value";let t=e.replace(/^\/+/,"");const n=t.split("/").filter(e=>e).map(e=>{const t=e.match(/^([^[]+)\[/);return t?t[1]:e});if(t.includes("@")){const e=t.match(/@([^\/\[\]]+)/);if(e&&n.length>=2){return`${n[n.length-2]}_${e[1]}`}if(e)return e[1]}if(t.includes("text()")){t=t.replace(/\/text\(\)$/,"");const e=t.split("/").filter(e=>e).map(e=>{const t=e.match(/^([^[]+)\[/);return t?t[1]:e});if(e.length>=2){return`${e[e.length-2]}_${e[e.length-1]}`}if(1===e.length)return e[0]}if(n.length>=2){return`${n[n.length-2]}_${n[n.length-1]}`}return 1===n.length?n[0]:"Value"},ae=(e,t,n={})=>{const r=[],a={...n},o="string"==typeof t&&t.toLowerCase().includes(".json"),i=[];if(Object.entries(e).forEach(([e,t])=>
152{if(Array.isArray(t)&&t.length>0&&"object"==typeof t[0])i.push({key:e,array:t});else if(t&&"object"==typeof t&&!Array.isArray(t)){const n=[];Object.entries(t).forEach(([t,r])=>{Array.isArray(r)&&r.length>0&&n.push({key:o?`${t}`:`${e}_${t}`,array:r,parentKey:e})}),i.push(...n),Object.entries(t).forEach(([t,n])=>{if(!Array.isArray(n)){a[o?`${t}`:`${e}_${t}`]=n}})}else a[e]=t}),0===i.length)return[{Filename:t,...a}];const s=Math.max(...i.map(e=>e.array.length));for(let l=0;l<s;l++){const e={Filename:t,...a};i.forEach(({key:t,array:n})=>{const r=n[l];r&&"object"==typeof r&&Object.entries(r).forEach(([n,r])=>{e[o?`${n}`:`${t}_${n}`]=r})}),r.push(e)}return r},oe=e=>{const t=null==e?"":String(e);if(!t)return'""';const n=t.includes(",")||t.includes('"')||t.includes("\n"),r=t.replace(/"/g,'""');return n?`"${r}"`:r},ie=e=>{if(!e)return"Value";let t=e.replace(/^\/+/,"");const n=t.match(/@([^\/\[\]]+)/);if(n)return n[1];t=t.replace(/\/text\(\)$/,"");const r=t.split("/").filter(Boolean).map(e=>{const t=e.match(/^([^[]+)\[/);return t?t[1]:e});return r.length?r[r.length-1]:"Value"};return _.jsxs(pc,{sx:{p:3,maxWidth:"100%"},children:[_.jsx(di,{variant:"body2",color:"text.secondary",paragraph:!0,children:"Extract values from XML/JSON files using XPath queries. You can extract from individual XML/JSON files or from files within ZIP archives. Select files from the loaded files below."}),_.jsx(Uu,{sx:{my:2}}),_.jsxs(lo,{sx:{mb:3,p:2},children:[_.jsx(di,{variant:"subtitle1",gutterBottom:!0,children:"Select Files"}),_.jsx(pc,{sx:{mb:2},children:_.jsx(od,{control:_.jsx(Hc,{checked:A,onChange:e=>{const t=e.target.checked;I(t),T(t?H.map(e=>e.id||e.name):[])},disabled:0===H.length}),label:"Select All Files"})}),0===H.length?_.jsx(ai,{severity:"info",children:"No XML/JSON files found in the Files module. Please load XML/JSON files first."}):_.jsx(lo,{sx:{border:`1px solid ${i.border}`,borderRadius:1,height:"200px",overflow:"hidden"},children:_.jsx(_v,{height:200,itemCount:H.length,itemSize:40,width:"100%",itemData:{selectableModuleFiles:H,selectedModuleFiles:k,toggleModuleFileSelection:e=>{T(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e])}},children:Z$})})]}),_.jsxs(pc,{sx:{display:"flex",alignItems:"flex-start",mb:3},children:[_.jsx(Gl,{freeSolo:!0,disableClearable:!0,options:F.slice(0,10),inputValue:c,onInputChange:(e,t)=>
152u(t),onKeyDown:e=>{if("Enter"===e.key){e.target;const t=document.querySelector('[role="listbox"]'),n=t&&"none"!==t.style.display,r=document.querySelector('[role="option"][aria-selected="true"]');if(n&&r)return;if(e.preventDefault(),$.current)try{$.current.blur()}catch(Bg){}k.length>0&&c&&!f&&ne()}},slotProps:{popper:{placement:"bottom-start",modifiers:[{name:"sameWidth",enabled:!0,phase:"beforeWrite",fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>{const t=e.elements.reference;t&&(e.elements.popper.style.width=`${t.clientWidth}px`)}},{name:"flip",enabled:!1},{name:"preventOverflow",enabled:!1},{name:"computeStyles",options:{adaptive:!1}},{name:"dynamicHeight",enabled:!0,phase:"afterWrite",fn:({state:e})=>{const t=e.rects.reference,n=window.innerHeight-(t.y+t.height)-20,r=Math.min(360,Math.max(100,n)),a=e.elements.popper.querySelector('[role="listbox"]');a&&(a.style.maxHeight=`${r}px`,a.style.overflowY="auto")}}]},listbox:{sx:{overflowY:"auto"}}},sx:{flexGrow:1,mr:2},renderInput:e=>_.jsx(oh,{...e,inputRef:$,fullWidth:!0,label:"XPath Query",variant:"outlined",placeholder:"e.g., //element/@attribute or //path1&'-'&//path2 to concatenate values",InputProps:{...e.InputProps,endAdornment:c?_.jsx(_d,{position:"end",children:_.jsx(qo,{"aria-label":"clear xpath query",onClick:()=>{u(""),p([]),y(null)},children:_.jsx(PE,{})})}):null}})}),_.jsx(Ec,{variant:"contained",color:"primary",startIcon:_.jsx(HE,{}),onClick:ne,disabled:0===k.length||!c||f,sx:{ml:2,whiteSpace:"nowrap"},children:f?"Processing...":"Extract Values"})]}),_.jsxs(di,{variant:"body2",color:"text.secondary",sx:{mb:2},children:["For concatenation, use syntax: ",_.jsx("code",{children:"/path/to/element1 & 'delimiter' & /path/to/element2"})]}),b&&_.jsx(ai,{severity:"error",sx:{mb:3},children:b}),f&&_.jsxs(pc,{sx:{display:"flex",flexDirection:"column",alignItems:"center",my:3},children:[_.jsx(Uo,{}),_.jsxs(di,{variant:"body2",sx:{mt:1},children:["Processing XML files: ",S," of ",v]}),_.jsx(Ec,{variant:"outlined",color:"secondary",onClick:()=>{B.current&&B.current.abort(),m(!1),w(0)},sx:{mt:2},children:"Cancel"})]}),d.length>0&&_.jsxs(_.Fragment,{children:[_.jsxs(pc,{sx:{display:"flex",justifyContent:"space-between",alignItems:"flex-start",mb:2},children:[_.jsxs(pc,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:{xs:"flex-start",sm:"center"},gap:{xs:0,sm:2}},children:[_.jsx(od,{control:_.jsx(Hc,{checked:Z,onChange:e=>L(e.target.checked),color:"primary",size:"small",disabled:!K}),label:_.jsxs(pc,{children:[_.jsx(di,{variant:"body2",component:"span",children:"Syntax Highlighting"}),_.jsx(di,{variant:"caption",color:"text.secondary",component:"span",sx:{ml:1},children:"(may affect performance with long rows)"})]}),sx:{mb:0}}),_.jsx(od,{control:_.jsx(Hc,{checked:K,onChange:e=>P(e.target.checked),color:"primary",size:"small",disabled:X}),label:_.jsx(pc,{children:_.jsx(di,{variant:"body2",component:"span",children:"Show XML tags/JSON keys"})}),sx:{mb:0}})]}),_.jsxs(Sm,{direction:"row",spacing:2,children:[_.jsx(xm,{title:"Copy all values to clipboard",children:_.jsx(Ec,{variant:"outlined",startIcon:_.jsx(RS,{}),onClick:()=>{if(0===d.length)return;const e=d.map(e=>{const t=e.filename&&e.filename.toLowerCase().includes(".json"),n=e.displayXml||e.value||"";if(D)return String(n);if(!t){const e=String(n||"").replace(/>\s*</g,">$LINE$<").replace(/<[^>]+>/g,"").split("$LINE$").map(e=>e.trim()).filter(Boolean);return e.join("\n")}try{return(e=>{const t=[],n=e=>{null!=e&&(Array.isArray(e)?e.forEach(n):"object"!=typeof e?t.push(String(e)):Object.values(e).forEach(e=>{null!=e&&("object"==typeof e?n(e):t.push(String(e)))}))};return n(e),t.join("\n")})("string"==typeof n?JSON.parse(n):n)}catch(Bg){return String(n).replace(/[{}\[\]"]/g,"").replace(/,\s*/g,"\n")}}).join("\n");navigator.clipboard.writeText(e).then(()=>{C(!0),setTimeout(()=>C(!1),3e3)}).catch(e=>{y("Failed to copy to clipboard: "+e.message)})},children:"Copy Values"})}),_.jsx(xm,{title:"Download as CSV file",children:_.jsx(Ec,{variant:"outlined",startIcon:_.jsx(UE,{}),onClick:()=>
152{if(0===d.length)return;const{columns:e,rows:t}=(e=>{const t=new Set(["Filename"]),n=["Filename"],r=[],a=[],o=[];e.forEach(e=>{if(e.structuredData)a.push({filename:e.filename,data:e.structuredData});else{let t=e.columnName||"Value";const n=t.split("_");t=n[n.length-1],o.push({filename:e.filename,data:{[t]:e.value}})}}),a.forEach(({filename:e,data:a})=>{const o=ae(a,e);r.push(...o),o.forEach(e=>{Object.keys(e).forEach(e=>{t.has(e)||(t.add(e),"Filename"!==e&&n.push(e))})})}),o.forEach(({filename:e,data:a})=>{const o=ae(a,e);r.push(...o),o.forEach(e=>{Object.keys(e).forEach(e=>{t.has(e)||(t.add(e),"Filename"!==e&&n.push(e))})})});const i=n,s=r.map(e=>{const t={};return i.forEach(n=>{t[n]=e[n]||""}),t});return{columns:i,rows:s}})(d);let n=e.map(e=>oe(e)).join(",")+"\n";n+=t.map(t=>e.map(e=>oe(t[e]||"")).join(",")).join("\n");const r=new Blob([n],{type:"text/csv"}),a=URL.createObjectURL(r),o=document.createElement("a");o.href=a,o.download=`extracted_values_${(new Date).toISOString().slice(0,10)}.csv`,document.body.appendChild(o),o.click(),setTimeout(()=>{document.body.removeChild(o),URL.revokeObjectURL(a)},100)},children:"Download as CSV"})}),_.jsx(xm,{title:"Clear XPath and results",children:_.jsx(Ec,{variant:"outlined",color:"secondary",startIcon:_.jsx(PE,{}),onClick:()=>{u(""),p([]),y(null)},children:"Clear All"})})]})]}),_.jsxs(lo,{sx:{width:"100%",overflow:"hidden",backgroundColor:i.background.paper,border:`1px solid ${i.border}`,borderRadius:1,boxShadow:"none"},children:[_.jsxs(pc,{sx:{display:"flex",backgroundColor:"dark"===t?"#2c2f34":"rgba(44, 82, 130, 0.05)",border:"1px solid "+("dark"===t?"rgba(144, 202, 249, 0.2)":"rgba(44, 82, 130, 0.1)"),borderRadius:1,position:"sticky",top:0,zIndex:1e3},children:[_.jsx(pc,{sx:{width:"40%",p:1.5,fontWeight:"medium",color:"dark"===t?"#90caf9":"#2c5282"},children:"File Name"}),_.jsx(pc,{sx:{width:"40%",p:1.5,fontWeight:"medium",color:"dark"===t?"#90caf9":"#2c5282"},children:"Extracted Value"}),_.jsx(pc,{sx:{width:"20%",p:1.5,textAlign:"center",fontWeight:"medium",color:"dark"===t?"#90caf9":"#2c5282"},children:"Actions"})]}),d.length>0?1===d.length?_.jsx("div",{style:{maxHeight:"555px",overflowY:"auto"},children:_.jsx(K$,{index:0,style:{width:"100%"},data:Y})}):_.jsx(Nv,{ref:s,height:555,itemCount:d.length,itemSize:e=>d&&d[e]?((e,t,n={})=>{const{isHighlightingEnabled:r=!1}=n,a=e.filename||"",o=e.displayXml||e.value||"",i="string"==typeof o?o:String(o);if(i.length>15e3)return 400;const s=e=>{if(!e)return 1;const t=e.split("\n");let n=0;for(let r=0;r<t.length;r++){const e=t[r];(e.trim().length>0||/^(}|]|<\/[^>]+>)\s*$/.test(e))&&n++}return Math.max(1,n)},l=s(i),c=s(a);let u=1;/[<{\[]/.test(i)&&/[>}\]]/.test(i)&&(u+=1);const d=l+u,p=c,f=16+14*Math.max(d,p,1)*1.3;return Math.max(52,Math.ceil(f))})(d[e]):52,width:"100%",itemData:Y,children:K$}):_.jsx("div",{style:{padding:"16px",textAlign:"center",color:i.text.secondary},children:"No data to display."})]})]}),_.jsx(um,{open:E,autoHideDuration:3e3,onClose:()=>C(!1),message:"Values copied to clipboard",anchorOrigin:{vertical:"bottom",horizontal:"center"}})]})},Q$=({files:e,themeMode:t,onExtractSingleFile:n,onAddExtractedFileData:r,xmlToObj:a})=>_.jsx(pc,{sx:{width:"100%",height:"100%",p:2},children:_.jsx(J$,{files:e,themeMode:t,onExtractSingleFile:n,onAddExtractedFileData:r,xmlToObj:a})}),eB={debug:(...e)=>{},info:(...e)=>{},warn:(...e)=>{},error:(...e)=>{}},tB=[{title:"Free",price:"0",priceDescription:"Always free",description:"Free account for basic usage",features:["Tree/Grid/Source View","Upload up to 10 files (no ZIP)","File comparison","Create 3 files in data generator","Data lineage"],buttonText:"Start free",buttonVariant:"outlined",planId:"free",stripePriceId:null,hasTrial:!1},{title:"Pro",price:"49",priceDescription:"EUR / year (ex VAT)",description:"Access to all features of Nodeflip. File limit in data analysis.",trialDescription:"14-day free trial, then â¬49/year",features:["Tree/Grid/Source View","Unlimited files","Upload zip files","File Comparison","Data Generator Module (ZIP supported)","Data Lineage Module","Data Extractor (ZIP supported)","Data Analysis Module (up to 100 files)"],buttonText:"Start 14-day free trial",buttonVariant:"contained",planId:"pro",stripePriceId:"price_1RmKrwBNts0MjWuEnMEi2oWd",hasTrial:!0},{title:"Pro+",price:"99",priceDescription:"EUR / year (ex VAT)",description:"Access to all features with no limitations.",trialDescription:"14-day free trial, then â¬99/year",features:["Tree/Grid/Source View","Unlimited files","Upload zip files","File Comparison","Data Generator Module (ZIP supported)","Data Lineage Module","Data
152Extractor (ZIP supported)","Data Analysis Module (unlimited number of files)","Deep Data Insights"],buttonText:"Start 14-day free trial",buttonVariant:"contained",planId:"pro_plus",stripePriceId:"price_1RllpsBNts0MjWuEv1FTozwo",hasTrial:!0}],nB=()=>{const{login:e,register:t,isAuthenticated:n,user:r}=Iy.useKindeAuth(),{tier:a}=lx(),{mode:i}=Dh(),s=Kr(),l=Db();ky();const[c,u]=o.useState(null),d="dark"===i?Vy:Wy,p="Pro"===a.name?tB.filter(e=>"pro_plus"===e.planId):"Pro+"===a.name?[]:"Free"===a.name?tB.filter(e=>"pro"===e.planId||"pro_plus"===e.planId):tB;o.useEffect(()=>{if(n&&r){const e=localStorage.getItem("selectedPlan"),t=localStorage.getItem("selectedStripePriceId");e&&t&&"free"!==e&&(eB.info("ð [STRIPE] User returned from registration - processing saved plan:",e),localStorage.removeItem("selectedPlan"),localStorage.removeItem("selectedStripePriceId"),f({planId:e,stripePriceId:t}))}},[n,r]);const f=async e=>{const{planId:a,stripePriceId:o}=e;if(eB.info("ð¯ [STRIPE] Plan selected:",a),eB.info("ð³ [STRIPE] Stripe Price ID:",o),eB.info("ð [STRIPE] User authenticated:",n),eB.info("â° [STRIPE] Timestamp:",(new Date).toISOString()),!a||"free"===a)return eB.info("ð [STRIPE] Free plan selected - normal registration"),void(n?(eB.info("ð¤ [STRIPE] User already authenticated - navigating to app"),l("/")):(eB.info("ð [STRIPE] New user - starting free registration"),t()));if(!n)return eB.info("ð [STRIPE] User not authenticated - registering first"),localStorage.setItem("selectedPlan",a),localStorage.setItem("selectedStripePriceId",o),void t();if(!o)return eB.error("â [STRIPE] No Stripe Price ID found for plan:",a),void alert("Configuration error: Missing price information. Please check environment variables.");eB.info("ð° [STRIPE] Paid plan selected - creating Stripe Checkout session");try{u(a);const e=`${""}/api/stripe/create-checkout-session`,t=await fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({priceId:o,kindeUserId:r?.id,userEmail:r?.email,plan:a})});if(!t.ok){const e=await t.text();throw new Error(`Checkout session creation failed: ${e}`)}const{url:n,sessionId:i}=await t.json();eB.info("â
[STRIPE] Checkout session created:",i),eB.info("ð [STRIPE] Redirecting to:",n),window.location.href=n}catch(i){eB.error("â [STRIPE] Error creating checkout session:",i),alert(`Failed to start checkout process: ${i instanceof Error?i.message:"Unknown error"}`)}finally{u(null)}},m=()=>{l("/")};return _.jsxs(pc,{sx:{height:"100vh",bgcolor:"background.default",overflow:"auto",display:"flex",flexDirection:"column","&::-webkit-scrollbar":{width:"8px",height:"8px"},"&::-webkit-scrollbar-track":{background:"dark"===s.palette.mode?"#2a2a2a":"#f1f1f1"},"&::-webkit-scrollbar-thumb":{background:"dark"===s.palette.mode?"#555":"#c1c1c1",borderRadius:"4px"},"&::-webkit-scrollbar-thumb:hover":{background:"dark"===s.palette.mode?"#777":"#a8a8a8"},scrollbarWidth:"thin",scrollbarColor:"dark"===s.palette.mode?"#555 #2a2a2a":"#c1c1c1 #f1f1f1"},children:[_.jsx(hi,{position:"static",elevation:0,sx:{bgcolor:"background.paper",borderBottom:"1px solid",borderColor:"divider"},children:_.jsxs(Pm,{children:[_.jsx(qo,{onClick:m,sx:{mr:2},children:_.jsx(kE,{})}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",flexGrow:1},children:[_.jsx("img",{src:d,alt:"Nodeflip Logo",style:{height:"30px",marginRight:"10px"}}),_.jsx(di,{variant:"h6",component:"div",sx:{color:"text.primary",fontWeight:"bold"},children:"Nodeflip"})]})]})}),_.jsxs(Gc,{maxWidth:"lg",component:"main",sx:{pt:{xs:3,md:6},pb:{xs:4,md:8},px:{xs:2,md:3},flex:1,display:"flex",flexDirection:"column",width:"100%",minHeight:0},children:[_.jsx(di,{component:"h1",variant:"h4",align:"center",color:"text.primary",gutterBottom:!0,sx:{mb:2},children:"Pro"===a.name?"Upgrade to Pro+":"Pro+"===a.name?"You have the highest plan":"Free"===a.name?"Upgrade your plan":"Cho
152ose a plan"}),_.jsx(di,{variant:"body1",align:"center",color:"text.secondary",sx:{mb:1},children:"Pro"===a.name?"Unlock unlimited features with Pro+":"Pro+"===a.name?"You already have access to all Nodeflip features":"Free"===a.name?"Unlock more features with a paid plan":"Select the plan that's right for you and start using Nodeflip today"}),p.length>0&&_.jsx(di,{variant:"body2",align:"center",color:"text.secondary",sx:{mb:4,fontStyle:"italic"},children:"Annual billing only"}),0===p.length?_.jsxs(pc,{sx:{textAlign:"center",mt:4},children:[_.jsx(di,{variant:"h6",color:"text.primary",sx:{mb:2},children:"ð You're all set!"}),_.jsx(di,{variant:"body1",color:"text.secondary",sx:{mb:3},children:"You have access to all Nodeflip features with unlimited usage."}),_.jsx(Ec,{variant:"contained",onClick:m,sx:{backgroundColor:"black",color:"white","&:hover":{backgroundColor:"#333"}},children:"Back to App"})]}):_.jsx(pc,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},gap:4,alignItems:"stretch",justifyContent:"center",flexWrap:"wrap",width:"100%",maxWidth:"100%"},children:p.map(e=>_.jsx(pc,{sx:{flex:{xs:"1 1 100%",md:"1 1 300px"},maxWidth:{xs:"100%",md:"400px"},minWidth:{xs:"250px",md:"280px"},width:{xs:"100%",md:"auto"}},children:_.jsxs(Tc,{sx:{height:"100%",display:"flex",flexDirection:"column",borderRadius:4,border:"1px solid #E2E8F0",p:0,boxShadow:"none",width:"100%",maxWidth:"100%",overflow:"hidden"},children:[e.hasTrial&&_.jsx(pc,{sx:{bgcolor:"success.main",color:"white",py:.75,px:2,textAlign:"center",fontWeight:"bold",fontSize:"0.875rem"},children:"ð 14-Day Free Trial"}),_.jsxs(Nc,{sx:{flexGrow:1,display:"flex",flexDirection:"column",p:{xs:2,md:3}},children:[_.jsx(di,{component:"h2",variant:"h5",color:"text.primary",sx:{fontWeight:"bold"},children:e.title}),_.jsx(di,{variant:"body2",color:"text.secondary",sx:{mt:1,minHeight:"40px"},children:e.description}),e.trialDescription&&_.jsx(di,{variant:"caption",color:"text.secondary",sx:{display:"block",mt:.5,fontStyle:"italic"},children:e.trialDescription}),_.jsxs(pc,{sx:{display:"flex",alignItems:"baseline",my:2},children:[_.jsx(di,{component:"p",variant:"h3",color:"text.primary",sx:{fontWeight:"bold"},children:e.price}),_.jsx(di,{variant:"body1",color:"text.secondary",sx:{ml:1},children:e.priceDescription})]}),_.jsx(Ec,{fullWidth:!0,variant:e.buttonVariant,onClick:()=>f(e),disabled:c===e.planId,sx:{borderRadius:2,textTransform:"none",fontWeight:"bold",py:1.5,backgroundColor:"contained"===e.buttonVariant?"black":void 0,color:"contained"===e.buttonVariant?"white":"black",borderColor:"black","&:hover":{backgroundColor:"contained"===e.buttonVariant?"#333":"rgba(0, 0, 0, 0.04)",borderColor:"black",color:"contained"===e.buttonVariant?"white":"black"}},children:c===e.planId?_.jsx(Uo,{size:20,color:"inherit"}):n||"free"===e.planId?e.buttonText:`Register & ${e.buttonText}`}),!n&&"free"!==e.planId&&_.jsx(di,{variant:"caption",color:"text.secondary",sx:{mt:1,textAlign:"center",display:"block"},children:"You'll create an account, then proceed to checkout"}),_.jsxs(pc,{sx:{flexGrow:1,mt:3},children:[_.jsx(di,{variant:"body1",color:"text.primary",sx:{fontWeight:"bold",mb:1},children:"Features"}),_.jsx(Kd,{dense:!0,children:e.features.map(e=>_.jsxs(sp,{disableGutters:!0,sx:{py:.5},children:[_.jsx(dp,{sx:{minWidth:"28px"},children:_.jsx(RE,{sx:{fontSize:"1.1rem"}})}),_.jsx(hp,{primary:e,primaryTypographyProps:{variant:"body2",color:"text.secondary"}})]},e))})]})]})]})},e.title))}),p.length>0&&_.jsx(di,{variant:"body2",align:"center",color:"text.secondary",sx:{mt:4,fontStyle:"italic"},children:"VAT will be added at checkout where applicable ⢠EU businesses with valid VAT numbers are exempt from VAT"})]})]})},rB=()=>{const e=Db(),[t]=ky(),{user:n,isLoading:r,logout:a}=Iy.useKindeAuth(),{refreshTier:i}=lx(),[s,l]=o.useState("loading"),[c,u]=o.useState(null),[d,p]=o.useState("checking"),[f,m]=o.useState(null),[h,g]=o.useState(0),b=t.get("session_id");o.useEffect(()=>{if(!n?.id||"success"!==s)return;const e=async()=>{try{0!==h&&h%5!=0||ix.info("ð [BILLING SUCCESS] Checking role assignment for user:",n.id,`(attempt ${h+1})`);const t="localhost"===window.location.hostname||"127.0.0.1"===window.location.hostname?"http://localhost:3001":"",r=await fetch(`${t}/api/kinde/check-role-assignment/${n.id}`);if(!r.ok)throw new Error("Failed to check role assignment");const a=await r.json();
152if(a.roleAssignmentComplete&&("pro"===a.plan||"pro_plus"===a.plan))return p("complete"),m(a.plan),ix.info("â
[BILLING SUCCESS] Role assignment complete for plan:",a.plan),void setTimeout(()=>{v()},3e3);if(g(e=>e+1),h>=12)return ix.warn("â ï¸ [BILLING SUCCESS] Role assignment polling timed out after 3 minutes"),void p("error");setTimeout(e,15e3)}catch(t){ix.error("â [BILLING SUCCESS] Error checking role assignment:",t),p("error")}},t=setTimeout(e,2e3);return()=>clearTimeout(t)},[n?.id,s,h]),o.useEffect(()=>{b?(l("success"),u({sessionId:b,message:"Your subscription has been activated successfully!"})):l("error")},[b]);const y=()=>{e("/")},v=()=>{ix.info("ð [BILLING SUCCESS] Refreshing user session to get updated permissions"),ix.info("ð [BILLING SUCCESS] Force reloading page to refresh Kinde session"),window.location.href="/"};return r||"loading"===s?_.jsx(pc,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",bgcolor:"background.default"},children:_.jsx(Uo,{})}):"error"===s?_.jsx(Gc,{maxWidth:"sm",sx:{py:8},children:_.jsx(Tc,{sx:{textAlign:"center",p:4},children:_.jsxs(Nc,{children:[_.jsx(di,{variant:"h4",gutterBottom:!0,color:"error",children:"Something went wrong"}),_.jsx(di,{variant:"body1",color:"text.secondary",sx:{mb:3},children:"We couldn't verify your payment. Please contact support if you've been charged."}),_.jsx(Ec,{variant:"contained",onClick:y,children:"Back to App"})]})})}):_.jsx(pc,{sx:{minHeight:"100vh",bgcolor:"background.default"},children:_.jsx(Gc,{maxWidth:"sm",sx:{py:8},children:_.jsx(Tc,{sx:{textAlign:"center",p:4,borderRadius:4},children:_.jsxs(Nc,{children:[_.jsx(OE,{sx:{fontSize:64,color:"success.main",mb:2}}),_.jsxs(di,{variant:"h4",gutterBottom:!0,color:"text.primary",sx:{fontWeight:"bold"},children:["Welcome to Nodeflip ","pro_plus"===f?"Pro+":"Pro","! ð"]}),_.jsx(di,{variant:"body1",color:"text.secondary",sx:{mb:3},children:c?.message||"Your subscription has been activated successfully!"}),"checking"===d&&_.jsx(ai,{severity:"info",sx:{mb:3,textAlign:"left"},children:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(Uo,{size:16}),_.jsx(di,{variant:"body2",children:"Setting up your account permissions... This may take a moment."})]})}),"complete"===d&&_.jsxs(ai,{severity:"success",sx:{mb:3,textAlign:"left"},children:[_.jsx(di,{variant:"body2",sx:{mb:1},children:_.jsx("strong",{children:"Account Setup Complete!"})}),_.jsxs(di,{variant:"body2",children:["Your ","pro_plus"===f?"Pro+":"Pro"," subscription is active! You'll be automatically redirected to access your new features in a few seconds."]})]}),"error"===d&&_.jsxs(ai,{severity:"error",sx:{mb:3,textAlign:"left"},children:[_.jsx(di,{variant:"body2",sx:{mb:1},children:_.jsx("strong",{children:"Setup Issue"})}),_.jsx(di,{variant:"body2",children:"There was an issue setting up your account. Your payment was successful, but you may need to refresh your session to access new features."})]}),n&&_.jsxs(di,{variant:"body2",color:"text.secondary",sx:{mb:4},children:["Welcome back, ",n.givenName||n.email,"!"]}),_.jsxs(pc,{sx:{display:"flex",flexDirection:"column",gap:2},children:["complete"===d?_.jsx(Ec,{variant:"outlined",size:"large",onClick:v,startIcon:_.jsx(lC,{}),sx:{borderColor:"#1976d2",color:"#1976d2","&:hover":{borderColor:"#1565c0",backgroundColor:"rgba(25, 118, 210, 0.04)"}},children:"Access Features Now (Skip Wait)"}):_.jsx(Ec,{variant:"contained",size:"large",onClick:y,disabled:"checking"===d,sx:{backgroundColor:"black","&:hover":{backgroundColor:"#333"}},children:"checking"===d?"Setting up...":"Continue to App"}),_.jsx(di,{variant:"caption",color:"text.secondary",children:"complete"===d?"Redirecting automatically in a few seconds...":"Your new features are being activated! You can manage your subscription anytime in your account settings."})]})]})})})})},aB=()=>{const e=Db();return _.jsx(Gc,{maxWidth:"sm",children:_.jsx(pc,{sx:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",py:4},children:_.jsxs(lo,{elevation:0,sx:{p:4,textAlign:"center",borderRadius:3,border:"1px solid",borderColor:"divider"},children:[_.jsx(LE,{sx:{fontSize:64,color:"success.main",mb:2}}),_.jsx(di,{variant:"h4",gutterBottom:!0,fontWeight:"bold",children:"Your Account Has Been Deleted"}),_.jsx(di,{variant:"body1",color:"text.secondary",paragraph:!0,sx:{mt:2},children:"Your account and personal data have been removed from our systems."}),_.jsx(di,{variant:"body2",color:"text.secondary",paragraph:!0,children:"You can create a new account anytime if you'd like to return."}),_.jsx(Ec,{variant:"contained",size:"large",onClick:()=>e("/"),sx:{mt:4},children:"Return to Homepage"})]})})})},oB=({open:e,attributeName:t,onClose:n,onApply:r})=>{const[a,i]=o.useState(""),s=o.useRef(null);o.useEffect(()=>{e&&(i(""),setTimeout(()=>s.current?.focus(),100))},[e]);const l=()=>{const e=a.split(/[\n,;\t]+/).map(e=>e.trim()).filter(e=>e.length>0);e.length>0&&r(e),n()},c=a.split(/[\n,;\t]+/).map(e=>e.trim()).filter(e=>e.length>0).length;return _.jsxs(Cu,{open:e,onClose:n,maxWidth:"sm",fullWidth:!0,children:[_.jsxs(ju,{children:["Filter multiple values â ",t]}),_.jsxs(Ou,{children:[_.jsx(di,{variant:"body2",color:"textSecondary",sx:{mb:1.5},children:"Paste or type values to filter on, one per line. Commas, semicolons, and tabs also work as separators."}),_.jsx(oh,{inputRef:s,multiline:!0,minRows:6,maxRows:16,fullWidth:!0,variant:"outlined",placeholder:"value1\nvalue2\nvalue3",value:a,onChange:e=>i(e.target.value),onKeyDown:e=>
152{"Enter"===e.key&&(e.metaKey||e.ctrlKey)&&(e.preventDefault(),l())}}),c>0&&_.jsxs(di,{variant:"caption",color:"textSecondary",sx:{mt:.5,display:"block"},children:[c," value",1!==c?"s":""," detected"]})]}),_.jsxs(Au,{children:[_.jsx(Ec,{onClick:n,children:"Cancel"}),_.jsx(Ec,{onClick:l,color:"primary",variant:"contained",disabled:0===c,children:"Filter"})]})]})},iB=({index:e,style:t,data:n})=>{const r=Kr(),a=n.values[e],o=n.isDragging&&n.draggedValues.has(a.value),i=n.pendingCtrlSelections.has(a.value),s={...t,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box",paddingLeft:"8px",paddingRight:"8px"};switch(a.state){case qx.Selected:s.backgroundColor="#e6ffed",s.color="#1e4620";break;case qx.Possible:s.backgroundColor="dark"===r.palette.mode?r.palette.grey[800]:r.palette.background.paper,s.color=r.palette.text.primary;break;case qx.Excluded:s.backgroundColor="dark"===r.palette.mode?r.palette.grey[700]:"#f5f5f5",s.color=r.palette.text.disabled;break;case qx.Unavailable:s.backgroundColor="dark"===r.palette.mode?r.palette.grey[900]:"#eeeeee",s.color=r.palette.text.disabled,s.textDecoration="line-through",s.cursor="not-allowed"}return o&&a.state!==qx.Selected&&a.state!==qx.Unavailable&&(s.backgroundColor="#d0e8ff",s.color="#0d47a1"),i&&a.state!==qx.Selected&&(s.backgroundColor="#fff3cd",s.color="#856404",s.border="1px solid #ffc107"),_.jsx(sp,{style:s,dense:!0,sx:{py:.1,px:0,width:"100%"},onClick:e=>{a.state!==qx.Unavailable&&n.handleValueClick(a.value,e)},onMouseDown:e=>{a.state!==qx.Unavailable&&(e.preventDefault(),n.onMouseDown(a.value,e))},onMouseEnter:()=>{a.state!==qx.Unavailable&&n.onMouseEnter(a.value)},children:_.jsx(hp,{primary:`${a.value===Gx?"(Null/Empty)":String(a.value)} (${a.count})`,primaryTypographyProps:{variant:"caption",sx:{fontStyle:"italic",whiteSpace:"nowrap"}},sx:{m:0}})},`${e}-${String(a.value)}`)},sB=o.forwardRef((e,t)=>{const{style:n,horizontalScrollContainerRef:r,...a}=e,i=o.useRef(null);return o.useImperativeHandle(t,()=>i.current),o.useEffect(()=>{const e=i.current,t=r?.current;if(!e||!t)return;const n=e=>{Math.abs(e.deltaX)>3.5*Math.abs(e.deltaY)&&0!==e.deltaX&&t.scrollWidth>t.clientWidth&&(e.preventDefault(),t.scrollLeft+=e.deltaX)};return e.addEventListener("wheel",n,{passive:!1}),()=>{e.removeEventListener("wheel",n)}},[r]),_.jsx("div",{ref:i,...a,style:{...n,overscrollBehaviorY:"contain"}})});sB.displayName="CustomOuterListElement";const lB=({node:e,displayAttribute:t,onFilterChange:n,onFilterMultipleValues:r,currentFilterSelection:a,ROW_HEIGHT:i,VIRTUALIZED_LIST_MAX_HEIGHT_PX:s,onClearAttributeSelections:l,onAttributeAddToGrid:c})=>{const[u,d]=o.useState(""),p=Kr(),[f,m]=o.useState(!1),h=o.useRef(null),g=o.useRef(null),[b,y]=o.useState(!1),[v,x]=o.useState(new Set),S=o.useRef(null),w=o.useRef(!1),[E,C]=o.useState(!1),[k,T]=o.useState(new Set),[A,I]=o.useState(null),[N,R]=o.use
152State(!1),O=o.useCallback(t=>{t.shiftKey&&(t.metaKey||t.ctrlKey)&&e.attribute&&c&&(t.preventDefault(),t.stopPropagation(),c(e.attribute.path,e.attribute),window.getSelection&&window.getSelection()?.removeAllRanges())},[e,c]),L=e=>{if("number"==typeof e)return e;if("string"==typeof e){const t=parseInt(e.replace("px",""),10);return isNaN(t)?0:t}return 0},D=370-L(p.spacing(2)),P=L(p.spacing(4.5)),M=L(p.spacing(5)),j=f?L(p.spacing(.5)):0,F=L(p.spacing(.5)),z=D-(P+(f?j+M:0))-F;if(o.useEffect(()=>{f&&h.current&&h.current.focus()},[f]),o.useEffect(()=>{const e=e=>{g.current&&!g.current.contains(e.target)&&""===u&&f&&m(!1)};return f?document.addEventListener("mousedown",e):document.removeEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[f,u,g]),o.useEffect(()=>{const t=e=>{"Control"!==e.key&&"Meta"!==e.key||C(!0)},r=t=>{"Control"!==t.key&&"Meta"!==t.key||(C(!1),k.size>0&&e.attribute&&(k.forEach(t=>{n(e.attribute.path,t,{multi:!0})}),T(new Set)))};return document.addEventListener("keydown",t),document.addEventListener("keyup",r),()=>{document.removeEventListener("keydown",t),document.removeEventListener("keyup",r)}},[k,e.attribute,n]),o.useEffect(()=>{const t=()=>{b&&v.size>1&&e.attribute&&(w.current=!0,v.forEach(t=>{n(e.attribute.path,t,{multi:!0})}),setTimeout(()=>{w.current=!1},50)),y(!1),x(new Set),S.current=null};if(b)return document.addEventListener("mouseup",t),()=>{document.removeEventListener("mouseup",t)}},[b,v,e.attribute,n,k]),!e.attribute)return null;const $=e.attribute.values?Array.from(e.attribute.values):[],B=t?.values||$.map(e=>({value:e,count:0,state:qx.Possible})),U=[...B.filter(e=>null!==e.value&&void 0!==e.value&&""!==String(e.value).trim())].sort((e,t)=>{if(e.value===Gx)return-1;if(t.value===Gx)return 1;if(e.state!==t.state){if(e.state===qx.Selected)return-1;if(t.state===qx.Selected)return 1;if(e.state===qx.Possible&&e.count>0)return-1;if(t.state===qx.Possible&&t.count>0)return 1}return e.count!==t.count?t.count-e.count:String(e.value).localeCompare(String(t.value))}),H=U.filter(e=>{const t=e.value===Gx?"(Null/Empty)":String(e.value);return""===u||t.toLowerCase().includes(u.toLowerCase())}),V=()=>{I(null)},W=e=>{navigator.clipboard.writeText(e)},G=e=>e.value===Gx?"(Null/Empty)":String(e.value);return _.jsxs(lo,{ref:g,onClick:O,onContextMenu:e=>{e.preventDefault(),I(null===A?{mouseX:e.clientX,mouseY:e.clientY}:null)},elevation:1,sx:{p:1,display:"flex",flexDirection:"column",height:"370px",width:"210px",userSelect:"none"},children:[_.jsxs(pc,{sx:{display:"flex",flexDirection:"column",width:"100%",overflow:"hidden",minWidth:0,mb:.5},children:[_.jsxs(pc,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",minHeight:p.spacing(4.5)},children:[_.jsx(xm,{title:e.path,placement:"top",children:_.jsx(di,{variant:"subtitle2",noWrap:!0,sx:{fontWeight:"medium",flexGrow:1,overflow:"hidden",textOverflow:"ellipsis",mr:.5},children:e.name})}),_.jsx(qo,{"aria-label":"open search",onClick:()=>{f||m(!0)},size:"small",sx:{visibility:f?"hidden":"visible",pointerEvents:f?"none":"auto"},children:_.jsx(pC,{fontSize:"inherit"})})]}),_.jsx(oh,{size:"small",variant:"outlined",placeholder:"Search...",value:u,onChange:e=>d(e.target.value),onKeyDown:t=>{if("Enter"===t.key&&e.attribute){t.preventDefault(),t.stopPropagation();const r=H.filter(e=>e.state===qx.Possible);if(r.length>0)for(const t of r)n(e.attribute.path,t.value,{multi:!0});d("")}else"Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),d(""))},sx:{width:"100%",minWidth:0,mt:f?.5:0,display:f?"flex":"none"},inputRef:h,InputProps:{endAdornment:_.jsx(_.Fragment,{children:_.jsx(_d,{position:"end",children:_.jsx(qo,{"aria-label":"clear search and selections",onClick:()=>{m(!1),d(""),e.attribute&&l&&l(e.attribute.path)},edge:"end",size:"small",children:_.jsx(yE,{fontSize:"inherit"})})})})}})]}),_.jsx(pc,{sx:{overflow:"auto",maxWidth:"100%"},children:H.length>0?_.jsx(_v,{height:Math.max(0,z),itemCount:H.length,itemSize:i,width:"100%",itemData:{values:H,handleValueClick:(t,r)=>{if(!w.current&&(!r||2!==r.button)&&e.attribute){const a=!!r&&(r.metaKey||r.ctrlKey);a&&E?T(e=>{const n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}):n(e.attribute.path,t,{multi:a})}},isDragging:b,draggedValues:v,onMouseDown:(e,t)=>{t&&2===t.button||(y(!0),x(new Set([e])),S.current=e)},onMouseEnter:e=>{b&&x(t=>new Set([...t,e]))},pendingCtrlSelections:k},children:iB}):_.jsxs(di,{variant:"caption",color:"textSecondary",sx:{fontStyle:"italic",display:"block",textAlign:"center",mt:1},children:["No values ",""===u?"":"matching search"]})}
152),_.jsxs(Pp,{open:null!==A,onClose:V,anchorReference:"anchorPosition",anchorPosition:null!==A?{top:A.mouseY,left:A.mouseX}:void 0,children:[_.jsx(zp,{onClick:()=>{const e=U.filter(e=>e.state===qx.Selected).map(G).join("\n");W(e),V()},children:"Copy selected"}),_.jsx(zp,{onClick:()=>{const e=U.filter(e=>e.state===qx.Possible).map(G).join("\n");W(e),V()},children:"Copy possible"}),_.jsx(zp,{onClick:()=>{const e=U.filter(e=>e.state===qx.Excluded).map(G).join("\n");W(e),V()},children:"Copy excluded"}),r&&_.jsx(zp,{onClick:()=>{V(),R(!0)},children:"Filter multiple values"}),c&&_.jsx(zp,{onClick:()=>{e.attribute&&c&&c(e.attribute.path,e.attribute),V()},children:"Add to grid"})]}),r&&_.jsx(oB,{open:N,attributeName:e.name,onClose:()=>R(!1),onApply:t=>{e.attribute&&r&&r(e.attribute.path,t)}})]},e.path)},cB=({nodes:e,displayAttributesMap:t,onFilterChange:n,onFilterMultipleValues:r,currentFilterSelection:a,ROW_HEIGHT:i,VIRTUALIZED_LIST_MAX_HEIGHT_PX:s,onClearAttributeSelections:l,setLayoutMinHeight:c,onAttributeAddToGrid:u})=>{const d=o.useRef(null);return o.useMemo(()=>{const e=o.forwardRef((e,t)=>_.jsx(sB,{...e,ref:t,horizontalScrollContainerRef:d}));return e.displayName="MemoizedCustomOuterListElement",e},[]),_.jsx(lo,{elevation:0,sx:{p:.5,backgroundColor:"transparent",width:"max-content",maxWidth:"100%",minHeight:c?"390px":"auto"},children:_.jsx(pc,{ref:d,sx:{display:"flex",gap:1,overflowX:"auto",pb:1,overscrollBehaviorX:"contain"},children:e.map(e=>{if(!e.attribute||"array"===e.attribute.dataType)return null;const o=t?.get(e.path);return _.jsx(pc,{sx:{flex:"0 0 auto"},children:_.jsx(lB,{node:e,displayAttribute:o,onFilterChange:n,onFilterMultipleValues:r,currentFilterSelection:a,ROW_HEIGHT:i,VIRTUALIZED_LIST_MAX_HEIGHT_PX:s,onClearAttributeSelections:l,onAttributeAddToGrid:u})},e.path)})})})},uB=800,dB=800,pB=({structureSchemas:e,pairwiseSimilarities:t,activeSchemaId:n,onNodeClick:r,selectedStru
152ctureIds:a=new Set,onStructureSelectionChange:i})=>{const s=Kr(),l=o.useRef(null),[c,u]=o.useState(.05),[d,p]=o.useState({x:0,y:0,width:uB,height:dB}),f=o.useRef(!1),m=o.useRef({x:0,y:0}),h=o.useRef(!1);if(o.useEffect(()=>{p({x:0,y:0,width:uB,height:dB})},[e]),!e||0===e.size)return _.jsx(di,{sx:{textAlign:"center",p:2},children:"No structure data available for diagram."});const g=Array.from(e.values()),b=g.length,y=.05*12,v=.4*12,x=Math.min(400,400)-12-20-16,S=g.map((e,t)=>{const n=t/b*2*Math.PI,r=400+x*Math.cos(n),a=400+x*Math.sin(n);return{id:e.id,displayName:e.displayName,x:r,y:a,schema:e}}),w=[],E=new Set;S.forEach(e=>{S.forEach(n=>{if(e.id===n.id)return;const r=`${e.id}-${n.id}`,a=`${n.id}-${e.id}`;if(E.has(r)||E.has(a))return;const o=t.get(e.id)?.get(n.id);o&&o>c&&(w.push({key:r,x1:e.x,y1:e.y,x2:n.x,y2:n.y,labelX:(e.x+n.x)/2,labelY:(e.y+n.y)/2,similarity:(100*o).toFixed(0)+"%",strokeWidthFactor:o}),E.add(r))})});const C=e=>{f.current&&(f.current=!1,l.current&&(l.current.style.cursor="grab"))};return _.jsxs(lo,{elevation:1,sx:{p:1,display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",overflow:"hidden",width:"100%",height:"calc(100vh - 180px)"},children:[_.jsxs(pc,{sx:{width:"80%",maxWidth:"400px",p:1,mb:1,display:"flex",alignItems:"center",gap:2},children:[_.jsxs(pc,{sx:{flexGrow:1},children:[_.jsxs(di,{gutterBottom:!0,variant:"caption",children:["Similarity Threshold: ",(100*c).toFixed(0),"%"]}),_.jsx(nm,{value:c,min:0,max:1,step:.01,onChange:(e,t)=>
152u(t),valueLabelDisplay:"auto",valueLabelFormat:e=>`${(100*e).toFixed(0)}%`,"aria-labelledby":"similarity-threshold-slider"})]}),_.jsx(xm,{title:"Reset View",children:_.jsx(qo,{onClick:()=>{p({x:0,y:0,width:uB,height:dB})},size:"small",children:_.jsx(EC,{})})})]}),_.jsx(pc,{sx:{flexGrow:1,width:"100%",display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden"},children:_.jsxs("svg",{ref:l,viewBox:`${d.x} ${d.y} ${d.width} ${d.height}`,width:"100%",height:"100%",onWheel:e=>{if(e.preventDefault(),!l.current)return;const t=l.current.getBoundingClientRect(),n=e.deltaY<0?1.1:1/1.1,r=e.clientX-t.left,a=e.clientY-t.top,o=d.x+r/t.width*d.width,i=d.y+a/t.height*d.height,s=d.width/n,c=d.height/n,u=o-r/t.width*s,f=i-a/t.height*c;p({x:u,y:f,width:s,height:c})},onMouseDown:e=>{e.preventDefault(),f.current=!0,h.current=!1,m.current={x:e.clientX,y:e.clientY},l.current&&(l.current.style.cursor="grabbing")},onMouseMove:e=>{if(e.preventDefault(),!f.current||!l.current)return;const t=e.clientX-m.current.x,n=e.clientY-m.current.y;!h.current&&(Math.abs(t)>3||Math.abs(n)>3)&&(h.current=!0);const r=l.current.getBoundingClientRect(),a=t/r.width*d.width,o=n/r.height*d.height;p(e=>({...e,x:e.x-a,y:e.y-o})),m.current={x:e.clientX,y:e.clientY}},onMouseUp:C,onMouseLeave:C,style:{cursor:"grab"},children:[w.map(e=>_.jsxs("g",{children:[_.jsx("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:s.palette.divider,strokeWidth:y+e.strokeWidthFactor*v}),_.jsx("text",{x:e.labelX,y:e.labelY,textAnchor:"middle",dy:".3em",fontSize:6.4,fill:s.palette.text.secondary,children:e.similarity})]},e.key)),S.map(e=>{const t=e.id===n,o=a.has(e.id);let l,c,u;return t?(l=s.palette.primary.main,c=s.palette.primary.dark,u=1.2000000000000002):o?(l=s.palette.secondary.light,c=s.palette.secondary.main,u=.9000000000000001):(l=s.palette.background.paper,c=s.palette.text.primary,u=y),_.jsxs("g",{transform:`translate(${e.x}, ${e.y})`,onClick:t=>((e,t)=>{if(!h.current){if(i&&t&&(t.ctrlKey||t.metaKey)){const t=new Set(a);return t.has(e)?t.delete(e):t.add(e),void i(t)}r&&r(e)}})(e.id,t),style:{cursor:r||i?"pointer":"default"},children:[_.jsx("circle",{r:12,fill:l,stroke:c,strokeWidth:u}),o&&!t&&_.jsx("circle",{r:12*.7,fill:"none",stroke:s.palette.secondary.dark,strokeWidth:y,strokeDasharray:"3,2"}),_.jsx("text",{textAnchor:"middle",y:20,fontSize:8,fill:s.palette.text.primary,children:e.displayName.length>20?e.displayName.substring(0,18)+"...":e.displayName})]},e.id)})]})})]})};var fB=(e=>(e.None="none",e.Minor="minor",e.Moderate="moderate",e.Major="major",e.Critical="critical",e))(fB||{});function mB(e){return e.occurrenceFrequency||0}function hB(e){return e>=.95?"#000000":e>=.75?"#404040":e>=.5?"#808080":e>=.25?"#FF8C00":"#FF4500"}function gB(e,t){const n=new Map;let r=1,a=0;for(const s of t){const t=s.attributes.get(e),o=t?mB(t):0;n.set(s.id,o),r=Math.min(r,o),a=Math.max(a,o)}const o=Math.round(100*(a-r))/100,i=function(e,t){const n=t-e;return 0===n&&1===e?fB.None:0===e&&t>0?fB.Critical:n>=.5?fB.Major:n>=.25?fB.Moderate:n>0?fB.Minor:fB.None}(r,a);return{attributePath:e,presenceByStructure:n,minPresence:r,maxPresence:a,presenceDifference:o,driftLevel:i}}function bB(e,t){if(0===e.length)return[];const n=function(e){const t=new Set;for(const n of e)for(const e of n.attributes.keys())t.add(e);return Array.from(t).sort()}(e),r=new Map;for(const i of n){const n=gB(i,e);if(t?.showIncompleteOnly&&n.minPresence>=1)continue;if(t?.minDriftLevel&&yB(n.driftLevel)<yB(t.minDriftLevel))continue;const a=i.split("."),o=a[a.length-1];let s;for(const t of e){const e=t.attributes.get(i);if(e){s=e;break}}const l={attributePath:i,name:o,presenceByStructure:n.presenceByStructure,children:[],baseAttribute:s,hasDrift:n.driftLevel!==fB.None,isIncomplete:n.minPresence<1,isMissing:0===n.minPresence&&n.maxPresence>0};r.set(i,l)}const a=[],o=new Set;for(const[i,s]of r){if(o.has(i))continue;const e=i.split(".");if(1===e.length)a.push(s),o.add(i);else{let t=a,n="";for(let r=0;r<e.length-1;r++){const a=e[r];n=n?`${n}.${a}`:a;let o=t.find(e=>e.name===a);o||(o={attributePath:n,name:a,presenceByStructure:new Map,children:[],hasDrift:!1,isIncomplete:!1,isMissing:!1},t.push(o)),t=o.children}t.push(s),o.add(i)}}return a}function yB(e){switch(e){case fB.None:return 0;case fB.Minor:return 1;case fB.Moderate:return 2;case fB.Major:return 3;case fB.Critical:return 4;default:return 0}}
152function vB(e,t){return{comparisonTree:bB(e,t),selectedStructures:e,driftSummary:function(e){if(0===e.length)return{totalAttributes:0,attributesWithDrift:0,incompleteAttributes:[],missingAttributes:new Map,conflictingAttributes:[]};const t=new Set;for(const i of e)for(const e of i.attributes.keys())t.add(e);const n=[],r=new Map,a=[];let o=0;for(const i of t){const t=gB(i,e);Array.from(t.presenceByStructure.values()).some(e=>e<1)&&n.push(i);const s=[];for(const[e,n]of t.presenceByStructure)0===n&&s.push(e);s.length>0&&s.length<e.length&&r.set(i,s),t.presenceDifference>0&&(a.push(i),o++)}return{totalAttributes:t.size,attributesWithDrift:o,incompleteAttributes:n,missingAttributes:r,conflictingAttributes:a}}(e)}}const xB=({node:e,level:t,selectedStructures:n,expandedNodes:r,onToggleNode:a})=>{const o=Kr(),i=r.has(e.attributePath),s=e.children.length>0,l=s;return _.jsxs(_.Fragment,{children:[_.jsxs(sp,{sx:{pl:2*t,py:.5,backgroundColor:(()=>{const t=e.children.some(e=>e.isMissing),n=e.children.some(e=>e.hasDrift&&!e.isMissing);return e.isMissing||t?Cn(o.palette.error.main,.1):e.hasDrift||n?Cn(o.palette.warning.main,.1):"transparent"})(),borderLeft:e.hasDrift||e.isMissing?`3px solid ${e.isMissing?o.palette.error.main:o.palette.warning.main}`:"none"},children:[_.jsx(dp,{sx:{minWidth:"30px"},children:l?_.jsx(qo,{size:"small",onClick:()=>a(e.attributePath),sx:{p:.5},children:i?_.jsx(Qy,{fontSize:"inherit"}):_.jsx(DE,{fontSize:"inherit"})}):null}),_.jsx(dp,{sx:{minWidth:"24px"},children:(()=>{const t=e.children.some(e=>e.isMissing),n=e.children.some(e=>e.hasDrift&&!e.isMissing);return e.isMissing||t?_.jsx(BE,{sx:{color:o.palette.error.main,fontSize:"1rem"}}):e.hasDrift||n?_.jsx(wC,{sx:{color:o.palette.warning.main,fontSize:"1rem"}}):e.isIncomplete?_.jsx(cC,{sx:{color:o.palette.warning.light,fontSize:"1rem"}}):_.jsx(OE,{sx:{color:o.palette.success.main,fontSize:"1rem"}})})()}),_.jsx(hp,{primary:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(di,{variant:"body2",fontWeight:e.baseAttribute?"medium":"normal",sx:{color:e.baseAttribute?o.palette.text.primary:o.palette.text.secondary,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.name}),n.length>1&&e.presenceByStructure.size>0&&_.jsx(pc,{sx:{display:"flex",gap:.5,flexShrink:0},children:Array.from(e.presenceByStructure.entries()).map(([e,t])=>{const r=n.find(t=>t.id===e),a=`S ${r?.displayName.match(/Structure (\d+)/)?.[1]||e.match(/\d+/)?.[0]||e.substring(0,2)}`;return _.jsx(al,{label:`${a} : ${(100*t).toFixed(0)}%`,size:"small",variant:"outlined",sx:{height:"20px",fontSize:"0.65rem",color:o.palette.text.primary,borderColor:hB(t),backgroundColor:Cn(hB(t),.1)}},e)})})]}),secondary:(()=>{const t=[];if(e.baseAttribute){e.baseAttribute.dataType&&t.push(`Type: ${e.baseAttribute.dataType}`);const r=(()=>{const t=Array.from(e.presenceByStructure.values());return 0===t.length?"":1===t.length?`${(100*t[0]).toFixed(0)}%`:Array.from(e.presenceByStructure.entries()).map(([e,t])=>{const r=n.find(t=>t.id===e);return`S ${r?.displayName.match(/Structure (\d+)/)?.[1]||e.match(/\d+/)?.[0]||e.substring(0,2)} : ${(100*t).toFixed(0)}%`}).join(" | ")})();r&&t.push(`Presence: ${r}`),void 0!==e.baseAttribute.isOptional&&t.push(e.baseAttribute.isOptional?"Optional":"Required")}return t.join(" | ")})(),secondaryTypographyProps:{variant:"caption",sx:{display:"block",whiteSpace:"normal",wordBreak:"break-all",mt:.25}},sx:{m:0,flexGrow:1,minWidth:0}})]}),s&&i&&_.jsx(_.Fragment,{children:e.children.map(e=>
152_.jsx(xB,{node:e,level:t+1,selectedStructures:n,expandedNodes:r,onToggleNode:a},e.attributePath))})]})},SB=({comparisonData:e,showIncompleteOnly:t=!1,onAttributeExpand:n,expandedNodes:r,onSetExpandedNodes:a})=>{Kr();const[i,s]=o.useState(new Set),l=r||i,{comparisonTree:c,selectedStructures:u}=e,d=e=>{const t=t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n};a?a(t(l)):s(t),n&&n(e)};return 0===c.length?_.jsx(pc,{sx:{p:3,textAlign:"center"},children:_.jsx(di,{variant:"body2",color:"textSecondary",children:t?"No attributes with schema drift found. All attributes are present in 100% of files across all structures.":"No attributes found in selected structures."})}):_.jsx(pc,{sx:{p:1},children:_.jsx(Kd,{dense:!0,disablePadding:!0,children:c.map(e=>_.jsx(xB,{node:e,level:0,selectedStructures:u,expandedNodes:l,onToggleNode:d},e.attributePath))})})},wB=({isOpen:e,isMinimized:t,comparisonData:n,onClose:r,onToggleMinimize:a,onStructureRemove:o,onClearAll:i,showIncompleteOnly:s,onToggleIncompleteFilter:c,onExpandAll:u,onCollapseAll:d,structureBarHeight:p})=>{const f=Kr(),[m,h]=l.useState(new Set),[g,b]=l.useState(600),[y,v]=l.useState(!1),x=l.useRef(null);if(l.useEffect(()=>{const e=e=>{if(!y)return;const t=window.innerWidth-e.clientX,n=Math.min(1200,.8*window.innerWidth);b(Math.max(400,Math.min(n,t)))},t=()=>{v(!1)};return y&&(document.addEventListener("mousemove",e),document.addEventListener("mouseup",t),document.body.style.cursor="ew-resize",document.body.style.userSelect="none"),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t),document.body.style.cursor="",document.body.style.userSelect=""}},[y]),!n)return null;
152const{selectedStructures:S,driftSummary:w}=n,E=e=>e?_.jsx(wC,{sx:{color:f.palette.warning.main,fontSize:"1rem"}}):_.jsx(OE,{sx:{color:f.palette.success.main,fontSize:"1rem"}}),C=w.attributesWithDrift>0,k=({label:e,helpText:t})=>{const[n,r]=l.useState(null),[a,o]=l.useState(null),i=Boolean(n)&&Boolean(a);return _.jsxs(pc,{sx:{display:"flex",alignItems:"flex-start",gap:.5},children:[_.jsx(di,{variant:"caption",color:"textSecondary",sx:{lineHeight:1.2},children:e}),_.jsx(pc,{onClick:e=>{if(n)r(null),o(null);else{const t=e.currentTarget.getBoundingClientRect(),n=e.currentTarget.closest("[data-metric-box]"),a=n?n.getBoundingClientRect():t;o({top:a.bottom+8,left:a.left}),r(e.currentTarget)}},sx:{display:"inline-flex",alignItems:"center",cursor:"pointer",mt:-.1},children:_.jsx(Sh,{sx:{fontSize:"0.8rem",color:f.palette.text.secondary,"&:hover":{color:f.palette.text.primary}}})}),i&&a&&_.jsx(pc,{sx:{position:"fixed",top:a.top,left:a.left,backgroundColor:f.palette.background.paper,color:f.palette.text.primary,border:`1px solid ${f.palette.divider}`,borderRadius:2,p:1.5,maxWidth:280,minWidth:200,zIndex:1500,boxShadow:f.shadows[8]},children:_.jsx(di,{variant:"body2",sx:{lineHeight:1.4},children:t})}),i&&_.jsx(pc,{sx:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:1400},onClick:()=>{r(null),o(null)}})]})};return _.jsx(Vu,{direction:"left",in:e,mountOnEnter:!0,unmountOnExit:!0,children:_.jsxs(lo,{elevation:8,sx:{position:"fixed",top:t?p+20:p,right:0,width:t?{xs:"300px",sm:"300px"}:{xs:"100vw",sm:`${Math.min(g,window.innerWidth)}px`},height:t?"auto":`calc(100vh - ${p}px)`,zIndex:1300,display:"flex",flexDirection:"column",backgroundColor:f.palette.background.paper,borderLeft:`1px solid ${f.palette.divider}`,borderTopLeftRadius:8,borderBottomLeftRadius:t?8:0,transition:"all 0.3s ease-in-out"},children:[_.jsx(pc,{ref:x,onMouseDown:e=>{e.preventDefault(),v(!0)},sx:{position:"absolute",left:0,top:0,bottom:0,width:8,cursor:"ew-resize",backgroundColor:"transparent",borderLeft:`2px solid ${y?f.palette.primary.main:"transparent"}`,transition:"border-color 0.2s ease","&:hover":{borderLeft:`2px solid ${f.palette.primary.light}`},zIndex:1}}),_.jsxs(pc,{sx:{p:2,pl:3,borderBottom:`1px solid ${f.palette.divider}`,backgroundColor:Cn(f.palette.primary.main,.05)},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:1},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(jE,{sx:{color:f.palette.primary.main}}),_.jsx(di,{variant:"h6",component:"h2",children:"Schema Drift Analysis"}),E(C)]}),_.jsxs(pc,{sx:{display:"flex",gap:1},children:[_.jsx(xm,{title:t?"Restore panel":"Minimize panel",children:_.jsx(qo,{size:"small",onClick:a,children:t?_.jsx(rC,{fontSize:"small"}):_.jsx(tC,{fontSize:"small"})})}),_.jsx(xm,{title:"Close panel",children:_.jsx(qo,{size:"small",onClick:r,children:_.jsx(yE,{fontSize:"small"})})})]})]}),_.jsxs(pc,{sx:{mb:1},children:[_.jsxs(di,{variant:"body2",color:"textSecondary",sx:{mb:1},children:["Comparing ",S.length," structure",1!==S.length?"s":"",":"]}),_.jsx(pc,{sx:{display:"flex",flexWrap:"wrap",gap:1},children:S.map(e=>_.jsx(al,{label:`${e.displayName} (${e.fileIds.size})`,variant:"outlined",size:"small",onDelete:()=>o(e.id),deleteIcon:_.jsx(PE,{}),sx:{borderColor:f.palette.primary.main,color:f.palette.primary.main,backgroundColor:Cn(f.palette.primary.main,.1)}},e.id))})]}),!t&&_.jsx(_.Fragment,{children:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:"wrap",gap:1},children:[_.jsx(od,{control:_.jsx(Im,{checked:s,onChange:e=>c(e.target.checked),size:"small"}),label:"Show incomplete only",sx:{fontSize:"0.875rem"}}),_.jsxs(pc,{sx:{display:"flex",gap:1},children:[_.jsx(Ec,{onClick:()=>{if(n){const e=(e=>{const t=[],n=e=>{for(const r of e)r.children&&r.children.length>0&&(t.push(r.attributePath),n(r.children))};return n(e),t})(n.comparisonTree);h(new Set(e))}u()},size:"small",variant:"outlined",startIcon:_.jsx(yC,{}),sx:{minWidth:"auto",px:1},children:"Expand All"}),_.jsx(Ec,{onClick:()=>{h(new Set),d()},size:"small",variant:"outlined",startIcon:_.jsx(bC,{}),sx:{minWidth:"auto",px:1},children:"Collapse All"}),_.jsx(Ec,{onClick:i,size:"small",variant:"outlined",startIcon:_.jsx(PE,{}),children:"Clear All"})]})]})})]}),!t&&_.jsxs(_.Fragment,{children:[_.jsxs(pc,{sx:{p:2,pl:3,backgroundColor:Cn(C?f.palette.warning.main:f.palette.success.main,.1),borderBottom:`1px solid ${f.palette.divider}`},children:[_.jsxs(di,{variant:"subtitle2",sx:{mb:1,display:"flex",alignItems:"center",gap:1},children:[E(C),"Schema Drift Summary"]}),_.jsxs(pc,{sx:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:2,fontSize:"0.875rem"},children:[_.jsxs(pc,{"data-metric-box":!0,children:[_.jsx(k,{label:"Total Attributes",helpText:"The total number of unique attributes found across all selected structures"}),_.jsx(di,{variant:"body2",fontWeight:"medium",children:w.totalAttributes})]}),_.jsxs(pc,{"data-metric-box":!0,children:[_.jsx(k,{label:"With Drift",helpText:"Attributes that have different presence percentages between structures (indicating schema drift)"}),_.jsxs(di,{variant:"body2",fontWeight:"medium",sx:{color:C?f.palette.warning.main:f.palette.success.main},children:[w.attributesWithDrift," (",Math.round(w.attributesWithDrift/Math.max(w.totalAttributes,1)*100),"%)"]})]}),_.jsxs(pc,{"data-metric-box":!0,children:[_.jsx(k,{label:"Incomplete",helpText:"Attributes that are present in less than 100% of files in at least one structure"}),_.jsx(di,{variant:"body2",fontWeight:"medium",children:w.incompleteAttributes.length})]}),_.jsxs(pc,{"data-metric-box":!0,children:[_.jsx(k,{label:"Missing Entirely",helpText:"Attributes that are completely missing from some structures (0% presence vs >
152 0% in others)"}),_.jsx(di,{variant:"body2",fontWeight:"medium",children:w.missingAttributes.size})]})]})]}),_.jsxs(pc,{sx:{flexGrow:1,overflow:"auto",pl:1},children:[" ",_.jsx(SB,{comparisonData:n,showIncompleteOnly:s,expandedNodes:m,onSetExpandedNodes:h})]})]})]})})};var EB=(e=>(e.None="none",e.Count="count",e.Sum="sum",e.Average="average",e.Min="min",e.Max="max",e.CountUnique="count_unique",e.First="first",e.Last="last",e))(EB||{});function CB(e,t,n){const r=e.filter(e=>null!=e);if(0===r.length)return null;switch(t){case EB.None:return null;case EB.Count:return r.length;case EB.CountUnique:return new Set(r).size;case EB.Sum:return"number"!==n?null:r.reduce((e,t)=>e+Number(t),0);case EB.Average:if("number"!==n)return null;return r.reduce((e,t)=>e+Number(t),0)/r.length;case EB.Min:if("number"===n)return Math.min(...r.map(e=>Number(e)));if("date"===n){const e=r.map(e=>new Date(e).getTime());return new Date(Math.min(...e)).toISOString()}return r.sort((e,t)=>String(e).localeCompare(String(t)))[0];case EB.Max:if("number"===n)return Math.max(...r.map(e=>Number(e)));if("date"===n){const e=r.map(e=>new Date(e).getTime());return new Date(Math.max(...e)).toISOString()}return r.sort((e,t)=>String(t).localeCompare(String(e)))[0];case EB.First:return r[0];case EB.Last:return r[r.length-1];default:return null}}function kB(e,t,n){if(null==e)return"â";if(t===EB.Count||t===EB.CountUnique)return e.toLocaleString();if(t===EB.Sum||t===EB.Average){return Number(e).toLocaleString(void 0,{minimumFractionDigits:0,maximumFractionDigits:2})}if("number"===n)return Number(e).toLocaleString();if("date"===n){const t=new Date(e);if(!isNaN(t.getTime()))return t.toLocaleDateString()}return String(e)}function TB(e){switch(e){case EB.None:return"None";case EB.Count:return"Count";case EB.CountUnique:return"Count Unique";case EB.Sum:return"Sum";case EB.Average:return"Average";case EB.Min:return"Min";case EB.Max:return"Max";case EB.First:return"First";case EB.Last:return"Last";default:return"Unknown"}}function AB(e){switch(e){case EB.None:return"â";case EB.Count:return"#";case EB.CountUnique:return"#*";case EB.Sum:return"Σ";case EB.Average:return"μ";case EB.Min:return"â";case EB.Max:return"â";case EB.First:return"â¤";case EB.Last:return"â¥";default:return"?"}}const IB=({column:e,onAggregationChange:t,onSort:n,onRemove:r,aggregatedValue:a})=>{const i=Kr(),[s,l]=o.useState(null),c=Boolean(s),u=()=>{l(null)},d=function(e){const t=[EB.None,EB.Count,EB.CountUnique,EB.First,EB.Last];return"number"===e?[...t,EB.Sum,EB.Average,EB.Min,EB.Max]:"date"===e||"string"===e?[...t,EB.Min,EB.Max]:t}(e.dataType),p=AB(e.aggregationType),f=TB(e.aggregationType),m="none"!==e.aggregationType?`${e.displayName} (${f})`:e.displayName;return _.jsxs(pc,{sx:{display:"flex",flexDirection:"column",borderRight:`1px solid ${i.palette.divider}`,backgroundColor:i.palette.background.paper,position:"sticky",top:0,zIndex:1},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",p:1,borderBottom:`1px solid ${i.palette.divider}`,minHeight:48,backgroundColor:Cn(i.palette.primary.main,.05)},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:.5,flex:1,minWidth:0},children:[_.jsx(xm,{title:`${e.attributePath} ${"none"!==e.aggregationType?`(${f})`:""}`,children:_.jsx(di,{variant:"subtitle2",noWrap:!0,sx:{fontWeight:"bold",flex:1,minWidth:0,cursor:"pointer"},onClick:n,children:m})}),e.sortOrder&&_.jsx(qo,{size:"small",onClick:n,sx:{p:.25},children:"asc"===e.sortOrder?_.jsx(IE,{fontSize:"small"}):_.jsx(TE,{fontSize:"small"})})]}),_.jsxs(pc,{sx:{display:"flex",gap:.5},children:[_.jsx(xm,{title:`Aggregation: ${f}`,children:_.jsx(qo,{size:"small",onClick:e=>{e.stopPropagation(),l(e.currentTarget)},sx:{p:.25},children:_.jsx(di,{variant:"caption",fontWeight:"bold",children:p})})}),!e.isSourceFile&&_.jsx(xm,{title:"Remove column",children:_.jsx(qo,{size:"small",onClick:r,sx:{p:.25},children:_.jsx(yE,{fontSize:"small"})})})]})]}),"none"!==e.aggregationType&&null!=a&&_.jsx(pc,{sx:{p:1,borderBottom:`1px solid ${i.palette.divider}`,backgroundColor:Cn(i.palette.primary.main,.1)},children:_.jsx(di,{variant:"body2",fontWeight:"bold",children:kB(a,e.aggregationType,e.dataType)})}),_.jsxs(Pp,{anchorEl:s,open:c,onClose:u,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:[_.jsx(zp,{disabled:!0,children:_.jsx(di,{variant:"caption",color:"text.secondary",children:"Select Aggregation"})}),d.map(n=>_.jsx(zp,{onClick:()=>(e=>{t(e),u()})(n),selected:e.aggregationType===n,children:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(di,{variant:"body2",fontWeight:"bold",sx:{minWidth:24},children:AB(n)}),_.jsx(di,{variant:"body2",children:TB(n)})]})}
152,n))]})]})};function NB(e,t){if(!e.parsedData)return[];let n=e.parsedData.get(t);if(!n||0===n.length)for(const[r,a]of e.parsedData.entries()){const e=r.includes(":")?r.split(":").slice(-1)[0]:r,o=t.includes(":")?t.split(":").slice(-1)[0]:t,i=r.split("."),s=t.split(".");if(e===o||i[i.length-1]===s[s.length-1]){n=a;break}}return n&&0!==n.length?n:[null]}const _B=({columns:e,rows:t,onAggregationChange:n,onColumnSort:r,onColumnRemove:a,onColumnResize:i})=>{const s=Kr(),[c,u]=o.useState(null),[d,p]=o.useState(0),[f,m]=o.useState(0),h=l.useRef(null),[g,b]=l.useState(600),y=o.useCallback(e=>e.width||200,[]),v=o.useCallback((e,t,n)=>{u(e),p(t),m(n)},[]),x=o.useCallback(e=>{if(!c||!i)return;const t=e.clientX-d,n=Math.max(80,f+t);i(c,n)},[c,d,f,i]),S=o.useCallback(()=>{u(null)},[]);l.useEffect(()=>{if(c)return document.addEventListener("mousemove",x),document.addEventListener("mouseup",S),()=>{document.removeEventListener("mousemove",x),document.removeEventListener("mouseup",S)}},[c,x,S]);const w=o.useMemo(()=>{const n=new Map;return e.forEach(e=>{if("none"===e.aggregationType)return void n.set(e.id,null);const r=CB(t.map(t=>t.values.get(e.id)),e.aggregationType,e.dataType);n.set(e.id,r)}),n},[e,t]);l.useEffect(()=>{const e=()=>{if(h.current){const e=h.current.clientHeight-40;b(Math.max(0,e))}};e(),window.addEventListener("resize",e);const t=new ResizeObserver(e);return h.current&&t.observe(h.current),()=>{window.removeEventListener("resize",e),t.disconnect()}},[t.length,e.length]);return 0===e.length?_.jsx(pc,{sx:{p:4,textAlign:"center"},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"No columns selected"})}):0===t.length?_.jsxs(pc,{sx:{display:"flex",flexDirection:"column",height:"100%"},children:[_.jsx(pc,{sx:{display:"flex",borderBottom:`2px solid ${s.palette.divider}`},children:e.map(e=>{const t=y(e);return _.jsxs(pc,{sx:{width:t,minWidth:t,maxWidth:t,position:"relative"},children:[_.jsx(IB,{column:e,onAggregationChange:t=>n(e.id,t),onSort:()=>r(e.id),onRemove:()=>a(e.id),aggregatedValue:w.get(e.id)}),_.jsx(pc,{onMouseDown:n=>{n.preventDefault(),v(e.id,n.clientX,t)},sx:{position:"absolute",right:0,top:0,bottom:0,width:"8px",cursor:"col-resize",zIndex:2,"&:hover":{backgroundColor:s.palette.primary.main,opacity:.3},"&:active":{backgroundColor:s.palette.primary.main,opacity:.5}}})]},e.id)})}),_.jsx(pc,{sx:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",p:4},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:"No data to display. Try adjusting your filters."})})]}):_.jsxs(pc,{sx:{display:"flex",flexDirection:"column",height:"100%",overflow:"hidden"},children:[_.jsx(pc,{sx:{display:"flex",borderBottom:`2px solid ${s.palette.divider}`,overflowX:"auto","&::-webkit-scrollbar":{height:8},"&::-webkit-scrollbar-thumb":{backgroundColor:s.palette.divider,borderRadius:4}},children:e.map(e=>{const t=y(e);return _.jsxs(pc,{sx:{width:t,minWidth:t,maxWidth:t,position:"relative"},children:[_.jsx(IB,{column:e,onAggregationChange:t=>n(e.id,t),onSort:()=>r(e.id),onRemove:()=>a(e.id),aggregatedValue:w.get(e.id)}),_.jsx(pc,{onMouseDown:n=>{n.preventDefault(),v(e.id,n.clientX,t)},sx:{position:"absolute",right:0,top:0,bottom:0,width:"8px",cursor:"col-resize",zIndex:2,"&:hover":{backgroundColor:s.palette.primary.main,opacity:.3},"&:active":{backgroundColor:s.palette.primary.main,opacity:.5}}})]},e.id)})}),_.jsx(pc,{ref:h,sx:{flex:1,overflow:"auto"},children:_.jsx(_v,{height:g,itemCount:t.length,itemSize:48,width:"100%",overscanCount:5,children:({index:n,style:r})=>{const a=t[n];return _.jsx(pc,{style:r,sx:{display:"flex",borderBottom:`1px solid ${s.palette.divider}`,"&:hover":{backgroundColor:Cn(s.palette.primary.main,.05)}},children:e.map(e=>{const t=a.values.get(e.id),n=function(e,t){if(null==e)return"â";if("number"===t){const t=Number(e);return isNaN(t)?String(e):t.toLocaleString()}if("date"===t){const t=new Date(e);return isNaN(t.getTime())?String(e):t.toLocaleDateString()}return"boolean"===t?e?"true":"false":String(e)}(t,e.dataType),r=y(e);return _.jsx(pc,{sx:{width:r,minWidth:r,maxWidth:r,p:1,display:"flex",alignItems:"center",borderRight:`1px solid ${s.palette.divider}`,overflow:"hidden"},children:_.jsx(di,{variant:"body2",noWrap:!0,title:String(t),sx:{width:"100%",color:null==t?s.palette.text.disabled:s.palette.text.primary},children:n})},e.id)})})}})}),_.jsx(pc,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",p:1,borderTop:`2px solid ${s.palette.divider}`,backgroundColor:Cn(s.palette.primary.main,.05)},children:_.jsxs(di,{variant:"caption",color:"text.secondary",children:["Total: ",t.length.toLocaleStr
152ing()," row",1!==t.length?"s":""]})})]})},RB=({column:e,displayAttribute:t,currentFilterSelection:n,onFilterChange:r,onRemove:a})=>{const o=Kr(),i=t?.values||[],s=n[e.attributePath]||new Set,c=l.useMemo(()=>[...i.filter(e=>null!==e.value&&void 0!==e.value&&""!==String(e.value).trim())].sort((e,t)=>{if(e.value===Gx)return-1;if(t.value===Gx)return 1;if(e.state!==t.state){if(e.state===qx.Selected)return-1;if(t.state===qx.Selected)return 1;if(e.state===qx.Possible&&e.count>0)return-1;if(t.state===qx.Possible&&t.count>0)return 1}return e.count!==t.count?t.count-e.count:String(e.value).localeCompare(String(t.value))}),[i]);return _.jsxs(pc,{sx:{minWidth:180,maxWidth:250,borderRight:`1px solid ${o.palette.divider}`,display:"flex",flexDirection:"column",backgroundColor:o.palette.background.paper},children:[_.jsxs(pc,{sx:{p:1,borderBottom:`1px solid ${o.palette.divider}`,backgroundColor:Cn(o.palette.primary.main,.05),display:"flex",alignItems:"center",justifyContent:"space-between"},children:[_.jsx(xm,{title:e.attributePath,children:_.jsx(di,{variant:"subtitle2",noWrap:!0,sx:{fontWeight:"bold",flex:1,fontSize:"0.75rem"},children:e.displayName})}),_.jsx(xm,{title:"Remove from grid",children:_.jsx(qo,{size:"small",onClick:a,sx:{p:.25,ml:.5},children:_.jsx(yE,{sx:{fontSize:14}})})})]}),_.jsx(pc,{sx:{flex:1,"& .ReactVirtualized__Grid::-webkit-scrollbar":{width:6},"& .ReactVirtualized__Grid::-webkit-scrollbar-thumb":{backgroundColor:o.palette.divider,borderRadius:3}},children:0===c.length?_.jsx(di,{variant:"caption",color:"text.secondary",sx:{p:1,display:"block"},children:"No values"}):_.jsx(_v,{height:Math.min(32*c.length,200),itemCount:c.length,itemSize:32,width:"100%",overscanCount:5,children:({index:t,style:n})=>{const a=c[t],i=a.value,l=s.has(i),u=i===Gx?"(Null/Empty)":String(i),d=a.state===qx.Unavailable;return _.jsxs(pc,{style:n,onClick:()=>{return t=i,void r(e.attributePath,t,{multi:!0});var t},sx:{px:1,py:.5,cursor:"pointer",display:"flex",alignItems:"center",gap:.5,backgroundColor:l?Cn(o.palette.primary.main,.15):"transparent",borderLeft:l?`3px solid ${o.palette.primary.main}`:"3px solid transparent",opacity:d?.4:1,"&:hover":{backgroundColor:l?Cn(o.palette.primary.main,.25):Cn(o.palette.action.hover,.08)}},children:[l&&_.jsx(RE,{sx:{fontSize:14,color:o.palette.primary.main}}),_.jsx(di,{variant:"body2",noWrap:!0,sx:{fontSize:"0.75rem",fontWeight:l?600:400,color:l?o.palette.primary.main:o.palette.text.primary},title:u,children:u}),_.jsxs(di,{variant:"caption",sx:{ml:"auto",color:o.palette.text.secondary,fontSize:"0.65rem"},children:["(",a.count,")"]})]})}})})]})},OB=({columns:e,displayAttributesMap:t,currentFilterSelection:n,onFilterChange:r,onColumnRemove:a})=>{const o=Kr();return 0===e.length?_.jsx(pc,{sx:{p:2,borderBottom:`1px solid ${o.palette.divider}`,backgroundColor:Cn(o.palette.background.paper,.5)},children:_.jsx(di,{variant:"caption",color:"text.secondary",children:"No attributes added. Cmd+Shift+click attributes in the tree to add them to the grid."})}):_.jsx(pc,{sx:{borderBottom:`2px solid ${o.palette.divider}`,backgroundColor:Cn(o.palette.primary.main,.02),display:"flex",overflowX:"auto",maxHeight:250,"&::-webkit-scrollbar":{height:8},"&::-webkit-scrollbar-thumb":{backgroundColor:o.palette.divider,borderRadius:4}},children:e.map(e=>{const o=e.isSourceFile?null:t?.get(e.attributePath)||null;return _.jsx(RB,{column:e,displayAttribute:o,currentFilterSelection:n,onFilterChange:r,onRemove:()=>a(e.id)},e.id)})})},LB=({isOpen:e,isMinimized:t,gridState:n,onClose:r,onToggleMinimize:a,onColumnRemove:i,onClearAll:s,onAggregationChange:l,onColumnSort:c,onColumnResize:u,onFilterChange:d,displayAttributesMap:p,currentFilterSelection:f,structureBarHeight:m})=>{const h=Kr(),[g,b]=o.useState(800),[y,v]=o.useState(!1),x=o.useRef(0),S=o.useRef(0);o.useEffect(()=>{if(!y)return;const e=e=>{const t=x.current-e.clientX,n=window.innerWidth,r=Math.min(Math.max(400,S.current+t),n-50);b(r)},t=()=>{v(!1)};return document.addEventListener("mousemove",e),document.addEventListener("mouseup",t),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t)}},[y]);const w=()=>
152{if(0===n.columns.length||0===n.rows.length)return"";return`${n.columns.map(e=>`"${e.displayName}"`).join(",")}\n${n.rows.map(e=>n.columns.map(t=>{const n=e.values.get(t.id),r=null==n?"":String(n);return r.includes(",")||r.includes('"')||r.includes("\n")?`"${r.replace(/"/g,'""')}"`:r}).join(",")).join("\n")}`};return _.jsx(Vu,{direction:"left",in:e,mountOnEnter:!0,unmountOnExit:!0,children:_.jsxs(lo,{elevation:8,sx:{position:"fixed",right:0,top:t?m+20:m,width:t?"50px":`${g}px`,height:t?"auto":`calc(100vh - ${m}px)`,display:"flex",flexDirection:"column",zIndex:1200,transition:y?"none":h.transitions.create(["width"],{duration:h.transitions.duration.standard}),borderLeft:`1px solid ${h.palette.divider}`,borderTopLeftRadius:8,borderBottomLeftRadius:t?8:0,cursor:y?"ew-resize":"default",overflow:"visible",backgroundColor:h.palette.background.paper},children:[!t&&_.jsx(pc,{onMouseDown:e=>{e.preventDefault(),v(!0),x.current=e.clientX,S.current=g},sx:{position:"absolute",left:0,top:0,bottom:0,width:8,cursor:"ew-resize",backgroundColor:"transparent",borderLeft:`2px solid ${y?h.palette.primary.main:"transparent"}`,transition:"border-color 0.2s ease","&:hover":{borderLeft:`2px solid ${h.palette.primary.light}`},zIndex:1}}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",p:2,pl:3,borderBottom:`1px solid ${h.palette.divider}`,backgroundColor:h.palette.background.default},children:[!t&&_.jsxs(_.Fragment,{children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(fC,{color:"primary"}),_.jsx(di,{variant:"h6",component:"h2",children:"Data Grid Analysis"}),n.columns.length>0&&_.jsxs(di,{variant:"caption",color:"text.secondary",children:["(",n.columns.length," column",1!==n.columns.length?"s":"",")"]})]}),_.jsxs(pc,{sx:{display:"flex",gap:1},children:[n.columns.length>0&&_.jsxs(_.Fragment,{children:[_.jsx(xm,{title:"Copy data as CSV",children:_.jsx(qo,{size:"small",onClick:async()=>{const e=w();if(e)try{await navigator.clipboard.writeText(e)}catch(t){}},children:_.jsx(RS,{fontSize:"small"})})}),_.jsx(xm,{title:"Download as CSV",children:_.jsx(qo,{size:"small",onClick:()=>{const e=w();if(!e)return;const t=new Blob([e],{type:"text/csv;charset=utf-8;"}),n=document.createElement("a"),r=URL.createObjectURL(t);n.setAttribute("href",r),n.setAttribute("download",`data-grid-${(new Date).toISOString().slice(0,10)}.csv`),n.style.visibility="hidden",document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(r)},children:_.jsx(nv,{fontSize:"small"})})}),_.jsx(qo,{size:"small",onClick:s,title:"Clear all columns",children:_.jsx(Zy,{fontSize:"small"})})]}),_.jsx(xm,{title:t?"Maximize":"Minimize",children:_.jsx(qo,{size:"small",onClick:a,children:t?_.jsx(rC,{fontSize:"small"}):_.jsx(tC,{fontSize:"small"})})}),_.jsx(xm,{title:"Close panel",children:_.jsx(qo,{size:"small",onClick:r,children:_.jsx(yE,{fontSize:"small"})})})]})]}),t&&_.jsx(xm,{title:"Maximize",placement:"left",children:_.jsx(qo,{size:"small",onClick:a,sx:{width:"100%"},children:_.jsx(rC,{fontSize:"small"})})})]}),!t&&_.jsx(pc,{sx:{flex:1,display:"flex",flexDirection:"column",overflow:"hidden"},children:0===n.columns.length?_.jsxs(pc,{sx:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",p:4,textAlign:"center"},children:[_.jsx(fC,{sx:{fontSize:64,color:h.palette.text.disabled,mb:2}}),_.jsx(di,{variant:"h6",color:"text.secondary",gutterBottom:!0,children:"No Columns Added Yet"}),_.jsxs(di,{variant:"body2",color:"text.secondary",sx:{maxWidth:400},children:["Hold ",_.jsx("strong",{children:"Cmd+Shift"})," (Mac) or ",_.jsx("strong",{children:"Ctrl+Shift"})," (Windows) and click on any attribute in the tree view to add it to the grid."]})]}):_.jsxs(pc,{sx:{flex:1,display:"flex",flexDirection:"column"},children:[_.jsxs(pc,{sx:{pl:3},children:[" ",_.jsx(OB,{columns:n.columns,displayAttributesMap:p,currentFilterSelection:f,onFilterChange:d,onColumnRemove:i})]}),_.jsxs(pc,{sx:{flex:1,pl:3,overflow:"hidden",display:"flex",flexDirection:"column"},children:[" ",_.jsx(_B,{columns:n.columns,rows:n.rows,onAggregationChange:l,onColumnSort:c,onColumnRemove:i,onColumnResize:u})]})]})})]})})},DB=({isOpen:e,isMinimized:t,file:n,secondFile:r,onClose:a,onToggleMinimize:i,structureBarHeight:s})=>
152{const l=Kr(),c=!!r,[u,d]=o.useState(c?"source":"tree"),[p,f]=o.useState(new Set),[m,h]=o.useState(500),[g,b]=o.useState(!1),y=o.useRef(0),v=o.useRef(0);o.useEffect(()=>{if(!g)return;const e=e=>{const t=y.current-e.clientX,n=window.innerWidth,r=Math.min(Math.max(300,v.current+t),n-50);h(r)},t=()=>{b(!1)};return document.addEventListener("mousemove",e),document.addEventListener("mouseup",t),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t)}},[g]),o.useEffect(()=>{n&&(d(c?"source":"tree"),f(new Set))},[n?.id,c]);const{jsonData:x,fileExtension:S,parseError:w}=o.useMemo(()=>{if(!n?.content&&!n?.originalContentString)return{jsonData:null,fileExtension:"txt",parseError:"No content available"};const e=n.content||n.originalContentString||"";let t="txt",r=null,a=null;if("xml"===n.type||"xsd"===n.type||e.trim().startsWith("<")){t="xsd"===n.type?"xsd":"xml";try{const t=pE(e);t&&t.error?a=t.error:r=t}catch(o){a=`XML parsing error: ${o?.message||o}`}}else if("json"===n.type||e.trim().startsWith("{")||e.trim().startsWith("[")){t="json";try{r=ex(e)}catch(o){a=`JSON parsing error: ${o?.message||o}`}}else a="Unsupported file type";return{jsonData:r,fileExtension:t,parseError:a}},[n?.content,n?.originalContentString,n?.type]);if(!e)return null;const E=t?60:m;return _.jsxs(lo,{elevation:8,sx:{position:"fixed",right:0,top:s,width:`${E}px`,height:`calc(100vh - ${s}px)`,display:"flex",flexDirection:"column",zIndex:l.zIndex.drawer-1,transition:g?"none":l.transitions.create(["width"],{duration:l.transitions.duration.standard}),borderLeft:`1px solid ${l.palette.divider}`,cursor:g?"ew-resize":"default",overflow:"hidden",backgroundColor:l.palette.background.paper},children:[!t&&_.jsx(pc,{onMouseDown:e=>{e.preventDefault(),b(!0),y.current=e.clientX,v.current=m},sx:{position:"absolute",left:0,top:0,bottom:0,width:8,cursor:"ew-resize",backgroundColor:"transparent",borderLeft:`2px solid ${g?l.palette.primary.main:"transparent"}`,transition:"border-color 0.2s ease","&:hover":{borderLeft:`2px solid ${l.palette.primary.light}`},zIndex:1}}),_.jsxs(pc,{sx:{height:48,display:"flex",alignItems:"center",justifyContent:"space-between",px:2,pl:3,borderBottom:`1px solid ${l.palette.divider}`,backgroundColor:l.palette.background.default,flexShrink:0},children:[!t&&_.jsxs(pc,{sx:{flex:1,display:"flex",alignItems:"center",gap:1,overflow:"hidden"},children:[c&&_.jsx(FE,{fontSize:"small",color:"primary"}),_.jsx(di,{variant:"subtitle1",noWrap:!0,sx:{fontWeight:600},children:c?"Compare Files":n?.name||"File Viewer"})]}),_.jsxs(pc,{sx:{display:"flex",gap:.5},children:[_.jsx(xm,{title:t?"Expand":"Minimize",children:_.jsx(qo,{size:"small",onClick:i,children:t?_.jsx(eC,{fontSize:"small"}):_.jsx(tC,{fontSize:"small"})})}),_.jsx(xm,{title:"Close",children:_.jsx(qo,{size:"small",onClick:a,children:_.jsx(yE,{fontSize:"small"})})})]})]}),!t&&_.jsx(pc,{sx:{display:"flex",flexDirection:"column",flex:1,overflow:"hidden",pl:1},children:n&&!w?_.jsxs(_.Fragment,{children:[!c&&_.jsx(pc,{sx:{borderBottom:1,borderColor:"divider",flexShrink:0},children:_.jsxs(th,{value:u,onChange:(e,t)=>
152{d(t)},"aria-label":"file viewer tabs",sx:{minHeight:"40px","& .MuiTab-root":{minHeight:"40px",padding:"8px 16px"}},children:[_.jsx(Om,{label:"Tree",value:"tree"}),_.jsx(Om,{label:"Source",value:"source"})]})}),_.jsx(pc,{sx:{flex:1,overflow:"auto",display:"flex",flexDirection:"column"},children:c?_.jsxs(_.Fragment,{children:[_.jsxs(pc,{sx:{display:"flex",justifyContent:"space-around",p:1,backgroundColor:l.palette.background.default,borderBottom:`1px solid ${l.palette.divider}`},children:[_.jsx(al,{label:n.name,size:"small",sx:{maxWidth:"45%",backgroundColor:"dark"===l.palette.mode?"rgba(255, 0, 0, 0.15)":"rgba(255, 0, 0, 0.08)",borderColor:"dark"===l.palette.mode?"rgba(255, 0, 0, 0.5)":"rgba(255, 0, 0, 0.4)",border:"1px solid",color:"dark"===l.palette.mode?"#ff6b6b":"#d32f2f","& .MuiChip-label":{fontWeight:500}}}),_.jsx(FE,{sx:{alignSelf:"center"}}),_.jsx(al,{label:r?.name||"File 2",size:"small",sx:{maxWidth:"45%",backgroundColor:"dark"===l.palette.mode?"rgba(0, 255, 0, 0.15)":"rgba(0, 255, 0, 0.08)",borderColor:"dark"===l.palette.mode?"rgba(0, 255, 0, 0.5)":"rgba(0, 255, 0, 0.4)",border:"1px solid",color:"dark"===l.palette.mode?"#51cf66":"#2e7d32","& .MuiChip-label":{fontWeight:500}}})]}),_.jsx(pc,{sx:{flex:1},children:_.jsx(Nw,{height:"100%",language:S,original:n.content||n.originalContentString||"",modified:r?.content||r?.originalContentString||"",theme:"dark"===l.palette.mode?"vs-dark":"vs",options:{readOnly:!0,renderSideBySide:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,fontSize:13,fontFamily:"'Fira Code', monospace",automaticLayout:!0,lineNumbers:"on",renderWhitespace:"none",folding:!0,wordWrap:"on",enableSplitViewResizing:!0}})})]}):_.jsxs(_.Fragment,{children:["tree"===u&&x&&_.jsx(gE,{data:x,viewMode:"tree",expandedNodes:p,onToggleNode:f,sourceXml:n.content||n.originalContentString||"",isLeftPaneCollapsed:!1}),"source"===u&&_.jsx(fE,{sourceXml:n.content||n.originalContentString||"",fileType:S,data:x,files:[],selectedFileIndex:0,onCompareChange:()=>{},compareFileIndex:"",isDiffView:!1,modifiedContent:"",onNewFile:()=>{},selectedXPath:null,themeMode:l.palette.mode,onContentChange:()=>{},onValidationError:()=>{},onEditingStateChange:()=>{},onEditedContentChange:()=>{},initialEditingMode:!1,readOnly:!0,hideToolbar:!0})]})})]}):_.jsx(pc,{sx:{p:3,textAlign:"center"},children:_.jsx(di,{variant:"body2",color:"text.secondary",children:w||"No file selected"})})}),t&&_.jsx(pc,{sx:{flex:1,display:"flex",alignItems:"center",justifyContent:"center",writingMode:"vertical-rl",transform:"rotate(180deg)",py:2},children:_.jsx(di,{variant:"caption",noWrap:!0,children:"File Viewer"})})]})},PB=({open:e,onClose:t,filterSelection:n,equivalenceResult:r,structures:a,structureBarHeight:i=0})=>{const s=Kr(),[l,c]=o.useState(450),[u,d]=o.useState(!1),p=o.useRef(0),f=o.useRef(0);o.useEffect(()=>{if(!u)return;const e=e=>{const t=p.current-e.clientX,n=window.innerWidth,r=Math.min(Math.max(350,f.current+t),n-50);c(r)},t=()=>{d(!1)};return document.addEventListener("mousemove",e),document.addEventListener("mouseup",t),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t)}},[u]);const m=Object.entries(n),h=e=>{const t=a.find(t=>t.id===e);return t?.displayName||e};return _.jsx(Vu,{direction:"left",in:e,mountOnEnter:!0,unmountOnExit:!0,children:_.jsxs(lo,{elevation:8,sx:{position:"fixed",right:0,top:i,height:`calc(100vh - ${i}px)`,width:`${l}px`,zIndex:1200,display:"flex",flexDirection:"column",transition:u?"none":s.transitions.create(["width"],{duration:s.transitions.duration.standard}),borderLeft:`1px solid ${s.palette.divider}`,borderTopLeftRadius:8,borderBottomLeftRadius:0,cursor:u?"ew-resize":"default",overflow:"hidden",backgroundColor:s.palette.background.paper},children:[_.jsx(pc,{onMouseDown:e=>{e.preventDefault(),d(!0),p.current=e.clientX,f.current=l},sx:{position:"absolute",left:0,top:0,bottom:0,width:8,cursor:"ew-resize",backgroundColor:"transparent",borderLeft:`2px solid ${u?s.palette.primary.main:"transparent"}`,transition:"border-color 0.2s ease","&:hover":{borderLeft:`2px solid ${s.palette.primary.light}`},zIndex:1}}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",p:2,pl:3,borderBottom:`1px solid ${s.palette.divider}`,backgroundColor:s.palette.background.default},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(_S,{color:"primary"}),_.jsx(di,{variant:"h6",component:"h2",children:"Global Filters"})]}),_.jsx(pc,{sx:{display:"flex",gap:1},children:_.jsx(xm,{title:"Close panel",children:_.jsx(qo,{size:"small",onClick:t,children:_.jsx(yE,{fontSize:"small"})})})})]}),_.jsx(pc,{sx:{flex:1,p:2,overflowY:"auto",minHeight:0},children:0===m.length?_.jsxs(pc,{sx:{textAlign:"center",py:4,color:"text.secondary"},children:[_.jsx(_S,{sx:{fontSize:48,opacity:.3,mb:2}}),_.jsx(di,{variant:"body2",children:"No active filters"})]}):_.jsx(pc,{sx:{display:"flex",flexDirection:"column",gap:3},children:m.map(([e,t])=>{const n=(e=>r&&r.equivalences.find(t=>
152Array.from(t.attributesByStructure.values()).some(t=>t===e))||null)(e),a=Array.from(t);return _.jsxs(lo,{variant:"outlined",sx:{p:2},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1,mb:1},children:[_.jsx(di,{variant:"subtitle2",sx:{fontWeight:"bold"},children:e.split(".").pop()}),n&&_.jsx(xm,{title:"Globally linked attribute",children:_.jsx(ZE,{fontSize:"small",color:"primary"})})]}),_.jsx(di,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:2},children:e}),_.jsxs(pc,{sx:{mb:2},children:[_.jsx(di,{variant:"caption",sx:{fontWeight:"bold",display:"block",mb:1},children:"Filtered Values:"}),_.jsx(pc,{sx:{display:"flex",flexWrap:"wrap",gap:.5},children:a.map(e=>_.jsx(al,{label:String(e),size:"small",color:"primary",variant:"outlined"},String(e)))})]}),n?_.jsxs(_.Fragment,{children:[_.jsx(Uu,{sx:{my:2}}),_.jsx(di,{variant:"caption",sx:{fontWeight:"bold",display:"block",mb:1},children:"Matching Attributes Across Structures:"}),_.jsx(Kd,{dense:!0,disablePadding:!0,children:Array.from(n.attributesByStructure.entries()).map(([t,n])=>_.jsx(sp,{disableGutters:!0,sx:{py:.5},children:_.jsx(hp,{primary:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(al,{label:h(t),size:"small",sx:{fontSize:"0.7rem",height:"20px"}}),n===e&&_.jsx(al,{label:"Source",size:"small",color:"primary",sx:{fontSize:"0.65rem",height:"18px"}})]}),secondary:_.jsx(di,{variant:"caption",sx:{fontSize:"0.7rem",color:"text.secondary"},children:n}),sx:{m:0}})},t))}),void 0!==n.confidence&&_.jsx(pc,{sx:{mt:1},children:_.jsxs(di,{variant:"caption",color:"text.secondary",children:["Confidence: ",(100*n.confidence).toFixed(0),"%"]})})]}):_.jsxs(_.Fragment,{children:[_.jsx(Uu,{sx:{my:2}}),_.jsx(di,{variant:"caption",color:"text.secondary",children:"(Local filter - no cross-structure matches)"})]})]},e)})})}),r&&m.length>0&&_.jsx(pc,{sx:{p:2,borderTop:"1px solid",borderColor:"divider",backgroundColor:"background.default"},children:_.jsxs(di,{variant:"caption",color:"text.secondary",children:[r.equivalences.length," total attribute equivalences detected across ",a.length," structures"]})})]})})},MB="_dmInternal.fileIdentifier";function jB(e){const t=e.split("."),n=[];for(let r=1;r<t.length;r++)n.push(t.slice(0,r).join("."));return n}function FB(e,t){if(!t)return!0;const{occurrencePercent:n,total:r,unique:a,nullEmpty:o}=t,i=e.aggregates,s=100*(e.occurrenceFrequency??1);if(n){if(null!=n.min&&s<n.min)return!1;if(null!=n.max&&s>n.max)return!1}if(r&&i){if(null!=r.min&&i.countTotal<r.min)return!1;if(null!=r.max&&i.countTotal>r.max)return!1}if(a&&i){if(null!=a.min&&i.countUnique<a.min)return!1;if(null!=a.max&&i.countUnique>a.max)return!1}if(o&&i){if(null!=o.min&&i.nullOrEmptyCount<o.min)return!1;if(null!=o.max&&i.nullOrEmptyCount>o.max)return!1}return!0}function zB(e,t){if(!t||function(e){return!e||(!e.searchTerm||""===e.searchTerm.trim())&&0===$B(e)}(t))return new Map(Array.from(e.attributes.entries()).filter(([e])=>e!==MB));const n=new Set;for(const[r,a]of e.attributes.entries())if(r!==MB&&FB(a,t)){n.add(r);jB(r).forEach(e=>n.add(e))}return new Map(Array.from(e.attributes.entries()).filter(([e])=>n.has(e)))}function $B(e){if(!e)return 0;let t=0;return e.searchTerm&&""!==e.searchTerm.trim()&&t++,null==e.occurrencePercent?.min&&null==e.occurrencePercent?.max||t++,null==e.total?.min&&null==e.total?.max||t++,null==e.unique?.min&&null==e.unique?.max||t++,null==e.nullEmpty?.min&&null==e.nullEmpty?.max||t++,t}function BB(e,t,n,r){if(!n)return!0;const{searchTerm:a,occurrencePercent:o,total:i,unique:s,nullEmpty:l}=n;if(a&&""!==a.trim()){const t=a.toLowerCase(),n=(r||e.path||"").toLowerCase(),o=n.split(".").pop()||n;if(!n.includes(t)&&!o.includes(t))return!1}const c=e.currentAggregates,u=100*(t??1);if(o){if(null!=o.min&&u<o.min)return!1;if(null!=o.max&&u>o.max)return!1}if(i&&c){if(null!=i.min&&c.countTotal<i.min)return!1;if(null!=i.max&&c.countTotal>i.max)return!1}if(s&&c){if(null!=s.min&&c.countUnique<s.min)return!1;if(null!=s.max&&c.countUnique>s.max)return!1}if(l&&c){if(null!=l.min&&c.nullOrEmptyCount<l.min)return!1;if(null!=l.max&&c.nullOrEmptyCount>l.max)return!1}return!0}const UB=({isOpen:e,onClose:t,structureId:n,structureName:r,criteria:a,onCriteriaChange:i,schema:s,structureBarHeight:l})=>
152{const c=Kr(),[u,d]=o.useState(450),[p,f]=o.useState(!1),m=o.useRef(0),h=o.useRef(0),g=function(e){let t=100,n=0,r=1/0,a=0,o=1/0,i=0,s=1/0,l=0;return e.attributes.forEach((e,c)=>{if(c===MB)return;const u=100*(e.occurrenceFrequency??1);t=Math.min(t,u),n=Math.max(n,u),e.aggregates&&(r=Math.min(r,e.aggregates.countTotal),a=Math.max(a,e.aggregates.countTotal),o=Math.min(o,e.aggregates.countUnique),i=Math.max(i,e.aggregates.countUnique),s=Math.min(s,e.aggregates.nullOrEmptyCount),l=Math.max(l,e.aggregates.nullOrEmptyCount))}),r===1/0&&(r=0),o===1/0&&(o=0),s===1/0&&(s=0),{occurrencePercent:{min:t,max:n},total:{min:r,max:a},unique:{min:o,max:i},nullEmpty:{min:s,max:l}}}(s);o.useEffect(()=>{if(!p)return;const e=e=>{const t=m.current-e.clientX,n=window.innerWidth,r=Math.min(Math.max(350,h.current+t),n-50);d(r)},t=()=>{f(!1)};return document.addEventListener("mousemove",e),document.addEventListener("mouseup",t),()=>{document.removeEventListener("mousemove",e),document.removeEventListener("mouseup",t)}},[p]);const b=(e,t)=>{const n={...a};null==e&&null==t?delete n.occurrencePercent:n.occurrencePercent={min:e??a.occurrencePercent?.min,max:t??a.occurrencePercent?.max},i(n)},y=(e,t)=>{const n={...a};null==e&&null==t?delete n.total:n.total={min:e??a.total?.min,max:t??a.total?.max},i(n)},v=(e,t)=>{const n={...a};null==e&&null==t?delete n.unique:n.unique={min:e??a.unique?.min,max:t??a.unique?.max},i(n)},x=(e,t)=>{const n={...a};null==e&&null==t?delete n.nullEmpty:n.nullEmpty={min:e??a.nullEmpty?.min,max:t??a.nullEmpty?.max},i(n)},[S,w]=o.useState(a.searchTerm||"");o.useEffect(()=>{if(S===(a.searchTerm||""))return;const e=setTimeout(()=>{const e={...a};""===S.trim()?delete e.searchTerm:e.searchTerm=S,i(e)},300);return()=>clearTimeout(e)},[S,a,i]),o.useEffect(()=>{w(a.searchTerm||"")},[a.searchTerm]);const E=$B(a);return _.jsx(Vu,{direction:"left",in:e,mountOnEnter:!0,unmountOnExit:!0,children:_.jsxs(lo,{elevation:8,sx:{position:"fixed",right:0,top:l,height:`calc(100vh - ${l}px)`,width:`${u}px`,zIndex:1200,display:"flex",flexDirection:"column",transition:p?"none":c.transitions.create(["width"],{duration:c.transitions.duration.standard}),borderLeft:`1px solid ${c.palette.divider}`,borderTopLeftRadius:8,borderBottomLeftRadius:0,cursor:p?"ew-resize":"default",overflow:"hidden",backgroundColor:c.palette.background.paper},children:[_.jsx(pc,{onMouseDown:e=>{e.preventDefault(),f(!0),m.current=e.clientX,h.current=u},sx:{position:"absolute",left:0,top:0,bottom:0,width:8,cursor:"ew-resize",backgroundColor:"transparent",borderLeft:`2px solid ${p?c.palette.primary.main:"transparent"}`,transition:"border-color 0.2s ease","&:hover":{borderLeft:`2px solid ${c.palette.primary.light}`},zIndex:1}}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",p:2,pl:3,borderBottom:`1px solid ${c.palette.divider}`,backgroundColor:c.palette.background.default},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1},children:[_.jsx(NS,{color:"primary"}),_.jsx(di,{variant:"h6",component:"h2",children:"Metadata Filters"}),E>0&&_.jsxs(di,{variant:"caption",color:"text.secondary",children:["(",E," active)"]})]}),_.jsxs(pc,{sx:{display:"flex",gap:1},children:[E>0&&_.jsx(xm,{title:"Clear all filters",children:_.jsx(qo,{size:"small",onClick:()=>{w(""),i({})},children:_.jsx(VE,{fontSize:"small"})})}),_.jsx(xm,{title:"Close panel",children:_.jsx(qo,{size:"small",onClick:t,children:_.jsx(yE,{fontSize:"small"})})})]})]}),_.jsx(pc,{sx:{px:3,pt:2,pb:1},children:_.jsxs(di,{variant:"body2",color:"text.secondary",children:["Structure: ",_.jsx("strong",{children:r})]})}),_.jsx(pc,{sx:{flex:1,px:3,pb:2,overflowY:"auto",minHeight:0},children:_.jsxs(pc,{sx:{display:"flex",flexDirection:"column",gap:3,mt:2},children:[_.jsx(oh,{fullWidth:!0,size:"small",placeholder:"Search attributes by name...",value:S,onChange:e=>w(e.target.value),InputProps:{startAdornment:_.jsx(pC,{fontSize:"small",sx:{color:"text.secondary",mr:1}}),endAdornment:S&&_.jsx(qo,{size:"small",onClick:()=>w(""),edge:"end",sx:{mr:-.5},children:_.jsx(PE,{fontSize:"small"})})},sx:{"& .MuiOutlinedInput-root":{backgroundColor:c.palette.background.default}}}),_.jsx(Uu,{}),_.jsx(HB,{label:"Occurrences %",helpText:"Filter by percentage of files in structure containing this attribute",min:a.occurrencePercent?.min,max:a.occurrencePercent?.max,rangeMin:g.occurrencePercent.min,rangeMax:g.occurrencePercent.max,step:1,onChange:(e,t)=>
152b(e,t),onClear:()=>b(void 0,void 0),suffix:"%"}),_.jsx(Uu,{}),_.jsx(HB,{label:"Total",helpText:"Filter by total number of times this attribute appears across all records",min:a.total?.min,max:a.total?.max,rangeMin:g.total.min,rangeMax:g.total.max,step:1,onChange:(e,t)=>y(e,t),onClear:()=>y(void 0,void 0)}),_.jsx(Uu,{}),_.jsx(HB,{label:"Unique",helpText:"Filter by number of unique values for this attribute",min:a.unique?.min,max:a.unique?.max,rangeMin:g.unique.min,rangeMax:g.unique.max,step:1,onChange:(e,t)=>v(e,t),onClear:()=>v(void 0,void 0)}),_.jsx(Uu,{}),_.jsx(HB,{label:"Null/Empty",helpText:"Filter by number of null or empty values for this attribute",min:a.nullEmpty?.min,max:a.nullEmpty?.max,rangeMin:g.nullEmpty.min,rangeMax:g.nullEmpty.max,step:1,onChange:(e,t)=>x(e,t),onClear:()=>x(void 0,void 0)})]})})]})})},HB=({label:e,helpText:t,min:n,max:r,rangeMin:a,rangeMax:i,step:s,onChange:l,onClear:c,suffix:u=""})=>{Kr();const d=null!=n||null!=r,[p,f]=o.useState(null);o.useEffect(()=>{f(null)},[n,r]);const m=p??[n??a,r??i];return _.jsxs(pc,{children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:1},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:.5},children:[_.jsx(di,{variant:"subtitle2",fontWeight:"bold",children:e}),_.jsx(xm,{title:t,arrow:!0,children:_.jsx(Sh,{sx:{fontSize:16,color:"text.secondary",cursor:"help"}})})]}),d&&_.jsx(Ec,{size:"small",onClick:c,startIcon:_.jsx(PE,{}),children:"Clear"})]}),_.jsx(pc,{sx:{px:1,mb:2},children:_.jsx(nm,{value:m,onChange:(e,t)=>
152{Array.isArray(t)&&f([t[0],t[1]])},onChangeCommitted:(e,t)=>{if(Array.isArray(t)){const[e,n]=t;l(e===a?void 0:e,n===i?void 0:n),f(null)}},valueLabelDisplay:"auto",min:a,max:i,step:s,marks:[{value:a,label:`${Number(a).toFixed("%"===u?2:0)}${u}`},{value:i,label:`${Number(i).toFixed("%"===u?2:0)}${u}`}],valueLabelFormat:e=>`${Number(e).toFixed("%"===u?2:0)}${u}`,sx:{"& .MuiSlider-markLabel":{fontSize:"0.7rem"}}})}),_.jsxs(pc,{sx:{display:"flex",gap:2},children:[_.jsx(oh,{label:"Min",type:"number",size:"small",value:n??"",onChange:e=>{const t=""===e.target.value?void 0:Number(e.target.value);l(t,r)},placeholder:String(a),inputProps:{min:a,max:i,step:s},sx:{flex:1}}),_.jsx(oh,{label:"Max",type:"number",size:"small",value:r??"",onChange:e=>{const t=""===e.target.value?void 0:Number(e.target.value);l(n,t)},placeholder:String(i),inputProps:{min:a,max:i,step:s},sx:{flex:1}})]})]})},VB=({onClick:e,criteria:t,disabled:n=!1})=>{const r=$B(t);return _.jsx(xm,{title:"Filter attributes by metadata",children:_.jsx(qo,{size:"small",onClick:t=>{t.stopPropagation(),e()},disabled:n,color:r>0?"primary":"default",children:_.jsx(cc,{badgeContent:r,color:"primary",children:_.jsx(NS,{fontSize:"small"})})})})},WB="_dmInternal.fileIdentifier",GB=({index:e,style:t,data:n})=>{const{files:r,onFilterChange:a,currentFilterSelection:i,theme:s,FILENAME_ATTRIBUTE_PATH:l,onAddFileNameColumn:c}=n,u=r[e],[d,p]=o.useState(null);if(!u)return null;const f={cursor:u.state===qx.Unavailable?"not-allowed":"pointer",textDecoration:u.state===qx.Unavailable?"line-through":"none",backgroundColor:"transparent",color:s.palette.text.primary},m=i[l]?.has(u.originalId);switch(u.state){case qx.Selected:f.backgroundColor="#e6ffed",f.color="#1e4620";break;case qx.Possible:m&&(f.backgroundColor="#e6ffed",f.color="#1e4620");break;case qx.Excluded:f.backgroundColor="dark"===s.palette.mode?s.palette.grey[700]:"#f5f5f5",f.color=s.palette.text.disabled;break;case qx.Unavailable:f.backgroundColor="dark"===s.palette.mode?s.palette.grey[800]:"#eeeeee",f.color=s.palette.text.disabled}const h=()=>{p(null)},g={...t,cursor:u.state===qx.Unavailable?"not-allowed":"pointer",display:"flex",alignItems:"center",padding:"4px 16px",margin:0,border:"none",borderRadius:0,textAlign:"left",fontSize:"0.875rem",textDecoration:u.state===qx.Unavailable?"line-through":"none",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",boxSizing:"border-box",backgroundColor:f.backgroundColor,color:f.color,transition:"background-color 0.1s ease"};return _.jsxs(_.Fragment,{children:[_.jsx("button",{style:g,onClick:e=>{if(u.state!==qx.Unavailable){const t=e.metaKey||e.ctrlKey;a(l,u.originalId,{multi:t})}},onContextMenu:e=>{e.preventDefault(),p(null===d?{mouseX:e.clientX+2,mouseY:e.clientY-6}:null)},onMouseEnter:e=>{u.state===qx.Unavailable||u.state===qx.Selected||m||(e.target.style.backgroundColor="#f0f0f0")},onMouseLeave:e=>{u.state===qx.Unavailable||u.state===qx.Selected||m||(e.target.style.backgroundColor=g.backgroundColor||"transparent")},disabled:u.state===qx.Unavailable,children:`${u.displayValue}${u.sourceZipName?` (${u.sourceZipName})`:""}`},`file-${e}-${u.originalId}`),_.jsxs(Pp,{open:null!==d,onClose:h,anchorReference:"anchorPosition",anchorPosition:null!==d?{top:d.mouseY,left:d.mouseX}:void 0,children:[_.jsxs(zp,{onClick:async()=>{try{const e=u.sourceZipName?`${u.displayValue} (${u.sourceZipName})`:u.displayValue;await navigator.clipboard.writeText(e),h()}catch(e){h()}},children:[_.jsx(RS,{sx:{mr:1}}),"Copy filename"]}),c&&_.jsxs(zp,{onClick:()=>{c(),h()},children:[_.jsx(fC,{sx:{mr:1}}),"Add to grid"]})]})]})},qB=({node:e,level:t,displayAttributesMap:n,onFilterChange:r,onFilterMultipleValues:a,currentFilterSelection:i,horizontalLayoutNodes:s,toggleHorizontalLayoutNode:l,onClearAttributeSelections:c,expandedNodesMap:u,onToggleNode:d,onAttributeAddToGrid:p})=>{const f=u[e.path]??!1,[m,h]=o.useState(""),g=e.children.size>0,b=Kr(),[y,v]=o.useState(!1),[x,S]=o.useState(new Set),w=o.useRef(null),E=o.useRef(!1),[C,k]=o.useState(!1),[T,A]=o.useState(new Set),[I,N]=o.useState(null),R=n?.get(e.path),O=g&&Array.from(e.children.values()).some(e=>!!e.attribute),L=s.has(e.path),D=o.useMemo(()=>e.attribute&&e.attribute.values?Array.from(e.attribute.values):[],[e.attribute]),P=o.useMemo(()=>R?.values||D.map(e=>({value:e,count:0,state:qx.Possible})),[R,D]),M=o.useMemo(()=>P.filter(e=>null!==e.value&&void 0!==e.value&&""!==String(e.value).trim()),[P]),j=o.useMemo(()=>[...M].sort((e,t)=>
152{if(e.value===Gx)return-1;if(t.value===Gx)return 1;if(e.state!==t.state){if(e.state===qx.Selected)return-1;if(t.state===qx.Selected)return 1;if(e.state===qx.Possible&&e.count>0)return-1;if(t.state===qx.Possible&&t.count>0)return 1}return e.count!==t.count?t.count-e.count:String(e.value).localeCompare(String(t.value))}),[M]),F=o.useMemo(()=>j.filter(e=>{const t=e.value===Gx?"(Null/Empty)":String(e.value);return""===m||t.toLowerCase().includes(m.toLowerCase())}),[j,m]),z=!!e.attribute&&"array"!==e.attribute.dataType&&M.length>0,$=g||z,B=()=>{$&&d(e.path)},U=()=>{N(null)},H=e=>{navigator.clipboard.writeText(e)},V=e=>e.value===Gx?"(Null/Empty)":String(e.value),[W,G]=o.useState(!1);o.useEffect(()=>{const t=e=>{"Control"!==e.key&&"Meta"!==e.key||k(!0)},n=t=>{"Control"!==t.key&&"Meta"!==t.key||(k(!1),T.size>0&&e.attribute&&(T.forEach(t=>{r(e.attribute.path,t,{multi:!0})}),A(new Set)))};return document.addEventListener("keydown",t),document.addEventListener("keyup",n),()=>{document.removeEventListener("keydown",t),document.removeEventListener("keyup",n)}},[T,e.attribute,r]),o.useEffect(()=>{const t=()=>{if(y&&e.attribute)if(x.size>1)E.current=!0,x.forEach(t=>{r(e.attribute.path,t,{multi:!0})}),setTimeout(()=>{E.current=!1},50);else if(1===x.size){const t=Array.from(x)[0];C?A(e=>{const n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}):r(e.attribute.path,t,{multi:!1})}v(!1),S(new Set),w.current=null};if(y)return document.addEventListener("mouseup",t),()=>{document.removeEventListener("mouseup",t)}},[y,x,e.attribute,r,C]);const q=e.name,Y=[];let X=b.palette.text.primary;if(R||e.attribute){const t=R?.dataType||e.attribute?.dataType,n=R?.occurrenceFrequency??e.attribute?.occurrenceFrequency,r=R?.isOptional??e.attribute?.isOptional,a=R?.currentAggregates||e.attribute?.aggregates;let o=0;if(a&&void 0!==n&&n>0?o=Math.round(a.countTotal/n):a&&0===n&&(o=0),t)switch(Y.push(`Type: ${t}`),t){case"number":X=b.palette.info.main;break;case"date":X=b.palette.success.main;break;case"boolean":X=b.palette.secondary.main;break;case"array":X=b.palette.warning.main;break;case"mixed":X=b.palette.error.main;break;default:X=b.palette.text.primary}void 0!==n&&Y.push(`Occurrences: ${(100*n).toFixed(0)}%`),void 0!==r&&Y.push(r?"Optional":"Required"),a&&(o>0&&a.countTotal!==o?Y.push(`Total (attr): ${a.countTotal} / (files): ${o}`):Y.push(`Total: ${a.countTotal}`),Y.push(`Unique: ${a.countUnique}`),Y.push(`Null/Empty: ${a.nullOrEmptyCount}`),"number"===t?(void 0!==a.min&&Y.push(`Min: ${a.min}`),void 0!==a.max&&Y.push(`Max: ${a.max}`),void 0!==a.average&&Y.push(`Avg: ${a.average.toFixed(2)}`)):"date"===t?(a.minDate&&Y.push(`Oldest: ${new Date(a.minDate).toLocaleDateString()}`),a.maxDate&&Y.push(`Newest: ${new Date(a.maxDate).toLocaleDateString()}`)):"array"===t&&(void 0!==a.minItemsInList&&Y.push(`Min Items: ${a.minItemsInList}`),void 0!==a.maxItemsInList&&Y.push(`Max Items: ${a.maxItemsInList}`),void 0!==a.avgItemsInList&&Y.push(`Avg Items: ${a.avgItemsInList.toFixed(2)}`)))}const K=_v,Z=o.useCallback(t=>{t.shiftKey&&(t.metaKey||t.ctrlKey)&&e.attribute&&p&&(t.preventDefault(),t.stopPropagation(),p(e.attribute.path,e.attribute),window.getSelection&&window.getSelection()?.removeAllRanges())},[e,p]);return _.jsxs(_.Fragment,{children:[_.jsxs(sp,{onClick:Z,sx:{pl:2*t,py:.25,display:"flex",alignItems:"center",cursor:e.attribute?"pointer":"default",userSelect:"none"},children:[_.jsx(dp,{sx:{minWidth:"30px",flexShrink:0},children:$?_.jsx(qo,{size:"small",onClick:e=>{e.stopPropagation(),B()},sx:{p:.5},children:g?f?_.jsx(Qy,{fontSize:"inherit"}):_.jsx(DE,{fontSize:"inherit"}):f?_.jsx(xC,{fontSize:"inherit"}):_.jsx(SC,{fontSize:"inherit"})}):null}),_.jsx(hp,{primary:_.jsxs(pc,{sx:{display:"flex",alignItems:"center",overflow:"hidden"},children:[_.jsx(di,{variant:"body2",fontWeight:e.attribute?"medium":"normal",sx:{mr:.5,color:e.attribute?X:b.palette.text.primary,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:q}),O&&_.jsx(xm,{title:L?"Switch to Vertical Layout":"Switch to Horizontal Layout",children:_.jsx(qo,{size:"small",onClick:t=>{t.stopPropagation(),l(e.path),f||B()},sx:{p:.25,color:L?"primary.main":"inherit",ml:.5,flexShrink:0}
152,children:L?_.jsx(vC,{fontSize:"inherit"}):_.jsx(mC,{fontSize:"inherit"})})})]}),primaryTypographyProps:{variant:"body2",fontWeight:e.attribute?"medium":"normal",component:"div"},secondary:Y.join(" | "),secondaryTypographyProps:{variant:"caption",sx:{display:"block",whiteSpace:"normal",wordBreak:"break-all",mt:Y.length>0?.25:0}},sx:{m:0,flexGrow:1,minWidth:0,mr:0}})]}),g&&f&&(L&&O?_.jsxs(pc,{sx:{ml:b.spacing(2*t+1.5),py:.5,borderLeft:`1px dashed ${b.palette.divider}`,boxSizing:"border-box",maxWidth:"100%",overflow:"visible",minHeight:"auto"},children:[_.jsx(cB,{nodes:Array.from(e.children.values()).filter(e=>!!e.attribute&&"array"!==e.attribute.dataType),displayAttributesMap:n,onFilterChange:r,onFilterMultipleValues:a,currentFilterSelection:i,ROW_HEIGHT:24,VIRTUALIZED_LIST_MAX_HEIGHT_PX:300,onClearAttributeSelections:c,setLayoutMinHeight:0===t,onAttributeAddToGrid:p}),_.jsx(Kd,{disablePadding:!0,dense:!0,component:"div",sx:{ml:0,mt:Array.from(e.children.values()).some(e=>!!e.attribute&&"array"!==e.attribute.dataType)?1:0},children:Array.from(e.children.values()).filter(e=>!!e.attribute&&"array"===e.attribute.dataType||!e.attribute&&e.children.size>0).map(e=>_.jsx(qB,{node:e,level:t+1,displayAttributesMap:n,onFilterChange:r,onFilterMultipleValues:a,currentFilterSelection:i,horizontalLayoutNodes:s,toggleHorizontalLayoutNode:l,onClearAttributeSelections:c,expandedNodesMap:u,onToggleNode:e=>d(e),onAttributeAddToGrid:p},e.path))})]}):_.jsx(Kd,{disablePadding:!0,dense:!0,component:"div",children:Array.from(e.children.values()).map(e=>_.jsx(qB,{node:e,level:t+1,displayAttributesMap:n,onFilterChange:r,onFilterMultipleValues:a,currentFilterSelection:i,horizontalLayoutNodes:s,toggleHorizontalLayoutNode:l,onClearAttributeSelections:c,expandedNodesMap:u,onToggleNode:e=>d(e),onAttributeAddToGrid:p},e.path))})),z&&f&&e.attribute&&_.jsxs(pc,{sx:{pl:2*t+1.5,ml:2*t+1.5,mr:2,py:.5,borderLeft:"1px dashed #ccc",paddingLeft:"16px"},children:[_.jsx(oh,{fullWidth:!0,size:"small",variant:"outlined",placeholder:"Search values...",value:m,onChange:e=>h(e.target.value),onKeyDown:t=>{if("Enter"===t.key&&e.attribute){t.preventDefault(),t.stopPropagation();const n=F.filter(e=>e.state===qx.Possible);if(n.length>0)for(const t of n)r(e.attribute.path,t.value,{multi:!0});h("")}else"Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),h(""))},sx:{mb:.5},InputProps:{endAdornment:c&&e.attribute&&i[e.attribute.path]?.size>0&&_.jsxs(_d,{position:"end",children:[" ",_.jsxs(qo,{"aria-label":"clear attribute selections",onClick:()=>{e.attribute&&c&&c(e.attribute.path)},edge:"end",size:"small",children:[" ",_.jsx(PE,{fontSize:"inherit"})," "]})," "]})}}),_.jsx(pc,{sx:{overflow:"auto",maxWidth:"100%"},onContextMenu:e=>{e.preventDefault(),N(null===I?{mouseX:e.clientX,mouseY:e.clientY}:null)},children:_.jsx(K,{height:Math.min(24*F.length,300),itemCount:F.length,itemSize:24,width:"100%",itemData:{values:F,handleValueClick:(t,n)=>{if(!E.current&&(!n||2!==n.button)&&e.attribute){const a=!!n&&(n.metaKey||n.ctrlKey);a&&C?A(e=>{const n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}):r(e.attribute.path,t,{multi:a})}},isDragging:y,draggedValues:x,onMouseDown:(e,t)=>{t&&2===t.button||(v(!0),S(new Set([e])),w.current=e)},onMouseEnter:e=>{y&&S(t=>new Set([...t,e]))},pendingCtrlSelections:T},children:({index:e,style:t,data:n})=>{const r=Kr(),a=n.values[e],o=n.isDragging&&n.draggedValues?.has(a.value),i=n.pendingCtrlSelections?.has(a.value),s={...t,cursor:a.state===qx.Unavailable?"not-allowed":"pointer",display:"flex",alignItems:"center",padding:"2px 8px",margin:0,border:"none",borderRadius:0,textAlign:"left",fontSize:"0.75rem",fontStyle:"italic",textDecoration:a.state===qx.Unavailable?"line-through":"none",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",boxSizing:"border-box",transition:"background-color 0.1s ease"};switch(a.state){case qx.Selected:s.backgroundColor="#e6ffed",s.color="#1e4620";break;case qx.Possible:s.backgroundColor="dark"===r.palette.mode?r.palette.grey[800]:r.palette.background.paper,s.color=r.palette.text.primary;break;case qx.Excluded:s.backgroundColor="dark"===r.palette.mode?r.palette.grey[700]:"#f5f5f5",s.color=r.palette.text.disabled;break;case qx.Unavailable:s.backgroundColor="dark"===r.palette.mode?r.palette.grey[900]:"#eeeeee",s.color=r.palette.text.disabled}return o&&a.state!==qx.Selected&&a.state!==qx.Unavailable&&(s.backgroundColor="#d0e8ff",s.color="#0d47a1"),i&&a.state!==qx.Selected&&(s.backgroundColor="#fff3cd",s.color="#856404",s.border="1px solid #ffc107"),_.jsx("button",{style:s,onClick:e=>{a.state!==qx.Unavailable&&n.handleValueClick(a.value,e)},onMouseDown:e=>{a.state!==qx.Unavailable&&n.onMouseDown&&(e.preventDefault(),n.onMouseDown(a.value,e))},onMouseEnter:e=>{a.state!==qx.Unavailable&&n.onMouseEnter?n.onMouseEnter(a.value):a.state===qx.Unavailable||a.state===qx.Selected||n.isDragging||(e.target.style.backgroundColor="#f0f0f0")},onMouseLeave:e=>{a.state===qx.Unavailable||a.state===qx.Selected||n.isDragging||(e.target.style.backgroundColor=s.backgroundColor||"transparent")},disabled:a.state===qx.Unavailable,children:`${a.value===Gx?"(Null/Empty)":String(a.value)} (${a.count})`},`${e}-${String(a.value)}`)}})}),_.jsxs(Pp,{open:null!==I,onClose:U,anchorReference:"anchorPosition",anchorPosition:null!==I?{top:I.mouseY,left:I.mouseX}:void 0,children:[_.jsx(zp,{onClick:()=>{const e=j.filter(e=>e.state===qx.Selected).map(V).join("\n");H(e),U()},children:"Copy selected"}),_.jsx(zp,{onClick:()=>{const e=j.filter(e=>e.state===qx.Possible).map(V).join("\n");H(e),U()},children:"Copy possible"}),_.jsx(zp,{onClick:()=>{const e=j.filter(e=>e.state===qx.Excluded).map(V).join("\n");H(e),U()},children:"Copy excluded"}),a&&_.jsx(zp,{onClick:()=>{U(),G(!0)},children:"Filter multiple values"}),p&&_.jsx(zp,{onClick:()=>{e.attribute&&p&&p(e.attribute.path,e.attribute),U()},children:"Add to grid"})]}),a&&_.jsx(oB,{open:W,attributeName:e.name,onClose:()=>G(!1),onApply:t=>{e.attribute&&a&&a(e.attribute.path,t)}})]})]})}
152,YB=({files:e=[],onAnalyze:t,isAnalyzing:n,analysisResults:r,analysisError:a,onClearAnalysisResults:i,onClearAllFilters:s,displayAttributesPerSchema:c,onFilterChange:u,onFilterMultipleValues:d,currentFilterSelection:p,filteredFileSetsPerSchema:f,onExtractFiles:m,onClearAttributeSelections:h,processedFileCount:g,totalFilesToProcess:b,analysisPhase:y,completedSteps:v,currentStep:x,gridState:S,onAttributeAddToGrid:w,onAddFileNameColumn:E,onGridOpen:C,onGridClose:k,onGridToggleMinimize:T,onGridColumnRemove:A,onGridClearAll:I,onGridAggregationChange:N,onGridColumnSort:R,onGridColumnResize:O,fileViewerPanelState:L,filteredFileIds:D,onFileViewerPanelOpen:P,onFileViewerPanelClose:M,onFileViewerPanelToggleMinimize:j,attributeEquivalences:F,metadataFilterState:z,onMetadataFilterChange:$})=>{const B=Kr(),[U,H]=o.useState("setup"),[V,W]=o.useState([]),[G,q]=o.useState(.8),[Y,X]=o.useState(!1),[K,Z]=o.useState(!1),[J,Q]=o.useState(!1),[ee,te]=o.useState("list"),[ne,re]=o.useState(!1),[ae,oe]=o.useState("heuristic"),[ie,se]=o.useState(.8),le=l.useRef(null),[ce,ue]=o.useState(64),de="dataAnalysis_selectedFiles",pe="dataAnalysis_fileFilter",fe=o.useCallback(e=>{try{localStorage.setItem(de,JSON.stringify(e))}catch(t){}},[de]),me=o.useCallback(()=>{try{const e=localStorage.getItem(de);if(e){const t=JSON.parse(e);return Array.isArray(t)?t:[]}}catch(e){}return[]},[de]),[he,ge]=o.useState(new Set),[be,ye]=o.useState({}),[ve,xe]=o.useState({}),[Se,we]=o.useState({}),[Ee,Ce]=o.useState(new Map),[ke,Te]=o.useState(null),Ae=o.useRef(!1),[Ie,Ne]=o.useState({}),[_e,Re]=o.useState(()=>{try{const e=localStorage.getItem("dataAnalysis_fileFilter");if(e&&["all","zip","data"].includes(e))return e}catch(e){}return"all"}),Oe=r?.structureSchemas||new Map,{comparisonState:Le,comparisonData:De,toggleStructureSelection:Pe,deselectStructure:Me,clearAllSelections:je,setComparisonPanelOpen:Fe,toggleComparisonPanelMinimize:ze,toggleIncompleteFilter:$e}=function({structureSchemas:e}
152){const[t,n]=o.useState({selectedStructureIds:new Set,isComparisonPanelOpen:!1,isComparisonPanelMinimized:!1,showIncompleteOnly:!1}),r=o.useMemo(()=>{const n=[];for(const r of t.selectedStructureIds){const t=e.get(r);t&&n.push(t)}return n},[t.selectedStructureIds,e]),a=o.useMemo(()=>{if(0===r.length)return null;const e={showIncompleteOnly:t.showIncompleteOnly};return vB(r,e)},[r,t.showIncompleteOnly]),i=t.selectedStructureIds.size>0,s=t.selectedStructureIds.size>=2,l=o.useCallback(e=>{n(t=>{const n=new Set(t.selectedStructureIds);return n.add(e),{...t,selectedStructureIds:n,isComparisonPanelOpen:!0}})},[]),c=o.useCallback(e=>{n(t=>{const n=new Set(t.selectedStructureIds);return n.delete(e),{...t,selectedStructureIds:n,isComparisonPanelOpen:n.size>0&&t.isComparisonPanelOpen}})},[]),u=o.useCallback(e=>{n(t=>{const n=new Set(t.selectedStructureIds);return n.has(e)?n.delete(e):n.add(e),{...t,selectedStructureIds:n,isComparisonPanelOpen:n.size>0}})},[]),d=o.useCallback(()=>{n(e=>({...e,selectedStructureIds:new Set,isComparisonPanelOpen:!1}))},[]),p=o.useCallback(e=>{n(t=>({...t,isComparisonPanelOpen:e}))},[]),f=o.useCallback(e=>{n(t=>({...t,showIncompleteOnly:e}))},[]),m=o.useCallback(e=>{n(t=>({...t,isComparisonPanelMinimized:e}))},[]),h=o.useCallback(()=>{n(e=>({...e,isComparisonPanelMinimized:!e.isComparisonPanelMinimized}))},[]);return{comparisonState:t,comparisonData:a,selectStructure:l,deselectStructure:c,toggleStructureSelection:u,clearAllSelections:d,setComparisonPanelOpen:p,setComparisonPanelMinimized:m,toggleComparisonPanelMinimize:h,toggleIncompleteFilter:f,selectedStru
152ctures:r,hasSelections:i,canCompare:s}}({structureSchemas:Oe});l.useLayoutEffect(()=>{const e=()=>{le.current&&requestAnimationFrame(()=>{if(le.current){const e=le.current.getBoundingClientRect().bottom;ue(e)}})};e();const t=setTimeout(e,100),n=new ResizeObserver(e);return le.current&&n.observe(le.current),window.addEventListener("resize",e),window.addEventListener("scroll",e),()=>{clearTimeout(t),n.disconnect(),window.removeEventListener("resize",e),window.removeEventListener("scroll",e)}},[r,S?.isOpen]),o.useEffect(()=>{const t=new Map;e.forEach(e=>t.set(e.id,e.name)),r?.analyzedFiles?.forEach(e=>{t.has(e.id)||t.set(e.id,e.name)}),Ce(t)},[e,r?.analyzedFiles]);const Be=e=>{const t=e.target.checked;X(t),W(t?Ue.map(e=>e.id):[])},Ue=e.filter(e=>{if("xsd"===e.type)return!1;switch(_e){case"zip":return"zip"===e.type;case"data":return"zip"!==e.type;default:return!0}});o.useEffect(()=>{Ue.length>0&&V.length===Ue.length?Y||X(!0):Y&&X(!1)},[V,Ue,Y]),o.useEffect(()=>{try{localStorage.setItem(pe,_e)}catch(e){}},[_e,pe]),o.useEffect(()=>{if(e.length>0){const t=me().filter(t=>e.some(e=>e.id===t));t.length>0&&W(t)}},[e,me]),o.useEffect(()=>{if(V.length>0)fe(V);else try{localStorage.removeItem(de)}catch(e){}},[V,fe,de]),o.useEffect(()=>{const e=V.filter(e=>Ue.some(t=>t.id===e));e.length!==V.length&&W(e)},[_e,Ue,V]);const He=e=>{if(!e||0===e)return"";const t=["B","KB","MB","GB"];let n=e,r=0;for(;n>=1024&&r<t.length-1;)n/=1024,r++;return`${n.toFixed(0===r?0:1)} ${t[r]}`},Ve=e=>{const t=[`Type: ${e.type}`];if("zip"===e.type){if(e.internalFiles&&Array.isArray(e.internalFiles)){const n=e.internalFiles.length;t.push(`${n} file${1!==n?"s":""}`)}e.fileSize&&t.push(`${He(e.fileSize)}`)}else e.contentPreview&&t.push(`Preview: ${e.contentPreview}`),e.fileSize&&t.push(`${He(e.fileSize)}`);return t.join(", ")},We=(e,t)=>{q(t)},Ge=()=>{t(V,G,ne&&"manual"===ae?{enabled:!1,equivalenceStrategy:ae,confidenceThreshold:ie}:{enabled:ne,equivalenceStrategy:ae,confidenceThreshold:ie})},qe=e=>{ge(t=>{const n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n})},Ye=l.useMemo(()=>{if(!r)return[];const e=!!z&&Object.keys(z).length>0;return Array.from(r.structureSchemas.values()).filter(e=>e.fileIds.size>0).map(t=>{let n;if(e&&z[t.id]){const e=c?.get(t.id);if(e){const r=z[t.id],a=new Set;for(const[n,o]of e.entries()){const e=t.attributes.get(n);if(e&&BB(o,e.occurrenceFrequency,r,n)){a.add(n);jB(n).forEach(e=>a.add(e))}}n=new Map(Array.from(t.attributes.entries()).filter(([e])=>e!==WB&&a.has(e)))}else n=zB(t,z[t.id])}else n=new Map(Array.from(t.attributes.entries()).filter(([e])=>e!==WB));const r=(e=>{const t=new Map;return e.forEach((n,r)=>{const a=r.split(".");let o=t,i=null;const s=[];for(let t=0;t<a.length;t++){const l=a[t],c=s.join(".");s.push(l);const u=s.join(".");if(l.endsWith("[]")){const t=l.substring(0,l.length-2),n=(c?c+".":"")+t,r=e.get(n);if("array"===r?.dataType&&i){let e=i.children.get(t);e||(e={name:t,path:n,children:new Map,attribute:r},i.children.set(t,e)),i=e,o=e.children;continue}}let d=o.get(l);d||(d={name:l,path:u,children:new Map},o.set(l,d)),u===r&&(d.attribute=n),i=d,o=d.children}}),t})(n),a=f?.get(t.id)?.size??0,o=t.fileIds.size;return{id:t.id,displayName:t.displayName,totalFiles:o,filteredFiles:a,treeRoot:r,schema:t}})},[r,f,z,c]);let Xe=null;if("setup"!==U&&Ye.length>0){const e=Ye.find(e=>e.id===U);e?Xe=e:1===Ye.length&&(Xe=Ye[0])}o.useEffect(()=>{"setup"!==U&&Ye.length>0&&!Ye.find(e=>e.id===U)?1===Ye.length?H(Ye[0].id):H("setup"):0===Ye.length&&"setup"!==U&&H("setup")},[Ye,U]);const Ke=Xe?.id&&c?c.get(Xe.id):null,Ze=void 0===Ke?null:Ke,Je=Ze?.get(WB);o.useEffect(()=>{Xe?.id&&void 0===be[Xe.id]&&ye(e=>({...e,[Xe.id]:{expanded:!0,viewMode:"list"}})),Xe?.id&&void 0===ve[Xe.id]&&xe(e=>({...e,[Xe.id]:!1}))},[Xe?.id,be,ve]);const Qe=()=>{const t=void 0!==g&&b&&b>0?g/b*100:0;return _.jsxs(lo,{elevation:2,sx:{p:3,display:"flex",flexDirection:"column",gap:2,alignItems:"center",mt:2,width:"100%",maxWidth:"900px",mx:"auto"},children:[_.jsx(di,{variant:"h5",component:"h2",gutterBottom:!0,sx:{textAlign:"center"},children:"Analyze Files"}),_.jsx(di,{variant:"body1",color:"textSecondary",sx:{textAlign:"center",mb:2},children:"Select files from the list below and set the analysis parameters."}),_.jsxs(pc,{sx:{width:"100%",mb:2},children:[_.jsx(di,{variant:"subtitle2",gutterBottom:!0,children:"Filter by file type:"}),_.jsxs(gh,{value:_e,exclusive:!0,onChange:(e,t)=>
152{null!==t&&Re(t)},"aria-label":"file type filter",size:"small",sx:{width:"100%"},children:[_.jsxs(ph,{value:"all","aria-label":"all files",sx:{flex:1},children:["All Files (",e.filter(e=>"xsd"!==e.type).length,")"]}),_.jsxs(ph,{value:"zip","aria-label":"zip files",sx:{flex:1},children:["ZIP Files (",e.filter(e=>"zip"===e.type).length,")"]}),_.jsxs(ph,{value:"data","aria-label":"data files",sx:{flex:1},children:["Data Files (",e.filter(e=>"zip"!==e.type&&"xsd"!==e.type).length,")"]})]})]}),_.jsx(pc,{sx:{width:"100%",maxHeight:"400px",overflowY:"auto",border:"1px solid #ccc",borderRadius:"4px",mb:2},children:_.jsxs(Kd,{dense:!0,children:[Ue.length>0&&_.jsxs(sp,{dense:!0,divider:!0,children:[_.jsx(dp,{sx:{minWidth:"auto",mr:1},children:_.jsx(Hc,{edge:"start",checked:Y,indeterminate:V.length>0&&V.length<Ue.length,onChange:Be,disabled:0===Ue.length})}),_.jsx(hp,{primary:`Select All (${Ue.length})`})]}),Ue.map(e=>_.jsx(sp,{dense:!0,disablePadding:!0,children:_.jsxs(tp,{onClick:()=>{return t=e.id,void W(e=>e.includes(t)?e.filter(e=>e!==t):[...e,t]);var t},selected:V.includes(e.id),children:[_.jsx(dp,{sx:{minWidth:"auto",mr:1},children:_.jsx(Hc,{edge:"start",checked:V.includes(e.id),tabIndex:-1,disableRipple:!0})}),_.jsx(dp,{sx:{minWidth:"auto",mr:1},children:"zip"===e.type?_.jsx(Ov,{}):_.jsx(Rv,{})}),_.jsx(hp,{primary:e.name,secondary:Ve(e),primaryTypographyProps:{noWrap:!0},secondaryTypographyProps:{noWrap:!0}})]})},e.id)),0===Ue.length&&_.jsx(sp,{children:_.jsx(hp,{primary:0===e.length?"No files available for analysis.":"No files match the current filter.",sx:{textAlign:"center",color:"text.secondary"}})})]})}),_.jsx(od,{control:_.jsx(nm,{value:G,onChange:We,"aria-labelledby":"tolerance-slider",valueLabelDisplay:"auto",step:.01,marks:!0,min:.1,max:1,sx:{width:"90%",alignSelf:"center"}}),labelPlacement:"top",label:_.jsxs(di,{id:"tolerance-slider",gutterBottom:!0,children:["Structure Similarity Tolerance: ",G.toFixed(2)]}),sx:{width:"100%",display:"flex",flexDirection:"column",alignItems:"center",mb:2}}),_.jsxs(pc,{sx:{width:"100%",display:"flex",flexDirection:"column",alignItems:"center",mb:2,p:2,border:`1px solid ${B.palette.divider}`,borderRadius:1,backgroundColor:B.palette.background.default},children:[_.jsx(od,{control:_.jsx(Im,{checked:ne,onChange:e=>re(e.target.checked),color:"primary"}),label:_.jsxs(pc,{children:[_.jsx(di,{variant:"body2",fontWeight:"medium",children:"Enable Global Cross-Structure Filtering"}),_.jsx(di,{variant:"caption",color:"text.secondary",children:"Filter across all structures using equivalent attributes (e.g., ITEMID â item_id)"})]}),sx:{width:"100%",m:0}}),ne&&_.jsxs(pc,{sx:{width:"100%",mt:2,display:"flex",flexDirection:"column",gap:2},children:[_.jsxs(ed,{fullWidth:!0,size:"small",children:[_.jsx(Ld,{id:"global-filter-strategy-label",children:"Equivalence Detection Strategy"}),_.jsxs(_f,{labelId:"global-filter-strategy-label",value:ae,label:"Equivalence Detection Strategy",onChange:e=>oe(e.target.value),children:[_.jsx(zp,{value:"heuristic",children:_.jsxs(pc,{children:[_.jsx(di,{variant:"body2",children:"Automatic (Heuristic)"}),_.jsx(di,{variant:"caption",color:"text.secondary",children:"Automatically detect similar attribute names"})]})}),_.jsx(zp,{value:"exact",children:_.jsxs(pc,{children:[_.jsx(di,{variant:"body2",children:"Exact Name Match"}),_.jsx(di,{variant:"caption",color:"text.secondary",children:"Only match attributes with identical names (case-insensitive)"})]})}),_.jsx(zp,{value:"manual",disabled:!0,children:_.jsxs(pc,{children:[_.jsx(di,{variant:"body2",children:"Manual Configuration"}),_.jsx(di,{variant:"caption",color:"text.secondary",children:"Define equivalences manually (coming soon)"})]})})]})]}),"heuristic"===ae&&_.jsxs(pc,{sx:{width:"100%"},children:[_.jsxs(di,{variant:"caption",gutterBottom:!0,children:["Confidence Threshold: ",(100*ie).toFixed(0),"%"]}),_.jsx(nm,{value:ie,onChange:(e,t)=>
152se(t),"aria-labelledby":"confidence-threshold-slider",valueLabelDisplay:"auto",valueLabelFormat:e=>`${(100*e).toFixed(0)}%`,step:.05,marks:!0,min:.5,max:1,sx:{width:"100%"}}),_.jsx(di,{variant:"caption",color:"text.secondary",children:"Higher values require stronger name similarity (recommended: 80%)"})]})]})]}),n&&void 0!==g&&void 0!==b&&b>0&&_.jsxs(pc,{sx:{width:"100%",mb:2},children:[y?_.jsxs(_.Fragment,{children:[_.jsx(Gd,{}),_.jsx(di,{variant:"caption",display:"block",textAlign:"center",sx:{mt:.5},children:y})]}):_.jsxs(_.Fragment,{children:[_.jsx(Gd,{variant:"determinate",value:t}),_.jsx(di,{variant:"caption",display:"block",textAlign:"center",sx:{mt:.5},children:`Processing ${g} of ${b} files (${t.toFixed(0)}%)`})]}),_.jsxs(pc,{sx:{mt:2,px:2},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:.5},children:[v?.has("files")?_.jsx(OE,{sx:{fontSize:16,color:"success.main",mr:1}}):"files"===x?_.jsx(Uo,{size:14,sx:{mr:1.2,ml:.1}}):_.jsx(sC,{sx:{fontSize:16,color:"text.disabled",mr:1}}),_.jsx(di,{variant:"caption",color:v?.has("files")?"text.primary":"files"===x?"primary":"text.disabled",fontWeight:"files"===x?600:400,children:"Extract files from archives"})]}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:.5},children:[v?.has("parsing")?_.jsx(OE,{sx:{fontSize:16,color:"success.main",mr:1}}):"parsing"===x?_.jsx(Uo,{size:14,sx:{mr:1.2,ml:.1}}):_.jsx(sC,{sx:{fontSize:16,color:"text.disabled",mr:1}}),_.jsx(di,{variant:"caption",color:v?.has("parsing")?"text.primary":"parsing"===x?"primary":"text.disabled",fontWeight:"parsing"===x?600:400,children:"Parse and extract attributes"})]}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:.5},children:[v?.has("schemas")?_.jsx(OE,{sx:{fontSize:16,color:"success.main",mr:1}}):"schemas"===x?_.jsx(Uo,{size:14,sx:{mr:1.2,ml:.1}}):_.jsx(sC,{sx:{fontSize:16,color:"text.disabled",mr:1}}),_.jsx(di,{variant:"caption",color:v?.has("schemas")?"text.primary":"schemas"===x?"primary":"text.disabled",fontWeight:"schemas"===x?600:400,children:"Detect structures and generate schemas"})]}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:.5},children:[v?.has("similarities")?_.jsx(OE,{sx:{fontSize:16,color:"success.main",mr:1}}):"similarities"===x?_.jsx(Uo,{size:14,sx:{mr:1.2,ml:.1}}):_.jsx(sC,{sx:{fontSize:16,color:"text.disabled",mr:1}}),_.jsx(di,{variant:"caption",color:v?.has("similarities")?"text.primary":"similarities"===x?"primary":"text.disabled",fontWeight:"similarities"===x?600:400,children:"Calculate schema similarities"})]}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",mb:.5},children:[v?.has("filters")?_.jsx(OE,{sx:{fontSize:16,color:"success.main",mr:1}}):"filters"===x?_.jsx(Uo,{size:14,sx:{mr:1.2,ml:.1}}):_.jsx(sC,{sx:{fontSize:16,color:"text.disabled",mr:1}}),_.jsx(di,{variant:"caption",color:v?.has("filters")?"text.primary":"filters"===x?"primary":"text.disabled",fontWeight:"filters"===x?600:400,children:"Prepare attribute filters"})]})]})]}),_.jsxs(Ec,{variant:"contained",color:"primary",startIcon:n?void 0:_.jsx(iC,{}),onClick:Ge,disabled:0===V.length||n,fullWidth:!0,size:"large",sx:{position:"relative"},children:["Analyze Selected Files (",V.length,")",n&&(void 0===g||void 0===b||0===b)&&_.jsx(Uo,{size:24,sx:{position:"absolute",top:"50%",left:"50%",marginTop:"-12px",marginLeft:"-12px"}})]}),a&&_.jsxs(di,{color:"error",sx:{mt:2,textAlign:"center"},children:["Error: ",a]})]})};return"setup"!==U&&Xe||!(!r||0===Ye.length||Ye.length>1&&!Xe||"setup"===U)?_.jsxs(pc,{sx:{display:"flex",flexDirection:"column",height:"100%",m:0},children:[r&&Ye.length>0&&_.jsxs(pc,{ref:le,sx:{position:"sticky",top:0,zIndex:1001,backgroundColor:B.palette.background.paper,margin:0,display:"flex",alignItems:"center",justifyContent:"space-between",gap:1,flexWrap:"wrap",py:1.5,px:1,boxShadow:"dark"===B.palette.mode?"0 2px 4px rgba(0,0,0,0.3)":"0 2px 4px rgba(0,0,0,0.1)",borderBottom:`1px solid ${B.palette.divider}`,transform:"translateZ(0)"},children:[_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1,flexWrap:"wrap"},children:[_.jsx(di,{variant:"subtitle1",children:"Select Structure:"}),Ye.map(e=>{const t=U===e.id,n=`${e.displayName} (${e.totalFiles})${e.filteredFiles<e.totalFiles?`-${e.filteredFiles}`:""}`;let r={};return t||(0===e.filteredFiles?r={backgroundColor:"dark"===B.palette.mode?B.palette.grey[700]:"#f5f5f5",color:B.palette.text.disabled,borderColor:"dark"===B.palette.mode?B.palette.grey[500]:B.palette.grey[400],"&:hover":{backgroundColor:"dark"===B.palette.mode?B.palette.grey[600]:B.palette.grey[300],borderColor:"dark"===B.palette.mode?B.palette.grey[400]:B.palette.grey[500]}}:e.filteredFiles<e.totalFiles&&(r={backgroundColor:B.palette.warning.light,color:B.palette.warning.contrastText,borderColor:B.palette.warning.main,"&:hover":{backgroundColor:B.palette.warning.main,borderColor:B.palette.warning.dark}})),_.jsx(Ec,{variant:t?"contained":"outlined",size:"small",onClick:()=>H(e.id),sx:r,children:n}
152,e.id)}),"setup"!==U&&_.jsx(Ec,{onClick:()=>H("setup"),size:"small",children:"Show Setup"}),i&&r&&"setup"!==U&&_.jsx(Ec,{onClick:()=>{i(),H("setup")},size:"small",variant:"outlined",color:"secondary",children:"Clear Results"})]}),_.jsx(pc,{sx:{display:"flex",gap:1,alignItems:"center"},children:_.jsxs(gh,{value:ee,exclusive:!0,onChange:(e,t)=>{null!==t&&te(t)},"aria-label":"view mode",children:[_.jsx(ph,{value:"list","aria-label":"list view",children:_.jsx(Ih,{})}),_.jsx(ph,{value:"diagram","aria-label":"diagram view",children:_.jsx(uC,{})}),_.jsx(xm,{title:S?.isOpen?"Close Data Grid":"Open Data Grid",children:_.jsx(ph,{value:"grid",selected:S?.isOpen||!1,onChange:()=>S?.isOpen?k?.():C?.(),"aria-label":"data grid",children:_.jsx(fC,{})})})]})})]}),_.jsx(pc,{sx:{p:1,pt:r&&Ye.length>0?1.5:1},children:"diagram"===ee&&r&&r.structureSchemas&&r.pairwiseSimilarities?_.jsx(pB,{structureSchemas:r.structureSchemas,pairwiseSimilarities:r.pairwiseSimilarities,activeSchemaId:"setup"!==U?U:void 0,onNodeClick:e=>H(e),selectedStructureIds:Le.selectedStru
152ctureIds,onStructureSelectionChange:e=>{const t=Le.selectedStructureIds,n=Array.from(e).filter(e=>!t.has(e)),r=Array.from(t).filter(t=>!e.has(t));for(const a of n)Pe(a);for(const a of r)Pe(a)}}):Xe?(()=>{if(!Xe)return Qe();const{id:t,displayName:n,totalFiles:a,filteredFiles:i,treeRoot:l}=Xe,c=be[t]||{expanded:!0,viewMode:"list"},g=ve[t]??!1,b=Je?.values?.map(t=>{const n=String(t.value),r=e.find(e=>e.id===n),a=r?r.name:n,o=r?r.sourceZipName:void 0;return a?{...t,displayValue:a,originalId:n,sourceZipName:o}:null}).filter(Boolean),y="card"!==(be[t]?.viewMode||"list")?[...b||[]].sort((e,t)=>{const n={[qx.Selected]:0,[qx.Possible]:1,[qx.Excluded]:2,[qx.Unavailable]:3};return n[e.state]!==n[t.state]?n[e.state]-n[t.state]:e.count!==t.count?t.count-e.count:String(e.displayValue).localeCompare(String(t.displayValue))}):void 0;return y?.map(e=>({displayValue:e.displayValue,originalId:e.originalId,sourceZipName:e.sourceZipName,count:1,state:e.state})),_.jsxs(pc,{sx:{flexGrow:1,display:"flex",flexDirection:"column",maxHeight:"calc(100vh - 200px)"},children:[_.jsxs(sp,{onClick:()=>{var e;Ae.current||(e=t,xe(t=>({...t,[e]:!t[e]}))),Ae.current=!1},sx:{position:"sticky",top:"60px",zIndex:1e3,backgroundColor:"dark"===B.palette.mode?B.palette.grey[800]:B.palette.grey[200],mb:g?0:.5,borderRadius:"4px",p:.75,boxShadow:"dark"===B.palette.mode?"0 2px 4px rgba(0,0,0,0.5)":"0 2px 4px rgba(0,0,0,0.1)",border:`1px solid ${"dark"===B.palette.mode?B.palette.grey[600]:B.palette.grey[300]}`},children:[g?_.jsx(DE,{}):_.jsx(Qy,{}),_.jsx(hp,{primary:`${n} (${a} files, filtered: ${i})`,primaryTypographyProps:{variant:"h6",component:"div",ml:1}}),_.jsxs(pc,{sx:{ml:"auto",display:"flex",alignItems:"center"},children:[s&&r&&Object.keys(p).length>0&&_.jsx(Ec,{onClick:e=>{e.stopPropagation(),s()},size:"small",sx:{mr:1},children:"Clear All Filters"}),F&&Object.keys(p).length>0&&_.jsx(xm,{title:"View global filter details",children:_.jsx(Ec,{onClick:e=>{e.stopPropagation(),Z(!0)},size:"small",variant:K?"contained":"outlined",startIcon:_.jsx(_S,{}),sx:{mr:1},children:"Global Filters"})}),D&&P&&_.jsx(xm,{title:1===D.length?"View filtered file":"Compare filtered files",children:_.jsx(Ec,{onClick:e=>{e.stopPropagation(),P()},size:"small",variant:"outlined",startIcon:_.jsx(xC,{}),sx:{mr:1},children:1===D.length?"View File":"Compare Files"})}),void 0!==z&&_.jsx(VB,{onClick:()=>Q(!0),criteria:z?.[t]}),m&&_.jsxs(_.Fragment,{children:[_.jsx(qo,{onClick:e=>{e.stopPropagation(),Te(e.currentTarget)},size:"small",disabled:!f?.get(t)||0===f.get(t).size,children:_.jsx(nv,{})}),_.jsxs(Pp,{anchorEl:ke,open:Boolean(ke),onClose:()=>{Ae.current=!0,Te(null)},children:[_.jsx(zp,{onClick:e=>{e.stopPropagation(),Ae.current=!0,Te(null);const r=f?.get(t);r&&r.size>0?m(Array.from(r),n,"extract"):alert("No files are currently selected by filters in this structure to extract.")},children:"Extract Files"}),_.jsx(zp,{onClick:e=>{e.stopPropagation(),Ae.current=!0,Te(null);const r=f?.get(t);r&&r.size>0?m(Array.from(r),n,"zipToManager"):alert("No files are currently selected by filters in this structure to extract.")},children:"Extract into zip"}),_.jsx(zp,{onClick:e=>{e.stopPropagation(),Ae.current=!0,Te(null);const r=f?.get(t);r&&r.size>0?m(Array.from(r),n,"zipDownload"):alert("No files are currently selected by filters in this structure to extract.")},children:"Download as zip"})]})]})]})]}),!g&&_.jsxs(_.Fragment,{children:[_.jsx(Uu,{sx:{mb:2,mt:1}}),l&&Array.from(l.entries()).map(([e,n])=>_.jsx(qB,{node:n,level:0,displayAttributesMap:Ze,onFilterChange:u,onFilterMultipleValues:d,currentFilterSelection:p,horizontalLayoutNodes:he,toggleHorizontalLayoutNode:qe,onClearAttributeSelections:h,expandedNodesMap:Se[t]||{},onToggleNode:e=>((e,t)=>{we(n=>{const r=n[e]||{},a=r[t]??!1;return{...n,[e]:{...r,[t]:!a}}})})(t,e),onAttributeAddToGrid:w},n.path))]}),Ze&&Je&&y&&Xe?.id===t&&_.jsxs(pc,{mt:2,id:`filenames-section-${t}`,children:[_.jsxs(sp,{onClick:()=>{return e=t,void ye(t=>({...t,[e]:{...t[e]||{expanded:!0,viewMode:"list"},expanded:!t[e]?.expanded}}));var e},sx:{position:"sticky",top:"115px",zIndex:999,backgroundColor:"dark"===B.palette.mode?B.palette.grey[800]:B.palette.grey[200],mb:c.expanded?.5:0,borderRadius:"4px",py:.75,px:1,boxShadow:"dark"===B.palette.mode?"0 2px 4px rgba(0,0,0,0.3)":"0 2px 4px rgba(0,0,0,0.08)",border:`1px solid ${"dark"===B.palette.mode?B.palette.grey[600]:B.palette.grey[300]}`}
152,children:[c.expanded?_.jsx(Qy,{}):_.jsx(DE,{}),_.jsx(hp,{primary:"Source Files"})]}),c.expanded&&_.jsxs(lo,{variant:"outlined",sx:{p:"card"===c.viewMode?1:0},children:[_.jsx(pc,{sx:{p:1,borderBottom:`1px solid ${B.palette.divider}`},children:_.jsx(oh,{fullWidth:!0,size:"small",variant:"outlined",placeholder:"Search source files...",value:Ie[t]||"",onChange:e=>Ne(n=>({...n,[t]:e.target.value})),InputProps:{endAdornment:Ie[t]&&_.jsx(_d,{position:"end",children:_.jsx(qo,{"aria-label":"clear search",onClick:()=>Ne(e=>({...e,[t]:""})),edge:"end",size:"small",children:_.jsx(PE,{fontSize:"inherit"})})})}})}),(()=>{const e=Ie[t]||"",n=y.filter(t=>""===e||t.displayValue.toLowerCase().includes(e.toLowerCase()));return"list"===c.viewMode?_.jsx(_v,{height:300,itemCount:n.length,itemSize:32,width:"100%",itemData:{files:n,onFilterChange:u,currentFilterSelection:p,theme:B,FILENAME_ATTRIBUTE_PATH:WB,onAddFileNameColumn:E},children:GB}):_.jsx(pc,{sx:{display:"flex",flexWrap:"wrap",gap:1,maxHeight:"300px",overflowY:"auto",p:1},children:n.length>0?n.map((e,t)=>(e=>{const t=Ee.get(String(e.value))||String(e.value),n=Array.from(Ee.entries()).find(([,e])=>e===t)?.[0]||String(e.value),[r,a]=o.useState(null),i=()=>{a(null)};return _.jsxs(_.Fragment,{children:[_.jsxs(lo,{elevation:2,sx:{p:1,minWidth:"150px",maxWidth:"200px",cursor:"pointer",backgroundColor:e.state===qx.Selected||p[WB]?.has(n)?B.palette.success.light:"paper",border:p[WB]?.has(n)?`2px solid ${B.palette.success.dark}`:`1px solid ${B.palette.divider}`,"&:hover":{boxShadow:B.shadows[4],borderColor:B.palette.primary.main},color:e.state===qx.Excluded?B.palette.text.disabled:B.palette.text.primary},onClick:e=>u(WB,n,{multi:e.metaKey||e.ctrlKey}),onContextMenu:e=>{e.preventDefault(),a(null===r?{mouseX:e.clientX+2,mouseY:e.clientY-6}:null)},children:[_.jsx(di,{variant:"caption",display:"block",noWrap:!0,title:t,children:t}),_.jsxs(di,{variant:"body2",sx:{fontWeight:"bold"},children:["Count: ",e.count]}),_.jsxs(di,{variant:"caption",sx:{color:e.state===qx.Excluded?B.palette.text.disabled:B.palette.text.secondary},children:["State: ",e.state]})]},t),_.jsxs(Pp,{open:null!==r,onClose:i,anchorReference:"anchorPosition",anchorPosition:null!==r?{top:r.mouseY,left:r.mouseX}:void 0,children:[_.jsxs(zp,{onClick:async()=>{try{await navigator.clipboard.writeText(t),i()}catch(e){i()}},children:[_.jsx(RS,{sx:{mr:1}}),"Copy filename"]}),E&&_.jsxs(zp,{onClick:()=>{E(),i()},children:[_.jsx(fC,{sx:{mr:1}}),"Add to grid"]})]})]})})(e)):_.jsxs(di,{variant:"caption",color:"textSecondary",sx:{fontStyle:"italic",p:2,textAlign:"center",width:"100%"},children:['No files matching search term "',e,'"']})})})()]})]})]})})():Qe()}),De&&_.jsx(wB,{isOpen:Le.isComparisonPanelOpen,isMinimized:Le.isComparisonPanelMinimized,comparisonData:De,onClose:()=>Fe(!1),onToggleMinimize:ze,onStructureRemove:Me,onClearAll:je,showIncompleteOnly:Le.showIncompleteOnly,onToggleIncompleteFilter:$e,onExpandAll:()=>{},onCollapseAll:()=>{},structureBarHeight:ce}),S?.isOpen&&k&&T&&A&&I&&N&&R&&_.jsx(LB,{isOpen:S.isOpen,isMinimized:S.isMinimized,gridState:S,onClose:k,onToggleMinimize:T,onColumnRemove:A,onClearAll:I,onAggregationChange:N,onColumnSort:R,onColumnResize:O,onFilterChange:u,displayAttributesMap:c?.get(U)||null,currentFilterSelection:p,structureBarHeight:ce}),L?.isOpen&&M&&j&&_.jsx(DB,{isOpen:L.isOpen,isMinimized:L.isMinimized,file:L.fileId&&r?.analyzedFiles?.find(e=>e.id===L.fileId)||null,secondFile:L.secondFileId&&r?.analyzedFiles?.find(e=>e.id===L.secondFileId)||null,onClose:M,onToggleMinimize:j,structureBarHeight:ce}),_.jsx(PB,{open:K,onClose:()=>Z(!1),filterSelection:p,equivalenceResult:F||null,structures:r?.structureSchemas?Array.from(r.structureSchemas.values()):[],structureBarHeight:ce}),Xe&&void 0!==z&&$&&_.jsx(UB,{isOpen:J,onClose:()=>Q(!1),structureId:Xe.id,structureName:Xe.displayName,criteria:z?.[Xe.id]||{},onCriteriaChange:e=>$(Xe.id,e),schema:Xe.schema,structureBarHeight:ce})]}):_.jsxs(pc,{sx:{p:2,width:"100%"},children:[Qe(),r&&Ye.length>0&&_.jsxs(lo,{sx:{p:2,mt:2},children:[_.jsx(di,{variant:"h6",children:"Available Structures:"}),_.jsx(Kd,{children:Ye.map(e=>_.jsx(sp,{disablePadding:!0,children:_.jsxs(tp,{onClick:()=>H(e.id),children:[_.jsx(dp,{children:_.jsx(Rv,{})}),_.jsx(hp,{primary:`${e.displayName} (${e.totalFiles} files)`,secondary:"Click to view structure details and filter data"})]})},e.id))})]}),i&&r&&_.jsx(Ec,{onClick:()=>{i(),H("setup")},sx:{mt:2},children:"Clear Results & Show Setup"})]})};function XB(e){return e.toLowerCase().replace(/\[\]/g,"").replace(/[._\-/]/g,"")}function KB(e,t){const n=XB(e),r=XB(t);if(n===r)return 1;const a=e=>{const t=e.replace(/\[\]/g,"").split(/[.\[\]\/]/).filter(e=>e.length>0);return t[t.length-1]||e},o=XB(a(e)),i=XB(a(t)),s=Math.max(o.length,i.length)||1,l=1-ZB(o,i)/s;if(l>=.99&&o.length>2)return.95;if(l<.8)return.5*l;if(n.includes(r)||r.includes(n)){const e=Math.max(n.length,r.length),t=Math.min(n.length,r.length)/e;return Math.min(1,.5*l+.5*t)}const c=1-ZB(n,r)/Math.max(n.length,r.length);return Math.min(1,.5*l+.5*c)}function ZB(e,t){const n=[];for(let r=0;r<=t.length;r++)n[r]=[r];for(let r=0;r<=e.length;r++)n[0][r]=r;for(let r=1;r<=t.length;r++)for(let a=1;a<=e.length;a++)t.charAt(r-1)===e.charAt(a-1)?n[r][a]=n[r-1][a-1]:n[r][a]=Math.min(n[r-1][a-1]+1,n[r][a-1]+1,n[r-1][a]+1);return n[t.length][e.length]}function JB(e,t,n){const r=n.lookupMap.get(e);if(!r)return null;const a=r.get(t)??null;if(!a){Array.from(r.keys())}return a}const QB=Object.freeze(Object.defineProperty({__proto__:null,buildGlobalInvertedIndex:function(e,t,n){const r=new Map;for(const a of n.equivalences){const n=new Map;
152for(const[r,o]of a.attributesByStructure){const a=e.find(e=>e.id===r);if(a)for(const e of a.fileIds){const r=t.get(e);if(!r||!r.parsedData)continue;const a=r.parsedData.get(o);if(a&&0!==a.length)for(const t of a){const r=String(t);n.has(r)||n.set(r,new Set),n.get(r).add(e)}}}for(const[r,o]of a.attributesByStructure){const a=e.find(e=>e.id===r);if(a)for(const e of a.fileIds){const r=t.get(e);if(!r||!r.parsedData){n.has(Gx)||n.set(Gx,new Set),n.get(Gx).add(e);continue}const a=r.parsedData.get(o);if(!a||0===a.length){n.has(Gx)||n.set(Gx,new Set),n.get(Gx).add(e);continue}const i=a.every(e=>null==e||""===e||Array.isArray(e)&&0===e.length);i&&(n.has(Gx)||n.set(Gx,new Set),n.get(Gx).add(e))}}n.size>0&&r.set(a.equivalenceId,n)}return r},calculatePathSimilarity:KB,detectAttributeEquivalences:function(e,t){const n=t.confidenceThreshold??.8,r=[],a=new Map;if("manual"===t.equivalenceStrategy&&t.manualEquivalences){for(const e of t.manualEquivalences){r.push(e);for(const[t,n]of e.attributesByStructure)a.has(t)||a.set(t,new Map),a.get(t).set(n,e.equivalenceId)}return{equivalences:r,lookupMap:a}}const o=new Map;for(const c of e){const e=new Set;for(const[t]of c.attributes)t.startsWith("_dmInternal")||e.add(t);o.set(c.id,e)}const i=new Map;for(const[c]of o)i.set(c,new Set);let s=0;const l=Array.from(o.keys());for(let c=0;c<l.length;c++){const e=l[c],t=o.get(e);for(const u of t){const t=u.toLowerCase().includes("itemid");if(i.get(e).has(u)){t&&0;continue}const d=new Map;d.set(e,{path:u,confidence:1}),t&&0;for(let e=c+1;e<l.length;e++){const t=l[e],r=o.get(t);let a=null;for(const e of r){if(i.get(t).has(e))continue;const r=KB(u,e);r>=n&&(!a||r>a.confidence)&&(a={path:e,confidence:r})}a&&d.set(t,a)}if(d.size>=2){const e="equiv_"+s++,t=new Map;let n=1,o=u;for(const[r,a]of d)t.set(r,a.path),n=Math.min(n,a.confidence),i.get(r).add(a.path);const l={equivalenceId:e,displayName:o,attributesByStructure:t,confidence:n};r.push(l);for(const[r,i]of t)a.has(r)||a.set(r,new Map),a.get(r).set(i,e)}}}return{equivalences:r,lookupMap:a}},getEquivalenceId:JB,normalizeAttributePath:XB},Symbol.toStringTag,{value:"Module"}));function eU(e){if(Array.isArray(e)){const t=e.flat?e.flat(1/0):e.reduce((e,t)=>e.concat(eU(t)),[]);return t.filter(e=>null!=e)}return null!=e?[e]:[]}function tU(e,t,n,r){const a=e.fileIds;let o=new Set(a);if(Object.keys(r).length>0)for(const[c,u]of Object.entries(r)){if(!u||0===u.size)continue;const e=new Set;e.add(c);const r=c.replace(/\[]\./g,".");e.add(r);const i=c.includes("[].")?c:c.replace(/^(.*)\.([^\.]+)$/,"$1[].$2");e.add(i);const s=new Set,l=u.has(Gx);for(const t of e){const e=n.get(t);if(e)for(const t of u){if(t===Gx)continue;let n;n=Array.isArray(t)?JSON.stringify(t):String(t).trim();const r=e.get(n);r&&r.forEach(e=>s.add(e))}}if(l)for(const n of a){const r=t.get(n);if(!r||!r.parsedData){s.add(n);continue}let a=!1;for(const t of e){const e=r.parsedData.get(t);if(e&&e.length>0){const t=e.every(e=>null==e||""===e||Array.isArray(e)&&0===e.length);t&&s.add(n),a=!0;break}}a||s.add(n)}if(0===s.size){o=new Set;break}if(o=new Set([...o].filter(e=>s.has(e))),0===o.size)break}const i=o,s=new Map,l=(e,t)=>{if(!e?.parsedData)return[];const n=e.parsedData.get(t),r=(e=>{if(e.includes("[].")){const t=e.split("[].");return 2===t.length?t[0]+"."+t[1]:null}{const t=e.split(".");return t.length>1?t.slice(0,-1).join(".")+"[]."+t[t.length-1]:null}})(t),a=r?e.parsedData.get(r):void 0,o=[],i=e=>{Array.isArray(e)?o.push(...e):null!=e&&o.push(e)};return"_dmInternal.fileIdentifier"===t?Array.isArray(n)?i(n):Array.isArray(a)&&i(a):(i(n),i(a)),o};for(const[c,u]of e.attributes.entries()){const e=[];let n=0;for(const r of i){const a=l(t.get(r),c);a.length>0&&(e.push(...a),n++)}const a=Qx(e,u.dataType);a.countTotal=n;const o=i.size-n;a.nullOrEmptyCount+=o;const d=[];let p=r[c]??new Set;if(0===p.size)if(c.includes("[].")){const e=c.split("[].");if(2===e.length){p=r[e[0]+"."+e[1]]??new Set}}else{const e=c.split(".");if(e.length>1){p=r[e.slice(0,-1).join(".")+"[]."+e[e.length-1]]??new Set}}const f=new Map;for(const r of i){const e=l(t.get(r),c),n=new Set(e);for(const t of n){if(null==t)continue;let e;e=Array.isArray(t)?JSON.stringify(t):String(t).trim(),f.set(e,(f.get(e)||0)+1)}}if(u.values.has(Gx)){let e=0;for(const n of i){const r=l(t.get(n),c);(0===r.length||r.every(e=>null==e||""===e||Array.isArray(e)&&0===e.length))&&e++}e>0&&f.set(Gx,e)}for(const t of u.values){let e,n,r=t;if("array"===u.dataType){e=String(t).trim();try{r=JSON.parse(e)}catch(yU){}}else Array.isArray(t)?(e=JSON.stringify(t),r=t):(e=String(t).trim(),r
152=t);const a=f.get(e)||0,o=p.has(r)||"string"==typeof t&&p.has(t);n=a>0?o?qx.Selected:qx.Possible:qx.Excluded,d.push({value:r,state:n,count:a})}const m=i.size,h=a.countTotal;let g=0;m>0&&(g=h/m);const b=g<1;s.set(c,{path:u.path,dataType:u.dataType,occurrenceFrequency:g,isOptional:b,currentAggregates:a,values:d})}return{matchingFileIds:i,updatedDisplayAttributes:s,filteredFileIds:i}}const nU=Object.freeze(Object.defineProperty({__proto__:null,applyFilters:tU,applyGlobalFilters:function(e,t,n,r,a){const o=new Set;for(const c of e)for(const e of c.fileIds)o.add(e);let i=new Set(o);if(Object.keys(a).length>0)for(const[c,u]of Object.entries(a)){if(!u||0===u.size)continue;const a=new Set;for(const o of e){const e=JB(o.id,c,r);if(e){const t=n.get(e);if(t)for(const e of u){const n=t.get(String(e));if(n)for(const e of n)a.add(e)}}else{const e=new Set;e.add(c);const n=c.replace(/\[]\./g,".");e.add(n);const r=c.includes("[].")?c:c.replace(/^(.*)\.([^\.]+)$/,"$1[].$2");e.add(r);let i=null;for(const t of e)if(i=o.attributes.get(t),i)break;if(i){const n=u.has(Gx);for(const r of o.fileIds){const o=t.get(r);if(!o||!o.parsedData){n&&a.add(r);continue}let i;for(const t of e){const e=o.parsedData.get(t);if(e&&e.length>0){i=e;break}}if(!i||0===i.length){n&&a.add(r);continue}const s=i.every(e=>null==e||""===e||Array.isArray(e)&&0===e.length);if(s&&n)a.add(r);else for(const e of i)if(u.has(e)){a.add(r);break}}}}}i=new Set([...i].filter(e=>a.has(e)))}const s=new Map;for(const c of e){const e=new Set([...i].filter(e=>c.fileIds.has(e)));s.set(c.id,e)}const l=new Map;for(const c of e){const e=s.get(c.id)||new Set,n=new Map,o=(e,t)=>{if(!e||!e.parsedData)return[];const n=e.parsedData.get(t);return n?Array.isArray(n)?n:[n]:[]};for(const[i,s]of c.attributes.entries()){const l=[];let u=0;for(const n of e){const e=o(t.get(n),i);e.length>0&&(l.push(...e),u++)}const d=Qx(l,s.dataType);d.countTotal=u;const p=e.size-u;d.nullOrEmptyCount+=p;const f=[],m=new Set;if(a[i])for(const e of a[i])m.add(String(e));const h=JB(c.id,i,r);if(h){const e=r.equivalences.find(e=>e.equivalenceId===h);if(e)for(const[,t]of e.attributesByStructure){const e=a[t];if(e)for(const t of e)m.add(String(t))}}const g=new Map;for(const n of e){const e=eU(o(t.get(n),i));for(const t of e){const e=String(t);g.set(e,(g.get(e)||0)+1)}}if(s.values.has(Gx)){let n=0;for(const r of e){const e=o(t.get(r),i);(0===e.length||e.every(e=>null==e||""===e||Array.isArray(e)&&0===e.length))&&n++}n>0&&g.set(Gx,n)}i.includes("ActionDateTime");const b=new Set;for(const e of s.values){const t=eU(e).map(e=>String(e));for(const e of t)b.add(e)}for(const e of g.keys())b.add(e);for(const e of b){const t=g.get(e)||0;let n=qx.Excluded;m.has(String(e))?n=qx.Selected:t>0&&(n=qx.Possible),f.push({value:e,state:n,count:t})}f.sort((e,t)=>{if(e.value===Gx)return-1;if(t.value===Gx)return 1;const n={[qx.Selected]:0,[qx.Possible]:1,[qx.Excluded]:2,[qx.Unavailable]:3},r=n[e.state]-n[t.state];return 0!==r?r:t.count-e.count});const y=e.size;let v=0;y>0&&(v=u/y);const x=v<1;n.set(i,{path:s.path,dataType:s.dataType,occurrenceFrequency:v,isOptional:x,currentAggregates:d,values:f})}l.set(c.id,n)}return{globalMatchingFileIds:i,matchingFileIdsByStructure:s,displayAttributesByStructure:l}}},Symbol.toStringTag,{value:"Module"})),rU="dataGrid_columns",aU="dataGrid_panelState";function oU(){const[e,t]=o.useState(()=>{const e=function(){try{const e=localStorage.getItem(aU);return e?JSON.parse(e):null}catch(e){return null}}(),t=function(){try{const e=localStorage.getItem(rU);if(e){const t=JSON.parse(e);return Array.isArray(t)?t.map(e=>({...e,sortOrder:null})):[]}}catch(e){}return[]}();return{columns:t,rows:[],isOpen:e?.isOpen||!1,isMinimized:e?.isMinimized||!1,selectedAttributePaths:new Set(t.map(e=>e.attributePath)),sortByColumn:void 0,sortOrder:void 0}});o.useEffect(()=>{!function(e){try{localStorage.setItem(aU,JSON.stringify(e))}catch(t){}}({isOpen:e.isOpen,isMinimized:e.isMinimized})},[e.isOpen,e.isMinimized]),o.useEffect(()=>{!function(e){try{const t=e.map(e=>({id:e.id,attributePath:e.attributePath,displayName:e.displayName,dataType:e.dataType,aggregationType:e.aggregationType,isSourceFile:e.isSourceFile,width:e.width}));localStorage.setItem(rU,JSON.stringify(t))}catch(t){}}(e.columns)},[e.columns]);const n=o.useCallback((e,n)=>{t(t=>{const r=Date.now(),a=`col_${n.path.replace(/[^a-zA-Z0-9]/g,"_")}_${r}`,o=function(e,t){return{id:t||`col_${e.path.replace(/[^a-zA-Z0-9]/g,"_")}`,attributePath:e.path,displayName:e.path.split(/[./]/).pop()||e.path,dataType:e.dataType,aggregationType:"none",width:150,sortOrder:null}}(n,a);return{...t,columns:[...t.columns,o],selectedAttributePaths:new Set([...t.selectedAttributePaths,e]),isOpen:!0}})},[]),r=o.useCallback(e=>{t(t=>{const n=t.columns.find(t=>
152t.id===e);if(!n)return t;const r=t.columns.filter(t=>t.id!==e),a=new Set(t.selectedAttributePaths);return a.delete(n.attributePath),{...t,columns:r,selectedAttributePaths:a}})},[]),a=o.useCallback(()=>{t(e=>{if(e.columns.some(e=>e.isSourceFile))return e;const t={id:"col_source_file",attributePath:"__sourceFile",displayName:"Source File",dataType:"string",aggregationType:"none",isSourceFile:!0,width:200,sortOrder:null};return{...e,columns:[...e.columns,t]}})},[]),i=o.useCallback((e,n)=>{t(t=>({...t,columns:t.columns.map(t=>t.id===e?{...t,aggregationType:n}:t)}))},[]),s=o.useCallback(e=>{t(t=>{const n=t.columns.find(t=>t.id===e);if(!n)return t;let r="asc";return t.sortByColumn===e&&("asc"===t.sortOrder?r="desc":"desc"===t.sortOrder&&(r=null)),{...t,sortByColumn:r?e:void 0,sortOrder:r||void 0,columns:t.columns.map(t=>({...t,sortOrder:t.id===e?r:null}))}})},[]),l=o.useCallback((e,n)=>{t(t=>({...t,columns:t.columns.map(t=>t.id===e?{...t,width:n}:t)}))},[]),c=o.useCallback(()=>{t(e=>({...e,isOpen:!0}))},[]),u=o.useCallback(()=>{t(e=>({...e,isOpen:!1}))},[]),d=o.useCallback(()=>{t(e=>({...e,isMinimized:!e.isMinimized}))},[]),p=o.useCallback(()=>{t(e=>({...e,columns:[],selectedAttributePaths:new Set,rows:[]}))},[]),f=o.useCallback(e=>{t(t=>({...t,rows:e.rows}))},[]);return{gridState:e,addAttributeToGrid:n,removeAttributeFromGrid:r,addSourceFileColumn:a,updateColumnAggregation:i,sortByColumn:s,resizeColumn:l,openPanel:c,closePanel:u,toggleMinimize:d,clearAllColumns:p,updateGridRows:f}}const iU=({files:e,onAddFilesToManager:t,onExtractFileFromZipForAnalysis:n,onAddZipToManager:r})=>{L$({title:"Data Analysis",description:"Advanced XML and JSON data structure analysis with QlikView-style filtering, schema generation, and similarity detection. Analyze file patterns and discover data relationships.",keywords:"XML analysis, JSON analysis, data structure analysis, schema generation, QlikView filtering, data patterns, XML schema, JSON schema",url:"undefined"!=typeof window?window.location.href:void 0});const a=o.useRef(e);o.useEffect(()=>{e!==a.current&&(ix.debug(`FILES PROP CHANGED! Old count: ${a.current.length}, New count: ${e.length}`),ix.debug("Old files:",a.current.map(e=>({id:e.id,name:e.name}))),ix.debug("New files:",e.map(e=>({id:e.id,name:e.name}))),a.current=e)},[e]);const{tier:i}=lx(),s=o.useRef(i);o.useEffect(()=>{s.current=i,ix.debug("Tier updated in ref:",i)},[i]);const[l,c]=o.useState(!1),[u,d]=o.useState(null),[p,f]=o.useState(null),m=o.useRef(null),h=o.useRef(new Map),g=o.useRef([]),b=o.useRef({selectedFileIds:[],tolerance:.8}),[y,v]=o.useState({}),[x,S]=o.useState(null),[w,E]=o.useState(new Map),[C,k]=o.useState(null),[T,A]=o.useState(null),{gridState:I,addAttributeToGrid:N,removeAttributeFromGrid:R,addSourceFileColumn:O,updateColumnAggregation:L,sortByColumn:D,resizeColumn:P,openPanel:M,closePanel:j,toggleMinimize:F,clearAllColumns:z,updateGridRows:$}=oU(),B=function(){const[e,t]=o.useState({}),n=o.useCallback((e,n)=>{t(t=>({...t,[e]:n}))},[]),r=o.useCallback(e=>{t(t=>{const n={...t};return delete n[e],n})},[]),a=o.useCallback(t=>{if(t)return e[t]},[e]);return{metadataFilterState:e,updateCriteria:n,clearCriteria:r,getCriteria:a}}(),[U,H]=o.useState({isOpen:!1,isMinimized:!1,fileId:null,secondFileId:null}),[V,W]=o.useState(void 0),[G,q]=o.useState(void 0),[Y,X]=o.useState(""),[K,Z]=o.useState(new Set),[J,Q]=o.use
152State(""),ee=o.useRef(new Map),te=o.useCallback(()=>{d(null),f(null),S(null),v({}),E(new Map),ix.info("Analysis results cleared by view.")},[]),ne=o.useCallback(()=>{if(v({}),u&&u.structureSchemas&&u.analyzedFiles){const e=new Map,t=new Map,n=new Map;u.analyzedFiles.forEach(e=>{n.set(e.id,e)}),u.structureSchemas.forEach(r=>{const a=tU(r,n,u.invertedIndex,{});e.set(r.id,a.updatedDisplayAttributes),t.set(r.id,a.matchingFileIds)}),S(e),E(t),ix.info("All filters cleared. Display attributes and file sets reset.")}else S(null),E(new Map),ix.info("All filters cleared (no analysis results to process).")},[u]),re=o.useCallback(e=>{v(t=>{const n={...t};return n[e]&&(delete n[e],ix.debug(`Cleared selections for attribute: ${e}`)),n})},[]),ae=o.useMemo(()=>{const e=[];for(const[,t]of w)e.push(...Array.from(t));return Object.keys(y).length>0&&(1===e.length||2===e.length)?e:null},[w,y]);1===ae?.length&&ae[0];const oe=o.useCallback(()=>{ae&&(1===ae.length?H({isOpen:!0,isMinimized:!1,fileId:ae[0],secondFileId:null}):2===ae.length&&H({isOpen:!0,isMinimized:!1,fileId:ae[0],secondFileId:ae[1]}))},[ae]),ie=o.useCallback(()=>{H(e=>({...e,isOpen:!1,fileId:null}))},[]),se=o.useCallback(()=>{H(e=>({...e,isMinimized:!e.isMinimized}))},[]),le=o.useCallback(async(a,o,i="extract")=>{if("zipToManager"===i||"zipDownload"===i){const e=[];for(const r of a){const t=u?.analyzedFiles?.find(e=>e.id===r);t&&t._rawParsedContent&&e.push(t)}const t=new vx,n=[],s=[];for(const r of e){let e=null;r._rawParsedContent;let a=r.name;if(r.type?.includes("xml")?a.toLowerCase().endsWith(".xml")||(a+=".xml"):r.type?.includes("json")&&(a.toLowerCase().endsWith(".json")||(a+=".json")),ix.debug(`Preparing to add file to zip. Original name: ${r.name}, Target name for zip: ${a}, Type: ${r.type}`),"xml"===r.type&&"string"==typeof r.originalContentString)e=r.originalContentString,ix.debug(`Using originalContentString for XML file: ${a}`);else if("json"===r.type&&"string"==typeof r.originalContentString&&"object"==typeof r._rawParsedContent)e=r.originalContentString,ix.debug(`Using originalContentString for JSON file: ${a}`);else if("string"==typeof r._rawParsedContent||r._rawParsedContent instanceof ArrayBuffer||r._rawParsedContent instanceof Blob)e=r._rawParsedContent;else{if("object"!=typeof r._rawParsedContent||null===r._rawParsedContent){ix.warn(`Skipping file ${a} for zip: unsupported or null _rawParsedContent type`,r._rawParsedContent);continue}if("json"===r.type)try{e=JSON.stringify(r._rawParsedContent,null,2)}catch(yU){ix.warn(`Could not stringify JSON object for file ${a}:`,yU);continue}else if("xml"===r.type)if("undefined"!=typeof window&&window.XMLSerializer&&r._rawParsedContent instanceof Document)try{e=(new window.XMLSerializer).serializeToString(r._rawParsedContent)}catch(yU){ix.warn(`Could not serialize XML Document for file ${a}:`,yU);continue}else{if("string"!=typeof r._rawParsedContent.outerHTML){ix.warn(`XML file ${a} has object content but no original string, Document, or outerHTML. Skipping.`);continue}e=r._rawParsedContent.outerHTML}else try{if(e=String(r._rawParsedContent),"[object Object]"===e){ix.warn(`Content for ${a} (type ${r.type}) became '[object Object]' after String(). Skipping.`);continue}}catch(yU){ix.warn(`Could not convert content to string for ${a}:`,yU);continue}}null!==e?(ix.debug("Adding file to zip:",a,"final type:",typeof e),t.file(a,e),n.push(a),s.push({name:a,fileType:r.type||"unknown"})):ix.warn(`Skipping file ${a} due to null contentToZip before zipping.`)}ix.info("Files actually added to zip:",n);const l=await t.generateAsync({type:"blob"});if("zipToManager"===i)"function"==typeof r?r(l,o+".zip",!1,s):ix.debug("TODO: Implement onAddZipToManager to add zip to file manager",l);else if("zipDownload"===i){const e=URL.createObjectURL(l),t=document.createElement("a");t.href=e,t.download=o+".zip",document.body.appendChild(t),t.click(),setTimeout(()=>{document.body.removeChild(t),URL.revokeObjectURL(e)},100)}return}const s=[];let l=0;for(const r of a){const a=u?.analyzedFiles?.find(e=>e.id===r);if(!a){ix.warn(`Internal FileMetadata with id ${r} not found in analysisResults.analyzedFiles. Cannot determine extraction type.`);continue}const i=`${o} - ${a.name}`;if(a.sourceZipId&&a.pathInZip&&n)n(a.sourceZipId,a.pathInZip,i),l++;else if(t){const t=e.find(e=>e.id===a.id);t?s.push({...t,name:i}):s.push({...a,name:i})}else ix.warn(`No suitable handler found for file ${r}. onAddFilesToManager: ${!!t}, onExtractFileFromZipForAnalysis: ${!!n}`),ix.debug(`Fallback: Logging request for file ${r} from extraction: ${o}`)}s.length>0&&t&&(t(s,o),ix.info(`Called onAddFilesToManager for ${s.length} standalone files from extraction: ${o}`)),l>0&&ix.info(`Called onExtractFileFromZipForAnalysis for ${l} files from extraction: ${o}`),0===s.length&&0===l&&ix.info(`No valid files found or handlers available to extract for: ${o}`)},[e,u,t,n]),ce=o.useCallback(e=>{q(e.processed),void 0!==e.total&&W(t=>e.total!==t?(ix.debug(`Total files to analyze updated by worker: ${e.total}`),e.total):t)},[]);o.useEffect(()=>{let e=null;try{e=new Worker(new URL("/assets/FileProcessor.worker-BeTGgYXk.js",import.meta.url),{type:"module"}),m.current=e,ix.info("Worker initialized and assigned to workerRef."),e.onmessage=e=>{ix.debug("Message from worker:",e.data);const{status:t,sourceZipId:n,files:r,error:a,processedFileCount:o,totalFiles:i,currentFile:s}=e.data;if("progressUpdate"===t&&void 0!==o&&n){ee.current.set(n,{processed:o,total:i||o});let e=0,t=0;for(const n of ee.current.values())e+=n.processed,t+=n.total;ix.debug(`Aggregate progress: ${e} of ${t} files`),ce({processed:e,total:t,currentFile:s})}else a&&n?(h.current.set(n,"error"),f(e=>(e?e+"\n":"")+`Error processing ZIP ${n}: ${a}`)):"processing_complete"===t&&n&&r?(h.current.set(n,"completed"),g.current.push(...r)):ix.warn("Received unknown or incomplete message from worker:",e.data);ue()},e.onerror=e=>{ix.error("Worker failed to load or encountered an error:",e.message||"Unknown error"),ix.error("This typically happens when the development server is offline."),m.current=null,f("Worker failed to load. In development mode, ensure the server is running. In production, this should not occur."),c(!1),h.current.forEach((e,t)=>h.current.set(t,"error")),b.current&&(b.current.selectedFileIds=[])}}catch(t){ix.warn("Failed to create worker (likely offline):",t),ix.info("Will use main-thread processing for all files"),m.current=null}return()=>{e&&(ix.debug("Terminating worker (from useEffect cleanup)."),e.terminate(),m.current===e&&(m.current=null))}},[]);const ue=()=>{if(!b.current||0===h.current.size)return;Array.from(h.current.values()).every(e=>"completed"===e||"error"===e)&&(ix.info("All ZIP processing tasks completed (or none were needed)."),de())},de=o.useCallback(async()=>{const t=new By("full_analysis",Uy);if(!b.current)return ix.error("finishAnalysis called without analysis parameters."),void c(!1);ix.info("Finishing analysis...");const n=e=>{Z(t=>new Set([...t,e]))};X("Preparing files...");const{selectedFileIds:r,tolerance:a,originalFiles:o}=b.current;await new Promise(e=>setTimeout(e,200)),ix.debug("Selected file IDs:",r),ix.debug("Files from analysis params:",o?.map(e=>({id:e.id,name:e.name,type:e.type}))||"None stored"),ix.debug("Current files prop:",e.map(e=>({id:e.id,name:e.name,type:e.type})));const i=o&&o.length>0?o:e;ix.debug(`Using ${i===o?"stored":"current"} files for analysis`);const l=i.filter(e=>r.includes(e.id)&&"zip"!==e.type);ix.debug("Selected non-ZIP files:",l.map(e=>({id:e.id,name:e.name,type:e.type,hasContent:!!e.content,hasData:!!e.data,hasRawParsedContent:!!e._rawParsedContent,hasOriginalContentString:!!e.originalContentString})));const u=i.filter(e=>!r.includes(e.id)||"zip"===e.type);u.length>0&&ix.debug("Excluded files (not selected or ZIP):",u.map(e=>({id:e.id,name:e.name,type:e.type,isSelected:r.includes(e.id),isZip:"zip"===e.type}))),ix.debug("Processed files from worker:",g.current.map(e=>({id:e.id,name:e.name,type:e.type})));const p=[...g.current,...l];ix.debug("All files for analysis input:",p.map(e=>({id:e.id,name:e.name,type:e.type})));const m=new Map;
152p.forEach(e=>{ix.debug(`Processing file for dedup: ${e.name} (${e.id}), already in map: ${m.has(e.id)}`),m.has(e.id)&&m.get(e.id)._rawParsedContent?ix.debug(`Keeping existing file ${e.name} - already has content`):(ix.debug(`Adding/updating file ${e.name} to analysis map`),m.set(e.id,e))});const y=Array.from(m.values());ix.debug(`analyzedFilesForFiltering before processing: ${y.length}`),y.forEach((e,t)=>{ix.debug(`Pre-process file ${t}: ${e.name}, type=${e.type}, hasRawContent=${!!e._rawParsedContent}, hasContent=${!!e.content}, hasData=${!!e.data}, hasOriginalContentString=${!!e.originalContentString}`)});const x=y.filter(e=>!("zip"===e.type||e._rawParsedContent||e.content||e.data||e.originalContentString||e.sourceContent));x.length>0&&ix.error(`Found ${x.length} files without any content properties:`,x.map(e=>({name:e.name,type:e.type,allProperties:Object.keys(e)})));let w=0;for(const e of y){if(w%500==0&&w>0&&await new Promise(e=>setTimeout(e,0)),w++,ix.debug(`Processing file ${e.name}: type=${e.type}, has _rawParsedContent=${!!e._rawParsedContent}, has content=${!!e.content}, has originalContentString=${!!e.originalContentString}`),"zip"!==e.type&&!e._rawParsedContent){const t=[{prop:"data",value:e.data},{prop:"content",value:e.content},{prop:"originalContentString",value:e.originalContentString},{prop:"sourceContent",value:e.sourceContent}];ix.debug(`Checking content sources for ${e.name}:`,t.map(e=>({property:e.prop,hasValue:!!e.value,type:typeof e.value,length:"string"==typeof e.value?e.value.length:"N/A"})));const n=t.find(e=>e.value&&("string"==typeof e.value||"object"==typeof e.value));if(n)e._rawParsedContent=n.value,ix.debug(`Set _rawParsedContent from ${n.prop} for ${e.name} (${typeof n.value}, length: ${"string"==typeof n.value?n.value.length:"object"})`);else{ix.error(`CRITICAL: No valid content found for file ${e.name}. Available properties:`,Object.keys(e));const t=Object.entries(e).filter(([e,t])=>"string"==typeof t&&t.length>0&&(e.toLowerCase().includes("content")||e.toLowerCase().includes("data")));if(t.length>0){const[n,r]=t[0];e._rawParsedContent=r,ix.warn(`Emergency recovery: Using ${n} property for ${e.name}`)}else ix.error(`Unable to recover content for ${e.name}. This file will be skipped.`)}}if(e._rawParsedContent&&!e.parsedData){ix.debug(`Generating parsedData for ${e.name}: type=${e.type}, contentType=${typeof e._rawParsedContent}, contentLength=${"string"==typeof e._rawParsedContent?e._rawParsedContent.length:"N/A"}`);try{let t=e._rawParsedContent,n=!0;if("string"==typeof e._rawParsedContent)if("json"===e.type)ix.debug(`Parsing JSON content for ${e.name}`),t=ex(e._rawParsedContent),ix.debug(`JSON parsed successfully for ${e.name}:`,Array.isArray(t)?`Array with ${t.length} items`:Object.keys(t));else if("xml"===e.type){ix.debug(`Parsing XML content for ${e.name}`);const r=Wx(e._rawParsedContent,ix);r.parsingError?(ix.error(`XML parsing failed for ${e.name}:`,r.parsingError),e.error=`XML Parse Error: ${r.parsingError}`,n=!1,e.parsedData=new Map):(ix.debug(`XML parsed successfully for ${e.name}:`,Object.keys(r)),t=r)}n?(ix.debug(`Extracting attributes for ${e.name}...`),e.parsedData=Xx(t,"xml"===e.type),ix.debug(`Extracted ${e.parsedData.size} attributes for ${e.name}:`,Array.from(e.parsedData.keys()))):ix.debug(`Skipping attribute extraction for ${e.name} due to parsing errors`)}catch(yU){ix.error(`Error generating parsedData for ${e.name}:`,yU),e.error=e.error?`${e.error}; Failed attributes extraction`:"Failed attributes extraction",e.parsedData=new Map}}else e._rawParsedContent?ix.debug(`File ${e.name} already has parsedData with ${e.parsedData?.size||0} attributes`):ix.warn(`Skipping parsedData generation for ${e.name}: no _rawParsedContent available`);e._rawParsedContent||e.error||ix.warn(`File ${e.name} has no _rawParsedContent and no error prior to fullAnalysis.`),ix.debug(`After processing ${e.name}: has _rawParsedContent=${!!e._rawParsedContent}, has parsedData=${!!e.parsedData}, has error=${!!e.error}, parsedData size=${e.parsedData?.size||0}
152`),e.parsedData||(e.parsedData=new Map),e.id&&e.parsedData.set("_dmInternal.fileIdentifier",[e.id])}const E=y.filter(e=>e.parsedData&&e.parsedData.size>0),C=y.filter(e=>!e.parsedData||0===e.parsedData.size);ix.debug(`After processing - Files with parsedData: ${E.length}, Files without parsedData: ${C.length}`),C.length>0&&ix.warn("Files without parsedData after processing:",C.map(e=>({name:e.name,type:e.type,hasRawContent:!!e._rawParsedContent,hasError:!!e.error,parsedDataSize:e.parsedData?.size||0})));const T=s.current;ix.debug("finishAnalysis - Current tier:",T),ix.debug("finishAnalysis - Files to analyze:",y.length);const I=he(y,T);if(I)return ix.warn("finishAnalysis - Setting error:",I),f(I),d(null),S(null),c(!1),g.current=[],h.current.clear(),void(b.current&&(b.current.selectedFileIds=[]));if(ix.debug(`Final analyzedFilesForFiltering count: ${y.length}`),y.forEach((e,t)=>{ix.debug(`File ${t}: ${e.name}, hasContent=${!!e._rawParsedContent}, hasData=${!!e.parsedData}, hasError=${!!e.error}`)}),0===y.length)return ix.error("No files made it to analysis - this should not happen if files were selected"),f("No valid files selected or processed for analysis."),d(null),S(null),c(!1),X(""),g.current=[],h.current.clear(),void(b.current&&(b.current.selectedFileIds=[]));try{n("parsing"),Q("schemas"),X("Detecting structures and generating schemas..."),await new Promise(e=>setTimeout(e,300));const e=await eS(y,a);n("schemas"),Q("similarities"),X("Calculating schema similarities..."),await new Promise(e=>setTimeout(e,300));const r=new Map;if(e.structureSchemas){const t=Array.from(e.structureSchemas.values());for(let e=0;e<t.length;e++)for(let n=e+1;n<t.length;n++){const a=t[e],o=t[n],i=new Set(a.attributes.keys()),s=Yx(i,new Set(o.attributes.keys()));s>0&&(r.has(a.id)||r.set(a.id,new Map),r.get(a.id).set(o.id,s),r.has(o.id)||r.set(o.id,new Map),r.get(o.id).set(a.id,s))}}const o={structureSchemas:e.structureSchemas,invertedIndex:e.invertedIndex,analyzedFiles:y,pairwiseSimilarities:r};if(n("similarities"),Q("filters"),X("Preparing attribute filters..."),await new Promise(e=>setTimeout(e,300)),e.structureSchemas&&e.invertedIndex&&y.length>0){ix.info("Performing initial filter calculation for all schemas...");const t=new Map;y.forEach(e=>t.set(e.id,e));const n=new Map;for(const r of e.structureSchemas.values()){const a=tU(r,t,e.invertedIndex,{});n.set(r.id,a.updatedDisplayAttributes),"json_structure_0"===r.id&&(ix.debug(`Keys in initialDisplayAttributes for ${r.id}:`,Array.from(a.updatedDisplayAttributes.keys())),a.updatedDisplayAttributes.has("_dmInternal.fileIdentifier")&&ix.debug(`initial filenamesDisplayAttr for ${r.id}:`,a.updatedDisplayAttributes.get("_dmInternal.fileIdentifier")))}S(n),v({}),ix.info("Initial display attributes set for all schemas.",n)}else ix.warn("Missing data for initial filter calculation."),S(null);n("filters"),await new Promise(e=>setTimeout(e,400)),X("Rendering results..."),Q(""),await new Promise(e=>setTimeout(e,100)),d(o),f(null);const i=t.complete(y,g.current.filter(e=>"zip"===e.type),a);if(ix.info(`ð Analysis completed in ${Math.round(i)}ms for ${y.length} files`),b.current?.globalFilterOptions?.enabled)try{ix.info("ð Setting up global cross-structure filtering...");const{detectAttributeEquivalences:e,buildGlobalInvertedIndex:t}=await JC(async()=>{const{detectAttributeEquivalences:e,buildGlobalInvertedIndex:t}=await Promise.resolve().then(()=>QB);return{detectAttributeEquivalences:e,buildGlobalInvertedIndex:t}},[]),n=Array.from(o.structureSchemas.values()),r=new Map(y.map(e=>[e.id,e])),a=e(n,b.current.globalFilterOptions);ix.info(`Found ${a.equivalences.length} attribute equivalence groups`);const i=n[0]?.id;if(i){a.lookupMap.get(i)}for(const o of n){const e=a.lookupMap.get(o.id);e?.get("Message.Data[].ItemId");Array.from(o.attributes.keys()).filter(e=>e.toLowerCase().includes("itemid")).length}k(a);const s=t(n,r,a);ix.info(`Built global index with ${s.size} equivalent attributes`),A(s)}catch(N){ix.error("Error setting up global filtering:",N)}}catch(_){ix.error("Error during analysisEngine.fullAnalysis or initial applyFilters:",_),f(`Analysis failed: ${_ instanceof Error?_.message:String(_)}`),d(null),S(null)}finally{c(!1),X(""),Q(""),g.current=[],h.current.clear(),b.current&&(b.current.selectedFileIds=[])}},[i]),pe=o.useCallback((e,t,n)=>{const r=!0===n?.multi;v(n=>{const a={...n},o=a[e]?new Set(a[e]):new Set,i=o.has(t);let s;return r?(s=new Set(o),i?s.delete(t):s.add(t)):s=i&&1===o.size?void 0:new Set([t]),s&&0!==s.size?a[e]=s:delete a[e],ix.debug("New filter selection:",a),a})},[]),fe=o.useCallback((e,t)=>{v(n=>{const r={...n};return 0===t.length?delete r[e]:r[e]=new Set(t),ix.debug("New filter selection (multi-value):",r),r})},[]);o.useEffect(()=>{if(u&&u.structureSchemas&&u.invertedIndex&&u.analyzedFiles){let e=function(){for(const e of u.structureSchemas.values()){const a=tU(e,t,u.invertedIndex,y);n.set(e.id,a.updatedDisplayAttributes),"json_structure_0"===e.id&&(ix.debug(`Keys in displayAttributes (after filter) for ${e.id}:`,Array.from(a.updatedDisplayAttributes.keys())),a.updatedDisplayAttributes.has("_dmInternal.fileIdentifier")&&ix.debug(`filtered filenamesDisplayAttr for ${e.id}:`,a.updatedDisplayAttributes.get("_dmInternal.fileIdentifier"))),r.set(e.id,a.filteredFileIds)}S(n),E(r),ix.debug("Display attributes updated after filter change.",n),ix.debug("Filtered file sets per schema updated.",r)};ix.debug("Filter selection changed or analysis results updated, re-applying filters...");const t=new Map;
152u.analyzedFiles.forEach(e=>t.set(e.id,e));const n=new Map,r=new Map;C&&T&&b.current?.globalFilterOptions?.enabled?(ix.debug("ð Applying GLOBAL cross-structure filters"),(async()=>{try{const{applyGlobalFilters:e}=await JC(async()=>{const{applyGlobalFilters:e}=await Promise.resolve().then(()=>nU);return{applyGlobalFilters:e}},void 0),n=e(Array.from(u.structureSchemas.values()),t,T,C,y);ix.debug(`Global filtering matched ${n.globalMatchingFileIds.size} files across all structures`),S(n.displayAttributesByStructure),E(n.matchingFileIdsByStructure)}catch(n){ix.error("Error applying global filters:",n),e()}})()):e()}else S(null),E(new Map),!u&&Object.keys(y).length>0&&v({})},[y,u,C,T]),o.useEffect(()=>{!ae&&U.isOpen&&H(e=>({...e,isOpen:!1,fileId:null,secondFileId:null}))},[ae,U.isOpen]),o.useEffect(()=>{if(0===I.columns.length||!u||!u.structureSchemas)return void $({rows:[],totalRecords:0,filteredRecords:0});const e=Array.from(u.structureSchemas.keys())[0];if(!u.structureSchemas.get(e))return void $({rows:[],totalRecords:0,filteredRecords:0});let t=w.get(e);if(!t&&u.analyzedFiles&&(t=new Set(u.analyzedFiles.filter(t=>t.structureId===e).map(e=>e.id))),!t||0===t.size)return void $({rows:[],totalRecords:0,filteredRecords:0});const n=new Map;u.analyzedFiles&&u.analyzedFiles.forEach(e=>{n.set(e.id,e)});let r=function(e,t,n){const r=e.filter(e=>"none"===e.aggregationType),a=e.filter(e=>"none"!==e.aggregationType),o=[];for(const c of t){const t=n.get(c);if(!t)continue;const r=new Map;for(const n of e)if(n.isSourceFile)r.set(n.id,[t.name]);else{const e=NB(t,n.attributePath);r.set(n.id,e.length>0?e:[null])}const a=Math.max(...Array.from(r.values()).map(e=>e.length));for(let n=0;n<a;n++){const a=new Map;for(const t of e){const e=r.get(t.id)||[null];a.set(t.id,e[Math.min(n,e.length-1)])}o.push({fileId:c,fileName:t.name,values:a})}}if(0===r.length){const e=o.map((e,t)=>({id:`row_${t}`,sourceFileId:e.fileId,sourceFileName:e.fileName,values:e.values}));return{rows:e,totalRecords:e.length,filteredRecords:e.length}}const i=new Map;for(const c of o){const e=r.map(e=>String(c.values.get(e.id)??"null")).join("|||");i.has(e)||i.set(e,[]),i.get(e).push(c)}const s=[];let l=0;for(const[c,u]of i.entries()){const e=new Map;for(const t of r)e.set(t.id,u[0].values.get(t.id));for(const t of a){const n=u.map(e=>e.values.get(t.id)),r=CB(n,t.aggregationType,t.dataType);e.set(t.id,r)}s.push({id:"row_"+l++,sourceFileId:u[0].fileId,sourceFileName:u[0].fileName,values:e})}return{rows:s,totalRecords:s.length,filteredRecords:s.length}}(I.columns,t,n);if(I.sortByColumn&&I.sortOrder){const e=I.columns.find(e=>e.id===I.sortByColumn);e&&(r.rows=function(e,t,n,r){if(!t||!n)return e;const a=[...e].sort((e,a)=>{const o=e.values.get(t),i=a.values.get(t);if(null===o&&null===i)return 0;if(null===o)return 1;if(null===i)return-1;if("number"===r){const e=Number(o),t=Number(i);return"asc"===n?e-t:t-e}if("date"===r){const e=new Date(o).getTime(),t=new Date(i).getTime();return"asc"===n?e-t:t-e}{const e=String(o).toLowerCase(),t=String(i).toLowerCase();return"asc"===n?e.localeCompare(t):t.localeCompare(e)}});return a}(r.rows,I.sortByColumn,I.sortOrder,e.dataType))}$(r)},[I.columns,I.sortByColumn,I.sortOrder,w,u,$]);const me=o.useCallback(e=>!0===e.isSampleFile,[]),he=o.useCallback((e,t)=>{const n=e.length;if(e.some(e=>me(e))&&("Guest"===t.name||"Free"===t.name))return null;if(n<=t.data_analysis_limit)return null;let r=`You can analyze up to ${t.data_analysis_limit} files on the ${t.name} tier, but ${n} files were found.`;return"Guest"===t.name?r=`You can only analyze ${t.data_analysis_limit} files as a guest user. ${n} files were found. Please register to analyze more files.`:"Free"===t.name?r=`You can only analyze ${t.data_analysis_limit} files on the Free tier. ${n} files were found. Please upgrade to analyze more files.`:"Pro"===t.name&&(r=`You can analyze up to ${t.data_analysis_limit} files on the Pro tier. ${n} files were found (including files extracted from ZIP archives). Please upgrade to Pro+ for unlimited analysis.`),r},[me]),ge=o.useCallback((t,n,r)=>{if(l)return void ix.warn("Analysis already in progress, ignoring trigger");ix.debug("triggerAnalysis called. Worker available?",!!m.current),ix.debug("Selected IDs from view:",t),ix.debug("Tolerance value:",n),ix.debug("All files passed to DataAnalysisController:",e.map(e=>({id:e.id,name:e.name,type:e.type,hasContent:!!e.content,hasRawParsedContent:!!e._rawParsedContent,hasOriginalContentString:!!e.originalContentString,contentLength:e.content?.length||0,rawParsedContentType:typeof e._rawParsedContent})));const a=t.filter(e=>"string"==typeof e&&e&&""!==e.trim());a.length!==t.length&&ix.warn("triggerAnalysis received some invalid IDs from view. Original:",t,"Filtered:",a),ix.debug("triggerAnalysis called with processed IDs:",a);const o=s.current;ix.debug("triggerAnalysis - Current tier:",o);const i=e.filter(e=>a.includes(e.id)),u=he(i,o);if(u)return ix.warn("triggerAnalysis - Setting error:",u),void f(u);
152if(!m.current)return ix.warn("Analysis worker is not available. This may happen if the development server is offline."),f("Analysis worker is not available. If you are in development mode, please ensure the development server is running."),c(!1),void X("");c(!0),f(null),d(null),X(""),Z(new Set),Q("files"),g.current=[],h.current.clear(),ee.current.clear(),b.current={selectedFileIds:a,tolerance:n,originalFiles:[...e],globalFilterOptions:r};const p=e.filter(e=>a.includes(e.id));ix.debug("Files selected for analysis (after filtering props.files):",p);const y=p.filter(e=>"zip"!==e.type&&!e.content&&!e._rawParsedContent);if(y.length>0){const e=y.map(e=>e.name).join(", ");return ix.error(`Selected files missing content: ${e}. Try viewing these files first to ensure they are loaded.`),void f(`Some selected files are not properly loaded: ${e}. Please view these files in the file manager first, then try analysis again.`)}W(p.length),q(0),ix.debug(`Initial progress state set: 0 of ${p.length}`);const v=p.filter(e=>"zip"===e.type&&e.rawData);ix.debug("ZIP files identified for processing:",v);const x=p.filter(e=>"zip"!==e.type);if(0===v.length)return ix.debug("No ZIP files to process with worker. Number of non-ZIP files:",x.length),W(x.length),x.length>0&&ce({processed:0,total:x.length,currentFile:"Preparing direct analysis..."}),Z(e=>new Set([...e,"files"])),void de();v.forEach(e=>{h.current.set(e.id,"pending"),m.current?.postMessage({zipFile:e.rawData,sourceZipId:e.id,isSampleFile:e.isSampleFile||!1})})},[i,e,m,de,ce]);return o.useEffect(()=>{if(!l&&b.current&&0===h.current.size){const t=b.current,n=e.filter(e=>t.selectedFileIds.includes(e.id)&&"zip"!==e.type);n.length>0&&G!==n.length&&ce({processed:n.length,total:n.length})}},[l,e,G,ce]),o.useEffect(()=>{l&&void 0!==G&&void 0!==V&&V>0&&G>=V&&"files"===J&&(ix.debug("File processing reached 100% - marking files step as complete"),Z(e=>new Set([...e,"files"])),Q("parsing"))},[l,G,V,J]),_.jsx(YB,{files:e,onAnalyze:ge,isAnalyzing:l,analysisResults:u,analysisError:p,onClearAnalysisResults:te,onClearAllFilters:ne,displayAttributesPerSchema:x,onFilterChange:pe,onFilterMultipleValues:fe,currentFilterSelection:y,filteredFileSetsPerSchema:w,onExtractFiles:le,onClearAttributeSelections:re,processedFileCount:G,totalFilesToProcess:V,analysisPhase:Y,completedSteps:K,currentStep:J,gridState:I,onAttributeAddToGrid:N,onAddFileNameColumn:O,onGridOpen:M,onGridClose:j,onGridToggleMinimize:F,onGridColumnRemove:R,onGridClearAll:z,onGridAggregationChange:L,onGridColumnSort:D,onGridColumnResize:P,fileViewerPanelState:U,filteredFileIds:ae,onFileViewerPanelOpen:oe,onFileViewerPanelClose:ie,onFileViewerPanelToggleMinimize:se,attributeEquivalences:C,metadataFilterState:B.metadataFilterState,onMetadataFilterChange:B.updateCriteria})},sU=()=>{const e=Db(),{isAuthenticated:t,isLoading:n}=Iy.useKindeAuth();return o.useEffect(()=>{!n&&t&&e("/")},[t,n,e]),_.jsx(di,{variant:"h4",children:"Authenticating..."})},lU=()=>{const{files:e,fileManager:t,themeMode:n}=Mb(),r=Db();return _.jsx(Q$,{files:e,themeMode:n,onExtractSingleFile:async(e,n)=>{try{await t.extractSingleFileFromZip(e,n)&&r("/viewer")}catch(a){}},onAddExtractedFileData:e=>{},xmlToObj:e=>{try{return pE(e)}catch(t){return{error:"Failed to parse XML"}}}})},cU=()=>{const{files:e,fileManager:t}=Mb();return _.jsx(iU,{files:(n=e,n.filter(e=>!!(e.sourceContent||e.content||e.data||"zip"===e.fileType&&e.rawData)).map(e=>{let t=e.sourceContent||e.content||e.data||"";if("zip"!==e.fileType&&"string"!=typeof t)if("object"==typeof t)try{t=JSON.stringify(t)}catch(yU){t=""}else t=String(t);return{id:e.id,name:e.name,type:e.fileType,content:t,rawData:e.rawData,_rawParsedContent:t,originalContentString:t,data:t,isSampleFile:e.isSampleFile,internalFiles:e.internalFiles||[],fileSize:e.rawData?e.rawData.byteLength:"string"==typeof t?new Blob([t]).size:0}})),onAddFilesToManager:(e,n)=>{e.forEach(e=>{const n={name:e.name,sourceContent:e.originalContentString||e.content||"",fileType:e.type,data:e._rawParsedContent};t.addConvertedFile(n)})},onExtractFileFromZipForAnalysis:(e,n,r)=>{t.extractSingleFileFromZip(e,n)},onAddZipToManager:(e,n,r,a)=>{if(r){const t=URL.createObjectURL(e),r=document.createElement("a");r.href=t,r.download=n,r.click(),URL.revokeObjectURL(t)}else t.addZipFile(e,n)}});var n};function uU(){const{mode:e,toggleTheme:t}
152=Dh(),[n,r]=o.useState(!1),[a,i]=o.useState(!0),s=Rb(),l=Db(),c=sS({onFileLoaded:()=>{"/"===s.pathname&&l("/viewer")},autoSave:!1,restoreOnInit:!0}),u=c.files.find(e=>e.id===c.selectedFileId)||null,{expandedNodes:d,setExpandedNodes:p}=function(e){const[t,n]=o.useState(new Set);return o.useEffect(()=>{if(e?.sourceContent){const r=uS(e.sourceContent);try{const e=JSON.parse(sessionStorage.getItem(r)||"{}");Array.isArray(e?.expandedNodes)?n(new Set(e.expandedNodes)):n(new Set)}catch(t){n(new Set)}}else n(new Set)},[e]),o.useEffect(()=>{if(e?.sourceContent){const r=uS(e.sourceContent);if(t.size>0||sessionStorage.getItem(r))try{const e={expandedNodes:Array.from(t)};sessionStorage.setItem(r,JSON.stringify(e))}catch(n){}}},[t,e]),{expandedNodes:t,setExpandedNodes:n}}(u),{login:f,register:m,logout:h,user:g,isAuthenticated:b,isLoading:y}=Iy.useKindeAuth(),[v,x]=o.useState(null),S=Boolean(v),[w,E]=o.useState(!1),[C,k]=o.useState(null),T=Boolean(C),[A,I]=o.useState(!1),N="dark"===e?Vy:Wy;o.useEffect(()=>{const e=()=>{const e=window.innerWidth;if(e<900)r(!0);else if(e>1200&&n){sessionStorage.getItem("leftPaneUserMinimized")||r(!1)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);const R=()=>{x(null)},O=()=>{k(null)},L=e=>{window.__nodeflipBeforeFileChange&&!window.__nodeflipBeforeFileChange(e)||(c.selectFile(e),l("/viewer"))};o.useEffect(()=>{window.__nodeflipOriginalSelectFile=e=>{c.selectFile(e),l("/viewer")}},[c,l]);const D=[{text:"Test Data",icon:_.jsx(Ah,{}),path:"/test-data"},{text:"Data Lineage",icon:_.jsx(Ih,{}),path:"/data-lineage"},{text:"Data Extractor",icon:_.jsx(Nh,{}),path:"/data-extractor"},{text:"Data Analysis",icon:_.jsx(_h,{}),path:"/data-analysis"}],P="/"===s.pathname||"/viewer"===s.pathname,M=_.jsx(hi,{position:"fixed",sx:{zIndex:e=>e.zIndex.drawer+1,backgroundColor:e=>e.palette.background.paper,color:e=>e.palette.text.primary,borderBottom:e=>`1px solid ${e.palette.divider}`},elevation:0,children:_.jsxs(Pm,{children:[_.jsx(qo,{color:"inherit","aria-label":"toggle drawer",edge:"start",onClick:()=>{const e=!n;r(e),e?sessionStorage.setItem("leftPaneUserMinimized","true"):sessionStorage.removeItem("leftPaneUserMinimized")},sx:{mr:2,"&:focus":{outline:"none"}},children:_.jsx(yh,{})}),_.jsxs(pc,{component:Sy,to:"/",sx:{display:"flex",alignItems:"center",textDecoration:"none",color:"inherit",cursor:"pointer",padding:"6px 12px",borderRadius:"8px",transition:"background-color 0.2s ease","&:hover":{backgroundColor:e=>"dark"===e.palette.mode?"rgba(255, 255, 255, 0.08)":"rgba(0, 0, 0, 0.04)",color:"inherit !important"}},children:[_.jsx("img",{src:N,alt:"Nodeflip Logo",style:{height:"30px",marginRight:"10px"}}),_.jsx(di,{variant:"h6",component:"div",sx:{whiteSpace:"nowrap",fontWeight:"bold",color:"inherit"},children:"Nodeflip"})]}),_.jsxs(pc,{sx:{display:"flex",alignItems:"center",gap:1,flexGrow:1,justifyContent:"flex-end"},children:[_.jsx(qo,{onClick:e=>{k(e.currentTarget)},title:"Help & Resources",size:"small",sx:{backgroundColor:"background.paper",border:"1px solid",borderColor:e=>e.palette.divider,color:"text.primary",mr:1,"&:hover":{backgroundColor:"action.hover"},"&:focus":{outline:"none"}},children:_.jsx(Sh,{fontSize:"small"})}),_.jsxs(Pp,{anchorEl:C,open:T,onClose:O,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:[_.jsxs(zp,{onClick:()=>{window.open("https://www.nodeflip.com/documentation","_blank"),O()},children:[_.jsx(dp,{children:_.jsx(Sh,{fontSize:"small"})}),_.jsx(hp,{children:"Documentation"})]}),_.jsxs(zp,{onClick:()=>{window.open("/changelog.html","_blank"),O()},children:[_.jsx(dp,{children:_.jsx(wh,{fontSize:"small"})}),_.jsx(hp,{children:"Changelog"})]}),_.jsxs(zp,{onClick:()=>{I(!A),O()},children:[_.jsx(dp,{children:_.jsx(Eh,{fontSize:"small"})}),_.jsx(hp,{children:"Keyboard Shortcuts"})]})]}),!1,y&&_.jsx(di,{variant:"body2",color:"inherit",children:"Loading..."}),!y&&!b&&_.jsxs(_.Fragment,{children:[_.jsx(Ec,{color:"inherit",onClick:()=>f(),children:"Login"}),_.jsx(Ec,{color:"inherit",onClick:()=>l("/register"),children:"Register"})]}),!y&&b&&g&&_.jsxs(_.Fragment,{children:[_.jsx(al,{...g.picture&&{avatar:_.jsx(Jl,{alt:g.givenName??"User",src:g.picture,sx:{width:20,height:20}})},label:(()=>{const e=g?.givenName,t=g?.familyName;if(e&&t)return`${e} ${t.charAt(0)}.`;if(e&&!t)return e;if(!e&&t)return t;if(g?.email){const e=g.email.split("@")[0];return e.charAt(0).toUpperCase()+e.slice(1,8)}return"User"})(),onClick:e=>{x(e.currentTarget)},size:"small",variant:"outlined",sx:{mr:1,fontWeight:"bold",cursor:"pointer",backgroundColor:"background.paper",borderColor:e=>e.palette.divider,color:"text.primary","&:hover":{backgroundColor:"action.hover"}}}),_.jsxs(Pp,{anchorEl:v,open:S,onClose:R,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},children:[_.jsxs(zp,{onClick:()=>{R(),E(!0),R()},children:[_.jsx(dp,{children:_.jsx(Rh,{fontSize:"small"})}),_.jsx(hp,{children:"Settings"})]}),_.jsxs(zp,{onClick:()=>{h(),R()},children:[_.jsx(dp,{children:_.jsx(Oh,{fontSize:"small"})}),_.jsx(hp,{children:"Logout"})]})]})]})]})]})}),j=_.jsx(lo,{sx:{height:"100%",overflow:"hidden",display:"flex",flexDirection:"column",boxSizing:"border-box",borderRight:1,borderColor:"divider","--border-color":e=>e.palette.divider,"--primary-color":e=>e.palette.primary.main,"--text-primary":e=>e.palette.text.primary,"--icon-color":e=>e.palette.action.active,"--drop-target-background":e=>"dark"===e.palette.mode?e.palette.action.hover:e.palette.grey[200],transition:"background-color 0.2s ease-out",backgroundColor:c.isDraggingOver?e=>e.palette.action.hover:void 0}
152,...c.getDragAndDropHandlers(),children:n?_.jsxs(pc,{sx:{display:"flex",flexDirection:"column",alignItems:"center",pt:1},children:[_.jsx(qo,{title:"Files",className:`${Gy} ${Ky} ${P?qy:""}`,onClick:()=>{r(!1),"/"!==s.pathname&&"/viewer"!==s.pathname&&l("/")},children:_.jsx(Ch,{className:`${Yy} ${P?qy:""}`})}),D.map(e=>{const t=s.pathname===e.path;return _.jsx(qo,{component:Sy,to:e.path,title:e.text,className:`${Gy} ${Ky} ${t?qy:""}`,children:_.jsx(e.icon.type,{className:`${Yy} ${t?qy:""}`})},e.text)})]}):_.jsxs(pc,{sx:{display:"flex",flexDirection:"column",height:"100%"},children:[_.jsx(ox,{isFilesActive:P,isFileUploadSectionVisible:a,onToggleVisibility:()=>{i(!a)},files:c.files,selectedFileId:c.selectedFileId,isLoading:c.isLoading,error:c.error,selectFile:L,addFilesFromInput:c.addFilesFromInput,addPastedContent:c.addPastedContent,getDragAndDropHandlers:c.getDragAndDropHandlers,removeFile:c.removeFile,renameFile:c.renameFile,clearAllFiles:c.clearAllFiles,clearError:c.clearError,toggleZipExpansion:c.toggleZipExpansion,toggleInternalFileSelect:c.toggleInternalFileSelect,extractSelectedFromZip:c.extractSelectedFromZip}),_.jsx(Kd,{sx:{flexGrow:1,overflowY:"auto",p:0},children:D.map(e=>{const t=s.pathname===e.path;return _.jsxs(tp,{component:Sy,to:e.path,className:`${Gy} ${t?qy:""}`,children:[_.jsx(dp,{sx:{minWidth:"auto",mr:1.5},children:_.jsx(e.icon.type,{className:`${Yy} ${t?qy:""}`})}),_.jsx(hp,{primary:e.text,primaryTypographyProps:{className:`${Xy} ${t?qy:""}`}})]},e.text)})})]})});return _.jsxs(pc,{sx:{display:"flex",flexDirection:"column",height:"100vh",width:"100vw",overflow:"hidden",minWidth:"320px"},children:[_.jsx(Qc,{}),_.jsx(ca,{styles:e=>({"*:focus, *:focus-visible":{outline:"none !important",boxShadow:"none !important"},"*::-webkit-scrollbar":{width:"8px",height:"8px"},"*::-webkit-scrollbar-track":{background:"dark"===e.palette.mode?"#2a2a2a":"#f1f1f1"},"*::-webkit-scrollbar-thumb":{background:"dark"===e.palette.mode?"#555":"#c1c1c1",borderRadius:"4px"},"*::-webkit-scrollbar-thumb:hover":{background:"dark"===e.palette.mode?"#777":"#a8a8a8"},"*":{scrollbarWidth:"thin",scrollbarColor:"dark"===e.palette.mode?"#555 #2a2a2a":"#c1c1c1 #f1f1f1"},"@media (max-width: 768px)":{".allotment-container":{display:"flex !important"},".allotment-splitter":{width:"2px !important"}},"@media (max-width: 320px)":{"html, body":{minWidth:"320px !important"}}})}),M,_.jsx(pc,{sx:{position:"fixed",top:"64px",left:0,width:"100vw",height:"calc(100vh - 64px)",zIndex:1,minWidth:"320px"},children:_.jsx(pc,{className:n?"allotment-disabled":"",sx:{height:"100%","&.allotment-disabled .split-view-splitter":{display:"none !important"}},children:_.jsxs(Hg,{onChange:e=>{e.length>1&&document.documentElement.style.setProperty("--left-pane-width",`${e[0]}px`)},children:[_.jsx(Hg.Pane,{preferredSize:n?65:350,minSize:n?65:200,maxSize:n?65:875,children:j},"left-pane"),_.jsx(Hg.Pane,{minSize:280,snap:!0,children:_.jsx(pc,{sx:{height:"100%",overflow:"auto",bgcolor:"background.paper"},children:_.jsx(qb,{context:{fileManager:c,files:c.files,selectedFileId:c.selectedFileId,onNewFile:c.addConvertedFile,onFileUpdate:c.updateFile,expandedNodes:d,setExpandedNodes:p,themeMode:e,isLeftPaneMinimized:n,onBeforeFileChange:L}})})},"main-content")]})})}),_.jsx(TC,{open:w,onClose:()=>E(!1),themeMode:e,toggleTheme:t}),_.jsx(AC,{isOpen:A,onClose:()=>I(!1)})]})}function dU(){return _.jsxs(Ph,{children:[_.jsx(Qc,{}),_.jsxs(Kb,{children:[_.jsxs(Yb,{path:"/",element:_.jsx(uU,{}),children:[_.jsx(Yb,{index:!0,element:_.jsx(D$,{})}),_.jsx(Yb,{path:"viewer",element:_.jsx(bE,{})}),_.jsx(Yb,{path:"test-data",element:_.jsx($j,{})}),_.jsx(Yb,{path:"data-lineage",element:_.jsx(O$,{})}),_.jsx(Yb,{path:"data-extractor",element:_.jsx(lU,{})}),_.jsx(Yb,{path:"data-analysis",element:_.jsx(cU,{})})]}),_.jsx(Yb,{path:"/register",element:_.jsx(nB,{})}),_.jsx(Yb,{path:"/pricing",element:_.jsx(nB,{})}),_.jsx(Yb,{path:"/callback",element:_.jsx(sU,{})}),_.jsx(Yb,{path:"/billing/success",element:_.jsx(rB,{})}),_.jsx(Yb,{path:"/account-deleted",element:_.jsx(aB,{})}),_.jsx(Yb,{path:"/sentry-test",element:_.jsx(Hy,{})})]})]})}
152class pU extends Error{constructor(e){super(e),this.name="EnvValidationError"}}function fU(e,t=!1){if(t&&""===e)return!0;try{return new URL(e),!0}catch{return!1}}function mU(e){return e.startsWith("price_")&&e.length>6}const hU=({children:e})=>_.jsx(w,{fallback:({error:e,resetError:t})=>_.jsxs("div",{style:{padding:"40px",textAlign:"center",background:"linear-gradient(135deg, #ef4444 0%, #dc2626 100%)",borderRadius:"12px",margin:"20px",color:"white",boxShadow:"0 10px 30px rgba(239, 68, 68, 0.3)"},children:[_.jsx("div",{style:{fontSize:"3rem",marginBottom:"20px"},children:"â ï¸"}),_.jsx("h2",{style:{margin:"0 0 16px 0",fontSize:"1.5rem"},children:"Something went wrong"}),_.jsx("p",{style:{marginBottom:"24px",opacity:.9,fontSize:"1rem",lineHeight:"1.5"},children:"An error occurred while processing your data. This has been automatically reported to our team."}),_.jsx("button",{onClick:t,style:{background:"rgba(255, 255, 255, 0.2)",color:"white",border:"1px solid rgba(255, 255, 255, 0.3)",padding:"12px 24px",borderRadius:"6px",cursor:"pointer",fontSize:"1rem",fontWeight:"500",transition:"all 0.2s"},onMouseOver:e=>{e.currentTarget.style.background="rgba(255, 255, 255, 0.3)"},onMouseOut:e=>{e.currentTarget.style.background="rgba(255, 255, 255, 0.2)"},children:"Try Again"}),!1]}),showDialog:!1,beforeCapture:e=>{e.setTag("component","ErrorBoundary"),e.setTag("app","nodeflip");try{const t=window.__KINDE_AUTH__;t?.user&&e.setUser({id:t.user.id,email:t.user.email})}catch(yU){}},children:e});let gU;E({dsn:"https://5a5ea1375ac47dd08e6bd40e842ef465@o4509736970944512.ingest.de.sentry.io/4509741720797264",integrations:[C(),k({maskAllText:!0,blockAllMedia:!0,maskAllInputs:!0,block:[".data-analysis-content",".file-content",".analysis-results",".monaco-editor",".file-upload-area",".data-viewer","[data-sensitive]",".MuiDataGrid-root"],mask:['[class*="file"]','[class*="data"]','[class*="analysis"]',"pre","textarea"]})],tracesSampleRate:.01,tracePropagationTargets:["localhost",/^https:\/\/.*\.vercel\.app\/api/,/^https:\/\/.*\.nodeflip\.com\/api/],replaysSessionSampleRate:0,replaysOnErrorSampleRate:.01,environment:"production",beforeSend:(e,t)=>(e.breadcrumbs&&(e.breadcrumbs=e.breadcrumbs.filter(e=>{const t=e.message?.toLowerCase()||"";return!(t.includes("file")||t.includes("analysis")||t.includes("data")||t.includes("upload")||t.includes("parse")||t.includes("xml")||t.includes("json"))})),e.contexts&&(delete e.contexts.analysis,delete e.contexts.fileData,delete e.contexts.userData,delete e.contexts.dataAnalysis,Object.keys(e.contexts).forEach(t=>{(t.toLowerCase().includes("file")||t.toLowerCase().includes("data")||t.toLowerCase().includes("analysis"))&&delete e.contexts[t]})),e.tags&&Object.keys(e.tags).forEach(t=>{t.toLowerCase().includes("file")&&"fileCount"!==t&&delete e.tags[t]}),e.extra&&Object.keys(e.extra).forEach(t=>{(t.toLowerCase().includes("file")||t.toLowerCase().includes("data")||t.toLowerCase().includes("content"))&&delete e.extra[t]}),e)});let bU=!1;try{gU=function(){const e=[],t={VITE_KINDE_DOMAIN:"https://nodeflip.kinde.com",VITE_KINDE_CLIENT_ID:"017ee42c7bf14dee94c41ad528885943",VITE_KINDE_REDIRECT_URI:"https://app.nodeflip.com/auth-callback",VITE_KINDE_LOGOUT_REDIRECT_URI:"https://app.nodeflip.com",VITE_STRIPE_PRO_PRICE_ID:"price_1RmKrwBNts0MjWuEnMEi2oWd",VITE_STRIPE_PRO_PLUS_PRICE_ID:"price_1RllpsBNts0MjWuEv1FTozwo"};if(Object.entries(t).forEach(([t,n])=>{n&&""!==n.trim()||e.push(`â ${t} is required but not set`)}),e.length>0)throw new pU(`Missing required environment variables:\n${e.join("\n")}\n\nPlease check your .env file and ensure all required variables are set.\nSee example.env for reference.`);const n={...t,VITE_API_BASE_URL:"",VITE_SENTRY_DSN:"https://5a5ea1375ac47dd08e6bd40e842ef465@o4509736970944512.ingest.de.sentry.io/4509741720797264"};var r;if(r=n.VITE_KINDE_DOMAIN,/^(https?:\/\/)?[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*\.?$/.test(r)||e.push(`â VITE_KINDE_DOMAIN "${n.VITE_KINDE_DOMAIN}" is not a valid domain`),fU(n.VITE_KINDE_REDIRECT_URI)||e.push(`â VITE_KINDE_REDI
152RECT_URI "${n.VITE_KINDE_REDIRECT_URI}" is not a valid URL`),fU(n.VITE_KINDE_LOGOUT_REDIRECT_URI)||e.push(`â VITE_KINDE_LOGOUT_REDIRECT_URI "${n.VITE_KINDE_LOGOUT_REDIRECT_URI}" is not a valid URL`),n.VITE_API_BASE_URL&&!fU(n.VITE_API_BASE_URL,!0)&&e.push(`â VITE_API_BASE_URL "${n.VITE_API_BASE_URL}" is not a valid URL`),mU(n.VITE_STRIPE_PRO_PRICE_ID)||e.push(`â VITE_STRIPE_PRO_PRICE_ID "${n.VITE_STRIPE_PRO_PRICE_ID}" should start with "price_"`),mU(n.VITE_STRIPE_PRO_PLUS_PRICE_ID)||e.push(`â VITE_STRIPE_PRO_PLUS_PRICE_ID "${n.VITE_STRIPE_PRO_PLUS_PRICE_ID}" should start with "price_"`),n.VITE_KINDE_CLIENT_ID.length<10&&e.push("â VITE_KINDE_CLIENT_ID appears to be too short (should be a valid Kinde client ID)"),n.VITE_APP_ENV="production",n.VITE_STRIPE_PUBLISHABLE_KEY="pk_live_51RUQtWBNts0MjWuEKqSf9WkAbXrlwTQMpz1DoNt9XfJHVrhsESvkcHFBuAfYfNGx8xdvZrNmKQgKxuZSRwwMkrsW00F9JFkqLy",e.length>0)throw new pU(`Environment validation errors:\n${e.join("\n")}\n\nPlease check your environment configuration.`);return n}(),bU=!0}catch(vU){if(!(vU instanceof pU))throw vU;{const e=()=>{const e="localhost"===window.location.hostname||"127.0.0.1"===window.location.hostname;document.body.innerHTML="",document.body.style.cssText="\n margin: 0;\n padding: 20px;\n background: #f5f5f5;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;\n ";const t=document.createElement("div");t.style.cssText="\n max-width: 600px;\n margin: 10vh auto;\n padding: 40px;\n background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);\n border-radius: 16px;\n color: white;\n text-align: center;\n box-shadow: 0 20px 40px rgba(0,0,0,0.1);\n min-height: 300px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n ",t.innerHTML=e?`\n <div style="font-size: 4rem; margin-bottom: 20px;">ð§</div>\n <h1 style="margin-bottom: 20px; font-size: 2rem; font-weight: 600;">Setup Required</h1>\n <p style="margin-bottom: 30px; font-size: 1.2rem; opacity: 0.9;">\n Nodeflip needs to be configured before it can start.\n </p>\n <div style="background: rgba(255,255,255,0.1); padding: 20px; border-radius: 8px; margin-bottom: 20px; text-align: left;">\n <p style="margin-bottom: 10px; font-weight: 600;">Quick Fix:</p>\n <ol style="margin: 0; padding-left: 20px; line-height: 1.6;">\n <li>Copy <code style="background: rgba(255,255,255,0.2); padding: 2px 6px; border-radius: 4px;">example.env</code> to <code style="background: rgba(255,255,255,0.2); padding: 2px 6px; border-radius: 4px;">.env.local</code></li>\n <li>
152Fill in your credentials (Kinde, Stripe)</li>\n <li>Restart the dev server</li>\n </ol>\n </div>\n <details style="margin-top: 20px; text-align: left;">\n <summary style="cursor: pointer; font-weight: 600; margin-bottom: 10px;">Show Technical Details</summary>\n <pre style="background: rgba(0,0,0,0.3); padding: 15px; border-radius: 6px; white-space: pre-wrap; font-size: 0.9rem; text-align: left; overflow-x: auto;">${vU.message}</pre>\n </details>\n `:'\n <div style="font-size: 4rem; margin-bottom: 20px;">â ï¸</div>\n <h1 style="margin-bottom: 20px; font-size: 2rem; font-weight: 600;">Service Temporarily Unavailable</h1>\n <p style="margin-bottom: 30px; font-size: 1.2rem; opacity: 0.9;">\n We\'re experiencing a configuration issue. Please try again in a few minutes.\n </p>\n <p style="opacity: 0.8;">\n If the problem persists, please contact support.\n </p>\n ',document.body.appendChild(t)};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()}}bU&&gU&&j.createRoot(document.getElementById("root")).render(_.jsx(o.StrictMode,{children:_.jsx(hU,{children:_.jsx(vy,{children:_.jsx(Iy.KindeProvider,{clientId:gU.VITE_KINDE_CLIENT_ID,domain:gU.VITE_KINDE_DOMAIN,redirectUri:gU.VITE_KINDE_REDIRECT_URI,logoutUri:gU.VITE_KINDE_LOGOUT_REDIRECT_URI,callbacks:{onSuccess:()=>{const e=localStorage.getItem("selectedPlan");window.location.pathname=e&&"free"!==e?"/pricing":"/"}},children:_.jsx(Ph,{children:_.jsx(dU,{})})})})})}));
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.