/*! For license information please see index.js.LICENSE.txt */ (self.webpackChunkmy_application=self.webpackChunkmy_application||[]).push([[4826],{7873:function(e,n){"use strict";var t,r=this&&this.__awaiter||function(e,n,t,r){return new(t||(t=Promise))((function(a,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){e.done?a(e.value):new t((function(n){n(e.value)})).then(i,s)}l((r=r.apply(e,n||[])).next())}))};Object.defineProperty(n,"__esModule",{value:!0}),function(e){e.create=function(n){return n?n instanceof Function?{dispose:n}:"dispose"in n?n:n instanceof Set?new a([...n]):n.length>0?new a(n):e.empty:e.empty},e.empty={dispose:()=>{}},e.normalize=function(e){return e?e instanceof a?e.items:"dispose"in e?[e]:e instanceof Set?[...e]:e:[]},e.fn=function(e){const n=new i;function t(){n.dispose()}return e&&e((e=>n.track(e)),(e=>n.untrack(e))),t.track=n.track.bind(n),t.untrack=n.untrack.bind(n),t.dispose=n.dispose,Object.defineProperty(t,"disposed",{get:()=>n.disposed}),t}}(t=n.Disposable||(n.Disposable={}));class a{constructor(e){this.items=e}dispose(){o(this.items)}}function o(e){var n;if(e)if(n=e,Array.isArray(n)||e instanceof Set)for(var t of e)t.dispose();else e.dispose()}n.dispose=o;class i{constructor(){this.disposables=new Set,this.disposed=!1,this.dispose=()=>{this.disposed=!0,o(this.disposables),this.disposables.clear()}}track(e){for(const n of t.normalize(e))this.disposables.add(n);return e}untrack(e){for(const n of t.normalize(e))this.disposables.delete(n);return e}}n.Disposer=i,n.disposeOnReturn=function(e){let n=!1;const a=new Set;try{const s=e((e=>{for(const n of t.normalize(e))a.add(n);return e}),(e=>{for(const n of t.normalize(e))a.delete(n);return e}));return!(i=s)||"object"!=typeof i&&"function"!=typeof i||"function"!=typeof i.then?s:(n=!0,function(){return r(this,void 0,void 0,(function*(){try{return yield s}finally{o(a)}}))}())}finally{n||o(a)}var i},n.addAndDeleteOnDispose=function(e,n,r){return e instanceof Set?(e.add(n),t.create((()=>e.delete(n)))):(e.set(n,r),t.create((()=>e.delete(n))))}},8831:(e,n,t)=>{"use strict";t.d(n,{HK:()=>l,gP:()=>u});var r=t(7294);function a(e,n,t,r){Object.defineProperty(e,n,{get:t,set:r,enumerable:!0,configurable:!0})}var o={};a(o,"SSRProvider",(()=>l)),a(o,"useSSRSafeId",(()=>u)),a(o,"useIsSSR",(()=>d));const i={prefix:String(Math.round(1e10*Math.random())),current:0},s=r.createContext(i);function l(e){let n=(0,r.useContext)(s),t=(0,r.useMemo)((()=>({prefix:n===i?"":`${n.prefix}-${++n.current}`,current:0})),[n]);return r.createElement(s.Provider,{value:t},e.children)}let c=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);function u(e){let n=(0,r.useContext)(s);return n!==i||c||console.warn("When server rendering, you must wrap your application in an to ensure consistent ids are generated between the client and server."),(0,r.useMemo)((()=>e||`react-aria${n.prefix}-${++n.current}`),[e])}function d(){let e=(0,r.useContext)(s)!==i,[n,t]=(0,r.useState)(e);return"undefined"!=typeof window&&e&&(0,r.useLayoutEffect)((()=>{t(!1)}),[]),n}},2092:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(7294);function a(){return(0,r.useState)(null)}},2029:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(7294);const a=function(e){var n=(0,r.useRef)(e);return(0,r.useEffect)((function(){n.current=e}),[e]),n}},8146:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var r=t(7294),a=t(2029);function o(e){var n=(0,a.Z)(e);return(0,r.useCallback)((function(){return n.current&&n.current.apply(n,arguments)}),[n])}},5111:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var r=t(7294),a=t(8146);function o(e,n,t,o){void 0===o&&(o=!1);var i=(0,a.Z)(t);(0,r.useEffect)((function(){var t="function"==typeof e?e():e;return t.addEventListener(n,i,o),function(){return t.removeEventListener(n,i,o)}}),[e])}},4357:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(7294);function a(){return(0,r.useReducer)((function(e){return!e}),!1)[1]}},9585:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var r=t(7294),a=void 0!==t.g&&t.g.navigator&&"ReactNative"===t.g.navigator.product;const o="undefined"!=typeof document||a?r.useLayoutEffect:r.useEffect},5654:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var r=t(7294),a=function(e){return e&&"function"!=typeof e?function(n){e.current=n}:e};const o=function(e,n){return(0,r.useMemo)((function(){return function(e,n){var t=a(e),r=a(n);return function(e){t&&t(e),r&&r(e)}}(e,n)}),[e,n])}},6454:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(7294);function a(){var e=(0,r.useRef)(!0),n=(0,r.useRef)((function(){return e.current}));return(0,r.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),n.current}},8833:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(7294);function a(e){var n=(0,r.useRef)(null);return(0,r.useEffect)((function(){n.current=e})),n.current}},5088:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=t(7294);function a(e){var n,t,a=(n=e,(t=(0,r.useRef)(n)).current=n,t);(0,r.useEffect)((function(){return function(){return a.current()}}),[])}},3735:(e,n,t)=>{"use strict";t.d(n,{Z:()=>c});var r=t(7294),a=(t(2092),t(2029),t(8146));t(5111),t(6454),t(8833),t(9585),new WeakMap;var o=t(861),i=t(5893);const s=["onKeyDown"],l=r.forwardRef(((e,n)=>{let{onKeyDown:t}=e,r=function(e,n){if(null==e)return{};var t,r,a={},o=Object.keys(e);for(r=0;r=0||(a[t]=e[t]);return a}(e,s);const[l]=(0,o.FT)(Object.assign({tagName:"a"},r)),c=(0,a.Z)((e=>{l.onKeyDown(e),null==t||t(e)}));return(u=r.href)&&"#"!==u.trim()&&"button"!==r.role?(0,i.jsx)("a",Object.assign({ref:n},r,{onKeyDown:t})):(0,i.jsx)("a",Object.assign({ref:n},r,l,{onKeyDown:c}));var u}));l.displayName="Anchor";const c=l},861:(e,n,t)=>{"use strict";t.d(n,{FT:()=>i,ZP:()=>l});var r=t(7294),a=t(5893);const o=["as","disabled"];function i({tagName:e,disabled:n,href:t,target:r,rel:a,role:o,onClick:i,tabIndex:s=0,type:l}){e||(e=null!=t||null!=r||null!=a?"a":"button");const c={tagName:e};if("button"===e)return[{type:l||"button",disabled:n},c];const u=r=>{(n||"a"===e&&function(e){return!e||"#"===e.trim()}(t))&&r.preventDefault(),n?r.stopPropagation():null==i||i(r)};return"a"===e&&(t||(t="#"),n&&(t=void 0)),[{role:null!=o?o:"button",disabled:void 0,tabIndex:n?void 0:s,href:t,target:"a"===e?r:void 0,"aria-disabled":n||void 0,rel:"a"===e?a:void 0,onClick:u,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),u(e))}},c]}const s=r.forwardRef(((e,n)=>{let{as:t,disabled:r}=e,s=function(e,n){if(null==e)return{};var t,r,a={},o=Object.keys(e);for(r=0;r=0||(a[t]=e[t]);return a}(e,o);const[l,{tagName:c}]=i(Object.assign({tagName:t,disabled:r},s));return(0,a.jsx)(c,Object.assign({},s,l,{ref:n}))}));s.displayName="Button";const l=s},2747:(e,n,t)=>{"use strict";function r(e){return`data-rr-ui-${e}`}function a(e){return`rrUi${e}`}t.d(n,{$F:()=>a,PB:()=>r})},3577:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});const r=t(7294).createContext(null)},9319:(e,n,t)=>{"use strict";t.d(n,{Z:()=>m,d:()=>f});var r=t(7294),a=t(2092),o=t(3577),i=t(7446),s=t(5680),l=t(12),c=t(5893);const u=["children"],d=()=>{};function f(e={}){const n=(0,r.useContext)(o.Z),[t,c]=(0,a.Z)(),u=(0,r.useRef)(!1),{flip:f,offset:p,rootCloseEvent:m,fixed:h=!1,placement:b,popperConfig:g={},enableEventListeners:v=!0,usePopper:y=!!n}=e,x=null==(null==n?void 0:n.show)?!!e.show:n.show;x&&!u.current&&(u.current=!0);const{placement:E,setMenu:w,menuElement:C,toggleElement:_}=n||{},S=(0,i.Z)(_,C,(0,l.ZP)({placement:b||E||"bottom-start",enabled:y,enableEvents:null==v?x:v,offset:p,flip:f,fixed:h,arrowElement:t,popperConfig:g})),N=Object.assign({ref:w||d,"aria-labelledby":null==_?void 0:_.id},S.attributes.popper,{style:S.styles.popper}),k={show:x,placement:E,hasShown:u.current,toggle:null==n?void 0:n.toggle,popper:y?S:null,arrowProps:y?Object.assign({ref:c},S.attributes.arrow,{style:S.styles.arrow}):{}};return(0,s.Z)(C,(e=>{null==n||n.toggle(!1,e)}),{clickTrigger:m,disabled:!x}),[N,k]}function p(e){let{children:n}=e,t=function(e,n){if(null==e)return{};var t,r,a={},o=Object.keys(e);for(r=0;r=0||(a[t]=e[t]);return a}(e,u);const[r,a]=f(t);return(0,c.jsx)(c.Fragment,{children:n(r,a)})}p.displayName="DropdownMenu",p.defaultProps={usePopper:!0};const m=p},541:(e,n,t)=>{"use strict";t.d(n,{Jr:()=>c,ZP:()=>d,bt:()=>s});var r=t(7294),a=t(8831),o=t(3577),i=t(5893);const s=e=>{var n;return"menu"===(null==(n=e.getAttribute("role"))?void 0:n.toLowerCase())},l=()=>{};function c(){const e=(0,a.gP)(),{show:n=!1,toggle:t=l,setToggle:i,menuElement:c}=(0,r.useContext)(o.Z)||{},u=(0,r.useCallback)((e=>{t(!n,e)}),[n,t]),d={id:e,ref:i||l,onClick:u,"aria-expanded":!!n};return c&&s(c)&&(d["aria-haspopup"]=!0),[d,{show:n,toggle:t}]}function u({children:e}){const[n,t]=c();return(0,i.jsx)(i.Fragment,{children:e(n,t)})}u.displayName="DropdownToggle";const d=u},917:(e,n,t)=>{"use strict";t.d(n,{Z:()=>E});var r=t(7216);function a(e){void 0===e&&(e=(0,r.Z)());try{var n=e.activeElement;return n&&n.nodeName?n:null}catch(n){return e.body}}var o=t(424),i=t(3004),s=t(2950),l=t(7294),c=t(3935),u=t(6454),d=t(5088),f=t(8833),p=t(8146),m=t(6039),h=t(4194),b=t(2963),g=t(5893);const v=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","backdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];let y;const x=(0,l.forwardRef)(((e,n)=>{let{show:t=!1,role:r="dialog",className:x,style:E,children:w,backdrop:C=!0,keyboard:_=!0,onBackdropClick:S,onEscapeKeyDown:N,transition:k,backdropTransition:O,autoFocus:P=!0,enforceFocus:T=!0,restoreFocus:R=!0,restoreFocusOptions:I,renderDialog:A,renderBackdrop:D=(e=>(0,g.jsx)("div",Object.assign({},e))),manager:L,container:j,onShow:M,onHide:F=(()=>{}),onExit:B,onExited:U,onExiting:z,onEnter:V,onEntering:$,onEntered:H}=e,Z=function(e,n){if(null==e)return{};var t,r,a={},o=Object.keys(e);for(r=0;r=0||(a[t]=e[t]);return a}(e,v);const G=(0,h.Z)(j),W=function(e){const n=(0,b.Z)(),t=e||function(e){return y||(y=new m.Z({ownerDocument:null==e?void 0:e.document})),y}(n),r=(0,l.useRef)({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>t.add(r.current),remove:()=>t.remove(r.current),isTopModal:()=>t.isTopModal(r.current),setDialogRef:(0,l.useCallback)((e=>{r.current.dialog=e}),[]),setBackdropRef:(0,l.useCallback)((e=>{r.current.backdrop=e}),[])})}(L),X=(0,u.Z)(),q=(0,f.Z)(t),[K,J]=(0,l.useState)(!t),Y=(0,l.useRef)(null);(0,l.useImperativeHandle)(n,(()=>W),[W]),i.Z&&!q&&t&&(Y.current=a()),k||t||K?t&&K&&J(!1):J(!0);const Q=(0,p.Z)((()=>{if(W.add(),oe.current=(0,s.Z)(document,"keydown",re),ae.current=(0,s.Z)(document,"focus",(()=>setTimeout(ne)),!0),M&&M(),P){const e=a(document);W.dialog&&e&&!(0,o.Z)(W.dialog,e)&&(Y.current=e,W.dialog.focus())}})),ee=(0,p.Z)((()=>{var e;W.remove(),null==oe.current||oe.current(),null==ae.current||ae.current(),R&&(null==(e=Y.current)||null==e.focus||e.focus(I),Y.current=null)}));(0,l.useEffect)((()=>{t&&G&&Q()}),[t,G,Q]),(0,l.useEffect)((()=>{K&&ee()}),[K,ee]),(0,d.Z)((()=>{ee()}));const ne=(0,p.Z)((()=>{if(!T||!X()||!W.isTopModal())return;const e=a();W.dialog&&e&&!(0,o.Z)(W.dialog,e)&&W.dialog.focus()})),te=(0,p.Z)((e=>{e.target===e.currentTarget&&(null==S||S(e),!0===C&&F())})),re=(0,p.Z)((e=>{_&&27===e.keyCode&&W.isTopModal()&&(null==N||N(e),e.defaultPrevented||F())})),ae=(0,l.useRef)(),oe=(0,l.useRef)(),ie=k;if(!G||!(t||ie&&!K))return null;const se=Object.assign({role:r,ref:W.setDialogRef,"aria-modal":"dialog"===r||void 0},Z,{style:E,className:x,tabIndex:-1});let le=A?A(se):(0,g.jsx)("div",Object.assign({},se,{children:l.cloneElement(w,{role:"document"})}));ie&&(le=(0,g.jsx)(ie,{appear:!0,unmountOnExit:!0,in:!!t,onExit:B,onExiting:z,onExited:(...e)=>{J(!0),null==U||U(...e)},onEnter:V,onEntering:$,onEntered:H,children:le}));let ce=null;if(C){const e=O;ce=D({ref:W.setBackdropRef,onClick:te}),e&&(ce=(0,g.jsx)(e,{appear:!0,in:!!t,children:ce}))}return(0,g.jsx)(g.Fragment,{children:c.createPortal((0,g.jsxs)(g.Fragment,{children:[ce,le]}),G)})}));x.displayName="Modal";const E=Object.assign(x,{Manager:m.Z})},6039:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var r=t(3164);const a=(0,t(2747).PB)("modal-open"),o=class{constructor({ownerDocument:e,handleContainerOverflow:n=!0,isRTL:t=!1}={}){this.handleContainerOverflow=n,this.isRTL=t,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){const n=e.defaultView;return Math.abs(n.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const n={overflow:"hidden"},t=this.isRTL?"paddingLeft":"paddingRight",o=this.getElement();e.style={overflow:o.style.overflow,[t]:o.style[t]},e.scrollBarWidth&&(n[t]=`${parseInt((0,r.Z)(o,t)||"0",10)+e.scrollBarWidth}px`),o.setAttribute(a,""),(0,r.Z)(o,n)}reset(){[...this.modals].forEach((e=>this.remove(e)))}removeContainerStyle(e){const n=this.getElement();n.removeAttribute(a),Object.assign(n.style,e.style)}add(e){let n=this.modals.indexOf(e);return-1!==n||(n=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==n||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state))),n}remove(e){const n=this.modals.indexOf(e);-1!==n&&(this.modals.splice(n,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}},5115:(e,n,t)=>{"use strict";t.d(n,{Z:()=>g});var r=t(930),a=t(7294),o=t(4357),i=t(5654),s=t(6056),l=t(7126),c=t(6626),u=t(2747),d=t(3716),f=t(5893);const p=["as","onSelect","activeKey","role","onKeyDown"],m=()=>{},h=(0,u.PB)("event-key"),b=a.forwardRef(((e,n)=>{let{as:t="div",onSelect:d,activeKey:b,role:g,onKeyDown:v}=e,y=function(e,n){if(null==e)return{};var t,r,a={},o=Object.keys(e);for(r=0;r=0||(a[t]=e[t]);return a}(e,p);const x=(0,o.Z)(),E=(0,a.useRef)(!1),w=(0,a.useContext)(l.Z),C=(0,a.useContext)(c.Z);let _,S;C&&(g=g||"tablist",b=C.activeKey,_=C.getControlledId,S=C.getControllerId);const N=(0,a.useRef)(null),k=e=>{const n=N.current;if(!n)return null;const t=(0,r.Z)(n,`[${h}]:not([aria-disabled=true])`),a=n.querySelector("[aria-selected=true]");if(!a||a!==document.activeElement)return null;const o=t.indexOf(a);if(-1===o)return null;let i=o+e;return i>=t.length&&(i=0),i<0&&(i=t.length-1),t[i]},O=(e,n)=>{null!=e&&(null==d||d(e,n),null==w||w(e,n))};(0,a.useEffect)((()=>{if(N.current&&E.current){const e=N.current.querySelector(`[${h}][aria-selected=true]`);null==e||e.focus()}E.current=!1}));const P=(0,i.Z)(n,N);return(0,f.jsx)(l.Z.Provider,{value:O,children:(0,f.jsx)(s.Z.Provider,{value:{role:g,activeKey:(0,l.h)(b),getControlledId:_||m,getControllerId:S||m},children:(0,f.jsx)(t,Object.assign({},y,{onKeyDown:e=>{if(null==v||v(e),!C)return;let n;switch(e.key){case"ArrowLeft":case"ArrowUp":n=k(-1);break;case"ArrowRight":case"ArrowDown":n=k(1);break;default:return}n&&(e.preventDefault(),O(n.dataset[(0,u.$F)("EventKey")]||null,e),E.current=!0,x())},ref:P,role:g}))})})}));b.displayName="Nav";const g=Object.assign(b,{Item:d.Z})},6056:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});const r=t(7294).createContext(null);r.displayName="NavContext";const a=r},3716:(e,n,t)=>{"use strict";t.d(n,{Z:()=>m,v:()=>f});var r=t(7294),a=t(8146),o=t(6056),i=t(7126),s=t(861),l=t(2747),c=t(6626),u=t(5893);const d=["as","active","eventKey"];function f({key:e,onClick:n,active:t,id:s,role:u,disabled:d}){const f=(0,r.useContext)(i.Z),p=(0,r.useContext)(o.Z),m=(0,r.useContext)(c.Z);let h=t;const b={role:u};if(p){u||"tablist"!==p.role||(b.role="tab");const n=p.getControllerId(null!=e?e:null),r=p.getControlledId(null!=e?e:null);b[(0,l.PB)("event-key")]=e,b.id=n||s,h=null==t&&null!=e?p.activeKey===e:t,!h&&(null!=m&&m.unmountOnExit||null!=m&&m.mountOnEnter)||(b["aria-controls"]=r)}return"tab"===b.role&&(b["aria-selected"]=h,h||(b.tabIndex=-1),d&&(b.tabIndex=-1,b["aria-disabled"]=!0)),b.onClick=(0,a.Z)((t=>{d||(null==n||n(t),null!=e&&f&&!t.isPropagationStopped()&&f(e,t))})),[b,{isActive:h}]}const p=r.forwardRef(((e,n)=>{let{as:t=s.ZP,active:r,eventKey:a}=e,o=function(e,n){if(null==e)return{};var t,r,a={},o=Object.keys(e);for(r=0;r=0||(a[t]=e[t]);return a}(e,d);const[c,p]=f(Object.assign({key:(0,i.h)(a,o.href),active:r},o));return c[(0,l.PB)("active")]=p.isActive,(0,u.jsx)(t,Object.assign({},o,c,{ref:n}))}));p.displayName="NavItem";const m=p},7126:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o,h:()=>a});var r=t(7294);const a=(e,n=null)=>null!=e?String(e):n||null,o=r.createContext(null)},6626:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});const r=t(7294).createContext(null)},12:(e,n,t)=>{"use strict";function r(e={}){return Array.isArray(e)?e:Object.keys(e).map((n=>(e[n].name=n,e[n])))}function a({enabled:e,enableEvents:n,placement:t,flip:a,offset:o,fixed:i,containerPadding:s,arrowElement:l,popperConfig:c={}}){var u,d,f,p;const m=function(e){const n={};return Array.isArray(e)?(null==e||e.forEach((e=>{n[e.name]=e})),n):e||n}(c.modifiers);return Object.assign({},c,{placement:t,enabled:e,strategy:i?"fixed":c.strategy,modifiers:r(Object.assign({},m,{eventListeners:{enabled:n},preventOverflow:Object.assign({},m.preventOverflow,{options:s?Object.assign({padding:s},null==(u=m.preventOverflow)?void 0:u.options):null==(d=m.preventOverflow)?void 0:d.options}),offset:{options:Object.assign({offset:o},null==(f=m.offset)?void 0:f.options)},arrow:Object.assign({},m.arrow,{enabled:!!l,options:Object.assign({},null==(p=m.arrow)?void 0:p.options,{element:l})}),flip:Object.assign({enabled:!!a},m.flip)}))})}t.d(n,{ZP:()=>a})},5680:(e,n,t)=>{"use strict";t.d(n,{Z:()=>p,f:()=>d});var r=t(424),a=t(2950),o=t(7216),i=t(7294),s=t(8146),l=t(2473),c=t.n(l);const u=()=>{},d=e=>e&&("current"in e?e.current:e),f={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"},p=function(e,n=u,{disabled:t,clickTrigger:l="click"}={}){const p=(0,i.useRef)(!1),m=(0,i.useRef)(!1),h=(0,i.useCallback)((n=>{const t=d(e);var a;c()(!!t,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),p.current=!t||!!((a=n).metaKey||a.altKey||a.ctrlKey||a.shiftKey)||!function(e){return 0===e.button}(n)||!!(0,r.Z)(t,n.target)||m.current,m.current=!1}),[e]),b=(0,s.Z)((n=>{const t=d(e);t&&(0,r.Z)(t,n.target)&&(m.current=!0)})),g=(0,s.Z)((e=>{p.current||n(e)}));(0,i.useEffect)((()=>{if(t||null==e)return;const n=(0,o.Z)(d(e));let r=(n.defaultView||window).event,i=null;f[l]&&(i=(0,a.Z)(n,f[l],b,!0));const s=(0,a.Z)(n,l,h,!0),c=(0,a.Z)(n,l,(e=>{e!==r?g(e):r=void 0}));let p=[];return"ontouchstart"in n.documentElement&&(p=[].slice.call(n.body.children).map((e=>(0,a.Z)(e,"mousemove",u)))),()=>{null==i||i(),s(),c(),p.forEach((e=>e()))}}),[e,t,l,h,b,g])}},7446:(e,n,t)=>{"use strict";t.d(n,{Z:()=>ge});var r=t(7294),a=Object.prototype.hasOwnProperty;function o(e,n,t){for(t of e.keys())if(i(t,n))return t}function i(e,n){var t,r,s;if(e===n)return!0;if(e&&n&&(t=e.constructor)===n.constructor){if(t===Date)return e.getTime()===n.getTime();if(t===RegExp)return e.toString()===n.toString();if(t===Array){if((r=e.length)===n.length)for(;r--&&i(e[r],n[r]););return-1===r}if(t===Set){if(e.size!==n.size)return!1;for(r of e){if((s=r)&&"object"==typeof s&&!(s=o(n,s)))return!1;if(!n.has(s))return!1}return!0}if(t===Map){if(e.size!==n.size)return!1;for(r of e){if((s=r[0])&&"object"==typeof s&&!(s=o(n,s)))return!1;if(!i(r[1],n.get(s)))return!1}return!0}if(t===ArrayBuffer)e=new Uint8Array(e),n=new Uint8Array(n);else if(t===DataView){if((r=e.byteLength)===n.byteLength)for(;r--&&e.getInt8(r)===n.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===n.byteLength)for(;r--&&e[r]===n[r];);return-1===r}if(!t||"object"==typeof e){for(t in r=0,e){if(a.call(e,t)&&++r&&!a.call(n,t))return!1;if(!(t in n)||!i(e[t],n[t]))return!1}return Object.keys(n).length===r}}return e!=e&&n!=n}var s=t(6454);function l(e){return e.split("-")[0]}function c(e){if(null==e)return window;if("[object Window]"!==e.toString()){var n=e.ownerDocument;return n&&n.defaultView||window}return e}function u(e){return e instanceof c(e).Element||e instanceof Element}function d(e){return e instanceof c(e).HTMLElement||e instanceof HTMLElement}function f(e){return"undefined"!=typeof ShadowRoot&&(e instanceof c(e).ShadowRoot||e instanceof ShadowRoot)}var p=Math.max,m=Math.min,h=Math.round;function b(e,n){void 0===n&&(n=!1);var t=e.getBoundingClientRect(),r=1,a=1;if(d(e)&&n){var o=e.offsetHeight,i=e.offsetWidth;i>0&&(r=h(t.width)/i||1),o>0&&(a=h(t.height)/o||1)}return{width:t.width/r,height:t.height/a,top:t.top/a,right:t.right/r,bottom:t.bottom/a,left:t.left/r,x:t.left/r,y:t.top/a}}function g(e){var n=b(e),t=e.offsetWidth,r=e.offsetHeight;return Math.abs(n.width-t)<=1&&(t=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:e.offsetLeft,y:e.offsetTop,width:t,height:r}}function v(e,n){var t=n.getRootNode&&n.getRootNode();if(e.contains(n))return!0;if(t&&f(t)){var r=n;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function y(e){return e?(e.nodeName||"").toLowerCase():null}function x(e){return c(e).getComputedStyle(e)}function E(e){return["table","td","th"].indexOf(y(e))>=0}function w(e){return((u(e)?e.ownerDocument:e.document)||window.document).documentElement}function C(e){return"html"===y(e)?e:e.assignedSlot||e.parentNode||(f(e)?e.host:null)||w(e)}function _(e){return d(e)&&"fixed"!==x(e).position?e.offsetParent:null}function S(e){for(var n=c(e),t=_(e);t&&E(t)&&"static"===x(t).position;)t=_(t);return t&&("html"===y(t)||"body"===y(t)&&"static"===x(t).position)?n:t||function(e){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&d(e)&&"fixed"===x(e).position)return null;var t=C(e);for(f(t)&&(t=t.host);d(t)&&["html","body"].indexOf(y(t))<0;){var r=x(t);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return t;t=t.parentNode}return null}(e)||n}function N(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function k(e,n,t){return p(e,m(n,t))}function O(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function P(e,n){return n.reduce((function(n,t){return n[t]=e,n}),{})}var T="top",R="bottom",I="right",A="left",D="auto",L=[T,R,I,A],j="start",M="end",F="viewport",B="popper",U=L.reduce((function(e,n){return e.concat([n+"-"+j,n+"-"+M])}),[]),z=[].concat(L,[D]).reduce((function(e,n){return e.concat([n,n+"-"+j,n+"-"+M])}),[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function $(e){return e.split("-")[1]}var H={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var n,t=e.popper,r=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=i.x,m=void 0===p?0:p,b=i.y,g=void 0===b?0:b,v="function"==typeof d?d({x:m,y:g}):{x:m,y:g};m=v.x,g=v.y;var y=i.hasOwnProperty("x"),E=i.hasOwnProperty("y"),C=A,_=T,N=window;if(u){var k=S(t),O="clientHeight",P="clientWidth";k===c(t)&&"static"!==x(k=w(t)).position&&"absolute"===s&&(O="scrollHeight",P="scrollWidth"),(a===T||(a===A||a===I)&&o===M)&&(_=R,g-=(f&&k===N&&N.visualViewport?N.visualViewport.height:k[O])-r.height,g*=l?1:-1),a!==A&&(a!==T&&a!==R||o!==M)||(C=I,m-=(f&&k===N&&N.visualViewport?N.visualViewport.width:k[P])-r.width,m*=l?1:-1)}var D,L=Object.assign({position:s},u&&H),j=!0===d?function(e){var n=e.x,t=e.y,r=window.devicePixelRatio||1;return{x:h(n*r)/r||0,y:h(t*r)/r||0}}({x:m,y:g}):{x:m,y:g};return m=j.x,g=j.y,l?Object.assign({},L,((D={})[_]=E?"0":"",D[C]=y?"0":"",D.transform=(N.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",D)):Object.assign({},L,((n={})[_]=E?g+"px":"",n[C]=y?m+"px":"",n.transform="",n))}var G={passive:!0},W={left:"right",right:"left",bottom:"top",top:"bottom"};function X(e){return e.replace(/left|right|bottom|top/g,(function(e){return W[e]}))}var q={start:"end",end:"start"};function K(e){return e.replace(/start|end/g,(function(e){return q[e]}))}function J(e){var n=c(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Y(e){return b(w(e)).left+J(e).scrollLeft}function Q(e){var n=x(e),t=n.overflow,r=n.overflowX,a=n.overflowY;return/auto|scroll|overlay|hidden/.test(t+a+r)}function ee(e){return["html","body","#document"].indexOf(y(e))>=0?e.ownerDocument.body:d(e)&&Q(e)?e:ee(C(e))}function ne(e,n){var t;void 0===n&&(n=[]);var r=ee(e),a=r===(null==(t=e.ownerDocument)?void 0:t.body),o=c(r),i=a?[o].concat(o.visualViewport||[],Q(r)?r:[]):r,s=n.concat(i);return a?s:s.concat(ne(C(i)))}function te(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function re(e,n){return n===F?te(function(e){var n=c(e),t=w(e),r=n.visualViewport,a=t.clientWidth,o=t.clientHeight,i=0,s=0;return r&&(a=r.width,o=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,s=r.offsetTop)),{width:a,height:o,x:i+Y(e),y:s}}(e)):u(n)?function(e){var n=b(e);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(n):te(function(e){var n,t=w(e),r=J(e),a=null==(n=e.ownerDocument)?void 0:n.body,o=p(t.scrollWidth,t.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=p(t.scrollHeight,t.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),s=-r.scrollLeft+Y(e),l=-r.scrollTop;return"rtl"===x(a||t).direction&&(s+=p(t.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:s,y:l}}(w(e)))}function ae(e){var n,t=e.reference,r=e.element,a=e.placement,o=a?l(a):null,i=a?$(a):null,s=t.x+t.width/2-r.width/2,c=t.y+t.height/2-r.height/2;switch(o){case T:n={x:s,y:t.y-r.height};break;case R:n={x:s,y:t.y+t.height};break;case I:n={x:t.x+t.width,y:c};break;case A:n={x:t.x-r.width,y:c};break;default:n={x:t.x,y:t.y}}var u=o?N(o):null;if(null!=u){var d="y"===u?"height":"width";switch(i){case j:n[u]=n[u]-(t[d]/2-r[d]/2);break;case M:n[u]=n[u]+(t[d]/2-r[d]/2)}}return n}function oe(e,n){void 0===n&&(n={});var t=n,r=t.placement,a=void 0===r?e.placement:r,o=t.boundary,i=void 0===o?"clippingParents":o,s=t.rootBoundary,l=void 0===s?F:s,c=t.elementContext,f=void 0===c?B:c,h=t.altBoundary,g=void 0!==h&&h,E=t.padding,_=void 0===E?0:E,N=O("number"!=typeof _?_:P(_,L)),k=f===B?"reference":B,A=e.rects.popper,D=e.elements[g?k:f],j=function(e,n,t){var r="clippingParents"===n?function(e){var n=ne(C(e)),t=["absolute","fixed"].indexOf(x(e).position)>=0&&d(e)?S(e):e;return u(t)?n.filter((function(e){return u(e)&&v(e,t)&&"body"!==y(e)})):[]}(e):[].concat(n),a=[].concat(r,[t]),o=a[0],i=a.reduce((function(n,t){var r=re(e,t);return n.top=p(r.top,n.top),n.right=m(r.right,n.right),n.bottom=m(r.bottom,n.bottom),n.left=p(r.left,n.left),n}),re(e,o));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(u(D)?D:D.contextElement||w(e.elements.popper),i,l),M=b(e.elements.reference),U=ae({reference:M,element:A,strategy:"absolute",placement:a}),z=te(Object.assign({},A,U)),V=f===B?z:M,$={top:j.top-V.top+N.top,bottom:V.bottom-j.bottom+N.bottom,left:j.left-V.left+N.left,right:V.right-j.right+N.right},H=e.modifiersData.offset;if(f===B&&H){var Z=H[a];Object.keys($).forEach((function(e){var n=[I,R].indexOf(e)>=0?1:-1,t=[T,R].indexOf(e)>=0?"y":"x";$[e]+=Z[t]*n}))}return $}function ie(e,n,t){return void 0===t&&(t={x:0,y:0}),{top:e.top-n.height-t.y,right:e.right-n.width+t.x,bottom:e.bottom-n.height+t.y,left:e.left-n.width-t.x}}function se(e){return[T,I,R,A].some((function(n){return e[n]>=0}))}function le(e,n,t){void 0===t&&(t=!1);var r,a,o=d(n),i=d(n)&&function(e){var n=e.getBoundingClientRect(),t=h(n.width)/e.offsetWidth||1,r=h(n.height)/e.offsetHeight||1;return 1!==t||1!==r}(n),s=w(n),l=b(e,i),u={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(o||!o&&!t)&&(("body"!==y(n)||Q(s))&&(u=(r=n)!==c(r)&&d(r)?{scrollLeft:(a=r).scrollLeft,scrollTop:a.scrollTop}:J(r)),d(n)?((f=b(n,!0)).x+=n.clientLeft,f.y+=n.clientTop):s&&(f.x=Y(s))),{x:l.left+u.scrollLeft-f.x,y:l.top+u.scrollTop-f.y,width:l.width,height:l.height}}function ce(e){var n=new Map,t=new Set,r=[];function a(e){t.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!t.has(e)){var r=n.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){n.set(e.name,e)})),e.forEach((function(e){t.has(e.name)||a(e)})),r}var ue={placement:"bottom",modifiers:[],strategy:"absolute"};function de(){for(var e=arguments.length,n=new Array(e),t=0;t=0?-1:1,o="function"==typeof t?t(Object.assign({},n,{placement:e})):t,i=o[0],s=o[1];return i=i||0,s=(s||0)*a,[A,I].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}(t,n.rects,o),e}),{}),s=i[n.placement],c=s.x,u=s.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=c,n.modifiersData.popperOffsets.y+=u),n.modifiersData[r]=i}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,r=e.name;if(!n.modifiersData[r]._skip){for(var a=t.mainAxis,o=void 0===a||a,i=t.altAxis,s=void 0===i||i,c=t.fallbackPlacements,u=t.padding,d=t.boundary,f=t.rootBoundary,p=t.altBoundary,m=t.flipVariations,h=void 0===m||m,b=t.allowedAutoPlacements,g=n.options.placement,v=l(g),y=c||(v!==g&&h?function(e){if(l(e)===D)return[];var n=X(e);return[K(e),n,K(n)]}(g):[X(g)]),x=[g].concat(y).reduce((function(e,t){return e.concat(l(t)===D?function(e,n){void 0===n&&(n={});var t=n,r=t.placement,a=t.boundary,o=t.rootBoundary,i=t.padding,s=t.flipVariations,c=t.allowedAutoPlacements,u=void 0===c?z:c,d=$(r),f=d?s?U:U.filter((function(e){return $(e)===d})):L,p=f.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=f);var m=p.reduce((function(n,t){return n[t]=oe(e,{placement:t,boundary:a,rootBoundary:o,padding:i})[l(t)],n}),{});return Object.keys(m).sort((function(e,n){return m[e]-m[n]}))}(n,{placement:t,boundary:d,rootBoundary:f,padding:u,flipVariations:h,allowedAutoPlacements:b}):t)}),[]),E=n.rects.reference,w=n.rects.popper,C=new Map,_=!0,S=x[0],N=0;N=0,F=M?"width":"height",B=oe(n,{placement:k,boundary:d,rootBoundary:f,altBoundary:p,padding:u}),V=M?P?I:A:P?R:T;E[F]>w[F]&&(V=X(V));var H=X(V),Z=[];if(o&&Z.push(B[O]<=0),s&&Z.push(B[V]<=0,B[H]<=0),Z.every((function(e){return e}))){S=k,_=!1;break}C.set(k,Z)}if(_)for(var G=function(e){var n=x.find((function(n){var t=C.get(n);if(t)return t.slice(0,e).every((function(e){return e}))}));if(n)return S=n,"break"},W=h?3:1;W>0&&"break"!==G(W);W--);n.placement!==S&&(n.modifiersData[r]._skip=!0,n.placement=S,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,r=e.name,a=t.mainAxis,o=void 0===a||a,i=t.altAxis,s=void 0!==i&&i,c=t.boundary,u=t.rootBoundary,d=t.altBoundary,f=t.padding,h=t.tether,b=void 0===h||h,v=t.tetherOffset,y=void 0===v?0:v,x=oe(n,{boundary:c,rootBoundary:u,padding:f,altBoundary:d}),E=l(n.placement),w=$(n.placement),C=!w,_=N(E),O="x"===_?"y":"x",P=n.modifiersData.popperOffsets,D=n.rects.reference,L=n.rects.popper,M="function"==typeof y?y(Object.assign({},n.rects,{placement:n.placement})):y,F="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),B=n.modifiersData.offset?n.modifiersData.offset[n.placement]:null,U={x:0,y:0};if(P){if(o){var z,V="y"===_?T:A,H="y"===_?R:I,Z="y"===_?"height":"width",G=P[_],W=G+x[V],X=G-x[H],q=b?-L[Z]/2:0,K=w===j?D[Z]:L[Z],J=w===j?-L[Z]:-D[Z],Y=n.elements.arrow,Q=b&&Y?g(Y):{width:0,height:0},ee=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ne=ee[V],te=ee[H],re=k(0,D[Z],Q[Z]),ae=C?D[Z]/2-q-re-ne-F.mainAxis:K-re-ne-F.mainAxis,ie=C?-D[Z]/2+q+re+te+F.mainAxis:J+re+te+F.mainAxis,se=n.elements.arrow&&S(n.elements.arrow),le=se?"y"===_?se.clientTop||0:se.clientLeft||0:0,ce=null!=(z=null==B?void 0:B[_])?z:0,ue=G+ie-ce,de=k(b?m(W,G+ae-ce-le):W,G,b?p(X,ue):X);P[_]=de,U[_]=de-G}if(s){var fe,pe="x"===_?T:A,me="x"===_?R:I,he=P[O],be="y"===O?"height":"width",ge=he+x[pe],ve=he-x[me],ye=-1!==[T,A].indexOf(E),xe=null!=(fe=null==B?void 0:B[O])?fe:0,Ee=ye?ge:he-D[be]-L[be]-xe+F.altAxis,we=ye?he+D[be]+L[be]-xe-F.altAxis:ve,Ce=b&&ye?function(e,n,t){var r=k(e,n,t);return r>t?t:r}(Ee,he,we):k(b?Ee:ge,he,b?we:ve);P[O]=Ce,U[O]=Ce-he}n.modifiersData[r]=U}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var n,t=e.state,r=e.name,a=e.options,o=t.elements.arrow,i=t.modifiersData.popperOffsets,s=l(t.placement),c=N(s),u=[A,I].indexOf(s)>=0?"height":"width";if(o&&i){var d=function(e,n){return O("number"!=typeof(e="function"==typeof e?e(Object.assign({},n.rects,{placement:n.placement})):e)?e:P(e,L))}(a.padding,t),f=g(o),p="y"===c?T:A,m="y"===c?R:I,h=t.rects.reference[u]+t.rects.reference[c]-i[c]-t.rects.popper[u],b=i[c]-t.rects.reference[c],v=S(o),y=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,x=h/2-b/2,E=d[p],w=y-f[u]-d[m],C=y/2-f[u]/2+x,_=k(E,C,w),D=c;t.modifiersData[r]=((n={})[D]=_,n.centerOffset=_-C,n)}},effect:function(e){var n=e.state,t=e.options.element,r=void 0===t?"[data-popper-arrow]":t;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&v(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}]}),pe=["enabled","placement","strategy","modifiers"],me={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},he={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:n,popper:t}=e.elements;if("removeAttribute"in n){const e=(n.getAttribute("aria-describedby")||"").split(",").filter((e=>e.trim()!==t.id));e.length?n.setAttribute("aria-describedby",e.join(",")):n.removeAttribute("aria-describedby")}},fn:({state:e})=>{var n;const{popper:t,reference:r}=e.elements,a=null==(n=t.getAttribute("role"))?void 0:n.toLowerCase();if(t.id&&"tooltip"===a&&"setAttribute"in r){const e=r.getAttribute("aria-describedby");if(e&&-1!==e.split(",").indexOf(t.id))return;r.setAttribute("aria-describedby",e?`${e},${t.id}`:t.id)}}},be=[],ge=function(e,n,t={}){let{enabled:a=!0,placement:o="bottom",strategy:l="absolute",modifiers:c=be}=t,u=function(e,n){if(null==e)return{};var t,r,a={},o=Object.keys(e);for(r=0;r=0||(a[t]=e[t]);return a}(t,pe);const d=(0,r.useRef)(c),f=(0,r.useRef)(),p=(0,r.useCallback)((()=>{var e;null==(e=f.current)||e.update()}),[]),m=(0,r.useCallback)((()=>{var e;null==(e=f.current)||e.forceUpdate()}),[]),[h,b]=(y=(0,r.useState)({placement:o,update:p,forceUpdate:m,attributes:{},styles:{popper:{},arrow:{}}}),x=(0,s.Z)(),[y[0],(0,r.useCallback)((function(e){if(x())return y[1](e)}),[x,y[1]])]),g=(0,r.useMemo)((()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{const n={},t={};Object.keys(e.elements).forEach((r=>{n[r]=e.styles[r],t[r]=e.attributes[r]})),b({state:e,styles:n,attributes:t,update:p,forceUpdate:m,placement:e.placement})}})),[p,m,b]),v=(0,r.useMemo)((()=>(i(d.current,c)||(d.current=c),d.current)),[c]);var y,x;return(0,r.useEffect)((()=>{f.current&&a&&f.current.setOptions({placement:o,strategy:l,modifiers:[...v,g,me]})}),[l,o,g,a,v]),(0,r.useEffect)((()=>{if(a&&null!=e&&null!=n)return f.current=fe(e,n,Object.assign({},u,{placement:o,strategy:l,modifiers:[...v,he,g]})),()=>{null!=f.current&&(f.current.destroy(),f.current=void 0,b((e=>Object.assign({},e,{attributes:{},styles:{popper:{}}}))))}}),[a,e,n]),h}},4194:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var r=t(7216),a=t(3004),o=t(7294),i=t(2963);const s=(e,n)=>{var t;return a.Z?null==e?(n||(0,r.Z)()).body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),null!=(t=e)&&t.nodeType&&e||null):null};function l(e,n){const t=(0,i.Z)(),[r,a]=(0,o.useState)((()=>s(e,null==t?void 0:t.document)));if(!r){const n=s(e);n&&a(n)}return(0,o.useEffect)((()=>{n&&r&&n(r)}),[n,r]),(0,o.useEffect)((()=>{const n=s(e);n!==r&&a(n)}),[e,r]),r}},2963:(e,n,t)=>{"use strict";t.d(n,{Z:()=>i});var r=t(7294),a=t(3004);const o=(0,r.createContext)(a.Z?window:void 0);function i(){return(0,r.useContext)(o)}o.Provider},9742:(e,n)=>{"use strict";n.byteLength=function(e){var n=l(e),t=n[0],r=n[1];return 3*(t+r)/4-r},n.toByteArray=function(e){var n,t,o=l(e),i=o[0],s=o[1],c=new a(function(e,n,t){return 3*(n+t)/4-t}(0,i,s)),u=0,d=s>0?i-4:i;for(t=0;t>16&255,c[u++]=n>>8&255,c[u++]=255&n;return 2===s&&(n=r[e.charCodeAt(t)]<<2|r[e.charCodeAt(t+1)]>>4,c[u++]=255&n),1===s&&(n=r[e.charCodeAt(t)]<<10|r[e.charCodeAt(t+1)]<<4|r[e.charCodeAt(t+2)]>>2,c[u++]=n>>8&255,c[u++]=255&n),c},n.fromByteArray=function(e){for(var n,r=e.length,a=r%3,o=[],i=16383,s=0,l=r-a;sl?l:s+i));return 1===a?(n=e[r-1],o.push(t[n>>2]+t[n<<4&63]+"==")):2===a&&(n=(e[r-2]<<8)+e[r-1],o.push(t[n>>10]+t[n>>4&63]+t[n<<2&63]+"=")),o.join("")};for(var t=[],r=[],a="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,s=o.length;i0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");return-1===t&&(t=n),[t,t===n?0:4-t%4]}function c(e,n,r){for(var a,o,i=[],s=n;s>18&63]+t[o>>12&63]+t[o>>6&63]+t[63&o]);return i.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},4184:(e,n)=>{var t;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],n=0;n{"use strict";t.d(n,{ZP:()=>s});var r=t(3004),a=!1,o=!1;try{var i={get passive(){return a=!0},get once(){return o=a=!0}};r.Z&&(window.addEventListener("test",i,i),window.removeEventListener("test",i,!0))}catch(e){}const s=function(e,n,t,r){if(r&&"boolean"!=typeof r&&!o){var i=r.once,s=r.capture,l=t;!o&&i&&(l=t.__once||function e(r){this.removeEventListener(n,e,s),t.call(this,r)},t.__once=l),e.addEventListener(n,l,a?r:s)}e.addEventListener(n,t,r)}},3004:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});const r=!("undefined"==typeof window||!window.document||!window.document.createElement)},424:(e,n,t)=>{"use strict";function r(e,n){return e.contains?e.contains(n):e.compareDocumentPosition?e===n||!!(16&e.compareDocumentPosition(n)):void 0}t.d(n,{Z:()=>r})},3164:(e,n,t)=>{"use strict";t.d(n,{Z:()=>l});var r=t(7216);var a=/([A-Z])/g,o=/^ms-/;function i(e){return function(e){return e.replace(a,"-$1").toLowerCase()}(e).replace(o,"-ms-")}var s=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;const l=function(e,n){var t="",a="";if("string"==typeof n)return e.style.getPropertyValue(i(n))||function(e,n){return function(e){var n=(0,r.Z)(e);return n&&n.defaultView||window}(e).getComputedStyle(e,n)}(e).getPropertyValue(i(n));Object.keys(n).forEach((function(r){var o=n[r];o||0===o?function(e){return!(!e||!s.test(e))}(r)?a+=r+"("+o+") ":t+=i(r)+": "+o+";":e.style.removeProperty(i(r))})),a&&(t+="transform: "+a+";"),e.style.cssText+=";"+t}},1132:(e,n,t)=>{"use strict";function r(e,n){return e.classList?!!n&&e.classList.contains(n):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+n+" ")}t.d(n,{Z:()=>r})},2950:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var r=t(9351),a=t(99);const o=function(e,n,t,o){return(0,r.ZP)(e,n,t,o),function(){(0,a.Z)(e,n,t,o)}}},7216:(e,n,t)=>{"use strict";function r(e){return e&&e.ownerDocument||document}t.d(n,{Z:()=>r})},930:(e,n,t)=>{"use strict";t.d(n,{Z:()=>a});var r=Function.prototype.bind.call(Function.prototype.call,[].slice);function a(e,n){return r(e.querySelectorAll(n))}},99:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});const r=function(e,n,t,r){var a=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(n,t,a),t.__once&&e.removeEventListener(n,t.__once,a)}},6914:(e,n,t)=>{"use strict";t.d(n,{Z:()=>o});var r=t(3164),a=t(2950);function o(e,n,t,o){var i,s,l;null==t&&(i=e,l=-1===(s=(0,r.Z)(i,"transitionDuration")||"").indexOf("ms")?1e3:1,t=parseFloat(s)*l||0);var c=function(e,n,t){void 0===t&&(t=5);var r=!1,o=setTimeout((function(){r||function(e,n,t,r){if(void 0===t&&(t=!1),void 0===r&&(r=!0),e){var a=document.createEvent("HTMLEvents");a.initEvent("transitionend",t,r),e.dispatchEvent(a)}}(e,0,!0)}),n+t),i=(0,a.Z)(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(o),i()}}(e,t,o),u=(0,a.Z)(e,"transitionend",n);return function(){c(),u()}}},1143:e=>{"use strict";e.exports=function(e,n,t,r,a,o,i,s){if(!e){var l;if(void 0===n)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[t,r,a,o,i,s],u=0;(l=new Error(n.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},704:function(){var e=function(){"use strict";var n="function"==typeof setImmediate?setImmediate:setTimeout,t=4294967296,r=[4294967295,-4294967296],a=[0,-0x8000000000000000],o=[0,0],i=[1,0];function s(e,n){postMessage({action:3,cbn:n,result:e})}function l(e){var n=[];return n[e-1]=void 0,n}function c(e,n){return f(e[0]+n[0],e[1]+n[1])}function u(e,n){return r=~~Math.max(Math.min(e[1]/t,2147483647),-2147483648)&~~Math.max(Math.min(n[1]/t,2147483647),-2147483648),a=h(e)&h(n),o=a,a<0&&(o+=t),[o,r*t];var r,a,o}function d(e,n){var t,r;return e[0]==n[0]&&e[1]==n[1]?0:(t=e[1]<0,r=n[1]<0,t&&!r?-1:!t&&r?1:y(e,n)[1]<0?-1:1)}function f(e,n){var r,a;for(e%=0x10000000000000000,n=(n%=0x10000000000000000)-(r=n%t)+(a=Math.floor(e/t)*t),e=e-a+r;e<0;)e+=t,n-=t;for(;e>4294967295;)e-=t,n+=t;for(n%=0x10000000000000000;n>0x7fffffff00000000;)n-=0x10000000000000000;for(;n<-0x8000000000000000;)n+=0x10000000000000000;return[e,n]}function p(e,n){return e[0]==n[0]&&e[1]==n[1]}function m(e){return e>=0?[e,0]:[e+t,-4294967296]}function h(e){return e[0]>=2147483648?~~Math.max(Math.min(e[0]-t,2147483647),-2147483648):~~Math.max(Math.min(e[0],2147483647),-2147483648)}function b(e){return e<=30?1<=0x8000000000000000&&(i-=0x10000000000000000),[s-=r,i]}function v(e,n){var t;return t=b(n&=63),f(Math.floor(e[0]/t),e[1]/t)}function y(e,n){return f(e[0]-n[0],e[1]-n[1])}function x(e,n){return e.buf=n,e.pos=0,e.count=n.length,e}function E(e){return e.pos>=e.count?-1:255&e.buf[e.pos++]}function w(e,n,t,r){return e.pos>=e.count?-1:(r=Math.min(r,e.count-e.pos),k(e.buf,e.pos,n,t,r),e.pos+=r,r)}function C(e){return e.buf=l(32),e.count=0,e}function _(e){var n=e.buf;return n.length=e.count,n}function S(e,n){e.buf[e.count++]=n<<24>>24}function N(e,n,t,r){k(n,t,e.buf,e.count,r),e.count+=r}function k(e,n,t,r,a){for(var o=0;o1<>24;for(var t=0;t<4;++t)e.properties[1+t]=e._dictionarySize>>8*t<<24>>24;N(n,e.properties,0,5)}(c,a),u=0;u<64;u+=8)S(a,255&h(v(i,u)));n.chunker=(c._needReleaseMFStream=0,c._inStream=t,c._finished=0,function(e){var n,t;e._matchFinder||(n={},t=4,e._matchFinderType||(t=2),function(e,n){e.HASH_ARRAY=n>2,e.HASH_ARRAY?(e.kNumHashDirectBytes=0,e.kMinMatchCheck=4,e.kFixHashSize=66560):(e.kNumHashDirectBytes=2,e.kMinMatchCheck=3,e.kFixHashSize=0)}(n,t),e._matchFinder=n),function(e,n,t){var r,a;if(null==e.m_Coders||e.m_NumPrevBits!=t||e.m_NumPosBits!=n)for(e.m_NumPosBits=n,e.m_PosMask=(1<>1),function(e,n,t,r){var a;e._keepSizeBefore=n,e._keepSizeAfter=t,a=n+t+r,(null==e._bufferBase||e._blockSize!=a)&&(e._bufferBase=null,e._blockSize=a,e._bufferBase=l(e._blockSize)),e._pointerToLastSafePosition=e._blockSize-t}(e,n+4096,r+274,256+~~((n+4096+r+274)/2)),e._matchMaxLen=r,o=n+1,e._cyclicBufferSize!=o&&(e._son=l(2*(e._cyclicBufferSize=o))),i=65536,e.HASH_ARRAY&&(i=n-1,i|=i>>1,i|=i>>2,i|=i>>4,i|=i>>8,i>>=1,(i|=65535)>16777216&&(i>>=1),e._hashMask=i,++i,i+=e.kFixHashSize),i!=e._hashSizeSum&&(e._hash=l(e._hashSizeSum=i)))}(e._matchFinder,e._dictionarySize,0,e._numFastBytes),e._dictionarySizePrev=e._dictionarySize,e._numFastBytesPrev=e._numFastBytes)}(c),c._rangeEncoder.Stream=a,function(e){(function(e){e._state=0,e._previousByte=0;for(var n=0;n<4;++n)e._repDistances[n]=0})(e),function(e){e._position=o,e.Low=o,e.Range=-1,e._cacheSize=1,e._cache=0}(e._rangeEncoder),Pe(e._isMatch),Pe(e._isRep0Long),Pe(e._isRep),Pe(e._isRepG0),Pe(e._isRepG1),Pe(e._isRepG2),Pe(e._posEncoders),function(e){var n,t=1<>24}if(a=function(e){e.m_OutWindow={},e.m_RangeDecoder={},e.m_IsMatchDecoders=l(192),e.m_IsRepDecoders=l(12),e.m_IsRepG0Decoders=l(12),e.m_IsRepG1Decoders=l(12),e.m_IsRepG2Decoders=l(12),e.m_IsRep0LongDecoders=l(192),e.m_PosSlotDecoder=l(4),e.m_PosDecoders=l(114),e.m_PosAlignDecoder=ye({},4),e.m_LenDecoder=G({}),e.m_RepLenDecoder=G({}),e.m_LiteralDecoder={};for(var n=0;n<4;++n)e.m_PosSlotDecoder[n]=ye({},6);return e}({}),!function(e,n){var t,r,a,o,i,s,c;if(n.length<5)return 0;for(a=(c=255&n[0])%9,o=(s=~~(c/9))%5,i=~~(s/5),t=0,r=0;r<4;++r)t+=(255&n[1+r])<<8*r;return t>99999999||!function(e,n,t,r){if(n>8||t>4||r>4)return 0;!function(e,n,t){var r,a;if(null==e.m_Coders||e.m_NumPrevBits!=t||e.m_NumPosBits!=n)for(e.m_NumPosBits=n,e.m_PosMask=(1<4294967295?r:m(c)),e.chunker=function(e,n,t,r){return e.m_RangeDecoder.Stream=n,U(e.m_OutWindow),e.m_OutWindow._stream=t,function(e){e.m_OutWindow._streamPos=0,e.m_OutWindow._pos=0,Pe(e.m_IsMatchDecoders),Pe(e.m_IsRep0LongDecoders),Pe(e.m_IsRepDecoders),Pe(e.m_IsRepG0Decoders),Pe(e.m_IsRepG1Decoders),Pe(e.m_IsRepG2Decoders),Pe(e.m_PosDecoders),function(e){var n,t;for(t=1<e._streamPos&&(r=e._streamPos-(e._pos+n)),++t,o=e._bufferOffset+e._pos+n,a=0;ae._pointerToLastSafePosition&&(e._posLimit=e._pointerToLastSafePosition-e._bufferOffset),void(e._streamEndWasReached=1);e._streamPos+=n,e._streamPos>=e._pos+e._keepSizeAfter&&(e._posLimit=e._streamPos-e._keepSizeAfter)}}function D(e,n){e._bufferOffset+=n,e._posLimit-=n,e._pos-=n,e._streamPos-=n}var L=function(){var e,n,t,r=[];for(e=0;e<256;++e){for(t=e,n=0;n<8;++n)0!=(1&t)?t=t>>>1^-306674912:t>>>=1;r[e]=t}return r}();function j(e){var n;++e._cyclicBufferPos>=e._cyclicBufferSize&&(e._cyclicBufferPos=0),function(e){++e._pos,e._pos>e._posLimit&&(e._bufferOffset+e._pos>e._pointerToLastSafePosition&&function(e){var n,t,r;for((r=e._bufferOffset+e._pos-e._keepSizeBefore)>0&&--r,t=e._bufferOffset+e._streamPos-r,n=0;n=e._windowSize&&(e._pos=0),e._streamPos=e._pos)}function B(e,n){var t=e._pos-n-1;return t<0&&(t+=e._windowSize),e._buffer[t]}function U(e){F(e),e._stream=null}function z(e){return(e-=2)<4?e:3}function V(e){return e<4?0:e<10?e-3:e-6}function $(e){if(!e.alive)throw new Error("bad state");return e.encoder?function(e){(function(e,n,t,r){var a,s,l,u,f,b,g,v,x,E,w,C,_,S,N;if(n[0]=o,t[0]=o,r[0]=1,e._inStream&&(e._matchFinder._stream=e._inStream,function(e){e._bufferOffset=0,e._pos=0,e._streamPos=0,e._streamEndWasReached=0,A(e),e._cyclicBufferPos=0,D(e,-1)}(e._matchFinder),e._needReleaseMFStream=1,e._inStream=null),!e._finished){if(e._finished=1,S=e.nowPos64,p(e.nowPos64,o)){if(!I(e._matchFinder))return void Q(e,h(e.nowPos64));ae(e),_=h(e.nowPos64)&e._posStateMask,Re(e._rangeEncoder,e._isMatch,(e._state<<4)+_,0),e._state=V(e._state),l=T(e._matchFinder,-e._additionalOffset),me(pe(e._literalEncoder,h(e.nowPos64),e._previousByte),e._rangeEncoder,l),e._previousByte=l,--e._additionalOffset,e.nowPos64=c(e.nowPos64,i)}if(I(e._matchFinder))for(;;){if(g=ee(e,h(e.nowPos64)),E=e.backRes,_=h(e.nowPos64)&e._posStateMask,s=(e._state<<4)+_,1==g&&-1==E)Re(e._rangeEncoder,e._isMatch,s,0),l=T(e._matchFinder,-e._additionalOffset),N=pe(e._literalEncoder,h(e.nowPos64),e._previousByte),e._state<7?me(N,e._rangeEncoder,l):(x=T(e._matchFinder,-e._repDistances[0]-1-e._additionalOffset),he(N,e._rangeEncoder,x,l)),e._previousByte=l,e._state=V(e._state);else{if(Re(e._rangeEncoder,e._isMatch,s,1),E<4){if(Re(e._rangeEncoder,e._isRep,e._state,1),E?(Re(e._rangeEncoder,e._isRepG0,e._state,1),1==E?Re(e._rangeEncoder,e._isRepG1,e._state,0):(Re(e._rangeEncoder,e._isRepG1,e._state,1),Re(e._rangeEncoder,e._isRepG2,e._state,E-2))):(Re(e._rangeEncoder,e._isRepG0,e._state,0),Re(e._rangeEncoder,e._isRep0Long,s,1==g?0:1)),1==g?e._state=e._state<7?9:11:(ce(e._repMatchLenEncoder,e._rangeEncoder,g-2,_),e._state=e._state<7?8:11),u=e._repDistances[E],0!=E){for(b=E;b>=1;--b)e._repDistances[b]=e._repDistances[b-1];e._repDistances[0]=u}}else{for(Re(e._rangeEncoder,e._isRep,e._state,0),e._state=e._state<7?7:10,ce(e._lenEncoder,e._rangeEncoder,g-2,_),C=ie(E-=4),v=z(g),we(e._posSlotEncoder[v],e._rangeEncoder,C),C>=4&&(w=E-(a=(2|1&C)<<(f=(C>>1)-1)),C<14?Ne(e._posEncoders,a-C-1,e._rangeEncoder,f,w):(Ie(e._rangeEncoder,w>>4,f-4),_e(e._posAlignEncoder,e._rangeEncoder,15&w),++e._alignPriceCount)),u=E,b=3;b>=1;--b)e._repDistances[b]=e._repDistances[b-1];e._repDistances[0]=u,++e._matchPriceCount}e._previousByte=T(e._matchFinder,g-1-e._additionalOffset)}if(e._additionalOffset-=g,e.nowPos64=c(e.nowPos64,m(g)),!e._additionalOffset){if(e._matchPriceCount>=128&&Y(e),e._alignPriceCount>=16&&J(e),n[0]=e.nowPos64,t[0]=Ae(e._rangeEncoder),!I(e._matchFinder))return void Q(e,h(e.nowPos64));if(d(y(e.nowPos64,S),[4096,0])>=0)return e._finished=0,void(r[0]=0)}}else Q(e,h(e.nowPos64))}})(e.encoder,e.encoder.processedInSize,e.encoder.processedOutSize,e.encoder.finished),e.inBytesProcessed=e.encoder.processedInSize[0],e.encoder.finished[0]&&(function(e){oe(e),e._rangeEncoder.Stream=null}(e.encoder),e.alive=0)}(e):function(e){var n=function(e){var n,t,r,a,o,s;if(s=h(e.nowPos64)&e.m_PosStateMask,Oe(e.m_RangeDecoder,e.m_IsMatchDecoders,(e.state<<4)+s)){if(Oe(e.m_RangeDecoder,e.m_IsRepDecoders,e.state))r=0,Oe(e.m_RangeDecoder,e.m_IsRepG0Decoders,e.state)?(Oe(e.m_RangeDecoder,e.m_IsRepG1Decoders,e.state)?(Oe(e.m_RangeDecoder,e.m_IsRepG2Decoders,e.state)?(t=e.rep3,e.rep3=e.rep2):t=e.rep2,e.rep2=e.rep1):t=e.rep1,e.rep1=e.rep0,e.rep0=t):Oe(e.m_RangeDecoder,e.m_IsRep0LongDecoders,(e.state<<4)+s)||(e.state=e.state<7?9:11,r=1),r||(r=Z(e.m_RepLenDecoder,e.m_RangeDecoder,s)+2,e.state=e.state<7?8:11);else if(e.rep3=e.rep2,e.rep2=e.rep1,e.rep1=e.rep0,r=2+Z(e.m_LenDecoder,e.m_RangeDecoder,s),e.state=e.state<7?7:10,(o=xe(e.m_PosSlotDecoder[z(r)],e.m_RangeDecoder))>=4){if(a=(o>>1)-1,e.rep0=(2|1&o)<>>=1,r=e.Code-e.Range>>>31,e.Code-=e.Range&r-1,a=a<<1|1-r,-16777216&e.Range||(e.Code=e.Code<<8|E(e.Stream),e.Range<<=8);return a}(e.m_RangeDecoder,a-4)<<4,e.rep0+=function(e,n){var t,r,a=1,o=0;for(r=0;r=0||e.rep0>=e.m_DictionarySizeCheck)return-1;!function(e,n,t){var r=e._pos-n-1;for(r<0&&(r+=e._windowSize);0!=t;--t)r>=e._windowSize&&(r=0),e._buffer[e._pos++]=e._buffer[r++],e._pos>=e._windowSize&&F(e)}(e.m_OutWindow,e.rep0,r),e.nowPos64=c(e.nowPos64,m(r)),e.prevByte=B(e.m_OutWindow,0)}else n=function(e,n,t){return e.m_Coders[((n&e.m_PosMask)<>>8-e.m_NumPrevBits)]}(e.m_LiteralDecoder,h(e.nowPos64),e.prevByte),e.state<7?e.prevByte=function(e,n){var t=1;do{t=t<<1|Oe(n,e.m_Decoders,t)}while(t<256);return t<<24>>24}(n,e.m_RangeDecoder):e.prevByte=function(e,n,t){var r,a,o=1;do{if(a=t>>7&1,t<<=1,o=o<<1|(r=Oe(n,e.m_Decoders,(1+a<<8)+o)),a!=r){for(;o<256;)o=o<<1|Oe(n,e.m_Decoders,o);break}}while(o<256);return o<<24>>24}(n,e.m_RangeDecoder,B(e.m_OutWindow,e.rep0)),function(e,n){e._buffer[e._pos++]=n,e._pos>=e._windowSize&&F(e)}(e.m_OutWindow,e.prevByte),e.state=V(e.state),e.nowPos64=c(e.nowPos64,i);return 0}(e.decoder);if(-1==n)throw new Error("corrupted input");e.inBytesProcessed=r,e.outBytesProcessed=e.decoder.nowPos64,(n||d(e.decoder.outSize,o)>=0&&d(e.decoder.nowPos64,e.decoder.outSize)>=0)&&(F(e.decoder.m_OutWindow),U(e.decoder.m_OutWindow),e.decoder.m_RangeDecoder.Stream=null,e.alive=0)}(e),e.alive}function H(e,n){for(;e.m_NumPosStates>1)-1,e=0;e>24;return a}();function K(e,n){var t,r,a,o;e._optimumEndIndex=n,a=e._optimum[n].PosPrev,r=e._optimum[n].BackPrev;do{e._optimum[n].Prev1IsChar&&(ve(e._optimum[a]),e._optimum[a].PosPrev=a-1,e._optimum[n].Prev2&&(e._optimum[a-1].Prev1IsChar=0,e._optimum[a-1].PosPrev=e._optimum[n].PosPrev2,e._optimum[a-1].BackPrev=e._optimum[n].BackPrev2)),o=a,t=r,r=e._optimum[o].BackPrev,a=e._optimum[o].PosPrev,e._optimum[o].BackPrev=t,e._optimum[o].PosPrev=n,n=o}while(n>0);return e.backRes=e._optimum[0].BackPrev,e._optimumCurrentIndex=e._optimum[0].PosPrev,e._optimumCurrentIndex}function J(e){for(var n=0;n<16;++n)e._alignPrices[n]=Se(e._posAlignEncoder,n);e._alignPriceCount=0}function Y(e){var n,t,r,a,o,i,s,l;for(a=4;a<128;++a)n=(2|1&(i=ie(a)))<<(r=(i>>1)-1),e.tempPrices[a]=ke(e._posEncoders,n-i-1,r,a-n);for(o=0;o<4;++o){for(t=e._posSlotEncoder[o],s=o<<6,i=0;i>1)-1-4<<6;for(l=128*o,a=0;a<4;++a)e._distancesPrices[l+a]=e._posSlotPrices[s+a];for(;a<128;++a)e._distancesPrices[l+a]=e._posSlotPrices[s+ie(a)]+e.tempPrices[a]}e._matchPriceCount=0}function Q(e,n){oe(e),function(e,n){if(e._writeEndMark){Re(e._rangeEncoder,e._isMatch,(e._state<<4)+n,1),Re(e._rangeEncoder,e._isRep,e._state,0),e._state=e._state<7?7:10,ce(e._lenEncoder,e._rangeEncoder,0,n);var t=z(2);we(e._posSlotEncoder[t],e._rangeEncoder,63),Ie(e._rangeEncoder,67108863,26),_e(e._posAlignEncoder,e._rangeEncoder,15)}}(e,n&e._posStateMask);for(var t=0;t<5;++t)De(e._rangeEncoder)}function ee(e,n){var t,r,a,o,i,s,l,c,u,d,f,p,m,h,b,g,v,y,x,E,w,C,_,S,N,k,O,P,A,D,L,j,M,F,B,U,z,$,H,Z,G,W,X,q;if(e._optimumEndIndex!=e._optimumCurrentIndex)return m=e._optimum[e._optimumCurrentIndex].PosPrev-e._optimumCurrentIndex,e.backRes=e._optimum[e._optimumCurrentIndex].BackPrev,e._optimumCurrentIndex=e._optimum[e._optimumCurrentIndex].PosPrev,m;if(e._optimumCurrentIndex=e._optimumEndIndex=0,e._longestMatchWasFound?(p=e._longestMatchLength,e._longestMatchWasFound=0):p=ae(e),k=e._numDistancePairs,(S=I(e._matchFinder)+1)<2)return e.backRes=-1,1;for(S>273&&(S=273),H=0,u=0;u<4;++u)e.reps[u]=e._repDistances[u],e.repLens[u]=R(e._matchFinder,-1,e.reps[u],273),e.repLens[u]>e.repLens[H]&&(H=u);if(e.repLens[H]>=e._numFastBytes)return e.backRes=H,re(e,(m=e.repLens[H])-1),m;if(p>=e._numFastBytes)return e.backRes=e._matchDistances[k-1]+4,re(e,p-1),p;if(l=T(e._matchFinder,-1),v=T(e._matchFinder,-e._repDistances[0]-1-1),p<2&&l!=v&&e.repLens[H]<2)return e.backRes=-1,1;if(e._optimum[0].State=e._state,M=n&e._posStateMask,e._optimum[1].Price=Te[e._isMatch[(e._state<<4)+M]>>>2]+ge(pe(e._literalEncoder,n,e._previousByte),e._state>=7,v,l),ve(e._optimum[1]),$=(y=Te[2048-e._isMatch[(e._state<<4)+M]>>>2])+Te[2048-e._isRep[e._state]>>>2],v==l&&(Z=$+function(e,n,t){return Te[e._isRepG0[n]>>>2]+Te[e._isRep0Long[(n<<4)+t]>>>2]}(e,e._state,M),Z=e.repLens[H]?p:e.repLens[H])<2)return e.backRes=e._optimum[1].BackPrev,1;e._optimum[1].PosPrev=0,e._optimum[0].Backs0=e.reps[0],e._optimum[0].Backs1=e.reps[1],e._optimum[0].Backs2=e.reps[2],e._optimum[0].Backs3=e.reps[3],d=f;do{e._optimum[d--].Price=268435455}while(d>=2);for(u=0;u<4;++u)if(!((z=e.repLens[u])<2)){B=$+te(e,u,e._state,M);do{(o=B+de(e._repMatchLenEncoder,z-2,M))<(D=e._optimum[z]).Price&&(D.Price=o,D.PosPrev=0,D.BackPrev=u,D.Prev1IsChar=0)}while(--z>=2)}if(_=y+Te[e._isRep[e._state]>>>2],(d=e.repLens[0]>=2?e.repLens[0]+1:2)<=p){for(O=0;d>e._matchDistances[O];)O+=2;for(;(o=_+ne(e,c=e._matchDistances[O+1],d,M))<(D=e._optimum[d]).Price&&(D.Price=o,D.PosPrev=0,D.BackPrev=c+4,D.Prev1IsChar=0),d!=e._matchDistances[O]||(O+=2)!=k;++d);}for(t=0;;){if(++t==f)return K(e,t);if(x=ae(e),k=e._numDistancePairs,x>=e._numFastBytes)return e._longestMatchLength=x,e._longestMatchWasFound=1,K(e,t);if(++n,j=e._optimum[t].PosPrev,e._optimum[t].Prev1IsChar?(--j,e._optimum[t].Prev2?(W=e._optimum[e._optimum[t].PosPrev2].State,W=e._optimum[t].BackPrev2<4?W<7?8:11:W<7?7:10):W=e._optimum[j].State,W=V(W)):W=e._optimum[j].State,j==t-1?W=e._optimum[t].BackPrev?V(W):W<7?9:11:(e._optimum[t].Prev1IsChar&&e._optimum[t].Prev2?(j=e._optimum[t].PosPrev2,L=e._optimum[t].BackPrev2,W=W<7?8:11):W=(L=e._optimum[t].BackPrev)<4?W<7?8:11:W<7?7:10,A=e._optimum[j],L<4?L?1==L?(e.reps[0]=A.Backs1,e.reps[1]=A.Backs0,e.reps[2]=A.Backs2,e.reps[3]=A.Backs3):2==L?(e.reps[0]=A.Backs2,e.reps[1]=A.Backs0,e.reps[2]=A.Backs1,e.reps[3]=A.Backs3):(e.reps[0]=A.Backs3,e.reps[1]=A.Backs0,e.reps[2]=A.Backs1,e.reps[3]=A.Backs2):(e.reps[0]=A.Backs0,e.reps[1]=A.Backs1,e.reps[2]=A.Backs2,e.reps[3]=A.Backs3):(e.reps[0]=L-4,e.reps[1]=A.Backs0,e.reps[2]=A.Backs1,e.reps[3]=A.Backs2)),e._optimum[t].State=W,e._optimum[t].Backs0=e.reps[0],e._optimum[t].Backs1=e.reps[1],e._optimum[t].Backs2=e.reps[2],e._optimum[t].Backs3=e.reps[3],s=e._optimum[t].Price,l=T(e._matchFinder,-1),v=T(e._matchFinder,-e.reps[0]-1-1),M=n&e._posStateMask,E=0,(r=s+Te[e._isMatch[(W<<4)+M]>>>2]+ge(pe(e._literalEncoder,n,T(e._matchFinder,-2)),W>=7,v,l))<(w=e._optimum[t+1]).Price&&(w.Price=r,w.PosPrev=t,w.BackPrev=-1,w.Prev1IsChar=0,E=1),$=(y=s+Te[2048-e._isMatch[(W<<4)+M]>>>2])+Te[2048-e._isRep[W]>>>2],v!=l||w.PosPrev>>2]+Te[e._isRep0Long[(W<<4)+M]>>>2]))<=w.Price&&(w.Price=Z,w.PosPrev=t,w.BackPrev=0,w.Prev1IsChar=0,E=1),!((S=N=4095-t<(N=I(e._matchFinder)+1)?4095-t:N)<2)){if(S>e._numFastBytes&&(S=e._numFastBytes),!E&&v!=l&&(q=Math.min(N-1,e._numFastBytes),(b=R(e._matchFinder,0,e.reps[0],q))>=2)){for(X=V(W),F=n+1&e._posStateMask,C=r+Te[2048-e._isMatch[(X<<4)+F]>>>2]+Te[2048-e._isRep[X]>>>2],P=t+1+b;f=2);if(h=g,U||(G=h+1),h=2)){for(X=W<7?8:11,F=n+h&e._posStateMask,a=$+(de(e._repMatchLenEncoder,h-2,M)+te(e,U,W,M))+Te[e._isMatch[(X<<4)+F]>>>2]+ge(pe(e._literalEncoder,n+h,T(e._matchFinder,h-1-1)),1,T(e._matchFinder,h-1-(e.reps[U]+1)),T(e._matchFinder,h-1)),X=V(X),F=n+h+1&e._posStateMask,C=a+Te[2048-e._isMatch[(X<<4)+F]>>>2]+Te[2048-e._isRep[X]>>>2],P=h+1+b;fS){for(x=S,k=0;x>e._matchDistances[k];k+=2);e._matchDistances[k]=x,k+=2}if(x>=G){for(_=y+Te[e._isRep[W]>>>2];fe._matchDistances[O];)O+=2;for(h=G;;++h)if((o=_+ne(e,i=e._matchDistances[O+1],h,M))<(D=e._optimum[t+h]).Price&&(D.Price=o,D.PosPrev=t,D.BackPrev=i+4,D.Prev1IsChar=0),h==e._matchDistances[O]){if(h=2)){for(X=W<7?7:10,F=n+h&e._posStateMask,a=o+Te[e._isMatch[(X<<4)+F]>>>2]+ge(pe(e._literalEncoder,n+h,T(e._matchFinder,h-1-1)),1,T(e._matchFinder,h-(i+1)-1),T(e._matchFinder,h-1)),X=V(X),F=n+h+1&e._posStateMask,C=a+Te[2048-e._isMatch[(X<<4)+F]>>>2]+Te[2048-e._isRep[X]>>>2],P=h+1+b;f>6]+12:e<134217728?q[e>>16]+32:q[e>>26]+52}(n)]+e._alignPrices[15&n])+de(e._lenEncoder,t-2,r)}function te(e,n,t,r){var a;return n?(a=Te[2048-e._isRepG0[t]>>>2],1==n?a+=Te[e._isRepG1[t]>>>2]:(a+=Te[2048-e._isRepG1[t]>>>2],a+=Le(e._isRepG2[t],n-2))):(a=Te[e._isRepG0[t]>>>2],a+=Te[2048-e._isRep0Long[(t<<4)+r]>>>2]),a}function re(e,n){n>0&&(function(e,n){var t,r,a,o,i,s,l,c,u,d,f,p,m,h,b,g,v;do{if(e._pos+e._matchMaxLen<=e._streamPos)p=e._matchMaxLen;else if((p=e._streamPos-e._pos)e._cyclicBufferSize?e._pos-e._cyclicBufferSize:0,r=e._bufferOffset+e._pos,e.HASH_ARRAY?(s=1023&(v=L[255&e._bufferBase[r]]^255&e._bufferBase[r+1]),e._hash[s]=e._pos,l=65535&(v^=(255&e._bufferBase[r+2])<<8),e._hash[1024+l]=e._pos,c=(v^L[255&e._bufferBase[r+3]]<<5)&e._hashMask):c=255&e._bufferBase[r]^(255&e._bufferBase[r+1])<<8,a=e._hash[e.kFixHashSize+c],e._hash[e.kFixHashSize+c]=e._pos,b=1+(e._cyclicBufferPos<<1),g=e._cyclicBufferPos<<1,d=f=e.kNumHashDirectBytes,t=e._cutValue;;){if(a<=m||0==t--){e._son[b]=e._son[g]=0;break}if(o=((i=e._pos-a)<=e._cyclicBufferPos?e._cyclicBufferPos-i:e._cyclicBufferPos-i+e._cyclicBufferSize)<<1,h=e._bufferOffset+a,u=de._cyclicBufferSize?e._pos-e._cyclicBufferSize:0,r=e._bufferOffset+e._pos,g=1,c=0,u=0,e.HASH_ARRAY?(c=1023&(w=L[255&e._bufferBase[r]]^255&e._bufferBase[r+1]),u=65535&(w^=(255&e._bufferBase[r+2])<<8),d=(w^L[255&e._bufferBase[r+3]]<<5)&e._hashMask):d=255&e._bufferBase[r]^(255&e._bufferBase[r+1])<<8,a=e._hash[e.kFixHashSize+d]||0,e.HASH_ARRAY&&(o=e._hash[c]||0,i=e._hash[1024+u]||0,e._hash[c]=e._pos,e._hash[1024+u]=e._pos,o>b&&e._bufferBase[e._bufferOffset+o]==e._bufferBase[r]&&(n[v++]=g=2,n[v++]=e._pos-o-1),i>b&&e._bufferBase[e._bufferOffset+i]==e._bufferBase[r]&&(i==o&&(v-=2),n[v++]=g=3,n[v++]=e._pos-i-1,o=i),0!=v&&o==a&&(v-=2,g=1)),e._hash[e.kFixHashSize+d]=e._pos,x=1+(e._cyclicBufferPos<<1),E=e._cyclicBufferPos<<1,p=m=e.kNumHashDirectBytes,0!=e.kNumHashDirectBytes&&a>b&&e._bufferBase[e._bufferOffset+a+e.kNumHashDirectBytes]!=e._bufferBase[r+e.kNumHashDirectBytes]&&(n[v++]=g=e.kNumHashDirectBytes,n[v++]=e._pos-a-1),t=e._cutValue;;){if(a<=b||0==t--){e._son[x]=e._son[E]=0;break}if(s=((l=e._pos-a)<=e._cyclicBufferPos?e._cyclicBufferPos-l:e._cyclicBufferPos-l+e._cyclicBufferSize)<<1,y=e._bufferOffset+a,f=p0&&(n=e._matchDistances[e._numDistancePairs-2])==e._numFastBytes&&(n+=R(e._matchFinder,n-1,e._matchDistances[e._numDistancePairs-1],273-n)),++e._additionalOffset,n}function oe(e){e._matchFinder&&e._needReleaseMFStream&&(e._matchFinder._stream=null,e._needReleaseMFStream=0)}function ie(e){return e<2048?q[e]:e<2097152?q[e>>10]+20:q[e>>20]+40}function se(e,n){Pe(e._choice);for(var t=0;t>>2],s=(i=Te[2048-e._choice[0]>>>2])+Te[e._choice[1]>>>2],l=i+Te[2048-e._choice[1]>>>2],c=0,c=0;c<8;++c){if(c>=t)return;r[a+c]=o+Ce(e._lowCoder[n],c)}for(;c<16;++c){if(c>=t)return;r[a+c]=s+Ce(e._midCoder[n],c-8)}for(;c>>8-e.m_NumPrevBits)]}function me(e,n,t){var r,a,o=1;for(a=7;a>=0;--a)r=t>>a&1,Re(n,e.m_Encoders,o,r),o=o<<1|r}function he(e,n,t,r){var a,o,i,s,l=1,c=1;for(o=7;o>=0;--o)a=r>>o&1,s=c,l&&(s+=1+(i=t>>o&1)<<8,l=i==a),Re(n,e.m_Encoders,s,a),c=c<<1|a}function be(e){return e.m_Encoders=l(768),e}function ge(e,n,t,r){var a,o,i=1,s=7,l=0;if(n)for(;s>=0;--s)if(o=t>>s&1,a=r>>s&1,l+=Le(e.m_Encoders[(1+o<<8)+i],a),i=i<<1|a,o!=a){--s;break}for(;s>=0;--s)a=r>>s&1,l+=Le(e.m_Encoders[i],a),i=i<<1|a;return l}function ve(e){e.BackPrev=-1,e.Prev1IsChar=0}function ye(e,n){return e.NumBitLevels=n,e.Models=l(1<>>--a&1,Re(n,e.Models,o,r),o=o<<1|r}function Ce(e,n){var t,r,a=1,o=0;for(r=e.NumBitLevels;0!=r;)t=n>>>--r&1,o+=Le(e.Models[a],t),a=(a<<1)+t;return o}function _e(e,n,t){var r,a,o=1;for(a=0;a>=1}function Se(e,n){var t,r,a=1,o=0;for(r=e.NumBitLevels;0!=r;--r)t=1&n,n>>>=1,o+=Le(e.Models[a],t),a=a<<1|t;return o}function Ne(e,n,t,r,a){var o,i,s=1;for(i=0;i>=1}function ke(e,n,t,r){var a,o,i=1,s=0;for(o=t;0!=o;--o)a=1&r,r>>>=1,s+=Te[(2047&(e[n+i]-a^-a))>>>2],i=i<<1|a;return s}function Oe(e,n,t){var r,a=n[t];return r=(e.Range>>>11)*a,(-2147483648^e.Code)<(-2147483648^r)?(e.Range=r,n[t]=a+(2048-a>>>5)<<16>>16,-16777216&e.Range||(e.Code=e.Code<<8|E(e.Stream),e.Range<<=8),0):(e.Range-=r,e.Code-=r,n[t]=a-(a>>>5)<<16>>16,-16777216&e.Range||(e.Code=e.Code<<8|E(e.Stream),e.Range<<=8),1)}function Pe(e){for(var n=e.length-1;n>=0;--n)e[n]=1024}var Te=function(){var e,n,t,r=[];for(n=8;n>=0;--n)for(e=1<<9-n,t=1<<9-n-1;t>>9-n-1);return r}();function Re(e,n,t,r){var a,o=n[t];a=(e.Range>>>11)*o,r?(e.Low=c(e.Low,u(m(a),[4294967295,0])),e.Range-=a,n[t]=o-(o>>>5)<<16>>16):(e.Range=a,n[t]=o+(2048-o>>>5)<<16>>16),-16777216&e.Range||(e.Range<<=8,De(e))}function Ie(e,n,t){for(var r=t-1;r>=0;--r)e.Range>>>=1,1==(n>>>r&1)&&(e.Low=c(e.Low,m(e.Range))),-16777216&e.Range||(e.Range<<=8,De(e))}function Ae(e){return c(c(m(e._cacheSize),e._position),[4,0])}function De(e){var n,t,r,a,o=h((r=32,a=v(t=e.Low,r&=63),t[1]<0&&(a=c(a,g([2,0],31))),a));if(0!=o||d(e.Low,[4278190080,0])<0){e._position=c(e._position,m(e._cacheSize)),n=e._cache;do{S(e.Stream,n+o),n=255}while(0!=--e._cacheSize);e._cache=h(e.Low)>>>24}++e._cacheSize,e.Low=g(u(e.Low,[16777215,0]),8)}function Le(e,n){return Te[(2047&(e-n^-n))>>>2]}function je(e){for(var n,t,r,a=0,o=0,i=e.length,s=[],l=[];a=i)return e;if(128!=(192&(t=255&e[++a])))return e;l[o]=(31&n)<<6|63&t}else{if(224!=(240&n))return e;if(a+2>=i)return e;if(128!=(192&(t=255&e[++a])))return e;if(128!=(192&(r=255&e[++a])))return e;l[o]=(15&n)<<12|(63&t)<<6|63&r}else{if(!n)return e;l[o]=n}16383==o&&(s.push(String.fromCharCode.apply(String,l)),o=-1)}return o>0&&(l.length=o,s.push(String.fromCharCode.apply(String,l))),s.join("")}function Me(e){var n,t,r,a=[],o=0,i=e.length;if("object"==typeof e)return e;for(function(e,n,t,r,a){var o;for(o=0;o=1&&n<=127?++o:o+=!n||n>=128&&n<=2047?2:3;for(t=[],o=0,r=0;r=1&&n<=127?t[o++]=n<<24>>24:!n||n>=128&&n<=2047?(t[o++]=(192|n>>6&31)<<24>>24,t[o++]=(128|63&n)<<24>>24):(t[o++]=(224|n>>12&15)<<24>>24,t[o++]=(128|n>>6&63)<<24>>24,t[o++]=(128|63&n)<<24>>24);return t}function Fe(e){return e[1]+e[0]}var Be,Ue=(Be=[{s:16,f:64,m:0},{s:20,f:64,m:0},{s:19,f:64,m:1},{s:20,f:64,m:1},{s:21,f:128,m:1},{s:22,f:128,m:1},{s:23,f:128,m:1},{s:24,f:255,m:1},{s:25,f:255,m:1}],function(e){return Be[e-1]||Be[6]});return"undefined"==typeof onmessage||"undefined"!=typeof window&&void 0!==window.document||(onmessage=function(n){n&&n.data&&(2==n.data.action?e.decompress(n.data.data,n.data.cbn):1==n.data.action&&e.compress(n.data.data,n.data.mode,n.data.cbn))}),{compress:function(e,t,r,a){var o,i,l={},c=void 0===r&&void 0===a;if("function"!=typeof r&&(i=r,r=a=0),a=a||function(e){if(void 0!==i)return s(e,i)},r=r||function(e,n){if(void 0!==i)return postMessage({action:1,cbn:i,result:e,error:n})},c){for(l.c=O({},Me(e),Ue(t));$(l.c.chunker););return _(l.c.output)}try{l.c=O({},Me(e),Ue(t)),a(0)}catch(e){return r(null,e)}n((function e(){try{for(var t,i=(new Date).getTime();$(l.c.chunker);)if(o=Fe(l.c.chunker.inBytesProcessed)/Fe(l.c.length_0),(new Date).getTime()-i>200)return a(o),n(e,0),0;a(1),t=_(l.c.output),n(r.bind(null,t),0)}catch(e){r(null,e)}}),0)},decompress:function(e,t,r){var a,o,i,l,c={},u=void 0===t&&void 0===r;if("function"!=typeof t&&(o=t,t=r=0),r=r||function(e){if(void 0!==o)return s(i?e:-1,o)},t=t||function(e,n){if(void 0!==o)return postMessage({action:2,cbn:o,result:e,error:n})},u){for(c.d=P({},e);$(c.d.chunker););return je(_(c.d.output))}try{c.d=P({},e),l=Fe(c.d.length_0),i=l>-1,r(0)}catch(e){return t(null,e)}n((function e(){try{for(var o,s=0,u=(new Date).getTime();$(c.d.chunker);)if(++s%1e3==0&&(new Date).getTime()-u>200)return i&&(a=Fe(c.d.chunker.decoder.nowPos64)/l,r(a)),n(e,0),0;r(1),o=je(_(c.d.output)),n(t.bind(null,o),0)}catch(e){t(null,e)}}),0)}}}();this.LZMA=this.LZMA_WORKER=e},5557:(e,n,t)=>{"use strict";function r(e,n){throw new TypeError(`unexpected tag 0x${e.toString(16)} (${n} expected)`)}function a(e){return 127&e}function o(e){return 0==(128&e)}function i(e){return 224==(224&e)}function s(e){return 160==(224&e)}function l(e){return 144==(240&e)}function c(e){return 128==(240&e)}function u(e,n,t){const r=n.byteLength;if(r<=255)e.putUi8(t),e.putUi8(r);else if(r<=65535)e.putUi8(t+1),e.putUi16(r);else{if(!(r<=4294967295))throw new RangeError("length limit exceeded");e.putUi8(t+2),e.putUi32(r)}e.put(n)}function d(e){const n=e.getUi8();let t;switch(n){case 192:t=0;break;case 196:case 217:t=e.getUi8();break;case 197:case 218:t=e.getUi16();break;case 198:case 219:t=e.getUi32();break;default:s(n)||r(n,"bytes or string"),t=function(e){return 31&e}(n)}return e.get(t)}function f(e,n){n<16?e.putUi8(144|15&n):b(e,220,n)}function p(e,n){const t=e.getUi8(),r=l(t)?function(e){return 15&e}(t):g(e,t,220,"array");if(null!=n&&r!==n)throw new Error(`invalid array header size ${r}`);return r}function m(e,n){n<16?e.putUi8(128|15&n):b(e,222,n)}function h(e,n){const t=e.getUi8(),r=c(t)?function(e){return 15&e}(t):g(e,t,222,"map");if(null!=n&&r!==n)throw new Error(`invalid map header size ${r}`);return r}function b(e,n,t){if(t<=65535)e.putUi8(n),e.putUi16(t);else{if(!(t<=4294967295))throw new RangeError("length limit exceeded");e.putUi8(n+1),e.putUi32(t)}}function g(e,n,t,a){switch(n){case 192:return 0;case t:return e.getUi16();case t+1:return e.getUi32();default:r(n,a)}}t.r(n),t.d(n,{Any:()=>v,Arr:()=>k,Bool:()=>x,Bytes:()=>_,Float:()=>C,Int:()=>E,Map:()=>O,Nil:()=>y,Str:()=>S,Struct:()=>A,Time:()=>N,TypedArr:()=>P,TypedMap:()=>T,Uint:()=>w,Union:()=>j,decode:()=>F,encode:()=>M,structDecoder:()=>I,structEncoder:()=>R,unionDecoder:()=>L,unionEncoder:()=>D});const v={enc(e,n){(function(e){switch(typeof e){case"undefined":return y;case"boolean":return x;case"number":return isFinite(e)&&Math.floor(e)===e?e<0?E:w:C;case"string":return S;case"object":return null===e?y:Array.isArray(e)?k:e instanceof Uint8Array||e instanceof ArrayBuffer?_:e instanceof Date?N:O;default:throw new TypeError("unsupported type "+typeof e)}})(n).enc(e,n)},dec:e=>function(e){switch(e){case 192:return y;case 194:case 195:return x;case 208:case 209:case 210:case 211:return E;case 204:case 205:case 206:case 207:return w;case 202:case 203:return C;case 196:case 197:case 198:return _;case 217:case 218:case 219:return S;case 220:case 221:return k;case 222:case 223:return O;case 214:case 215:case 199:return N;default:if(o(e)||i(e))return E;if(s(e))return S;if(l(e))return k;if(c(e))return O;throw new TypeError(`unsupported tag ${e}`)}}(e.peek()).dec(e)},y={enc(e,n){e.putUi8(192)},dec(e){const n=e.getUi8();return 192!==n&&r(n,"nil"),null}},x={enc(e,n){e.putUi8(n?195:194)},dec(e){const n=e.getUi8();switch(n){case 192:case 194:return!1;case 195:return!0;default:r(n,"bool")}}},E={enc(e,n){-128<=n&&n<=127?n>=0?e.putUi8(a(n)):n>-32?e.putUi8(224|31&n):(e.putUi8(208),e.putUi8(n)):-32768<=n&&n<=32767?(e.putI8(209),e.putI16(n)):-2147483648<=n&&n<=2147483647?(e.putI8(210),e.putI32(n)):(e.putI8(211),e.putI64(n))},dec(e){const n=e.getUi8();if(o(n))return function(e){return 127&e}(n);if(i(n))return function(e){return e-256}(n);switch(n){case 192:return 0;case 208:return e.getI8();case 209:return e.getI16();case 210:return e.getI32();case 211:return e.getI64();case 204:return e.getUi8();case 205:return e.getUi16();case 206:return e.getUi32();case 207:return e.getUi64();default:r(n,"int")}}},w={enc(e,n){if(n<0)throw new Error(`not an uint: ${n}`);n<=127?e.putUi8(a(n)):n<=255?(e.putUi8(204),e.putUi8(n)):n<=65535?(e.putUi8(205),e.putUi16(n)):n<=4294967295?(e.putUi8(206),e.putUi32(n)):(e.putUi8(207),e.putUi64(n))},dec(e){const n=E.dec(e);if(n<0)throw new RangeError("uint underflow");return n}},C={enc(e,n){e.putUi8(203),e.putF(n)},dec(e){const n=e.getUi8();switch(n){case 192:return 0;case 202:return e.getF32();case 203:return e.getF64();default:r(n,"float")}}},_={enc(e,n){u(e,n,196)},dec:d},S={enc(e,n){const t=function(e){const n=e.length,t=new Uint8Array(4*n);let r,a=0,o=0;for(;o>6),t[a++]=128+(63&r)):r<65536?(t[a++]=224+(r>>12),t[a++]=128+(r>>6&63),t[a++]=128+(63&r)):(t[a++]=240+(r>>18),t[a++]=128+(r>>12&63),t[a++]=128+(r>>6&63),t[a++]=128+(63&r));return t.buffer.slice(0,a)}(n);t.byteLength<32?(e.putUi8(160|31&t.byteLength),e.put(t)):u(e,t,217)},dec:e=>function(e){return new TextDecoder("utf-8").decode(e)}(d(e))},N={enc(e,n){const t=n.getTime();e.putUi8(199),e.putUi8(12),e.putI8(-1),e.putUi32(t%1e3*1e6),e.putI64(t/1e3)},dec(e){const n=e.getUi8();switch(n){case 214:if(-1===e.getI8())return new Date(1e3*e.getUi32());break;case 215:if(-1===e.getI8()){const n=e.getUi32(),t=e.getUi32();return new Date(1e3*(t+4294967296*(3&n))+n/4e6)}break;case 199:if(12===e.getUi8()&&-1===e.getI8()){const n=e.getUi32(),t=e.getI64();return new Date(1e3*t+n/1e6)}}r(n,"time")}},k=P(v),O=T(v,v);function P(e){return{encHeader:f,decHeader:p,enc(n,t){f(n,t.length),t.forEach((t=>e.enc(n,t)))},dec(n){const t=[];for(let r=p(n);r>0;--r)t.push(e.dec(n));return t}}}function T(e,n){return{encHeader:m,decHeader:h,enc(t,r){const a=Object.keys(r);m(t,a.length),a.forEach((a=>{e.enc(t,a),n.enc(t,r[a])}))},dec(t){const r={};for(let a=h(t);a>0;--a)r[e.dec(t)]=n.dec(t);return r}}}function R(e){const n=Object.keys(e);return(t,r)=>{m(t,n.length),n.forEach((n=>{const a=e[n];E.enc(t,Number(n)),a[1].enc(t,r[a[0]])}))}}function I(e){return n=>{const t={};for(let r=h(n);r>0;--r){const r=e[E.dec(n)];r?t[r[0]]=r[1].dec(n):v.dec(n)}return t}}function A(e){return{enc:R(e),dec:I(e)}}function D(e){return(n,t)=>{f(n,2);const r=e.ordinalOf(t);E.enc(n,r),e[r].enc(n,t)}}function L(e){return n=>{p(n,2);const t=e[E.dec(n)];if(!t)throw new TypeError("invalid union type");return t.dec(n)}}function j(e){return{enc:D(e),dec:L(e)}}function M(e,n){const t=function(){let e=new DataView(new ArrayBuffer(64)),n=0;function t(t){if(n+t>e.byteLength){const r=new Uint8Array(Math.max(n+t,e.byteLength+64));r.set(new Uint8Array(e.buffer.slice(0,n))),e=new DataView(r.buffer)}}return{put(r){t(r.byteLength),new Uint8Array(e.buffer).set(new Uint8Array(r),n),n+=r.byteLength},putI8(r){t(1),e.setInt8(n,r),++n},putI16(r){t(2),e.setInt16(n,r),n+=2},putI32(r){t(4),e.setInt32(n,r),n+=4},putI64(r){t(8);const a=r<0;a&&(r=-r);let o=r/4294967296|0,i=r%4294967296|0;a&&(i=1+~i|0,o=0===i?1+~o|0:~o),e.setUint32(n,o),e.setUint32(n+4,i),n+=8},putUi8(r){t(1),e.setUint8(n,r),++n},putUi16(r){t(2),e.setUint16(n,r),n+=2},putUi32(r){t(4),e.setUint32(n,r),n+=4},putUi64(r){t(8),e.setUint32(n,r/4294967296|0),e.setUint32(n+4,r%4294967296),n+=8},putF(r){t(8),e.setFloat64(n,r),n+=8},ui8array:()=>new Uint8Array(e.buffer.slice(0,n))}}();return(n||v).enc(t,e),t.ui8array()}function F(e,n){return(n||v).dec(function(e){let n=ArrayBuffer.isView(e)?new DataView(e.buffer,e.byteOffset,e.byteLength):new DataView(e),t=0;return{peek:()=>n.getUint8(t),get(e){t+=e;const r=n.byteOffset;return n.buffer.slice(r+t-e,r+t)},getI8:()=>n.getInt8(t++),getI16:()=>(t+=2,n.getInt16(t-2)),getI32:()=>(t+=4,n.getInt32(t-4)),getI64:()=>(t+=8,4294967296*n.getInt32(t-8)+n.getUint32(t-4)),getUi8:()=>n.getUint8(t++),getUi16:()=>(t+=2,n.getUint16(t-2)),getUi32:()=>(t+=4,n.getUint32(t-4)),getUi64:()=>(t+=8,4294967296*n.getUint32(t-8)+n.getUint32(t-4)),getF32:()=>(t+=4,n.getFloat32(t-4)),getF64:()=>(t+=8,n.getFloat64(t-8))}}(e))}},1039:(e,n,t)=>{"use strict";t.r(n)},283:(e,n,t)=>{"use strict";t.r(n)},798:(e,n,t)=>{"use strict";t.r(n),t.d(n,{MobXProviderContext:()=>ie,Observer:()=>k,PropTypes:()=>ye,Provider:()=>se,disposeOnUnmount:()=>me,inject:()=>ue,isUsingStaticRendering:()=>m,observer:()=>ae,observerBatching:()=>d,useAsObservableSource:()=>T,useLocalStore:()=>R,useObserver:()=>_,useStaticRendering:()=>p});var r=t(2188),a=t(7294);if(!a.useState)throw new Error("mobx-react-lite requires React with Hooks support");if(!r.spy)throw new Error("mobx-react-lite requires mobx at least version 4 to be available");var o=t(3935);function i(){var e=function(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,a,o=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(a)throw a.error}}return i}((0,a.useState)(0),2)[1];return(0,a.useCallback)((function(){e((function(e){return e+1}))}),[])}var s,l={},c=(s="observerBatching","function"==typeof Symbol?Symbol.for(s):"__$mobx-react "+s+"__");function u(e){e()}function d(e){e||(e=u),(0,r.configure)({reactionScheduler:e}),("undefined"!=typeof window?window:void 0!==t.g?t.g:"undefined"!=typeof self?self:l)[c]=!0}var f=!1;function p(e){f=e}function m(){return f}function h(e){return(0,r.getDependencyTree)(e)}var b,g=new Set;function v(){void 0===b&&(b=setTimeout(y,1e4))}function y(){b=void 0;var e=Date.now();g.forEach((function(n){var t=n.current;t&&e>=t.cleanAt&&(t.reaction.dispose(),n.current=null,g.delete(n))})),g.size>0&&v()}var x=!1,E=[],w={};function C(e){return"observer"+e}function _(e,n,t){if(void 0===n&&(n="observed"),void 0===t&&(t=w),m())return e();var o,s,l=(s=(t.useForceUpdate||i)(),function(){x?E.push(s):s()}),c=a.useRef(null);if(!c.current){var u=new r.Reaction(C(n),(function(){d.mounted?l():(u.dispose(),c.current=null)})),d=function(e){return{cleanAt:Date.now()+1e4,reaction:e}}(u);c.current=d,o=c,g.add(o),v()}var f=c.current.reaction;return a.useDebugValue(f,h),a.useEffect((function(){var e;return e=c,g.delete(e),c.current?c.current.mounted=!0:(c.current={reaction:new r.Reaction(C(n),(function(){l()})),cleanAt:1/0},l()),function(){c.current.reaction.dispose(),c.current=null}}),[]),function(n){x=!0,E=[];try{var t=function(){var n,t;if(f.track((function(){try{n=e()}catch(e){t=e}})),t)throw t;return n}();x=!1;var r=E.length>0?E:void 0;return a.useLayoutEffect((function(){r&&r.forEach((function(e){return e()}))}),[r]),t}finally{x=!1}}()}var S=function(){return S=Object.assign||function(e){for(var n,t=1,r=arguments.length;t0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(a)throw a.error}}return i}(a.useState((function(){return(0,r.observable)(e,{},{deep:!1})})),1)[0];return(0,r.runInAction)((function(){Object.assign(t,e)})),t}}function T(e){return P(e,!1)}function R(e,n){var t=P(n,!0);return a.useState((function(){var n=(0,r.observable)(e(t));return function(e){if(!e||"object"!=typeof e)return!1;var n=Object.getPrototypeOf(e);return!n||n===Object.prototype}(n)&&(0,r.runInAction)((function(){Object.keys(n).forEach((function(e){var t,a,o=n[e];"function"==typeof o&&(n[e]=(t=o,a=n,function(){for(var e=[],n=0;n2?r-2:0),o=2;o"}function Y(e){var n=this;if(!0===m())return e.call(this);F(this,X,!1),F(this,q,!1);var t=J(this),o=e.bind(this),i=!1,s=new r.Reaction(t+".render()",(function(){if(!i&&(i=!0,!0!==n[W])){var e=!0;try{F(n,q,!0),n[X]||a.Component.prototype.forceUpdate.call(n),e=!1}finally{F(n,q,!1),e&&s.dispose()}}}));function l(){i=!1;var e=void 0,n=void 0;if(s.track((function(){try{n=(0,r._allowStateChanges)(!1,o)}catch(n){e=n}})),e)throw e;return n}return s.reactComponent=this,l[Z]=s,this.render=l,l.call(this)}function Q(e,n){return m()&&console.warn("[mobx-react] It seems that a re-rendering of a React component is triggered while in static (server-side) mode. Please make sure components are rendered only once server-side."),this.state!==n||!L(this.props,e)}function ee(e,n){var t=D("reactProp_"+n+"_valueHolder"),a=D("reactProp_"+n+"_atomHolder");function o(){return this[a]||F(this,a,(0,r.createAtom)("reactive "+n)),this[a]}Object.defineProperty(e,n,{configurable:!0,enumerable:!0,get:function(){var e=!1;return r._allowStateReadsStart&&r._allowStateReadsEnd&&(e=(0,r._allowStateReadsStart)(!0)),o.call(this).reportObserved(),r._allowStateReadsStart&&r._allowStateReadsEnd&&(0,r._allowStateReadsEnd)(e),this[t]},set:function(e){this[q]||L(this[t],e)?F(this,t,e):(F(this,t,e),F(this,X,!0),o.call(this).reportChanged(),F(this,X,!1))}})}var ne="function"==typeof Symbol&&Symbol.for,te=ne?Symbol.for("react.forward_ref"):"function"==typeof a.forwardRef&&(0,a.forwardRef)((function(e){return null})).$$typeof,re=ne?Symbol.for("react.memo"):"function"==typeof a.memo&&(0,a.memo)((function(e){return null})).$$typeof;function ae(e){if(!0===e.isMobxInjector&&console.warn("Mobx observer: You are trying to use 'observer' on a component that already has 'inject'. Please apply 'observer' before applying 'inject'"),re&&e.$$typeof===re)throw new Error("Mobx observer: You are trying to use 'observer' on a function component wrapped in either another observer or 'React.memo'. The observer already applies 'React.memo' for you.");if(te&&e.$$typeof===te){var n=e.render;if("function"!=typeof n)throw new Error("render property of ForwardRef was not a function");return(0,a.forwardRef)((function(){var e=arguments;return(0,a.createElement)(k,null,(function(){return n.apply(void 0,e)}))}))}return"function"!=typeof e||e.prototype&&e.prototype.render||e.isReactClass||Object.prototype.isPrototypeOf.call(a.Component,e)?K(e):function(e,n){if(m())return e;var t,r,o,i=S({forwardRef:!1},n),s=e.displayName||e.name,l=function(n,t){return _((function(){return e(n,t)}),s)};return l.displayName=s,t=i.forwardRef?(0,a.memo)((0,a.forwardRef)(l)):(0,a.memo)(l),r=e,o=t,Object.keys(r).forEach((function(e){N[e]||Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(r,e))})),t.displayName=s,t}(e)}function oe(){return oe=Object.assign||function(e){for(var n=1;n=0||(a[t]=e[t]);return a}(e,["children"]),r=a.useContext(ie),o=a.useRef(oe({},r,t)).current;return a.createElement(ie.Provider,{value:o},n)}function le(e,n,t,r){var o,i,s,l=a.forwardRef((function(t,r){var o=oe({},t),i=a.useContext(ie);return Object.assign(o,e(i||{},o)||{}),r&&(o.ref=r),a.createElement(n,o)}));return r&&(l=ae(l)),l.isMobxInjector=!0,o=n,i=l,s=Object.getOwnPropertyNames(Object.getPrototypeOf(o)),Object.getOwnPropertyNames(o).forEach((function(e){M[e]||-1!==s.indexOf(e)||Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})),l.wrappedComponent=n,l.displayName=function(e,n){var t=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return n?"inject-with-"+n+"("+t+")":"inject("+t+")"}(n,t),l}function ce(e){return function(n,t){return e.forEach((function(e){if(!(e in t)){if(!(e in n))throw new Error("MobX injector: Store '"+e+"' is not available! Make sure it is provided by some Provider");t[e]=n[e]}})),t}}function ue(){for(var e=arguments.length,n=new Array(e),t=0;t6?l-6:0),u=6;u>",s=s||a,null==t[a]){if(n){var r=null===t[a]?"null":"undefined";return new Error("The "+i+" `"+s+"` is marked as required in `"+o+"`, but its value is `"+r+"`.")}return null}return e.apply(void 0,[t,a,o,i,s].concat(c))}))}var t=n.bind(null,!1);return t.isRequired=n.bind(null,!0),t}function be(e){var n=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,n){return"symbol"===e||"Symbol"===n["@@toStringTag"]||"function"==typeof Symbol&&n instanceof Symbol}(n,e)?"symbol":n}function ge(e,n){return he((function(t,a,o,i,s){return(0,r.untracked)((function(){if(e&&be(t[a])===n.toLowerCase())return null;var i;switch(n){case"Array":i=r.isObservableArray;break;case"Object":i=r.isObservableObject;break;case"Map":i=r.isObservableMap;break;default:throw new Error("Unexpected mobxType: "+n)}var l=t[a];if(!i(l)){var c=function(e){var n=be(e);if("object"===n){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return n}(l),u=e?" or javascript `"+n.toLowerCase()+"`":"";return new Error("Invalid prop `"+s+"` of type `"+c+"` supplied to `"+o+"`, expected `mobx.Observable"+n+"`"+u+".")}return null}))}))}function ve(e,n){return he((function(t,a,o,i,s){for(var l=arguments.length,c=new Array(l>5?l-5:0),u=5;u{"use strict";t.r(n),t.d(n,{$mobx:()=>E,FlowCancellationError:()=>On,IDerivationState:()=>Y,ObservableMap:()=>Ct,ObservableSet:()=>Nt,Reaction:()=>qe,_allowStateChanges:()=>Ce,_allowStateChangesInsideComputed:()=>Ne,_allowStateReadsEnd:()=>me,_allowStateReadsStart:()=>pe,_endAction:()=>we,_getAdministration:()=>jt,_getGlobalState:()=>Be,_interceptReads:()=>In,_isComputingDerivation:()=>ie,_resetGlobalState:()=>Ue,_startAction:()=>Ee,action:()=>sn,autorun:()=>dn,comparer:()=>S,computed:()=>te,configure:()=>vn,createAtom:()=>_,decorate:()=>yn,entries:()=>Vn,extendObservable:()=>xn,flow:()=>Tn,get:()=>Gn,getAtom:()=>Lt,getDebugName:()=>Mt,getDependencyTree:()=>Cn,getObserverTree:()=>Sn,has:()=>Zn,intercept:()=>An,isAction:()=>cn,isArrayLike:()=>m,isBoxedObservable:()=>Oe,isComputed:()=>Ln,isComputedProp:()=>jn,isFlowCancellationError:()=>Pn,isObservable:()=>Fn,isObservableArray:()=>xt,isObservableMap:()=>_t,isObservableObject:()=>Dt,isObservableProp:()=>Bn,isObservableSet:()=>kt,keys:()=>Un,observable:()=>K,observe:()=>Wn,onBecomeObserved:()=>hn,onBecomeUnobserved:()=>bn,onReactionError:()=>Ke,reaction:()=>mn,remove:()=>Hn,runInAction:()=>ln,set:()=>$n,spy:()=>tn,toJS:()=>Jn,trace:()=>Yn,transaction:()=>et,untracked:()=>ue,values:()=>zn,when:()=>nt});var r=[];Object.freeze(r);var a={};function o(){return++Fe.mobxGuid}function i(e){throw s(!1,e),"X"}function s(e,n){if(!e)throw new Error("[mobx] "+(n||"An invariant failed, however the error is obfuscated because this is a production build."))}function l(e){var n=!1;return function(){if(!n)return n=!0,e.apply(this,arguments)}}Object.freeze(a);var c=function(){};function u(e){return null!==e&&"object"==typeof e}function d(e){if(null===e||"object"!=typeof e)return!1;var n=Object.getPrototypeOf(e);return n===Object.prototype||null===n}function f(e,n,t){Object.defineProperty(e,n,{enumerable:!1,writable:!0,configurable:!0,value:t})}function p(e,n){var t="isMobX"+e;return n.prototype[t]=!0,function(e){return u(e)&&!0===e[t]}}function m(e){return Array.isArray(e)||xt(e)}function h(e){return e instanceof Map}function b(e){return e instanceof Set}function g(e){var n=new Set;for(var t in e)n.add(t);return Object.getOwnPropertySymbols(e).forEach((function(t){Object.getOwnPropertyDescriptor(e,t).enumerable&&n.add(t)})),Array.from(n)}function v(e){return e&&e.toString?e.toString():new String(e).toString()}function y(e){return null===e?null:"object"==typeof e?""+e:e}var x="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,E=Symbol("mobx administration"),w=function(){function e(e){void 0===e&&(e="Atom@"+o()),this.name=e,this.isPendingUnobservation=!1,this.isBeingObserved=!1,this.observers=new Set,this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=Y.NOT_TRACKING}return e.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},e.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},e.prototype.reportObserved=function(){return Ge(this)},e.prototype.reportChanged=function(){He(),function(e){e.lowestObserverState!==Y.STALE&&(e.lowestObserverState=Y.STALE,e.observers.forEach((function(n){n.dependenciesState===Y.UP_TO_DATE&&(n.isTracing!==Q.NONE&&We(n,e),n.onBecomeStale()),n.dependenciesState=Y.STALE})))}(this),Ze()},e.prototype.toString=function(){return this.name},e}(),C=p("Atom",w);function _(e,n,t){void 0===n&&(n=c),void 0===t&&(t=c);var r=new w(e);return n!==c&&hn(r,n),t!==c&&bn(r,t),r}var S={identity:function(e,n){return e===n},structural:function(e,n){return Bt(e,n)},default:function(e,n){return Object.is(e,n)},shallow:function(e,n){return Bt(e,n,1)}},N=function(e,n){return N=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},N(e,n)},k=function(){return k=Object.assign||function(e){for(var n,t=1,r=arguments.length;t=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}}}function P(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,a,o=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(r=o.next()).done;)i.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(t=o.return)&&t.call(o)}finally{if(a)throw a.error}}return i}function T(){for(var e=[],n=0;n2&&J("box");var t=$(n);return new ke(e,X(t),t.name,!0,t.equals)},array:function(e,n){arguments.length>2&&J("array");var t=$(n);return ht(e,X(t),t.name)},map:function(e,n){arguments.length>2&&J("map");var t=$(n);return new Ct(e,X(t),t.name)},set:function(e,n){arguments.length>2&&J("set");var t=$(n);return new Nt(e,X(t),t.name)},object:function(e,n,t){"string"==typeof arguments[1]&&J("object");var r=$(t);if(!1===r.proxy)return xn({},e,n,r);var a=En(r),o=xn({},void 0,void 0,r),i=st(o);return wn(i,e,n,a),i},ref:G,shallow:Z,deep:H,struct:W},K=function(e,n,t){if("string"==typeof arguments[1]||"symbol"==typeof arguments[1])return H.apply(null,arguments);if(Fn(e))return e;var r=d(e)?K.object(e,n,t):Array.isArray(e)?K.array(e,n):h(e)?K.map(e,n):b(e)?K.set(e,n):e;if(r!==e)return r;i(!1)};function J(e){i("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}Object.keys(q).forEach((function(e){return K[e]=q[e]}));var Y,Q,ee=M(!1,(function(e,n,t,r,a){var o=t.get,i=t.set,s=a[0]||{};Pt(e).addComputedProp(e,n,k({get:o,set:i,context:e},s))})),ne=ee({equals:S.structural}),te=function(e,n,t){if("string"==typeof n)return ee.apply(null,arguments);if(null!==e&&"object"==typeof e&&1===arguments.length)return ee.apply(null,arguments);var r="object"==typeof n?n:{};return r.get=e,r.set="function"==typeof n?n:r.set,r.name=r.name||e.name||"",new Pe(r)};te.struct=ne,function(e){e[e.NOT_TRACKING=-1]="NOT_TRACKING",e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.POSSIBLY_STALE=1]="POSSIBLY_STALE",e[e.STALE=2]="STALE"}(Y||(Y={})),function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Q||(Q={}));var re=function(e){this.cause=e};function ae(e){return e instanceof re}function oe(e){switch(e.dependenciesState){case Y.UP_TO_DATE:return!1;case Y.NOT_TRACKING:case Y.STALE:return!0;case Y.POSSIBLY_STALE:for(var n=pe(!0),t=de(),r=e.observing,a=r.length,o=0;o0;Fe.computationDepth>0&&n&&i(!1),Fe.allowStateChanges||!n&&"strict"!==Fe.enforceActions||i(!1)}function le(e,n,t){var r=pe(!0);he(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++Fe.runId;var a,o=Fe.trackingDerivation;if(Fe.trackingDerivation=e,!0===Fe.disableErrorBoundaries)a=n.call(t);else try{a=n.call(t)}catch(e){a=new re(e)}return Fe.trackingDerivation=o,function(e){for(var n=e.observing,t=e.observing=e.newObserving,r=Y.UP_TO_DATE,a=0,o=e.unboundDepsCount,i=0;ir&&(r=s.dependenciesState);for(t.length=a,e.newObserving=null,o=n.length;o--;)0===(s=n[o]).diffValue&&Ve(s,e),s.diffValue=0;for(;a--;){var s;1===(s=t[a]).diffValue&&(s.diffValue=0,ze(s,e))}r!==Y.UP_TO_DATE&&(e.dependenciesState=r,e.onBecomeStale())}(e),me(r),a}function ce(e){var n=e.observing;e.observing=[];for(var t=n.length;t--;)Ve(n[t],e);e.dependenciesState=Y.NOT_TRACKING}function ue(e){var n=de();try{return e()}finally{fe(n)}}function de(){var e=Fe.trackingDerivation;return Fe.trackingDerivation=null,e}function fe(e){Fe.trackingDerivation=e}function pe(e){var n=Fe.allowStateReads;return Fe.allowStateReads=e,n}function me(e){Fe.allowStateReads=e}function he(e){if(e.dependenciesState!==Y.UP_TO_DATE){e.dependenciesState=Y.UP_TO_DATE;for(var n=e.observing,t=n.length;t--;)n[t].lowestObserverState=Y.UP_TO_DATE}}var be=0,ge=1,ve=Object.getOwnPropertyDescriptor((function(){}),"name");function ye(e,n,t){var r=function(){return xe(e,n,t||this,arguments)};return r.isMobxAction=!0,r}function xe(e,n,t,r){var a=Ee();try{return n.apply(t,r)}catch(e){throw a.error=e,e}finally{we(a)}}function Ee(e,n,t){var r=de();He();var a={prevDerivation:r,prevAllowStateChanges:_e(!0),prevAllowStateReads:pe(!0),notifySpy:!1,startTime:0,actionId:ge++,parentActionId:be};return be=a.actionId,a}function we(e){be!==e.actionId&&i("invalid action stack. did you forget to finish an action?"),be=e.parentActionId,void 0!==e.error&&(Fe.suppressReactionErrors=!0),Se(e.prevAllowStateChanges),me(e.prevAllowStateReads),Ze(),fe(e.prevDerivation),e.notifySpy,Fe.suppressReactionErrors=!1}function Ce(e,n){var t,r=_e(e);try{t=n()}finally{Se(r)}return t}function _e(e){var n=Fe.allowStateChanges;return Fe.allowStateChanges=e,n}function Se(e){Fe.allowStateChanges=e}function Ne(e){var n,t=Fe.computationDepth;Fe.computationDepth=0;try{n=e()}finally{Fe.computationDepth=t}return n}ve&&ve.configurable;var ke=function(e){function n(n,t,r,a,i){void 0===r&&(r="ObservableValue@"+o()),void 0===a&&(a=!0),void 0===i&&(i=S.default);var s=e.call(this,r)||this;return s.enhancer=t,s.name=r,s.equals=i,s.hasUnreportedChange=!1,s.value=t(n,void 0,r),s}return function(e,n){function t(){this.constructor=e}N(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}(n,e),n.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},n.prototype.set=function(e){this.value,(e=this.prepareNewValue(e))!==Fe.UNCHANGED&&this.setNewValue(e)},n.prototype.prepareNewValue=function(e){if(se(this),lt(this)){var n=ut(this,{object:this,type:"update",newValue:e});if(!n)return Fe.UNCHANGED;e=n.newValue}return e=this.enhancer(e,this.value,this.name),this.equals(this.value,e)?Fe.UNCHANGED:e},n.prototype.setNewValue=function(e){var n=this.value;this.value=e,this.reportChanged(),dt(this)&&pt(this,{type:"update",object:this,newValue:e,oldValue:n})},n.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},n.prototype.intercept=function(e){return ct(this,e)},n.prototype.observe=function(e,n){return n&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),ft(this,e)},n.prototype.toJSON=function(){return this.get()},n.prototype.toString=function(){return this.name+"["+this.value+"]"},n.prototype.valueOf=function(){return y(this.get())},n.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},n}(w),Oe=p("ObservableValue",ke),Pe=function(){function e(e){this.dependenciesState=Y.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isBeingObserved=!1,this.isPendingUnobservation=!1,this.observers=new Set,this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=Y.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+o(),this.value=new re(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Q.NONE,s(e.get,"missing option for computed: get"),this.derivation=e.get,this.name=e.name||"ComputedValue@"+o(),e.set&&(this.setter=ye(this.name+"-setter",e.set)),this.equals=e.equals||(e.compareStructural||e.struct?S.structural:S.default),this.scope=e.context,this.requiresReaction=!!e.requiresReaction,this.keepAlive=!!e.keepAlive}return e.prototype.onBecomeStale=function(){!function(e){e.lowestObserverState===Y.UP_TO_DATE&&(e.lowestObserverState=Y.POSSIBLY_STALE,e.observers.forEach((function(n){n.dependenciesState===Y.UP_TO_DATE&&(n.dependenciesState=Y.POSSIBLY_STALE,n.isTracing!==Q.NONE&&We(n,e),n.onBecomeStale())})))}(this)},e.prototype.onBecomeObserved=function(){this.onBecomeObservedListeners&&this.onBecomeObservedListeners.forEach((function(e){return e()}))},e.prototype.onBecomeUnobserved=function(){this.onBecomeUnobservedListeners&&this.onBecomeUnobservedListeners.forEach((function(e){return e()}))},e.prototype.get=function(){this.isComputing&&i("Cycle detected in computation "+this.name+": "+this.derivation),0!==Fe.inBatch||0!==this.observers.size||this.keepAlive?(Ge(this),oe(this)&&this.trackAndCompute()&&function(e){e.lowestObserverState!==Y.STALE&&(e.lowestObserverState=Y.STALE,e.observers.forEach((function(n){n.dependenciesState===Y.POSSIBLY_STALE?n.dependenciesState=Y.STALE:n.dependenciesState===Y.UP_TO_DATE&&(e.lowestObserverState=Y.UP_TO_DATE)})))}(this)):oe(this)&&(this.warnAboutUntrackedRead(),He(),this.value=this.computeValue(!1),Ze());var e=this.value;if(ae(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(ae(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){s(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else s(!1,!1)},e.prototype.trackAndCompute=function(){var e=this.value,n=this.dependenciesState===Y.NOT_TRACKING,t=this.computeValue(!0),r=n||ae(e)||ae(t)||!this.equals(e,t);return r&&(this.value=t),r},e.prototype.computeValue=function(e){var n;if(this.isComputing=!0,Fe.computationDepth++,e)n=le(this,this.derivation,this.scope);else if(!0===Fe.disableErrorBoundaries)n=this.derivation.call(this.scope);else try{n=this.derivation.call(this.scope)}catch(e){n=new re(e)}return Fe.computationDepth--,this.isComputing=!1,n},e.prototype.suspend=function(){this.keepAlive||(ce(this),this.value=void 0)},e.prototype.observe=function(e,n){var t=this,r=!0,a=void 0;return dn((function(){var o=t.get();if(!r||n){var i=de();e({type:"update",object:t,newValue:o,oldValue:a}),fe(i)}r=!1,a=o}))},e.prototype.warnAboutUntrackedRead=function(){},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return y(this.get())},e.prototype[Symbol.toPrimitive]=function(){return this.valueOf()},e}(),Te=p("ComputedValue",Pe),Re=["mobxGuid","spyListeners","enforceActions","computedRequiresReaction","reactionRequiresObservable","observableRequiresReaction","allowStateReads","disableErrorBoundaries","runId","UNCHANGED"],Ie=function(){this.version=5,this.UNCHANGED={},this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.allowStateReads=!0,this.enforceActions=!1,this.spyListeners=[],this.globalReactionErrorHandlers=[],this.computedRequiresReaction=!1,this.reactionRequiresObservable=!1,this.observableRequiresReaction=!1,this.computedConfigurable=!1,this.disableErrorBoundaries=!1,this.suppressReactionErrors=!1},Ae={};function De(){return"undefined"!=typeof window?window:void 0!==t.g?t.g:"undefined"!=typeof self?self:Ae}var Le,je=!0,Me=!1,Fe=((Le=De()).__mobxInstanceCount>0&&!Le.__mobxGlobals&&(je=!1),Le.__mobxGlobals&&Le.__mobxGlobals.version!==(new Ie).version&&(je=!1),je?Le.__mobxGlobals?(Le.__mobxInstanceCount+=1,Le.__mobxGlobals.UNCHANGED||(Le.__mobxGlobals.UNCHANGED={}),Le.__mobxGlobals):(Le.__mobxInstanceCount=1,Le.__mobxGlobals=new Ie):(setTimeout((function(){Me||i("There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`")}),1),new Ie));function Be(){return Fe}function Ue(){var e=new Ie;for(var n in e)-1===Re.indexOf(n)&&(Fe[n]=e[n]);Fe.allowStateChanges=!Fe.enforceActions}function ze(e,n){e.observers.add(n),e.lowestObserverState>n.dependenciesState&&(e.lowestObserverState=n.dependenciesState)}function Ve(e,n){e.observers.delete(n),0===e.observers.size&&$e(e)}function $e(e){!1===e.isPendingUnobservation&&(e.isPendingUnobservation=!0,Fe.pendingUnobservations.push(e))}function He(){Fe.inBatch++}function Ze(){if(0==--Fe.inBatch){Ye();for(var e=Fe.pendingUnobservations,n=0;n0&&$e(e),!1)}function We(e,n){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+n.name+"'"),e.isTracing===Q.BREAK){var t=[];Xe(Cn(e),t,1),new Function("debugger;\n/*\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+n.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof Pe?e.derivation.toString().replace(/[*]\//g,"/"):"")+"\n\nThe dependencies for this derivation are:\n\n"+t.join("\n")+"\n*/\n ")()}}function Xe(e,n,t){n.length>=1e3?n.push("(and many more)"):(n.push(""+new Array(t).join("\t")+e.name),e.dependencies&&e.dependencies.forEach((function(e){return Xe(e,n,t+1)})))}var qe=function(){function e(e,n,t,r){void 0===e&&(e="Reaction@"+o()),void 0===r&&(r=!1),this.name=e,this.onInvalidate=n,this.errorHandler=t,this.requiresObservable=r,this.observing=[],this.newObserving=[],this.dependenciesState=Y.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+o(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=Q.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,Fe.pendingReactions.push(this),Ye())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){if(!this.isDisposed){if(He(),this._isScheduled=!1,oe(this)){this._isTrackPending=!0;try{this.onInvalidate(),this._isTrackPending}catch(e){this.reportExceptionInDerivation(e)}}Ze()}},e.prototype.track=function(e){if(!this.isDisposed){He(),this._isRunning=!0;var n=le(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&ce(this),ae(n)&&this.reportExceptionInDerivation(n.cause),Ze()}},e.prototype.reportExceptionInDerivation=function(e){var n=this;if(this.errorHandler)this.errorHandler(e,this);else{if(Fe.disableErrorBoundaries)throw e;var t="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this+"'";Fe.suppressReactionErrors?console.warn("[mobx] (error in reaction '"+this.name+"' suppressed, fix error of causing action below)"):console.error(t,e),Fe.globalReactionErrorHandlers.forEach((function(t){return t(e,n)}))}},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(He(),ce(this),Ze()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e[E]=this,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.trace=function(e){void 0===e&&(e=!1),Yn(this,e)},e}();function Ke(e){return Fe.globalReactionErrorHandlers.push(e),function(){var n=Fe.globalReactionErrorHandlers.indexOf(e);n>=0&&Fe.globalReactionErrorHandlers.splice(n,1)}}var Je=function(e){return e()};function Ye(){Fe.inBatch>0||Fe.isRunningReactions||Je(Qe)}function Qe(){Fe.isRunningReactions=!0;for(var e=Fe.pendingReactions,n=0;e.length>0;){100==++n&&(console.error("Reaction doesn't converge to a stable state after 100 iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var t=e.splice(0),r=0,a=t.length;r",e):2===arguments.length&&"function"==typeof n?ye(e,n):1===arguments.length&&"string"==typeof e?an(e):!0!==r?an(n).apply(null,arguments):void f(e,n,ye(e.name||n,t.value,this))};function ln(e,n){return xe("string"==typeof e||e.name,"function"==typeof e?e:n,this,void 0)}function cn(e){return"function"==typeof e&&!0===e.isMobxAction}function un(e,n,t){f(e,n,ye(n,t.bind(e)))}function dn(e,n){void 0===n&&(n=a);var t,r=n&&n.name||e.name||"Autorun@"+o();if(n.scheduler||n.delay){var i=pn(n),s=!1;t=new qe(r,(function(){s||(s=!0,i((function(){s=!1,t.isDisposed||t.track(l)})))}),n.onError,n.requiresObservable)}else t=new qe(r,(function(){this.track(l)}),n.onError,n.requiresObservable);function l(){e(t)}return t.schedule(),t.getDisposer()}sn.bound=function(e,n,t,r){return!0===r?(un(e,n,t.value),null):t?{configurable:!0,enumerable:!1,get:function(){return un(this,n,t.value||t.initializer.call(this)),this[n]},set:rn}:{enumerable:!1,configurable:!0,set:function(e){un(this,n,e)},get:function(){}}};var fn=function(e){return e()};function pn(e){return e.scheduler?e.scheduler:e.delay?function(n){return setTimeout(n,e.delay)}:fn}function mn(e,n,t){void 0===t&&(t=a);var r,i,s,l=t.name||"Reaction@"+o(),c=sn(l,t.onError?(r=t.onError,i=n,function(){try{return i.apply(this,arguments)}catch(e){r.call(this,e)}}):n),u=!t.scheduler&&!t.delay,d=pn(t),f=!0,p=!1,m=t.compareStructural?S.structural:t.equals||S.default,h=new qe(l,(function(){f||u?b():p||(p=!0,d(b))}),t.onError,t.requiresObservable);function b(){if(p=!1,!h.isDisposed){var n=!1;h.track((function(){var t=e(h);n=f||!m(s,t),s=t})),f&&t.fireImmediately&&c(s,h),f||!0!==n||c(s,h),f&&(f=!1)}}return h.schedule(),h.getDisposer()}function hn(e,n,t){return gn("onBecomeObserved",e,n,t)}function bn(e,n,t){return gn("onBecomeUnobserved",e,n,t)}function gn(e,n,t,r){var a="function"==typeof r?Lt(n,t):Lt(n),o="function"==typeof r?r:t,s=e+"Listeners";return a[s]?a[s].add(o):a[s]=new Set([o]),"function"!=typeof a[e]?i(!1):function(){var e=a[s];e&&(e.delete(o),0===e.size&&delete a[s])}}function vn(e){var n=e.enforceActions,t=e.computedRequiresReaction,r=e.computedConfigurable,a=e.disableErrorBoundaries,o=e.reactionScheduler,s=e.reactionRequiresObservable,l=e.observableRequiresReaction;if(!0===e.isolateGlobalState&&((Fe.pendingReactions.length||Fe.inBatch||Fe.isRunningReactions)&&i("isolateGlobalState should be called before MobX is running any reactions"),Me=!0,je&&(0==--De().__mobxInstanceCount&&(De().__mobxGlobals=void 0),Fe=new Ie)),void 0!==n){var c=void 0;switch(n){case!0:case"observed":c=!0;break;case!1:case"never":c=!1;break;case"strict":case"always":c="strict";break;default:i("Invalid value for 'enforceActions': '"+n+"', expected 'never', 'always' or 'observed'")}Fe.enforceActions=c,Fe.allowStateChanges=!0!==c&&"strict"!==c}void 0!==t&&(Fe.computedRequiresReaction=!!t),void 0!==s&&(Fe.reactionRequiresObservable=!!s),void 0!==l&&(Fe.observableRequiresReaction=!!l,Fe.allowStateReads=!Fe.observableRequiresReaction),void 0!==r&&(Fe.computedConfigurable=!!r),void 0!==a&&(!0===a&&console.warn("WARNING: Debug feature only. MobX will NOT recover from errors when `disableErrorBoundaries` is enabled."),Fe.disableErrorBoundaries=!!a),o&&nn(o)}function yn(e,n){var t="function"==typeof e?e.prototype:e,r=function(e){var r=n[e];Array.isArray(r)||(r=[r]);var a=Object.getOwnPropertyDescriptor(t,e),o=r.reduce((function(n,r){return r(t,e,n)}),a);o&&Object.defineProperty(t,e,o)};for(var a in n)r(a);return e}function xn(e,n,t,r){var a=En(r=$(r));return j(e),Pt(e,r.name,a.enhancer),n&&wn(e,n,t,a),e}function En(e){return e.defaultDecorator||(!1===e.deep?G:H)}function wn(e,n,t,r){var a,o;He();try{var i=x(n);try{for(var s=O(i),l=s.next();!l.done;l=s.next()){var c=l.value,u=Object.getOwnPropertyDescriptor(n,c),d=(t&&c in t?t[c]:u.get?ee:r)(e,c,u,!0);d&&Object.defineProperty(e,c,d)}}catch(e){a={error:e}}finally{try{l&&!l.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}}finally{Ze()}}function Cn(e,n){return _n(Lt(e,n))}function _n(e){var n,t,r={name:e.name};return e.observing&&e.observing.length>0&&(r.dependencies=(n=e.observing,t=[],n.forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),t).map(_n)),r}function Sn(e,n){return Nn(Lt(e,n))}function Nn(e){var n={name:e.name};return function(e){return e.observers&&e.observers.size>0}(e)&&(n.observers=Array.from(function(e){return e.observers}(e)).map(Nn)),n}var kn=0;function On(){this.message="FLOW_CANCELLED"}function Pn(e){return e instanceof On}function Tn(e){1!==arguments.length&&i("Flow expects 1 argument and cannot be used as decorator");var n=e.name||"";return function(){var t,r=this,a=arguments,o=++kn,i=sn(n+" - runid: "+o+" - init",e).apply(r,a),s=void 0,l=new Promise((function(e,r){var a=0;function l(e){var t;s=void 0;try{t=sn(n+" - runid: "+o+" - yield "+a++,i.next).call(i,e)}catch(e){return r(e)}u(t)}function c(e){var t;s=void 0;try{t=sn(n+" - runid: "+o+" - yield "+a++,i.throw).call(i,e)}catch(e){return r(e)}u(t)}function u(n){if(!n||"function"!=typeof n.then)return n.done?e(n.value):(s=Promise.resolve(n.value)).then(l,c);n.then(u,r)}t=r,l(void 0)}));return l.cancel=sn(n+" - runid: "+o+" - cancel",(function(){try{s&&Rn(s);var e=i.return(void 0),n=Promise.resolve(e.value);n.then(c,c),Rn(n),t(new On)}catch(e){t(e)}})),l}}function Rn(e){"function"==typeof e.cancel&&e.cancel()}function In(e,n,t){var r;if(_t(e)||xt(e)||Oe(e))r=jt(e);else{if(!Dt(e))return i(!1);if("string"!=typeof n)return i(!1);r=jt(e,n)}return void 0!==r.dehancer?i(!1):(r.dehancer="function"==typeof n?n:t,function(){r.dehancer=void 0})}function An(e,n,t){return"function"==typeof t?function(e,n,t){return jt(e,n).intercept(t)}(e,n,t):function(e,n){return jt(e).intercept(n)}(e,n)}function Dn(e,n){if(null==e)return!1;if(void 0!==n){if(!1===Dt(e))return!1;if(!e[E].values.has(n))return!1;var t=Lt(e,n);return Te(t)}return Te(e)}function Ln(e){return arguments.length>1?i(!1):Dn(e)}function jn(e,n){return"string"!=typeof n?i(!1):Dn(e,n)}function Mn(e,n){return null!=e&&(void 0!==n?!!Dt(e)&&e[E].values.has(n):Dt(e)||!!e[E]||C(e)||en(e)||Te(e))}function Fn(e){return 1!==arguments.length&&i(!1),Mn(e)}function Bn(e,n){return"string"!=typeof n?i(!1):Mn(e,n)}function Un(e){return Dt(e)?e[E].getKeys():_t(e)||kt(e)?Array.from(e.keys()):xt(e)?e.map((function(e,n){return n})):i(!1)}function zn(e){return Dt(e)?Un(e).map((function(n){return e[n]})):_t(e)?Un(e).map((function(n){return e.get(n)})):kt(e)?Array.from(e.values()):xt(e)?e.slice():i(!1)}function Vn(e){return Dt(e)?Un(e).map((function(n){return[n,e[n]]})):_t(e)?Un(e).map((function(n){return[n,e.get(n)]})):kt(e)?Array.from(e.entries()):xt(e)?e.map((function(e,n){return[n,e]})):i(!1)}function $n(e,n,t){if(2!==arguments.length||kt(e))if(Dt(e)){var r=e[E],a=r.values.get(n);a?r.write(n,t):r.addObservableProp(n,t,r.defaultEnhancer)}else if(_t(e))e.set(n,t);else if(kt(e))e.add(n);else{if(!xt(e))return i(!1);"number"!=typeof n&&(n=parseInt(n,10)),s(n>=0,"Not a valid index: '"+n+"'"),He(),n>=e.length&&(e.length=n+1),e[n]=t,Ze()}else{He();var o=n;try{for(var l in o)$n(e,l,o[l])}finally{Ze()}}}function Hn(e,n){if(Dt(e))e[E].remove(n);else if(_t(e))e.delete(n);else if(kt(e))e.delete(n);else{if(!xt(e))return i(!1);"number"!=typeof n&&(n=parseInt(n,10)),s(n>=0,"Not a valid index: '"+n+"'"),e.splice(n,1)}}function Zn(e,n){return Dt(e)?jt(e).has(n):_t(e)||kt(e)?e.has(n):xt(e)?n>=0&&n0}function ct(e,n){var t=e.interceptors||(e.interceptors=[]);return t.push(n),l((function(){var e=t.indexOf(n);-1!==e&&t.splice(e,1)}))}function ut(e,n){var t=de();try{for(var r=T(e.interceptors||[]),a=0,o=r.length;a0}function ft(e,n){var t=e.changeListeners||(e.changeListeners=[]);return t.push(n),l((function(){var e=t.indexOf(n);-1!==e&&t.splice(e,1)}))}function pt(e,n){var t=de(),r=e.changeListeners;if(r){for(var a=0,o=(r=r.slice()).length;a0?e.map(this.dehancer):e},e.prototype.intercept=function(e){return ct(this,e)},e.prototype.observe=function(e,n){return void 0===n&&(n=!1),n&&e({object:this.proxy,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),ft(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!=typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var n=this.values.length;if(e!==n)if(e>n){for(var t=new Array(e-n),r=0;ro?e=o:e<0&&(e=Math.max(0,o+e)),n=1===arguments.length?o-e:null==n?0:Math.max(0,Math.min(n,o-e)),void 0===t&&(t=r),lt(this)){var i=ut(this,{object:this.proxy,type:"splice",index:e,removedCount:n,added:t});if(!i)return r;n=i.removedCount,t=i.added}t=0===t.length?t:t.map((function(e){return a.enhancer(e,void 0)}));var s=this.spliceItemsIntoValues(e,n,t);return 0===n&&0===t.length||this.notifyArraySplice(e,t,s),this.dehanceValues(s)},e.prototype.spliceItemsIntoValues=function(e,n,t){var r;if(t.length<1e4)return(r=this.values).splice.apply(r,T([e,n],t));var a=this.values.slice(e,e+n);return this.values=this.values.slice(0,e).concat(t,this.values.slice(e+n)),a},e.prototype.notifyArrayChildUpdate=function(e,n,t){var r=!this.owned&&!1,a=dt(this),o=a||r?{object:this.proxy,type:"update",index:e,newValue:n,oldValue:t}:null;this.atom.reportChanged(),a&&pt(this,o)},e.prototype.notifyArraySplice=function(e,n,t){var r=!this.owned&&!1,a=dt(this),o=a||r?{object:this.proxy,type:"splice",index:e,removed:t,added:n,removedCount:t.length,addedCount:n.length}:null;this.atom.reportChanged(),a&&pt(this,o)},e}(),gt={intercept:function(e){return this[E].intercept(e)},observe:function(e,n){return void 0===n&&(n=!1),this[E].observe(e,n)},clear:function(){return this.splice(0)},replace:function(e){var n=this[E];return n.spliceWithArray(0,n.values.length,e)},toJS:function(){return this.slice()},toJSON:function(){return this.toJS()},splice:function(e,n){for(var t=[],r=2;r-1&&(this.splice(t,1),!0)},get:function(e){var n=this[E];if(n){if(e=0&&t++}e=zt(e),n=zt(n);var s="[object Array]"===i;if(!s){if("object"!=typeof e||"object"!=typeof n)return!1;var l=e.constructor,c=n.constructor;if(l!==c&&!("function"==typeof l&&l instanceof l&&"function"==typeof c&&c instanceof c)&&"constructor"in e&&"constructor"in n)return!1}if(0===t)return!1;t<0&&(t=-1),a=a||[];for(var u=(r=r||[]).length;u--;)if(r[u]===e)return a[u]===n;if(r.push(e),a.push(n),s){if((u=e.length)!==n.length)return!1;for(;u--;)if(!Ut(e[u],n[u],t-1,r,a))return!1}else{var d=Object.keys(e),f=void 0;if(u=d.length,Object.keys(n).length!==u)return!1;for(;u--;)if(!Vt(n,f=d[u])||!Ut(e[f],n[f],t-1,r,a))return!1}return r.pop(),a.pop(),!0}function zt(e){return xt(e)?e.slice():h(e)||_t(e)||b(e)||kt(e)?Array.from(e.entries()):e}function Vt(e,n){return Object.prototype.hasOwnProperty.call(e,n)}function $t(e){return e[Symbol.iterator]=Ht,e}function Ht(){return this}if("undefined"==typeof Proxy||"undefined"==typeof Symbol)throw new Error("[mobx] MobX 5+ requires Proxy and Symbol objects. If your environment doesn't support Symbol or Proxy objects, please downgrade to MobX 4. For React Native Android, consider upgrading JSCore.");"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:tn,extras:{getDebugName:Mt},$mobx:E})},7418:e=>{"use strict";var n=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;if("0123456789"!==Object.getOwnPropertyNames(n).map((function(e){return n[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var i,s,l=a(e),c=1;c{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){for(var e=arguments.length,n=Array(e),t=0;t{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){function n(n,t,r,a,o,i){var s=a||"<>",l=i||r;if(null==t[r])return n?new Error("Required "+o+" `"+l+"` was not specified in `"+s+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d{"use strict";var r=t(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,n,t,a,o,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function n(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:o,resetWarningCache:a};return t.PropTypes=t,t}},5697:(e,n,t)=>{e.exports=t(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6696:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});const r='/*\n © Microsoft. All rights reserved.\n\n This library is supported for use in Windows Tailored Apps only.\n\n Build: 6.2.8100.0\n Version: 0.5\n*/\n\n// Here are some inserted lines\n// with some extra comments\n\n(function (global, undefined) {\n\t"use strict";\n\tvar definedVariable = {};\n\tdefinedVariable.prop = 5;\n\n\tfunction initializeProperties(target, members) {\n\t\tvar keys = Object.keys(members);\n\t\tvar properties;\n\t\tvar i, len;\n\t\tfor (i = 0, len = keys.length; i < len; i++) {\n\t\t\tvar key = keys[i];\n\t\t\tvar enumerable = key.charCodeAt(0) !== /*_*/95;\n\t\t\tvar member = members[key];\n\t\t\tif (member && typeof member === \'object\') {\n\t\t\t\tif (member.value !== undefined || typeof member.get === \'function\' || typeof member.set === \'function\') {\n\t\t\t\t\tif (member.enumerable === undefined) {\n\t\t\t\t\t\tmember.enumerable = enumerable;\n\t\t\t\t\t}\n\t\t\t\t\tproperties = properties || {};\n\t\t\t\t\tproperties[key] = member;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\ttarget[key] = member;\n\t\t}\n\t\tif (properties) {\n\t\t\tObject.defineProperties(target, properties);\n\t\t}\n\t}\n\n\t(function (rootNamespace) {\n\n\t\t// Create the rootNamespace in the global namespace\n\t\tif (!global[rootNamespace]) {\n\t\t\tglobal[rootNamespace] = Object.create(Object.prototype);\n\t\t}\n\n\t\t// Cache the rootNamespace we just created in a local variable\n\t\tvar _rootNamespace = global[rootNamespace];\n\t\tif (!_rootNamespace.Namespace) {\n\t\t\t_rootNamespace.Namespace = Object.create(Object.prototype);\n\t\t}\n\n\t\tfunction defineWithParent(parentNamespace, name, members) {\n\t\t\t/// \n\t\t\t/// Defines a new namespace with the specified name, under the specified parent namespace.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The parent namespace which will contain the new namespace.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// Name of the new namespace.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// Members in the new namespace.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The newly defined namespace.\n\t\t\t/// \n\t\t\tvar currentNamespace = parentNamespace,\n\t\t\t\tnamespaceFragments = name.split(".");\n\n\t\t\tfor (var i = 0, len = namespaceFragments.length; i < len; i++) {\n\t\t\t\tvar namespaceName = namespaceFragments[i];\n\t\t\t\tif (!currentNamespace[namespaceName]) {\n\t\t\t\t\tObject.defineProperty(currentNamespace, namespaceName,\n\t\t\t\t\t\t{ value: {}, writable: false, enumerable: true, configurable: true }\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tcurrentNamespace = currentNamespace[namespaceName];\n\t\t\t}\n\n\t\t\tif (members) {\n\t\t\t\tinitializeProperties(currentNamespace, members);\n\t\t\t}\n\n\t\t\treturn currentNamespace;\n\t\t}\n\n\t\tfunction define(name, members) {\n\t\t\t/// \n\t\t\t/// Defines a new namespace with the specified name.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// Name of the namespace. This could be a dot-separated nested name.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// Members in the new namespace.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The newly defined namespace.\n\t\t\t/// \n\t\t\treturn defineWithParent(global, name, members);\n\t\t}\n\n\t\t// Establish members of the "WinJS.Namespace" namespace\n\t\tObject.defineProperties(_rootNamespace.Namespace, {\n\n\t\t\tdefineWithParent: { value: defineWithParent, writable: true, enumerable: true },\n\n\t\t\tdefine: { value: define, writable: true, enumerable: true }\n\n\t\t});\n\n\t})("WinJS");\n\n\t(function (WinJS) {\n\n\t\tfunction define(constructor, instanceMembers, staticMembers) {\n\t\t\t/// \n\t\t\t/// Defines a class using the given constructor and with the specified instance members.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// A constructor function that will be used to instantiate this class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The set of instance fields, properties and methods to be made available on the class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The set of static fields, properties and methods to be made available on the class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The newly defined class.\n\t\t\t/// \n\t\t\tconstructor = constructor || function () { };\n\t\t\tif (instanceMembers) {\n\t\t\t\tinitializeProperties(constructor.prototype, instanceMembers);\n\t\t\t}\n\t\t\tif (staticMembers) {\n\t\t\t\tinitializeProperties(constructor, staticMembers);\n\t\t\t}\n\t\t\treturn constructor;\n\t\t}\n\n\t\tfunction derive(baseClass, constructor, instanceMembers, staticMembers) {\n\t\t\t/// \n\t\t\t/// Uses prototypal inheritance to create a sub-class based on the supplied baseClass parameter.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The class to inherit from.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// A constructor function that will be used to instantiate this class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The set of instance fields, properties and methods to be made available on the class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The set of static fields, properties and methods to be made available on the class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The newly defined class.\n\t\t\t/// \n\t\t\tif (baseClass) {\n\t\t\t\tconstructor = constructor || function () { };\n\t\t\t\tvar basePrototype = baseClass.prototype;\n\t\t\t\tconstructor.prototype = Object.create(basePrototype);\n\t\t\t\tObject.defineProperty(constructor.prototype, "_super", { value: basePrototype });\n\t\t\t\tObject.defineProperty(constructor.prototype, "constructor", { value: constructor });\n\t\t\t\tif (instanceMembers) {\n\t\t\t\t\tinitializeProperties(constructor.prototype, instanceMembers);\n\t\t\t\t}\n\t\t\t\tif (staticMembers) {\n\t\t\t\t\tinitializeProperties(constructor, staticMembers);\n\t\t\t\t}\n\t\t\t\treturn constructor;\n\t\t\t} else {\n\t\t\t\treturn define(constructor, instanceMembers, staticMembers);\n\t\t\t}\n\t\t}\n\n\t\tfunction mix(constructor) {\n\t\t\t/// \n\t\t\t/// Defines a class using the given constructor and the union of the set of instance members\n\t\t\t/// specified by all the mixin objects. The mixin parameter list can be of variable length.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// A constructor function that will be used to instantiate this class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The newly defined class.\n\t\t\t/// \n\t\t\tconstructor = constructor || function () { };\n\t\t\tvar i, len;\n\t\t\tfor (i = 0, len = arguments.length; i < len; i++) {\n\t\t\t\tinitializeProperties(constructor.prototype, arguments[i]);\n\t\t\t}\n\t\t\treturn constructor;\n\t\t}\n\n\t\t// Establish members of "WinJS.Class" namespace\n\t\tWinJS.Namespace.define("WinJS.Class", {\n\t\t\tdefine: define,\n\t\t\tderive: derive,\n\t\t\tmix: mix\n\t\t});\n\n\t})(WinJS);\n\n})(this);\n'},7761:(e,n,t)=>{"use strict";t.d(n,{Z:()=>r});const r='/*\n © Microsoft. All rights reserved.\n\n This library is supported for use in Windows Tailored Apps only.\n\n Build: 6.2.8100.0\n Version: 0.5\n*/\n\n(function (global, undefined) {\n\t"use strict";\n\tundefinedVariable = {};\n\tundefinedVariable.prop = 5;\n\n\tfunction initializeProperties(target, members) {\n\t\tvar keys = Object.keys(members);\n\t\tvar properties;\n\t\tvar i, len;\n\t\tfor (i = 0, len = keys.length; i < len; i++) {\n\t\t\tvar key = keys[i];\n\t\t\tvar enumerable = key.charCodeAt(0) !== /*_*/95;\n\t\t\tvar member = members[key];\n\t\t\tif (member && typeof member === \'object\') {\n\t\t\t\tif (member.value !== undefined || typeof member.get === \'function\' || typeof member.set === \'function\') {\n\t\t\t\t\tif (member.enumerable === undefined) {\n\t\t\t\t\t\tmember.enumerable = enumerable;\n\t\t\t\t\t}\n\t\t\t\t\tproperties = properties || {};\n\t\t\t\t\tproperties[key] = member;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// These next lines will be deleted\n\t\t\tif (!enumerable) {\n\t\t\t\tproperties = properties || {};\n\t\t\t\tproperties[key] = { value: member, enumerable: enumerable, configurable: true, writable: true }\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\ttarget[key] = member;\n\t\t}\n\t\tif (properties) {\n\t\t\tObject.defineProperties(target, properties);\n\t\t}\n\t}\n\n\t(function (rootNamespace) {\n\n\t\t// Create the rootNamespace in the global namespace\n\t\tif (!global[rootNamespace]) {\n\t\t\tglobal[rootNamespace] = Object.create(Object.prototype);\n\t\t}\n\n\t\t// Cache the rootNamespace we just created in a local variable\n\t\tvar _rootNamespace = global[rootNamespace];\n\t\tif (!_rootNamespace.Namespace) {\n\t\t\t_rootNamespace.Namespace = Object.create(Object.prototype);\n\t\t}\n\n\t\tfunction defineWithParent(parentNamespace, name, members) {\n\t\t\t/// \n\t\t\t/// Defines a new namespace with the specified name, under the specified parent namespace.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The parent namespace which will contain the new namespace.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// Name of the new namespace.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// Members in the new namespace.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The newly defined namespace.\n\t\t\t/// \n\t\t\tvar currentNamespace = parentNamespace,\n\t\t\t\tnamespaceFragments = name.split(".");\n\n\t\t\tfor (var i = 0, len = namespaceFragments.length; i < len; i++) {\n\t\t\t\tvar namespaceName = namespaceFragments[i];\n\t\t\t\tif (!currentNamespace[namespaceName]) {\n\t\t\t\t\tObject.defineProperty(currentNamespace, namespaceName,\n\t\t\t\t\t\t{ value: {}, writable: false, enumerable: true, configurable: true }\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t\tcurrentNamespace = currentNamespace[namespaceName];\n\t\t\t}\n\n\t\t\tif (members) {\n\t\t\t\tinitializeProperties(currentNamespace, members);\n\t\t\t}\n\n\t\t\treturn currentNamespace;\n\t\t}\n\n\t\tfunction define(name, members) {\n\t\t\t/// \n\t\t\t/// Defines a new namespace with the specified name.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// Name of the namespace. This could be a dot-separated nested name.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// Members in the new namespace.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The newly defined namespace.\n\t\t\t/// \n\t\t\treturn defineWithParent(global, name, members);\n\t\t}\n\n\t\t// Establish members of the "WinJS.Namespace" namespace\n\t\tObject.defineProperties(_rootNamespace.Namespace, {\n\n\t\t\tdefineWithParent: { value: defineWithParent, writable: true, enumerable: true },\n\n\t\t\tdefine: { value: define, writable: true, enumerable: true }\n\n\t\t});\n\n\t})("WinJS");\n\n\t(function (WinJS) {\n\n\t\tfunction define(constructor, instanceMembers, staticMembers) {\n\t\t\t/// \n\t\t\t/// Defines a class using the given constructor and with the specified instance members.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// A constructor function that will be used to instantiate this class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The set of instance fields, properties and methods to be made available on the class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The set of static fields, properties and methods to be made available on the class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The newly defined class.\n\t\t\t/// \n\t\t\tconstructor = constructor || function () { };\n\t\t\tif (instanceMembers) {\n\t\t\t\tinitializeProperties(constructor.prototype, instanceMembers);\n\t\t\t}\n\t\t\tif (staticMembers) {\n\t\t\t\tinitializeProperties(constructor, staticMembers);\n\t\t\t}\n\t\t\treturn constructor;\n\t\t}\n\n\t\tfunction derive(baseClass, constructor, instanceMembers, staticMembers) {\n\t\t\t/// \n\t\t\t/// Uses prototypal inheritance to create a sub-class based on the supplied baseClass parameter.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The class to inherit from.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// A constructor function that will be used to instantiate this class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The set of instance fields, properties and methods to be made available on the class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The set of static fields, properties and methods to be made available on the class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The newly defined class.\n\t\t\t/// \n\t\t\tif (baseClass) {\n\t\t\t\tconstructor = constructor || function () { };\n\t\t\t\tvar basePrototype = baseClass.prototype;\n\t\t\t\tconstructor.prototype = Object.create(basePrototype);\n\t\t\t\tObject.defineProperty(constructor.prototype, "_super", { value: basePrototype });\n\t\t\t\tObject.defineProperty(constructor.prototype, "constructor", { value: constructor });\n\t\t\t\tif (instanceMembers) {\n\t\t\t\t\tinitializeProperties(constructor.prototype, instanceMembers);\n\t\t\t\t}\n\t\t\t\tif (staticMembers) {\n\t\t\t\t\tinitializeProperties(constructor, staticMembers);\n\t\t\t\t}\n\t\t\t\treturn constructor;\n\t\t\t} else {\n\t\t\t\treturn define(constructor, instanceMembers, staticMembers);\n\t\t\t}\n\t\t}\n\n\t\tfunction mix(constructor) {\n\t\t\t/// \n\t\t\t/// Defines a class using the given constructor and the union of the set of instance members\n\t\t\t/// specified by all the mixin objects. The mixin parameter list can be of variable length.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// A constructor function that will be used to instantiate this class.\n\t\t\t/// \n\t\t\t/// \n\t\t\t/// The newly defined class.\n\t\t\t/// \n\t\t\tconstructor = constructor || function () { };\n\t\t\tvar i, len;\n\t\t\tfor (i = 0, len = arguments.length; i < len; i++) {\n\t\t\t\tinitializeProperties(constructor.prototype, arguments[i]);\n\t\t\t}\n\t\t\treturn constructor;\n\t\t}\n\n\t\t// Establish members of "WinJS.Class" namespace\n\t\tWinJS.Namespace.define("WinJS.Class", {\n\t\t\tdefine: define,\n\t\t\tderive: derive,\n\t\t\tmix: mix\n\t\t});\n\n\t})(WinJS);\n\n})(this);\n'},4568:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="REPORT zrosetta_base64_encode_data.\n\nDATA: li_client TYPE REF TO if_http_client,\n lv_encoded TYPE string,\n lv_data TYPE xstring.\n\n\ncl_http_client=>create_by_url(\n EXPORTING\n url = 'http://rosettacode.org/favicon.ico'\n IMPORTING\n client = li_client ).\n\nli_client->send( ).\nli_client->receive( ).\n\nlv_data = li_client->response->get_data( ).\n\nCALL FUNCTION 'SSFC_BASE64_ENCODE'\n EXPORTING\n bindata = lv_data\n IMPORTING\n b64data = lv_encoded.\n\nWHILE strlen( lv_encoded ) > 100.\n WRITE: / lv_encoded(100).\n lv_encoded = lv_encoded+100.\nENDWHILE.\nWRITE: / lv_encoded.\n"},8491:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='// Contract simulating developers organization\ncontract HackBG =\n\n record state = { developers: map(address, developer) }\n\n record developer = { name: string\n , age: int\n , skillset: map(skill, experience) }\n\n type skill = string\n type experience = int\n\n datatype event =\n LogDeveloperAdded(indexed address, indexed int, string)\n\n entrypoint init() : state = { developers = {} }\n\n stateful entrypoint dev_add(account: address, dev_name: string, dev_age: int) =\n require(!is_member(account), "ERROR_DEVELOPER_ALREADY_EXISTS")\n let dev : developer = { name = dev_name\n , age = dev_age\n , skillset = {} }\n put(state{ developers[account] = dev })\n Chain.event(LogDeveloperAdded(account, Chain.timestamp, dev_name))\n\n stateful entrypoint dev_update(account: address, dev_name: string, dev_age: int) =\n require(is_member(account), "ERROR_DEVELOPER_DOES_NOT_EXIST")\n put(state{ developers[account].name = dev_name })\n put(state{ developers[account].age = dev_age })\n\n function is_member(account: address) : bool =\n Map.member(account, state.developers)\n\n stateful entrypoint dev_skill_modify(account: address, skill: string, experience: int) =\n put(state{ developers[account].skillset[skill] = experience })\n\n entrypoint dev_get(account: address) : developer =\n state.developers[account]'},6983:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="/* Using a single database query, find all the leads in\n the database that have the same email address as any\n of the leads being inserted or updated. */\nfor (Lead lead : [SELECT Email FROM Lead WHERE Email IN :leadMap.KeySet()]) {\n Lead newLead = leadMap.get(lead.Email);\n newLead.Email.addError('A lead with this email address already exists.');\n}\n"},7206:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="# Create a resource group.\naz group create --name myResourceGroup --location westeurope\n\n# Create a new virtual machine, this creates SSH keys if not present.\naz vm create --resource-group myResourceGroup --name myVM --image UbuntuLTS --generate-ssh-keys"},5489:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="rem *******Begin Comment**************\nrem This program starts the superapp batch program on the network,\nrem directs the output to a file, and displays the file\nrem in Notepad.\nrem *******End Comment**************\n@echo off\nif exist C:\\output.txt goto EMPTYEXISTS\nsetlocal\n\tpath=g:\\programs\\superapp;%path%\n\tcall superapp>C:\\output.txt\nendlocal\n:EMPTYEXISTS\nstart notepad c:\\output.txt"},4323:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="targetScope = 'subscription'\n\nparam deployStorage bool = true\n\n@description('The object ID of the principal that will get the role assignment')\nparam aadPrincipalId string\n\nmodule stg './storage.bicep' = if(deployStorage) {\n name: 'storageDeploy'\n scope: resourceGroup('another-rg') // this will target another resource group in the same subscription\n params: {\n storageAccountName: ''\n }\n}\n\nvar contributor = 'b24988ac-6180-42a0-ab88-20f7382dd24c'\nresource roleDef 'Microsoft.Authorization/roleDefinitions@2018-01-01-preview' existing = {\n name: contributor\n}\n\nresource rbac 'Microsoft.Authorization/roleAssignments@2020-04-01-preview' = {\n name: guid(subscription().id, aadPrincipalId, contributor)\n properties: {\n roleDefinitionId: roleDef.id\n principalId: aadPrincipalId\n }\n}\n\noutput storageName array = stg.outputs.containerProps\n"},1401:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='// Copyright (c) Microsoft. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full\n// license information.\n\n/*\n *\tCOMMAND LINE: -Ox -Gz -YX -UPROTOTYPES_REQUIRED\n */\n\n#pragma warning(disable : 4532)\n#pragma warning(disable : 4702)\n\n#if defined(_WIN32)\n\n#if defined(_M_SH)\n#define WIN_CE\n#endif\n\n#if defined(_M_AMD64)\n#define NEST_IN_FINALLY /* allow when __try nested in __finally OK */\n#endif\n\n#define NTSTATUS LONG\n#define EXCEPTION_NESTED_CALL 0x10\n#define RtlRaiseStatus(x) RaiseException((x), 0, 0, NULL)\n#define RtlRaiseException(x) \\\n RaiseException((x)->ExceptionCode, (x)->ExceptionFlags, \\\n (x)->NumberParameters, (x)->ExceptionInformation)\n#define IN\n#define OUT\n#if !(defined(_M_IA64) || defined(_M_ALPHA) || defined(_M_PPC) || \\\n defined(_M_AMD64) || defined(_M_ARM) || defined(_M_ARM64))\n#define i386 1\n#endif\n#define try __try\n#define except __except\n#define finally __finally\n#define leave __leave\n\n#endif\n\n#define WIN32_LEAN_AND_MEAN\n\n#include "stdio.h"\n#if defined(_M_IA64) || defined(_M_ALPHA) || defined(_M_PPC) || \\\n defined(_M_AMD64) || defined(_M_ARM) || defined(_M_ARM64)\n#include "setjmpex.h"\n#else\n#include "setjmp.h"\n#endif\n#include "float.h"\n#include "windows.h"\n#include "math.h"\n\n#if !defined(STATUS_SUCCESS)\n#define STATUS_SUCCESS 0\n#endif\n#if !defined(STATUS_UNSUCCESSFUL)\n#define STATUS_UNSUCCESSFUL ((NTSTATUS)0xC0000001L)\n#endif\n\n//\n// Define switch constants.\n//\n\n#define BLUE 0\n#define RED 1\n\n//\n// Define function prototypes.\n//\n\nVOID addtwo(IN LONG First, IN LONG Second, IN PLONG Place);\n\nVOID bar1(IN NTSTATUS Status, IN PLONG Counter);\n\nVOID bar2(IN PLONG BlackHole, IN PLONG BadAddress, IN PLONG Counter);\n\nVOID dojump(IN jmp_buf JumpBuffer, IN PLONG Counter);\n\nLONG Echo(IN LONG Value);\n\n#if !defined(WIN_CE) // return through finally not allowed on WinCE\nVOID eret(IN NTSTATUS Status, IN PLONG Counter);\n#endif\n\nVOID except1(IN PLONG Counter);\n\nULONG\nexcept2(IN PEXCEPTION_POINTERS ExceptionPointers, IN PLONG Counter);\n\nULONG\nexcept3(IN PEXCEPTION_POINTERS ExceptionPointers, IN PLONG Counter);\n\nVOID foo1(IN NTSTATUS Status);\n\nVOID foo2(IN PLONG BlackHole, IN PLONG BadAddress);\n\n#if !defined(WIN_CE) // return from finally not allowed on WinCE\nVOID fret(IN PLONG Counter);\n#endif\n\nBOOLEAN\nTkm(VOID);\n\nVOID Test61Part2(IN OUT PULONG Counter);\n\ndouble SquareDouble(IN double op);\n\nDECLSPEC_NOINLINE\nULONG\nPgFilter(VOID)\n\n{\n\n printf("filter entered...");\n return EXCEPTION_EXECUTE_HANDLER;\n}\n\n#pragma warning(push)\n#pragma warning(disable : 4532)\n\nVOID PgTest69(IN PLONG State, IN PLONG Fault)\n\n{\n\n try {\n try {\n *Fault += 1;\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 1) {\n *State += 1;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n except(((*State += 1) == 1) ? PgFilter() : EXCEPTION_CONTINUE_SEARCH) {\n if (*State != 2) {\n *Fault += 1;\n }\n }\n\n return;\n}\n\nVOID PgTest70(IN PLONG State, IN PLONG Fault)\n\n{\n\n try {\n try {\n *Fault += 1;\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 2) {\n PgFilter();\n return;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n except(((*State += 2) == 2) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n\n return;\n}\n\nVOID PgTest71(IN PLONG State, IN PLONG Fault)\n\n{\n\n try {\n try {\n try {\n *Fault += 1;\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 3) {\n *State += 3;\n return;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 6) {\n *State += 3;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n except(((*State += 3) == 3) ? PgFilter() : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n\n return;\n}\n\nVOID PgTest72(IN PLONG State, IN PLONG Fault)\n\n{\n\n try {\n try {\n try {\n *Fault += 1;\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 4) {\n *State += 4;\n return;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 8) {\n *State += 4;\n PgFilter();\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n except(((*State += 4) == 4) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n\n return;\n}\n\nVOID PgTest73(IN PLONG State, IN PLONG Fault)\n\n{\n\n try {\n try {\n try {\n *Fault += 1;\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 5) {\n *State += 5;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 10) {\n *State += 5;\n return;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n except(((*State += 5) == 5) ? PgFilter() : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n\n return;\n}\n\nVOID PgTest74(IN PLONG State, IN PLONG Fault)\n\n{\n\n try {\n try {\n try {\n *Fault += 1;\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 6) {\n *State += 6;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 12) {\n *State += 6;\n PgFilter();\n return;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n except(((*State += 6) == 6) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n\n return;\n}\n\nVOID PgTest75(IN PLONG State, IN PLONG Fault)\n\n{\n\n try {\n try {\n try {\n try {\n *Fault += 1;\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 7) {\n *State += 7;\n *Fault += 1;\n\n } else {\n *State += 10;\n }\n }\n }\n }\n except(((*State += 7) == 7) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 28) {\n *State += 7;\n return;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n except(((*State += 7) == 28) ? PgFilter() : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n\n return;\n}\n\nVOID PgTest76(IN PLONG State, IN PLONG Fault)\n\n{\n\n try {\n try {\n try {\n try {\n *Fault += 1;\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 8) {\n *State += 8;\n *Fault += 1;\n\n } else {\n *State += 10;\n }\n }\n }\n }\n except(((*State += 8) == 8) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 32) {\n *State += 8;\n PgFilter();\n return;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n except(((*State += 8) == 32) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n\n return;\n}\n\nVOID PgTest77(IN PLONG State, IN PLONG Fault)\n\n{\n\n try {\n try {\n try {\n try {\n *Fault += 1;\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 9) {\n *State += 9;\n *Fault += 1;\n\n } else {\n *State += 10;\n }\n }\n }\n }\n except(((*State += 9) == 9) ? PgFilter() : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 36) {\n *State += 9;\n return;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n except(((*State += 9) == 36) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n\n return;\n}\n\nVOID PgTest78(IN PLONG State, IN PLONG Fault)\n\n{\n\n try {\n try {\n try {\n try {\n *Fault += 1;\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 10) {\n *State += 10;\n PgFilter();\n *Fault += 1;\n\n } else {\n *State += 10;\n }\n }\n }\n }\n except(((*State += 10) == 10) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n }\n finally {\n if (AbnormalTermination()) {\n if (*State == 40) {\n *State += 10;\n return;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n except(((*State += 10) == 40) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n\n return;\n}\n\n#pragma warning(pop)\n\nVOID Test79(PLONG Counter, PLONG Fault)\n\n{\n\n try {\n try {\n try {\n *Fault += 1;\n }\n finally {\n printf("finally 1...");\n *Fault += 1;\n }\n }\n finally { printf("finally 2..."); }\n }\n except(*Counter += 1, printf("filter 1..."), EXCEPTION_CONTINUE_SEARCH) {}\n\n return;\n}\n\nULONG G;\n\nULONG\nTest80(VOID)\n\n{\n\n G = 1;\n try {\n while (G) {\n try {\n if (G == 10) {\n return 1;\n }\n\n if (G == 1) {\n continue;\n }\n }\n finally { G = 0; }\n }\n }\n finally { G = 10; }\n\n return 0;\n}\n\nvoid Test81(int *pCounter) {\n volatile char *AvPtr = NULL;\n\n __try {\n __try { *AvPtr = \'\\0\'; }\n __except(EXCEPTION_EXECUTE_HANDLER) { __leave; }\n }\n __finally {\n printf("in finally ");\n *pCounter += 1;\n }\n return;\n}\n\nDECLSPEC_NOINLINE\nVOID Test82Foo(VOID)\n\n{\n *(volatile int *)0 = 0;\n}\n\nVOID Test82(__inout PLONG Counter)\n\n{\n\n int retval = 1;\n\n __try {\n __try { Test82Foo(); }\n __finally {\n switch (*Counter) {\n case 0:\n printf("something failed!\\n");\n retval = 6;\n break;\n\n case 1:\n retval = 0;\n break;\n\n case 2:\n printf("how did you get here?\\n");\n retval = 2;\n break;\n\n case 3:\n printf("what?!?\\n");\n retval = 3;\n break;\n\n case 4:\n printf("not correct\\n");\n retval = 4;\n break;\n\n case 5:\n printf("error!\\n");\n retval = 5;\n break;\n }\n }\n }\n __except(1){}\n\n *Counter = retval;\n return;\n}\n\nLONG Test83(VOID)\n\n{\n\n G = 1;\n try {\n try {\n while (G) {\n try {\n if (G == 10) {\n return 1;\n }\n\n if (G == 1) {\n continue;\n }\n }\n finally { G = 0; }\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { leave; }\n }\n finally { G = 10; }\n\n return 0;\n}\n\nDECLSPEC_NOINLINE\nVOID Test84(_Inout_ PLONG Counter)\n\n{\n volatile int *Fault = 0;\n\n try {\n try {\n *Fault += 1;\n }\n except(EXCEPTION_EXECUTE_HANDLER) {\n try {\n return;\n }\n finally { *Counter += 1; }\n }\n }\n finally {\n\n if (AbnormalTermination()) {\n *Counter += 1;\n }\n }\n\n return;\n}\n\nDECLSPEC_NOINLINE\nLONG Test85(_Inout_ PLONG Counter)\n\n{\n volatile int *Fault = 0;\n\n G = 1;\n try {\n try {\n try {\n while (G) {\n try {\n try {\n if (G == 10) {\n return 1;\n }\n try {\n *Counter += 1;\n }\n except(EXCEPTION_EXECUTE_HANDLER) {}\n\n if (G == 1) {\n continue;\n }\n }\n finally {\n G = 0;\n *Counter += 1;\n *Fault += 1;\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) {\n *Counter += 1;\n leave;\n }\n }\n }\n finally {\n G = 10;\n *Counter += 1;\n *Fault += 1;\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { *Counter += 1; }\n *Counter += 1;\n }\n finally { *Counter += 1; }\n return 1;\n}\n\nDECLSPEC_NOINLINE\nVOID Test86(_Inout_ PLONG Counter)\n\n{\n volatile int *Fault = 0;\n\n try {\n try {\n try {\n try {\n try {\n try {\n *Fault += 1;\n }\n except(printf("Filter1 %d..", *Counter),\n EXCEPTION_EXECUTE_HANDLER) {\n try {\n printf("Handler1 %d..", *Counter);\n return;\n }\n finally {\n printf("Finally1 %d..", *Counter);\n *Counter += 1;\n }\n }\n }\n finally {\n printf("Finally2 %d..", *Counter);\n *Counter += 1;\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { leave; }\n }\n finally { *Counter += 1; }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { leave; }\n }\n finally { *Counter += 1; }\n\n return;\n}\n\nVOID Test87(_Inout_ PLONG Counter)\n\n/*++\n\nRoutine Description:\n\n This function verifies the behavior of nested exception dispatching.\n\nArguments:\n\n Counter - Supplies a pointer to the state counter.\n\nReturn Value:\n None.\n\n--*/\n\n{\n volatile int *Fault = 0;\n\n//\n// N.B. Disabled on x86 due to failing test case with handling of returns\n// in nested termination handlers on x86.\n//\n// Disabled on ARM due to failing test case with handling of abutting\n// termination handlers within an except handler.\n//\n// Disabled on AMD64 due to failing test case with handling of\n// abutting termination handlers within an except handler when a\n// non-local goto is involved.\n//\n\n#if !defined(_X86_)\n try {\n try {\n try {\n try {\n try {\n *Fault += 1;\n\n try {\n }\n finally {\n if (AbnormalTermination()) {\n *Fault += 1;\n }\n }\n }\n finally {\n\n if (AbnormalTermination()) {\n if ((*Counter += 13) == 26) {\n return;\n\n } else {\n *Fault += 1;\n }\n }\n }\n }\n finally {\n if (AbnormalTermination()) {\n *Counter += 13;\n *Fault += 1;\n }\n }\n }\n except(((*Counter += 13) == 13) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Fault += 1;\n }\n }\n except(((*Counter += 13) == 65) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n try {\n *Counter += 13;\n return;\n }\n finally {\n if (AbnormalTermination()) {\n *Counter += 13;\n goto Finish;\n }\n }\n }\n }\n finally {\n\n if (AbnormalTermination()) {\n if ((*Counter += 13) == 104) {\n goto Finish;\n }\n }\n }\n\nFinish:\n#else\n *Counter = 104;\n#endif\n\n return;\n}\n\nVOID Test88(_Inout_ PLONG Counter)\n\n{\n volatile int *Fault = 0;\n\n try {\n try {\n try {\n try {\n try {\n try {\n try {\n try {\n *Fault += 1;\n }\n except(((*Counter += 1) == 1) ? *Fault\n : EXCEPTION_CONTINUE_SEARCH) {}\n }\n except(*Counter += 1, EXCEPTION_EXECUTE_HANDLER) { *Fault += 2; }\n }\n except(*Counter += 1, EXCEPTION_CONTINUE_SEARCH) { leave; }\n }\n except(*Counter += 1, EXCEPTION_CONTINUE_SEARCH) { leave; }\n }\n except(EXCEPTION_EXECUTE_HANDLER) {}\n }\n except(EXCEPTION_EXECUTE_HANDLER) {}\n }\n except(EXCEPTION_EXECUTE_HANDLER) { leave; }\n }\n finally { *Counter += 1; }\n}\n\nint main(int argc, char *argv[])\n\n{\n\n PLONG BadAddress;\n PCHAR BadByte;\n PLONG BlackHole;\n ULONG Index1;\n ULONG Index2 = RED;\n jmp_buf JumpBuffer;\n LONG Counter;\n EXCEPTION_RECORD ExceptionRecord;\n double doubleresult;\n\n //\n // Announce start of exception test.\n //\n\n printf("Start of exception test\\n");\n\n //\n // Initialize exception record.\n //\n\n ExceptionRecord.ExceptionCode = STATUS_INTEGER_OVERFLOW;\n ExceptionRecord.ExceptionFlags = 0;\n ExceptionRecord.ExceptionRecord = NULL;\n ExceptionRecord.NumberParameters = 0;\n\n //\n // Initialize pointers.\n //\n\n BadAddress = (PLONG)NULL;\n BadByte = (PCHAR)NULL;\n BadByte += 1;\n BlackHole = &Counter;\n\n //\n // Simply try statement with a finally clause that is entered sequentially.\n //\n\n printf(" test1...");\n Counter = 0;\n try {\n Counter += 1;\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 1;\n }\n }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simple try statement with an exception clause that is never executed\n // because there is no exception raised in the try clause.\n //\n\n printf(" test2...");\n Counter = 0;\n try {\n Counter += 1;\n }\n except(Counter) { Counter += 1; }\n\n if (Counter != 1) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simple try statement with an exception handler that is never executed\n // because the exception expression continues execution.\n //\n\n printf(" test3...");\n Counter = 0;\n try {\n Counter -= 1;\n RtlRaiseException(&ExceptionRecord);\n }\n except(Counter) { Counter -= 1; }\n\n if (Counter != -1) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simple try statement with an exception clause that is always executed.\n //\n\n printf(" test4...");\n Counter = 0;\n try {\n Counter += 1;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n except(Counter) { Counter += 1; }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simple try statement with an exception clause that is always executed.\n //\n\n printf(" test5...");\n Counter = 0;\n try {\n Counter += 1;\n *BlackHole += *BadAddress;\n }\n except(Counter) { Counter += 1; }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simply try statement with a finally clause that is entered as the\n // result of an exception.\n //\n\n printf(" test6...");\n Counter = 0;\n try {\n try {\n Counter += 1;\n RtlRaiseException(&ExceptionRecord);\n }\n finally {\n if (abnormal_termination() != FALSE) {\n Counter += 1;\n }\n }\n }\n except(Counter) {\n if (Counter == 2) {\n Counter += 1;\n }\n }\n\n if (Counter != 3) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simply try statement with a finally clause that is entered as the\n // result of an exception.\n //\n\n printf(" test7...");\n Counter = 0;\n try {\n try {\n Counter += 1;\n *BlackHole += *BadAddress;\n }\n finally {\n if (abnormal_termination() != FALSE) {\n Counter += 1;\n }\n }\n }\n except(Counter) {\n if (Counter == 2) {\n Counter += 1;\n }\n }\n\n if (Counter != 3) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simple try that calls a function which raises an exception.\n //\n\n printf(" test8...");\n Counter = 0;\n try {\n Counter += 1;\n foo1(STATUS_ACCESS_VIOLATION);\n }\n except((GetExceptionCode() == STATUS_ACCESS_VIOLATION)\n ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n Counter += 1;\n }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simple try that calls a function which raises an exception.\n //\n\n printf(" test9...");\n Counter = 0;\n try {\n Counter += 1;\n foo2(BlackHole, BadAddress);\n }\n except((GetExceptionCode() == STATUS_ACCESS_VIOLATION)\n ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n Counter += 1;\n }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simple try that calls a function which calls a function that\n // raises an exception. The first function has a finally clause\n // that must be executed for this test to work.\n //\n\n printf(" test10...");\n Counter = 0;\n try {\n bar1(STATUS_ACCESS_VIOLATION, &Counter);\n }\n except((GetExceptionCode() == STATUS_ACCESS_VIOLATION)\n ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n Counter -= 1;\n }\n\n if (Counter != 98) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simple try that calls a function which calls a function that\n // raises an exception. The first function has a finally clause\n // that must be executed for this test to work.\n //\n\n printf(" test11...");\n Counter = 0;\n try {\n bar2(BlackHole, BadAddress, &Counter);\n }\n except((GetExceptionCode() == STATUS_ACCESS_VIOLATION)\n ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n Counter -= 1;\n }\n\n if (Counter != 98) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A try within an except\n //\n\n printf(" test12...");\n Counter = 0;\n try {\n foo1(STATUS_ACCESS_VIOLATION);\n }\n except((GetExceptionCode() == STATUS_ACCESS_VIOLATION)\n ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n Counter += 1;\n try {\n foo1(STATUS_SUCCESS);\n }\n except((GetExceptionCode() == STATUS_SUCCESS) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n if (Counter != 1) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded...");\n }\n\n Counter += 1;\n }\n }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A try within an except\n //\n\n printf(" test13...");\n Counter = 0;\n try {\n foo2(BlackHole, BadAddress);\n }\n except((GetExceptionCode() == STATUS_ACCESS_VIOLATION)\n ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n Counter += 1;\n try {\n foo1(STATUS_SUCCESS);\n }\n except((GetExceptionCode() == STATUS_SUCCESS) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n if (Counter != 1) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded...");\n }\n\n Counter += 1;\n }\n }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n#if !defined(WIN_CE) // gotos from except/finally not allowed on WinCE\n //\n // A goto from an exception clause that needs to pass\n // through a finally\n //\n\n printf(" test14...");\n Counter = 0;\n try {\n try {\n foo1(STATUS_ACCESS_VIOLATION);\n }\n except((GetExceptionCode() == STATUS_ACCESS_VIOLATION)\n ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n Counter += 1;\n goto t9;\n }\n }\n finally { Counter += 1; }\n\nt9:\n ;\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A goto from an finally clause that needs to pass\n // through a finally\n //\n\n printf(" test15...");\n Counter = 0;\n try {\n try {\n Counter += 1;\n }\n finally {\n Counter += 1;\n goto t10;\n }\n }\n finally { Counter += 1; }\n\nt10:\n ;\n if (Counter != 3) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A goto from an exception clause that needs to pass\n // through a finally into the outer finally clause.\n //\n\n printf(" test16...");\n Counter = 0;\n try {\n try {\n try {\n Counter += 1;\n foo1(STATUS_INTEGER_OVERFLOW);\n }\n except(EXCEPTION_EXECUTE_HANDLER) {\n Counter += 1;\n goto t11;\n }\n }\n finally { Counter += 1; }\n t11:\n ;\n }\n finally { Counter += 1; }\n\n if (Counter != 4) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A goto from an finally clause that needs to pass\n // through a finally into the outer finally clause.\n //\n\n printf(" test17...");\n Counter = 0;\n try {\n try {\n Counter += 1;\n }\n finally {\n Counter += 1;\n goto t12;\n }\n t12:\n ;\n }\n finally { Counter += 1; }\n\n if (Counter != 3) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A return from an except clause\n //\n\n printf(" test18...");\n Counter = 0;\n try {\n Counter += 1;\n eret(STATUS_ACCESS_VIOLATION, &Counter);\n }\n finally { Counter += 1; }\n\n if (Counter != 4) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A return from a finally clause\n //\n\n printf(" test19...");\n Counter = 0;\n try {\n Counter += 1;\n fret(&Counter);\n }\n finally { Counter += 1; }\n\n if (Counter != 5) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n#endif\n\n //\n // A simple set jump followed by a long jump.\n //\n\n printf(" test20...");\n Counter = 0;\n if (setjmp(JumpBuffer) == 0) {\n Counter += 1;\n longjmp(JumpBuffer, 1);\n\n } else {\n Counter += 1;\n }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A set jump followed by a long jump out of a finally clause that is\n // sequentially executed.\n //\n\n printf(" test21...");\n Counter = 0;\n if (setjmp(JumpBuffer) == 0) {\n try {\n Counter += 1;\n }\n finally {\n Counter += 1;\n longjmp(JumpBuffer, 1);\n }\n\n } else {\n Counter += 1;\n }\n\n if (Counter != 3) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A set jump within a try clause followed by a long jump out of a\n // finally clause that is sequentially executed.\n //\n\n printf(" test22...");\n Counter = 0;\n try {\n if (setjmp(JumpBuffer) == 0) {\n Counter += 1;\n\n } else {\n Counter += 1;\n }\n }\n finally {\n Counter += 1;\n if (Counter == 2) {\n Counter += 1;\n longjmp(JumpBuffer, 1);\n }\n }\n\n if (Counter != 5) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A set jump followed by a try/except, followed by a try/finally where\n // the try body of the try/finally raises an exception that is handled\n // by the try/excecpt which causes the try/finally to do a long jump out\n // of a finally clause. This will create a collided unwind.\n //\n\n printf(" test23...");\n Counter = 0;\n if (setjmp(JumpBuffer) == 0) {\n try {\n try {\n Counter += 1;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n finally {\n Counter += 1;\n longjmp(JumpBuffer, 1);\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 1; }\n\n } else {\n Counter += 1;\n }\n\n if (Counter != 3) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A set jump followed by a try/except, followed by a several nested\n // try/finally\'s where the inner try body of the try/finally raises an\n // exception that is handled by the try/except which causes the\n // try/finally to do a long jump out of a finally clause. This will\n // create a collided unwind.\n //\n\n printf(" test24...");\n Counter = 0;\n if (setjmp(JumpBuffer) == 0) {\n try {\n try {\n try {\n try {\n Counter += 1;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n finally { Counter += 1; }\n }\n finally {\n Counter += 1;\n longjmp(JumpBuffer, 1);\n }\n }\n finally { Counter += 1; }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 1; }\n\n } else {\n Counter += 1;\n }\n\n if (Counter != 5) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A set jump followed by a try/except, followed by a try/finally which\n // calls a subroutine which contains a try finally that raises an\n // exception that is handled to the try/except.\n //\n\n printf(" test25...");\n Counter = 0;\n if (setjmp(JumpBuffer) == 0) {\n try {\n try {\n try {\n Counter += 1;\n dojump(JumpBuffer, &Counter);\n }\n finally { Counter += 1; }\n }\n finally { Counter += 1; }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 1; }\n\n } else {\n Counter += 1;\n }\n\n if (Counter != 7) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A set jump followed by a try/except, followed by a try/finally which\n // calls a subroutine which contains a try finally that raises an\n // exception that is handled to the try/except.\n //\n\n printf(" test26...");\n Counter = 0;\n if (setjmp(JumpBuffer) == 0) {\n try {\n try {\n try {\n try {\n Counter += 1;\n dojump(JumpBuffer, &Counter);\n }\n finally { Counter += 1; }\n }\n finally {\n Counter += 1;\n longjmp(JumpBuffer, 1);\n }\n }\n finally { Counter += 1; }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 1; }\n\n } else {\n Counter += 1;\n }\n\n if (Counter != 8) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Test nested exceptions.\n //\n\n printf(" test27...");\n Counter = 0;\n try {\n try {\n Counter += 1;\n except1(&Counter);\n }\n except(except2(GetExceptionInformation(), &Counter)) { Counter += 2; }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 3; }\n\n if (Counter != 55) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Simple try that causes an integer overflow exception.\n //\n\n printf(" test28...");\n Counter = 0;\n try {\n Counter += 1;\n addtwo(0x7fff0000, 0x10000, &Counter);\n }\n except((GetExceptionCode() == STATUS_INTEGER_OVERFLOW)\n ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n Counter += 1;\n }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n//\n// Simple try that raises an misaligned data exception.\n//\n#if !defined(i386) && !defined(_M_IA64) && !defined(_M_AMD64) && \\\n !defined(_M_ARM) && !defined(_M_ARM64)\n printf(" test29...");\n Counter = 0;\n try {\n Counter += 1;\n foo2(BlackHole, (PLONG)BadByte);\n }\n except((GetExceptionCode() == STATUS_DATATYPE_MISALIGNMENT)\n ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n Counter += 1;\n }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n#endif\n //\n // Continue from a try body with an exception clause in a loop.\n //\n\n printf(" test30...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n if ((Index1 & 0x1) == 0) {\n continue;\n\n } else {\n Counter += 1;\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 40; }\n\n Counter += 2;\n }\n\n if (Counter != 15) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n#if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE\n //\n // Continue from a try body with an finally clause in a loop.\n //\n\n printf(" test31...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n if ((Index1 & 0x1) == 0) {\n continue;\n\n } else {\n Counter += 1;\n }\n }\n finally { Counter += 2; }\n\n Counter += 3;\n }\n\n if (Counter != 40) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n#endif\n\n //\n // Continue from doubly nested try body with an exception clause in a\n // loop.\n //\n\n printf(" test32...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n try {\n if ((Index1 & 0x1) == 0) {\n continue;\n\n } else {\n Counter += 1;\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 10; }\n\n Counter += 2;\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 20; }\n\n Counter += 3;\n }\n\n if (Counter != 30) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n#if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE\n //\n // Continue from doubly nested try body with an finally clause in a loop.\n //\n\n printf(" test33...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n try {\n if ((Index1 & 0x1) == 0) {\n continue;\n\n } else {\n Counter += 1;\n }\n }\n finally { Counter += 2; }\n\n Counter += 3;\n }\n finally { Counter += 4; }\n\n Counter += 5;\n }\n\n if (Counter != 105) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Continue from a finally clause in a loop.\n //\n\n printf(" test34...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n if ((Index1 & 0x1) == 0) {\n Counter += 1;\n }\n }\n finally {\n Counter += 2;\n continue;\n }\n\n Counter += 4;\n }\n\n if (Counter != 25) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Continue from a doubly nested finally clause in a loop.\n //\n\n printf(" test35...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n try {\n if ((Index1 & 0x1) == 0) {\n Counter += 1;\n }\n }\n finally {\n Counter += 2;\n continue;\n }\n\n Counter += 4;\n }\n finally { Counter += 5; }\n\n Counter += 6;\n }\n\n if (Counter != 75) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Continue from a doubly nested finally clause in a loop.\n //\n\n printf(" test36...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n try {\n if ((Index1 & 0x1) == 0) {\n Counter += 1;\n }\n }\n finally { Counter += 2; }\n\n Counter += 4;\n }\n finally {\n Counter += 5;\n continue;\n }\n\n Counter += 6;\n }\n\n if (Counter != 115) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n#endif\n\n //\n // Break from a try body with an exception clause in a loop.\n //\n\n printf(" test37...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n if ((Index1 & 0x1) == 1) {\n break;\n\n } else {\n Counter += 1;\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 40; }\n\n Counter += 2;\n }\n\n if (Counter != 3) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n#if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE\n //\n // Break from a try body with an finally clause in a loop.\n //\n\n printf(" test38...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n if ((Index1 & 0x1) == 1) {\n break;\n\n } else {\n Counter += 1;\n }\n }\n finally { Counter += 2; }\n\n Counter += 3;\n }\n\n if (Counter != 8) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n#endif\n\n //\n // Break from doubly nested try body with an exception clause in a\n // loop.\n //\n\n printf(" test39...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n try {\n if ((Index1 & 0x1) == 1) {\n break;\n\n } else {\n Counter += 1;\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 10; }\n\n Counter += 2;\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 20; }\n\n Counter += 3;\n }\n\n if (Counter != 6) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n#if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE\n //\n // Break from doubly nested try body with an finally clause in a loop.\n //\n\n printf(" test40...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n try {\n if ((Index1 & 0x1) == 1) {\n break;\n\n } else {\n Counter += 1;\n }\n }\n finally { Counter += 2; }\n\n Counter += 3;\n }\n finally { Counter += 4; }\n\n Counter += 5;\n }\n\n if (Counter != 21) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Break from a finally clause in a loop.\n //\n\n printf(" test41...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n if ((Index1 & 0x1) == 1) {\n Counter += 1;\n }\n }\n finally {\n Counter += 2;\n break;\n }\n\n Counter += 4;\n }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Break from a doubly nested finally clause in a loop.\n //\n\n printf(" test42...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n try {\n if ((Index1 & 0x1) == 1) {\n Counter += 1;\n }\n }\n finally {\n Counter += 2;\n break;\n }\n\n Counter += 4;\n }\n finally { Counter += 5; }\n\n Counter += 6;\n }\n\n if (Counter != 7) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Break from a doubly nested finally clause in a loop.\n //\n\n printf(" test43...");\n Counter = 0;\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n try {\n try {\n if ((Index1 & 0x1) == 1) {\n Counter += 1;\n }\n }\n finally { Counter += 2; }\n\n Counter += 4;\n }\n finally {\n Counter += 5;\n break;\n }\n\n Counter += 6;\n }\n\n if (Counter != 11) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n#endif\n\n //\n // Break from a try body with an exception clause in a switch.\n //\n\n printf(" test44...");\n Counter = 0;\n Index1 = 1;\n switch (Index2) {\n case BLUE:\n Counter += 100;\n break;\n\n case RED:\n try {\n if ((Index1 & 0x1) == 1) {\n break;\n\n } else {\n Counter += 1;\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 40; }\n\n Counter += 2;\n break;\n }\n\n if (Counter != 0) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n#if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE\n //\n // Break from a try body with an finally clause in a switch.\n //\n\n printf(" test45...");\n Counter = 0;\n Index1 = 1;\n switch (Index2) {\n case BLUE:\n Counter += 100;\n break;\n\n case RED:\n try {\n if ((Index1 & 0x1) == 1) {\n break;\n\n } else {\n Counter += 1;\n }\n }\n finally { Counter += 2; }\n\n Counter += 3;\n }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n#endif\n\n //\n // Break from doubly nested try body with an exception clause in a\n // switch.\n //\n\n printf(" test46...");\n Counter = 0;\n Index1 = 1;\n switch (Index2) {\n case BLUE:\n Counter += 100;\n break;\n\n case RED:\n try {\n try {\n if ((Index1 & 0x1) == 1) {\n break;\n\n } else {\n Counter += 1;\n }\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 10; }\n\n Counter += 2;\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 20; }\n\n Counter += 3;\n }\n\n if (Counter != 0) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n#if !defined(WIN_CE) // gotos from try/finally not allowed on WinCE\n //\n // Break from doubly nested try body with an finally clause in a switch.\n //\n\n printf(" test47...");\n Counter = 0;\n Index1 = 1;\n switch (Index2) {\n case BLUE:\n Counter += 100;\n break;\n\n case RED:\n try {\n try {\n if ((Index1 & 0x1) == 1) {\n break;\n\n } else {\n Counter += 1;\n }\n }\n finally { Counter += 2; }\n\n Counter += 3;\n }\n finally { Counter += 4; }\n\n Counter += 5;\n }\n\n if (Counter != 6) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Break from a finally clause in a switch.\n //\n\n printf(" test48...");\n Counter = 0;\n Index1 = 1;\n switch (Index2) {\n case BLUE:\n Counter += 100;\n break;\n\n case RED:\n try {\n if ((Index1 & 0x1) == 1) {\n Counter += 1;\n }\n }\n finally {\n Counter += 2;\n break;\n }\n\n Counter += 4;\n }\n\n if (Counter != 3) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Break from a doubly nested finally clause in a switch.\n //\n\n printf(" test49...");\n Counter = 0;\n Index1 = 1;\n switch (Index2) {\n case BLUE:\n Counter += 100;\n break;\n\n case RED:\n try {\n try {\n if ((Index1 & 0x1) == 1) {\n Counter += 1;\n }\n }\n finally {\n Counter += 2;\n break;\n }\n\n Counter += 4;\n }\n finally { Counter += 5; }\n\n Counter += 6;\n }\n\n if (Counter != 8) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Break from a doubly nested finally clause in a switch.\n //\n\n printf(" test50...");\n Counter = 0;\n Index1 = 1;\n switch (Index2) {\n case BLUE:\n Counter += 100;\n break;\n\n case RED:\n try {\n try {\n if ((Index1 & 0x1) == 1) {\n Counter += 1;\n }\n }\n finally { Counter += 2; }\n\n Counter += 4;\n }\n finally {\n Counter += 5;\n break;\n }\n\n Counter += 6;\n }\n\n if (Counter != 12) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n#endif\n\n //\n // Leave from an if in a simple try/finally.\n //\n\n printf(" test51...");\n Counter = 0;\n try {\n if (Echo(Counter) == Counter) {\n Counter += 3;\n leave;\n\n } else {\n Counter += 100;\n }\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 5;\n }\n }\n\n if (Counter != 8) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Leave from a loop in a simple try/finally.\n //\n\n printf(" test52...");\n Counter = 0;\n try {\n for (Index1 = 0; Index1 < 10; Index1 += 1) {\n if (Echo(Index1) == Index1) {\n Counter += 3;\n leave;\n }\n\n Counter += 100;\n }\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 5;\n }\n }\n\n if (Counter != 8) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Leave from a switch in a simple try/finally.\n //\n\n printf(" test53...");\n Counter = 0;\n try {\n switch (Index2) {\n case BLUE:\n break;\n\n case RED:\n Counter += 3;\n leave;\n }\n\n Counter += 100;\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 5;\n }\n }\n\n if (Counter != 8) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Leave from an if in doubly nested try/finally followed by a leave\n // from an if in the outer try/finally.\n //\n\n printf(" test54...");\n Counter = 0;\n try {\n try {\n if (Echo(Counter) == Counter) {\n Counter += 3;\n leave;\n\n } else {\n Counter += 100;\n }\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 5;\n }\n }\n\n if (Echo(Counter) == Counter) {\n Counter += 3;\n leave;\n\n } else {\n Counter += 100;\n }\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 5;\n }\n }\n\n if (Counter != 16) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n#if !defined(WIN_CE) // leave from finally not allowed on WinCE\n //\n // Leave from an if in doubly nested try/finally followed by a leave\n // from the finally of the outer try/finally.\n //\n\n printf(" test55...");\n Counter = 0;\n try {\n try {\n if (Echo(Counter) == Counter) {\n Counter += 3;\n leave;\n\n } else {\n Counter += 100;\n }\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 5;\n leave;\n }\n }\n\n Counter += 100;\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 5;\n }\n }\n\n if (Counter != 13) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n#endif\n\n //\n // Try/finally within the except clause of a try/except that is always\n // executed.\n //\n\n printf(" test56...");\n Counter = 0;\n try {\n Counter += 1;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n except(Counter) {\n try {\n Counter += 3;\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 5;\n }\n }\n }\n\n if (Counter != 9) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Try/finally within the finally clause of a try/finally.\n //\n\n printf(" test57...");\n Counter = 0;\n try {\n Counter += 1;\n }\n finally {\n if (abnormal_termination() == FALSE) {\n try {\n Counter += 3;\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 5;\n }\n }\n }\n }\n\n if (Counter != 9) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Try/except within the finally clause of a try/finally.\n //\n\n printf(" test58...");\n#if !defined(NEST_IN_FINALLY)\n printf("skipped\\n");\n#else\n Counter = 0;\n try {\n Counter -= 1;\n }\n finally {\n try {\n Counter += 2;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n except(Counter) {\n try {\n Counter += 3;\n }\n finally {\n if (abnormal_termination() == FALSE) {\n Counter += 5;\n }\n }\n }\n }\n\n if (Counter != 9) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n#endif /* def(NEST_IN_FINALLY) */\n\n //\n // Try/except within the except clause of a try/except that is always\n // executed.\n //\n\n printf(" test59...");\n Counter = 0;\n try {\n Counter += 1;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n except(Counter) {\n try {\n Counter += 3;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n except(Counter - 3) { Counter += 5; }\n }\n\n if (Counter != 9) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Try with a Try which exits the scope with a goto\n //\n\n printf(" test60...");\n Counter = 0;\n try {\n try {\n goto outside;\n }\n except(1) { Counter += 1; }\n\n outside:\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n except(1) { Counter += 3; }\n\n if (Counter != 3) {\n printf("failed, count = %d\\n", Counter);\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Try/except which gets an exception from a subfunction within\n // a try/finally which has a try/except in the finally clause\n //\n\n printf(" test61...");\n#if !defined(NEST_IN_FINALLY)\n printf("skipped\\n");\n#else\n Counter = 0;\n try {\n Test61Part2(&Counter);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { Counter += 11; }\n\n if (Counter != 24) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n#endif /* def(NEST_IN_FINALLY) */\n\n //\n // Check for precision of exception on floating point\n //\n\n printf(" test62...");\n\n#if defined(i386) || defined(_M_IA64) || defined(_M_ALPHA) || defined(_M_AMD64)\n\n/* enable floating point overflow */\n#if defined(i386)\n _control87(_control87(0, 0) & ~EM_OVERFLOW, _MCW_EM);\n#else\n //\n // use portable version of _control87\n //\n _controlfp(_controlfp(0, 0) & ~EM_OVERFLOW, _MCW_EM);\n#endif\n\n Counter = 0;\n try {\n doubleresult = SquareDouble(1.7e300);\n\n try {\n doubleresult = SquareDouble(1.0);\n }\n except(1) { Counter += 3; }\n }\n except(1) { Counter += 1; }\n\n if (Counter != 1) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n/* clear up pending unmasked exceptions and restore FP control registers */\n#if defined(i386)\n _clear87();\n _control87(_control87(0, 0) | EM_OVERFLOW, 0xfffff);\n#else\n _clearfp();\n _controlfp(_controlfp(0, 0) | EM_OVERFLOW, 0xfffff);\n#endif\n\n#else\n printf("skipped\\n");\n#endif\n\n //\n // A try/finally inside a try/except where an exception is raised in the\n // try/finally.\n //\n\n printf(" test63...");\n Counter = 0;\n try {\n try {\n Counter += 1;\n }\n finally {\n Counter += 3;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n }\n except(1) { Counter += 6; }\n\n if (Counter != 10) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A try/finally inside a try/except where an exception is raised in the\n // in the try/except and the try/finally.\n //\n\n printf(" test64...");\n Counter = 0;\n try {\n try {\n Counter += 1;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n finally {\n Counter += 3;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n }\n except(1) { Counter += 6; }\n\n if (Counter != 10) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A try/finally inside a try/except where an exception is raised in the\n // try/finally.\n //\n\n printf(" test65...");\n Counter = 0;\n try {\n try {\n Counter += 1;\n }\n finally {\n Counter += 3;\n *BlackHole += *BadAddress;\n Counter += 13;\n }\n }\n except(1) { Counter += 6; }\n\n if (Counter != 10) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A try/finally inside a try/except where an exception is raised in the\n // in the try/except and the try/finally.\n //\n\n printf(" test66...");\n Counter = 0;\n try {\n try {\n Counter += 1;\n *BlackHole += *BadAddress;\n Counter += 13;\n }\n finally {\n Counter += 3;\n *BlackHole += *BadAddress;\n Counter += 13;\n }\n }\n except(1) { Counter += 6; }\n\n if (Counter != 10) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A try/finally inside a try/finally inside a try/except where an\n // exception is raised in the in the try/except and in try/finally.\n //\n\n printf(" test67...");\n try {\n try {\n *BlackHole += *BadAddress;\n }\n finally {\n try {\n Counter = 0;\n }\n finally {\n if (Counter != 0) {\n Counter += 1;\n }\n }\n\n Counter += 1;\n *BlackHole += *BadAddress;\n }\n }\n except(1) { Counter += 1; }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // A try/finally inside a try/finally inside a try/except where an\n // exception is raised in the in the try/except and in try/finally.\n //\n\n printf(" test68...");\n try {\n try {\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n finally {\n try {\n Counter = 0;\n }\n finally {\n if (Counter != 0) {\n Counter += 1;\n }\n }\n\n Counter += 1;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n }\n except(1) { Counter += 1; }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n//\n// Patch guard test 69.\n//\n\n#if defined(_AMD64_) || defined(_X86_)\n\n printf(" test69...");\n Counter = 0;\n try {\n PgTest69(&Counter, BadAddress);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { printf("unexpected exception..."); }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test70...");\n Counter = 0;\n try {\n PgTest70(&Counter, BadAddress);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { printf("unexpected exception..."); }\n\n if (Counter != 2) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test71...");\n Counter = 0;\n try {\n PgTest71(&Counter, BadAddress);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { printf("unexpected exception..."); }\n\n if (Counter != 9) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test72...");\n Counter = 0;\n try {\n PgTest72(&Counter, BadAddress);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { printf("unexpected exception..."); }\n\n if (Counter != 12) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test73...");\n Counter = 0;\n try {\n PgTest73(&Counter, BadAddress);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { printf("unexpected exception..."); }\n\n if (Counter != 15) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test74...");\n Counter = 0;\n try {\n PgTest74(&Counter, BadAddress);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { printf("unexpected exception..."); }\n\n if (Counter != 18) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test75...");\n Counter = 0;\n try {\n PgTest75(&Counter, BadAddress);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { printf("unexpected exception..."); }\n\n if (Counter != 35) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test76...");\n Counter = 0;\n try {\n PgTest76(&Counter, BadAddress);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { printf("unexpected exception..."); }\n\n if (Counter != 40) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test77...");\n Counter = 0;\n try {\n PgTest77(&Counter, BadAddress);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { printf("unexpected exception..."); }\n\n if (Counter != 45) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test78...");\n Counter = 0;\n try {\n PgTest78(&Counter, BadAddress);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { printf("unexpected exception..."); }\n\n if (Counter != 50) {\n printf("failed, count = %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n#else\n printf(" test69...filter entered...succeeded\\n");\n printf(" test70...filter entered...succeeded\\n");\n printf(" test71...filter entered...succeeded\\n");\n printf(" test72...filter entered...succeeded\\n");\n printf(" test73...filter entered...succeeded\\n");\n printf(" test74...filter entered...succeeded\\n");\n printf(" test75...filter entered...succeeded\\n");\n printf(" test76...filter entered...succeeded\\n");\n printf(" test77...filter entered...succeeded\\n");\n printf(" test78...filter entered...succeeded\\n");\n#endif\n\n if (LOBYTE(LOWORD(GetVersion())) < 6) {\n printf(" test79...");\n printf("filter 1...filter 2...finally 1...filter 1...filter 2...finally "\n "2...passed\\n");\n } else {\n\n printf(" test79...");\n Counter = 0;\n try {\n Test79(&Counter, BadAddress);\n }\n except(printf("filter 2..."), EXCEPTION_EXECUTE_HANDLER) { Counter += 1; }\n\n if (Counter == 3) {\n printf("passed\\n");\n\n } else {\n printf("failed %d \\n", Counter);\n }\n }\n\n printf(" test80...");\n if (Test80() != 0) {\n printf("failed\\n");\n\n } else {\n printf("passed\\n");\n }\n\n printf(" test81...");\n Counter = 0;\n Test81(&Counter);\n if (Counter != 1) {\n printf("failed %d \\n", Counter);\n\n } else {\n printf("passed\\n");\n }\n\n printf(" test82...");\n Counter = 1;\n Test82(&Counter);\n if (Counter != 0) {\n printf("failed\\n");\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test83...");\n if (Test83() != 0) {\n printf("failed\\n");\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test84...");\n Counter = 0;\n Test84(&Counter);\n if (Counter != 2) {\n printf("failed\\n");\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test85...");\n Counter = 0;\n Test85(&Counter);\n if (Counter != 7) {\n printf("failed\\n");\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test86...");\n Counter = 0;\n Test86(&Counter);\n if (Counter != 4) {\n printf("failed %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test87...");\n Counter = 0;\n Test87(&Counter);\n if (Counter != 104) {\n printf("failed %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n printf(" test88...");\n Counter = 0;\n Test88(&Counter);\n if (Counter != 6) {\n printf("failed %d\\n", Counter);\n\n } else {\n printf("succeeded\\n");\n }\n\n //\n // Announce end of exception test.\n //\n\n printf("End of exception test\\n");\n return;\n}\n\n#pragma optimize("a", off)\nVOID addtwo(long First, long Second, long *Place)\n\n{\n\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n *Place = First + Second;\n return;\n}\n#pragma optimize("", on)\n\nVOID bar1(IN NTSTATUS Status, IN PLONG Counter) {\n\n try {\n foo1(Status);\n }\n finally {\n if (abnormal_termination() != FALSE) {\n *Counter = 99;\n\n } else {\n *Counter = 100;\n }\n }\n\n return;\n}\n\nVOID bar2(IN PLONG BlackHole, IN PLONG BadAddress, IN PLONG Counter) {\n\n try {\n foo2(BlackHole, BadAddress);\n }\n finally {\n if (abnormal_termination() != FALSE) {\n *Counter = 99;\n\n } else {\n *Counter = 100;\n }\n }\n\n return;\n}\n\nVOID dojump(IN jmp_buf JumpBuffer, IN PLONG Counter)\n\n{\n\n try {\n try {\n *Counter += 1;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n finally { *Counter += 1; }\n }\n finally {\n *Counter += 1;\n longjmp(JumpBuffer, 1);\n }\n}\n\n#if !defined(WIN_CE) // return through finally not allowed on WinCE\nVOID eret(IN NTSTATUS Status, IN PLONG Counter)\n\n{\n\n try {\n try {\n foo1(Status);\n }\n except((GetExceptionCode() == Status) ? EXCEPTION_EXECUTE_HANDLER\n : EXCEPTION_CONTINUE_SEARCH) {\n *Counter += 1;\n return;\n }\n }\n finally { *Counter += 1; }\n\n return;\n}\n#endif\n\nVOID except1(IN PLONG Counter)\n\n{\n\n try {\n *Counter += 5;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n except(except3(GetExceptionInformation(), Counter)) { *Counter += 7; }\n\n *Counter += 9;\n return;\n}\n\nULONG\nexcept2(IN PEXCEPTION_POINTERS ExceptionPointers, IN PLONG Counter)\n\n{\n\n PEXCEPTION_RECORD ExceptionRecord;\n\n ExceptionRecord = ExceptionPointers->ExceptionRecord;\n if ((ExceptionRecord->ExceptionCode == STATUS_UNSUCCESSFUL) &&\n ((ExceptionRecord->ExceptionFlags & EXCEPTION_NESTED_CALL) == 0)) {\n *Counter += 11;\n return EXCEPTION_EXECUTE_HANDLER;\n\n } else {\n *Counter += 13;\n return EXCEPTION_CONTINUE_SEARCH;\n }\n}\n\nULONG\nexcept3(IN PEXCEPTION_POINTERS ExceptionPointers, IN PLONG Counter)\n\n{\n\n PEXCEPTION_RECORD ExceptionRecord;\n\n ExceptionRecord = ExceptionPointers->ExceptionRecord;\n if ((ExceptionRecord->ExceptionCode == STATUS_INTEGER_OVERFLOW) &&\n ((ExceptionRecord->ExceptionFlags & EXCEPTION_NESTED_CALL) == 0)) {\n *Counter += 17;\n RtlRaiseStatus(STATUS_UNSUCCESSFUL);\n\n } else if ((ExceptionRecord->ExceptionCode == STATUS_UNSUCCESSFUL) &&\n ((ExceptionRecord->ExceptionFlags & EXCEPTION_NESTED_CALL) != 0)) {\n *Counter += 19;\n return EXCEPTION_CONTINUE_SEARCH;\n }\n\n *Counter += 23;\n return EXCEPTION_EXECUTE_HANDLER;\n}\n\nVOID foo1(IN NTSTATUS Status)\n\n{\n\n //\n // Raise exception.\n //\n\n RtlRaiseStatus(Status);\n return;\n}\n\nVOID foo2(IN PLONG BlackHole, IN PLONG BadAddress)\n\n{\n\n //\n // Raise exception.\n //\n\n *BlackHole += *BadAddress;\n return;\n}\n\n#if !defined(WIN_CE) // return from finally not allowed on WinCE\nVOID fret(IN PLONG Counter)\n\n{\n\n try {\n try {\n *Counter += 1;\n }\n finally {\n *Counter += 1;\n return;\n }\n }\n finally { *Counter += 1; }\n\n return;\n}\n#endif\n\nLONG Echo(IN LONG Value)\n\n{\n return Value;\n}\n\n#if defined(NEST_IN_FINALLY)\nVOID Test61Part2(IN OUT PULONG Counter) {\n try {\n *Counter -= 1;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n finally {\n try {\n *Counter += 2;\n RtlRaiseStatus(STATUS_INTEGER_OVERFLOW);\n }\n except(EXCEPTION_EXECUTE_HANDLER) { *Counter += 5; }\n *Counter += 7;\n }\n}\n#endif /* def(NEST_IN_FINALLY) */\n\ndouble SquareDouble(IN double op) {\n return exp(2.0 * log(op));\n}\n'},3665:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="type storage = int\ntype parameter =\n Increment of int\n| Decrement of int\n| Reset\ntype return = operation list * storage\n// Two entrypoints\nlet add (store, delta : storage * int) : storage = store + delta\nlet sub (store, delta : storage * int) : storage = store - delta\n(* Main access point that dispatches to the entrypoints according to\n the smart contract parameter. *)\nlet main (action, store : parameter * storage) : return =\n ([] : operation list), // No operations\n (match action with\n Increment (n) -> add (store, n)\n | Decrement (n) -> sub (store, n)\n | Reset -> 0)\n"},4942:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='(ns game-of-life\n "Conway\'s Game of Life, based on the work of\n Christophe Grand (http://clj-me.cgrand.net/2011/08/19/conways-game-of-life)\n and Laurent Petit (https://gist.github.com/1200343).")\n\n;;; Core game of life\'s algorithm functions\n\n(defn neighbors\n "Given a cell\'s coordinates `[x y]`, returns the coordinates of its\n neighbors."\n [[x y]]\n (for [dx [-1 0 1]\n dy (if (zero? dx)\n [-1 1]\n [-1 0 1])]\n [(+ dx x) (+ dy y)]))\n\n(defn step\n "Given a set of living `cells`, computes the new set of living cells."\n [cells]\n (set (for [[cell n] (frequencies (mapcat neighbors cells))\n :when (or (= n 3)\n (and (= n 2)\n (cells cell)))]\n cell)))\n\n;;; Utility methods for displaying game on a text terminal\n\n(defn print-grid\n "Prints a `grid` of `w` columns and `h` rows, on *out*, representing a\n step in the game."\n [grid w h]\n (doseq [x (range (inc w))\n y (range (inc h))]\n (when (= y 0) (println))\n (print (if (grid [x y])\n "[X]"\n " . "))))\n\n(defn print-grids\n "Prints a sequence of `grids` of `w` columns and `h` rows on *out*,\n representing several steps."\n [grids w h]\n (doseq [grid grids]\n (print-grid grid w h)\n (println)))\n\n;;; Launches an example grid\n\n(def grid\n "`grid` represents the initial set of living cells"\n #{[2 1] [2 2] [2 3]})\n\n(print-grids (take 3 (iterate step grid)) 5 5)'},3863:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='"""\nA CoffeeScript sample.\n"""\n\nclass Vehicle\n constructor: (@name) =>\n \n drive: () =>\n alert "Conducting #{@name}"\n\nclass Car extends Vehicle\n drive: () =>\n alert "Driving #{@name}"\n\nc = new Car "Brandie"\n\nwhile notAtDestination()\n c.drive()\n\nraceVehicles = (new Car for i in [1..100])\n\nstartRace = (vehicles) -> [vehicle.drive() for vehicle in vehicles]\n\nfancyRegExp = ///\n\t(\\d+)\t# numbers\n\t(\\w*)\t# letters\n\t$\t\t# the end\n///\n'},3100:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="#include \"pch.h\"\n#include \"Direct3DBase.h\"\n\nusing namespace Microsoft::WRL;\nusing namespace Windows::UI::Core;\nusing namespace Windows::Foundation;\n\n// Constructor.\nDirect3DBase::Direct3DBase()\n{\n}\n\n// Initialize the Direct3D resources required to run.\nvoid Direct3DBase::Initialize(CoreWindow^ window)\n{\n m_window = window;\n \n CreateDeviceResources();\n CreateWindowSizeDependentResources();\n}\n\n// These are the resources that depend on the device.\nvoid Direct3DBase::CreateDeviceResources()\n{\n // This flag adds support for surfaces with a different color channel ordering than the API default.\n // It is recommended usage, and is required for compatibility with Direct2D.\n UINT creationFlags = D3D11_CREATE_DEVICE_BGRA_SUPPORT;\n\n#if defined(_DEBUG)\n // If the project is in a debug build, enable debugging via SDK Layers with this flag.\n creationFlags |= D3D11_CREATE_DEVICE_DEBUG;\n#endif\n\n // This array defines the set of DirectX hardware feature levels this app will support.\n // Note the ordering should be preserved.\n // Don't forget to declare your application's minimum required feature level in its\n // description. All applications are assumed to support 9.1 unless otherwise stated.\n D3D_FEATURE_LEVEL featureLevels[] = \n {\n D3D_FEATURE_LEVEL_11_1,\n D3D_FEATURE_LEVEL_11_0,\n D3D_FEATURE_LEVEL_10_1,\n D3D_FEATURE_LEVEL_10_0,\n D3D_FEATURE_LEVEL_9_3,\n D3D_FEATURE_LEVEL_9_2,\n D3D_FEATURE_LEVEL_9_1\n };\n\n // Create the DX11 API device object, and get a corresponding context.\n ComPtr device;\n ComPtr context;\n DX::ThrowIfFailed(\n D3D11CreateDevice(\n nullptr, // specify null to use the default adapter\n D3D_DRIVER_TYPE_HARDWARE,\n nullptr, // leave as nullptr unless software device\n creationFlags, // optionally set debug and Direct2D compatibility flags\n featureLevels, // list of feature levels this app can support\n ARRAYSIZE(featureLevels), // number of entries in above list\n D3D11_SDK_VERSION, // always set this to D3D11_SDK_VERSION\n &device, // returns the Direct3D device created\n &m_featureLevel, // returns feature level of device created\n &context // returns the device immediate context\n )\n );\n\n // Get the DirectX11.1 device by QI off the DirectX11 one.\n DX::ThrowIfFailed(\n device.As(&m_d3dDevice)\n );\n\n // And get the corresponding device context in the same way.\n DX::ThrowIfFailed(\n context.As(&m_d3dContext)\n );\n}\n\n// Allocate all memory resources that change on a window SizeChanged event.\nvoid Direct3DBase::CreateWindowSizeDependentResources()\n{ \n // Store the window bounds so the next time we get a SizeChanged event we can\n // avoid rebuilding everything if the size is identical.\n m_windowBounds = m_window->Bounds;\n\n // If the swap chain already exists, resize it.\n if(m_swapChain != nullptr)\n {\n DX::ThrowIfFailed(\n m_swapChain->ResizeBuffers(2, 0, 0, DXGI_FORMAT_B8G8R8A8_UNORM, 0)\n );\n }\n // Otherwise, create a new one.\n else\n {\n // Create a descriptor for the swap chain.\n DXGI_SWAP_CHAIN_DESC1 swapChainDesc = {0};\n swapChainDesc.Width = 0; // use automatic sizing\n swapChainDesc.Height = 0;\n swapChainDesc.Format = DXGI_FORMAT_B8G8R8A8_UNORM; // this is the most common swapchain format\n swapChainDesc.Stereo = false; \n swapChainDesc.SampleDesc.Count = 1; // don't use multi-sampling\n swapChainDesc.SampleDesc.Quality = 0;\n swapChainDesc.BufferUsage = DXGI_USAGE_RENDER_TARGET_OUTPUT;\n swapChainDesc.BufferCount = 2; // use two buffers to enable flip effect\n swapChainDesc.Scaling = DXGI_SCALING_NONE;\n swapChainDesc.SwapEffect = DXGI_SWAP_EFFECT_FLIP_SEQUENTIAL; // we recommend using this swap effect for all applications\n swapChainDesc.Flags = 0;\n\n // Once the desired swap chain description is configured, it must be created on the same adapter as our D3D Device\n\n // First, retrieve the underlying DXGI Device from the D3D Device\n ComPtr dxgiDevice;\n DX::ThrowIfFailed(\n m_d3dDevice.As(&dxgiDevice)\n );\n\n // Identify the physical adapter (GPU or card) this device is running on.\n ComPtr dxgiAdapter;\n DX::ThrowIfFailed(\n dxgiDevice->GetAdapter(&dxgiAdapter)\n );\n\n // And obtain the factory object that created it.\n ComPtr dxgiFactory;\n DX::ThrowIfFailed(\n dxgiAdapter->GetParent(\n __uuidof(IDXGIFactory2), \n &dxgiFactory\n )\n );\n\n\t\tWindows::UI::Core::CoreWindow^ p = m_window.Get();\n\n // Create a swap chain for this window from the DXGI factory.\n DX::ThrowIfFailed(\n dxgiFactory->CreateSwapChainForCoreWindow(\n m_d3dDevice.Get(),\n reinterpret_cast(p),\n &swapChainDesc,\n nullptr, // allow on all displays\n &m_swapChain\n )\n );\n \n // Ensure that DXGI does not queue more than one frame at a time. This both reduces \n // latency and ensures that the application will only render after each VSync, minimizing \n // power consumption.\n DX::ThrowIfFailed(\n dxgiDevice->SetMaximumFrameLatency(1)\n );\n }\n \n // Obtain the backbuffer for this window which will be the final 3D rendertarget.\n ComPtr backBuffer;\n DX::ThrowIfFailed(\n m_swapChain->GetBuffer(\n 0,\n __uuidof(ID3D11Texture2D),\n &backBuffer\n )\n );\n\n // Create a view interface on the rendertarget to use on bind.\n DX::ThrowIfFailed(\n m_d3dDevice->CreateRenderTargetView(\n backBuffer.Get(),\n nullptr,\n &m_renderTargetView\n )\n );\n\n // Cache the rendertarget dimensions in our helper class for convenient use.\n D3D11_TEXTURE2D_DESC backBufferDesc;\n backBuffer->GetDesc(&backBufferDesc);\n m_renderTargetSize.Width = static_cast(backBufferDesc.Width);\n m_renderTargetSize.Height = static_cast(backBufferDesc.Height);\n\n // Create a descriptor for the depth/stencil buffer.\n CD3D11_TEXTURE2D_DESC depthStencilDesc(\n DXGI_FORMAT_D24_UNORM_S8_UINT, \n backBufferDesc.Width,\n backBufferDesc.Height,\n 1,\n 1,\n D3D11_BIND_DEPTH_STENCIL);\n\n // Allocate a 2-D surface as the depth/stencil buffer.\n ComPtr depthStencil;\n DX::ThrowIfFailed(\n m_d3dDevice->CreateTexture2D(\n &depthStencilDesc,\n nullptr,\n &depthStencil\n )\n );\n\n // Create a DepthStencil view on this surface to use on bind.\n DX::ThrowIfFailed(\n m_d3dDevice->CreateDepthStencilView(\n depthStencil.Get(),\n &CD3D11_DEPTH_STENCIL_VIEW_DESC(D3D11_DSV_DIMENSION_TEXTURE2D),\n &m_depthStencilView\n )\n );\n\n // Create a viewport descriptor of the full window size.\n CD3D11_VIEWPORT viewPort(\n 0.0f,\n 0.0f,\n static_cast(backBufferDesc.Width),\n static_cast(backBufferDesc.Height)\n );\n \n // Set the current viewport using the descriptor.\n m_d3dContext->RSSetViewports(1, &viewPort);\n}\n\nvoid Direct3DBase::UpdateForWindowSizeChange()\n{\n if (m_window->Bounds.Width != m_windowBounds.Width ||\n m_window->Bounds.Height != m_windowBounds.Height)\n {\n m_renderTargetView = nullptr;\n m_depthStencilView = nullptr;\n CreateWindowSizeDependentResources();\n }\n}\n\nvoid Direct3DBase::Present()\n{\n // The first argument instructs DXGI to block until VSync, putting the application\n // to sleep until the next VSync. This ensures we don't waste any cycles rendering\n // frames that will never be displayed to the screen.\n HRESULT hr = m_swapChain->Present(1, 0);\n\n // If the device was removed either by a disconnect or a driver upgrade, we \n // must completely reinitialize the renderer.\n if (hr == DXGI_ERROR_DEVICE_REMOVED || hr == DXGI_ERROR_DEVICE_RESET)\n {\n Initialize(m_window.Get());\n }\n else\n {\n DX::ThrowIfFailed(hr);\n }\n}\n"},7240:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='/*\n* C# Program to Display All the Prime Numbers Between 1 to 100\n*/\n\nusing System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text;\n\nnamespace VS\n{\n\tclass Program\n\t{\n\t\tstatic void Main(string[] args)\n\t\t{\n\t\t\tbool isPrime = true;\n\t\t\tConsole.WriteLine("Prime Numbers : ");\n\t\t\tfor (int i = 2; i <= 100; i++)\n\t\t\t{\n\t\t\t\tfor (int j = 2; j <= 100; j++)\n\t\t\t\t{\n\t\t\t\t\tif (i != j && i % j == 0)\n\t\t\t\t\t{\n\t\t\t\t\t\tisPrime = false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (isPrime)\n\t\t\t\t{\n\t\t\t\t\tConsole.Write("\\t" +i);\n\t\t\t\t}\n\t\t\t\tisPrime = true;\n\t\t\t}\n\t\t\tConsole.ReadKey();\n\t\t}\n\t}\n}\n'},5161:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="Content-Security-Policy: default-src 'self'; img-src *; media-src media1.com media2.com; script-src userscripts.example.com"},4353:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='html {\n background-color: #e2e2e2;\n margin: 0;\n padding: 0;\n}\n\nbody {\n background-color: #fff;\n border-top: solid 10px #000;\n color: #333;\n font-size: .85em;\n font-family: "Segoe UI","HelveticaNeue-Light", sans-serif;\n margin: 0;\n padding: 0;\n}\n\na:link, a:visited, \na:active, a:hover {\n color: #333;\n outline: none;\n padding-left: 0;\n padding-right: 3px;\n text-decoration: none;\n \n}\n\n\na:hover {\n background-color: #c7d1d6;\n}\n\n\nheader, footer, hgroup\nnav, section {\n display: block;\n}\n\n.float-left {\n float: left;\n}\n\n.float-right {\n float: right;\n}\n\n.highlight {\n/* background-color: #a6dbed;\n padding-left: 5px;\n padding-right: 5px;*/\n}\n\n.clear-fix:after {\n content: ".";\n clear: both;\n display: block;\n height: 0;\n visibility: hidden;\n}\n\nh1, h2, h3, \nh4, h5, h6 {\n color: #000;\n margin-bottom: 0;\n padding-bottom: 0;\n \n}\n\nh1 {\n font-size: 2em; \n}\n\nh2 {\n font-size: 1.75em;\n}\n\nh3 {\n font-size: 1.2em;\n}\n\nh4 {\n font-size: 1.1em;\n}\n\nh5, h6 {\n font-size: 1em;\n}\n\n\n.tile {\n /* 2px solid #7ac0da; */\n border: 0;\n \n float: left;\n width: 200px;\n height: 325px;\n \n padding: 5px;\n margin-right: 5px;\n margin-bottom: 20px;\n margin-top: 20px;\n -webkit-perspective: 0;\n -webkit-transform-style: preserve-3d;\n -webkit-transition: -webkit-transform 0.2s;\n -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.3);\n background-position: center center;\n background-repeat: no-repeat;\n \n background-color: #fff;\n}\n\n.tile-item {\n /* 2px solid #7ac0da; */\n border-color: inherit;\n float: left;\n width: 50px;\n height: 70px;\n margin-right: 20px;\n margin-bottom: 20px;\n margin-top: 20px;\n background-image: url(\'../Images/documents.png\');\n background-repeat: no-repeat;\n \n}\n\n.tile-wrapper {\n width: 100%;\n font-family: "Segoe UI" , Tahoma, Geneva, Verdana, sans-serif;\n line-height: 21px;\n font-size: 14px;\n}\n\na.blue-box {\n font-size: 28px;\n height: 100px;\n display: block;\n border-style: solid;\n border-width: 1px 1px 4px 1px;\n border-color: #C0C0C0 #C0C0C0 #8ABAE4 #C0C0C0;\n padding-top: 15px;\n padding-left: 15px;\n}\n\n a.blue-box:hover {\n border: 4px solid #8ABAE4; \n padding-top: 12px;\n padding-left: 12px;\n background-color: #FFFFFF;\n}\n \na.green-box {\n font-size: 28px;\n height: 100px;\n display: block;\n border-style: solid;\n border-width: 1px 1px 4px 1px;\n border-color: #C0C0C0 #C0C0C0 #9CCF42 #C0C0C0;\n padding-top: 15px;\n padding-left: 15px;\n}\n\n a.green-box:hover {\n border: 4px solid #9CCF42; \n padding-top: 12px;\n padding-left: 12px;\n background-color: #FFFFFF;\n}\n\n\na.green-box2 {\n font-size: 14px;\n height: 48px;\n width: 48px;\n display: block; /* border-color: #C0C0C0; */\n padding-top: 6px;\n font-weight: bold;\n \n}\n\n a.green-box2:hover {\n border: solid #8ABAE4;\n padding-top: 0px;\n padding-left: 0px;\n background-image: url(\'../Images/documents.png\');\n background-color: #EFEFEF;\n}\n\na.yellow-box {\n font-size: 28px;\n height: 100px;\n display: block;\n border-style: solid;\n border-width: 1px 1px 4px 1px;\n border-color: #C0C0C0 #C0C0C0 #DECF6B #C0C0C0;\n padding-top: 15px;\n padding-left: 15px;\n}\n\n a.yellow-box:hover {\n border: 4px solid #DECF6B; \n padding-top: 12px;\n padding-left: 12px;\n background-color: #FFFFFF;\n}\n \n \na.red-box {\n font-size: 28px;\n height: 100px;\n display: block;\n border-style: solid;\n border-width: 1px 1px 4px 1px;\n border-color: #C0C0C0 #C0C0C0 #F79E84 #C0C0C0;\n padding-top: 15px;\n padding-left: 15px;\n}\n\n a.red-box:hover {\n border: 4px solid #F79E84; \n padding-top: 12px;\n padding-left: 12px;\n background-color: #FFFFFF;\n}\n \n/* main layout \n----------------------------------------------------------*/\n.content-wrapper {\n margin: 0 auto;\n max-width: 960px;\n}\n\n#body {\n background-color: #efeeef;\n clear: both;\n padding-bottom: 35px;\n}\n\n .main-content {\n background: url("../images/accent.png") no-repeat;\n padding-left: 10px;\n padding-top: 30px;\n }\n\n .featured + .main-content {\n background: url("../images/heroaccent.png") no-repeat;\n }\n\nfooter {\n clear: both;\n background-color: #e2e2e2;\n font-size: .8em;\n height: 100px;\n}\n\n\n/* site title\n----------------------------------------------------------*/\n.site-title {\n color: #0066CC; /* font-family: Rockwell, Consolas, "Courier New", Courier, monospace; */\n font-size: 3.3em;\n margin-top: 40px;\n margin-bottom: 0;\n}\n\n.site-title a, .site-title a:hover, .site-title a:active {\n background: none;\n color: #0066CC;\n outline: none;\n text-decoration: none;\n}\n\n\n/* login \n----------------------------------------------------------*/\n#login {\n display: block;\n font-size: .85em;\n margin-top: 20px;\n text-align: right;\n}\n\n #login a {\n background-color: #d3dce0;\n margin-left: 10px;\n margin-right: 3px;\n padding: 2px 3px;\n text-decoration: none;\n }\n \n #login a.username {\n background: none;\n margin-left: 0px;\n text-decoration: underline;\n }\n\n #login li {\n display: inline;\n list-style: none;\n }\n \n \n/* menu \n----------------------------------------------------------*/\nul#menu {\n font-size: 1.3em;\n font-weight: 600;\n margin: 0;\n text-align: right;\n text-decoration: none;\n\n}\n\n ul#menu li {\n display: inline;\n list-style: none;\n padding-left: 15px;\n }\n\n ul#menu li a {\n background: none;\n color: #999;\n text-decoration: none;\n }\n\n ul#menu li a:hover {\n color: #333;\n text-decoration: none;\n }\n\n\n\n/* page elements \n----------------------------------------------------------*/\n/* featured */\n.featured {\n background-color: #fff;\n}\n\n .featured .content-wrapper {\n /*background-color: #7ac0da;\n background-image: -ms-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);\n background-image: -o-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);\n background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7AC0DA), color-stop(1, #A4D4E6));\n background-image: -webkit-linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);\n background-image: linear-gradient(left, #7AC0DA 0%, #A4D4E6 100%);\n color: #3e5667;\n */\n padding: 0px 40px 30px 40px;\n }\n\n .featured hgroup.title h1, .featured hgroup.title h2 {\n /* color: #fff;\n */\n }\n\n .featured p {\n font-size: 1.1em;\n }\n\n/* page titles */ \nhgroup.title {\n margin-bottom: 10px;\n}\n\nhgroup.title h1, hgroup.title h2 {\ndisplay: inline;\n}\n\nhgroup.title h2 {\n font-weight: normal;\n}\n\n/* releases */\n.milestone {\n color: #fff;\n background-color: #8ABAE4;\n font-weight: normal;\n padding: 10px 10px 10px 10px;\n margin: 0 0 0 0;\n}\n .milestone .primary {\n font-size: 1.75em;\n }\n\n .milestone .secondary {\n font-size: 1.2em;\n font-weight: normal;\n /* padding: 5px 5px 5px 10px;*/\n }\n \n/* features */\nsection.feature {\n width: 200px;\n float: left;\n padding: 10px;\n}\n\n/* ordered list */\nol.round {\n list-style-type: none;\n padding-left: 0;\n}\n\n ol.round li {\n margin: 25px 0;\n padding-left: 45px;\n }\n \n ol.round li.one {\n background: url("../images/orderedlistOne.png") no-repeat; \n }\n \n ol.round li.two {\n background: url("../images/orderedlistTwo.png") no-repeat; \n }\n \n ol.round li.three {\n background: url("../images/orderedlistThree.png") no-repeat; \n }\n \n/* content */ \narticle {\n float: left;\n width: 70%;\n}\n\naside {\n float: right;\n width: 25%;\n}\n\n aside ul {\n list-style: none;\n padding: 0;\n }\n \n aside ul li {\n background: url("../images/bullet.png") no-repeat 0 50%;\n padding: 2px 0 2px 20px;\n }\n \n.label {\n font-weight: 700;\n}\n\n/* login page */ \n#loginForm {\n border-right: solid 2px #c8c8c8;\n float: left;\n width: 45%;\n}\n\n #loginForm .validation-error {\n display: block;\n margin-left: 15px;\n }\n\n#socialLoginForm {\n margin-left: 40px;\n float: left;\n width: 50%;\n}\n\n/* contact */\n.contact h3 {\n font-size: 1.2em;\n}\n\n.contact p {\n margin: 5px 0 0 10px;\n}\n\n.contact iframe {\n border: solid 1px #333;\n margin: 5px 0 0 10px;\n}\n\n/* forms */\nfieldset {\n border: none;\n margin: 0;\n padding: 0;\n}\n\n fieldset legend {\n display: none;\n }\n \n fieldset ol {\n padding: 0;\n list-style: none;\n }\n \n fieldset ol li {\n padding-bottom: 5px;\n }\n \n fieldset label {\n display: block;\n font-size: 1.2em;\n font-weight: 600;\n }\n \n fieldset label.checkbox {\n display: inline;\n }\n \n fieldset input[type="text"], \n fieldset input[type="password"] {\n border: 1px solid #e2e2e2;\n color: #333;\n font-size: 1.2em;\n margin: 5px 0 6px 0;\n padding: 5px;\n width: 300px;\n }\n \n fieldset input[type="text"]:focus, \n fieldset input[type="password"]:focus {\n border: 1px solid #7ac0da;\n }\n \n fieldset input[type="submit"] {\n background-color: #d3dce0;\n border: solid 1px #787878;\n cursor: pointer;\n font-size: 1.2em;\n font-weight: 600;\n padding: 7px;\n }\n\n/* ajax login/registration dialog */\n.modal-popup {\n font-size: 0.7em;\n}\n\n/* info and errors */ \n.message-info {\n border: solid 1px;\n clear: both;\n padding: 10px 20px;\n}\n\n.message-error {\n clear: both;\n color: #e80c4d;\n font-size: 1.1em;\n font-weight: bold;\n margin: 20px 0 10px 0;\n}\n\n.message-success {\n color: #7ac0da;\n font-size: 1.3em;\n font-weight: bold;\n margin: 20px 0 10px 0;\n}\n\n.success {\n color: #7ac0da;\n}\n\n.error {\n color: #e80c4d;\n}\n\n/* styles for validation helpers */\n.field-validation-error {\n color: #e80c4d;\n font-weight: bold;\n}\n\n.field-validation-valid {\n display: none;\n}\n\ninput[type="text"].input-validation-error,\ninput[type="password"].input-validation-error {\n border: solid 1px #e80c4d;\n}\n\n.validation-summary-errors {\n color: #e80c4d;\n font-weight: bold;\n font-size: 1.1em;\n}\n\n.validation-summary-valid {\n display: none;\n}\n\n\n/* social */\nul#social li {\n display: inline;\n list-style: none;\n}\n\n ul#social li a {\n color: #999;\n text-decoration: none;\n }\n \n a.facebook, a.twitter {\n display: block;\n float: left;\n height: 24px;\n padding-left: 17px;\n text-indent: -9999px;\n width: 16px;\n }\n \n a.facebook {\n background: url("../images/facebook.png") no-repeat;\n }\n \n a.twitter {\n background: url("../images/twitter.png") no-repeat;\n }\n \n \n \n/********************\n* Mobile Styles *\n********************/\n@media only screen and (max-width: 850px) {\n \n /* header \n ----------------------------------------------------------*/\n header .float-left, \n header .float-right {\n float: none;\n }\n \n /* logo */\n header .site-title {\n /*margin: 0; */\n /*margin: 10px;*/\n text-align: left;\n padding-left: 0;\n }\n\n /* login */\n #login {\n font-size: .85em;\n margin-top: 0;\n text-align: center;\n }\n \n #login ul {\n margin: 5px 0;\n padding: 0;\n }\n \n #login li {\n display: inline;\n list-style: none;\n margin: 0;\n padding:0;\n }\n\n #login a {\n background: none;\n color: #999;\n font-weight: 600;\n margin: 2px;\n padding: 0;\n }\n \n #login a:hover {\n color: #333;\n }\n\n /* menu */\n nav {\n margin-bottom: 5px;\n }\n \n ul#menu {\n margin: 0;\n padding:0;\n text-align: center;\n }\n\n ul#menu li {\n margin: 0;\n padding: 0;\n }\n\n \n /* main layout \n ----------------------------------------------------------*/\n .main-content,\n .featured + .main-content {\n background-position: 10px 0;\n }\n \n .content-wrapper {\n padding-right: 10px;\n padding-left: 10px;\n }\n\n .featured .content-wrapper {\n padding: 10px;\n }\n \n /* page content */ \n article, aside {\n float: none;\n width: 100%;\n }\n \n /* ordered list */\n ol.round {\n list-style-type: none;\n padding-left: 0;\n }\n\n ol.round li {\n padding-left: 10px;\n margin: 25px 0;\n }\n \n ol.round li.one,\n ol.round li.two,\n ol.round li.three {\n background: none; \n }\n \n /* features */\n section.feature {\n float: none;\n padding: 10px;\n width: auto;\n }\n \n section.feature img {\n color: #999;\n content: attr(alt);\n font-size: 1.5em;\n font-weight: 600;\n }\n \n /* forms */ \n fieldset input[type="text"], \n fieldset input[type="password"] {\n width: 90%;\n }\n \n /* login page */ \n #loginForm {\n border-right: none;\n float: none;\n width: auto;\n }\n\n #loginForm .validation-error {\n display: block;\n margin-left: 15px;\n }\n\n #socialLoginForm {\n margin-left: 0;\n float: none;\n width: auto;\n }\n\n /* footer \n ----------------------------------------------------------*/ \n footer .float-left,\n footer .float-right {\n float: none;\n }\n \n footer {\n text-align: center;\n height: auto;\n padding: 10px 0;\n }\n \n footer p {\n margin: 0;\n }\n \n ul#social {\n padding:0;\n margin: 0;\n }\n \n a.facebook, a.twitter {\n background: none;\n display: inline;\n float: none;\n height: auto;\n padding-left: 0;\n text-indent: 0;\n width: auto;\n } \n}\n\n.subsite {\n\tcolor: #444;\n}\n\nh3 {\n\tfont-weight: normal;\n\tfont-size: 24px;\n\tcolor: #444;\n\tmargin-bottom: 20px;\n}\n\n.tiles {\n\tpadding-bottom: 20px;\n\tbackground-color: #e3e3e3;\n}\n\n#editor {\n\tmargin: 0 auto;\n\theight: 500px;\n\tborder: 1px solid #ccc;\n}\n\n.monaco-editor.monaco, .monaco-editor.vs, .monaco-editor.eclipse {\n\tbackground: #F9F9F9;\n}\n\n.monaco-editor.monaco .monaco-editor-background, .monaco-editor.vs .monaco-editor-background, .monaco-editor.eclipse .monaco-editor-background {\n\tbackground: #F9F9F9;\n}'},3637:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="MATCH (nicole:Actor {name: 'Nicole Kidman'})-[:ACTED_IN]->(movie:Movie)\nWHERE movie.year < $yearParameter\nRETURN movie\n"},3648:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="import 'dart:math' show Random;\n\nvoid main() async {\n print('Compute π using the Monte Carlo method.');\n await for (final estimate in computePi().take(100)) {\n print('π ≅ $estimate');\n }\n}\n\n/// Generates a stream of increasingly accurate estimates of π.\nStream computePi({int batch = 100000}) async* {\n var total = 0; // Inferred to be of type int\n var count = 0;\n while (true) {\n final points = generateRandom().take(batch);\n final inside = points.where((p) => p.isInsideUnitCircle);\n\n total += batch;\n count += inside.length;\n final ratio = count / total;\n\n // Area of a circle is A = π⋅r², therefore π = A/r².\n // So, when given random points with x ∈ <0,1>,\n // y ∈ <0,1>, the ratio of those inside a unit circle\n // should approach π / 4. Therefore, the value of π\n // should be:\n yield ratio * 4;\n }\n}\n\nIterable generateRandom([int? seed]) sync* {\n final random = Random(seed);\n while (true) {\n yield Point(random.nextDouble(), random.nextDouble());\n }\n}\n\nclass Point {\n final double x;\n final double y;\n\n const Point(this.x, this.y);\n\n bool get isInsideUnitCircle => x * x + y * y <= 1;\n}\n"},120:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="FROM mono:3.12\n\nENV KRE_FEED https://www.myget.org/F/aspnetvnext/api/v2\nENV KRE_USER_HOME /opt/kre\n\nRUN apt-get -qq update && apt-get -qqy install unzip \n\nONBUILD RUN curl -sSL https://raw.githubusercontent.com/aspnet/Home/dev/kvminstall.sh | sh\nONBUILD RUN bash -c \"source $KRE_USER_HOME/kvm/kvm.sh \\\n && kvm install latest -a default \\\n && kvm alias default | xargs -i ln -s $KRE_USER_HOME/packages/{} $KRE_USER_HOME/packages/default\"\n\n# Install libuv for Kestrel from source code (binary is not in wheezy and one in jessie is still too old)\nRUN apt-get -qqy install \\\n autoconf \\\n automake \\\n build-essential \\\n libtool \nRUN LIBUV_VERSION=1.0.0-rc2 \\\n && curl -sSL https://github.com/joyent/libuv/archive/v${LIBUV_VERSION}.tar.gz | tar zxfv - -C /usr/local/src \\\n && cd /usr/local/src/libuv-$LIBUV_VERSION \\\n && sh autogen.sh && ./configure && make && make install \\\n && rm -rf /usr/local/src/libuv-$LIBUV_VERSION \\\n && ldconfig\n\nENV PATH $PATH:$KRE_USER_HOME/packages/default/bin\n\n# Extra things to test\nRUN echo \"string at end\"\nRUN echo must work 'some str' and some more\nRUN echo hi this is # not a comment\nRUN echo 'String with ${VAR} and another $one here'"},2873:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r="F0 := IMDB.File_actors;\nCountActors := RECORD\nF0.ActorName;\nUNSIGNED C := COUNT(GROUP);\nEND;\nMoviesIn := TABLE(F0,CountActors,ActorName);\nOUTPUT(TOPN(MoviesIn,100,-C));\n"},1490:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='# Elixir is a dynamic, functional language for building scalable\n# and maintainable applications. Learn more: https://elixir-lang.org\n\n"Elixir" |> String.graphemes() |> Enum.frequencies()\n#=> %{"E" => 1, "i" => 2, "l" => 1, "r" => 1, "x" => 1}\n\n\n### Scalability ###\n\n# All Elixir code runs inside lightweight threads of execution (called processes)\n# that are isolated and exchange information via messages:\n\ncurrent_process = self()\n\n# Spawn an Elixir process (not an operating system one!)\nspawn_link(fn ->\n send(current_process, {:msg, "hello world"})\nend)\n\n# Block until the message is received\nreceive do\n {:msg, contents} -> IO.puts(contents)\nend\n\n\n### Fault-tolerance ###\n\n# To cope with failures, Elixir provides supervisors which describe\n# how to restart parts of your system when things go awry, going back\n# to a known initial state that is guaranteed to work:\n\nchildren = [\n TCP.Pool,\n {TCP.Acceptor, port: 4040}\n]\n\nSupervisor.start_link(children, strategy: :one_for_one)\n\n\n### Functional programming ###\n\n# Functional programming promotes a coding style that helps\n# developers write code that is short, concise, and maintainable.\n# One prominent example is pattern matching:\n\n%User{name: name, age: age} = User.get("John Doe")\nname #=> "John Doe"\n\n# When mixed with guards, pattern matching allows us to elegantly\n# match and assert specific conditions for some code to execute:\n\ndef drive(%User{age: age}) when age >= 16 do\n # Code that drives a car\nend\n\ndrive(User.get("John Doe"))\n#=> Fails if the user is under 16\n\n\n### Extensibility and DSLs ###\n\n# Elixir has been designed to be extensible, letting developers\n# naturally extend the language to particular domains,\n# in order to increase their productivity.\n\ndefmodule MathTest do\n use ExUnit.Case, async: true\n\n test "can add two numbers" do\n assert 1 + 1 == 2\n end\nend\n\n\n### Erlang compatible ###\n\n# An Elixir programmer can invoke any Erlang function with no runtime cost:\n\n:crypto.hash(:md5, "Using crypto from Erlang OTP")\n#=> <<192, 223, 75, 115, ...>>\n'},6547:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='import material/material;\n\nexport {\n\tdemoMakeHelloWorld(onClose : () -> void) -> Material;\n}\n\ndemoMakeHelloWorld(onClose : () -> void) -> Material {\n\tMCenter(\n\t\tMLines2(\n\t\t\tMText("Hello, world!", []),\n\t\t\tMTextButton("CLOSE", onClose, [], [])\n\t\t)\n\t);\n}\n'},5878:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='<#ftl stripText=false>\n\n<#-- Free marker demo --\x3e\n\n<#comment>\nThis demonstrates the FreeMarker language. The default theme is not very\ncolorful and displays many different token types in the same color, but keep in\nmind that you can define your own theme (or extend an existing one).\n\nNote that free marker actually defines 6 similar but different syntax modes:\n\n- 3 tag syntax modes: Angle (<#if>), Bracket ([#if]), and Auto.\n- 2 interpolation modes: Dollar (${...}) and Bracket ([=...])\n\nIn auto mode, the first tag determines the tag syntax. You can use the language\nIDs "freemarker.tag-bracket.interpolation-dollar" etc. to force a specific mode.\n\nThe default FreeMarker mode is Angle/Dollar.\n\n\n<#macro greet name>\n Hello [=name]!\n\n\n<#macro border>\n
\n <#nested>\n
\n\n\n<#function avg x y>\n <#return (x + y) / 2>\n\n\n<#assign user = "Juila Smith">\n<#assign animals = [{"name": "Tanuki", "price": 200}, {"name": "Phoenix", "price": 1111}]>\n\n\n\n Welcome!\n\n\n <#-- Greet the user with his/her name --\x3e\n

\n \t<@greet user />\n

\n\n

We have these animals:\n\n

    \n <#list animals as animal>\n
  • [=animal.name] for [=animal.price] Euros\n \n
\n\n <@border>The bordered text\n\n The average of 35 and 49 is [=avg(35, 49)].\n\n\n\n'},3129:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='<#ftl stripText=false>\n\n<#-- Free marker demo --\x3e\n\n<#comment>\nThis demonstrates the FreeMarker language. The default theme is not very\ncolorful and displays many different token types in the same color, but keep in\nmind that you can define your own theme (or extend an existing one).\n\nNote that free marker actually defines 6 similar but different syntax modes:\n\n- 3 tag syntax modes: Angle (<#if>), Bracket ([#if]), and Auto.\n- 2 interpolation modes: Dollar (${...}) and Bracket ([=...])\n\nIn auto mode, the first tag determines the tag syntax. You can use the language\nIDs "freemarker.tag-bracket.interpolation-dollar" etc. to force a specific mode.\n\nThe default FreeMarker mode is Angle/Dollar.\n\n\n<#macro greet name>\n Hello ${name}!\n\n\n<#macro border>\n
\n <#nested>\n
\n\n\n<#function avg x y>\n <#return (x + y) / 2>\n\n\n<#assign user = "Juila Smith">\n<#assign animals = [{"name": "Tanuki", "price": 200}, {"name": "Phoenix", "price": 1111}]>\n\n\n\n Welcome!\n\n\n <#-- Greet the user with his/her name --\x3e\n

\n \t<@greet user />\n

\n\n

We have these animals:\n\n

    \n <#list animals as animal>\n
  • ${animal.name} for ${animal.price} Euros\n \n
\n\n <@border>The bordered text\n\n The average of 35 and 49 is ${avg(35, 49)}.\n\n\n\n'},1756:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='Auto mode detect the tag syntax mode automatically.\nTry exchanging the order of the next two lines and see what happens!\n\n[#ftl stripText=false]\n<#ftl stripText=false>\n\n<#-- Free marker demo --\x3e\n\n<#comment>\nThis demonstrates the FreeMarker language. The default theme is not very\ncolorful and displays many different token types in the same color, but keep in\nmind that you can define your own theme (or extend an existing one).\n\nNote that free marker actually defines 6 similar but different syntax modes:\n\n- 3 tag syntax modes: Angle (<#if>), Bracket ([#if]), and Auto.\n- 2 interpolation modes: Dollar (${...}) and Bracket ([=...])\n\nIn auto mode, the first tag determines the tag syntax. You can use the language\nIDs "freemarker.tag-bracket.interpolation-dollar" etc. to force a specific mode.\n\nThe default FreeMarker mode is Angle/Dollar.\n\n\n<#macro greet name>\n Hello [=name]!\n\n\n<#macro border>\n
\n <#nested>\n
\n\n\n<#function avg x y>\n <#return (x + y) / 2>\n\n\n<#assign user = "Juila Smith">\n<#assign animals = [{"name": "Tanuki", "price": 200}, {"name": "Phoenix", "price": 1111}]>\n\n\n\n Welcome!\n\n\n <#-- Greet the user with his/her name --\x3e\n

\n \t<@greet user />\n

\n\n

We have these animals:\n\n

    \n <#list animals as animal>\n
  • [=animal.name] for [=animal.price] Euros\n \n
\n\n <@border>The bordered text\n\n The average of 35 and 49 is [=avg(35, 49)].\n\n\n\n'},5848:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='Auto mode detect the tag syntax mode automatically.\nTry exchanging the order of the next two lines and see what happens!\n\n<#ftl stripText=false>\n[#ftl stripText=false]\n\n<#-- Free marker demo --\x3e\n\n<#comment>\nThis demonstrates the FreeMarker language. The default theme is not very\ncolorful and displays many different token types in the same color, but keep in\nmind that you can define your own theme (or extend an existing one).\n\nNote that free marker actually defines 6 similar but different syntax modes:\n\n- 3 tag syntax modes: Angle (<#if>), Bracket ([#if]), and Auto.\n- 2 interpolation modes: Dollar (${...}) and Bracket ([=...])\n\nIn auto mode, the first tag determines the tag syntax. You can use the language\nIDs "freemarker.tag-bracket.interpolation-dollar" etc. to force a specific mode.\n\nThe default FreeMarker mode is Angle/Dollar.\n\n\n<#macro greet name>\n Hello ${name}!\n\n\n<#macro border>\n
\n <#nested>\n
\n\n\n<#function avg x y>\n <#return (x + y) / 2>\n\n\n<#assign user = "Juila Smith">\n<#assign animals = [{"name": "Tanuki", "price": 200}, {"name": "Phoenix", "price": 1111}]>\n\n\n\n Welcome!\n\n\n <#-- Greet the user with his/her name --\x3e\n

\n \t<@greet user />\n

\n\n

We have these animals:\n\n

    \n <#list animals as animal>\n
  • ${animal.name} for ${animal.price} Euros\n \n
\n\n <@border>The bordered text\n\n The average of 35 and 49 is ${avg(35, 49)}.\n\n\n\n'},383:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='[#ftl stripText=false]\n\n[#-- Free marker demo --]\n\n[#comment]\nThis demonstrates the FreeMarker language. The default theme is not very\ncolorful and displays many different token types in the same color, but keep in\nmind that you can define your own theme (or extend an existing one).\n\nNote that free marker actually defines 6 similar but different syntax modes:\n\n- 3 tag syntax modes: Angle (<#if>), Bracket ([#if]), and Auto.\n- 2 interpolation modes: Dollar (${...}) and Bracket ([=...])\n\nIn auto mode, the first tag determines the tag syntax. You can use the language\nIDs "freemarker.tag-bracket.interpolation-dollar" etc. to force a specific mode.\n\nThe default FreeMarker mode is Angle/Dollar.\n[/#comment]\n\n[#macro greet name]\n Hello [=name]!\n[/#macro[\n\n[#macro border]\n
\n [#nested]\n
\n[/#macro]\n\n[#function avg x y]\n [#return (x + y) / 2]\n[/#function]\n\n[#assign user = "Juila Smith"]\n[#assign animals = [{"name": "Tanuki", "price": 200}, {"name": "Phoenix", "price": 1111}]]\n\n\n\n Welcome!\n\n\n [#-- Greet the user with his/her name --]\n

\n \t<@greet user />\n

\n\n

We have these animals:\n\n

    \n [#list animals as animal]\n
  • [=animal.name] for [=animal.price] Euros\n [/#list][\n
\n\n <@border>The bordered text\n\n The average of 35 and 49 is [=avg(35, 49]}.\n\n\n\n'},8649:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='[#ftl stripText=false]\n\n[#-- Free marker demo --]\n\n[#comment]\nThis demonstrates the FreeMarker language. The default theme is not very\ncolorful and displays many different token types in the same color, but keep in\nmind that you can define your own theme (or extend an existing one).\n\nNote that free marker actually defines 6 similar but different syntax modes:\n\n- 3 tag syntax modes: Angle (<#if>), Bracket ([#if]), and Auto.\n- 2 interpolation modes: Dollar (${...}) and Bracket ([=...])\n\nIn auto mode, the first tag determines the tag syntax. You can use the language\nIDs "freemarker.tag-bracket.interpolation-dollar" etc. to force a specific mode.\n\nThe default FreeMarker mode is Angle/Dollar.\n[/#comment]\n\n[#macro greet name]\n Hello ${name}!\n[/#macro[\n\n[#macro border]\n
\n [#nested]\n
\n[/#macro]\n\n[#function avg x y]\n [#return (x + y) / 2]\n[/#function]\n\n[#assign user = "Juila Smith"]\n[#assign animals = [{"name": "Tanuki", "price": 200}, {"name": "Phoenix", "price": 1111}]]\n\n\n\n Welcome!\n\n\n [#-- Greet the user with his/her name --]\n

\n \t<@greet user />\n

\n\n

We have these animals:\n\n

    \n [#list animals as animal]\n
  • ${animal.name} for ${animal.price} Euros\n [/#list][\n
\n\n <@border>The bordered text\n\n The average of 35 and 49 is ${avg(35, 49)}.\n\n\n\n'},5762:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='<#ftl stripText=false>\n\n<#-- Free marker demo --\x3e\n\n<#comment>\nThis demonstrates the FreeMarker language. The default theme is not very\ncolorful and displays many different token types in the same color, but keep in\nmind that you can define your own theme (or extend an existing one).\n\nNote that free marker actually defines 6 similar but different syntax modes:\n\n- 3 tag syntax modes: Angle (<#if>), Bracket ([#if]), and Auto.\n- 2 interpolation modes: Dollar (${...}) and Bracket ([=...])\n\nIn auto mode, the first tag determines the tag syntax. You can use the language\nIDs "freemarker.tag-bracket.interpolation-dollar" etc. to force a specific mode.\n\nThe default FreeMarker mode is Angle/Dollar.\n\n\n<#macro greet name>\n Hello ${name}!\n\n\n<#macro border>\n
\n <#nested>\n
\n\n\n<#function avg x y>\n <#return (x + y) / 2>\n\n\n<#assign user = "Juila Smith">\n<#assign animals = [{"name": "Tanuki", "price": 200}, {"name": "Phoenix", "price": 1111}]>\n\n\n\n Welcome!\n\n\n <#-- Greet the user with his/her name --\x3e\n

\n \t<@greet user />\n

\n\n

We have these animals:\n\n

    \n <#list animals as animal>\n
  • ${animal.name} for ${animal.price} Euros\n \n
\n\n <@border>The bordered text\n\n The average of 35 and 49 is ${avg(35, 49)}.\n\n\n\n'},1425:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='(* Sample F# application *)\n[]\nlet main argv = \n printfn "%A" argv\n System.Console.WriteLine("Hello from F#")\n 0 // return an integer exit code\n\n//-------------------------------------------------------- \n'},3388:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='// We often need our programs to perform operations on\n// collections of data, like selecting all items that\n// satisfy a given predicate or mapping all items to a new\n// collection with a custom function.\n\n// In some languages it\'s idiomatic to use [generic](http://en.wikipedia.org/wiki/Generic_programming)\n// data structures and algorithms. Go does not support\n// generics; in Go it\'s common to provide collection\n// functions if and when they are specifically needed for\n// your program and data types.\n\n// Here are some example collection functions for slices\n// of `strings`. You can use these examples to build your\n// own functions. Note that in some cases it may be\n// clearest to just inline the collection-manipulating\n// code directly, instead of creating and calling a\n// helper function.\n\npackage main\n\nimport "strings"\nimport "fmt"\n\n// Returns the first index of the target string `t`, or\n// -1 if no match is found.\nfunc Index(vs []string, t string) int {\n for i, v := range vs {\n if v == t {\n return i\n }\n }\n return -1\n}\n\n// Returns `true` if the target string t is in the\n// slice.\nfunc Include(vs []string, t string) bool {\n return Index(vs, t) >= 0\n}\n\n// Returns `true` if one of the strings in the slice\n// satisfies the predicate `f`.\nfunc Any(vs []string, f func(string) bool) bool {\n for _, v := range vs {\n if f(v) {\n return true\n }\n }\n return false\n}\n\n// Returns `true` if all of the strings in the slice\n// satisfy the predicate `f`.\nfunc All(vs []string, f func(string) bool) bool {\n for _, v := range vs {\n if !f(v) {\n return false\n }\n }\n return true\n}\n\n// Returns a new slice containing all strings in the\n// slice that satisfy the predicate `f`.\nfunc Filter(vs []string, f func(string) bool) []string {\n vsf := make([]string, 0)\n for _, v := range vs {\n if f(v) {\n vsf = append(vsf, v)\n }\n }\n return vsf\n}\n\n// Returns a new slice containing the results of applying\n// the function `f` to each string in the original slice.\nfunc Map(vs []string, f func(string) string) []string {\n vsm := make([]string, len(vs))\n for i, v := range vs {\n vsm[i] = f(v)\n }\n return vsm\n}\n\nfunc main() {\n\n // Here we try out our various collection functions.\n var strs = []string{"peach", "apple", "pear", "plum"}\n\n fmt.Println(Index(strs, "pear"))\n\n fmt.Println(Include(strs, "grape"))\n\n fmt.Println(Any(strs, func(v string) bool {\n return strings.HasPrefix(v, "p")\n }))\n\n fmt.Println(All(strs, func(v string) bool {\n return strings.HasPrefix(v, "p")\n }))\n\n fmt.Println(Filter(strs, func(v string) bool {\n return strings.Contains(v, "e")\n }))\n\n // The above examples all used anonymous functions,\n // but you can also use named functions of the correct\n // type.\n fmt.Println(Map(strs, strings.ToUpper))\n\n}\n'},9867:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='# GraphQL Schema Definition Language\n\n"""\nColor value\n"""\nscalar Color\n\n"""\nNode interface\n\n- allows (re)fetch arbitrary entity only by ID\n- allows client side cache normalization\n\nSee [Relay Global Object Identification Specification](https://facebook.github.io/relay/graphql/objectidentification.htm)\n"""\ninterface Node {\n """\n Globally unique identifier,\n typically `${__typename}:${dbId}`\n may be encoded in *base64*\n """\n id: ID!\n}\n\n"""\nA character in the Star Wars Trilogy\n"""\ninterface Character {\n """\n The id of the character.\n """\n id: ID!\n\n """\n The name of the character.\n """\n name: String\n\n """\n The friends of the character, or an empty list if they have none.\n """\n friends: [Character]\n\n """\n Which movies they appear in\n """\n appearsIn: [Episode]\n\n """\n All secrets about their past\n """\n secretBackstory: String\n}\n\n"""\nA mechanical creature in the Star Wars universe.\n"""\ntype Droid implements Character {\n """\n The id of the droid.\n """\n id: ID!\n\n """\n The name of the droid.\n """\n name: String\n\n """\n The friends of the droid, or an empty list if they have none.\n """\n friends: [Character]\n\n """\n Which movies they appear in.\n """\n appearsIn: [Episode]\n\n """\n Construction date and the name of the designer.\n """\n secretBackstory: String\n\n """\n The primary function of the droid.\n """\n primaryFunction: String\n\n """\n Chase color of the droid.\n """\n color: Color\n}\n\n# One of the films in the Star Wars Trilogy\nenum Episode {\n """\n Released in 1977.\n """\n NEWHOPE\n\n """\n Released in 1980.\n """\n EMPIRE\n\n """\n Released in 1983.\n """\n JEDI\n}\n\n"""\nA humanoid creature in the Star Wars universe.\n"""\ntype Human implements Character {\n """\n The id of the human.\n """\n id: ID!\n\n """\n The name of the human.\n """\n name: String\n\n """\n The friends of the human, or an empty list if they have none.\n """\n friends: [Character]\n\n """\n Which movies they appear in.\n """\n appearsIn: [Episode]\n\n """\n The home planet of the human, or null if unknown.\n """\n homePlanet: String\n\n """\n Where are they from and how they came to be who they are.\n """\n secretBackstory: String\n}\n\nenum LengthUnit {\n METER\n FEET\n}\n\ntype Starship {\n id: ID!\n name: String!\n length(unit: LengthUnit = METER): Float\n}\n\nunion SearchResult = Human | Droid | Starship\n\ninput SearchInput {\n name: String\n episode: Episode\n}\n\n"""\nRoot Query\n"""\ntype Query {\n """\n Return the hero by episode.\n """\n hero(\n """\n If omitted, returns the hero of the whole saga. If provided, returns the hero of that particular episode.\n """\n episode: Episode\n ): Character\n\n """\n Return the Human by ID.\n """\n human(\n """\n id of the human\n """\n id: ID!\n ): Human\n\n """\n Return the Droid by ID.\n """\n droid(\n """\n id of the droid\n """\n id: ID!\n ): Droid\n\n """\n Search everything by name\n\n __NOTE__: You should use Relay pagination\n """\n search(search: SearchInput!): [SearchResult]\n @deprecated(reason: "`search` will be replaced.")\n}\n\n"""\nRoot Mutation\n"""\ntype Mutation {\n """\n Save the favorite episode.\n """\n favorite(\n """\n Favorite episode.\n """\n episode: Episode!\n ): Episode\n}\n\n"""\nSubscriptions — live events\n"""\ntype Subscription {\n """\n Message\n """\n message: String\n}\n\nextend type Query {\n """\n Dummy query for highlighting test\n """\n dummy(\n int: Int = 123\n float: Float = 123.456\n str: String = "Hello World!"\n boolDefaultTrue: Boolean = true\n boolDefaultFalse: Boolean = false\n id: ID\n search: SearchInput = null\n ): Boolean\n}\n\nschema {\n query: Query\n mutation: Mutation\n subscription: Subscription\n}\n\n# GraphQL Query Language\n\nquery dummyQuery($int: Int) {\n dummy(int: $int)\n}\n\nmutation favoriteEpisode($episode: Episode) {\n favorite(episode: $episode)\n}\n'},1363:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='\n
\n\t

{{title}}

\n\t{{#if author}}\n\t

{{author.firstName}} {{author.lastName}}

\n\t{{else}}\n\t

Unknown Author

\n\t{{/if}}\n\t{{contentBody}}\n
\n\n{{#unless license}}\n

WARNING: This entry does not have a license!

\n{{/unless}}\n\n
\n\t
    \n\t\t{{#each footnotes}}\n\t\t
  • {{this}}
  • \n\t\t{{/each}}\n\t
\n
\n\n

Comments

\n\n
\n\t{{#each comments}}\n\t

{{title}}

\n\t
{{body}}
\n\t{{/each}}\n
\n'},1594:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='terraform {\n required_providers {\n aws = {\n source = "hashicorp/aws"\n version = "~> 1.0.4"\n }\n }\n}\n\nvariable "aws_region" {}\n\nvariable "base_cidr_block" {\n description = "A /16 CIDR range definition, such as 10.1.0.0/16, that the VPC will use"\n default = "10.1.0.0/16"\n}\n\nvariable "availability_zones" {\n description = "A list of availability zones in which to create subnets"\n type = list(string)\n}\n\nprovider "aws" {\n region = var.aws_region\n}\n\nresource "aws_vpc" "main" {\n # Referencing the base_cidr_block variable allows the network address\n # to be changed without modifying the configuration.\n cidr_block = var.base_cidr_block\n}\n\nresource "aws_subnet" "az" {\n # Create one subnet for each given availability zone.\n count = length(var.availability_zones)\n\n # For each subnet, use one of the specified availability zones.\n availability_zone = var.availability_zones[count.index]\n\n # By referencing the aws_vpc.main object, Terraform knows that the subnet\n # must be created only after the VPC is created.\n vpc_id = aws_vpc.main.id\n\n # Built-in functions and operators can be used for simple transformations of\n # values, such as computing a subnet address. Here we create a /20 prefix for\n # each subnet, using consecutive addresses for each availability zone,\n # such as 10.1.16.0/20 .\n cidr_block = cidrsubnet(aws_vpc.main.cidr_block, 4, count.index+1)\n}\n'},5700:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>r});const r='\n\x3c!--Example of comments in HTML--\x3e\n\n\n\t\x3c!--This is the head section--\x3e\n\tHTML Sample\n\t\n\n\t\x3c!--This is the style tag to set style on elements--\x3e\n\t\n\n\t\x3c!--This is the script tag--\x3e\n\t