1(self.webpackChunkpangea=self.webpackChunkpangea||[]).push([[3861],{95:function(t,e,n){"use strict";function r(t){return"object"==typeof t&&!Array.isArray(t)}n.d(e,{i:function(){return V}});var i=n(89090);function o(t,e,n,o){return"string"==typeof t&&r(e)?(0,i.K)(t,n,o):t instanceof NodeList?Array.from(t):Array.isArray(t)?t:[t]}function a(t,e,n){return t*(e+1)}function s(t,e,n,r){return"number"==typeof e?e:e.startsWith("-")||e.startsWith("+")?Math.max(0,t+parseFloat(e)):"<"===e?n:e.startsWith("<")?Math.max(0,n+parseFloat(e.slice(1))):r.get(e)??t}var c=n(28498);var l=n(17761);function u(t,e){return(0,l.h)(t)?t[((t,e,n)=>{const r=e-t;return((n-t)%r+r)%r+t})(0,t.length,e)]:t}var h=n(94718);function d(t,e,n,r,i,o){!function(t,e,n){for(let r=0;r<t.length;r++){const i=t[r];i.at>e&&i.at<n&&((0,h.Ai)(t,i),r--)}}(t,i,o);for(let a=0;a<e.length;a++)t.push({value:e[a],at:(0,c.k)(i,o,r[a]),easing:u(n,a)})}function p(t,e){for(let n=0;n<t.length;n++)t[n]=t[n]/(e+1)}function f(t,e){return t.at===e.at?null===t.value?1:null===e.value?-1:0:t.at-e.at}var g=n(54649),m=n(51905),y=n(95278),v=n(73840),b=n(61677),C=n(32414),w=n(13386),P=n(79545);function x(t,e){return!e.has(t)&&e.set(t,{}),e.get(t)}function I(t,e){return e[t]||(e[t]=[]),e[t]}function _(t){return Array.isArray(t)?t:[t]}function A(t,e){return t&&t[e]?{...t,...t[e]}:{...t}}const S=t=>"number"==typeof t,k=t=>t.every(S);var D=n(63573),T=n(58040),M=n(76117),E=n(38212),O=n(37725);class j extends O.B{constructor(){super(...arguments),this.type="object"}readValueFromInstance(t,e){if(function(t,e){return t in e}(e,t)){const n=t[e];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(t,e){delete e.output[t]}measureInstanceViewportBox(){return(0,E.ge)()}build(t,e){Object.assign(t.output,e)}renderInstance(t,{output:e}){Object.assign(t,e)}sortInstanceNodePosition(){return 0}}var L=n(72600),B=n(31686),R=n(41119);function N(t){const e={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,B.x)(t)&&!(0,R.h)(t)?new L.l(e):new M.M(e);n.mount(t),D.C.set(t,n)}function z(t){const e=new j({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});e.mount(t),D.C.set(t,e)}var F=n(71234);function W(t,e,n,i){const a=[];if(function(t,e){return(0,g.S)(t)||"number"==typeof t||"string"==typeof t&&!r(e)}(t,e))a.push((0,F.z)(t,r(e)&&e.default||e,n&&n.default||n));else{const r=o(t,e,i),s=r.length;(0,C.V)(Boolean(s),"No valid elements provided.");for(let t=0;t<s;t++){const i=r[t],o=i instanceof Element?N:z;D.C.has(i)||o(i);const c=D.C.get(i),l={...n};"delay"in l&&"function"==typeof l.delay&&(l.delay=l.delay(t,s)),a.push(...(0,T.$)(c,{...e,transition:l},{}))}}return a}var $=n(80432);function H(t,e,n){const r=[],i=function(t,{defaultTransition:e={},...n}={},r,i){const c=e.duration||.3,l=new Map,h=new Map,S={},D=new Map;let T=0,M=0,E=0;for(let f=0;f<t.length;f++){const n=t[f];if("string"==typeof n){D.set(n,M);continue}if(!Array.isArray(n)){D.set(n.name,s(M,n.at,T,D));continue}let[l,w,O={}]=n;void 0!==O.at&&(M=s(M,O.at,T,D));let j=0;const L=(t,n,r,o=0,s=0)=>{const l=_(t),{delay:h=0,times:f=(0,m.Z)(l),type:g="keyframes",repeat:w,repeatType:x,repeatDelay:I=0,...A}=n;let{ease:S=e.ease||"easeOut",duration:D}=n;const T="function"==typeof h?h(o,s):h,O=l.length,L=(0,y.W)(g)?g:i?.[g||"keyframes"];if(O<=2&&L){let t=100;if(2===O&&k(l)){const e=l[1]-l[0];t=Math.abs(e)}const e={...A};void 0!==D&&(e.duration=(0,P.f)(D));const n=(0,v.X)(e,t,L);S=n.ease,D=n.duration}D??(D=c);const B=M+T;1===f.length&&0===f[0]&&(f[1]=1);const R=f.length-l.length;if(R>0&&(0,b.f)(f,R),1===l.length&&l.unshift(null),w){(0,C.V)(w<20,"Repeat count too high, must be less than 20"),D=a(D,w);const t=[...l],e=[...f];S=Array.isArray(S)?[...S]:[S];const n=[...S];for(let r=0;r<w;r++){l.push(...t);for(let i=0;i<t.length;i++)f.push(e[i]+(r+1)),S.push(0===i?"linear":u(n,i-1))}p(f,w)}const N=B+D;d(r,l,S,f,B,N),j=Math.max(T+D,j),E=Math.max(N,E)};if((0,g.S)(l))L(w,O,I("default",x(l,h)));else{const t=o(l,w,r,S),e=t.length;for(let n=0;n<e;n++){const r=x(t[n],h);for(const t in w)L(w[t],A(O,t),I(t,r),n,e)}}T=M,M+=j}return h.forEach((t,r)=>{for(const i in t){const o=t[i];o.sort(f);const a=[],s=[],c=[];for(let t=0;t<o.length;t++){const{at:e,value:n,easing:r}=o[t];a.push(n),s.push((0,w.q)(0,E,e)),c.push(r||"easeOut")}0!==s[0]&&(s.unshift(0),a.unshift(a[0]),c.unshift("easeInOut")),1!==s[s.length-1]&&(s.push(1),a.push(null)),l.has(r)||l.set(r,{keyframes:{},transition:{}});const u=l.get(r);u.keyframes[i]=a,u.transition[i]={...e,duration:E,ease:c,times:s,...n}}}),l}(t,e,n,{spring:$.o});
1return i.forEach(({keyframes:t,transition:e},n)=>{r.push(...W(n,t,e))}),r}class q{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>t.finished))}getAll(t){return this.animations[0][t]}setAll(t,e){for(let n=0;n<this.animations.length;n++)this.animations[n][t]=e}attachTimeline(t){const e=this.animations.map(e=>e.attachTimeline(t));return()=>{e.forEach((t,e)=>{t&&t(),this.animations[e].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let e=0;e<this.animations.length;e++)t=Math.max(t,this.animations[e].duration);return t}runAll(t){this.animations.forEach(e=>e[t]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class X extends q{then(t,e){return this.finished.finally(t).then(()=>{})}}const V=function(t,e,n){let r=[];var i;i=t,r=Array.isArray(i)&&i.some(Array.isArray)?H(t,e,U):W(t,e,n,U);const o=new X(r);return U&&U.animations.push(o),o};var U},7745:function(t,e,n){"use strict";n.d(e,{d:function(){return s}});var r=n(79474),i=n(20092),o=n(27455),a=n(16136);function s(t){const e=(0,o.M)(()=>(0,a.OQ)(t)),{isStatic:n}=(0,r.useContext)(i.Q);if(n){const[,n]=(0,r.useState)(t);(0,r.useEffect)(()=>e.on("change",n),[])}return e}},9587:function(t,e,n){"use strict";var r=n(79474),i=n(41209),o=n(37216),a=n(86276),s=n(70672),c=n(61005);e.A=t=>{let{content:e,isCs:n=!1,transformUrl:l}=t;return r.createElement(i.A,{sx:{"p:not(:last-child)":{marginBottom:"10px"},"p, ul, ol":{margin:"0px",...n?s.Ut:a.Ut},"li a":{...n?s.Ut:a.Ut},"h1, h2, h3, h4, h5":{...n?s.Xf:a.Xf},pre:{overflowX:"none",whiteSpace:"normal",border:n?`solid 1px ${c.J.TextDark}AF`:`solid 1px ${c.J.PrimaryContrast}AF`,borderRadius:"16px",padding:"16px"},code:{...n?s.lT:a.lT}}},r.createElement(o.A,{content:e,transformUrl:l}))}},13035:function(t,e,n){var r;"undefined"!=typeof self&&self,t.exports=(r=n(79474),function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="lib/",n(n.s=5)}([function(t,e){t.exports=r},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.ArcherContainerContextProvider=e.ArcherContainerContext=void 0;var i=r(n(0));e.ArcherContainerContext=i.default.createContext(null),e.ArcherContainerContextProvider=e.ArcherContainerContext.Provider},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeId=void 0,e.encodeId=function(t){return encodeURI(t).replace(/%/g,"_")}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getMarkerId=e.createShapeObj=e.getSourceToTargets=e.getEndShapeFromStyle=void 0;var r=["arrow","circle"];e.getEndShapeFromStyle=function(t){return t.endShape&&Object.keys(t.endShape).filter(function(t){return r.includes(t)})[0]||r[0]},e.getSourceToTargets=function(t){var e=Object.keys(t).map(function(e){return t[e]});return[].concat.apply([],e).sort(function(t,e){return t.order-e.order})},e.createShapeObj=function(t,n){return{arrow:function(){var e;return{arrow:Object.assign(Object.assign({},null==n?void 0:n.arrow),null===(e=t.endShape)||void 0===e?void 0:e.arrow)}},circle:function(){var e;return{circle:Object.assign(Object.assign({},null==n?void 0:n.circle),null===(e=t.endShape)||void 0===e?void 0:e.circle)}}}[(0,e.getEndShapeFromStyle)(t)]()},e.getMarkerId=function(t,e,n){return"".concat(t).concat(e.id).concat(n.id)}},function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.endShapeDefaultProp=void 0,e.endShapeDefaultProp={arrow:{arrowLength:10,arrowThickness:6},circle:{radius:2,fillColor:"#f00",strokeColor:"#0ff",strokeWidth:1}}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.ArcherContainer=e.ArcherElement=void 0;var i=n(6);Object.defineProperty(e,"ArcherElement",{enumerable:!0,get:function(){return r(i).default}});var o=n(11);Object.defineProperty(e,"ArcherContainer",{enumerable:!0,get:function(){return r(o).default}})},function(t,e,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&("get"in i?e.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),i=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),o=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&r(e,t,n);return i(e,t),e};Object.defineProperty(e,"__esModule",{value:!0});var a=o(n(0)),s=n(7),c=n(1),l=n(2),u=n(8),h=n(10);e.default=function(t){var e=t.id,n=t.relations,r=void 0===n?[]:n,i=t.children,o=(0,a.useMemo)(function(){return(0,l.encodeId)(e)},[e]),d=(0,a.useContext)(c.ArcherContainerContext),p=(0,a.useRef)(),f=(0,a.useCallback)(function(t){var e=(0,h.generateSourceToTarget)(o,t);(0,h.assertContextExists)(d),d.registerTransitions(o,e)},[d,o]),g=(0,a.useCallback)(function(){(0,h.assertContextExists)(d),d.unregisterTransitions(o)},[d,o]),m=(0,a.useCallback)(function(t){t&&((0,h.assertContextExists)(d),d.registerChild(o,t))},[o,d]),y=(0,a.useCallback)(function(){(0,h.assertContextExists)(d),d.unregisterChild(o)},[d,o]);(0,s.useIsomorphicLayoutEffect)(function(){return m(p.current),function(){return y()}},[m,y]),(0,u.useDeepCompareEffect)(function(){return f(r),function(){return g()}},[f,r,g]),a.default.Children.only(i);var v=i;return a.default.cloneElement(v,Object.assign(Object.assign({},v.props),{ref:p}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useIsomorphicLayoutEffect=void 0;var r=n(0);e.useIsomorphicLayoutEffect="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.useDeepCompareEffect=void 0;var i=n(0),o=r(n(9));function a(t){var e=(0,i.useRef)();return(0,o.default)(t,e.current)||(e.current=t),e.current}e.useDeepCompareEffect=function(t,e){(0,i.useEffect)(t,e.map(a))}},function(t,e,n){"use strict";var r=Array.isArray,i=Object.keys,o=Object.prototype.hasOwnProperty,a="undefined"!=typeof Element;t.exports=function(t,e){try{return function t(e,n){if(e===n)return!0;if(e&&n&&"object"==typeof e&&"object"==typeof n){var s,c,l,u=r(e),h=r(n);if(u&&h){if((c=e.length)!=n.length)return!1;for(s=c;0!=s--;)if(!t(e[s],n[s]))return!1;return!0}if(u!=h)return!1;var d=e instanceof Date,p=n instanceof Date;if(d!=p)return!1;if(d&&p)return e.getTime()==n.getTime();var f=e instanceof RegExp,g=n instanceof RegExp;if(f!=g)return!1;if(f&&g)return e.toString()==n.toString();var m=i(e);if((c=m.length)!==i(n).length)return!1;for(s=c;0!=s--;)if(!o.call(n,m[s]))return!1;if(a&&e instanceof Element&&n instanceof Element)return e===n;for(s=c;0!=s--;)if(!("_owner"===(l=m[s])&&e.$$typeof||t(e[l],n[l])))return!1;return!0}return e!=e&&n!=n}(t,e)}catch(t){if(t.message&&t.message.match(/stack|recursion/i)||-2146828260===t.number)return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.generateSourceToTarget=e.assertContextExists=void 0;var r=n(2);e.assertContextExists=function(t){if(!t)throw new Error("Could not find ArcherContainerContext in <ArcherElement>. Please wrap the component in a <ArcherContainer>.")},e.generateSourceToTarget=function(t,e){return e.map(function(e){var n=e.targetId,i=e.sourceAnchor,o=e.targetAnchor,a=e.label,s=e.className,c=e.style,l=e.order,u=void 0===l?0:l,h=e.domAttributes,d=e.curs
1or,p=e.hitSlop;return{source:{id:(0,r.encodeId)(t),anchor:i},target:{id:(0,r.encodeId)(n),anchor:o},className:s,label:a,style:c,order:u,domAttributes:h,cursor:d,hitSlop:p}})}},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t,e)||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.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var a=this&&this.__createBinding||(Object.create?function(t,e,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(e,n);i&&("get"in i?e.__esModule:!i.writable&&!i.configurable)||(i={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,r,i)}:function(t,e,n,r){void 0===r&&(r=n),t[r]=e[n]}),s=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),c=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)"default"!==n&&Object.prototype.hasOwnProperty.call(t,n)&&a(e,t,n);return s(e,t),e},l=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var u=c(n(0)),h=l(n(12)),d=n(1),p=n(14),f=n(4),g=n(19),m=n(20),y={position:"absolute",width:"100%",height:"100%",top:0,left:0,pointerEvents:"none"},v=u.default.forwardRef(function(t,e){var n=t.endShape,o=void 0===n?f.endShapeDefaultProp:n,a=t.strokeColor,s=void 0===a?"#f00":a,c=t.strokeWidth,l=void 0===c?2:c,v=t.svgContainerStyle,b=void 0===v?{}:v,C=t.noCurves,w=t.children,P=t.className,x=t.endMarker,I=t.lineStyle,_=t.offset,A=t.startMarker,S=t.strokeDasharray,k=t.style,D=i((0,u.useState)({}),2),T=D[0],M=D[1],E=i((0,u.useState)({}),2),O=E[0],j=E[1],L=(0,u.useRef)(new h.default(function(){F()})).current,B=(0,u.useRef)(null),R=i(u.default.useState(),2)[1],N=(0,u.useRef)("arrow".concat(Math.random().toString().slice(2))).current;(0,u.useImperativeHandle)(e,function(){return{refreshScreen:F,arrowMarkerUniquePrefix:N}});var z,F=u.default.useCallback(function(){return R({})},[]),W=(0,u.useCallback)(function(t,e){j(function(n){return Object.assign(Object.assign({},n),r({},t,e))})},[]),$=(0,u.useCallback)(function(t){j(function(e){var n=Object.assign({},e);return delete n[t],n})},[]),H=(0,u.useCallback)(function(t,e){M(function(n){return n[t]===e?n:Object.assign(Object.assign({},n),r({},t,e))})},[]),q=(0,u.useCallback)(function(t){M(function(e){var n=Object.assign({},e);return delete n[t],n})},[]),X=(0,u.useMemo)(function(){return Object.assign(Object.assign({},y),b)},[b]);z="function"==typeof w?w(d.ArcherContainerContext):w,(0,m.useResizeListener)(F),(0,m.useObserveElements)(T,L);var V=(0,u.useMemo)(function(){return{registerTransitions:W,unregisterTransitions:$,registerChild:H,unregisterChild:q}},[W,$,H,q]);return u.default.createElement(d.ArcherContainerContextProvider,{value:V},u.default.createElement("div",{style:Object.assign(Object.assign({},k),{position:"relative"}),className:P},u.default.createElement("svg",{style:X},u.default.createElement("defs",null,u.default.createElement(g.ArrowMarkers,{endShape:o,sourceToTargetsMap:O,strokeColor:s,uniqueId:N})),u.default.createElement(p.SvgArrows,{startMarker:A,endMarker:x,endShape:o,strokeColor:s,strokeWidth:l,strokeDasharray:S,noCurves:C,lineStyle:I,offset:_,parentCurrent:B.current,refs:T,uniqueId:N,sourceToTargetsMap:O})),u.default.createElement("div",{style:{height:"100%"},ref:B},z)))});e.default=v},function(t,e,n){"use strict";n.r(e),function(t){var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some(function(t,r){return t[0]===e&&(n=r,!0)}),n}return function(){function e(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n+=1){var i=r[n];t.call(e,i[1],i[0])}},Object.defineProperties(e.prototype,n),e}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),o="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},a=2,s=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,l=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;
1function s(){n&&(n=!1,t()),r&&l()}function c(){o(s)}function l(){var t=Date.now();if(n){if(t-i<a)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return l}(this.refresh.bind(this),20)};l.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},l.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},l.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},l.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),t.length>0},l.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},l.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},l.prototype.onTransitionEnd_=function(t){var e=t.propertyName;void 0===e&&(e=""),s.some(function(t){return!!~e.indexOf(t)})&&this.refresh()},l.getInstance=function(){return this.instance_||(this.instance_=new l),this.instance_},l.instance_=null;var u=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n+=1){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},h=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||i},d=v(0,0,0,0);function p(t){return parseFloat(t)||0}function f(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];return e.reduce(function(e,n){return e+p(t["border-"+n+"-width"])},0)}function g(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return d;var r=h(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n+=1){var i=r[n],o=t["padding-"+i];e[i]=p(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,s=p(r.width),c=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+o)!==e&&(s-=f(r,"left","right")+o),Math.round(c+a)!==n&&(c-=f(r,"top","bottom")+a)),!function(t){return t===h(t).document.documentElement}(t)){var l=Math.round(s+o)-e,u=Math.round(c+a)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(u)&&(c-=u)}return v(i.left,i.top,s,c)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof h(t).SVGGraphicsElement}:function(t){return t instanceof h(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return r?m(t)?function(t){var e=t.getBBox();return v(0,0,e.width,e.height)}(t):g(t):d}function v(t,e,n,r){return{x:t,y:e,width:n,height:r}}var b=function(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=v(0,0,0,0),this.target=t};b.prototype.isActive=function(){var t=y(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},b.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t};var C=function(t,e){var n=function(t){var e=t.x,n=t.y,r=t.width,i=t.height,o="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(o.prototype);return u(a,{x:e,y:n,width:r,height:i,top:n,right:e+r,bottom:i+n,left:e}),a}(e);u(this,{target:t,contentRect:n})},w=function(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r};w.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},w.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof h(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},w.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},w.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},w.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new C(t.target,t.broadcastRect())});this.callback_.call(t,e,t),this.clearActive()}},w.prototype.clearActive=function(){this.activeObservations_.splice(0)},w.prototype.hasActive=function(){return this.activeObservations_.length>0};var P="undefined"!=typeof WeakMap?new WeakMap:new n,x=function(t){if(!(this instanceof x))throw new TypeError("Cannot call a class as a function.");
1if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var e=l.getInstance(),n=new w(t,e,this);P.set(this,n)};["observe","unobserve","disconnect"].forEach(function(t){x.prototype[t]=function(){return(e=P.get(this))[t].apply(e,arguments);var e}});var I=void 0!==i.ResizeObserver?i.ResizeObserver:x;e.default=I}.call(this,n(13))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.SvgArrows=void 0;var i=r(n(0)),o=n(15),a=r(n(17)),s=n(3),c=function(t){var e,n,r=t.style||{},c=r.startMarker||t.startMarker,l=null===(n=null!==(e=r.endMarker)&&void 0!==e?e:t.endMarker)||void 0===n||n,u=(0,s.createShapeObj)(r,t.endShape),h=t.domAttributes,d=t.cursor,p=t.hitSlop,f=r.strokeColor||t.strokeColor,g=r.strokeWidth||t.strokeWidth,m=r.strokeDasharray||t.strokeDasharray,y=!(!r.noCurves&&!t.noCurves),v=r.lineStyle||t.lineStyle||(y?"angle":"curve"),b=t.offset||0,C=t.source.anchor,w=(0,o.getPointCoordinatesFromAnchorPosition)(t.source.anchor,t.source.id,t.parentCoordinates,t.refs),P=t.target.anchor,x=(0,o.getPointCoordinatesFromAnchorPosition)(t.target.anchor,t.target.id,t.parentCoordinates,t.refs);return w?x?i.default.createElement(a.default,{className:t.className,startingPoint:w,startingAnchorOrientation:C,endingPoint:x,endingAnchorOrientation:P,strokeColor:f,strokeWidth:g,strokeDasharray:m,arrowLabel:t.label,arrowMarkerId:(0,s.getMarkerId)(t.uniqueId,t.source,t.target),lineStyle:v,offset:b,enableStartMarker:!!c,disableEndMarker:!l,endShape:u,domAttributes:h,hitSlop:p,cursor:d}):(console.warn("[React Archer] Could not find target element! Not drawing the arrow."),null):(console.warn("[React Archer] Could not find starting point of element! Not drawing the arrow."),null)};e.SvgArrows=function(t){var e=(0,o.getPointFromElement)(t.parentCurrent);return e?i.default.createElement(i.default.Fragment,null,(0,s.getSourceToTargets)(t.sourceToTargetsMap).map(function(n){return i.default.createElement(c,{key:JSON.stringify({source:n.source,target:n.target}),source:n.source,target:n.target,className:n.className,label:n.label,style:n.style||{},domAttributes:n.domAttributes,hitSlop:n.hitSlop,cursor:n.cursor,startMarker:t.startMarker,endMarker:t.endMarker,endShape:t.endShape,strokeColor:t.strokeColor,strokeWidth:t.strokeWidth,strokeDasharray:t.strokeDasharray,noCurves:t.noCurves,lineStyle:t.lineStyle,offset:t.offset,parentCoordinates:e,refs:t.refs,uniqueId:t.uniqueId})})):null}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.getPointCoordinatesFromAnchorPosition=e.getPointFromElement=void 0;var i=r(n(16));function o(t){return new i.default(t.left,t.top)}var a=function(t){return t?t.getBoundingClientRect():null};e.getPointFromElement=function(t){var e=a(t);return e?o(e):null},e.getPointCoordinatesFromAnchorPosition=function(t,e,n,r){var s=a(r[e]);if(!s)return null;var c=function(t,e){switch(t){case"top":return o(e).add(new i.default(e.width/2,0));case"bottom":return o(e).add(new i.default(e.width/2,e.height));case"left":return o(e).add(new i.default(0,e.height/2));case"right":return o(e).add(new i.default(e.width,e.height/2));case"middle":return o(e).add(new i.default(e.width/2,e.height/2));default:return console.error("[React Archer] Invalid anchor position was provided. Not drawing the arrow."),null}}(t,s);return c?c.substract(n):null}},function(t,e,n){"use strict";function r(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.x=e,this.y=n}return function(t,e,n){e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1})}(t,[{key:"add",value:function(e){return new t(this.x+e.x,this.y+e.y)}},{key:"substract",value:function(e){return new t(this.x-e.x,this.y-e.y)}}]),t}();e.default=i},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};
1Object.defineProperty(e,"__esModule",{value:!0}),e.computeLabelDimensions=e.computeEndingAnchorPosition=e.computeStartingAnchorPosition=e.computeArrowPointAccordingToArrowHead=void 0;var i=r(n(0)),o=n(18);function a(t,e,n,r,i,a,s,c){var l=(0,o.computeArrowDirectionVector)(i),u=l.arrowX,h=l.arrowY;if("straight"===a&&void 0!==s&&void 0!==c){var d=Math.atan2(c-e,s-t);u=Math.cos(d),h=Math.sin(d)}return{xPoint:t+u*n*r/2,yPoint:e+h*n*r/2}}function s(t,e,n,r,i){return"top"===i||"bottom"===i?{xAnchor1:t,yAnchor1:e+(r-e)/2}:"left"===i||"right"===i?{xAnchor1:t+(n-t)/2,yAnchor1:e}:{xAnchor1:t,yAnchor1:e}}function c(t,e,n,r,i){return"top"===i||"bottom"===i?{xAnchor2:n,yAnchor2:r-(r-e)/2}:"left"===i||"right"===i?{xAnchor2:n-(n-t)/2,yAnchor2:r}:{xAnchor2:n,yAnchor2:r}}function l(t,e,n,r){return{xLabel:n>t?t:n,yLabel:r>e?e:r,labelWidth:Math.max(Math.abs(n-t),1),labelHeight:Math.max(Math.abs(r-e),1)}}e.computeArrowPointAccordingToArrowHead=a,e.computeStartingAnchorPosition=s,e.computeEndingAnchorPosition=c,e.computeLabelDimensions=l,e.default=function(t){var e=t.className,n=t.startingPoint,r=t.startingAnchorOrientation,o=t.endingPoint,u=t.endingAnchorOrientation,h=t.strokeColor,d=t.strokeWidth,p=t.strokeDasharray,f=t.arrowLabel,g=t.arrowMarkerId,m=t.lineStyle,y=t.offset,v=t.enableStartMarker,b=t.disableEndMarker,C=t.endShape,w=t.domAttributes,P=t.hitSlop,x=void 0===P?10:P,I=t.cursor,_=void 0===I?"pointer":I,A=C.circle?2*C.circle.radius:2*C.arrow.arrowLength,S=a(n.x,n.y,v?A:0,d,r,m,o.x,o.y),k=S.xPoint,D=S.yPoint,T=a(o.x,o.y,b?0:A,d,u,m,n.x,n.y),M=T.xPoint,E=T.yPoint,O=s(k,D,M,E,r),j=O.xAnchor1,L=O.yAnchor1,B=c(k,D,M,E,u),R=function(t){var e=t.xStart,n=t.yStart,r=t.xAnchor1,i=t.yAnchor1,o=t.xAnchor2,a=t.yAnchor2,s=t.xEnd,c=t.yEnd,l=t.lineStyle,u=t.offset;if(u&&0!==u){var h="straight"===l?Math.atan2(c-n,s-e):Math.atan2(i-n,r-e),d=u*Math.cos(h),p=u*Math.sin(h);"straight"!==l&&(e+=d,n+=p),s-=d,c-=p}var f="M".concat(e,",").concat(n," ");return["curve","angle"].includes(l)&&(f+="".concat("curve"===l?"C":"").concat(r,",").concat(i," ").concat(o,",").concat(a," ")),f+"".concat(s,",").concat(c)}({xStart:k,yStart:D,xAnchor1:j,yAnchor1:L,xAnchor2:B.xAnchor2,yAnchor2:B.yAnchor2,xEnd:M,yEnd:E,lineStyle:m,offset:y}),N=l(k,D,M,E),z=N.xLabel,F=N.yLabel,W=N.labelWidth,$=N.labelHeight,H="url(#".concat(g,")");return i.default.createElement("g",{className:e},i.default.createElement("path",{d:R,style:{fill:"none",stroke:h,strokeWidth:d,strokeDasharray:p},markerStart:v?H:void 0,markerEnd:b?void 0:H}),w&&i.default.createElement("path",Object.assign({d:R,style:{fill:"none",stroke:"rgba(0, 0, 0, 0)",strokeWidth:x,cursor:w?_:"initial",pointerEvents:"all"}},w)),f&&i.default.createElement("foreignObject",{x:z,y:F,width:W,height:$,style:{overflow:"visible",pointerEvents:"none"}},i.default.createElement("div",{style:{position:"absolute",left:"50%",top:"50%",transform:"translateX(-50%) translateY(-50%)",pointerEvents:"all"}},i.default.createElement("div",null,f))))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.computeArrowDirectionVector=void 0,e.computeArrowDirectionVector=function(t){switch(t){case"left":return{arrowX:-1,arrowY:0};case"right":return{arrowX:1,arrowY:0};case"top":return{arrowX:0,arrowY:-1};case"bottom":return{arrowX:0,arrowY:1};default:return{arrowX:0,arrowY:0}}}},function(t,e,n){"use strict";var r=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.ArrowMarkers=void 0;var i=r(n(0)),o=n(4),a=n(3),s=function(t,e){return function(){var n,r,a,s,c,l,u,h,d,p,f,g,m=(null===(r=null===(n=t.endShape)||void 0===n?void 0:n.circle)||void 0===r?void 0:r.radius)||(null===(a=e.circle)||void 0===a?void 0:a.radius)||o.endShapeDefaultProp.circle.radius,y=(null===(c=null===(s=t.endShape)||void 0===s?void 0:s.circle)||void 0===c?void 0:c.strokeWidth)||(null===(l=e.circle)||void 0===l?void 0:l.strokeWidth)||o.endShapeDefaultProp.circle.strokeWidth,v=(null===(h=null===(u=t.endShape)||void 0===u?void 0:u.circle)||void 0===h?void 0:h.strokeColor)||(null===(d=e.circle)||void 0===d?void 0:d.strokeColor)||o.endShapeDefaultProp.circle.strokeColor,b=(null===(f=null===(p=t.endShape)||void 0===p?void 0:p.circle)||void 0===f?void 0:f.fillColor)||(null===(g=e.circle)||void 0===g?void 0:g.fillColor)||o.endShapeDefaultProp.circle.fillColor;return{markerWidth:4*m,markerHeight:4*m,refX:2*m+y,refY:2*m,path:i.default.createElement("circle",{cx:2*m,cy:2*m,r:m,fill:b,stroke:v,strokeWidth:y})}}},c=function(t,e,n){return function(){var r,a,s,c,l,u,h,d,p=t.strokeColor||n,f=null!==(l=null!==(s=null===(a=null===(r=t.endShape)||void 0===r?void 0:r.arrow)||void 0===a?void 0:a.arrowLength)&&void 0!==s?s:null===(c=null==e?void 0:e.arrow)||void 0===c?void 0:c.arrowLength)&&void 0!==l?l:o.endShapeDefaultProp.arrow.arrowLength,g=(null===(h=null===(u=t.endShape)||void 0===u?void 0:u.arrow)||void 0===h?void 0:h.arrowThickness)||(null===(d=null==e?void 0:e.arrow)||void 0===d?void 0:d.arrowThickness)||o.endShapeDefaultProp.arrow.arrowThickness,m="M0,0 L0,".concat(g," L").concat(f,",").concat(g/2," z");return{markerWidth:f,markerHeight:g,refX:0,refY:g/2,path:i.default.createElement("path",{d:m,fill:p})}}};e.ArrowMarkers=function(t){var e=t.sourceToTargetsMap,n=t.endShape,r=t.strokeColor,o=t.uniqueId;return i.default.createElement(i.default.Fragment,null,(0,a.getSourceToTargets)(e).map(function(t){var e=t.source,l=t.target,u=t.style,h=function(t){var e=t.style,n=t.strokeColor,r=t.endShape,i=(0,a.getEndShapeFromStyle)(e);return{circle:s(e,r),arrow:c(e,r,n)}[i]()}({style:void 0===u?{}:u,endShape:n,strokeColor:r}),d=h.markerHeight,p=h.markerWidth,f=h.path,g=h.refX,m=h.refY;return i.default.createElement("marker",{id:(0,a.getMarkerId)(o,e,l),key:(0,a.getMarkerId)(o,e,l),markerWidth:p,markerHeight:d,refX:g,refY:m,orient:"auto-start-reverse",markerUnits:"strokeWidth"},f)}))}},function(t,e,n){"use strict";
1Object.defineProperty(e,"__esModule",{value:!0}),e.useResizeListener=e.useObserveElements=void 0;var r=n(0);e.useObserveElements=function(t,e){(0,r.useEffect)(function(){return Object.keys(t).map(function(n){e.observe(t[n])}),function(){Object.keys(t).map(function(n){e.unobserve(t[n])})}},[t,e])},e.useResizeListener=function(t){(0,r.useEffect)(function(){return window&&window.addEventListener("resize",t),function(){window&&window.removeEventListener("resize",t)}},[t])}}]))},17478:function(t,e,n){"use strict";n.d(e,{A:function(){return b}});var r=n(8789),i=n(9346),o=n(79474),a=n(13526),s=n(72552),c=n(82896),l=n(11607),u=n(22992),h=n(61131),d=n(24242),p=n(93722);function f(t){return(0,p.Ay)("MuiTab",t)}var g=(0,d.A)("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),m=n(13274);const y=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],v=(0,h.Ay)(c.A,{name:"MuiTab",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.label&&n.icon&&e.labelIcon,e[`textColor${(0,l.A)(n.textColor)}`],n.fullWidth&&e.fullWidth,n.wrapped&&e.wrapped]}})(({theme:t,ownerState:e})=>(0,i.A)({},t.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},e.label&&{flexDirection:"top"===e.iconPosition||"bottom"===e.iconPosition?"column":"row"},{lineHeight:1.25},e.icon&&e.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${g.iconWrapper}`]:(0,i.A)({},"top"===e.iconPosition&&{marginBottom:6},"bottom"===e.iconPosition&&{marginTop:6},"start"===e.iconPosition&&{marginRight:t.spacing(1)},"end"===e.iconPosition&&{marginLeft:t.spacing(1)})},"inherit"===e.textColor&&{color:"inherit",opacity:.6,[`&.${g.selected}`]:{opacity:1},[`&.${g.disabled}`]:{opacity:(t.vars||t).palette.action.disabledOpacity}},"primary"===e.textColor&&{color:(t.vars||t).palette.text.secondary,[`&.${g.selected}`]:{color:(t.vars||t).palette.primary.main},[`&.${g.disabled}`]:{color:(t.vars||t).palette.text.disabled}},"secondary"===e.textColor&&{color:(t.vars||t).palette.text.secondary,[`&.${g.selected}`]:{color:(t.vars||t).palette.secondary.main},[`&.${g.disabled}`]:{color:(t.vars||t).palette.text.disabled}},e.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},e.wrapped&&{fontSize:t.typography.pxToRem(12)}));var b=o.forwardRef(function(t,e){const n=(0,u.A)({props:t,name:"MuiTab"}),{className:c,disabled:h=!1,disableFocusRipple:d=!1,fullWidth:p,icon:g,iconPosition:b="top",indicator:C,label:w,onChange:P,onClick:x,onFocus:I,selected:_,selectionFollowsFocus:A,textColor:S="inherit",value:k,wrapped:D=!1}=n,T=(0,r.A)(n,y),M=(0,i.A)({},n,{disabled:h,disableFocusRipple:d,selected:_,icon:!!g,iconPosition:b,label:!!w,fullWidth:p,textColor:S,wrapped:D}),E=(t=>{const{classes:e,textColor:n,fullWidth:r,wrapped:i,icon:o,label:a,selected:c,disabled:u}=t,h={root:["root",o&&a&&"labelIcon",`textColor${(0,l.A)(n)}`,r&&"fullWidth",i&&"wrapped",c&&"selected",u&&"disabled"],iconWrapper:["iconWrapper"]};return(0,s.A)(h,f,e)})(M),O=g&&w&&o.isValidElement(g)?o.cloneElement(g,{className:(0,a.A)(E.iconWrapper,g.props.className)}):g;return(0,m.jsxs)(v,(0,i.A)({focusRipple:!d,className:(0,a.A)(E.root,c),ref:e,role:"tab","aria-selected":_,disabled:h,onClick:t=>{!_&&P&&P(t,k),x&&x(t)},onFocus:t=>{A&&!_&&P&&P(t,k),I&&I(t)},ownerState:M,tabIndex:_?0:-1},T,{children:["top"===b||"start"===b?(0,m.jsxs)(o.Fragment,{children:[O,w]}):(0,m.jsxs)(o.Fragment,{children:[w,O]}),C]}))})},17894:function(t,e,n){"use strict";n.d(e,{E:function(){return u}});var r=n(27455),i=n(65718),o=n(98068),a=n(79229),s=n(32414);function c(t,e){[...e].reverse().forEach(n=>{const r=t.getVariant(n);r&&(0,o.U)(t,r),t.variantChildren&&t.variantChildren.forEach(t=>{c(t,e)})})}function l(){let t=!1;const e=new Set,n={subscribe(t){return e.add(t),()=>{e.delete(t)}},start(n,r){(0,s.V)(t,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const i=[];return e.forEach(t=>{i.push((0,a._)(t,n,{transitionOverride:r}))}),Promise.all(i)},set(n){return(0,s.V)(t,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),e.forEach(t=>{!function(t,e){Array.isArray(e)?c(t,e):"string"==typeof e?c(t,[e]):(0,o.U)(t,e)}(t,n)})},stop(){e.forEach(t=>
1{!function(t){t.values.forEach(t=>t.stop())}(t)})},mount(){return t=!0,()=>{t=!1,n.stop()}}};return n}function u(){const t=(0,r.M)(l);return(0,i.E)(t.mount,[]),t}},25154:function(t,e,n){"use strict";n.d(e,{A:function(){return P}});var r=n(8789),i=n(9346),o=n(79474),a=n(13526),s=n(72552),c=n(11607),l=n(13076),u=n(84809),h=n(22241),d=n(61131),p=n(24242),f=n(93722);function g(t){return(0,f.Ay)("MuiInputAdornment",t)}var m,y=(0,p.A)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]),v=n(22992),b=n(13274);const C=["children","className","component","disablePointerEvents","disableTypography","position","variant"],w=(0,d.Ay)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,e[`position${(0,c.A)(n.position)}`],!0===n.disablePointerEvents&&e.disablePointerEvents,e[n.variant]]}})(({theme:t,ownerState:e})=>(0,i.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===e.variant&&{[`&.${y.positionStart}&:not(.${y.hiddenLabel})`]:{marginTop:16}},"start"===e.position&&{marginRight:8},"end"===e.position&&{marginLeft:8},!0===e.disablePointerEvents&&{pointerEvents:"none"}));var P=o.forwardRef(function(t,e){const n=(0,v.A)({props:t,name:"MuiInputAdornment"}),{children:d,className:p,component:f="div",disablePointerEvents:y=!1,disableTypography:P=!1,position:x,variant:I}=n,_=(0,r.A)(n,C),A=(0,h.A)()||{};let S=I;I&&A.variant,A&&!S&&(S=A.variant);const k=(0,i.A)({},n,{hiddenLabel:A.hiddenLabel,size:A.size,disablePointerEvents:y,position:x,variant:S}),D=(t=>{const{classes:e,disablePointerEvents:n,hiddenLabel:r,position:i,size:o,variant:a}=t,l={root:["root",n&&"disablePointerEvents",i&&`position${(0,c.A)(i)}`,a,r&&"hiddenLabel",o&&`size${(0,c.A)(o)}`]};return(0,s.A)(l,g,e)})(k);return(0,b.jsx)(u.A.Provider,{value:null,children:(0,b.jsx)(w,(0,i.A)({as:f,ownerState:k,className:(0,a.A)(D.root,p),ref:e},_,{children:"string"!=typeof d||P?(0,b.jsxs)(o.Fragment,{children:["start"===x?m||(m=(0,b.jsx)("span",{className:"notranslate",children:"â"})):null,d]}):(0,b.jsx)(l.A,{color:"text.secondary",children:d})}))})})},25911:function(t){"use strict";t.exports=JSON.parse('{"id":"pit","store":true,"index":[{"field":"id","boost":3},{"field":"title","tokenize":"forward","encoder":"LatinSoundex","boost":2},{"field":"description","tokenize":"forward","encoder":"LatinSoundex"}]}')},45913:function(t,e,n){"use strict";var r=n(28632);e.A=void 0;var i=r(n(44385)),o=n(13274),a=(0,i.default)((0,o.jsx)("path",{d:"M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"}),"Home");e.A=a},54342:function(t,e,n){"use strict";n.d(e,{A:function(){return V}});var r=n(8789),i=n(9346),o=n(79474),a=(n(84276),n(13526)),s=n(72552),c=n(97287),l=n(61131),u=n(22992),h=n(19044),d=n(61426);let p;function f(){if(p)return p;const t=document.createElement("div"),e=document.createElement("div");return e.style.width="10px",e.style.height="1px",t.appendChild(e),t.dir="rtl",t.style.fontSize="14px",t.style.width="4px",t.style.height="1px",t.style.position="absolute",t.style.top="-1000px",t.style.overflow="scroll",document.body.appendChild(t),p="reverse",t.scrollLeft>0?p="default":(t.scrollLeft=1,0===t.scrollLeft&&(p="negative")),document.body.removeChild(t),p}function g(t,e){const n=t.scrollLeft;if("rtl"!==e)return n;switch(f()){case"negative":return t.scrollWidth-t.clientWidth+n;case"reverse":return t.scrollWidth-t.clientWidth-n;default:return n}}function m(t){return(1+Math.sin(Math.PI*t-Math.PI/2))/2}var y=n(22889),v=n(89706),b=n(13274);const C=["onChange"],w={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};var P=n(59776),x=n(97987),I=n(82896),_=n(24242),A=n(93722);function S(t){return(0,A.Ay)("MuiTabScrollButton",t)}var k=(0,_.A)("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);const D=["className","slots","slotProps","direction","orientation","disabled"],T=(0,l.Ay)(I.A,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.root,n.orientation&&e[n.orientation]]}})(({ownerState:t})=>(0,i.A)({width:40,flexShrink:0,opacity:.8,[`&.${k.disabled}`]:{opacity:0}
1},"vertical"===t.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${t.isRtl?-90:90}deg)`}}));var M=o.forwardRef(function(t,e){var n,o;const l=(0,u.A)({props:t,name:"MuiTabScrollButton"}),{className:d,slots:p={},slotProps:f={},direction:g}=l,m=(0,r.A)(l,D),y="rtl"===(0,h.A)().direction,v=(0,i.A)({isRtl:y},l),C=(t=>{const{classes:e,orientation:n,disabled:r}=t,i={root:["root",n,r&&"disabled"]};return(0,s.A)(i,S,e)})(v),w=null!=(n=p.StartScrollButtonIcon)?n:P.A,I=null!=(o=p.EndScrollButtonIcon)?o:x.A,_=(0,c.Q)({elementType:w,externalSlotProps:f.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:v}),A=(0,c.Q)({elementType:I,externalSlotProps:f.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:v});return(0,b.jsx)(T,(0,i.A)({component:"div",className:(0,a.A)(C.root,d),ref:e,role:null,ownerState:v,tabIndex:null},m,{children:"left"===g?(0,b.jsx)(w,(0,i.A)({},_)):(0,b.jsx)(I,(0,i.A)({},A))}))}),E=n(83467);function O(t){return(0,A.Ay)("MuiTabs",t)}var j=(0,_.A)("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","
1indicator"]),L=n(70087);const B=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],R=(t,e)=>t===e?t.firstChild:e&&e.nextElementSibling?e.nextElementSibling:t.firstChild,N=(t,e)=>t===e?t.lastChild:e&&e.previousElementSibling?e.previousElementSibling:t.lastChild,z=(t,e,n)=>{let r=!1,i=n(t,e);for(;i;){if(i===t.firstChild){if(r)return;r=!0}const e=i.disabled||"true"===i.getAttribute("aria-disabled");if(i.hasAttribute("tabindex")&&!e)return void i.focus();i=n(t,i)}},F=(0,l.Ay)("div",{name:"MuiTabs",slot:"Root",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[{[`& .${j.scrollButtons}`]:e.scrollButtons},{[`& .${j.scrollButtons}`]:n.scrollButtonsHideMobile&&e.scrollButtonsHideMobile},e.root,n.vertical&&e.vertical]}})(({ownerState:t,theme:e})=>(0,i.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},t.vertical&&{flexDirection:"column"},t.scrollButtonsHideMobile&&{[`& .${j.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}})),W=(0,l.Ay)("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.scroller,n.fixed&&e.fixed,n.hideScrollbar&&e.hideScrollbar,n.scrollableX&&e.scrollableX,n.scrollableY&&e.scrollableY]}})(({ownerState:t})=>(0,i.A)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},t.fixed&&{overflowX:"hidden",width:"100%"},t.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},t.scrollableX&&{overflowX:"auto",overflowY:"hidden"},t.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),$=(0,l.Ay)("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(t,e)=>{const{ownerState:n}=t;return[e.flexContainer,n.vertical&&e.flexContainerVertical,n.centered&&e.centered]}})(({ownerState:t})=>(0,i.A)({display:"flex"},t.vertical&&{flexDirection:"column"},t.centered&&{justifyContent:"center"})),H=(0,l.Ay)("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(t,e)=>e.indicator})(({ownerState:t,theme:e})=>(0,i.A)({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},"primary"===t.indicatorColor&&{backgroundColor:(e.vars||e).palette.primary.main},"secondary"===t.indicatorColor&&{backgroundColor:(e.vars||e).palette.secondary.main},t.vertical&&{height:"100%",width:2,right:0})),q=(0,l.Ay)(function(t){const{onChange:e}=t,n=(0,r.A)(t,C),a=o.useRef(),s=o.useRef(null),c=()=>{a.current=s.current.offsetHeight-s.current.clientHeight};return(0,y.A)(()=>{const t=(0,d.A)(()=>{const t=a.current;c(),t!==a.current&&e(a.current)}),n=(0,v.A)(s.current);return n.addEventListener("resize",t),()=>{t.clear(),n.removeEventListener("resize",t)}},[e]),o.useEffect(()=>{c(),e(a.current)},[e]),(0,b.jsx)("div",(0,i.A)({style:w,ref:s},n))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),X={};var V=o.forwardRef(function(t,e){const n=(0,u.A)({props:t,name:"MuiTabs"}),l=(0,h.A)(),p="rtl"===l.direction,{"aria-label":y,"aria-labelledby":C,action:w,centered:P=!1,children:x,className:I,component:_="div",allowScrollButtonsMobile:A=!1,indicatorColor:S="primary",onChange:k,orientation:D="horizontal",ScrollButtonComponent:T=M,scrollButtons:j="auto",selectionFollowsFocus:V,slots:U={},slotProps:Y={},TabIndicatorProps:G={},TabScrollButtonProps:J={},textColor:K="primary",value:Q,variant:Z="standard",visibleScrollbar:tt=!1}=n,et=(0,r.A)(n,B),nt="scrollable"===Z,rt="vertical"===D,it=rt?"scrollTop":"scrollLeft",ot=rt?"top":"left",at=rt?"bottom":"right",st=rt?"clientHeight":"clientWidth",ct=rt?"height":"width",lt=(0,i.A)({},n,{component:_,allowScrollButtonsMobile:A,indicatorColor:S,orientation:D,vertical:rt,scrollButtons:j,textColor:K,variant:Z,visibleScrollbar:tt,fixed:!nt,hideScrollbar:nt&&!tt,scrollableX:nt&&!rt,scrollableY:nt&&rt,centered:P&&!nt,scrollButtonsHideMobile:!A}),ut=(t=>{const{vertical:e,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:o,centered:a,scrollButtonsHideMobile:c,classes:l}=t,u={root:["root",e&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hide
1Scrollbar",i&&"scrollableX",o&&"scrollableY"],flexContainer:["flexContainer",e&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",c&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]};return(0,s.A)(u,O,l)})(lt),ht=(0,c.Q)({elementType:U.StartScrollButtonIcon,externalSlotProps:Y.startScrollButtonIcon,ownerState:lt}),dt=(0,c.Q)({elementType:U.EndScrollButtonIcon,externalSlotProps:Y.endScrollButtonIcon,ownerState:lt});const[pt,ft]=o.useState(!1),[gt,mt]=o.useState(X),[yt,vt]=o.useState(!1),[bt,Ct]=o.useState(!1),[wt,Pt]=o.useState(!1),[xt,It]=o.useState({overflow:"hidden",scrollbarWidth:0}),_t=new Map,At=o.useRef(null),St=o.useRef(null),kt=()=>{const t=At.current;let e,n;if(t){const n=t.getBoundingClientRect();e={clientWidth:t.clientWidth,scrollLeft:t.scrollLeft,scrollTop:t.scrollTop,scrollLeftNormalized:g(t,l.direction),scrollWidth:t.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(t&&!1!==Q){const t=St.current.children;if(t.length>0){const e=t[_t.get(Q)];0,n=e?e.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:n}},Dt=(0,E.A)(()=>{const{tabsMeta:t,tabMeta:e}=kt();let n,r=0;if(rt)n="top",e&&t&&(r=e.top-t.top+t.scrollTop);else if(n=p?"right":"left",e&&t){const i=p?t.scrollLeftNormalized+t.clientWidth-t.scrollWidth:t.scrollLeft;r=(p?-1:1)*(e[n]-t[n]+i)}const i={[n]:r,[ct]:e?e[ct]:0};if(isNaN(gt[n])||isNaN(gt[ct]))mt(i);else{const t=Math.abs(gt[n]-i[n]),e=Math.abs(gt[ct]-i[ct]);(t>=1||e>=1)&&mt(i)}}),Tt=(t,{animation:e=!0}={})=>{e?function(t,e,n,r={},i=()=>{}){const{ease:o=m,duration:a=300}=r;let s=null;const c=e[t];let l=!1;const u=()=>{l=!0},h=r=>{if(l)return void i(new Error("Animation cancelled"));null===s&&(s=r);const u=Math.min(1,(r-s)/a);e[t]=o(u)*(n-c)+c,u>=1?requestAnimationFrame(()=>{i(null)}):requestAnimationFrame(h)};c===n?i(new Error("Element already at target position")):requestAnimationFrame(h)}(it,At.current,t,{duration:l.transitions.duration.standard}):At.current[it]=t},Mt=t=>{let e=At.current[it];rt?e+=t:(e+=t*(p?-1:1),e*=p&&"reverse"===f()?-1:1),Tt(e)},Et=()=>{const t=At.current[st];let e=0;const n=Array.from(St.current.children);for(let r=0;r<n.length;r+=1){const i=n[r];if(e+i[st]>t){0===r&&(e=t);break}e+=i[st]}return e},Ot=()=>{Mt(-1*Et())},jt=()=>{Mt(Et())},Lt=o.useCallback(t=>{It({overflow:null,scrollbarWidth:t})},[]),Bt=(0,E.A)(t=>{const{tabsMeta:e,tabMeta:n}=kt();if(n&&e)if(n[ot]<e[ot]){const r=e[it]+(n[ot]-e[ot]);Tt(r,{animation:t})}else if(n[at]>e[at]){const r=e[it]+(n[at]-e[at]);Tt(r,{animation:t})}}),Rt=(0,E.A)(()=>{nt&&!1!==j&&Pt(!wt)});o.useEffect(()=>{const t=(0,d.A)(()=>{At.current&&Dt()});let e;const n=n=>{n.forEach(t=>{t.removedNodes.forEach(t=>{var n;null==(n=e)||n.unobserve(t)}),t.addedNodes.forEach(t=>{var n;null==(n=e)||n.observe(t)})}),t(),Rt()},r=(0,v.A)(At.current);let i;return r.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(t),Array.from(St.current.children).forEach(t=>{e.observe(t)})),"undefined"!=typeof MutationObserver&&(i=new MutationObserver(n),i.observe(St.current,{childList:!0})),()=>{var n,o;t.clear(),r.removeEventListener("resize",t),null==(n=i)||n.disconnect(),null==(o=e)||o.disconnect()}},[Dt,Rt]),o.useEffect(()=>{const t=Array.from(St.current.children),e=t.length;if("undefined"!=typeof IntersectionObserver&&e>0&&nt&&!1!==j){const n=t[0],r=t[e-1],i={root:At.current,threshold:.99},o=new IntersectionObserver(t=>{vt(!t[0].isIntersecting)},i);o.observe(n);const a=new IntersectionObserver(t=>{Ct(!t[0].isIntersecting)},i);return a.observe(r),()=>{o.disconnect(),a.disconnect()}}},[nt,j,wt,null==x?void 0:x.length]),o.useEffect(()=>{ft(!0)},[]),o.useEffect(()=>{Dt()}),o.useEffect(()=>{Bt(X!==gt)},[Bt,gt]),o.useImperativeHandle(w,()=>({updateIndicator:Dt,updateScrollButtons:Rt}),[Dt,Rt]);const Nt=(0,b.jsx)(H,(0,i.A)({},G,{className:(0,a.A)(ut.indicator,G.className),ownerState:lt,style:(0,i.A)({},gt,G.style)}));let zt=0;const Ft=o.Children.map(x,t=>{if(!o.isValidElement(t))return null;const e=void 0===t.props.value?zt:t.props.value;_t.set(e,zt);const n=e===Q;return zt+=1,o.cloneElement(t,(0,i.A)({fullWidth:"fullWidth"===Z,indicator:n&&!pt&&Nt,selected:n,selectionFollowsFocus:V,onChange:k,textColor:K,value:e},1!==zt||!1!==Q||t.props.tabIndex?{}:{tabIndex:0}))}),Wt=(()=>{const t={};t.scrollbarSizeListener=nt?(0,b.jsx)(q,{onChange:Lt,className:(0,a.A)(ut.scrollableX,ut.hideScrollbar)}):null;const e=nt&&("auto"===j&&(yt||bt)||!0===j);return t.scrollButtonStart=e?(0,b.jsx)(T,(0,i.A)({slots:{StartScrollButtonIcon:U.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:ht},orientation:D,direction:p?"right":"left",onClick:Ot,disabled:!yt},J,{className:(0,a.A)(ut.scrollButtons,J.className)})):null,t.scrollButtonEnd=e?(0,b.jsx)(T,(0,i.A)({slots:{EndScrollButtonIcon:U.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:dt},orientation:D,direction:p?"left":"right",onClick:jt,disabled:!bt},J,{className:(0,a.A)(ut.scrollButtons,J.className)})):null,t})();return(0,b.jsxs)(F,(0,i.A)({className:(0,a.A)(ut.root,I),ownerState:lt,ref:e,as:_},et,{children:[Wt.scrollButtonStart,Wt.scrollbarSizeListener,(0,b.jsxs)(W,{className:ut.scroller,ownerState:lt,style:{overflow:xt.overflow,[rt?"margin"+(p?"Left":"Right"):"marginBottom"]:tt?void 0:-xt.scrollbarWidth},ref:At,children:[(0,b.jsx)($,{"aria-label":y,"aria-labelledby":C,"aria-orientation":"vertical"===D?"vertical":null,className:ut.flexContainer,ownerState:lt,onKeyDown:t=>{const e=St.current,n=(0,L.A)(e).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===D?"ArrowLeft":"ArrowUp",i="horizontal"===D?"ArrowRight":"ArrowDown";switch("horizontal"===D&&p&&(r="ArrowRight",i="ArrowLeft"),t.key){case r:t.preventDefault(),z(e,n,N);break;case i:t.preventDefault(),z(e,n,R);break;case"Home":t.preventDefault(),z(e,null,R);break;case"End":t.preventDefault(),z(e,null,N)}},ref:St,role:"tablist",children:Ft}),pt&&Nt]}),Wt.scrollButtonEnd]}))})},55058:function(t,e,n){"use strict";var r=n(28632);e.A=void 0;var i=r(n(44385)),o=n(13274),a=(0,i.default)((0,o.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 19l-4.99-5zm-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 14z"}),"Search");e.A=a},55845:function(t,e,n){"use strict";var r=n(28632);e.A=void 0;var i=r(n(44385)),o=n(13274),a=(0,i.default)((0,o.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-2zM7.5 18c-.83 0-1.5-.67-1.5-1.5S6.67 15 7.5 15s1.5.67 1.5 1.5S8.33 18 7.5 18zm0-9C6.67 9 6 8.33 6 7.5S6.67 6 7.5 6 9 6.67 9 7.5 8.33 9 7.5 9zm4.5 4.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.5zm4.5 4.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.5zm0-9c-.83 0-1.5-.67-1.5-1.5S15.67 6 16.5 6s1.5.67 1.5 1.5S17.33 9 16.5 9z"}),"Casino");e.A=a},57608:function(t,e,n){"use strict";var r;function i(t,e,n){const r=typeof n,i=typeof t;if("undefined"!==r){if("undefined"!==i){if(n){if("function"===i&&r===i)return function(e){return t(n(e))};if((e=t.constructor)===n.constructor){if(e===Array)return n.concat(t);if(e===Map){var o=new Map(n);for(var a of t)o.set(a[0],a[1]);return o}
1if(e===Set){for(o of(a=new Set(n),t.values()))a.add(o);return a}}}return t}return n}return"undefined"===i?e:t}function o(t,e){return void 0===t?e:t}function a(){return Object.create(null)}function s(t){return"string"==typeof t}function c(t){return"object"==typeof t}function l(t,e){if(s(e))t=t[e];else for(let n=0;t&&n<e.length;n++)t=t[e[n]];return t}n.d(e,{yo:function(){return Lt}});const u=/[^\p{L}\p{N}]+/u,h=/(\d{3})/g,d=/(\D)(\d{3})/g,p=/(\d{3})(\D)/g,f=/[\u0300-\u036f]/g;function g(t={}){if(!this||this.constructor!==g)return new g(...arguments);if(arguments.length)for(t=0;t<arguments.length;t++)this.assign(arguments[t]);else this.assign(t)}function m(t){t.F=null,t.B.clear(),t.D.clear()}function y(t,e,n){n||(e||"object"!=typeof t?"object"==typeof e&&(n=e,e=0):n=t),n&&(t=n.query||t,e=n.limit||e);let r=""+(e||0);n&&(r+=(n.offset||0)+!!n.context+!!n.suggest+(!1!==n.resolve)+(n.resolution||this.resolution)+(n.boost||0)),t=(""+t).toLowerCase(),this.cache||(this.cache=new v);let i=this.cache.get(t+r);if(!i){const o=n&&n.cache;o&&(n.cache=!1),i=this.search(t,e,n),o&&(n.cache=o),this.cache.set(t+r,i)}return i}function v(t){this.limit=t&&!0!==t?t:1e3,this.cache=new Map,this.h=""}(r=g.prototype).assign=function(t){this.normalize=i(t.normalize,!0,this.normalize);let e,n=t.include,r=n||t.exclude||t.split;if(r||""===r){if("object"==typeof r&&r.constructor!==RegExp){let t="";e=!n,n||(t+="\\p{Z}"),r.letter&&(t+="\\p{L}"),r.number&&(t+="\\p{N}",e=!!n),r.symbol&&(t+="\\p{S}"),r.punctuation&&(t+="\\p{P}"),r.control&&(t+="\\p{C}"),(r=r.char)&&(t+="object"==typeof r?r.join(""):r);try{this.split=new RegExp("["+(n?"^":"")+t+"]+","u")}catch(o){this.split=/\s+/}}else this.split=r,e=!1===r||"a1a".split(r).length<2;this.numeric=i(t.numeric,e)}else{try{this.split=i(this.split,u)}catch(a){this.split=/\s+/}this.numeric=i(t.numeric,i(this.numeric,!0))}if(this.prepare=i(t.prepare,null,this.prepare),this.finalize=i(t.finalize,null,this.finalize),r=t.filter,this.filter="function"==typeof r?r:i(r&&new Set(r),null,this.filter),this.dedupe=i(t.dedupe,!0,this.dedupe),this.matcher=i((r=t.matcher)&&new Map(r),null,this.matcher),this.mapper=i((r=t.mapper)&&new Map(r),null,this.mapper),this.stemmer=i((r=t.stemmer)&&new Map(r),null,this.stemmer),this.replacer=i(t.replacer,null,this.replacer),this.minlength=i(t.minlength,1,this.minlength),this.maxlength=i(t.maxlength,1024,this.maxlength),this.rtl=i(t.rtl,!1,this.rtl),(this.cache=r=i(t.cache,!0,this.cache))&&(this.F=null,this.L="number"==typeof r?r:2e5,this.B=new Map,this.D=new Map,this.I=this.H=128),this.h="",this.J=null,this.A="",this.K=null,this.matcher)for(const i of this.matcher.keys())this.h+=(this.h?"|":"")+i;
1if(this.stemmer)for(const i of this.stemmer.keys())this.A+=(this.A?"|":"")+i;return this},r.addStemmer=function(t,e){return this.stemmer||(this.stemmer=new Map),this.stemmer.set(t,e),this.A+=(this.A?"|":"")+t,this.K=null,this.cache&&m(this),this},r.addFilter=function(t){return"function"==typeof t?this.filter=t:(this.filter||(this.filter=new Set),this.filter.add(t)),this.cache&&m(this),this},r.addMapper=function(t,e){return"object"==typeof t?this.addReplacer(t,e):t.length>1?this.addMatcher(t,e):(this.mapper||(this.mapper=new Map),this.mapper.set(t,e),this.cache&&m(this),this)},r.addMatcher=function(t,e){return"object"==typeof t?this.addReplacer(t,e):t.length<2&&(this.dedupe||this.mapper)?this.addMapper(t,e):(this.matcher||(this.matcher=new Map),this.matcher.set(t,e),this.h+=(this.h?"|":"")+t,this.J=null,this.cache&&m(this),this)},r.addReplacer=function(t,e){return"string"==typeof t?this.addMatcher(t,e):(this.replacer||(this.replacer=[]),this.replacer.push(t,e),this.cache&&m(this),this)},r.encode=function(t,e){if(this.cache&&t.length<=this.H)if(this.F){if(this.B.has(t))return this.B.get(t)}else this.F=setTimeout(m,50,this);this.normalize&&(t="function"==typeof this.normalize?this.normalize(t):f?t.normalize("NFKD").replace(f,"").toLowerCase():t.toLowerCase()),this.prepare&&(t=this.prepare(t)),this.numeric&&t.length>3&&(t=t.replace(d,"$1 $2").replace(p,"$1 $2").replace(h,"$1 "));const n=!(this.dedupe||this.mapper||this.filter||this.matcher||this.stemmer||this.replacer);let r,i,o=[],s=a(),c=this.split||""===this.split?t.split(this.split):[t];for(let a,u,h=0;h<c.length;h++)if((a=u=c[h])&&!(a.length<this.minlength||a.length>this.maxlength)){if(e){if(s[a])continue;s[a]=1}else{if(r===a)continue;r=a}if(n)o.push(a);else if(!this.filter||("function"==typeof this.filter?this.filter(a):!this.filter.has(a))){if(this.cache&&a.length<=this.I)if(this.F){var l=this.D.get(a);if(l||""===l){l&&o.push(l);continue}}else this.F=setTimeout(m,50,this);if(this.stemmer){let t;for(this.K||(this.K=new RegExp("(?!^)("+this.A+")$"));t!==a&&a.length>2;)t=a,a=a.replace(this.K,t=>this.stemmer.get(t))}if(a&&(this.mapper||this.dedupe&&a.length>1)){l="";for(let t,e,n=0,r="";n<a.length;n++)t=a.charAt(n),t===r&&this.dedupe||((e=this.mapper&&this.mapper.get(t))||""===e?e===r&&this.dedupe||!(r=e)||(l+=e):l+=r=t);a=l}if(this.matcher&&a.length>1&&(this.J||(this.J=new RegExp("("+this.h+")","g")),a=a.replace(this.J,t=>this.matcher.get(t))),a&&this.replacer)for(l=0;a&&l<this.replacer.length;l+=2)a=a.replace(this.replacer[l],this.replacer[l+1]);if(this.cache&&u.length<=this.I&&(this.D.set(u,a),this.D.size>this.L&&(this.D.clear(),this.I=this.I/1.1|0)),a){if(a!==u)if(e){if(s[a])continue;s[a]=1}else{if(i===a)continue;i=a}o.push(a)}}}return this.finalize&&(o=this.finalize(o)||o),this.cache&&t.length<=this.H&&(this.B.set(t,o),this.B.size>this.L&&(this.B.clear(),this.H=this.H/1.1|0)),o},v.prototype.set=function(t,e){this.cache.set(this.h=t,e),this.cache.size>this.limit&&this.cache.delete(this.cache.keys().next().value)},v.prototype.get=function(t){const e=this.cache.get(t);return e&&this.h!==t&&(this.cache.delete(t),this.cache.set(this.h=t,e)),e},v.prototype.remove=function(t){for(const e of this.cache){const n=e[0];e[1].includes(t)&&this.cache.delete(n)}},v.prototype.clear=function(){this.cache.clear(),this.h=""};const b={normalize:!1,numeric:!1,dedupe:!1},C={},w=new Map([["b","p"],["v","f"],["w","f"],["z","s"],["x","s"],["d","t"],["n","m"],["c","k"],["g","k"],["j","k"],["q","k"],["i","e"],["y","e"],["u","o"]]),P=new Map([["ae","a"],["oe","o"],["sh","s"],["kh","k"],["th","t"],["ph","f"],["pf","f"]]),x=[/([^aeo])h(.)/g,"$1$2",/([aeo])h([^aeo]|$)/g,"$1$2",/(.)\1+/g,"$1"],I={a:"",e:"",i:"",o:"",u:"",y:"",b:1,f:1,p:1,v:1,c:2,g:2,j:2,k:2,q:2,s:2,x:2,z:2,"Ã":2,d:3,t:3,l:4,m:5,n:5,r:6};var _={Exact:b,Default:C,Normalize:C,LatinBalance:{mapper:w},LatinAdvanced:{mapper:w,matcher:P,replacer:x},LatinExtra:{mapper:w,replacer:x.concat([/(?!^)[aeo]/g,""]),matcher:P},LatinSoundex:{dedupe:!1,include:{letter:!0},finalize:function(t){for(let n=0;n<t.length;n++){var e=t[n];let r=e.charAt(0),i=I[r];for(let t,n=1;n<e.length&&(t=e.charAt(n),"h"===t||"w"===t||!(t=I[t])||t===i||(r+=t,i=t,4!==r.length));n++);t[n]=r}}},CJK:{split:""},LatinExact:b,LatinDefault:C,LatinSimple:C};function A(t,e,n,r){let i=[];for(let o,a=0;a<t.index.length;
1a++)if(o=t.index[a],e>=o.length)e-=o.length;else{const a=(e=o[r?"splice":"slice"](e,n)).length;if(a&&(i=i.length?i.concat(e):e,n-=a,r&&(t.length-=a),!n))break;e=0}return i}function S(t){if(!this||this.constructor!==S)return new S(t);this.index=t?[t]:[],this.length=t?t.length:0;const e=this;return new Proxy([],{get(t,n){return"length"===n?e.length:"push"===n?function(t){e.index[e.index.length-1].push(t),e.length++}:"pop"===n?function(){if(e.length)return e.length--,e.index[e.index.length-1].pop()}:"indexOf"===n?function(t){let n=0;for(let r,i,o=0;o<e.index.length;o++){if(r=e.index[o],i=r.indexOf(t),i>=0)return n+i;n+=r.length}return-1}:"includes"===n?function(t){for(let n=0;n<e.index.length;n++)if(e.index[n].includes(t))return!0;return!1}:"slice"===n?function(t,n){return A(e,t||0,n||e.length,!1)}:"splice"===n?function(t,n){return A(e,t||0,n||e.length,!0)}:"constructor"===n?Array:"symbol"!=typeof n?(t=e.index[n/2**31|0])&&t[n]:void 0},set(t,n,r){return t=n/2**31|0,(e.index[t]||(e.index[t]=[]))[n]=r,e.length++,!0}})}function k(t=8){if(!this||this.constructor!==k)return new k(t);this.index=a(),this.h=[],this.size=0,t>32?(this.B=M,this.A=BigInt(t)):(this.B=T,this.A=t)}function D(t=8){if(!this||this.constructor!==D)return new D(t);this.index=a(),this.h=[],this.size=0,t>32?(this.B=M,this.A=BigInt(t)):(this.B=T,this.A=t)}function T(t){let e=2**this.A-1;if("number"==typeof t)return t&e;let n=0,r=this.A+1;for(let i=0;i<t.length;i++)n=(n*r^t.charCodeAt(i))&e;return 32===this.A?n+2**31:n}function M(t){let e=BigInt(2)**this.A-BigInt(1);var n=typeof t;if("bigint"===n)return t&e;if("number"===n)return BigInt(t)&e;n=BigInt(0);let r=this.A+BigInt(1);for(let i=0;i<t.length;i++)n=(n*r^BigInt(t.charCodeAt(i)))&e;return n}let E,O,j,L,B;async function R(t){var e=(t=t.data).task;const n=t.id;let r=t.args;if("init"===e)O=t.options||{},(e=t.factory)?(Function("return "+e)()(self),E=new self.FlexSearch.Index(O),delete self.FlexSearch):E=new St(O),postMessage({id:n});else{let i;"export"===e&&(r[1]?(r[0]=O.export,r[2]=0,r[3]=1):r=null),"import"===e?r[0]&&(t=await O.import.call(E,r[0]),E.import(r[0],t)):((i=r&&E[e].apply(E,r))&&i.then&&(i=await i),i&&i.await&&(i=await i.await),"search"===e&&i.result&&(i=i.result)),postMessage("search"===e?{id:n,msg:i}:{id:n})}}function N(t){F.call(t,"add"),F.call(t,"append"),F.call(t,"search"),F.call(t,"update"),F.call(t,"remove"),F.call(t,"searchCache")}function z(){j=B=0}function F(t){this[t+"Async"]=function(){const e=arguments;var n=e[e.length-1];let r;if("function"==typeof n&&(r=n,delete e[e.length-1]),j?B||(B=Date.now()-L>=this.priority*this.priority*3):(j=setTimeout(z,0),L=Date.now()),B){const n=this;return new Promise(r=>{setTimeout(function(){r(n[t+"Async"].apply(n,e))},0)})}const i=this[t].apply(this,e);return n=i.then?i:new Promise(t=>t(i)),r&&n.then(r),n}}S.prototype.clear=function(){this.index.length=0},S.prototype.push=function(){},k.prototype.get=function(t){const e=this.index[this.B(t)];return e&&e.get(t)},k.prototype.set=function(t,e){var n=this.B(t);let r=this.index[n];r?(n=r.size,r.set(t,e),(n-=r.size)&&this.size++):(this.index[n]=r=new Map([[t,e]]),this.h.push(r),this.size++)},D.prototype.add=function(t){var e=this.B(t);let n=this.index[e];n?(e=n.size,n.add(t),(e-=n.size)&&this.size++):(this.index[e]=n=new Set([t]),this.h.push(n),this.size++)},(r=k.prototype).has=D.prototype.has=function(t){const e=this.index[this.B(t)];return e&&e.has(t)},r.delete=D.prototype.delete=function(t){const e=this.index[this.B(t)];e&&e.delete(t)&&this.size--},r.clear=D.prototype.clear=function(){this.index=a(),this.h=[],this.size=0},r.values=D.prototype.values=function*(){for(let t=0;t<this.h.length;t++)for(let e of this.h[t].values())yield e},r.keys=D.prototype.keys=function*(){for(let t=0;t<this.h.length;t++)for(let e of this.h[t].keys())yield e},r.entries=D.prototype.entries=function*(){for(let t=0;t<this.h.length;t++)for(let e of this.h[t].entries())yield e};let W=0;function $(t={},e){function r(n){function r(t){const e=(t=t.data||t).id,n=e&&s.h[e];n&&(n(t.msg),delete s.h[e])}if(this.worker=n,this.h=a(),this.worker)return o?this.worker.on("message",r):this.worker.onmessage=r,t.config?new Promise(function(e){W>1e9&&(W=0),s.h[++W]=function(){e(s)},s.worker.postMessage({id:W,task:"init",factory:i,options:t})}):(this.priority=t.priority||4,this.encoder=e||null,this.worker.postMessage({task:"init",factory:i,options:t}),this)}if(!this||this.constructor!==$)return new $(t);let i="undefined"!=typeof self?self._factory:"undefined"!=typeof window?window._factory:null;i&&(i=i.toString());const o="undefined"==typeof window,s=this,c=function(t,e,r){return e?new(n(59691).Worker)("//worker/node.js"):t?new window.Worker(URL.createObjectURL(new Blob(["onmessage="+R.toString()],{t
1ype:"text/javascript"}))):new window.Worker("string"==typeof r?r:"file:///builds/pangeacyber/pangea/platform/marketing/node_modules/.pnpm/[email protected]/node_modules/flexsearch/dist/flexsearch.bundle.module.min.js".replace("/worker.js","/worker/worker.js").replace("flexsearch.bundle.module.min.js","module/worker/worker.js"),{type:"module"})}(i,o,t.worker);return c.then?c.then(function(t){return r.call(s,t)}):r.call(this,c)}function H(t){$.prototype[t]=function(){const e=this,n=[].slice.call(arguments);var r=n[n.length-1];let i;return"function"==typeof r&&(i=r,n.pop()),r=new Promise(function(r){"export"===t&&"function"==typeof n[0]&&(n[0]=null),W>1e9&&(W=0),e.h[++W]=r,e.worker.postMessage({task:t,id:W,args:n})}),i?(r.then(i),this):r}}function q(t,e,n,r,i,o){if(t=t[i],r===n.length-1)e[i]=o||t;else if(t)if(t.constructor===Array)for(e=e[i]=Array(t.length),i=0;i<t.length;i++)q(t,e,n,r,i);else e=e[i]||(e[i]=a()),i=n[++r],q(t,e,n,r,i)}function X(t,e,n,r,i,o,a,s){if(t=t[a])if(r===e.length-1){if(t.constructor===Array){if(n[r]){for(e=0;e<t.length;e++)i.add(o,t[e],!0,!0);return}t=t.join(" ")}i.add(o,t,s,!0)}else if(t.constructor===Array)for(a=0;a<t.length;a++)X(t,e,n,r,i,o,a,s);else a=e[++r],X(t,e,n,r,i,o,a,s)}function V(t,e,n,r){if(!t.length)return t;if(1===t.length)return t=t[0],t=n||t.length>e?t.slice(n,n+e):t,r?st.call(this,t):t;let i=[];for(let o,a,s=0;s<t.length;s++)if((o=t[s])&&(a=o.length)){if(n){if(n>=a){n-=a;continue}o=o.slice(n,n+e),a=o.length,n=0}if(a>e&&(o=o.slice(0,e),a=e),!i.length&&a>=e)return r?st.call(this,o):o;if(i.push(o),!(e-=a))break}return i=i.length>1?[].concat.apply([],i):i[0],r?st.call(this,i):i}function U(t,e,n,r){var i=r[0];if(i[0]&&i[0].query)return t[e].apply(t,i);if(!("and"!==e&&"not"!==e||t.result.length||t.await||i.suggest))return r.length>1&&(i=r[r.length-1]),(r=i.resolve)?t.await||t.result:t;let o,a,s,c,l,u=[],h=0,d=0;for(e=0;e<r.length;e++)if(i=r[e]){var p=void 0;if(i.constructor===tt)p=i.await||i.result;else if(i.then||i.constructor===Array)p=i;else{h=i.limit||0,d=i.offset||0,s=i.suggest,a=i.resolve,o=((c=i.highlight||t.highlight)||i.enrich)&&a,p=i.queue;let n=i.async||p,r=i.index,f=i.query;if(r?t.index||(t.index=r):r=t.index,f||i.tag){const o=i.field||i.pluck;if(o&&(!f||t.query&&!c||(t.query=f,t.field=o,t.highlight=c),r=r.index.get(o)),p&&(l||t.await)){let o;l=1;const a=t.C.length,s=new Promise(function(t){o=t});(function(e,r){s.h=function(){r.index=null,r.resolve=!1;let i=n?e.searchAsync(r):e.search(r);return i.then?i.then(function(e){return t.C[a]=e=e.result||e,o(e),e}):(i=i.result||i,o(i),i)}})(r,Object.assign({},i)),t.C.push(s),u[e]=s;continue}i.resolve=!1,i.index=null,p=n?r.searchAsync(i):r.search(i),i.resolve=a,i.index=r}else if(i.and)p=Y(i,"and",r);else if(i.or)p=Y(i,"or",r);else if(i.not)p=Y(i,"not",r);else{if(!i.xor)continue;p=Y(i,"xor",r)}}p.await?(l=1,p=p.await):p.then?(l=1,p=p.then(function(t){return t.result||t})):p=p.result||p,u[e]=p}if(l&&!t.await&&(t.await=new Promise(function(e){t.return=e})),l){const e=Promise.all(u).then(function(r){for(let i=0;i<t.C.length;i++)if(t.C[i]===e){t.C[i]=function(){return n.call(t,r,h,d,o,a,s,c)};break}et(t)});t.C.push(e)}else{if(!t.await)return n.call(t,u,h,d,o,a,s,c);t.C.push(function(){return n.call(t,u,h,d,o,a,s,c)})}return a?t.await||t.result:t}function Y(t,e,n){const r=(t=t[e])[0]||t;return r.index||(r.index=n),n=new tt(r),t.length>1&&(n=n[e].apply(n,t.slice(1))),n}function G(t,e,n,r,i,o,a){return t.length&&(this.result.length&&t.push(this.result),t.length<2?this.result=t[0]:(this.result=rt(t,e,n,!1,this.h),n=0)),i&&(this.await=null),i?this.resolve(e,n,r,a):this}function J(t,e,n,r,i,o,a){if(!o&&!this.result.length)return i?this.result:this;let s;if(t.length)if(this.result.length&&t.unshift(this.result),t.length<2)this.result=t[0];else{let r=0;for(let e,n,i=0;i<t.length;i++)if((e=t[i])&&(n=e.length))r<n&&(r=n);else if(!o){r=0;break}r?(this.result=nt(t,r,e,n,o,this.h,i),s=!0):this.result=[]}else o||(this.result=t);return i&&(this.await=null),i?this.resolve(e,n,r,a,s):this}function K(t,e,n,r,i,o,s){if(t.length)if(this.result.length&&t.unshift(this.result),t.length<2)this.result=t[0];else{t:{o=n;var c=this.h;const r=[],s=a();let l=0;
1for(let e,n=0;n<t.length;n++)if(e=t[n]){l<e.length&&(l=e.length);for(let t,n=0;n<e.length;n++)if(t=e[n])for(let e,r=0;r<t.length;r++)e=t[r],s[e]=s[e]?2:1}for(let n,a=0,u=0;a<l;a++)for(let l,h=0;h<t.length;h++)if((l=t[h])&&(n=l[a]))for(let d,p=0;p<n.length;p++)if(d=n[p],1===s[d])if(o)o--;else if(i){if(r.push(d),r.length===e){t=r;break t}}else{const n=a+(h?c:0);if(r[n]||(r[n]=[]),r[n].push(d),++u===e){t=r;break t}}t=r}this.result=t,c=!0}else o||(this.result=t);return i&&(this.await=null),i?this.resolve(e,n,r,s,c):this}function Q(t,e,n,r,i,o,a){if(!o&&!this.result.length)return i?this.result:this;if(t.length&&this.result.length){t:{o=n;var s=[];t=new Set(t.flat().flat());for(let n,r=0,a=0;r<this.result.length;r++)if(n=this.result[r])for(let c,l=0;l<n.length;l++)if(c=n[l],!t.has(c))if(o)o--;else if(i){if(s.push(c),s.length===e){t=s;break t}}else if(s[r]||(s[r]=[]),s[r].push(c),++a===e){t=s;break t}t=s}this.result=t,s=!0}return i&&(this.await=null),i?this.resolve(e,n,r,a,s):this}function Z(t,e,n,r,i){let o,a,s;"string"==typeof i?(o=i,i=""):o=i.template,a=o.indexOf("$1"),s=o.substring(a+2),a=o.substring(0,a);let c=i&&i.boundary,u=!i||!1!==i.clip,h=i&&i.merge&&s&&a&&new RegExp(s+" "+a,"g");var d=0;if("object"==typeof(i=i&&i.ellipsis)){var p=i.template;d=p.length-2,i=i.pattern}let f,g;"string"!=typeof i&&(i=!1===i?"":"..."),d&&(i=p.replace("$1",i)),p=i.length-d,"object"==typeof c&&(f=c.before,0===f&&(f=-1),g=c.after,0===g&&(g=-1),c=c.total||9e5),d=new Map;for(let j,L,B,R=0;R<e.length;R++){let N;if(r)N=e,B=r;else{var m=e[R];if(B=m.field,!B)continue;N=m.result}L=n.get(B),j=L.encoder,"string"!=typeof(m=d.get(j))&&(m=j.encode(t),d.set(j,m));for(let t=0;t<N.length;t++){var y=N[t].doc;if(!y)continue;if(!(y=l(y,B)))continue;var v=y.trim().split(/\s+/);if(!v.length)continue;y="";var b=[];let e=[];for(var C=-1,w=-1,P=0,x=0;x<v.length;x++){var I=v[x],_=j.encode(I);let t;if((_=_.length>1?_.join(" "):_[0])&&I){for(var A=I.length,S=(j.split?I.replace(j.split,""):I).length-_.length,k="",D=0,T=0;T<m.length;T++){var M=m[T];if(M){var E=M.length;E+=S,D&&E<=D||(M=_.indexOf(M))>-1&&(k=(M?I.substring(0,M):"")+a+I.substring(M,M+E)+s+(M+E<A?I.substring(M+E):""),D=E,t=!0)}}k&&(c&&(C<0&&(C=y.length+(y?1:0)),w=y.length+(y?1:0)+k.length,P+=A,e.push(b.length),b.push({match:k})),y+=(y?" ":"")+k)}if(t){if(c&&P>=c)break}else y+=(y?" ":"")+(I=v[x]),c&&b.push({text:I})}if(P=e.length*(o.length-2),f||g||c&&y.length-P>c)if(x=w-C,f>0&&(x+=f),g>0&&(x+=g),x<=(P=c+P-2*p))v=f?C-(f>0?f:0):C-((P-x)/2|0),b=g?w+(g>0?g:0):v+P,u||(v>0&&" "!==y.charAt(v)&&" "!==y.charAt(v-1)&&((v=y.indexOf(" ",v))<0&&(v=0)),b<y.length&&" "!==y.charAt(b-1)&&" "!==y.charAt(b)&&((b=y.lastIndexOf(" ",b))<w?b=w:++b)),y=(v?i:"")+y.substring(v,b)+(b<y.length?i:"");else{for(w=[],C={},P={},x={},I={},_={},k=S=A=0,T=D=1;;){var O=void 0;for(let t,n=0;n<e.length;n++){if(t=e[n],k)if(S!==k){if(x[n+1])continue;if(t+=k,C[t]){A-=p,P[n+1]=1,x[n+1]=1;continue}if(t>=b.length-1){if(t>=b.length){x[n+1]=1,t>=v.length&&(P[n+1]=1);continue}A-=p}if(y=b[t].text,E=g&&_[n]){if(!(E>0)){x[n+1]=1;continue}if(y.length>E){if(x[n+1]=1,!u)continue;y=y.substring(0,E)}(E-=y.length)||(E=-1),_[n]=E}if(A+y.length+1<=c)y=" "+y,w[n]+=y;else{if(!u){x[n+1]=1;continue}(O=c-A-1)>0&&(y=" "+y.substring(0,O),w[n]+=y),x[n+1]=1}}else{if(x[n])continue;if(t-=S,C[t]){A-=p,x[n]=1,P[n]=1;continue}if(t<=0){if(t<0){x[n]=1,P[n]=1;continue}A-=p}if(y=b[t].text,E=f&&I[n]){if(!(E>0)){x[n]=1;continue}if(y.length>E){if(x[n]=1,!u)continue;y=y.substring(y.length-E)}(E-=y.length)||(E=-1),I[n]=E}if(A+y.length+1<=c)y+=" ",w[n]=y+w[n];else{if(!u){x[n]=1;continue}(O=y.length+1-(c-A))>=0&&O<y.length&&(y=y.substring(O)+" ",w[n]=y+w[n]),x[n]=1}}else{let e;if(y=b[t].match,f&&(I[n]=f),g&&(_[n]=g),n&&A++,t?!n&&p&&(A+=p):(P[n]=1,x[n]=1),t>=v.length-1||t<b.length-1&&b[t+1].match?e=1:p&&(A+=p),A-=o.length-2,n&&!(A+y.length<=c)){O=D=T=P[n]=0;break}w[n]=y,e&&(P[n+1]=1,x[n+1]=1)}A+=y.length,O=C[t]=1}if(O)S===k?k++:S++;else{if(S===k?D=0:T=0,!D&&!T)break;D?k=++S:k++}}y="";for(let t,e=0;e<w.length;e++)t=(e&&P[e]?" ":(e&&!i?" ":"")+i)+w[e],y+=t;i&&!P[w.length]&&(y+=i)}h&&(y=y.replace(h," ")),N[t].highlight=y}if(r)break}return e}function tt(t,e){if(!this||this.constructor!==tt)return new tt(t,e);let n,r,i,o,a,s,c=0;if(t&&t.index){const n=t;
1if(e=n.index,c=n.boost||0,r=n.query){i=n.field||n.pluck,o=n.highlight;const r=n.resolve;t=n.async||n.queue,n.resolve=!1,n.index=null,t=t?e.searchAsync(n):e.search(n),n.resolve=r,n.index=e,t=t.result||t}else t=[]}if(t&&t.then){const e=this;n=[t=t.then(function(t){e.C[0]=e.result=t.result||t,et(e)})],t=[],a=new Promise(function(t){s=t})}this.index=e||null,this.result=t||[],this.h=c,this.C=n||[],this.await=a||null,this.return=s||null,this.highlight=o||null,this.query=r||"",this.field=i||""}function et(t,e){let n=t.result;var r=t.await;t.await=null;for(let i,o=0;o<t.C.length;o++)if(i=t.C[o])if("function"==typeof i)n=i(),t.C[o]=n=n.result||n,o--;else if(i.h)n=i.h(),t.C[o]=n=n.result||n,o--;else if(i.then)return t.await=r;return r=t.return,t.C=[],t.return=null,e||r(n),n}function nt(t,e,n,r,i,o,s){const c=t.length;let l,u,h=[];l=a();for(let a,d,p,f,g=0;g<e;g++)for(let e=0;e<c;e++)if(p=t[e],g<p.length&&(a=p[g]))for(let t=0;t<a.length;t++){if(d=a[t],(u=l[d])?l[d]++:(u=0,l[d]=1),f=h[u]||(h[u]=[]),!s){let t=g+(e||!i?0:o||0);f=f[t]||(f[t]=[])}if(f.push(d),s&&n&&u===c-1&&f.length-r===n)return r?f.slice(r):f}if(t=h.length)if(i)h=h.length>1?rt(h,n,r,s,o):(h=h[0])&&n&&h.length>n||r?h.slice(r,n+r):h;else{if(t<c)return[];if(h=h[t-1],n||r)if(s)(h.length>n||r)&&(h=h.slice(r,n+r));else{i=[];for(let t,e=0;e<h.length;e++)if(t=h[e])if(r&&t.length>r)r-=t.length;else if((n&&t.length>n||r)&&(t=t.slice(r,n+r),n-=t.length,r&&(r-=t.length)),i.push(t),!n)break;h=i}}return h}function rt(t,e,n,r,i){const o=[],s=a();let c;var l=t.length;let u;if(r){for(i=l-1;i>=0;i--)if(u=(r=t[i])&&r.length)for(l=0;l<u;l++)if(c=r[l],!s[c])if(s[c]=1,n)n--;else if(o.push(c),o.length===e)return o}else for(let a,h=l-1,d=0;h>=0;h--){a=t[h];for(let t=0;t<a.length;t++)if(u=(r=a[t])&&r.length)for(let a=0;a<u;a++)if(c=r[a],!s[c])if(s[c]=1,n)n--;else{let n=(t+(h<l-1&&i||0))/(h+1)|0;if((o[n]||(o[n]=[])).push(c),++d===e)return o}}return o}function it(t,e,n){const r=a(),i=[];for(let o,a=0;a<e.length;a++){o=e[a];for(let t=0;t<o.length;t++)r[o[t]]=1}if(n)for(let o,a=0;a<t.length;a++)o=t[a],r[o]&&(i.push(o),r[o]=0);else for(let o,a,s=0;s<t.result.length;s++)for(o=t.result[s],e=0;e<o.length;e++)a=o[e],r[a]&&((i[s]||(i[s]=[])).push(a),r[a]=0);return i}function ot(t){const e=[],n=a(),r=a();for(let i,o,a,s,c,l,u,h=0;h<t.length;h++){i=t[h],o=i.field,a=i.result;for(let t=0;t<a.length;t++)c=a[t],"object"!=typeof c?c={id:s=c}:s=c.id,(l=n[s])?l.push(o):(c.field=n[s]=[o],e.push(c)),(u=c.highlight)&&(l=r[s],l||(r[s]=l={},c.highlight=l),l[o]=u)}return e}function at(t,e,n,r,i){return(t=this.tag.get(t))&&(t=t.get(e))?((e=t.length-r)>0&&((n&&e>n||r)&&(t=t.slice(r,r+n)),i&&(t=st.call(this,t))),t):[]}function st(t){if(!this||!this.store)return t;if(this.db)return this.index.get(this.field[0]).db.enrich(t);const e=Array(t.length);for(let n,r=0;r<t.length;r++)n=t[r],e[r]={id:n,doc:this.store.get(n)};return e}function ct(t){if(!this||this.constructor!==ct)return new ct(t);const e=t.document||t.doc||t;let n,r;if(this.B=[],this.field=[],this.D=[],this.key=(n=e.key||e.id)&&ut(n,this.D)||"id",(r=t.keystore||0)&&(this.keystore=r),this.fastupdate=!!t.fastupdate,this.reg=!this.fastupdate||t.worker||t.db?r?new D(r):new Set:r?new k(r):new Map,this.h=(n=e.store||null)&&n&&!0!==n&&[],this.store=n?r?new k(r):new Map:null,this.cache=(n=t.cache||null)&&new v(n),t.cache=!1,this.worker=t.worker||!1,this.priority=t.priority||4,this.index=lt.call(this,t,e),this.tag=null,(n=e.tag)&&("string"==typeof n&&(n=[n]),n.length)){this.tag=new Map,this.A=[],this.F=[];for(let t,e,r=0;r<n.length;r++){if(t=n[r],e=t.field||t,!e)throw Error("The tag field from the document descriptor is undefined.");t.custom?this.A[r]=t.custom:(this.A[r]=ut(e,this.D),t.filter&&("string"==typeof this.A[r]&&(this.A[r]=new String(this.A[r])),this.A[r].G=t.filter)),this.F[r]=e,this.tag.set(e,new Map)}}if(this.worker){this.fastupdate=!1,t=[];for(const e of this.index.values())e.then&&t.push(e);if(t.length){const e=this;return Promise.all(t).then(function(t){let n=0;for(const r of e.index.entries()){const i=r[0];let o=r[1];o.then&&(o=t[n],e.index.set(i,o),n++)}return e})}}else t.db&&(this.fastupdate=!1,this.mount(t.db))}function lt(t,e){const n=new Map;let r=e.index||e.field||e;s(r)&&(r=[r]);for(let o,a,l=0;l<r.length;l++){if(o=r[l],s(o)||(a=o,o=o.field),a=c(a)?Object.assign({},t,a):t,this.worker){var i=void 0;i=new $(a,i=(i=a.encoder)&&i.encode?i:new g("string"==typeof i?_[i]:i||{})),n.set(o,i)}this.worker||n.set(o,new St(a,this.reg)),a.custom?this.B[l]=a.custom:(this.B[l]=ut(o,this.D),a.filter&&("string"==typeof this.B[l]&&(this.B[l]=new String(this.B[l])),this.B[l].G=a.filter)),this.field[l]=o}if(this.h){s(t=e.store)&&(t=[t]);
1for(let e,n,r=0;r<t.length;r++)e=t[r],n=e.field||e,e.custom?(this.h[r]=e.custom,e.custom.O=n):(this.h[r]=ut(n,this.D),e.filter&&("string"==typeof this.h[r]&&(this.h[r]=new String(this.h[r])),this.h[r].G=e.filter))}return n}function ut(t,e){const n=t.split(":");let r=0;for(let i=0;i<n.length;i++)"]"===(t=n[i])[t.length-1]&&(t=t.substring(0,t.length-2))&&(e[r]=!0),t&&(n[r++]=t);return r<n.length&&(n.length=r),r>1?n:n[0]}function ht(t,e=0){let n=[],r=[];e&&(e=25e4/e*5e3|0);for(const i of t.entries())r.push(i),r.length===e&&(n.push(r),r=[]);return r.length&&n.push(r),n}function dt(t,e){e||(e=new Map);for(let n,r=0;r<t.length;r++)n=t[r],e.set(n[0],n[1]);return e}function pt(t,e=0){let n=[],r=[];e&&(e=25e4/e*1e3|0);for(const i of t.entries())r.push([i[0],ht(i[1])[0]]),r.length===e&&(n.push(r),r=[]);return r.length&&n.push(r),n}function ft(t,e){e||(e=new Map);for(let n,r,i=0;i<t.length;i++)n=t[i],r=e.get(n[0]),e.set(n[0],dt(n[1],r));return e}function gt(t){let e=[],n=[];for(const r of t.keys())n.push(r),25e4===n.length&&(e.push(n),n=[]);return n.length&&e.push(n),e}function mt(t,e){e||(e=new Set);for(let n=0;n<t.length;n++)e.add(t[n]);return e}function yt(t,e,n,r,i,o,a=0){const s=r&&r.constructor===Array;var c=s?r.shift():r;if(!c)return this.export(t,e,i,o+1);if((c=t((e?e+".":"")+(a+1)+"."+n,JSON.stringify(c)))&&c.then){const l=this;return c.then(function(){return yt.call(l,t,e,n,s?r:null,i,o,a+1)})}return yt.call(this,t,e,n,s?r:null,i,o,a+1)}function vt(t,e){let n="";for(const r of t.entries()){t=r[0];const i=r[1];let o="";for(let t,n=0;n<i.length;n++){t=i[n]||[""];let r="";for(let n=0;n<t.length;n++)r+=(r?",":"")+("string"===e?'"'+t[n]+'"':t[n]);r="["+r+"]",o+=(o?",":"")+r}o='["'+t+'",['+o+"]]",n+=(n?",":"")+o}return n}function bt(t,e){let n=0;var r=void 0===e;if(t.constructor===Array){for(let i,o,a,s=0;s<t.length;s++)if((i=t[s])&&i.length){if(r)return 1;if(o=i.indexOf(e),o>=0){if(i.length>1)return i.splice(o,1),1;if(delete t[s],n)return 1;a=1}else{if(a)return 1;n++}}}else for(let i of t.entries())r=i[0],bt(i[1],e)?n++:t.delete(r);return n}H("add"),H("append"),H("search"),H("update"),H("remove"),H("clear"),H("export"),H("import"),$.prototype.searchCache=y,N($.prototype),ct.prototype.add=function(t,e,n){if(c(t)&&(t=l(e=t,this.key)),e&&(t||0===t)){if(!n&&this.reg.has(t))return this.update(t,e);for(let o,a=0;a<this.field.length;a++){o=this.B[a];var r=this.index.get(this.field[a]);if("function"==typeof o){var i=o(e);i&&r.add(t,i,n,!0)}else(!(i=o.G)||i(e))&&(o.constructor===String?o=[""+o]:s(o)&&(o=[o]),X(e,o,this.D,0,r,t,o[0],n))}if(this.tag)for(r=0;r<this.A.length;r++){var o=this.A[r];i=this.tag.get(this.F[r]);let c=a();if("function"==typeof o){if(!(o=o(e)))continue}else{var u=o.G;if(u&&!u(e))continue;o.constructor===String&&(o=""+o),o=l(e,o)}if(i&&o){s(o)&&(o=[o]);for(let e,r,a=0;a<o.length;a++)if(e=o[a],!c[e]&&(c[e]=1,(u=i.get(e))?r=u:i.set(e,r=[]),!n||!r.includes(t))){if(r.length===2**31-1){if(u=new S(r),this.fastupdate)for(let t of this.reg.values())t.includes(r)&&(t[t.indexOf(r)]=u);i.set(e,r=u)}r.push(t),this.fastupdate&&((u=this.reg.get(t))?u.push(r):this.reg.set(t,[r]))}}}if(this.store&&(!n||!this.store.has(t))){let r;if(this.h){r=a();for(let t,i=0;i<this.h.length;i++){if(t=this.h[i],(n=t.G)&&!n(e))continue;let o;if("function"==typeof t){if(o=t(e),!o)continue;t=[t.O]}else if(s(t)||t.constructor===String){r[t]=e[t];continue}q(e,r,t,0,t[0],o)}}this.store.set(t,r||e)}this.worker&&(this.fastupdate||this.reg.add(t))}return this},tt.prototype.or=function(){return U(this,"or",G,arguments)},tt.prototype.and=function(){return U(this,"and",J,arguments)},tt.prototype.xor=function(){return U(this,"xor",K,arguments)},tt.prototype.not=function(){return U(this,"not",Q,arguments)},(r=tt.prototype).limit=function(t){if(this.await){const e=this;this.C.push(function(){return e.limit(t).result})}else if(this.result.length){const e=[];for(let n,r=0;r<this.result.length;r++)if(n=this.result[r]){if(!(n.length<=t)){e[r]=n.slice(0,t);break}if(e[r]=n,!(t-=n.length))break}this.result=e}return this},r.offset=function(t){if(this.await){const e=this;this.C.push(function(){return e.offset(t).result})}else if(this.result.length){const e=[];for(let n,r=0;r<this.result.length;r++)(n=this.result[r])&&(n.length<=t?t-=n.length:(e[r]=n.slice(t),t=0));this.result=e}return this},r.boost=function(t){if(this.await){const e=this;this.C.push(function(){return e.boost(t).result})}else this.h+=t;return this},r.resolve=function(t,e,n,r,i){let o=this.await?et(this,!0):this.result;if(o.then){const a=this;return o.then(function(){return a.resolve(t,e,n,r,i)})}return o.length&&("object"==typeof t?(r=t.highlight||this.highlight,n=!!r||t.enrich,e=t.offset,t=t.limit):(r=r||this.highlight,n=!!r||n),o=i?n?st.call(this.index,o):o:V.call(this.index,o,t||100,e,n)),this.finalize(o,r)},r.finalize=function(t,e){if(t.then){const n=this;return t.then(function(t){return n.finalize(t,e)})}e&&t.length&&this.query&&(t=Z(this.query,t,this.index.index,this.field,e));const n=this.return;return this.highlight=this.index=this.result=this.C=this.await=this.return=null,this.query=this.field="",n&&n(t),t},a(),ct.prototype.search=function(t,e,n,r){n||(!e&&c(t)?(n=t,t=""):c(e)&&(n=e,e=0));let i=[];var a=[];let l,u,h,d,p,f,g,m,y=0,v=!0;if(n){n.constructor===Array&&(n={index:n}),t=n.query||t,l=n.pluck,u=n.merge,d=n.boost,f=l||n.field||(f=n.index)&&(f.index?null:f);var b=this.tag&&n.tag;h=n.suggest,v=!1!==n.resolve,p=n.cache,g=v&&this.store&&n.highlight;var C=!!g||v&&this.store&&n.enrich;e=n.limit||e;var w=n.offset||0;if(e||(e=v?100:0),b&&(!this.db||!r)){b.constructor!==Array&&(b=[b]);var P=[];for(let t,e=0;e<b.length;e++)if(t=b[e],t.field&&t.tag){var x=t.tag;if(x.constructor===Array)for(var I=0;I<x.length;I++)P.push(t.field,x[I]);
1else P.push(t.field,x)}else{x=Object.keys(t);for(let e,n,r=0;r<x.length;r++)if(e=x[r],n=t[e],n.constructor===Array)for(I=0;I<n.length;I++)P.push(e,n[I]);else P.push(e,n)}if(b=P,!t){if(a=[],P.length)for(b=0;b<P.length;b+=2){if(this.db){if(!(r=this.index.get(P[b])))continue;a.push(r=r.db.tag(P[b+1],e,w,C))}else r=at.call(this,P[b],P[b+1],e,w,C);i.push(v?{field:P[b],tag:P[b+1],result:r}:[r])}if(a.length){const t=this;return Promise.all(a).then(function(e){for(let t=0;t<e.length;t++)v?i[t].result=e[t]:i[t]=e[t];return v?i:new tt(i.length>1?nt(i,1,0,0,h,d):i[0],t)})}return v?i:new tt(i.length>1?nt(i,1,0,0,h,d):i[0],this)}}v||l||!(f=f||this.field)||(s(f)?l=f:(f.constructor===Array&&1===f.length&&(f=f[0]),l=f.field||f.index)),f&&f.constructor!==Array&&(f=[f])}f||(f=this.field),P=(this.worker||this.db)&&!r&&[];for(let c,A,S,k=0;k<f.length;k++){if(A=f[k],this.db&&this.tag&&!this.B[k])continue;let l;if(s(A)||(l=A,A=l.field,t=l.query||t,e=o(l.limit,e),w=o(l.offset,w),h=o(l.suggest,h),g=v&&this.store&&o(l.highlight,g),C=!!g||v&&this.store&&o(l.enrich,C),p=o(l.cache,p)),r)c=r[k];else{I=(x=l||n||{}).enrich;var _=this.index.get(A);if(b&&(this.db&&(x.tag=b,m=_.db.support_tag_search,x.field=f),!m&&I&&(x.enrich=!1)),c=p?_.searchCache(t,e,x):_.search(t,e,x),I&&(x.enrich=I),P){P[k]=c;continue}}if(S=(c=c.result||c)&&c.length,b&&S){if(x=[],I=0,this.db&&r){if(!m)for(_=f.length;_<r.length;_++){let t=r[_];if(t&&t.length)I++,x.push(t);else if(!h)return v?i:new tt(i,this)}}else for(let t,e,n=0;n<b.length;n+=2){if(t=this.tag.get(b[n]),!t){if(h)continue;return v?i:new tt(i,this)}if(e=(t=t&&t.get(b[n+1]))&&t.length)I++,x.push(t);else if(!h)return v?i:new tt(i,this)}if(I){if(c=it(c,x,v),S=c.length,!S&&!h)return v?c:new tt(c,this);I--}}if(S)a[y]=A,i.push(c),y++;else if(1===f.length)return v?i:new tt(i,this)}if(P){if(this.db&&b&&b.length&&!m)for(C=0;C<b.length;C+=2){if(!(a=this.index.get(b[C]))){if(h)continue;return v?i:new tt(i,this)}P.push(a.db.tag(b[C+1],e,w,!1))}const r=this;return Promise.all(P).then(function(i){return n&&(n.resolve=v),i.length&&(i=r.search(t,e,n,i)),i})}if(!y)return v?i:new tt(i,this);if(l&&(!C||!this.store))return i=i[0],v?i:new tt(i,this);for(P=[],w=0;w<a.length;w++){if(b=i[w],C&&b.length&&void 0===b[0].doc&&(this.db?P.push(b=this.index.get(this.field[0]).db.enrich(b)):b=st.call(this,b)),l)return v?g?Z(t,b,this.index,l,g):b:new tt(b,this);i[w]={field:a[w],result:b}}if(C&&this.db&&P.length){const e=this;return Promise.all(P).then(function(n){for(let t=0;t<n.length;t++)i[t].result=n[t];return g&&(i=Z(t,i,e.index,l,g)),u?ot(i):i})}return g&&(i=Z(t,i,this.index,l,g)),u?ot(i):i},(r=ct.prototype).mount=function(t){let e=this.field;if(this.tag)for(let o,a=0;a<this.F.length;a++){o=this.F[a];var n=void 0;this.index.set(o,n=new St({},this.reg)),e===this.field&&(e=e.slice(0)),e.push(o),n.tag=this.tag.get(o)}n=[];const r={db:t.db,type:t.type,fastupdate:t.fastupdate};for(let o,a,s=0;s<e.length;s++){r.field=a=e[s],o=this.index.get(a);const i=new t.constructor(t.id,r);i.id=t.id,n[s]=i.mount(o),o.document=!0,s?o.bypass=!0:o.store=this.store}const i=this;return this.db=Promise.all(n).then(function(){i.db=!0})},r.commit=async function(){const t=[];for(const e of this.index.values())t.push(e.commit());await Promise.all(t),this.reg.clear()},r.destroy=function(){const t=[];for(const e of this.index.values())t.push(e.destroy());return Promise.all(t)},r.append=function(t,e){return this.add(t,e,!0)},r.update=function(t,e){return this.remove(t).add(t,e)},r.remove=function(t){for(var e of(c(t)&&(t=l(t,this.key)),this.index.values()))e.remove(t,!0);if(this.reg.has(t)){if(this.tag&&!this.fastupdate)for(let n of this.tag.values())for(let r of n){e=r[0];const i=r[1],o=i.indexOf(t);o>-1&&(i.length>1?i.splice(o,1):n.delete(e))}this.store&&this.store.delete(t),this.reg.delete(t)}return this.cache&&this.cache.remove(t),this},r.clear=function(){const t=[];for(const e of this.index.values()){const n=e.clear();
1n.then&&t.push(n)}if(this.tag)for(const e of this.tag.values())e.clear();return this.store&&this.store.clear(),this.cache&&this.cache.clear(),t.length?Promise.all(t):this},r.contain=function(t){return this.db?this.index.get(this.field[0]).db.has(t):this.reg.has(t)},r.cleanup=function(){for(const t of this.index.values())t.cleanup();return this},r.get=function(t){return this.db?this.index.get(this.field[0]).db.enrich(t).then(function(t){return t[0]&&t[0].doc||null}):this.store.get(t)||null},r.set=function(t,e){return"object"==typeof t&&(t=l(e=t,this.key)),this.store.set(t,e),this},r.searchCache=y,r.export=function(t,e,n=0,r=0){if(n<this.field.length){const i=this.field[n];if((e=this.index.get(i).export(t,i,n,r=1))&&e.then){const r=this;return e.then(function(){return r.export(t,i,n+1)})}return this.export(t,i,n+1)}let i,o;switch(r){case 0:i="reg",o=gt(this.reg),e=null;break;case 1:i="tag",o=this.tag&&pt(this.tag,this.reg.size),e=null;break;case 2:i="doc",o=this.store&&ht(this.store),e=null;break;default:return}return yt.call(this,t,e,i,o||null,n,r)},r.import=function(t,e){var n=t.split(".");"json"===n[n.length-1]&&n.pop();const r=n.length>2?n[0]:"";if(n=n.length>2?n[2]:n[1],this.worker&&r)return this.index.get(r).import(t);if(e){if("string"==typeof e&&(e=JSON.parse(e)),r)return this.index.get(r).import(n,e);switch(n){case"reg":this.fastupdate=!1,this.reg=mt(e,this.reg);for(let t,e=0;e<this.field.length;e++)t=this.index.get(this.field[e]),t.fastupdate=!1,t.reg=this.reg;if(this.worker){e=[];for(const n of this.index.values())e.push(n.import(t));return Promise.all(e)}break;case"tag":this.tag=ft(e,this.tag);break;case"doc":this.store=dt(e,this.store)}}},N(ct.prototype),St.prototype.remove=function(t,e){const n=this.reg.size&&(this.fastupdate?this.reg.get(t):this.reg.has(t));if(n){if(this.fastupdate){for(let e,r,i=0;i<n.length;i++)if((e=n[i])&&(r=e.length))if(e[r-1]===t)e.pop();else{const n=e.indexOf(t);n>=0&&e.splice(n,1)}}else bt(this.map,t),this.depth&&bt(this.ctx,t);e||this.reg.delete(t)}return this.db&&(this.commit_task.push({del:t}),this.M&&kt(this)),this.cache&&this.cache.remove(t),this};const Ct={memory:{resolution:1},performance:{resolution:3,fastupdate:!0,context:{depth:1,resolution:1}},match:{tokenize:"forward"},score:{resolution:9,context:{depth:2,resolution:3}}};function wt(t,e,n,r,i,o,s){let c,l;if(!(c=e[n])||s&&!c[s]){if(s?((e=c||(e[n]=a()))[s]=1,l=t.ctx,(c=l.get(s))?l=c:l.set(s,l=t.keystore?new k(t.keystore):new Map)):(l=t.map,e[n]=1),(c=l.get(n))?l=c:l.set(n,l=c=[]),o)for(let n,o=0;o<c.length;o++)if((n=c[o])&&n.includes(i)){if(o<=r)return;n.splice(n.indexOf(i),1),t.fastupdate&&(e=t.reg.get(i))&&e.splice(e.indexOf(n),1);break}if(l=l[r]||(l[r]=[]),l.push(i),l.length===2**31-1){if(e=new S(l),t.fastupdate)for(let n of t.reg.values())n.includes(l)&&(n[n.indexOf(l)]=e);c[r]=l=e}t.fastupdate&&((r=t.reg.get(i))?r.push(l):t.reg.set(i,[l]))}}function Pt(t,e,n,r,i){return n&&t>1?e+(r||0)<=t?n+(i||0):(t-1)/(e+(r||0))*(n+(i||0))+1|0:0}function xt(t,e,n,r,i,o,a){let s=t.length,c=t;if(s>1)c=nt(t,e,n,r,i,o,a);else if(1===s)return a?V.call(null,t[0],n,r):new tt(t[0],this);return a?c:new tt(c,this)}function It(t,e,n,r,i,o,a){return t=At(this,t,e,n,r,i,o,a),this.db?t.then(function(t){return i?t||[]:new tt(t,this)}):t&&t.length?i?V.call(this,t,n,r):new tt(t,this):i?[]:new tt([],this)}function _t(t,e,n,r){let i=[];if(t&&t.length){if(t.length<=r)return void e.push(t);for(let e,n=0;n<r;n++)(e=t[n])&&(i[n]=e);if(i.length)return void e.push(i)}if(!n)return i}function At(t,e,n,r,i,o,a,s){let c;return n&&(c=t.bidirectional&&e>n)&&(c=n,n=e,e=c),t.db?t.db.get(e,n,r,i,o,a,s):t=n?(t=t.ctx.get(n))&&t.get(e):t.map.get(e)}function St(t,e){if(!this||this.constructor!==St)return new St(t);if(t){var n=s(t)?t:t.preset;n&&(t=Object.assign({},Ct[n],t))}else t={};const r=!0===(n=t.context)?{depth:1}:n||{},i=s(t.encoder)?_[t.encoder]:t.encode||t.encoder||{};this.encoder=i.encode?i:"object"==typeof i?new g(i):{encode:i},this.resolution=t.resolution||9,this.tokenize=n=(n=t.tokenize)&&"default"!==n&&"exact"!==n&&n||"strict",this.depth="strict"===n&&r.depth||0,this.bidirectional=!1!==r.bidirectional,this.fastupdate=!!t.fastupdate,this.score=t.score||null,(n=t.keystore||0)&&(this.keystore=n),this.map=n?new k(n):new Map,this.ctx=n?new k(n):new Map,this.reg=e||(this.fastupdate?n?new k(n):new Map:n?new D(n):new Set),this.N=r.resolution||3,this.rtl=i.rtl||t.rtl||!1,this.cache=(n=t.cache||null)&&new v(n),this.resolve=!1!==t.resolve,(n=t.db)&&(this.db=this.mount(n)),this.M=!1!==t.commit,this.commit_task=[],this.commit_timer=null,this.priority=t.priority||4}function kt(t){t.commit_timer||(t.commit_timer=setTimeout(function(){t.commit_timer=null,t.db.commit(t)},1))}St.prototype.add=function(t,e,n,r){if(e&&(t||0===t)){if(!r&&!n&&this.reg.has(t))return this.update(t,e);r=this.depth;const u=(e=this.encoder.encode(e,!r)).length;if(u){const h=a(),d=a(),p=this.resolution;for(let a=0;a<u;a++){let f=e[this.rtl?u-1-a:a];var i=f.length;if(i&&(r||!d[f])){var o=this.score?this.score(e,f,a,null,0):Pt(p,u,a),s="";switch(this.tokenize){case"tolerant":if(wt(this,d,f,o,t,n),i>2){for(let e,r,a,c,l=1;l<i-1;l++)e=f.charAt(l),r=f.charAt(l+1),a=f.substring(0,l)+r,c=f.substring(l+2),wt(this,d,s=a+e+c,o,t,n),wt(this,d,s=a+c,o,t,n);wt(this,d,f.substring(0,f.length-1),o,t,n)}break;case"full":if(i>2){for(let r,l=0;l<i;l++)for(o=i;o>l;o--){s=f.substring(l,o),r=this.rtl?i-1-l:l;var c=this.score?this.score(e,f,a,s,r):Pt(p,u,a,i,r);wt(this,d,s,c,t,n)}break}case"bidirectional":case"reverse":if(i>1){for(c=i-1;c>0;c--){s=f[this.rtl?i-1-c:c]+s;var l=this.score?this.score(e,f,a,s,c):Pt(p,u,a,i,c);wt(this,d,s,l,t,n)}s=""}case"forward":if(i>1){for(c=0;c<i;c++)wt(this,d,s+=f[this.rtl?i-1-c:c],o,t,n);break}default:if(wt(this,d,f,o,t,n),r&&u>1&&a<u-1)for(i=this.N,s=f,o=Math.min(r+1,this.rtl?a+1:u-a),c=1;c<o;c++){f=e[this.rtl?u-1-a-c:a+c];wt(this,h,(l=this.bidirectional&&f>s)?s:f,this.score?this.score(e,s,a,f,c-1):Pt(i+(u/2>i?0:1),u,a,o-1,c-1),t,n,l?f:s)}}}}this.fastupdate||this.reg.add(t)}}return this.db&&(this.commit_task.push(n?{ins:t}:{del:t}),this.M&&kt(this)),this},St.prototype.search=function(t,e,n){if(n||(e||"object"!=typeof t?"object"==typeof e&&(n=e,e=0):(n=t,t="")),n&&n.cache)return n.cache=!1,t=this.searchCache(t,e,n),n.cache=!0,t;let r,i,o,s,c,l,u,h,d=[],p=0;
1n&&(t=n.query||t,e=n.limit||e,p=n.offset||0,i=n.context,o=n.suggest,h=(s=n.resolve)&&n.enrich,l=n.boost,u=n.resolution,c=this.db&&n.tag),void 0===s&&(s=this.resolve),i=this.depth&&!1!==i;let f=this.encoder.encode(t,!i);if(r=f.length,e=e||(s?100:0),1===r)return It.call(this,f[0],"",e,p,s,h,c);if(2===r&&i&&!o)return It.call(this,f[1],f[0],e,p,s,h,c);let g,m=a(),y=0;if(i&&(g=f[0],y=1),u||0===u||(u=g?this.N:this.resolution),this.db){if(this.db.search&&!1!==(n=this.db.search(this,f,e,p,o,s,h,c)))return n;const t=this;return async function(){for(let e,n;y<r;y++){if((n=f[y])&&!m[n]){if(m[n]=1,e=await At(t,n,g,0,0,!1,!1),e=_t(e,d,o,u)){d=e;break}g&&(o&&e&&d.length||(g=n))}o&&g&&y===r-1&&!d.length&&(u=t.resolution,g="",y=-1,m=a())}return xt(d,u,e,p,o,l,s)}()}for(let v,b;y<r;y++){if((b=f[y])&&!m[b]){if(m[b]=1,v=At(this,b,g,0,0,!1,!1),v=_t(v,d,o,u)){d=v;break}g&&(o&&v&&d.length||(g=b))}o&&g&&y===r-1&&!d.length&&(u=this.resolution,g="",y=-1,m=a())}return xt(d,u,e,p,o,l,s)},(r=St.prototype).mount=function(t){return this.commit_timer&&(clearTimeout(this.commit_timer),this.commit_timer=null),t.mount(this)},r.commit=function(){return this.commit_timer&&(clearTimeout(this.commit_timer),this.commit_timer=null),this.db.commit(this)},r.destroy=function(){return this.commit_timer&&(clearTimeout(this.commit_timer),this.commit_timer=null),this.db.destroy()},r.clear=function(){return this.map.clear(),this.ctx.clear(),this.reg.clear(),this.cache&&this.cache.clear(),this.db?(this.commit_timer&&clearTimeout(this.commit_timer),this.commit_timer=null,this.commit_task=[],this.db.clear()):this},r.append=function(t,e){return this.add(t,e,!0)},r.contain=function(t){return this.db?this.db.has(t):this.reg.has(t)},r.update=function(t,e){const n=this,r=this.remove(t);return r&&r.then?r.then(()=>n.add(t,e)):this.add(t,e)},r.cleanup=function(){return this.fastupdate?(bt(this.map),this.depth&&bt(this.ctx),this):this},r.searchCache=y,r.export=function(t,e,n=0,r=0){let i,o;switch(r){case 0:i="reg",o=gt(this.reg);break;case 1:i="cfg",o=null;break;case 2:i="map",o=ht(this.map,this.reg.size);break;case 3:i="ctx",o=pt(this.ctx,this.reg.size);break;default:return}return yt.call(this,t,e,i,o,n,r)},r.import=function(t,e){if(e)switch("string"==typeof e&&(e=JSON.parse(e)),t=t.split("."),"json"===t[t.length-1]&&t.pop(),3===t.length&&t.shift(),t=t.length>1?t[1]:t[0],t){case"reg":this.fastupdate=!1,this.reg=mt(e,this.reg);break;case"map":this.map=dt(e,this.map);break;case"ctx":this.ctx=ft(e,this.ctx)}},r.serialize=function(t=!0){let e="",n="",r="";if(this.reg.size){let t;for(var i of this.reg.keys())t||(t=typeof i),e+=(e?",":"")+("string"===t?'"'+i+'"':i);e="index.reg=new Set(["+e+"]);",n=vt(this.map,t),n="index.map=new Map(["+n+"]);";for(const e of this.ctx.entries()){i=e[0];let n=vt(e[1],t);n="new Map(["+n+"])",n='["'+i+'",'+n+"]",r+=(r?",":"")+n}r="index.ctx=new Map(["+r+"]);"}return t?"function inject(index){"+e+n+r+"}":e+n+r},N(St.prototype);const Dt="undefined"!=typeof window&&(window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB),Tt=["map","ctx","tag","reg","cfg"],Mt=a();function Et(t,e={}){if(!this||this.constructor!==Et)return new Et(t,e);"object"==typeof t&&(e=t,t=t.name),t||console.info("Default storage space was used, because a name was not passed."),this.id="flexsearch"+(t?":"+t.toLowerCase().replace(/[^a-z0-9_\-]/g,""):""),this.field=e.field?e.field.toLowerCase().replace(/[^a-z0-9_\-]/g,""):"",this.type=e.type,this.fastupdate=this.support_tag_search=!1,this.db=null,this.h={}}function Ot(t,e,n){const r=t.value;let i,o=0;for(let a,s=0;s<r.length;s++){if(a=n?r:r[s]){for(let t,n,o=0;o<e.length;o++)if(n=e[o],t=a.indexOf(n),t>=0){if(i=1,!(a.length>1)){r[s]=[];break}a.splice(t,1)}o+=a.length}if(n)break}o?i&&t.update(r):t.delete(),t.continue()}function jt(t,e){return new Promise((n,r)=>{t.onsuccess=t.oncomplete=function(){e&&e(this.result),e=null,n(this.result)},t.onerror=t.onblocked=r,t=null})}(r=Et.prototype).mount=function(t){return t.index?t.mount(this):(t.db=this,this.open())},r.open=function(){if(this.db)return this.db;let t=this;navigator.storage&&navigator.storage.persist(),Mt[t.id]||(Mt[t.id]=[]),Mt[t.id].push(t.field);const e=Dt.open(t.id,1);return e.onupgradeneeded=function(){const e=t.db=this.result;for(let n,r=0;r<Tt.length;r++){n=Tt[r];for(let r,i=0;i<Mt[t.id].length;i++)r=Mt[t.id][i],e.objectStoreNames.contains(n+("reg"!==n&&r?":"+r:""))||e.createObjectStore(n+("reg"!==n&&r?":"+r:""))}},t.db=jt(e,function(e){t.db=e,t.db.onversionchange=function(){t.close()}})},r.close=function(){this.db&&this.db.close(),this.db=null}
1,r.destroy=function(){return jt(Dt.deleteDatabase(this.id))},r.clear=function(){const t=[];for(let n,r=0;r<Tt.length;r++){n=Tt[r];for(let e,r=0;r<Mt[this.id].length;r++)e=Mt[this.id][r],t.push(n+("reg"!==n&&e?":"+e:""))}const e=this.db.transaction(t,"readwrite");for(let n=0;n<t.length;n++)e.objectStore(t[n]).clear();return jt(e)},r.get=function(t,e,n=0,r=0,i=!0,o=!1){t=this.db.transaction((e?"ctx":"map")+(this.field?":"+this.field:""),"readonly").objectStore((e?"ctx":"map")+(this.field?":"+this.field:"")).get(e?e+":"+t:t);const a=this;return jt(t).then(function(t){let e=[];if(!t||!t.length)return e;if(i){if(!n&&!r&&1===t.length)return t[0];for(let i,o=0;o<t.length;o++)if((i=t[o])&&i.length){if(r>=i.length){r-=i.length;continue}const t=n?r+Math.min(i.length-r,n):i.length;for(let n=r;n<t;n++)e.push(i[n]);if(r=0,e.length===n)break}return o?a.enrich(e):e}return t})},r.tag=function(t,e=0,n=0,r=!1){t=this.db.transaction("tag"+(this.field?":"+this.field:""),"readonly").objectStore("tag"+(this.field?":"+this.field:"")).get(t);const i=this;return jt(t).then(function(t){return!t||!t.length||n>=t.length?[]:e||n?(t=t.slice(n,n+e),r?i.enrich(t):t):t})},r.enrich=function(t){"object"!=typeof t&&(t=[t]);const e=this.db.transaction("reg","readonly").objectStore("reg"),n=[];for(let r=0;r<t.length;r++)n[r]=jt(e.get(t[r]));return Promise.all(n).then(function(e){for(let n=0;n<e.length;n++)e[n]={id:t[n],doc:e[n]?JSON.parse(e[n]):null};return e})},r.has=function(t){return jt(t=this.db.transaction("reg","readonly").objectStore("reg").getKey(t)).then(function(t){return!!t})},r.search=null,r.info=function(){},r.transaction=function(t,e,n){t+="reg"!==t&&this.field?":"+this.field:"";let r=this.h[t+":"+e];if(r)return n.call(this,r);let i=this.db.transaction(t,e);this.h[t+":"+e]=r=i.objectStore(t);const o=n.call(this,r);return this.h[t+":"+e]=null,jt(i).finally(function(){return i=r=null,o})},r.commit=async function(t){let e=t.commit_task,n=[];t.commit_task=[];for(let r,i=0;i<e.length;i++)r=e[i],r.del&&n.push(r.del);n.length&&await this.remove(n),t.reg.size&&(await this.transaction("map","readwrite",function(e){for(const n of t.map){const t=n[0],r=n[1];r.length&&(e.get(t).onsuccess=function(){let n=this.result;var i;if(n&&n.length){const t=Math.max(n.length,r.length);for(let e,o,a=0;a<t;a++)if((o=r[a])&&o.length){if((e=n[a])&&e.length)for(i=0;i<o.length;i++)e.push(o[i]);else n[a]=o;i=1}}else n=r,i=1;i&&e.put(n,t)})}}),await this.transaction("ctx","readwrite",function(e){for(const n of t.ctx){const t=n[0],r=n[1];for(const n of r){const r=n[0],i=n[1];i.length&&(e.get(t+":"+r).onsuccess=function(){let n=this.result;var o;if(n&&n.length){const t=Math.max(n.length,i.length);for(let e,r,a=0;a<t;a++)if((r=i[a])&&r.length){if((e=n[a])&&e.length)for(o=0;o<r.length;o++)e.push(r[o]);else n[a]=r;o=1}}else n=i,o=1;o&&e.put(n,t+":"+r)})}}}),t.store?await this.transaction("reg","readwrite",function(e){for(const n of t.store){const t=n[0],r=n[1];e.put("object"==typeof r?JSON.stringify(r):1,t)}}):t.bypass||await this.transaction("reg","readwrite",function(e){for(const n of t.reg.keys())e.put(1,n)}),t.tag&&await this.transaction("tag","readwrite",function(e){for(const n of t.tag){const t=n[0],r=n[1];r.length&&(e.get(t).onsuccess=function(){let n=this.result;n=n&&n.length?n.concat(r):r,e.put(n,t)})}}),t.map.clear(),t.ctx.clear(),t.tag&&t.tag.clear(),t.store&&t.store.clear(),t.document||t.reg.clear())},r.remove=function(t){return"object"!=typeof t&&(t=[t]),Promise.all([this.transaction("map","readwrite",function(e){e.openCursor().onsuccess=function(){const e=this.result;e&&Ot(e,t)}}),this.transaction("ctx","readwrite",function(e){e.openCursor().onsuccess=function(){const e=this.result;e&&Ot(e,t)}}),this.transaction("tag","readwrite",function(e){e.openCursor().onsuccess=function(){const e=this.result;e&&Ot(e,t,!0)}}),this.transaction("reg","readwrite",function(e){for(let n=0;n<t.length;n++)e.delete(t[n])})])};const Lt=ct},59691:function(){},60161:function(t,e,n){"use strict";var r=n(23242),i=n(13274);e.A=(0,r.A)((0,i.jsx)("path",{d:"M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"ChevronRight")},66693:function(t,e,n){"use strict";var r=n(79474);e.A=()=>{const t="undefined"!=typeof window,{0:e,1:n}=(0,r.useState)(t?window.location.hash.substring(1):"");return(0,r.useEffect)(()=>{const e=()=>{t&&n(window.location.hash.substring(1))};return window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[]),e}},67474:function(t,e,n){"use strict";n.d(e,{m:function(){return a}});var r=n(27455);class i{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}
1start(t,e){this.componentControls.forEach(n=>{n.start(t.nativeEvent||t,e)})}}const o=()=>new i;function a(){return(0,r.M)(o)}},70672:function(t,e,n){"use strict";n.d(e,{H7:function(){return u},Ut:function(){return c},X3:function(){return l},Xf:function(){return s},bX:function(){return d},lL:function(){return h},lT:function(){return a},r$:function(){return p}});var r=n(85790),i=n(61131),o=n(13076);const a={color:r.J.TextDark,fontWeight:500,"&:visited":{}},s={fontFamily:"Inter",...a},c={...s,fontFamily:"Neue Haas Grotesk Display Pro",fontSize:"16px"},l=(0,i.Ay)(o.A)({fontWeight:600,color:r.J.PrimaryMain,fontSize:"16px",fontFamily:"Crowdstrike Sharp Sans",letterSpacing:0,lineHeight:1.25,marginBottom:"0px"}),u=(0,i.Ay)(l)({color:r.J.TextDark}),h=(0,i.Ay)(l)({color:r.J.TextDark,fontSize:"24px",fontWeight:600,marginBottom:"0px"}),d=(0,i.Ay)(o.A)({fontSize:"18px",letterSpacing:0,fontWeight:600,maxWidth:"fit-content",lineHeight:"unset"}),p=t=>{if(t.includes("/taxonomy/")){const e=t.indexOf("#");if(-1!==e)return t.substring(e)}return t}},83792:function(t,e,n){"use strict";function r(){}function i(t){return null==t?r:function(){return this.querySelector(t)}}function o(){return[]}function a(t){return null==t?o:function(){return this.querySelectorAll(t)}}function s(t){return function(){return null==(e=t.apply(this,arguments))?[]:Array.isArray(e)?e:Array.from(e);var e}}function c(t){return function(){return this.matches(t)}}function l(t){return function(e){return e.matches(t)}}n.d(e,{Sk5:function(){return Pn}});var u=Array.prototype.find;function h(){return this.firstElementChild}var d=Array.prototype.filter;function p(){return Array.from(this.children)}function f(t){return new Array(t.length)}function g(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function m(t,e,n,r,i,o){for(var a,s=0,c=e.length,l=o.length;s<l;++s)(a=e[s])?(a.__data__=o[s],r[s]=a):n[s]=new g(t,o[s]);for(;s<c;++s)(a=e[s])&&(i[s]=a)}function y(t,e,n,r,i,o,a){var s,c,l,u=new Map,h=e.length,d=o.length,p=new Array(h);for(s=0;s<h;++s)(c=e[s])&&(p[s]=l=a.call(c,c.__data__,s,e)+"",u.has(l)?i[s]=c:u.set(l,c));for(s=0;s<d;++s)l=a.call(t,o[s],s,o)+"",(c=u.get(l))?(r[s]=c,c.__data__=o[s],u.delete(l)):n[s]=new g(t,o[s]);for(s=0;s<h;++s)(c=e[s])&&u.get(p[s])===c&&(i[s]=c)}function v(t){return t.__data__}function b(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function C(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}g.prototype={constructor:g,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var w="http://www.w3.org/1999/xhtml",P={svg:"http://www.w3.org/2000/svg",xhtml:w,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function x(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),P.hasOwnProperty(e)?{space:P[e],local:t}:t}function I(t){return function(){this.removeAttribute(t)}}function _(t){return function(){this.removeAttributeNS(t.space,t.local)}}function A(t,e){return function(){this.setAttribute(t,e)}}function S(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function k(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function D(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function T(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function M(t){return function(){this.style.removeProperty(t)}}function E(t,e,n){return function(){this.style.setProperty(t,e,n)}}function O(t,e,n){return function(){var r=e.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,n)}}function j(t,e){return t.style.getPropertyValue(e)||T(t).getComputedStyle(t,null).getPropertyValue(e)}function L(t){return function(){delete this[t]}}function B(t,e){return function(){this[t]=e}}function R(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function N(t){return t.trim().split(/^|\s+/)}function z(t){return t.classList||new F(t)}function F(t){this._node=t,this._names=N(t.getAttribute("class")||"")}function W(t,e){for(var n=z(t),r=-1,i=e.length;++r<i;)n.add(e[r])}function $(t,e){for(var n=z(t),r=-1,i=e.length;++r<i;)n.remove(e[r])}function H(t){return function(){W(this,t)}}function q(t){return function(){$(this,t)}}function X(t,e){return function(){(e.apply(this,arguments)?W:$)(this,t)}}function V(){this.textContent=""}function U(t){return function(){this.textContent=t}}function Y(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function G(){this.innerHTML=""}function J(t){return function(){this.innerHTML=t}}function K(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function Q(){this.nextSibling&&this.parentNode.appendChild(this)}function Z(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function tt(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===w&&e.documentElement.namespaceURI===w?e.createElement(t):e.createElementNS(n,t)}}function et(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function nt(t){var e=x(t);return(e.local?et:tt)(e)}function rt(){return null}function it(){var t=this.parentNode;t&&t.removeChild(this)}function ot(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function at(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function st(t){return function(){var e=this.__on;if(e){for(var n,r=0,i=-1,o=e.length;r<o;++r)n=e[r],t.type&&n.type!==t.type||n.name!==t.name?e[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?e.length=i:delete this.__on}}}function ct(t,e,n){return function(){var r,i=this.__on,o=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(i)for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===t.type&&r.name===t.name)return this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),void(r.value=e);this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function lt(t,e,n){var r=T(t),i=r.CustomEvent;"function"==typeof i?i=new i(e,n):(i=r.document.createEvent("Event"),n?(i.initEvent(e,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(e,!1,!1)),t.dis
vendor: 4,198 bytes, line 1
1patchEvent(i)}function ut(t,e){return function(){return lt(this,t,e)}}function ht(t,e){return function(){return lt(this,t,e.apply(this,arguments))}}F.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var dt=[null];function pt(t,e){this._groups=t,this._parents=e}function ft(){return new pt([[document.documentElement]],dt)}pt.prototype=ft.prototype={constructor:pt,select:function(t){"function"!=typeof t&&(t=i(t));for(var e=this._groups,n=e.length,r=new Array(n),o=0;o<n;++o)for(var a,s,c=e[o],l=c.length,u=r[o]=new Array(l),h=0;h<l;++h)(a=c[h])&&(s=t.call(a,a.__data__,h,c))&&("__data__"in a&&(s.__data__=a.__data__),u[h]=s);return new pt(r,this._parents)},selectAll:function(t){t="function"==typeof t?s(t):a(t);for(var e=this._groups,n=e.length,r=[],i=[],o=0;o<n;++o)for(var c,l=e[o],u=l.length,h=0;h<u;++h)(c=l[h])&&(r.push(t.call(c,c.__data__,h,l)),i.push(c));return new pt(r,i)},selectChild:function(t){return this.select(null==t?h:function(t){return function(){return u.call(this.children,t)}}("function"==typeof t?t:l(t)))},selectChildren:function(t){return this.selectAll(null==t?p:function(t){return function(){return d.call(this.children,t)}}("function"==typeof t?t:l(t)))},filter:function(t){"function"!=typeof t&&(t=c(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,l=r[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&l.push(o);return new pt(r,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,v);var n,r=e?y:m,i=this._parents,o=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var a=o.length,s=new Array(a),c=new Array(a),l=new Array(a),u=0;u<a;++u){var h=i[u],d=o[u],p=d.length,f=b(t.call(h,h&&h.__data__,u,i)),g=f.length,C=c[u]=new Array(g),w=s[u]=new Array(g);r(h,d,C,w,l[u]=new Array(p),f,e);for(var P,x,I=0,_=0;I<g;++I)if(P=C[I]){for(I>=_&&(_=I+1);!(x=w[_])&&++_<g;);P._next=x||null}}return(s=new pt(s,i))._enter=c,s._exit=l,s},enter:function(){return new pt(this._enter||this._groups.map(f),this._parents)},exit:function(){return new pt(this._exit||this._groups.map(f),this._parents)},join:function(t,e,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof t?(r=t(r))&&(r=r.selection()):r=r.append(t+""),null!=e&&(i=e(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,r=e._groups,i=n.length,o=r.length,a=Math.min(i,o),s=new Array(i),c=0;c<a;++c)for(var l,u=n[c],h=r[c],d=u.length,p=s[c]=new Array(d),f=0;f<d;++f)(l=u[f]||h[f])&&(p[f]=l);for(;c<i;++c)s[c]=n[c];return new pt(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var r,i=t[e],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=C);for(var n=this._groups,r=n.length,i=new Array(r),o=0;o<r;++o){for(var a,s=n[o],c=s.length,l=i[o]=new Array(c),u=0;u<c;++u)(a=s[u])&&(l[u]=a);l.sort(e)}return new pt(i,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r=t[e],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,r=e.length;n<r;++n)for(var i,o=e[n],a=0,s=o.length;a<s;++a)(i=o[a])&&t.call(i,i.__data__,a,o);return this},attr:function(t,e){var n=x(t);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==e?n.local?_:I:"function"==typeof e?n.local?D:k:n.local?S:A)(n,e))},style:function(t,e,n){return arguments.length>
vendor: 6,944 bytes, line 1
11?this.each((null==e?M:"function"==typeof e?O:E)(t,e,null==n?"":n)):j(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?L:"function"==typeof e?R:B)(t,e)):this.node()[t]},classed:function(t,e){var n=N(t+"");if(arguments.length<2){for(var r=z(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof e?X:e?H:q)(n,e))},text:function(t){return arguments.length?this.each(null==t?V:("function"==typeof t?Y:U)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?G:("function"==typeof t?K:J)(t)):this.node().innerHTML},raise:function(){return this.each(Q)},lower:function(){return this.each(Z)},append:function(t){var e="function"==typeof t?t:nt(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})},insert:function(t,e){var n="function"==typeof t?t:nt(t),r=null==e?rt:"function"==typeof e?e:i(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(it)},clone:function(t){return this.select(t?at:ot)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var r,i,o=function(t){return t.trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}})}(t+""),a=o.length;if(!(arguments.length<2)){for(s=e?ct:st,r=0;r<a;++r)this.each(s(o[r],e,n));return this}var s=this.node().__on;if(s)for(var c,l=0,u=s.length;l<u;++l)for(r=0,c=s[l];r<a;++r)if((i=o[r]).type===c.type&&i.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"==typeof e?ht:ut)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var r,i=t[e],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};var gt=ft,mt={value:()=>{}};function yt(){for(var t,e=0,n=arguments.length,r={};e<n;++e){if(!(t=arguments[e]+"")||t in r||/[\s.]/.test(t))throw new Error("illegal type: "+t);r[t]=[]}return new vt(r)}function vt(t){this._=t}function bt(t,e){for(var n,r=0,i=t.length;r<i;++r)if((n=t[r]).name===e)return n.value}function Ct(t,e,n){for(var r=0,i=t.length;r<i;++r)if(t[r].name===e){t[r]=mt,t=t.slice(0,r).concat(t.slice(r+1));break}return null!=n&&t.push({name:e,value:n}),t}vt.prototype=yt.prototype={constructor:vt,on:function(t,e){var n,r,i=this._,o=(r=i,(t+"").trim().split(/^|\s+/).map(function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!r.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}})),a=-1,s=o.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<s;)if(n=(t=o[a]).type)i[n]=Ct(i[n],t.name,e);else if(null==e)for(n in i)i[n]=Ct(i[n],t.name,null);return this}for(;++a<s;)if((n=(t=o[a]).type)&&(n=bt(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new vt(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,r,i=new Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(o=0,n=(r=this._[t]).length;o<n;++o)r[o].value.apply(e,i)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var r=this._[t],i=0,o=r.length;i<o;++i)r[i].value.apply(e,n)}};var wt,Pt,xt=yt,It=0,_t=0,At=0,St=0,kt=0,Dt=0,Tt="object"==typeof performance&&performance.now?performance:Date,Mt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Et(){return kt||(Mt(Ot),kt=Tt.now()+Dt)}function Ot(){kt=0}function jt(){this._call=this._time=this._next=null}function Lt(t,e,n){var r=new jt;return r.restart(t,e,n),r}function Bt(){kt=(St=Tt.now())+Dt,It=_t=0;try{!function(){Et(),++It;for(var t,e=wt;e;)(t=kt-e._time)>=0&&e._call.call(void 0,t),e=e._next;--It}()}finally{It=0,function(){var t,e,n=wt,r=1/0;for(;n;)n._call?(r>n._time&&(r=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:wt=e);Pt=t,Nt(r)}(),kt=0}}function Rt(){var t=Tt.now(),e=t-St;e>1e3&&(Dt-=e,St=t)}function Nt(t){It||(_t&&(_t=clearTimeout(_t)),t-kt>24?(t<1/0&&(_t=setTimeout(Bt,t-Tt.now()-Dt)),At&&(At=clearInterval(At))):(At||(St=Tt.now(),At=setInterval(Rt,1e3)),It=1,Mt(Bt)))}function zt(t,e,n){var r=new jt;return e=null==e?0:+e,r.restart(n=>{r.stop(),t(n+e)},e,n),r}jt.prototype=Lt.prototype={constructor:jt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Et():+n)+(null==e?0:+e),this._next||Pt===this||(Pt?Pt._next=this:wt=this,Pt=this),this._call=t,this._time=n,Nt()},stop:function(){this._call&&(this._call=null,this._time=1/0,Nt())}};var Ft=xt("start","end","cancel","interrupt"),Wt=[];function $t(t,e,n,r,i,o){var a=t.__transition;if(a){if(n in a)return}else t.__transition={};!function(t,e,n){var r,i=t.__transition;function o(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}function a(o){var l,u,h,d;if(1!==n.state)return c();for(l in i)if((d=i[l]).name===n.name){if(3===d.state)return zt(a);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete i[l]):+l<e&&(d.state=6,d.timer.stop(),d.on.call("cancel",t,t.__data__,d.index,d.group),delete i[l])}if(zt(function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(o))}),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=3,r=new Array(h=n.tween.length),l=0,u=-1;l<h;++l)(d=n.tween[l].value.call(t,t.__data__,n.index,n.group))&&(r[++u]=d);r.length=u+1}}function s(e){for(var i=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(t,i);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),c())}function c(){for(var r in n.state=6,n.timer.stop(),delete i[e],i)return;delete t.__transition}i[e]=n,n.timer=Lt(o,0,n.time)}(t,n,{name:e,index:r,group:i,on:Ft,tween:Wt,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function Ht(t,e){var n=Xt(t,e);if(n.state>0)throw new Error("too late; already scheduled");return n}function qt(t,e){var n=Xt(t,e);if(n.state>3)throw new Error("too late; already running");return n}function Xt(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Vt(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var Ut,Yt=180/Math.PI,Gt={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function Jt(t,e,n,r,i,o){var a,s,c;return(a=Math.sqrt(t*t+e*e))&&(t/=a,e/=a),(c=t*n+e*r)&&(n-=t*c,r-=e*c),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,c/=s),t*r<e*n&&(t=-t,e=-e,c=-c,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(e,t)*Yt,skewX:Math.atan(c)*Yt,scaleX:a,scaleY:s}}function Kt(t,e,n,r){function i(t){return t.length?t.pop()+" ":""}return function(o,a){var s=[],c=[];
vendor: 5,398 bytes, line 1
1return o=t(o),a=t(a),function(t,r,i,o,a,s){if(t!==i||r!==o){var c=a.push("translate(",null,e,null,n);s.push({i:c-4,x:Vt(t,i)},{i:c-2,x:Vt(r,o)})}else(i||o)&&a.push("translate("+i+e+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,s,c),function(t,e,n,o){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),o.push({i:n.push(i(n)+"rotate(",null,r)-2,x:Vt(t,e)})):e&&n.push(i(n)+"rotate("+e+r)}(o.rotate,a.rotate,s,c),function(t,e,n,o){t!==e?o.push({i:n.push(i(n)+"skewX(",null,r)-2,x:Vt(t,e)}):e&&n.push(i(n)+"skewX("+e+r)}(o.skewX,a.skewX,s,c),function(t,e,n,r,o,a){if(t!==n||e!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:Vt(t,n)},{i:s-2,x:Vt(e,r)})}else 1===n&&1===r||o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,s,c),o=a=null,function(t){for(var e,n=-1,r=c.length;++n<r;)s[(e=c[n]).i]=e.x(t);return s.join("")}}}var Qt=Kt(function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Gt:Jt(e.a,e.b,e.c,e.d,e.e,e.f)},"px, ","px)","deg)"),Zt=Kt(function(t){return null==t?Gt:(Ut||(Ut=document.createElementNS("http://www.w3.org/2000/svg","g")),Ut.setAttribute("transform",t),(t=Ut.transform.baseVal.consolidate())?Jt((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Gt)},", ",")",")");function te(t,e){var n,r;return function(){var i=qt(this,t),o=i.tween;if(o!==n)for(var a=0,s=(r=n=o).length;a<s;++a)if(r[a].name===e){(r=r.slice()).splice(a,1);break}i.tween=r}}function ee(t,e,n){var r,i;if("function"!=typeof n)throw new Error;return function(){var o=qt(this,t),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:e,value:n},c=0,l=i.length;c<l;++c)if(i[c].name===e){i[c]=s;break}c===l&&i.push(s)}o.tween=i}}function ne(t,e,n){var r=t._id;return t.each(function(){var t=qt(this,r);(t.value||(t.value={}))[e]=n.apply(this,arguments)}),function(t){return Xt(t,r).value[e]}}function re(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function ie(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function oe(){}var ae=.7,se=1/ae,ce="\\s*([+-]?\\d+)\\s*",le="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",ue="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",he=/^#([0-9a-f]{3,8})$/,de=new RegExp(`^rgb\\(${ce},${ce},${ce}\\)$`),pe=new RegExp(`^rgb\\(${ue},${ue},${ue}\\)$`),fe=new RegExp(`^rgba\\(${ce},${ce},${ce},${le}\\)$`),ge=new RegExp(`^rgba\\(${ue},${ue},${ue},${le}\\)$`),me=new RegExp(`^hsl\\(${le},${ue},${ue}\\)$`),ye=new RegExp(`^hsla\\(${le},${ue},${ue},${le}\\)$`),ve={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function be(){return this.rgb().formatHex()}function Ce(){return this.rgb().formatRgb()}function we(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=he.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Pe(e):3===n?
vendor: 8,623 bytes, line 1
1new _e(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?xe(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?xe(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=de.exec(t))?new _e(e[1],e[2],e[3],1):(e=pe.exec(t))?new _e(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=fe.exec(t))?xe(e[1],e[2],e[3],e[4]):(e=ge.exec(t))?xe(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=me.exec(t))?Me(e[1],e[2]/100,e[3]/100,1):(e=ye.exec(t))?Me(e[1],e[2]/100,e[3]/100,e[4]):ve.hasOwnProperty(t)?Pe(ve[t]):"transparent"===t?new _e(NaN,NaN,NaN,0):null}function Pe(t){return new _e(t>>16&255,t>>8&255,255&t,1)}function xe(t,e,n,r){return r<=0&&(t=e=n=NaN),new _e(t,e,n,r)}function Ie(t,e,n,r){return 1===arguments.length?((i=t)instanceof oe||(i=we(i)),i?new _e((i=i.rgb()).r,i.g,i.b,i.opacity):new _e):new _e(t,e,n,null==r?1:r);var i}function _e(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function Ae(){return`#${Te(this.r)}${Te(this.g)}${Te(this.b)}`}function Se(){const t=ke(this.opacity);return`${1===t?"rgb(":"rgba("}${De(this.r)}, ${De(this.g)}, ${De(this.b)}${1===t?")":`, ${t})`}`}function ke(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function De(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Te(t){return((t=De(t))<16?"0":"")+t.toString(16)}function Me(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Oe(t,e,n,r)}function Ee(t){if(t instanceof Oe)return new Oe(t.h,t.s,t.l,t.opacity);if(t instanceof oe||(t=we(t)),!t)return new Oe;if(t instanceof Oe)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,s=o-i,c=(o+i)/2;return s?(a=e===o?(n-r)/s+6*(n<r):n===o?(r-e)/s+2:(e-n)/s+4,s/=c<.5?o+i:2-o-i,a*=60):s=c>0&&c<1?0:a,new Oe(a,s,c,t.opacity)}function Oe(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function je(t){return(t=(t||0)%360)<0?t+360:t}function Le(t){return Math.max(0,Math.min(1,t||0))}function Be(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Re(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}re(oe,we,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:be,formatHex:be,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Ee(this).formatHsl()},formatRgb:Ce,toString:Ce}),re(_e,Ie,ie(oe,{brighter(t){return t=null==t?se:Math.pow(se,t),new _e(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?ae:Math.pow(ae,t),new _e(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new _e(De(this.r),De(this.g),De(this.b),ke(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ae,formatHex:Ae,formatHex8:function(){return`#${Te(this.r)}${Te(this.g)}${Te(this.b)}${Te(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Se,toString:Se})),re(Oe,function(t,e,n,r){return 1===arguments.length?Ee(t):new Oe(t,e,n,null==r?1:r)},ie(oe,{brighter(t){return t=null==t?se:Math.pow(se,t),new Oe(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?ae:Math.pow(ae,t),new Oe(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new _e(Be(t>=240?t-240:t+120,i,r),Be(t,i,r),Be(t<120?t+240:t-120,i,r),this.opacity)},clamp(){return new Oe(je(this.h),Le(this.s),Le(this.l),ke(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=ke(this.opacity);return`${1===t?"hsl(":"hsla("}${je(this.h)}, ${100*Le(this.s)}%, ${100*Le(this.l)}%${1===t?")":`, ${t})`}`}}));var Ne=t=>()=>t;function ze(t,e){return function(n){return t+n*e}}function Fe(t){return 1===(t=+t)?We:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Ne(isNaN(e)?n:e)}}function We(t,e){var n=e-t;return n?ze(t,n):Ne(isNaN(t)?e:t)}var $e=function t(e){var n=Fe(e);function r(t,e){var r=n((t=Ie(t)).r,(e=Ie(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=We(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function He(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),s=new Array(i);for(n=0;n<i;++n)r=Ie(e[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=t(o),a=t(a),s=t(s),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=s(t),r+""}}}He(function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,s=r<e-1?t[r+2]:2*o-i;return Re((n-r/e)*e,a,i,o,s)}}),He(function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],s=t[(r+2)%e];return Re((n-r/e)*e,i,o,a,s)}});var qe=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Xe=new RegExp(qe.source,"g");function Ve(t,e){var n,r,i,o=qe.lastIndex=Xe.lastIndex=0,a=-1,s=[],c=[];for(t+="",e+="";(n=qe.exec(t))&&(r=Xe.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),s[a]?s[a]+=i:s[++a]=i),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,c.push({i:a,x:Vt(n,r)})),o=Xe.lastIndex;return o<e.length&&(i=e.slice(o),s[a]?s[a]+=i:s[++a]=i),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,r=0;r<e;++r)s[(n=c[r]).i]=n.x(t);return s.join("")})}function Ue(t,e){var n;return("number"==typeof e?Vt:e instanceof we?$e:(n=we(e))?(e=n,$e):Ve)(t,e)}function Ye(t){return function(){this.removeAttribute(t)}}function Ge(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Je(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttribute(t);return a===o?null:a===r?i:i=e(r=a,n)}}function Ke(t,e,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(t.space,t.local);return a===o?null:a===r?i:i=e(r=a,n)}}function Qe(t,e,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttribute(t))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,c));this.removeAttribute(t)}}function Ze(t,e,n){var r,i,o;return function(){var a,s,c=n(this);if(null!=c)return(a=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:a===r&&s===i?o:(i=s,o=e(r=a,c));this.removeAttributeNS(t.space,t.local)}}function tn(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,i)),n}return i._value=e,i}function en(t,e){var n,r;function i(){var i=e.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,i)),n}return i._value=e,i}function nn(t,e){return function(){Ht(this,t).delay=+e.apply(this,arguments)}}function rn(t,e){return e=+e,function(){Ht(this,t).delay=e}}function on(t,e){return function(){qt(this,t).duration=+e.apply(this,arguments)}}function an(t,e){return e=+e,function(){qt(this,t).duration=e}}var sn=gt.prototype.constructor;function cn(t){return function(){this.style.removeProperty(t)}}var ln=0;function un(t,e,n,r){this._groups=t,this._parents=e,this._name=n,this._id=r}function hn(){return++ln}var dn=gt.prototype;un.prototype=function(t){return gt().transition(t)}.prototype={constructor:un,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=i(t));for(var r=this._groups,o=r.length,a=new Array(o),s=0;s<o;++s)for(var c,l,u=r[s],h=u.length,d=a[s]=new Array(h),p=0;p<h;++p)(c=u[p])&&(l=t.call(c,c.__data__,p,u))&&("__data__"in c&&(l.__data__=c.__data__),d[p]=l,$t(d[p],e,n,p,d,Xt(c,n)));return new un(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=a(t));for(var r=this._groups,i=r.length,o=[],s=[],c=0;c<i;++c)for(var l,u=r[c],h=u.length,d=0;d<h;++d)if(l=u[d]){for(var p,f=t.call(l,l.__data__,d,u),g=Xt(l,n),m=0,y=f.length;m<y;++m)(p=f[m])&&$t(p,e,n,m,f,g);o.push(f),s.push(l)}return new un(o,s,e,n)},selectChild:dn.selectChild,selectChildren:dn.selectChildren,filter:function(t){"function"!=typeof t&&(t=c(t));for(var e=this._groups,n=e.length,r=new Array(n),i=0;i<n;++i)for(var o,a=e[i],s=a.length,l=r[i]=[],u=0;u<s;++u)(o=a[u])&&t.call(o,o.__data__,u,a)&&l.push(o);return new un(r,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,r=e.length,i=n.length,o=Math.min(r,i),a=new Array(r),s=0;s<o;++s)for(var c,l=e[s],u=n[s],h=l.length,d=a[s]=new Array(h),p=0;p<h;
vendor: 12,884 bytes, line 1
1++p)(c=l[p]||u[p])&&(d[p]=c);for(;s<r;++s)a[s]=e[s];return new un(a,this._parents,this._name,this._id)},selection:function(){return new sn(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=hn(),r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,l=0;l<c;++l)if(a=s[l]){var u=Xt(a,e);$t(a,t,n,l,s,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new un(r,this._parents,t,n)},call:dn.call,nodes:dn.nodes,node:dn.node,size:dn.size,empty:dn.empty,each:dn.each,on:function(t,e){var n=this._id;return arguments.length<2?Xt(this.node(),n).on.on(t):this.each(function(t,e,n){var r,i,o=function(t){return(t+"").trim().split(/^|\s+/).every(function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t})}(e)?Ht:qt;return function(){var a=o(this,t),s=a.on;s!==r&&(i=(r=s).copy()).on(e,n),a.on=i}}(n,t,e))},attr:function(t,e){var n=x(t),r="transform"===n?Zt:Ue;return this.attrTween(t,"function"==typeof e?(n.local?Ze:Qe)(n,r,ne(this,"attr."+t,e)):null==e?(n.local?Ge:Ye)(n):(n.local?Ke:Je)(n,r,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var r=x(t);return this.tween(n,(r.local?tn:en)(r,e))},style:function(t,e,n){var r="transform"==(t+="")?Qt:Ue;return null==e?this.styleTween(t,function(t,e){var n,r,i;return function(){var o=j(this,t),a=(this.style.removeProperty(t),j(this,t));return o===a?null:o===n&&a===r?i:i=e(n=o,r=a)}}(t,r)).on("end.style."+t,cn(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var r,i,o;return function(){var a=j(this,t),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=j(this,t)),a===c?null:a===r&&c===i?o:(i=c,o=e(r=a,s))}}(t,r,ne(this,"style."+t,e))).each(function(t,e){var n,r,i,o,a="style."+e,s="end."+a;return function(){var c=qt(this,t),l=c.on,u=null==c.value[a]?o||(o=cn(e)):void 0;l===n&&i===u||(r=(n=l).copy()).on(s,i=u),c.on=r}}(this._id,t)):this.styleTween(t,function(t,e,n){var r,i,o=n+"";return function(){var a=j(this,t);return a===o?null:a===r?i:i=e(r=a,n)}}(t,r,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var r="style."+(t+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw new Error;return this.tween(r,function(t,e,n){var r,i;function o(){var o=e.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t,e,n){return function(r){this.style.setProperty(t,e.call(this,r),n)}}(t,o,n)),r}return o._value=e,o}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(ne(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,n;function r(){var r=t.apply(this,arguments);return r!==n&&(e=(n=r)&&function(t){return function(e){this.textContent=t.call(this,e)}}(r)),e}return r._value=t,r}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var r,i=Xt(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===t)return r.value;return null}return this.each((null==e?te:ee)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?nn:rn)(e,t)):Xt(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?on:an)(e,t)):Xt(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){qt(this,t).ease=e}}(e,t)):Xt(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;qt(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,r=n._id,i=n.size();return new Promise(function(o,a){var s={value:a},c={value:function(){0===--i&&o()}};n.each(function(){var n=qt(this,r),i=n.on;i!==t&&((e=(t=i).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e}),0===i&&o()})},[Symbol.iterator]:dn[Symbol.iterator]};var pn={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function fn(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}gt.prototype.interrupt=function(t){return this.each(function(){!function(t,e){var n,r,i,o=t.__transition,a=!0;if(o){for(i in e=null==e?null:e+"",o)(n=o[i]).name===e?(r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete o[i]):a=!1;a&&delete t.__transition}}(this,t)})},gt.prototype.transition=function(t){var e,n;t instanceof un?(e=t._id,t=t._name):(e=hn(),(n=pn).time=Et(),t=null==t?null:t+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],c=s.length,l=0;l<c;++l)(a=s[l])&&$t(a,t,e,l,s,n||fn(a,e));return new un(r,this._parents,t,e)};const{abs:gn,max:mn,min:yn}=Math;function vn(t){return[+t[0],+t[1]]}function bn(t){return[vn(t[0]),vn(t[1])]}["w","e"].map(Cn),["n","s"].map(Cn),["n","w","e","s","nw","ne","sw","se"].map(Cn);function Cn(t){return{type:t}}function wn(t){var e=0,n=t.children,r=n&&n.length;if(r)for(;--r>=0;)e+=n[r].value;else e=1;t.value=e}function Pn(t,e){t instanceof Map?(t=[void 0,t],void 0===e&&(e=In)):void 0===e&&(e=xn);for(var n,r,i,o,a,s=new Sn(t),c=[s];n=c.pop();)if((i=e(n.data))&&(a=(i=Array.from(i)).length))for(n.children=i,o=a-1;o>=0;--o)c.push(r=i[o]=new Sn(i[o])),r.parent=n,r.depth=n.depth+1;return s.eachBefore(An)}function xn(t){return t.children}function In(t){return Array.isArray(t)?t[1]:null}function _n(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function An(t){var e=0;do{t.height=e}while((t=t.parent)&&t.height<++e)}function Sn(t){this.data=t,this.depth=this.height=0,this.parent=null}function kn(t,e,n){this.k=t,this.x=e,this.y=n}Sn.prototype=Pn.prototype={constructor:Sn,count:function(){return this.eachAfter(wn)},each:function(t,e){let n=-1;for(const r of this)t.call(e,r,++n,this);return this},eachAfter:function(t,e){for(var n,r,i,o=this,a=[o],s=[],c=-1;o=a.pop();)if(s.push(o),n=o.children)for(r=0,i=n.length;r<i;++r)a.push(n[r]);for(;o=s.pop();)t.call(e,o,++c,this);return this},eachBefore:function(t,e){for(var n,r,i=this,o=[i],a=-1;i=o.pop();)if(t.call(e,i,++a,this),n=i.children)for(r=n.length-1;r>=0;--r)o.push(n[r]);return this},find:function(t,e){let n=-1;for(const r of this)if(t.call(e,r,++n,this))return r},sum:function(t){return this.eachAfter(function(e){for(var n=+t(e.data)||0,r=e.children,i=r&&r.length;--i>=0;)n+=r[i].value;e.value=n})},sort:function(t){return this.eachBefore(function(e){e.children&&e.children.sort(t)})},path:function(t){for(var e=this,n=function(t,e){if(t===e)return t;var n=t.ancestors(),r=e.ancestors(),i=null;t=n.pop(),e=r.pop();for(;t===e;)i=t,t=n.pop(),e=r.pop();return i}(e,t),r=[e];e!==n;)e=e.parent,r.push(e);for(var i=r.length;t!==n;)r.splice(i,0,t),t=t.parent;return r},ancestors:function(){for(var t=this,e=[t];t=t.parent;)e.push(t);return e},descendants:function(){return Array.from(this)},leaves:function(){var t=[];return this.eachBefore(function(e){e.children||t.push(e)}),t},links:function(){var t=this,e=[];return t.each(function(n){n!==t&&e.push({source:n.parent,target:n})}),e},copy:function(){return Pn(this).eachBefore(_n)},[Symbol.iterator]:function*(){var t,e,n,r,i=this,o=[i];do{for(t=o.reverse(),o=[];i=t.pop();)if(yield i,e=i.children)for(n=0,r=e.length;n<r;++n)o.push(e[n])}while(o.length)}},kn.prototype={constructor:kn,scale:function(t){return 1===t?this:new kn(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new kn(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new kn(1,0,0);kn.prototype},86276:function(t,e,n){"use strict";n.d(e,{bX:function(){return m},Qu:function(){return c},X3:function(){return d},lL:function(){return p},YD:function(){return b},Ur:function(){return g},Sh:function(){return C},ki:function(){return v},gD:function(){return P},JS:function(){return w},Xf:function(){return u},ZX:function(){return f},q5:function(){return y},lT:function(){return l},Ut:function(){return h}});var r=n(27116),i=n(61005),o=JSON.parse('{"name":"root","parentCategory":"","categoryId":"root","id":"root","children":[{"name":"Injection Methods","parentCategory":"root","categoryId":"IM","childrenCount":3,"navDescription":"The pathways attackers use to deliver malicious PI instructions to an LLM application.","children":[{"name":"Direct Prompt Injection (Attacker-Submitted)","parentCategory":"Injection Methods","categoryId":"IM0001","childrenCount":2,"navDescription":"","children":[{"name":"Attacker-Submitted Prompt Body Injection","parentCategory":"Direct Prompt Injection (Attacker-Submitted)","categoryId":"IM0002","childrenCount":0,"navDescription":"","children":[],"depth":3},{"name":"Attacker-Submitted Attached Data Injection","parentCategory":"Direct Prompt Injection (Attacker-Submitted)","categoryId":"IM0003","childrenCount":0,"navDescription":"","children":[],"depth":3}],"depth":2},{"name":"Indirect Prompt Injection (User-Prompt Delivery)","parentCategory":"Injection Methods","categoryId":"IM0004","childrenCount":3,"navDescription":"","children":[{"name":"Unwitting User Delivery","parentCategory":"Indirect Prompt Injection (User-Prompt Delivery)","categoryId":"IM0005","childrenCount":0,"navDescription":"","children":[],"depth":3},{"name":"LLM-Generated Delivery","parentCategory":"Indirect Prompt Injection (User-Prompt Delivery)","categoryId":"IM0006","childrenCount":0,"navDescription":"","children":[],"depth":3},{"name":"Altered Prompt Delivery","parentCategory":"Indirect Prompt Injection (User-Prompt Delivery)","categoryId":"IM0007","childrenCount":0,"navDescription":"","children":[],"depth":3}],"depth":2},{"name":"Indirect Prompt Injection (Context-Data)","parentCategory":"Injection Methods","categoryId":"IM0008","childrenCount":9,"navDescription":"","children":[{"name":"Internal Context-Data Injection","parentCategory":"Indirect Prompt Injection (Context-Data)","categoryId":"IM0009","childrenCount":0,"navDescription":"","children":[],"depth":3},{"name":"External Context-Data Injection","parentCategory":"Indirect Prompt Injection (Context-Data)","categoryId":"IM0010","childrenCount":3,"navDescription":"","children":[{"name":"Attacker-Owned External Injection","parentCategory":"External Context-Data Injection","categoryId":"IM0011","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Attacker-Compromised External Injection","parentCategory":"External Context-Data Injection","categoryId":"IM0012","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Attacker-Influenced External Injection","parentCategory":"External Context-Data Injection","categoryId":"IM0013","childrenCount":0,"navDescription":"","children":[],"depth":4}],"depth":3},{"name":"Dynamic Tool Output Injection","parentCategory":"Indirect Prompt Injection (Context-Data)","categoryId":"IM0020","childrenCount":0,"navDescription":"","children":[],"depth":3},{"name":"Unwitting User Context-Data Injection","parentCategory":"Indirect Prompt Injection (Context-Data)","categoryId":"IM0018","childrenCount":0,"navDescription":"","children":[],"depth":3},{"name":"Agent-to-Agent Injection","parentCategory":"Indirect Prompt Injection (Context-Data)","categoryId":"IM0017","childrenCount":0,"navDescription":"","children":[],"depth":3},{"name":"Agent Memory Injection","parentCategory":"Indirect Prompt Injection (Context-Data)","categoryId":"IM0016","childrenCount":0,"navDescription":"","children":[],"depth":3},{"name":"Prior-LLM-Output Injection","parentCategory":"Indirect Prompt Injection (Context-Data)","categoryId":"IM0015","childrenCount":0,"navDescription":"","children":[],"depth":3}
1,{"name":"Cross-Session Infrastructure Injection","parentCategory":"Indirect Prompt Injection (Context-Data)","categoryId":"IM0019","childrenCount":0,"navDescription":"","children":[],"depth":3},{"name":"Compromised-Ingestion-Process Injection","parentCategory":"Indirect Prompt Injection (Context-Data)","categoryId":"IM0014","childrenCount":0,"navDescription":"","children":[],"depth":3}],"depth":2}],"depth":1,"totalNestedChildren":20},{"name":"Attacker Prompting Techniques","parentCategory":"root","categoryId":"PT","childrenCount":7,"navDescription":"A breakdown of the various tricks attackers use to manipulate an LLM and bypass safeguards.","children":[{"name":"Overt Instruction","parentCategory":"Attacker Prompting Techniques","categoryId":"PT0001","childrenCount":0,"navDescription":"","children":[],"depth":2},{"name":"Cognitive Control Bypass","parentCategory":"Attacker Prompting Techniques","categoryId":"PT0002","childrenCount":6,"navDescription":"","children":[{"name":"Semantic Manipulation","parentCategory":"Cognitive Control Bypass","categoryId":"PT0003","childrenCount":4,"
1navDescription":"","children":[{"name":"Rule Addition Prompting","parentCategory":"Semantic Manipulation","categoryId":"PT0006","childrenCount":3,"navDescription":"","children":[{"name":"Explicit Rule Addition","parentCategory":"Rule Addition Prompting","categoryId":"PT0007","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Special Case Prompting","parentCategory":"Rule Addition Prompting","categoryId":"PT0008","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Trigger-Activated Rule Addition","parentCategory":"Rule Addition Prompting","categoryId":"PT0201","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Rule Nullification Prompting","parentCategory":"Semantic Manipulation","categoryId":"PT0004","childrenCount":3,"navDescription":"","children":[{"name":"Rule Negation Prompting","parentCategory":"Rule Nullification Prompting","categoryId":"PT0009","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Instruction Ignoring Prompting","parentCategory":"Rule Nullification Prompting","categoryId":"PT0005","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Instruction Forgetting Prompting","parentCategory":"Rule Nullification Prompting","categoryId":"PT0157","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Rule Substitution Prompting","parentCategory":"Semantic Manipulation","categoryId":"PT0156","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Refusal Suppression","parentCategory":"Semantic Manipulation","categoryId":"PT0010","childrenCount":3,"navDescription":"","children":[{"name":"Explicit Refusal Negation","parentCategory":"Refusal Suppression","categoryId":"PT0011","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Refusal Continuation Prompting","parentCategory":"Refusal Suppression","categoryId":"PT0012","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Apology Suppression","parentCategory":"Refusal Suppression","categoryId":"PT0013","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4}],"depth":3},{"name":"In-Context Learning Exploitation","parentCategory":"Cognitive Control Bypass","categoryId":"PT0018","childrenCount":2,"navDescription":"","children":[{"name":"Few-Shot Learning Exploitation","parentCategory":"In-Context Learning Exploitation","categoryId":"PT0019","childrenCount":2,"navDescription":"","children":[{"name":"Simulated Conversation Learning Exploitation","parentCategory":"Few-Shot Learning Exploitation","categoryId":"PT0020","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Example-Driven Learning Exploitation","parentCategory":"Few-Shot Learning Exploitation","categoryId":"PT0021","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Contextual Pattern Reinforcement","parentCategory":"In-Context Learning Exploitation","categoryId":"PT0022","childrenCount":0,"navDescription":"","children":[],"depth":4}],"depth":3},{"name":"Pragmatic Manipulation","parentCategory":"Cognitive Control Bypass","categoryId":"PT0023","childrenCount":4,"
1navDescription":"","children":[{"name":"Cognitive Hacking","parentCategory":"Pragmatic Manipulation","categoryId":"PT0024","childrenCount":6,"navDescription":"","children":[{"name":"Contextual Misdirection Prompting","parentCategory":"Cognitive Hacking","categoryId":"PT0025","childrenCount":6,"navDescription":"","children":[{"name":"Context Poisoning","parentCategory":"Contextual Misdirection Prompting","categoryId":"PT0178","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Authoritative Context Framing","parentCategory":"Contextual Misdirection Prompting","categoryId":"PT0186","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Context Shift Prompting","parentCategory":"Contextual Misdirection Prompting","categoryId":"PT0026","childrenCount":5,"navDescription":"","children":[{"name":"Isolated Context Prompting","parentCategory":"Context Shift Prompting","categoryId":"PT0027","childrenCount":3,"navDescription":"","children":[{"name":"Sandboxed Context Prompting","parentCategory":"Isolated Context Prompting","categoryId":"PT0028","childrenCount":0,"navDescription":"","children":[],"depth":8},{"name":"Detached Reality Prompting","parentCategory":"Isolated Context Prompting","categoryId":"PT0163","childrenCount":2,"navDescription":"","children":[{"name":"Fictional Reality Prompting","parentCategory":"Detached Reality Prompting","categoryId":"PT0029","childrenCount":0,"navDescription":"","children":[],"depth":9},{"name":"Alternate Reality Prompting","parentCategory":"Detached Reality Prompting","categoryId":"PT0164","childrenCount":0,"navDescription":"","children":[],"depth":9}],"depth":8},{"name":"Test Mode Prompting","parentCategory":"Isolated Context Prompting","categoryId":"PT0030","childrenCount":0,"navDescription":"","children":[],"depth":8}],"depth":7},{"name":"Liability Waiver Prompting","parentCategory":"Context Shift Prompting","categoryId":"PT0162","childrenCount":0,"navDescription":"","children":[],"depth":7},{"name":"Simulated Harm Prompting","parentCategory":"Context Shift Prompting","categoryId":"PT0031","childrenCount":0,"navDescription":"","children":[],"depth":7},{"name":"Privilege Escalation Prompting","parentCategory":"Context Shift Prompting","categoryId":"PT0032","childrenCount":0,"navDescription":"","children":[],"depth":7},{"name":"Mode-Switch Marking Prompting","parentCategory":"Context Shift Prompting","categoryId":"PT0033","childrenCount":0,"navDescription":"","children":[],"depth":7}],"depth":6},{"name":"False Authorization Prompting","parentCategory":"Contextual Misdirection Prompting","categoryId":"PT0034","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"False Constraint Imposition","parentCategory":"Contextual Misdirection Prompting","categoryId":"PT0161","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Task Framing Bypass","parentCategory":"Contextual Misdirection Prompting","categoryId":"PT0173","childrenCount":0,"navDescription":"","children":[],"depth":6}],"depth":5},{"name":"Proactive Refusal Bypass","parentCategory":"Cognitive Hacking","categoryId":"PT0179","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Hypothetical Scenario Prompting","parentCategory":"Cognitive Hacking","categoryId":"PT0035","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Time-Shift Scenario Prompting","parentCategory":"Cognitive Hacking","categoryId":"PT0036","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Counterpart Persona Prompting","parentCategory":"Cognitive Hacking","categoryId":"PT0037","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Role-Play Prompting","parentCategory":"Cognitive Hacking","categoryId":"PT0038","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Sidestepping","parentCategory":"Pragmatic Manipulation","categoryId":"PT0039","childrenCount":4,"
1navDescription":"","children":[{"name":"Task Deflection Prompting","parentCategory":"Sidestepping","categoryId":"PT0040","childrenCount":3,"navDescription":"","children":[{"name":"Compositional Instruction Attack","parentCategory":"Task Deflection Prompting","categoryId":"PT0041","childrenCount":2,"navDescription":"","children":[{"name":"Writing Compositional Instruction Attack","parentCategory":"Compositional Instruction Attack","categoryId":"PT0042","childrenCount":0,"navDescription":"","children":[],"depth":7},{"name":"Talking Compositional Instruction Attack","parentCategory":"Compositional Instruction Attack","categoryId":"PT0043","childrenCount":0,"navDescription":"","children":[],"depth":7}],"depth":6},{"name":"Example Request Sidestepping","parentCategory":"Task Deflection Prompting","categoryId":"PT0044","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Challenge-Solving Prompting","parentCategory":"Task Deflection Prompting","categoryId":"PT0045","childrenCount":0,"navDescription":"","children":[],"depth":6}],"depth":5},{"name":"Preventative Framing Sidestepping","parentCategory":"Sidestepping","categoryId":"PT0224","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Scenario-Based Secret Application","parentCategory":"Sidestepping","categoryId":"PT0046","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Secret Information Probing","parentCategory":"Sidestepping","categoryId":"PT0047","childrenCount":4,"
1navDescription":"","children":[{"name":"Specific Secret Attribute Probing","parentCategory":"Secret Information Probing","categoryId":"PT0048","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Secret Linguistic Property Probing","parentCategory":"Secret Information Probing","categoryId":"PT0049","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Secret Definitional Probing","parentCategory":"Secret Information Probing","categoryId":"PT0050","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Secret Comparison Probing","parentCategory":"Secret Information Probing","categoryId":"PT0051","childrenCount":0,"navDescription":"","children":[],"depth":6}],"depth":5}],"depth":4},{"name":"Response Steering Prompting","parentCategory":"Pragmatic Manipulation","categoryId":"PT0052","childrenCount":8,"navDescription":"","children":[{"name":"Constraint Imposition Prompting","parentCategory":"Response Steering Prompting","categoryId":"PT0053","childrenCount":3,"navDescription":"","children":[{"name":"Low-Resource Language Prompting","parentCategory":"Constraint Imposition Prompting","categoryId":"PT0054","childrenCount":3,"navDescription":"","children":[{"name":"Low-Resource Natural Language Prompting","parentCategory":"Low-Resource Language Prompting","categoryId":"PT0055","childrenCount":0,"navDescription":"","children":[],"depth":7},{"name":"Informal Language Prompting","parentCategory":"Low-Resource Language Prompting","categoryId":"PT0056","childrenCount":0,"navDescription":"","children":[],"depth":7},{"name":"Technical Jargon Prompting","parentCategory":"Low-Resource Language Prompting","categoryId":"PT0057","childrenCount":0,"navDescription":"","children":[],"depth":7}],"depth":6},{"name":"Input Constraint Prompting","parentCategory":"Constraint Imposition Prompting","categoryId":"PT0189","childrenCount":1,"navDescription":"","children":[{"name":"Semantics Constraint Prompting","parentCategory":"Input Constraint Prompting","categoryId":"PT0190","childrenCount":0,"navDescription":"","children":[],"depth":7}],"depth":6},{"name":"Output Constraint Prompting","parentCategory":"Constraint Imposition Prompting","categoryId":"PT0058","childrenCount":2,"navDescription":"","children":[{"name":"Output Seeding","parentCategory":"Output Constraint Prompting","categoryId":"PT0059","childrenCount":4,"
1navDescription":"","children":[{"name":"Leading Response Prompting","parentCategory":"Output Seeding","categoryId":"PT0060","childrenCount":0,"navDescription":"","children":[],"depth":8},{"name":"Explicit Instructional Text Completion","parentCategory":"Output Seeding","categoryId":"PT0016","childrenCount":0,"navDescription":"","children":[],"depth":8},{"name":"Forged Affirmation Prompting","parentCategory":"Output Seeding","categoryId":"PT0061","childrenCount":0,"navDescription":"","children":[],"depth":8},{"name":"Implicit Instructional Text Completion","parentCategory":"Output Seeding","categoryId":"PT0017","childrenCount":0,"navDescription":"","children":[],"depth":8}],"depth":7},{"name":"Style Constraint Prompting","parentCategory":"Output Constraint Prompting","categoryId":"PT0062","childrenCount":0,"navDescription":"","children":[],"depth":7}],"depth":6}],"depth":5},{"name":"Instruction Legitimacy Prompting","parentCategory":"Response Steering Prompting","categoryId":"PT0064","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Instruction Repetition","parentCategory":"Response Steering Prompting","categoryId":"PT0065","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Decoy Task Prompting","parentCategory":"Response Steering Prompting","categoryId":"PT0066","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Irrelevant Safety Prioritization Prompting","parentCategory":"Response Steering Prompting","categoryId":"PT0067","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Interpersonal Persuasion Techniques","parentCategory":"Response Steering Prompting","categoryId":"PT0068","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Topic Repetition Prompting","parentCategory":"Response Steering Prompting","categoryId":"PT0069","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Decoy Conditional Prompting","parentCategory":"Response Steering Prompting","categoryId":"PT0070","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Personality Assignment","parentCategory":"Pragmatic Manipulation","categoryId":"PT0071","childrenCount":0,"navDescription":"","children":[],"depth":4}],"depth":3},{"name":"Autonomous Planning Manipulation","parentCategory":"Cognitive Control Bypass","categoryId":"PT0234","childrenCount":1,"navDescription":"","children":[{"name":"Goal Decomposition Exploitation","parentCategory":"Autonomous Planning Manipulation","categoryId":"PT0227","childrenCount":1,"navDescription":"","children":[{"name":"Constraint-Driven Task Steering","parentCategory":"Goal Decomposition Exploitation","categoryId":"PT0228","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4}],"depth":3},{"name":"Unintelligible Input Prompting","parentCategory":"Cognitive Control Bypass","categoryId":"PT0072","childrenCount":2,"navDescription":"","children":[{"name":"Adversarial Sequence Insertion","parentCategory":"Unintelligible Input Prompting","categoryId":"PT0073","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Non-Standard Token Exploitation","parentCategory":"Unintelligible Input Prompting","categoryId":"PT0074","childrenCount":1,"navDescription":"","children":[{"name":"Glitched Token Exploitation","parentCategory":"Non-Standard Token Exploitation","categoryId":"PT0075","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4}],"depth":3},{"name":"Higher-Level Functioning Disruption","parentCategory":"Cognitive Control Bypass","categoryId":"PT0077","childrenCount":4,"
1navDescription":"","children":[{"name":"Control Structure Subversion","parentCategory":"Higher-Level Functioning Disruption","categoryId":"PT0230","childrenCount":2,"navDescription":"","children":[{"name":"Cognitive Token Suppression","parentCategory":"Control Structure Subversion","categoryId":"PT0197","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Control Token Tampering","parentCategory":"Control Structure Subversion","categoryId":"PT0196","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Logical Evaluation Subversion","parentCategory":"Higher-Level Functioning Disruption","categoryId":"PT0231","childrenCount":4,"navDescription":"","children":[{"name":"Reasoning Process Hijacking","parentCategory":"Logical Evaluation Subversion","categoryId":"PT0165","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Guided Reasoning Manipulation","parentCategory":"Logical Evaluation Subversion","categoryId":"PT0182","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Reasoning Conflict Induction","parentCategory":"Logical Evaluation Subversion","categoryId":"PT0080","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Self-Contradictory Prompting","parentCategory":"Logical Evaluation Subversion","categoryId":"PT0063","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Attention Capacity Overload","parentCategory":"Higher-Level Functioning Disruption","categoryId":"PT0232","childrenCount":2,"navDescription":"","children":[{"name":"Generation Length Bypass","parentCategory":"Attention Capacity Overload","categoryId":"PT0185","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Cognitive Overload Disruption","parentCategory":"Attention Capacity Overload","categoryId":"PT0174","childrenCount":2,"navDescription":"","children":[{"name":"Complex Task Disruption","parentCategory":"Cognitive Overload Disruption","categoryId":"PT0184","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Sandwich Attack (Cognitive Overload)","parentCategory":"Cognitive Overload Disruption","categoryId":"PT0175","childrenCount":0,"navDescription":"","children":[],"depth":6}],"depth":5}],"depth":4},{"name":"Generative State Disruption","parentCategory":"Higher-Level Functioning Disruption","categoryId":"PT0233","childrenCount":1,"navDescription":"","children":[{"name":"Hallucination-Based Bypass","parentCategory":"Generative State Disruption","categoryId":"PT0078","childrenCount":1,"navDescription":"","children":[{"name":"Reversed Text Hallucination Induction","parentCategory":"Hallucination-Based Bypass","categoryId":"PT0079","childrenCount":0,"navDescription":"","children":[],"depth":6}],"depth":5}],"depth":4}],"depth":3}],"depth":2},{"name":"Prompt Boundary Manipulation","parentCategory":"Attacker Prompting Techniques","categoryId":"PT0081","childrenCount":2,"navDescription":"","children":[{"name":"Textual Boundary Mimicry","parentCategory":"Prompt Boundary Manipulation","categoryId":"PT0199","childrenCount":5,"navDescription":"","children":[{"name":"Prompt Boundary Separator Injection","parentCategory":"Textual Boundary Mimicry","categoryId":"PT0083","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"False System Prompt Continuation","parentCategory":"Textual Boundary Mimicry","categoryId":"PT0084","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Closing System Prompt Negation","parentCategory":"Textual Boundary Mimicry","categoryId":"PT0085","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"False Input Termination","parentCategory":"Textual Boundary Mimicry","categoryId":"PT0082","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Integrated Data Schema Mimicry","parentCategory":"Textual Boundary Mimicry","categoryId":"PT0210","childrenCount":0,"navDescription":"","children":[],"depth":4}],"depth":3},{"name":"Special Token Injection","parentCategory":"Prompt Boundary Manipulation","categoryId":"PT0198","childrenCount":0,"navDescription":"","children":[],"depth":3}],"depth":2},{"name":"Instruction Reformulation","parentCategory":"Attacker Prompting Techniques","categoryId":"PT0086","childrenCount":4,"
1navDescription":"","children":[{"name":"Instruction Obfuscation","parentCategory":"Instruction Reformulation","categoryId":"PT0087","childrenCount":5,"navDescription":"","children":[{"name":"Orthographic Manipulation","parentCategory":"Instruction Obfuscation","categoryId":"PT0088","childrenCount":8,"navDescription":"","children":[{"name":"Base-N Encoding","parentCategory":"Orthographic Manipulation","categoryId":"PT0089","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Character Representation Manipulation","parentCategory":"Orthographic Manipulation","categoryId":"PT0090","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Character Form Manipulation","parentCategory":"Orthographic Manipulation","categoryId":"PT0192","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Visual Substitution","parentCategory":"Orthographic Manipulation","categoryId":"PT0091","childrenCount":3,"navDescription":"","children":[{"name":"Homoglyph Substitution","parentCategory":"Visual Substitution","categoryId":"PT0092","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Pictographic Character Substitution","parentCategory":"Visual Substitution","categoryId":"PT0194","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Text-Based Art Substitution","parentCategory":"Visual Substitution","categoryId":"PT0093","childrenCount":0,"navDescription":"","children":[],"depth":6}],"depth":5},{"name":"Formatting Disruption","parentCategory":"Orthographic Manipulation","categoryId":"PT0094","childrenCount":3,"navDescription":"","children":[{"name":"Extraneous Character Injection","parentCategory":"Formatting Disruption","categoryId":"PT0095","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Formatting Element Omission","parentCategory":"Formatting Disruption","categoryId":"PT0202","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Intentional Formatting Disruption","parentCategory":"Formatting Disruption","categoryId":"PT0096","childrenCount":0,"navDescription":"","children":[],"depth":6}],"depth":5},{"name":"Pictographic Word Substitution","parentCategory":"Orthographic Manipulation","categoryId":"PT0195","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"String Decomposition","parentCategory":"Orthographic Manipulation","categoryId":"PT0097","childrenCount":1,"navDescription":"","children":[{"name":"Decomposition to Character Array","parentCategory":"String Decomposition","categoryId":"PT0098","childrenCount":0,"navDescription":"","children":[],"depth":6}],"depth":5},{"name":"Provided-Key Encryption","parentCategory":"Orthographic Manipulation","categoryId":"PT0100","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Phonetic Manipulation","parentCategory":"Instruction Obfuscation","categoryId":"PT0170","childrenCount":2,"navDescription":"","children":[{"name":"Phonetic Alphabet Transcription","parentCategory":"Phonetic Manipulation","categoryId":"PT0171","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Phonetic Respelling","parentCategory":"Phonetic Manipulation","categoryId":"PT0172","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Parser-Ignored Syntax Obfuscation","parentCategory":"Instruction Obfuscation","categoryId":"PT0204","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Garbled Text Evasion","parentCategory":"Instruction Obfuscation","categoryId":"PT0101","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"In-Prompt Payload Decomposition","parentCategory":"Instruction Obfuscation","categoryId":"PT0102","childrenCount":3,"navDescription":"","children":[{"name":"In-Prompt Fragment Concatenation","parentCategory":"In-Prompt Payload Decomposition","categoryId":"PT0103","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Algorithmic Payload Decomposition","parentCategory":"In-Prompt Payload Decomposition","categoryId":"PT0200","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Syntactic Decomposition","parentCategory":"In-Prompt Payload Decomposition","categoryId":"PT0183","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4}],"depth":3},{"name":"Natural Language Manipulation","parentCategory":"Instruction Reformulation","categoryId":"PT0104","childrenCount":4,"
1navDescription":"","children":[{"name":"Non-Semantic Word Modification","parentCategory":"Natural Language Manipulation","categoryId":"PT0105","childrenCount":3,"navDescription":"","children":[{"name":"Intra-Word Transposition","parentCategory":"Non-Semantic Word Modification","categoryId":"PT0193","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Typo Injection","parentCategory":"Non-Semantic Word Modification","categoryId":"PT0106","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Algorithmic Word Transformation","parentCategory":"Non-Semantic Word Modification","categoryId":"PT0107","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Non-Semantic Sentence Modification","parentCategory":"Natural Language Manipulation","categoryId":"PT0108","childrenCount":3,"navDescription":"","children":[{"name":"Word Addition and Removal","parentCategory":"Non-Semantic Sentence Modification","categoryId":"PT0109","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Intra-Sentence Reordering","parentCategory":"Non-Semantic Sentence Modification","categoryId":"PT0110","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Paraphrastic Substitution","parentCategory":"Non-Semantic Sentence Modification","categoryId":"PT0111","childrenCount":3,"navDescription":"","children":[{"name":"Euphemistic Substitution","parentCategory":"Paraphrastic Substitution","categoryId":"PT0112","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Indirect Reference Substitution","parentCategory":"Paraphrastic Substitution","categoryId":"PT0113","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Synonym Substitution","parentCategory":"Paraphrastic Substitution","categoryId":"PT0114","childrenCount":2,"navDescription":"","children":[{"name":"Common Synonym Substitution","parentCategory":"Synonym Substitution","categoryId":"PT0115","childrenCount":0,"navDescription":"","children":[],"depth":7},{"name":"Uncommon Synonym Substitution","parentCategory":"Synonym Substitution","categoryId":"PT0116","childrenCount":0,"navDescription":"","children":[],"depth":7}],"depth":6}],"depth":5}],"depth":4},{"name":"Literary Style Formulation","parentCategory":"Natural Language Manipulation","categoryId":"PT0203","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Multilingual Formulation","parentCategory":"Natural Language Manipulation","categoryId":"PT0181","childrenCount":0,"navDescription":"","children":[],"depth":4}],"depth":3},{"name":"Surrogate Format Prompting","parentCategory":"Instruction Reformulation","categoryId":"PT0120","childrenCount":3,"navDescription":"","children":[{"name":"Data Structure Encapsulation","parentCategory":"Surrogate Format Prompting","categoryId":"PT0219","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Programmatic Formulation","parentCategory":"Surrogate Format Prompting","categoryId":"PT0220","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Template Completion Prompting","parentCategory":"Surrogate Format Prompting","categoryId":"PT0221","childrenCount":0,"navDescription":"","children":[],"depth":4}],"depth":3},{"name":"Context Overload Prompting","parentCategory":"Instruction Reformulation","categoryId":"PT0121","childrenCount":2,"navDescription":"","children":[{"name":"Context Overflow","parentCategory":"Context Overload Prompting","categoryId":"PT0122","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Context Padding","parentCategory":"Context Overload Prompting","categoryId":"PT0123","childrenCount":0,"navDescription":"","children":[],"depth":4}],"depth":3}],"depth":2},{"name":"Integrative Instruction Prompting","parentCategory":"Attacker Prompting Techniques","categoryId":"PT0127","childrenCount":2,"navDescription":"","children":[{"name":"Multi-Turn Prompting","parentCategory":"Integrative Instruction Prompting","categoryId":"PT0128","childrenCount":3,"navDescription":"","children":[{"name":"Gradual Steering","parentCategory":"Multi-Turn Prompting","categoryId":"PT0130","childrenCount":3,"navDescription":"","children":[{"name":"Crescendo Attack","parentCategory":"Gradual Steering","categoryId":"PT0131","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Deceptive Delight Attack","parentCategory":"Gradual Steering","categoryId":"PT0132","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Output-Driven Steering","parentCategory":"Gradual Steering","categoryId":"PT0133","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Multi-Turn Payload Decomposition","parentCategory":"Multi-Turn Prompting","categoryId":"PT0129","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"In-Session Protocol Setup","parentCategory":"Multi-Turn Prompting","categoryId":"PT0134","childrenCount":5,"navDescription":"","children":[{"name":"In-Session Variable Definition","parentCategory":"In-Session Protocol Setup","categoryId":"PT0135","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"In-Session Codeword Definition","parentCategory":"In-Session Protocol Setup","categoryId":"PT0136","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"In-Session Command Definition","parentCategory":"In-Session Protocol Setup","categoryId":"PT0180","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"In-Session Substitution Rule Definition","parentCategory":"In-Session Protocol Setup","categoryId":"PT0137","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"In-Session Encoding Scheme Definition","parentCategory":"In-Session Protocol Setup","categoryId":"PT0138","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4}],"depth":3},{"name":"Knowledge Integration Prompting","parentCategory":"Integrative Instruction Prompting","categoryId":"PT0139","childrenCount":2,"navDescription":"","children":[{"name":"Directed Tool Output Integration","parentCategory":"Knowledge Integration Prompting","categoryId":"PT0206","childrenCount":2,"navDescription":"","children":[{"name":"Directed Resource Integration","parentCategory":"Directed Tool Output Integration","categoryId":"PT0140","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Directed Computational Integration","parentCategory":"Directed Tool Output Integration","categoryId":"PT0209","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4},{"name":"Implicit Knowledge Integration","parentCategory":"Knowledge Integration Prompting","categoryId":"PT0141","childrenCount":2,"navDescription":"","children":[{"name":"Cultural Reference Integration","parentCategory":"Implicit Knowledge Integration","categoryId":"PT0158","childrenCount":0,"navDescription":"","children":[],"depth":5},{"name":"Procedural Knowledge Integration","parentCategory":"Implicit Knowledge Integration","categoryId":"PT0160","childrenCount":0,"navDescription":"","children":[],"depth":5}],"depth":4}],"depth":3}],"depth":2},{"name":"Multimodal Prompting Attacks","parentCategory":"Attacker Prompting Techniques","categoryId":"PT0144","childrenCount":4,"
1navDescription":"","children":[{"name":"Cross-Modal Payload Smuggling","parentCategory":"Multimodal Prompting Attacks","categoryId":"PT0145","childrenCount":3,"navDescription":"","children":[{"name":"Media Payload Concealment","parentCategory":"Cross-Modal Payload Smuggling","categoryId":"PT0149","childrenCount":2,"navDescription":"","children":[{"name":"Visual Payload Obfuscation","parentCategory":"Media Payload Concealment","categoryId":"PT0150","childrenCount":3,"navDescription":"","children":[{"name":"Visual Text Concealment","parentCategory":"Visual Payload Obfuscation","categoryId":"PT0151","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Visual Text Distortion","parentCategory":"Visual Payload Obfuscation","categoryId":"PT0152","childrenCount":0,"navDescription":"","children":[],"depth":6},{"name":"Transform-Activated Visual Payload","parentCategory":"Visual Payload Obfuscation","categoryId":"PT0177","childrenCount":0,"navDescription":"","children":[],"depth":6}],"depth":5},{"name":"Audio Payload Obfuscation","parentCategory":"Media Payload Concealment","categoryId":"PT0153","childrenCount":1,"navDescription":"","children":[{"name":"Ambient Acoustic Concealment","parentCategory":"Audio Payload Obfuscation","categoryId":"PT0217","childrenCount":0,"navDescription":"","children":[],"depth":6}],"depth":5}],"depth":4},{"name":"Media Payload Extraction","parentCategory":"Cross-Modal Payload Smuggling","categoryId":"PT0169","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Acoustic Transcription Poisoning","parentCategory":"Cross-Modal Payload Smuggling","categoryId":"PT0168","childrenCount":0,"navDescription":"","children":[],"depth":4}],"depth":3},{"name":"Unintelligible Media Prompting","parentCategory":"Multimodal Prompting Attacks","categoryId":"PT0218","childrenCount":0,"navDescription":"","children":[],"depth":3},{"name":"Cross-Modal Alignment Disruption","parentCategory":"Multimodal Prompting Attacks","categoryId":"PT0166","childrenCount":2,"navDescription":"","children":[{"name":"Non-Semantic Visual Disruption","parentCategory":"Cross-Modal Alignment Disruption","categoryId":"PT0222","childrenCount":0,"navDescription":"","children":[],"depth":4},{"name":"Non-Semantic Acoustic Disruption","parentCategory":"Cross-Modal Alignment Disruption","categoryId":"PT0167","childrenCount":0,"navDescription":"","children":[],"depth":4}],"depth":3},{"name":"Multimodal Parameter Integration Prompting","parentCategory":"Multimodal Prompting Attacks","categoryId":"PT0146","childrenCount":0,"navDescription":"","children":[],"depth":3}],"depth":2},{"name":"Adversarial Constraint Triggering","parentCategory":"Attacker Prompting Techniques","categoryId":"PT0211","childrenCount":1,"navDescription":"","children":[{"name":"Content Policy Triggering","parentCategory":"Adversarial Constraint Triggering","categoryId":"PT0212","childrenCount":0,"navDescription":"","children":[],"depth":3}],"depth":2}],"depth":1,"totalNestedChildren":202}],"depth":0,"childrenCount":2}'),a=n(61131),s=n(13076);const c={MARKDOWN:"markdown",TEXT:"text",BASE64:"base64",BLOCK:"block"},l={color:i.J.PrimaryContrast,opacity:.9,"&:visited":{color:i.J.PrimaryContrast}},u={fontFamily:"Inter",...l},h={...u,fontSize:"15px"},d=(0,a.Ay)(s.A)({fontWeight:600,fontSize:"15px",fontFamily:"Inter",letterSpacing:0,lineHeight:1,marginBottom:"10px"}),p=(0,a.Ay)(d)({color:"#C174FF"}),f=o,g={OA:"Overt Approach",IIM:"Indirect Injection Method",SCA:"Social/Cognitive Attack",EA:"Evasive Approach"},m=(0,a.Ay)(s.A)({fontSize:"18px",letterSpacing:0,fontWeight:600,maxWidth:"fit-content",lineHeight:"unset"}),y={category:"Taxonomy of Prompt Injection Attack Methods",parentCategory:"root",id:"root",description:"[Prompt Injection (PI)](https://www.crowdstrike.com/en-us/resources/infographics/taxonomy-of-prompt-injection-methods/) is the #1 OWASP security risk for GenAI apps, where attacker instructions cause unwanted behavior. Protecting against PI requires understanding the diverse set of attacker methods. New PI attacks arise daily.\n\nPangea researchers have studied emerging methods extensively, developing the taxonomy shown here. For an overview of the taxonomy, see our [introductory article](https://www.crowdstrike.com/en-us
1/resources/infographics/taxonomy-of-prompt-injection-methods/). Click on the two dimensions above or their categories to begin exploring the taxonomy interactively.",examples:[],subcategories:[],breadcrumbs:[],classes:[{id:"OA",description:"The **Overt Approaches** class includes the two most straightforward and clearly visible methods to approach a PI attack. These are what attackers might try first before moving on to more involved methods where needed. Specifically, this class includes both:\n1. **Attacker-submitted injections:** The method where the attacker sends the attacking instructions directly on their user prompt. (This is sometimes called direct PI (DPI)).\n2. **Overt instructions:** The method of making a direct and unfiltered request."},{id:"IIM",description:"The **Indirect Injection Methods** class includes any method other than attacker-submitted injection of getting malicious instructions to the model. That is, the attacker isnât directly submitting it as their prompt. The injection can be:\n1. From data drawn into the inference pipeline into the context window, such as via [RAG](https://www.crowdstrike.com/en-us/cybersecurity-101/artificial-intelligence/retrieval-augmented-generation-rag/) (a common case). Here, the attacker strategically embeds the malicious instructions in places that the LLM will process to feed its inference pipeline; they do not need access to the user prompt. This allows attackers to bypass prompt-specific countermeasures and potentially other restrictions.\n2. On a user prompt, but not the attackerâs user prompt (two examples below)."},{id:"SCA",description:"**Social/Cognitive Attacks** predominantly exploit the LLM's cognitive processing and reasoning abilities to bypass security measures. Working directly on the user prompt but going beyond plainly stating instructions, these attacks manipulate the LLM's understanding of the situation, its goals, and the rules it is supposed to follow.\n\nThese attacks resemble social engineering techniques to persuade someone to perform an action they normally would not. An LLM's susceptibility to these tricks varies, but it is not directly related to how knowledgeable or capable the model is overall. Common social engineering tactics used against LLMs include roleplay, hypothetical scenarios, deceptive framing, and emotional appeals.\n\nThe attacks leverage the models' tendency to be helpful and respond appropriately to the given context (technically speaking: to respond in a cooperative and contextually coherent manner), even when doing so leads to unintended or unsafe behaviors. In contrast to attacks using direct commands, cognitive attacks can subtly steer the model to cooperate by changing how it interprets the situation and its objectives.\n\nWhile predominantly used to bypass restrictions, these cognitive techniques can also be inverted to weaponize a model's own rules against itself. In these scenarios, an attacker intentionally injects content designed to violate a strict system constraintâsuch as a core safety policy, privacy boundary, or operational rule. Instead of tricking the model into helping, this deliberately triggers the AI's defensive fail-safes. By forcing the model into a refusal or causing it to abruptly halt its current task, attackers can effectively blind automated systems, like AI-driven security scanners or document parsers, to the true underlying threat."},{id:"EA",description:"The Evasive Approaches class encompasses prompt-based techniques designed to bypass security filters and manipulate LLMs without employing cognitive exploits. Attackers may need to employ these additional measures in order for an instruction to succeed in the face of countermeasures. These attacks utilize various methods to disguise or obfuscate malicious instructions that make those instructions harder to detect, both within the LLMâs own defenses and by external defenses."}]};function v(t){let e=t,n=t.children?t.children.length:0;if(t.children)for(const r of t.children){const t=v(r),i=t.children?t.children.length:0;i>n&&(e=t,n=i)}return e}function b(t,e){const n=function t(e,n){void 0===n&&(n=null);const r={...e,data:{...e.data,hidden:!1,selectedParent:!1},parent:n,children:e.children?e.children.map(e=>t(e,null)):void 0};
1return r.children&&r.children.forEach(t=>t.parent=r),r}(t),r=[];!function t(e){r.push(e),e.children&&e.children.forEach(t)}(n);const i=r.find(t=>t.data&&t.data.categoryId===e);if(!i)return r.forEach(t=>{t.data.hidden=!1,t.data.selectedParent=!1}),n;const o=new Set;let a=i;for(;a;)o.add(a),a=a.parent;let s=i.parent;for(;s;)s.data.selectedParent=!0,s.data.hidden=!1,s=s.parent;return r.forEach(t=>{t===i||o.has(t.parent)||o.has(t)||t.parent===i?t.data.hidden=!1:t.data.hidden=!0}),n}function C(t,e){if(t.data&&t.data.categoryId===e)return t;if(t.children)for(const n of t.children){const t=C(n,e);if(t)return t}}function w(t){const e=[];let n=[t];for(;n.length>0;){const t=n.map(t=>t.children?(0,r.A)(t.children):[]).filter(t=>t.length>0);if(t.length>0){const n=t.some(t=>t.some(t=>!t.data.hidden)),r=Object.assign(t,{hidden:!n});e.push(r)}const i=n.flatMap(t=>{var e;return null!==(e=t.children)&&void 0!==e?e:[]});n=i}return e}function P(t){const e=[];return function t(n){e.push(n),n.children&&n.children.forEach(t)}(t),e}}}]); 2//# sourceMappingURL=544c1291e67eedce8cb52b46f2cdaa6e8c9cd73d-65746409c4b4e5283035.js.map
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.