diff --git a/docs/909.bundle.js b/docs/909.bundle.js index 01e7790..795bbba 100644 --- a/docs/909.bundle.js +++ b/docs/909.bundle.js @@ -13,5 +13,5 @@ ${n}
`}],[/\s?<\/ul>\s?/g,"
\n"],[/https?:\/\/[^"']*/g,e=>e.replace(/<\/?em>/g,"_")],[/_/g,"_"]],c=(e,t=!1,n=!1)=>(e=` ${e} -`,u.forEach(([t,n])=>{e=e.replace(t,n)}),e=e.trim(),t&&(e=e.replace(/^([\s\S]*)<\/p>$/,"$1")),n&&(e=e.replace(/(16*Math.random()|0).toString(16)),h=["min","max","minLength","maxLength","rows","cols","placeholder","autocomplete","pattern","readOnly","step"],p=e=>h.indexOf(e)>=0,f=({disabled:e})=>e?"[disabled]":"",m=e=>{let t;return(e=>Object.keys(e).filter(p).filter(t=>void 0!==e[t]).reduce((t,n)=>{let i=e[n];return t.push(`[${n.toLowerCase()}=${i}]`),t},[]).join(""))(e)+((t=e).maxLength?`[data-length=${t.maxLength}]`:"")+f(e)+(({required:e,isMandatory:t})=>e||t?"[required][aria-required=true]":"")(e)+(({autofocus:e})=>"boolean"==typeof e&&e||e&&e()?"[autofocus]":"")(e)},g=e=>!isNaN(parseFloat(e))&&isFinite(e);function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t
=0||(r[n]=e[n]);return r}let w=["label","id","isMandatory","isActive"],b={view:({attrs:e})=>s()("span.mandatory",e,"*")},E=()=>({view:e=>{let{attrs:{label:t,id:n,isMandatory:i,isActive:r}}=e,o=v(e.attrs,w);return t?s()(`label${r?".active":""}${n?`[for=${n}]`:""}`,o,[s().trust(t),i?s()(b):void 0]):void 0}}),T=()=>({view:({attrs:{helperText:e,dataError:t,dataSuccess:n,className:i}})=>e||t||n?s()("span.helper-text",{className:i,dataError:t,dataSuccess:n},e?s().trust(e):""):void 0}),x=()=>{let e={id:d()};return{view:({attrs:t})=>{let n=t.id||e.id,i=m(t),{label:r,helperText:o,initialValue:a,onchange:l,newRow:u,className:c="col s12",style:d,iconName:h,isMandatory:p}=t;return s()(".input-field"+(u?".clear":""),{className:u?c+" clear":c,style:d},[h?s()("i.material-icons.prefix",h):"",s()(`input.autocomplete[type=text][tabindex=0]${i}`,{id:n,oncreate:({dom:e})=>{M.Autocomplete.init(e,t)},onchange:l?e=>{e.target&&e.target.value&&l(e.target.value)}:void 0,value:a}),s()(E,{label:r,id:n,isMandatory:p,isActive:a}),s()(T,{helperText:o})])}}},_=["iconName"],N=()=>({view:e=>{let{attrs:{iconName:t}}=e,n=v(e.attrs,_);return s()("i.material-icons",n,t)}}),A=["modalId","tooltip","tooltipPostion","iconName","iconClass","label","attr"],L=(e,t="")=>()=>{let n=`${e}${t}`;return{view:({attrs:e})=>{var t;let i,{modalId:r,tooltip:o,tooltipPostion:a,iconName:l,iconClass:u,label:c,attr:d}=e,h=v(e,A);return s()(`${n}${r?`.modal-trigger[href=#${r}]`:""}${o?`.tooltipped[data-position=${a||"top"}][data-tooltip=${o}]`:""}${(t=d)?((...e)=>t=>e.reduceRight((e,t)=>t(e),t))(e=>Array.prototype.join.call(e,""),(i=e=>`[${e.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())}="${((e="")=>e.toString().replace(/"/g,"""))(t[e])}"]`,e=>Array.prototype.map.call(e,i)),Object.keys)(t):""}`,h,l?s()(N,{iconName:l,className:u||"left"}):void 0,c||void 0)}}},I=L("a.waves-effect.waves-teal.btn-flat","[type=button]"),S=L("button.btn-floating.btn-large.waves-effect.waves-light","[type=button]"),D=()=>({oncreate:({attrs:e,dom:t})=>{let{onchange:n,onChipAdd:i,onChipDelete:r}=e,o=M.Chips.getInstance(t.children[0]),s=i?i.bind(o):void 0;e.onChipAdd=function(e,t){n&&n(this.chipsData),s&&s(e,t)};let a=r?r.bind(o):void 0;e.onChipDelete=function(e,t){n&&n(this.chipsData),a&&a(e,t)},M.Chips.init(t.children[0],e)},onupdate:({dom:e,attrs:{data:t}})=>{if(!t||0===t.length)return;let n=M.Chips.getInstance(e.children[0]);t.forEach(e=>n.addChip(e))},view:({attrs:{placeholder:e,required:t,isMandatory:n=t,data:i,className:r="col s12",label:o,helperText:a}})=>s()(".input-field",{className:r},[s()(`.chips.chips-autocomplete${e?".chips-placeholder":""}${i?".chips-initial":""}`),o?s()(E,{label:o,isMandatory:n,className:"active"}):void 0,a?s()(T,{helperText:a}):void 0])}),k=()=>({view:({attrs:{header:e,body:t,active:n,iconName:i}})=>s()(n?"li.active":"li",[e||i?s()(".collapsible-header",[i?s()("i.material-icons",i):void 0,e?"string"==typeof e?s()("span",e):e:void 0]):void 0,t?s()(".collapsible-body",t):void 0])}),j=()=>({oncreate:({dom:e,attrs:t})=>{M.Collapsible.init(e,t)},view:({attrs:e})=>{let{items:t,class:n,className:i,style:r,id:o}=e;return t&&t.length>0?s()("ul.collapsible",{class:n||i,style:r,id:o},t.map(e=>s()(k,e))):void 0}});(i=r||(r={}))[i.BASIC=0]="BASIC",i[i.LINKS=1]="LINKS",i[i.AVATAR=2]="AVATAR";let C=["className","helperText","iconName","id","initialValue","isMandatory","label","onchange","onkeydown","onkeypress","onkeyup","onblur","style"],O=["className","dataError","dataSuccess","helperText","iconName","id","initialValue","isMandatory","label","maxLength","newRow","onchange","onkeydown","onkeypress","onkeyup","onblur","style","validate"],z=()=>{let e={id:d()};return{view:({attrs:t})=>{let{className:n="col s12",helperText:i,iconName:r,id:o=e.id,initialValue:a,isMandatory:l,label:u,onchange:c,onkeydown:d,onkeypress:h,onkeyup:p,onblur:f,style:g}=t,y=m(v(t,C));return s()(".input-field",{className:n,style:g},[r?s()("i.material-icons.prefix",r):"",s()(`textarea.materialize-textarea[tabindex=0][id=${o}]${y}`,{oncreate:({dom:e})=>{M.textareaAutoResize(e),t.maxLength&&M.CharacterCounter.init(e)},onchange:c?e=>{let t=e.target;c(t&&"string"==typeof t.value?t.value:"")}:void 0,value:a,onkeyup:p?e=>{p(e,e.target.value)}:void 0,onkeydown:d?e=>{d(e,e.target.value)}:void 0,onkeypress:h?e=>{h(e,e.target.value)}:void 0,onblur:f}),s()(E,{label:u,id:o,isMandatory:l,isActive:a||t.placeholder}),s()(T,{helperText:i})])}}},R=(e,t="")=>()=>{let n={id:d()},i=t=>{let n=t.value;return n&&("number"===e||"range"===e)?+n:n},r=(e,t)=>{e.setCustomValidity("boolean"==typeof t?t?"":"Custom validation failed":t)};return{view:({attrs:o})=>{let{className:a="col s12",dataError:l,dataSuccess:u,helperText:c,iconName:d,id:h=n.id,initialValue:p,isMandatory:f,label:g,maxLength:y,newRow:w,onchange:b,onkeydown:x,onkeypress:_,onkeyup:N,onblur:A,style:L,validate:I}=o,S=m(v(o,O));return s()(`.input-field${w?".clear":""}${t}`,{className:a,style:L},[d?s()("i.material-icons.prefix",d):void 0,s()(`input.validate[type=${e}][tabindex=0][id=${h}]${S}`,{oncreate:({dom:t})=>{(({autofocus:e})=>!!e&&("boolean"==typeof e?e:e()))(o)&&t.focus(),y&&M.CharacterCounter.init(t),"range"===e&&M.Range.init(t)},onkeyup:N?e=>{N(e,i(e.target))}:void 0,onkeydown:x?e=>{x(e,i(e.target))}:void 0,onkeypress:_?e=>{_(e,i(e.target))}:void 0,onblur:A,onupdate:I?({dom:e})=>{r(e,I(i(e),e))}:void 0,onchange:e=>{let t=e.target;if(t){let e=i(t);b&&b(e),I&&r(t,I(e,t))}},value:p}),s()(E,{label:g,id:h,isMandatory:f,isActive:!(void 0===p&&!o.placeholder&&"number"!==e&&"color"!==e&&"range"!==e)}),s()(T,{helperText:c,dataError:l,dataSuccess:u})])}}},P=R("text"),B=R("number"),U=R("url"),F=R("color"),Y=R("email"),H=()=>{let e,t=!1;return{view:({attrs:n})=>{let{multiple:i,disabled:r,initialValue:o,placeholder:a,onchange:l,className:u="col s12",accept:c,label:d="File"}=n,h=c?c instanceof Array?c.join(", "):c:void 0,p=h?`[accept=${h}]`:"",f=a?`[placeholder=${a}]`:"";return s()(".file-field.input-field",{className:n.class||u},[s()(".btn",[s()("span",d),s()(`input[type=file]${i?"[multiple]":""}${r?"[disabled]":""}${p}`,{onchange:l?e=>{let n=e.target;n&&n.files&&l&&(t=!0,l(n.files))}:void 0})]),s()(".file-path-wrapper",s()(`input.file-path.validate${f}[type=text]`,{oncreate:({dom:t})=>{e=t,o&&(e.value=o)}})),(t||o)&&s()("a.waves-effect.waves-teal.btn-flat",{style:"float: right;position: relative;top: -3rem; padding: 0",onclick:()=>{t=!1,e.value="",l&&l({})}},s()("i.material-icons","clear"))])}}},W=()=>({view:({attrs:{className:e="col s12",onchange:t,label:n,checked:i,disabled:r,description:o}})=>s()("div",{className:e},s()("label",[s()("input[type=checkbox][tabindex=0]",{checked:i,disabled:r,onclick:t?e=>{e.target&&void 0!==e.target.checked&&t(e.target.checked)}:void 0}),n?"string"==typeof n?s()("span",n):n:void 0]),o&&s()(T,{className:"input-checkbox-desc",helperText:o}))}),Q=()=>{let e={},t=t=>e.checkedIds.indexOf(t)>=0;return{oninit:({attrs:{initialValue:t,checkedId:n}})=>{let i=n||t;e.checkedId=n,e.checkedIds=i?i instanceof Array?[...i]:[i]:[]},view:({attrs:{label:n,id:i,options:r,checkedId:o,description:a,className:l="col s12",disabled:u,checkboxClass:c,newRow:d,isMandatory:h,onchange:p}})=>{o&&e.checkedId!==o&&(e.checkedId=o,e.checkedIds=o instanceof Array?o:[o]);let f=p?(t,n)=>{let i=e.checkedIds.filter(e=>e!==t);n&&i.push(t),e.checkedIds=i,p(i)}:void 0;return s()("div"+(d?".clear":""),{className:l},[s()("div",{className:"input-field options"},s()(E,{id:i,label:n,isMandatory:h})),s()(T,{helperText:a}),...r.map(e=>s()(W,{disabled:u||e.disabled,label:e.label,onchange:f?t=>f(e.id,t):void 0,className:e.className||c,checked:t(e.id),description:e.description}))])}}},V=()=>({oncreate:({dom:e,attrs:{options:t,onCreate:n}})=>{let i=M.Modal.init(e,t);n&&n(i)},view:({attrs:{id:e,title:t,description:n,fixedFooter:i,bottomSheet:r,buttons:o,richContent:a}})=>s()(`.modal${i?".modal-fixed-footer":""}${r?".bottom-sheet":""}[id=${e}]`,[s()(".modal-content",[s()("h4",t),a&&"string"==typeof n?s().trust(n||""):"string"==typeof n?s()("p",n):n]),o?s()(".modal-footer",o.map(e=>s()(I,y({},e,{className:"modal-close"})))):void 0])}),G=()=>({view:({attrs:{title:e,href:t,active:n,disabled:i}})=>s()("li",{className:n?"active":i?"disabled":"waves-effect"},"number"==typeof e?s()(s().route.Link,{href:t},e):e)}),K=()=>{let e={pagIndex:0};return{view:({attrs:{items:t,curPage:n=1,size:i=Math.min(9,t.length)}})=>{let{pagIndex:r}=e,o=r*i,a=o+i,l=r>0,u=a l&&e.pagIndex--},s()("i.material-icons","chevron_left")),disabled:!l},...t.filter((e,t)=>o<=t&&tu&&e.pagIndex++},s()("i.material-icons","chevron_right")),disabled:!u}];return s()("ul.pagination",c.map((e,t)=>s()(G,y({title:o+t},e,{active:o+t===n}))))}}},q=["label","helperText","initialValue","newRow","className","iconName","isMandatory","onchange","disabled"],Z=["label","helperText","initialValue","newRow","className","iconName","isMandatory","onchange","disabled"],X=()=>{let e={id:d()};return{view:t=>{let{attrs:{label:n,helperText:i,initialValue:r,newRow:o,className:a="col s12",iconName:l,isMandatory:u,onchange:c,disabled:d}}=t,h=v(t.attrs,q),p=e.id,f=m(h),g=c?()=>e.dp&&c(e.dp.date):void 0;return s()(".input-field"+(o?".clear":""),{className:a,onremove:()=>e.dp&&e.dp.destroy()},[l?s()("i.material-icons.prefix",l):"",s()(`input.datepicker[type=text][tabindex=0][id=${p}]${f}${d?"[disabled]":""}`,{oncreate:({dom:t})=>{e.dp=M.Datepicker.init(t,y({format:"yyyy/mm/dd",showClearBtn:!0,setDefaultDate:!0,defaultDate:r?new Date(r):new Date},h,{onClose:g}))}}),s()(E,{label:n,id:p,isMandatory:u,isActive:!!r}),s()(T,{helperText:i})])}}},J=()=>{let e={id:d()};return{view:t=>{let{attrs:{label:n,helperText:i,initialValue:r,newRow:o,className:a="col s12",iconName:l,isMandatory:u,onchange:c,disabled:d}}=t,h=v(t.attrs,Z),p=e.id,f=m(h),g=new Date,w=c?()=>e.tp&&c(e.tp.time||r||`${g.getHours()}:${g.getMinutes()}`):void 0;return s()(`.input-field.timepicker${o?".clear":""}`,{className:a,onremove:()=>e.tp&&e.tp.destroy()},[l?s()("i.material-icons.prefix",l):"",s()(`input[type=text][tabindex=0][id=${p}]${f}${d?"[disabled]":""}`,{value:r,oncreate:({dom:t})=>{e.tp=M.Timepicker.init(t,y({twelveHour:!1,showClearBtn:!0,defaultTime:r},h,{onCloseEnd:w}))}}),s()(E,{label:n,id:p,isMandatory:u,isActive:r}),s()(T,{helperText:i})])}}},ee=()=>({view:({attrs:{id:e,groupId:t,label:n,onchange:i,className:r="col s12",checked:o,disabled:a}})=>s()("div",{className:r},s()("label",[s()(`input[type=radio][tabindex=0][name=${t}]${o?"[checked=checked]":""}${a?"[disabled]":""}`,{onclick:i?()=>i(e):void 0}),s()("span",s().trust(n))]))}),et=()=>{let e={groupId:d()};return{oninit:({attrs:{checkedId:t,initialValue:n}})=>{e.oldCheckedId=t,e.checkedId=t||n},view:({attrs:{id:t,checkedId:n,newRow:i,className:r="col s12",label:o="",disabled:a,description:l,options:u,isMandatory:c,checkboxClass:d,onchange:h}})=>{e.oldCheckedId!==n&&(e.oldCheckedId=e.checkedId=n);let{groupId:p,checkedId:f}=e,m=t=>{e.checkedId=t,h&&h(t)};return i&&(r+=" clear"),s()("div",{id:t,className:r},[s()("div",{className:"input-field options"},s()(E,{id:t,label:o,isMandatory:c})),l?s()("p.helper-text",s().trust(l)):"",...u.map(e=>s()(ee,y({},e,{onchange:m,groupId:p,disabled:a,className:d,checked:e.id===f})))])}}},en=()=>{let e={},t=e=>e.map(e=>e.id).join(""),n=(e,t,n=!1)=>n||(t instanceof Array&&(e||"number"==typeof e)?t.indexOf(e)>=0:t===e);return{oninit:({attrs:{checkedId:n,initialValue:i,options:r}})=>{e.ids=t(r);let o=n||i;e.checkedId=n instanceof Array?[...n]:n,e.initialValue=null!=o?o instanceof Array?o.filter(e=>null!=e):[o]:[]},view:({attrs:{id:i,newRow:r,className:o="col s12",checkedId:a,key:l,options:u,multiple:c,label:d,helperText:h,placeholder:p="",isMandatory:f,iconName:m,disabled:y,classes:v="",dropdownOptions:w,onchange:b}})=>{e.checkedId!==a&&(e.initialValue=a?a instanceof Array?a:[a]:void 0);let{initialValue:x}=e,_=b?c?()=>{let t=e.instance&&e.instance.getSelectedValues(),n=t?t.length>0&&g(t[0])?t.map(e=>+e):t.filter(e=>null!==e||void 0!==e):void 0;e.initialValue=n||[],b(e.initialValue)}:t=>{if(t&&t.currentTarget){let n=t.currentTarget,i=g(n.value)?+n.value:n.value;e.initialValue=[i]}e.initialValue&&b(e.initialValue)}:void 0;r&&(o+=" clear");let N=!u.some(e=>n(e.id,x)),A=u.reduce((e,t)=>(t.group&&0>e.indexOf(t.group)&&e.push(t.group),e),[]);return s()(".input-field.select-space",{className:o,key:l,oncreate:c?({dom:t})=>e.wrapper=t:void 0},[m&&s()("i.material-icons.prefix",m),s()("select",{id:i,title:d,disabled:y,multiple:c,oncreate:({dom:t})=>{e.instance=M.FormSelect.init(t,{classes:v,dropdownOptions:w})},onupdate:({dom:n})=>{if(c){let t=m?1:0;!e.inputEl&&e.wrapper&&e.wrapper.childNodes&&e.wrapper.childNodes.length>0&&e.wrapper.childNodes[t].childNodes&&e.wrapper.childNodes[t].childNodes[0]&&(e.inputEl=e.wrapper.childNodes[t].childNodes[0]),e.inputEl&&e.inputEl.value&&e.inputEl.value.startsWith(`${p}, `)&&(e.inputEl.value=e.inputEl.value.replace(`${p}, `,""))}let i=t(u),r=a&&e.checkedId!==a.toString();e.ids!==i&&(e.ids=i,r=!0),(e.checkedId instanceof Array&&a instanceof Array?e.checkedId.join()!==a.join():e.checkedId!==a)&&(e.checkedId=a,r=!0),r&&(e.instance=M.FormSelect.init(n,{classes:v,dropdownOptions:w}))},onchange:_},s()("option",{value:"",disabled:!0,selected:!!N||void 0},p),0===A.length?u.map((e,t)=>{var i;return s()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,x,0===t&&N&&!p)},null==(i=e.label)?void 0:i.replace("&","&"))}):A.map(e=>s()("optgroup",{label:e},u.filter(t=>t.group===e).map((e,t)=>{var i;return s()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,x,0===t&&N&&!p)},null==(i=e.label)?void 0:i.replace("&","&"))})))),s()(E,{label:d,isMandatory:f}),h&&s()(T,{helperText:h})])}}},ei=["label","left","right","disabled","newRow","onchange","checked","isMandatory","className"],er=()=>{let e={id:d()};return{view:({attrs:t})=>{let n=t.id||e.id,{label:i,left:r,right:o,disabled:a,newRow:l,onchange:u,checked:c,isMandatory:d,className:h="col s12"}=t,p=v(t,ei);return s()("div"+(l?".clear":""),{className:h},[i?s()(E,{label:i||"",id:n,isMandatory:d}):void 0,s()(".switch",p,s()("label",[r||"Off",s()(`input[id=${n}][type=checkbox]${f({disabled:a})}${c?"[checked]":""}`,{onclick:u?e=>{e.target&&void 0!==e.target.checked&&u(e.target.checked)}:void 0}),s()("span.lever"),o||"On"]))])}}},eo=()=>{let e={},t=(e,t)=>t||e.replace(/ /g,"").toLowerCase();return{view:({attrs:{tabWidth:n,selectedTabId:i,tabs:r,className:o,style:a,duration:l,onShow:u,swipeable:c,responsiveThreshold:d}})=>{let h=r.filter(e=>e.active).shift(),p=i||(h?t(h.title,h.id):"");return s()(".row",[s()(".col.s12",s()("ul.tabs"+("fill"===n?".tabs-fixed-width":""),{className:o,style:a,oncreate:({dom:t})=>{e.instance=M.Tabs.init(t,{duration:l,onShow:u,responsiveThreshold:d,swipeable:c})},onupdate:()=>{if(p){let e=document.getElementById(`tab_${p}`);e&&e.click()}},onremove:()=>e.instance.destroy()},r.map(({className:e,title:i,id:o,active:a,disabled:l,target:u,href:c})=>s()(`li.tab${l?".disabled":""}${"fixed"===n?`.col.s${Math.floor(12/r.length)}`:""}`,{className:e},s()(`a[id=tab_${t(i,o)}]${a?".active":""}`,{target:u,href:c||`#${t(i,o)}`},i))))),r.filter(({href:e})=>void 0===e).map(({id:e,title:n,vnode:i,contentClass:r})=>s()(`.col.s12[id=${t(n,e)}]`,{className:r},i))])}}},es=e=>e.charAt(0).toUpperCase()+e.slice(1),ea=(e,t=2,n="0")=>e.toString().length>=t?e.toString():ea(n+e,t,n),el=e=>e?`${ea(e.getHours())}:${ea(e.getMinutes())}`:"00:00",eu=(e,t)=>{let n=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),i={...e};for(let t=0,r=n.length;t e[o]===t).shift();if(!s)return;i=s}}}return i},ec=e=>e.reduce((e,t)=>t instanceof Array?[...e,...t]:[...e,t],[]),ed=/([^ =><]*)\s*([=><]*)\s*(\S*)/i,eh=/^\s*!\s*/,ep=/===?|[^<>=]/i,ef=function(e){var t=[].slice.call(arguments,1);return 0===e.length||(e instanceof Array?e:[e]).some(e=>{let n,i;return n=e,i=ep.test(e)?[t[0]]:ec(t),n.split("&").reduce((e,t)=>{let n=eh.test(t),r=n?t.replace(eh,""):t;return e=e&&i.filter(Boolean).reduce((e,t)=>e||((e,t)=>{if(!t||0===Object.keys(t).length)return!1;let n=ed.exec(e);if(n){let[e,i,r,o]=n,s=eu(t,i.trim());if(void 0===s||"string"==typeof s&&0===s.length)return!1;if(!r||!o)return!0;{let t=isNaN(+o)?"true"===o||"false"!==o&&o:+o;switch(r){case"=":case"==":case"===":return s instanceof Array?s.indexOf(t)>=0:s===t;case"<=":return s<=t;case">=":return s>=t;case"<":return s ":return s>t;default:return console.error(`Unrecognized operand (${r}) in expression: ${e}`),!1}}}return!0})(r.trim(),t),!1),n?!e:e},!0)})},em=(e,t)=>eu(t.filter(Boolean).reduceRight((e,t)=>({...t,...e})),e.trim()),eg=(e,t)=>void 0!==em(e,t),ey=/{{\s*([^\s"'`:]*):?([^\s]*)\s*}}/g,ev=function(e){let t;if(!ey.test(e))return!0;ey.lastIndex=0;let n=!0;do(t=ey.exec(e))&&(t.index===ey.lastIndex&&ey.lastIndex++,t.forEach((e,t,[,i])=>{n=n&&eg(i,[].slice.call(arguments,1))}));while(n&&null!==t);return n},ew=(e,t)=>{if(void 0===e)return"";if(e instanceof Array)return e.map(e=>ew(e,t)).join(", ");if(!t)return e.toString();if("boolean"==typeof e){let n=t.indexOf(":");return e?t.substring(0,n):t.substring(n+1)}switch(t){default:return e.toString();case"date":return new Date(e).toLocaleDateString();case"time":return new Date(e).toLocaleTimeString();case"iso":return new Date(e).toISOString();case"utc":return new Date(e).toUTCString()}},eb=function(e){let t;if(!ey.test(e))return e;ey.lastIndex=0;do(t=ey.exec(e))&&(t.index===ey.lastIndex&&ey.lastIndex++,t.forEach((t,n,[i,r,o])=>{let s=em(r,[].slice.call(arguments,1));!s||s instanceof Array||(e=e.replace(i,ew(s,o)))}));while(null!==t);return e},eM=e=>{if(null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof Array){let t=[];return e.forEach(e=>{t.push(e)}),t.map(e=>eM(e))}if("object"==typeof e){let t={...e};return Object.keys(t).forEach(e=>{t[e]=eM(t[e])}),t}return e},eE=(e="")=>e.replace(/\s|,|\./g,"").toLowerCase(),eT=(e,t,n=1)=>{let i=[];for(let r=e;r<=t;r+=n)i.push(r);return i},ex=e=>{"string"!=typeof e&&(e=JSON.stringify(e));let t=0;if(0===e.length)return t;for(var n=0;n {let i=Object.assign({},t,n);return`${e}?${Object.keys(i).map(e=>`${e}=${i[e]}`).join("&")}`},eN=()=>({view:({attrs:{md:e="",removeParagraphs:t=!1,externalLinks:n=!1,...i}})=>s()(".slimdown-view.markdown",i,s().trust(c(e,t,n)))}),eA=()=>({view:({attrs:{type:e,props:t,label:n="",initialValue:i,inline:r=!1}})=>{let o={className:t.className||"col s12"};if(i instanceof Array&&i.length>3)return s()(".readonly",o,[s()("label",n),s()(eN,{md:"\n- "+i.join("\n- ")})]);if("string"==typeof i)return s()(".readonly",o,"url"===e?[s()("label",`${n.trim()}: `),s()("a[target=_blank]",{href:i},i)]:"color"===e?[s()("label",`${n.trim()}: `),s()(".color",{style:`height: 1rem; width: 40px; border-radius: 4px; background-color: ${i}`})]:[s()("label",n),s()(eN,{md:i})]);let a=i instanceof Array?i.join(", "):i;return s()(".readonly",o,[n&&s()("label",n),r?s()("span",a?`: ${a}`:s().trust(" ")):s()("p",a||s().trust(" "))])}}),eL=()=>{let e;let t={},n=(e,n)=>{let i=e instanceof Array?e.length:e.hasOwnProperty(n)?e[n].length:0,r=t.onNewItem?t.onNewItem(e,n,i):{};e instanceof Array?e.push(r):e.hasOwnProperty(n)?e[n].push(r):e[n]=[r]},i=e=>{e.preventDefault()};return{oninit:({attrs:{i18n:n={},field:{id:i="",sortProperty:r,onNewItem:o}}})=>{t.editLabel=n.editRepeat||`Edit ${String(i)}`,t.createLabel=n.createRepeat||`Create new ${String(i)}`,t.onNewItem=o,e=(e=>{if(!e)return(e,t)=>0;let t="!"===e[0],n=t?e.substring(1):e;return t?(e,t)=>e[n]>t[n]?-1:e[n] e[n]>t[n]?1:e[n] {let m,g;let{filterValue:y}=t,{id:v,label:w,type:b,min:E,max:T,pageSize:x,propertyFilter:_,filterLabel:N,readonly:A=h,repeatItemClass:L=""}=r,D=(m=o,g=v,m instanceof Array?m:(m.hasOwnProperty(g)||(m[g]=[]),m[g])),k=y?eE(y):void 0,j=_&&k&&k.length>2?D.filter(e=>eE(`${e[_]}`).indexOf(k)>=0):D,C=(e=>{let t=window.location.hash.split("?")[1];return t?new URLSearchParams(t).get(e):null})(String(v)),O=C?Math.min(j.length,+C):1,z=x&&j&&(O-1)*x =T),F=!d&&!A&&(!E||j.length>E),Y=R?R.split("?")[0]:"",H=(e=>{let t=e?e.split("?")[1]:window.location.search.slice(1),n={};if(t){let e=t.split("&");for(var i=0;i {n(o,String(v)),v&&s().route.set(Y,Object.assign(H,{[v]:j.length})),f&&f(o)},style:{padding:0},className:"left",disabled:d||U,readonly:A}),B>1&&s()(".right",s()(K,{curPage:z,items:eT(1,B).map(e=>({href:e_(Y,H,{[v]:e})}))})),(j.length>1||y)&&_&&!d&&s()(P,{style:"margin-top: -6px; margin-bottom: -1rem;",iconName:"filter_list",iconClass:"small",placeholder:N,onkeyup:(e,n)=>t.filterValue=n,className:"right",disabled:d,readonly:A})])),j&&j.length>0&&"string"!=typeof b&&j.sort(e).filter(x?(e,t)=>(z-1)*x<=t&&t !0).map((e,n)=>s()(".mui-repeat-item",{key:n,draggable:Q,ondragstart:Q?e=>{var t,i;return t=e,i=n,void t.dataTransfer?.setData("text/plain",i.toString())}:void 0,ondragover:Q?i:void 0,ondrop:Q?e=>((e,t,n,i,r)=>{let o=parseInt(e.dataTransfer?.getData("text")||"0",10),s=[...n[i]],[a]=s.splice(o,1);s.splice(t,0,a),n[i]=s,r&&r(n),e.preventDefault()})(e,n,o,v,f):void 0,style:{display:"flex",cursor:Q?"move":void 0}},[F&&[(!x||x>1)&&s()("span.mui-show-item-number left",{style:`flex: 0 0 ${W}px;`},`[${(x?(z-1)*x+n:n)+1}]`)],[s()(".row.repeat-item",{className:L,key:O+ex(e),style:"flex: 1;"},[b&&s()(eC,{form:b,obj:e,i18n:p,context:a instanceof Array?[o,...a]:[o,a],section:u,containerId:c,disabled:d,readonly:A,onchange:()=>f&&f(o)})])],F&&[s()(I,{iconName:"delete",className:"mui-delete-item",iconClass:"mui-delete-icon",style:{flex:"0 0 20px",padding:0},disabled:d,readonly:A,onclick:()=>{t.curItemIdx=x?(z-1)*x+n:n}})]])),!(d||U||A||!j||0===j.length||1===x)&&s()(S,{iconName:"add",className:"row mui-add-new-item btn-small right",title:w,style:"padding: 0; margin-top: -10px; margin-right: -25px",onclick:()=>{n(o,String(v)),s().route.set(Y,Object.assign(H,{[v]:j.length})),f&&f(o)}})])],void 0!==t.curItemIdx&&s()(V,{id:"deleteItem",onCreate:e=>e.open(),options:{onCloseStart:()=>{t.curItemIdx=void 0,s().redraw()}},fixedFooter:!0,title:p.deleteItem||"Delete item",description:s()(eC,{form:b,obj:j[t.curItemIdx],context:a instanceof Array?[o,...a]:[o,a],section:u,containerId:c,readonly:!0,i18n:p}),buttons:[{label:p.disagree||"Disagree"},{label:p.agree||"Agree",onclick:()=>{void 0!==t.curItemIdx&&(j.splice(t.curItemIdx,1),o instanceof Array?o=[...j]:o[v]=[...j],f&&f(o))}}]})]}}},eI=()=>{let e={};return{oninit:({attrs:{i18n:t={}}})=>{let{raw:n="RAW",view:i="VIEW"}=t;e.raw=n,e.view=i},view:({attrs:{field:{id:t="",type:n,onSelect:i},obj:r,context:o,containerId:a,disabled:l,readonly:u,i18n:c,onchange:d}})=>{if(r instanceof Array)return;let h=r[t],p=h?JSON.parse(h):void 0,f=p&&p.features||[],m=[],g={title:e.raw,vnode:s()(z,{class:"col s12",initialValue:p?JSON.stringify(p,null,2):void 0,placeholder:"Enter GeoJSON",onchange:e=>r[t]=e})};if(!n||"string"==typeof n)return;let y=n.length>0?n[0].id:void 0,v={title:e.view,vnode:f.length?s()(j,{oncreate:({dom:t})=>e.dom=t,onOpenStart:i?t=>{let n=e.dom.children||[];for(let e=0;e (e.properties||(e.properties={}),{id:"erik_"+i,key:i,header:y&&e.properties[y]||e.geometry.type,body:s()(".row",s()(eC,{class:"col s12",form:n,obj:e.properties,i18n:c,context:o instanceof Array?[r,...o]:[r,o],containerId:a,disabled:l,readonly:u,onchange:(e,n)=>{n&&(f[i].properties=n),r[t]=JSON.stringify(p,null,2),d&&d(r)}}))}))}):s()("span","...")};return m.push(v),m.push(g),s()(eo,{tabs:m,tabWidth:"fill"})}}},eS={},eD={},ek=(e,t,n)=>{eS[e]=t,n&&(eD[e]=n)},ej=((e={},t={})=>()=>{let n={key:Date.now()};return{view:({attrs:{i18n:i,field:r,obj:o,autofocus:a,onchange:l,context:u=[],containerId:h,disabled:p,readonly:f}})=>{let{id:m="",type:g,disabled:y=p,readonly:v=f,value:w,required:b,autogenerate:E,show:T,label:_,description:N,i18n:A=i||{},checkAllOptions:L,transform:S,effect:k,onkeyup:j,onkeydown:C,onblur:O}=r;if(T&&!ef(T,o,u)||_&&!ev(_,o,u)||N&&!ev(N,o,u))return;let R="string"==typeof r.options?em(r.options,[o,...u]):r.options,V=R&&R instanceof Array?R.filter(e=>void 0!==e.id&&(e.label||isNaN(Number(e.id)))&&(!e.show||ef(e.show,o,u))).map(e=>e.label?e:{...e,label:es(e.id)}):[],G="boolean"==typeof p&&p,K=((e,t=!1,n=!1)=>{let{id:i="",label:r,description:o,required:s,multiple:a,className:l,checkboxClass:u,icon:h,iconClass:p,placeholder:f,maxLength:m,minLength:g,max:y,min:v,step:w,dateTimeOutput:b,dateTimeSeconds:E,dateFormat:T,twelveHour:x}=e,_={id:`mui_${String(i)}-${d()}`,label:r};return void 0===r&&i&&(_.label=es(String(i))),o&&(_.helperText=c(o,!0)),l&&(_.className=l),h&&(_.iconName=h),p&&(_.iconClass=p),u&&(_.checkboxClass=u),f&&(_.placeholder=f),s&&(_.isMandatory=!0),a&&(_.multiple=a),n&&(_.disabled=!0),t&&(_.autofocus=!0),void 0!==m&&(_.maxLength=m),void 0!==g&&(_.minLength=g),void 0!==y&&(_.max=y),void 0!==v&&(_.min=v),void 0!==w&&(_.step=w),b&&(_.dateTimeOutput=b),E&&(_.dateTimeSeconds=E),T&&(_.dateFormat=T),x&&(_.twelveHour=x),_})(r,a,"boolean"==typeof y||void 0===y?G||y:G||ef(y,o,u));_&&(K.label=c(eb(K.label||_,o,u),!0)),N&&(K.description=c(eb(K.description||N,o,u),!0));let q=b?e=>!(e instanceof Array)||e&&e.length>0:void 0;if(o instanceof Array)return void console.warn("Only a repeat list can deal with arrays!");let Z=function(e){try{return void 0===e||"undefined"===e?(delete o[m],l(o),Promise.resolve()):(o[m]=S?S("to",e):e,k?Promise.resolve(k(o,o[m],u)).then(function(e){l(void 0!==e?e:o)}):Promise.resolve(l(o)))}catch(e){return Promise.reject(e)}};if(g instanceof Array)return m?(o.hasOwnProperty(m)||(o[m]={}),s()(".muf-form",{className:r.className},[s()(".muf-form-header",s().trust(c(K.label||es(String(m)),!0))),K.description&&s()("div",s().trust(c(K.description))),s()(".row",s()(eC,{...K,i18n:A,readonly:v,form:g,obj:o[m],context:u instanceof Array?[o,...u]:[o,u],onchange:()=>l&&l(o),containerId:h}))])):void console.warn("Missing ID for type "+JSON.stringify(g));E&&!o[m]&&(o[m]="guid"===E?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}):"id"===E?d():Date.now());let ee=o.hasOwnProperty(m)&&void 0!==o[m]?S?S("from",o[m]):o[m]:w;m&&void 0!==w&&void 0!==ee&&(o[m]=S?S("to",ee):ee);let[ei,eo]=L?L.split("|"):["",""];if(v&&g&&0>["md","none"].indexOf(g)){if(t.hasOwnProperty(g))return s()(t[g],{iv:ee,field:r,props:K,label:K.label,obj:o,context:u});if(g&&e.hasOwnProperty(g))return s()(e[g],{iv:ee,field:r,props:K,label:K.label,onchange:Z,obj:o,context:u});switch(g){case"time":{let e=A.dateTimeOptions?{hour:"2-digit",minute:"2-digit",second:void 0,...A.dateTimeOptions,weekday:void 0,month:void 0,day:void 0,year:void 0}:void 0,t="number"==typeof ee||"string"==typeof ee||ee instanceof Date?new Date(ee):void 0,n=t?t.toLocaleTimeString(A.locales,e):"";return s()(eA,{props:K,label:K.label,initialValue:n})}case"date":{let e=A.dateTimeOptions?{...A.dateTimeOptions,hour:void 0,hour12:void 0,minute:void 0,second:void 0}:void 0,t="number"==typeof ee||"string"==typeof ee||ee instanceof Date?new Date(ee):void 0,n=t?t.toLocaleDateString(A.locales,e):"";return s()(eA,{props:K,label:K.label,initialValue:n})}case"datetime":{let e=A.dateTimeOptions?{hour:"2-digit",minute:"2-digit",month:"numeric",day:"numeric",...A.dateTimeOptions}:void 0,t="number"==typeof ee||"string"==typeof ee||ee instanceof Date?new Date(ee):void 0,n=t?t.toLocaleTimeString(A.locales,e):"";return s()(eA,{props:K,label:K.label,initialValue:n})}case"switch":case"checkbox":return s()(eA,{props:K,label:K.label,initialValue:ee?"✔":"✘",inline:!0});case"tags":return s()(eA,{props:K,label:K.label,initialValue:ee||[]});case"options":case"select":{let e=void 0!==ee?ee instanceof Array?ee:[ee]:[],t=V.filter(t=>e.indexOf(t.id)>=0),n=t&&0===t.length?"?":1===t.length?t[0].label:t.map(e=>e.label);return s()(eA,{props:K,label:K.label,initialValue:n})}case"radio":{let e=V.filter(e=>e.id===ee);return s()(eA,{props:K,label:K.label,initialValue:e&&e.length?e[0].label:"?"})}case"base64":return!(!ee||!/data:image/i.test(ee))&&s()("div",s()("img.responsive-img",{src:ee,alt:o.title||o.alt||o.name||"",style:`max-height: ${r.max||50}px`}));case"file":return s()("div",K,(ee instanceof Array?ee:[ee]).map((e="")=>{let t=/data:image|.jpg$|.jpeg$|.png$|.gif$|.svg$|.bmp$|.tif$|.tiff$/i.test(e),n=`${new URL(r.url).origin}${e}`;return s()("a[target=_blank]",{href:n},t?s()("img",{src:n,alt:n,style:`max-height: ${r.max||50}`}):s()(eA,{props:K,label:r.placeholder||"File",initialValue:e}))}));case"md":case"markdown":{let e="string"==typeof ee&&ee?c(ee):"";return s()(eA,{props:K,label:K.label,initialValue:e})}default:return s()(eA,{props:K,type:g,label:K.label,initialValue:ee})}}else{if(g&&e.hasOwnProperty(g))return s()(e[g],{iv:ee,field:r,props:K,label:K.label,onchange:Z,obj:o,context:u});switch(g){case"colour":case"color":return s()(F,{...K,initialValue:ee,onchange:Z,onblur:O});case"time":{let{twelveHour:e=!1}=K,t=ee?"number"==typeof ee||"string"==typeof ee?new Date(ee):ee:new Date,n=el(t);return o[m]=S?S("to",t):t,s()(J,{...K,twelveHour:e,initialValue:n,onchange:e=>{let n=e.split(":").map(e=>+e);t.setHours(n[0],n[1]),Z(t)},container:h})}case"date":{let{format:e="mmmm d, yyyy"}=K,t="number"==typeof ee||"string"==typeof ee?new Date(ee):ee;o[m]=t?S?S("to",t.valueOf()):t.valueOf():t;let{min:n,max:i}=K,r=n?!t||n t.valueOf()?new Date(i):t:void 0;return s()(X,{...K,minDate:r,maxDate:a,setDefaultDate:!!t,format:e,initialValue:t,onchange:e=>{Z(new Date(e))},container:h})}case"datetime":{let{label:e,className:t="col s12",dateTimeSeconds:n=!1,twelveHour:i=!1,format:r="mmmm d, yyyy",...o}=K,a="number"==typeof ee||"string"==typeof ee?new Date(ee):ee,l={initialDateTime:a},u=a||void 0,c=a?el(a):"",{min:d,max:p}=K,f=d?!a||d a.valueOf()?new Date(p):a:void 0,g=K.dateTimeOutput||"UTC",y=e=>{l.initialDateTime=e,Z("UTC"===g?e.toUTCString():"ISO"===g?e.toISOString():e.valueOf())};return s()("div",{className:t},s()(".row",[s()(n?".col.s6":".col.s8",{style:"padding: 0"},s()(X,{...o,label:e,minDate:f,maxDate:m,setDefaultDate:!!a,format:r,initialValue:u,container:h,onchange:e=>{let t=new Date(l.initialDateTime);t.setFullYear(e.getFullYear()),t.setMonth(e.getMonth()),t.setDate(e.getDate()),y(t)}})),s()(".col.s4",{style:"min-width: 6rem; padding-right: 0; padding-left: 0"},s()(J,{...o,label:"",helperText:"",twelveHour:i,initialValue:c,container:h,onchange:e=>{let t=e.split(":").map(e=>+e),n=l.initialDateTime||new Date((new Date).setSeconds(0,0));n.setHours(t[0],t[1]),y(n)}})),n&&s()(B,{style:"min-width: 4rem; padding-right: 0; padding-left: 0",className:"col s2",min:0,max:59,onchange:e=>{let t=l.initialDateTime||new Date((new Date).setSeconds(0,0));t.setSeconds(e,0),y(t)}})]))}case"email":return s()(Y,{...K,validate:q,autofocus:a,onchange:Z,initialValue:ee,onkeydown:C,onkeyup:j,onblur:O});case"number":return s()(B,{...K,validate:q,autofocus:a,onchange:Z,initialValue:ee,onkeydown:C,onkeyup:j,onblur:O});case"radio":return s()(et,{label:"",...K,options:V,checkedId:ee,onchange:Z});case"checkbox":return s()(W,{...K,checked:ee,onchange:Z});case"options":return[[s()(Q,{key:n.key,checkboxClass:"col s6 m4 l3",className:"input-field col s12",...K,disabled:K.disabled||!V||0===V.length,options:V,checkedId:ee,onchange:e=>Z(1===e.length?e[0]:e.filter(e=>null!==e))})],void 0!==L&&s()(".col.s12.option-buttons",[s()(I,{disabled:K.disabled,label:ei,iconName:"check",onclick:()=>{n.key=Date.now(),Z(V.map(e=>e.id))}}),eo&&s()(I,{disabled:K.disabled,label:eo,iconName:"check_box_outline_blank",onclick:()=>{let e=o[m]||[];e.length=0,n.key=Date.now(),Z(e)}})])];case"select":return s()(en,{placeholder:K.multiple?A.pickOneOrMore||"Pick one or more":A.pickOne||"Pick one",...K,disabled:K.disabled||!V||0===V.length,options:V,initialValue:ee,onchange:e=>Z(1!==e.length||K.multiple?e.filter(e=>null!==e||void 0!==e):e[0])});case"markdown":case"md":{let{label:e,className:t="col s12"}=K,n=eb((m?ee:w||e)||"",o,u);return s()(eN,{md:n,className:t})}case"section":return s()(".divider");case"switch":{let e=V&&V.length>0?V[0].label:"",t=V&&V.length>1?V[1].label:"";return s()(er,{...K,left:e,right:t,checked:ee,onchange:Z})}case"tags":{let e=(ee?ee instanceof Array?ee:[ee]:[]).map(e=>({tag:e})),t=V&&V.length>0?{data:V.reduce((e,t)=>(e[t.id]=null,e),{}),limit:r.maxLength||1/0,minLength:r.minLength||1}:{},{label:n,isMandatory:i,className:o,helperText:a}=K;return s()(D,{className:o,label:n,isMandatory:i,helperText:a,onchange:e=>Z(e.map(e=>e.tag)),placeholder:r.placeholder||"Add a tag",secondaryPlaceholder:r.secondaryPlaceholder||"+tag",data:e,autocompleteOptions:t,onblur:O})}case"autocomplete":{let e=V&&V.length>0?{data:V.reduce((e,t)=>(e[t.id]=null,e),{}),limit:r.maxLength||1/0,minLength:r.minLength||1}:{data:{}},{label:t,isMandatory:n,className:i,helperText:o}=K;return s()(x,{initialValue:ee,className:i,label:t,isMandatory:n,helperText:o,onchange:Z,onblur:O,placeholder:r.placeholder||"...",...e})}case"textarea":return s()(z,{...K,validate:q,autofocus:a,onchange:Z,initialValue:ee,onkeyup:j,onkeydown:C,onblur:O});case"file":{let{url:e,placeholder:t}=r;if(!e)throw Error('Input field "url" not defined, which indicates the URL to the upload folder.');let n=V?V.map(e=>e.id):void 0;return s()(H,{...K,accept:n,placeholder:t,onchange:t=>{if(!t||t.length<1)return void Z("");let n=new FormData;n.append("file",t[0]),s().request({method:"POST",url:e,body:n}).then(e=>Z(e)).catch(console.error)},initialValue:ee})}case"base64":{let e=!(!ee||!/data:image/i.test(ee)),{placeholder:t}=r,n=V?V.map(e=>e.id).join(","):void 0;return e?s()("div",[s()("img.responsive-img",{src:ee,alt:o.title||o.alt||o.name||"",style:`max-height: ${r.max||50}px`}),s()(I,{iconName:"clear",onclick:()=>Z("")})]):s()(H,{...K,accept:n,placeholder:t,onchange:e=>{if(!e||e.length<1)return void Z("");let t=new FileReader;t.onloadend=()=>{"string"==typeof t.result&&Z(t.result),s().redraw()},t.readAsDataURL(e[0])},initialValue:ee})}case"url":return s()(U,{placeholder:"http(s)://www.example.com",...K,validate:q,autofocus:a,onchange:Z,initialValue:ee,onkeydown:C,onkeyup:j,onblur:O});case"text":return s()(P,{...K,validate:q,autofocus:a,onchange:Z,initialValue:ee,onkeydown:C,onkeyup:j,onblur:O});default:return}}}}})(eS,eD),eC=()=>({view:({attrs:{i18n:e,form:t,obj:n,onchange:i,disabled:r,readonly:o,context:a,section:l}})=>{let u=e=>{let n;return i&&i((n=e,t.filter(e=>e.required&&(e.id,!0)).reduce((e,t)=>e&&!(t.id&&(void 0===n[t.id]||n[t.id]instanceof Array&&0===n[t.id].length||"string"==typeof n[t.id]&&0===n[t.id].length)),!0)),e)};return t.filter((e=>{if(!e)return e=>!0;let t=!1;return({type:n,id:i})=>"section"===n?(t=i===e,!1):t})(l)).filter(e=>!e.show||ef(e.show,n,...a||[])).reduce((t,i)=>(i.type||(i.type=(e=>{let{autogenerate:t,value:n,options:i}=e;return t?"none":n?"string"==typeof n?"md":"number"==typeof n?"number":"boolean"==typeof n?"checkbox":"none":i&&i.length>0?"select":"none"})(i)),[...t,void 0===i.repeat||!1===i.repeat?s()(ej,{i18n:e,field:i,obj:n,onchange:u,disabled:r,readonly:o,context:a,section:l,containerId:"body"}):s()("geojson"===i.repeat?eI:eL,{obj:n,field:i,onchange:u,context:a,i18n:e,containerId:"body",disabled:r,readonly:o})]),[])}})},9426:function(e,t,n){"use strict";var i=n(5371);e.exports=function(e,t,n){var r=[],o=!1,s=-1;function a(){for(s=0;s =0&&(r.splice(o,2),o<=s&&(s-=2),e(t,[])),null!=n&&(r.push(t,n),e(t,i(n),l))},redraw:l}}},5022:function(e,t,n){"use strict";var i=n(5371),r=n(3174),o=n(5886),s=n(7802),a=n(2574),l=n(2703),u={};function c(e){try{return decodeURIComponent(e)}catch(t){return e}}e.exports=function(e,t){var n=null==e?null:"function"==typeof e.setImmediate?e.setImmediate:e.setTimeout,d=Promise.resolve(),h=!1,p=!1,f=0,m,g,y,v,w,b,E=u,T={onbeforeupdate:function(){return!(!(f=f?2:1)||u===E)},onremove:function(){e.removeEventListener("popstate",N,!1),e.removeEventListener("hashchange",_,!1)},view:function(){if(f&&u!==E){var e=[i(y,v.key,v)];return E&&(e=E.render(e[0])),e}}},x=L.SKIP={};function _(){h=!1;var n=e.location.hash;"#"!==L.prefix[0]&&(n=e.location.search+n,"?"!==L.prefix[0]&&"/"!==(n=e.location.pathname+n)[0]&&(n="/"+n));var i=n.concat().replace(/(?:%[a-f89][a-f0-9])+/gim,c).slice(L.prefix.length),r=s(i);function o(e){console.error(e),A(g,null,{replace:!0})}Object.assign(r.params,e.history.state),function e(n){for(;n =0&&(f+=e.slice(n,o)),c>=0&&(f+=(n<0?"?":"&")+u.slice(c,h));var m=i(l);return m&&(f+=(n<0&&c<0?"?":"&")+m),r>=0&&(f+=e.slice(r)),d>=0&&(f+=(r<0?"":"&")+u.slice(d)),f}},2574:function(e,t,n){"use strict";var i=n(7802);e.exports=function(e){var t=i(e),n=Object.keys(t.params),r=[],o=RegExp("^"+t.path.replace(/:([^\/.-]+)(\.{3}|\.(?!\.)|-)?|[\\^$*+.()|\[\]{}]/g,function(e,t,n){return null==t?"\\"+e:(r.push({k:t,r:"..."===n}),"..."===n)?"(.*)":"."===n?"([^/]+)\\.":"([^/]+)"+(n||"")})+"$");return function(e){for(var i=0;i -1&&u.pop();for(var d=0;d 0&&(r.className=i.join(" ")),function(e){for(var t in e)if(o.call(e,t))return!1;return!0}(r)&&(r=null),a[e]={tag:n,attrs:r}}(e),l=(n=d).attrs,c=(u=o.call(l,"class"))?l.class:l.className,n.tag=t.tag,null!=t.attrs?(l=Object.assign({},t.attrs,l),(null!=c||null!=t.attrs.className)&&(l.className=null!=c?null!=t.attrs.className?String(t.attrs.className)+" "+String(c):c:null!=t.attrs.className?t.attrs.className:null)):null!=c&&(l.className=c),u&&(l.class=null),"input"===t.tag&&o.call(l,"type")&&(l=Object.assign({type:l.type},l)),n.attrs=l,n}return d.tag=e,d}},3117:function(e,t,n){"use strict";var i=n(5371);e.exports=function(){var e,t=arguments[this],n=this+1;if(null==t?t={}:("object"!=typeof t||null!=t.tag||Array.isArray(t))&&(t={},n=this),arguments.length===n+1)e=arguments[n],!Array.isArray(e)&&(e=[e]);else for(e=[];n '+t.children+"",s=s.firstChild):s.innerHTML=t.children,t.dom=s.firstChild,t.domSize=s.childNodes.length;for(var l=a(e).createDocumentFragment();r=s.firstChild;)l.appendChild(r);E(e,l,i)}function g(e,t,n,i,r,o){if(t!==n&&(null!=t||null!=n))if(null==t||0===t.length)h(e,n,0,n.length,i,r,o);else if(null==n||0===n.length)x(e,t,0,t.length);else{var s=null!=t[0]&&null!=t[0].key,a=null!=n[0]&&null!=n[0].key,l=0,u=0;if(!s)for(;u =u&&N>=l&&(m=t[T],g=n[N],m.key===g.key);){;m!==g&&y(e,m,g,i,r,o),null!=g.dom&&(r=g.dom),T--,N--}for(;T>=u&&N>=l&&(d=t[u],f=n[l],d.key===f.key);){;u++,l++,d!==f&&y(e,d,f,i,w(t,u,r),o)}for(;T>=u&&N>=l&&l!==N&&d.key===g.key&&m.key===f.key;){;b(e,m,E=w(t,u,r)),m!==f&&y(e,m,f,i,E,o),++l<=--N&&b(e,d,r),d!==g&&y(e,d,g,i,r,o),null!=g.dom&&(r=g.dom),u++,m=t[--T],g=n[N],d=t[u],f=n[l]}for(;T>=u&&N>=l&&m.key===g.key;){;m!==g&&y(e,m,g,i,r,o),null!=g.dom&&(r=g.dom),T--,N--,m=t[T],g=n[N]}if(l>N)x(e,t,u,T+1);else if(u>T)h(e,n,l,N+1,i,r,o);else{var c,A,L=r,I=N-l+1,S=Array(I),D=0,k=0,j=0x7fffffff,C=0;for(k=0;k=l;k--){null==c&&(c=function(e,t,n){for(var i=Object.create(null);t >>1)+(i>>>1)+(n&i&1);e[t[a]] 0&&(v[r]=t[n-1]),t[n]=r)}for(n=t.length,i=t[n-1];n-- >0;)t[n]=i,i=v[i];return v.length=0,t}(S)).length-1,k=N;k>=l;k--)f=n[k],-1===S[k-l]?p(e,f,i,o,r):A[D]===k-l?D--:b(e,f,r),null!=f.dom&&(r=n[k].dom);else for(k=N;k>=l;k--)f=n[k],-1===S[k-l]&&p(e,f,i,o,r),null!=f.dom&&(r=n[k].dom)}}else{var z=t.length z&&x(e,t,l,t.length),n.length>z&&h(e,n,l,n.length,i,r,o)}}}function y(e,t,n,r,o,s){var a=t.tag;if(a===n.tag){if(n.state=t.state,n.events=t.events,function(e,t){do{if(null!=e.attrs&&"function"==typeof e.attrs.onbeforeupdate){var n=c.call(e.attrs.onbeforeupdate,e,t);if(void 0!==n&&!n)break}if("string"!=typeof e.tag&&"function"==typeof e.state.onbeforeupdate){var n=c.call(e.state.onbeforeupdate,e,t);if(void 0!==n&&!n)break}return!1}while(!1);return e.dom=t.dom,e.domSize=t.domSize,e.instance=t.instance,e.attrs=t.attrs,e.children=t.children,e.text=t.text,!0}(n,t))return;if("string"==typeof a)switch(null!=n.attrs&&O(n.attrs,n,r),a){case"#":(function(e,t){e.children.toString()!==t.children.toString()&&(e.dom.nodeValue=t.children),t.dom=e.dom})(t,n);break;case"<":(function(e,t,n,i,r){t.children!==n.children?(N(e,t,void 0),m(e,n,i,r)):(n.dom=t.dom,n.domSize=t.domSize)})(e,t,n,s,o);break;case"[":(function(e,t,n,i,r,o){g(e,t.children,n.children,i,r,o);var s=0,a=n.children;if(n.dom=null,null!=a){for(var l=0;l -1||null!=e.attrs&&e.attrs.is||"href"!==t&&"list"!==t&&"form"!==t&&"width"!==t&&"height"!==t)&&t in e.dom}function D(e,t,n){if(t===n);else if(null==n)e.style="";else if("object"!=typeof n)e.style=n;else if(null==t||"object"!=typeof t)for(var i in e.style.cssText="",n){var r=n[i];null!=r&&("-"===i[0]&&"-"===i[1]?e.style.setProperty(i,String(r)):e.style[i]=String(r))}else{for(var i in n){var r=n[i];null!=r&&(r=String(r))!==String(t[i])&&("-"===i[0]&&"-"===i[1]?e.style.setProperty(i,r):e.style[i]=r)}for(var i in t)null!=t[i]&&null==n[i]&&("-"===i[0]&&"-"===i[1]?e.style.removeProperty(i):e.style[i]="")}}function k(){this._=e}function j(t,n,i){null!=t.events?(t.events._=e,t.events[n]!==i&&(null!=i&&("function"==typeof i||"object"==typeof i)?(null==t.events[n]&&t.dom.addEventListener(n.slice(2),t.events,!1),t.events[n]=i):(null!=t.events[n]&&t.dom.removeEventListener(n.slice(2),t.events,!1),t.events[n]=void 0))):null!=i&&("function"==typeof i||"object"==typeof i)&&(t.events=new k,t.dom.addEventListener(n.slice(2),t.events,!1),t.events[n]=i)}function C(e,t,n){"function"==typeof e.oninit&&c.call(e.oninit,t),"function"==typeof e.oncreate&&n.push(c.bind(e.oncreate,t))}function O(e,t,n){"function"==typeof e.onupdate&&n.push(c.bind(e.onupdate,t))}return k.prototype=Object.create(null),k.prototype.handleEvent=function(e){var t,n=this["on"+e.type];"function"==typeof n?t=n.call(e.currentTarget,e):"function"==typeof n.handleEvent&&n.handleEvent(e),this._&&!1!==e.redraw&&(0,this._)(),!1===t&&(e.preventDefault(),e.stopPropagation())},function(r,o,s){if(!r)throw TypeError("DOM element being rendered to does not exist.");if(null!=n&&r.contains(n))throw TypeError("Node is currently being rendered to and thus is locked.");var a=e,l=n,u=[],c=d(r),h=r.namespaceURI;n=r,e="function"==typeof s?s:void 0,t={};try{null==r.vnodes&&(r.textContent=""),o=i.normalizeChildren(Array.isArray(o)?o:[o]),g(r,r.vnodes,o,u,null,"http://www.w3.org/1999/xhtml"===h?void 0:h),r.vnodes=o,null!=c&&d(r)!==c&&"function"==typeof c.focus&&c.focus();for(var p=0;p =200&&e.target.status<300||304===e.target.status||/^file:\/\//i.test(l),o=e.target.response;if("json"===d){if(!e.target.responseType&&"function"!=typeof u.extract)try{o=JSON.parse(e.target.responseText)}catch(e){o=null}}else(!d||"text"===d)&&null==o&&(o=e.target.responseText);if("function"==typeof u.extract?(o=u.extract(e.target,u),r=!0):"function"==typeof u.deserialize&&(o=u.deserialize(o)),r){if("function"==typeof u.type){if(Array.isArray(o))for(var s=0;s t.indexOf(o)&&(n[o]=e[o]);else for(var o in e)i.call(e,o)&&!r.test(o)&&(n[o]=e[o]);return n}},6536:function(e){"use strict";e.exports=({}).hasOwnProperty},4649:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=function(e){return e&&"object"==typeof e};function r(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this.opts,i=n.array;n.array=!0;var r=this.apply(null,e);return n.array=i,r}function o(e,t){e=e||{},(t=t||{}).resolveAliases&&(e=o.resolveAliases(e));var n={};function s(e,t,r){return function(e,t,n,r,o,s){o=o||{};var a=r[e],l=i(a),u=l||null!=t||null!=n;if(u){if(i(t)){var c=n;n=t,t=c}if(n=n||{},l){var d=null!=t&&a[t]||a["*"];if(null!=d)a=d;else if("number"==typeof t){var h,p,f,m,g=o.pluralize;h=a,p=t,f=g,m=Math.abs(p),a=null!=h[m=f?f(m):m]?h[m]:null!=h.n?h.n:void 0}}}if("string"!=typeof a){if(!1===o.useKeyForMissingTranslation)return;a=e,o.debug&&(null!=t?(a="@@"+e+"."+t+"@@",console.warn('No translation or pluralization form found for "'+t+'" in'+e)):(a="@@"+a+"@@",console.warn('Translation for "'+e+'" not found.')))}return u?function(e,t,n,i,r){var o=i[e];if(null==o){var s=e.replace(/\{(\w+)\}/g,"{x}$1{x}").split("{x}");o=s.length>1?s:s[0],i[e]=o}return o=o.pop?function(e,t,n,i){for(var r=i.array?e.slice():e[0],o=e.length,s=1;s e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0&&[o()("ol",d.map(function(e){var t=e.crimeScriptIdx,n=e.totalScore,i=e.acts;return o()("li","".concat(m.crimeScripts[t].label," (score ").concat(n,")"),o()("ul.browser-default",i.map(function(e){var n=e.actIdx,i=e.phaseIdx,l=e.score;return o()("li",o()("a.truncate",{style:{cursor:"pointer"},href:a.M3.href(s.iY.CRIME_SCRIPT,"id=".concat(m.crimeScripts[t].id)),onclick:function(){r.setLocation(m.crimeScripts[t].id,n,i)}},"".concat(n>=0?m.acts[n].label:(0,a.t)("TEXT")," (score: ").concat(l,")")))})))}))]])])}}};i()}catch(e){i(e)}})},657:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{l:function(){return f}});var r=n(2735),o=n.n(r),s=n(5611),a=n(9834),l=n(8308),u=n(2738),c=n(9462),d=n(2459),h=n(8111),p=e([c,u,d,h,l,s]);[c,u,d,h,l,s]=p.then?(await p)():p;var f=function(){var e="",t=!1;return{oninit:function(e){(0,e.attrs.actions.setPage)(s.iY.CRIME_SCRIPT)},view:function(n){var i=n.attrs,r=i.state,p=i.actions,f=r.model,m=r.role,g=r.curActIdx,y=r.curPhaseIdx,v=r.currentCrimeScriptId,w=f.crimeScripts,b=void 0===w?[]:w,E=f.cast,T=void 0===E?[]:E,x=f.acts,_=void 0===x?[]:x,N=f.attributes,A=void 0===N?[]:N,L=f.locations,I=void 0===L?[]:L,S=f.geoLocations,D=void 0===S?[]:S,k=f.transports,j=f.products,C=void 0===j?[]:j,O=f.partners,z=void 0===O?[]:O,R=f.serviceProviders,P=void 0===R?[]:R;e=o().route.param("id")||(void 0===v?"":v)||(b.length>0?b[0].id:"");var B=b.find(function(t){return t.id===e})||(b.length>0?b[0]:{}),U="".concat((0,c.p6)(Date.now(),""),"_").concat(null==B?void 0:B.label,"_v").concat(f.version,".docx");return o()("#crime-script.page",[("admin"===m||"editor"===m)&&o()(".right-align",t?o()(a.Ty,{label:(0,l.t)("SAVE_SCRIPT"),iconName:"save",className:"small",onclick:function(){t=!1,B&&(f.crimeScripts=f.crimeScripts.map(function(t){return t.id===e?B:t}),p.saveModel(f))}}):[o()(a.Ty,{label:(0,l.t)("EDIT_SCRIPT"),iconName:"edit",className:"small",onclick:function(){t=!0}}),o()(a.Ty,{label:(0,l.t)("DELETE_SCRIPT"),iconName:"delete",className:"small",modalId:"deleteScript"}),B&&o()(a.Ty,{title:"Export to Word",label:(0,l.t)("EXPORT_TO_WORD"),className:"small",iconName:"download",onclick:function(){return(0,u.Pr)(U,B,f)}})]),B&&o()(".row.crime-scene",t?o()(d.C,{crimeScript:B,cast:T,acts:_,attributes:A,locations:I,geoLocations:D,transports:void 0===k?[]:k,products:C,partners:z,serviceProviders:P}):o()(h.p,{crimeScript:B,cast:T,acts:_,attributes:A,locations:I,geoLocations:D,products:C,partners:z,serviceProviders:P,curActIdx:g,curPhaseIdx:y,update:p.update}))],o()(a.lQ,{id:"deleteScript",title:(0,l.t)("DELETE_SCRIPT"),description:(0,l.t)("DELETE_SCRIPT_CONFIRM",{name:null==B?void 0:B.label}),buttons:[{label:(0,l.t)("CANCEL"),iconName:"cancel"},{label:(0,l.t)("DELETE"),iconName:"delete",onclick:function(){B&&(f.crimeScripts=f.crimeScripts.filter(function(t){return t.id!==e}),p.saveModel(f),p.changePage(s.iY.HOME))}}]}))}}};i()}catch(e){i(e)}})},9323:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{U:function(){return g}});var r=n(2735),o=n.n(r),s=n(5611),a=n(8531),l=n(9834),u=n(8308),c=n(9462),d=n(6972),h=n(2522),p=e([h,u,c,a,s]);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0||(null===(r=b.geoLocationIds)||void 0===r?void 0:r.length)>0||(null===(h=b.locationIds)||void 0===h?void 0:h.length)>0?function(e,n,i){var r,o,s,a,l=b.productIds,u=b.locationIds,c=b.geoLocationIds,d=t(x,void 0===l?[]:l),h=t(N,void 0===c?[]:c),p=t(L,void 0===u?[]:u);return(0===d.length||(null===(s=e.productIds)||void 0===s?void 0:s.some(function(e){return d.includes(e)})))&&((null==h?void 0:h.length)===0||(null===(a=e.geoLocationIds)||void 0===a?void 0:a.some(function(e){return null==h?void 0:h.includes(e)})))&&((null==p?void 0:p.length)===0||(r=e,o=S,r.stages.map(function(e){return o.find(function(t){return t.id===e.id})}).filter(function(e){return void 0!==e}).reduce(function(e,t){if(t.locationIds)e.push.apply(e,m(t.locationIds));return e},[])).some(function(e){return null==p?void 0:p.includes(e)}))}:function(e,t,n){return!0};return o()("#home-page.row.home.page",["admin"===v&&o()(".right-align",o()(l.Ty,{label:(0,u.t)("NEW_SCRIPT"),iconName:"add",className:"small",onclick:function(){var e={id:(0,l.EL)()};y.crimeScripts.push(e),g.saveModel(y),g.changePage(s.iY.HOME,{id:e.id})}})),o()(".col.s12.filters",o()(d.r,{form:e,obj:b,onchange:function(){g.update({crimeScriptFilter:b})},i18n:u.m})),o()(".crime-scenes",o()("ul.collection.with-header",[o()("li.collection-header",o()("h4","Crime Scripts")),(void 0===E?[]:E).filter(D).map(function(e){var t=e.url,n=void 0===t?s.lq:t,i=e.label,r=e.description,d=e.id,h=e.productIds,p=void 0===h?[]:h,f=e.geoLocationIds,m=void 0===f?[]:f;return o()("li.collection-item.avatar.cursor-pointer",{onclick:function(){g.changePage(s.iY.CRIME_SCRIPT,{id:d}),g.update({currentCrimeScriptId:d})}},[o()("img.circle",{src:n,alt:"Avatar"}),o()("span.title","".concat(i).concat(p.length>0?" (".concat((0,u.t)("PRODUCTS",p.length).toLowerCase(),": ").concat((0,c.f5)(x,p),")"):"")),m.length>0&&o()("p",o()("i","".concat((0,u.t)("GEOLOCATIONS",m.length),": ").concat((0,c.f5)(N,m)))),o()("p",r),o()("a.secondary-content",{href:a.M3.href(s.iY.CRIME_SCRIPT,"id=".concat(d))},o()(l.JO,{iconName:"more_horiz"}))])})]))])}}};i()}catch(e){i(e)}})},8820:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{Gu:function(){return a.G},NF:function(){return l.N},Uv:function(){return o.U},fy:function(){return u.f},l$:function(){return s.l},tP:function(){return r.t}});var r=n(6580),o=n(9323),s=n(657),a=n(5062),l=n(1934),u=n(8107),c=n(9781),d=e([r,o,s,a,l,u,c]);[r,o,s,a,l,u,c]=d.then?(await d)():d,i()}catch(e){i(e)}})},8107:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{f:function(){return d}});var r=n(2735),o=n.n(r),s=n(9834),a=n(1467),l=n(8531),u=n(5611),c=e([u,l]);[u,l]=c.then?(await c)():c;var d=function(){return{oninit:function(e){(0,e.attrs.actions.setPage)(u.iY.LANDING)},view:function(e){return!function(e){if(null==e)throw TypeError("Cannot destructure "+e);}(e),[o()(".center",{style:"position: relative;"},[o()("img.responsive-img[width=1408][height=704]",{style:{"margin-left":"15px"},src:a}),o()(".section.white",o()(".row.container.center",[o()(".row",[o()(".col.s12.m4",o()(".intro-block",[o()(".center",o()(s.JO,{iconName:"cases"})),o()("h5.center",(0,l.t)("LANDING_CASES","TITLE")),o()("p.light",(0,l.t)("LANDING_CASES","DESC"))])),o()(".col.s12.m4",o()(".intro-block",[o()(".center",o()(s.JO,{iconName:"handshake"})),o()("h5.center",(0,l.t)("LANDING_HAND","TITLE")),o()("p.light",(0,l.t)("LANDING_HAND","DESC"))])),o()(".col.s12.m4",o()(".intro-block",[o()(".center",o()(s.JO,{iconName:"security"})),o()("h5.center",(0,l.t)("LANDING_SECURITY","TITLE")),o()("p.light",(0,l.t)("LANDING_SECURITY","DESC"))]))])]))])]}}};i()}catch(e){i(e)}})},9781:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{A:function(){return y}});var r=n(2735),o=n.n(r),s=n(9834),a=n(8260),l=n(9293),u=n(5611),c=n(2225),d=n(8531),h=n(1067),p=n(9798),f=n(9462),m=e([f,h,p,c,u,d]);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0&&[o()("ol",E.map(function(t){var n=t.crimeScriptIdx,i=t.totalScore,r=t.acts;return o()("li","".concat(T.crimeScripts[n].label," (score ").concat(i,")"),o()("ul.browser-default",r.map(function(t){var i=t.actIdx,r=t.phaseIdx,s=t.score;return o()("li",o()("a.truncate",{style:{cursor:"pointer"},href:c.M.href(u.iY.CRIME_SCRIPT,"id=".concat(T.crimeScripts[n].id)),onclick:function(){e.close(),v.setLocation(T.crimeScripts[n].id,i,r)}},"".concat(i>=0?T.acts[i].label:(0,d.t)("TEXT")," (score: ").concat(s,")")))})))}))]]])]),o()(".container",{style:"padding-top: 5px"},r,o()(".row",o()(".col.s12",o()("a",{href:"https://www.tno.nl",target:"_blank"},o()("img[width=100][height=50][alt=TNO website][title=TNO website].right",{src:l}))))),,])]}}};i()}catch(e){i(e)}})},1934:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{N:function(){return g}});var r=n(2735),o=n.n(r),s=n(5611),a=n(8531),l=n(6972),u=n(9834),c=n(2522),d=n(9798),h=n(9462),p=e([d,h,c,a,s]);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n ".concat(n.filter(function(t){return e.parents.includes(t.id)}).map(function(e){return e.label}).join(", ")):"")),iconName:r,body:o()(".cast-content",o()("ol",Object.entries(t.reduce(function(e,t){var n=m(t,5),i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u="".concat(i,"-").concat(r);return!e[u]&&(e[u]={crimeScript:c[i],actIdx:r,act:r>=0?l[r]:void 0,phases:[]}),e[u].phases.push({phaseIdx:o,score:s,desc:a}),e},{})).map(function(e){var t=m(e,2),n=(t[0],t[1]),i=n.crimeScript,r=n.actIdx,l=n.act,u=n.phases,c=l?l.label:"...";return o()("li",[o()("a.truncate",{style:{cursor:"pointer"},href:a.M3.href(s.iY.CRIME_SCRIPT,"id=".concat(i.id)),onclick:function(){var e=u[0];d(i.id,r,e.phaseIdx)}},"".concat(i.label," > ").concat(c)),u.length>=1&&o()("ol[type=a]",u.map(function(e){var t=e.phaseIdx,n=e.desc;return o()("li",{style:{opacity:.7,cursor:"pointer"},onclick:function(){d(i.id,r,t)}},"".concat(n||""))}))])})))}})}))}}};i()}catch(e){i(e)}})},2459:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{C:function(){return g}});var r=n(2735),o=n.n(r),s=n(5611),a=n(9834),l=n(6972),u=n(2522),c=n(9138),d=n(8308),h=n(9462),p=e([c,h,u,s,d]);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0?e[0]:"",ids:e}}}),y.ids.length>0?o()(a.Ph,{key:T,label:(0,d.t)("SELECT_ACT"),className:"col s12 m4 l5",initialValue:y.id,options:h.filter(function(e){return y.ids.includes(e.id)}),onchange:function(e){f.stages[g].id=e[0]}}):void 0,o()(a.Ty,{key:T,label:(0,d.t)("ACT"),className:"col s12 m4 l2",iconName:"add",onclick:function(){var e=(0,a.EL)(),t={id:e,label:(0,d.t)("ACT")};h.push(t),f.stages[g].id=e,f.stages[g].ids?f.stages[g].ids.push(e):f.stages[g].ids=[e]}})].filter(Boolean))],E&&o()(".row",o()(".col.s12",[o()(".cur-act",{key:E.id},[o()(l.r,{form:[{id:"label",type:"text",className:"col s6 m9",label:(0,d.t)("NAME"),show:["!icon=1"]},{id:"label",type:"text",className:"col s6 m6",label:(0,d.t)("NAME"),show:["icon=1"]},{id:"icon",type:"select",className:"col s6 m3",label:(0,d.t)("IMAGE"),options:s.d7},{id:"url",type:"base64",className:"col s12 m3",label:(0,d.t)("IMAGE"),show:["icon=1"]},{id:"description",type:"textarea",className:"col s12",label:(0,d.t)("SUMMARY")}],obj:E,onchange:function(){},i18n:d.m}),o()(a.mQ,{tabs:[{title:(0,d.t)("STEPS"),vnode:o()(".acts",[o()(l.r,{form:e,obj:E,onchange:function(){},i18n:d.m})])},{title:(0,d.t)("OPPORTUNITIES"),vnode:o()(".opportunities",[o()(l.r,{form:t,obj:E,onchange:function(){},i18n:d.m})])},{title:(0,d.t)("INDICATORS"),vnode:o()(".indicators",[o()(l.r,{form:n,obj:E,onchange:function(){},i18n:d.m})])},{id:"measures",title:(0,d.t)("MEASURES"),vnode:o()(".measures",[o()(l.r,{form:b,obj:E,onchange:function(){},i18n:d.m})])}]})])]))])}}};i()}catch(e){i(e)}})},8111:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{p:function(){return g}});var r=n(2735),o=n.n(r),s=n(5611),a=n(9834),l=n(6972),u=n(1911),c=n(9138),d=n(8308),h=n(9462),p=n(5724),f=e([c,s,h,d]);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0&&void 0!==arguments[0]?arguments[0]:{},t=e.label,n=void 0===t?"...":t,i=e.activities,r=void 0===i?[]:i,s=e.indicators,u=void 0===s?[]:s,c=e.conditions,p=void 0===c?[]:c,f=e.locationIds,m=void 0===f?[]:f,g=arguments.length>1?arguments[1]:void 0,y=arguments.length>2?arguments[2]:void 0,v=arguments.length>3?arguments[3]:void 0,w=arguments.length>4?arguments[4]:void 0,b=arguments.length>5&&void 0!==arguments[5]?arguments[5]:-1,E=Array.from(r.reduce(function(e,t){var n=t.cast;return n&&n.forEach(function(t){return e.add(t)}),e},new Set)),T=Array.from(r.reduce(function(e,t){var n=t.sp;return n&&n.forEach(function(t){return e.add(t)}),e},new Set)),x=Array.from(r.reduce(function(e,t){var n=t.attributes;return n&&n.forEach(function(t){return e.add(t)}),e},new Set)),_="".concat(m&&m.length?"##### ".concat((0,d.t)("LOCATIONS",m.length),"\n\n").concat((0,h.zC)(w,m)):"","\n\n").concat((0,h.qP)(r),"\n\n\n").concat(E.length>0?"##### ".concat((0,d.t)("CAST"),"\n\n").concat((0,h.bN)(g,E)):"","\n\n").concat(T.length>0?"##### ".concat((0,d.t)("SERVICE_PROVIDERS"),"\n\n").concat((0,h.bN)(y,T)):"","\n\n").concat(p.length>0?"##### ".concat((0,d.t)("CONDITIONS"),"\n\n").concat(p.map(function(e,t){return"".concat(t+1,". ").concat(e.label).concat((0,h.N6)(e))}).join("\n")):"","\n\n").concat(u.length>0?"##### ".concat((0,d.t)("INDICATORS"),"\n\n").concat(u.map(function(e,t){return"".concat(t+1,". ").concat(e.label).concat((0,h.N6)(e))}).join("\n")):"","\n\n").concat(x.length>0?"##### ".concat((0,d.t)("ATTRIBUTES"),"\n\n").concat((0,h.bN)(v,x)):""),N=[{title:n,md:_}];return{title:n,vnode:1===N.length?o()(l.KG,{md:N[0].md}):N.length>1?o()(a.mQ,{tabs:N.map(function(e,t){var n=e.title,i=e.md;return{title:n,active:t===b,vnode:o()(l.KG,{md:i})}})}):o()("div")}};return{view:function(i){var r,a,c,f,g=i.attrs,y=g.crimeScript,v=g.cast,w=void 0===v?[]:v,b=g.serviceProviders,E=void 0===b?[]:b,T=g.acts,x=void 0===T?[]:T,_=g.attributes,N=void 0===_?[]:_,A=g.locations,L=void 0===A?[]:A,I=g.geoLocations,S=g.products,D=g.partners,k=void 0===D?[]:D,j=g.curActIdx,C=void 0===j?-1:j,O=g.curPhaseIdx,z=g.update;e.size 0?x.find(function(e){return e.id===F[0].id}):void 0,J=X?n(X,w,E,N,L,void 0===O?0:O):void 0;console.log(null==X?void 0:X.measures);var ee=X&&(null===(c=X.measures)||void 0===c?void 0:c.length)>0?"##### ".concat((0,d.t)("MEASURES"),"\n\n").concat((0,h.cb)(X.measures,e,t)):void 0,et=F.map(function(e){var t=e.id,n=e.ids,i=x.find(function(e){return e.id===t});if(!!i){var r,a=i.id,u=i.label,c=i.icon,d=i.url,h=i.description,p=(c===s.UZ.OTHER?d:null===(r=s.d7.find(function(e){return e.id===c}))||void 0===r?void 0:r.img)||s.zG,f=n.length>1?n.filter(function(e){return e!==t}).map(function(e){var t,n=x.find(function(t){return t.id===e});return n?{id:e,icon:(n.icon===s.UZ.OTHER?n.url:null===(t=s.d7.find(function(e){return e.id===n.icon}))||void 0===t?void 0:t.img)||s.zG,title:n.label}:void 0}).filter(Boolean):void 0;return{id:a,title:void 0===u?"...":u,icon:p,description:o()(l.KG,{md:void 0===h?"":h,removeParagraphs:!0}),variants:f}}}).filter(Boolean);return o()(".col.s12",[o()("h4","".concat(void 0===R?"...":R).concat(H.length>0?" (".concat((0,h.f5)(void 0===S?[]:S,H),")"):"")),Q.length>0&&o()("i.geo-location","".concat((0,d.t)("GEOLOCATIONS",Q.length),": ").concat((0,h.f5)(void 0===I?[]:I,Q))),P&&o()("p",P),o()(".row",[o()(".col.s6.m4.l3",[G.size>0&&[o()("h5",(0,d.t)("CAST")),o()("ol",Array.from(G).map(function(e){var t;return o()("li",null===(t=w.find(function(t){return t.id===e}))||void 0===t?void 0:t.label)}))]]),o()(".col.s6.m4.l3",[K.size>0&&[o()("h5",(0,d.t)("SERVICE_PROVIDERS")),o()("ol",Array.from(K).map(function(e){var t;return o()("li",null===(t=E.find(function(t){return t.id===e}))||void 0===t?void 0:t.label)}))]]),o()(".col.s6.m4.l3",[q.size>0&&[o()("h5",(0,d.t)("ATTRIBUTES")),o()("ol",Array.from(q).map(function(e){return N.find(function(t){return t.id===e})}).filter(function(e){return null==e?void 0:e.label}).map(function(e){return o()("li",null==e?void 0:e.label)}))]]),o()(".col.s6.m4.l3",[Z.size>0&&[o()("h5",(0,d.t)("LOCATIONS",Z.size)),o()("ol",Array.from(Z).map(function(e){var t;return o()("li",null===(t=L.find(function(t){return t.id===e}))||void 0===t?void 0:t.label)}))]])]),B&&B.length>0&&[o()("h5",(0,d.t)("REFERENCES")),o()(u.f,{references:B})],o()("h5",(0,d.t)("ACTS")),o()(p.n,{steps:et,selectedStep:null==X?void 0:X.id,onStepSelect:function(e){return z({curActIdx:x.findIndex(function(t){return t.id===e})})},onVariantSelect:function(e,t){var n=F.find(function(t){return t.id===e});n&&(n.id=t,z({curActIdx:x.findIndex(function(e){return e.id===t})}))}}),J&&[o()("h4",J.title),(null==X?void 0:X.activities)&&(null==X?void 0:null===(f=X.activities)||void 0===f?void 0:f.length)>0&&o()("h5",(0,d.t)("ACTIVITIES")),J.vnode],ee&&o()("div.markdown",o().trust((0,l.sY)(ee)))])}}};i()}catch(e){i(e)}})},613:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{W:function(){return u}});var r=n(2735),o=n.n(r),s=n(9834),a=n(8531),l=e([a]);a=(l.then?(await l)():l)[0];var u=function(){return{view:function(e){var t=e.attrs,n=t.currentLanguage,i=t.onLanguageChange,r=t.className;return o()(s.Ph,{iconName:"language",initialValue:n,className:r,options:[{id:"en",label:"English"},{id:"nl",label:"Nederlands"}],label:(0,a.t)("LANGUAGE"),onchange:function(e){return i(e[0])}})}}};i()}catch(e){i(e)}})},5724:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});var i=n(2735),r=n.n(i),o=function(){var e=null,t=function(t,n){console.log("TOGGLE"),e=e===t?null:t,n.onStepSelect&&n.onStepSelect(t)},n=function(e,t,n,i){console.log("VARIANT"),e.stopPropagation(),i.onVariantSelect&&i.onVariantSelect(t,n)};return{view:function(e){var i=e.attrs,o=i.steps,s=i.selectedStep,a=i.selectedVariant;return r()(".process-container",[o.map(function(e,o){return r()(".process-step",{class:[s===e.id?"active":"",e.variants&&e.variants.length?"has-variants":""].filter(Boolean).join(" ").trim(),onclick:function(){return t(e.id,i)}},[r()(".step-number",o+1),r()("img.step-icon",{src:e.icon,alt:"".concat(e.title," icon")}),r()(".step-content",[r()("h4.step-title.truncate",e.title),r()(".step-description",e.description),e.variants&&r()(".variants-container",[e.variants.map(function(t){return r()(".variant-option",{class:a===t.id?"active":"",onclick:function(r){return n(r,e.id,t.id,i)}},[r()("img.variant-icon",{src:t.icon,alt:"".concat(t.title," icon")}),t.title])})])])])})])}}}},1911:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var i=n(2735),r=n.n(i),o=function(){var e=!1;return{view:function(t){var n=t.attrs.reference,i=n.url,o=n.label,s=n.authors,a=n.description;return r()("li",[r()("a",{href:i,target:"_blank"},o),r()("span",", by ".concat(s)),a&&r()("span.ellipsis",{onclick:function(){return e=!e},style:{cursor:"pointer",color:"blue",textDecoration:"underline"}},e?" ... (less)":" ... (more)"),e&&r()("p.summary",a)])}}},s=function(){return{view:function(e){var t=e.attrs.references;return r()("ol",t.map(function(e){return r()(o,{reference:e})}))}}}},1384:function(e,t,n){"use strict";n.d(t,{n:function(){return s}});var i=n(2735),r=n.n(i),o=n(9834),s=function(){var e,t=[];return{oninit:function(n){var i=n.attrs.field,r=i.options;e=i.className,r&&"string"!=typeof r&&(t=r)},view:function(n){var i=n.attrs,s=i.iv,a=i.onchange,l=i.label;return r()(".multi-select",{className:e},r()(o.ul,{label:l,initialValue:s,options:t,onchange:a}))}}}},1067:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{a:function(){return m},k:function(){return f}});var r=n(2735),o=n.n(r),s=n(8531),a=n(9834),l=n(5611),u=n(9462),c=n(461),d=n(613),h=e([u,d,s,l]);function p(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}[u,d,s,l]=h.then?(await h)():h;var f=function(){var e=function(e,t,n){switch(e){case"clear":console.log("CLEARING DATAS"),n(l.pk);break;case"download_json":var i,r,o=void 0===t.version?1:++t.version;var d="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify((i=function(e){for(var t=1;t 0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1] e.length)&&(t=e.length);for(var n=0,i=Array(t);n 2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0;return[{id:e,label:t,className:"col s12",repeat:!0,type:["cast","attributes","products","transports","locations","geoLocations","partners"].includes(i)?[{id:"id",type:"autogenerate",autogenerate:"id"},{id:"label",type:"text",className:"col s12 m4",label:(0,o.t)("NAME")},{id:"synonyms",type:"tags",className:"col s12 m8",label:(0,o.t)("SYNONYMS")},["partners","locations"].includes(i)?void 0:{id:"parents",type:"search_select",multiple:!0,className:"col s12",label:(0,o.t)("CATEGORIES"),options:n.filter(function(e){return e.label})}].filter(Boolean):[{id:"id",type:"autogenerate",autogenerate:"id"},{id:"label",type:"textarea",className:"col s12",label:(0,o.t)("DESCRIPTION")}].filter(Boolean)}]},l=function(){return[{id:"id",type:"autogenerate",autogenerate:"id"},{id:"label",type:"text",className:"col s6",label:(0,o.t)("NAME")},{id:"url",type:"base64",className:"col s6",label:(0,o.t)("IMAGE")},{id:"description",type:"textarea",className:"col s12",label:(0,o.t)("SUMMARY")}]},u=function(){return[{id:"id",type:"autogenerate",autogenerate:"id"},{id:"label",type:"text",className:"col s6",label:(0,o.t)("TITLE")},{id:"authors",type:"text",className:"col s6",label:(0,o.t)("AUTHORS")},{id:"url",type:"url",className:"col s12",label:(0,o.t)("LINK")},{id:"description",type:"textarea",className:"col s12",label:(0,o.t)("SUMMARY")}]},c=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"filter_alt";return[{id:"productIds",label:(0,o.t)("PRODUCTS",2),icon:i,type:"select",multiple:!0,options:(0,r.o2)(e),className:"col s6 m4"},{id:"locationIds",label:(0,o.t)("LOCATIONS",2),type:"select",multiple:!0,options:(0,r.o2)(t),className:"col s6 m4"},{id:"geoLocationIds",label:(0,o.t)("GEOLOCATIONS",2),type:"select",multiple:!0,options:(0,r.o2)(n),className:"col s6 m4"}]},d=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"filter_alt";return[{id:"roleIds",label:(0,o.t)("CAST",2),icon:i,type:"select",multiple:!0,options:(0,r.o2)(e),className:"col s6 m4"},{id:"attributeIds",label:(0,o.t)("ATTRIBUTES",2),type:"select",multiple:!0,options:(0,r.o2)(t),className:"col s6 m4"},{id:"transportIds",label:(0,o.t)("TRANSPORTS",2),type:"select",multiple:!0,options:(0,r.o2)(n),className:"col s6 m4"}]};i()}catch(e){i(e)}})},6111:function(e,t,n){"use strict";n.d(t,{UZ:function(){return r},d7:function(){return a},lq:function(){return s},zG:function(){return o}});var i,r=((i={})[i.OTHER=1]="OTHER",i[i.CAR=2]="CAR",i[i.CONTAINER_SHIP=3]="CONTAINER_SHIP",i[i.DISPOSAL=4]="DISPOSAL",i[i.FILTER=5]="FILTER",i[i.OIL_BARREL=6]="OIL_BARREL",i[i.DRUGS=7]="DRUGS",i[i.MONEY_LAUNDERING=8]="MONEY_LAUNDERING",i[i.PLANNING=9]="PLANNING",i[i.STORAGE=10]="STORAGE",i[i.TRUCK=11]="TRUCK",i[i.WEED=12]="WEED",i[i.UNPACK=13]="UNPACK",i[i.DISTRIBUTE=14]="DISTRIBUTE",i),o="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYwMCIgaGVpZ2h0PSIxNjAwIiB2aWV3Qm94PSIwIDAgMTIwMCAxMjAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMDg1LjcgMEgxMTQuMjdBMTE0LjI4MiAxMTQuMjgyIDAgMDAtLjAxNSAxMTQuMjg1djk3MS40M0ExMTQuMjgyIDExNC4yODIgMCAwMDExNC4yNyAxMjAwaDk3MS40M2ExMTQuMjgyIDExNC4yODIgMCAwMDExNC4yODUtMTE0LjI4NXYtOTcxLjQzQTExNC4yODIgMTE0LjI4MiAwIDAwMTA4NS43IDB6bS00MDAgMTAwMEg1NzEuNDFhNTcuMTQ2IDU3LjE0NiAwIDAxLTU3LjE0NC01Ny4xNDR2LTQyOC41N2gxMTQuMjlhNTcuMTMxIDU3LjEzMSAwIDAxNDAuNDA2IDE2LjczOEE1Ny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LjM4IDMuMzggMCAwMC0yLjM5OS0uOTkyIDMuMzggMy4zOCAwIDAwLTIuMzk4Ljk5MiAzLjM4IDMuMzggMCAwMC0uOTkyIDIuMzk4YzAgLjkzOC4zNzggMS43ODUuOTkyIDIuMzk5YTMuMzggMy4zOCAwIDAwMi4zOTguOTkyIDMuMzggMy4zOCAwIDAwMi4zOTktLjk5MiAzLjM4IDMuMzggMCAwMC45OTItMi4zOTkgMy4zOCAzLjM4IDAgMDAtLjk5Mi0yLjM5OHoiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg=="},{group:"Select your own",id:1,label:"Other"}]},5611:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{Ij:function(){return s.Ij},T8:function(){return s.T8},UZ:function(){return a.UZ},d7:function(){return a.d7},iY:function(){return r.i},lq:function(){return a.lq},pk:function(){return s.pk},zG:function(){return a.zG}});var r=n(4202),o=n(1609),s=n(1828),a=n(6111),l=e([o]);o=(l.then?(await l)():l)[0],i()}catch(e){i(e)}})},4202:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var i,r=((i={}).LANDING="LANDING",i.LOGIN="LOGIN",i.HOME="HOME",i.CRIME_SCRIPT="CRIME_SCRIPT",i.SETTINGS="SETTINGS",i.ABOUT="ABOUT",i.CASE="CASE",i)},1609:function(e,t,n){"use strict";n.a(e,async function(e,t){try{var i=n(8531),r=e([i]);function o(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}i=(r.then?(await r)():r)[0];t()}catch(e){t(e)}})},9138:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{h9:function(){return a},m:function(){return s}});var r=n(8531),o=e([r]);r=(o.then?(await o)():o)[0];var s=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,r.t)("MISC"),n=function(t,n){return e?"".concat(t,' (in "').concat(n,'")'):t};return[{id:"1",label:(0,r.t)("INCREASE_EFFORT"),icon:"fitness_center",sub:[{id:"1_1",label:(0,r.t)("TARGET_HARDEN","TITLE"),desc:(0,r.t)("TARGET_HARDEN","DESC")},{id:"1_2",label:(0,r.t)("CONTROL_ACCESS","TITLE"),desc:(0,r.t)("CONTROL_ACCESS","DESC")},{id:"1_3",label:(0,r.t)("SCREEN_EXITS","TITLE"),desc:(0,r.t)("SCREEN_EXITS","DESC")},{id:"1_4",label:(0,r.t)("DEFLECT_OFFENDERS","TITLE"),desc:(0,r.t)("DEFLECT_OFFENDERS","DESC")},{id:"1_5",label:(0,r.t)("CONTROL_TOOLS","TITLE"),desc:(0,r.t)("CONTROL_TOOLS","DESC")}]},{id:"2",label:(0,r.t)("INCREASE_RISKS"),icon:"warning",sub:[{id:"2_1",label:(0,r.t)("EXTEND_GUARDIANSHIP","TITLE"),desc:(0,r.t)("EXTEND_GUARDIANSHIP","DESC")},{id:"2_2",label:(0,r.t)("ASSIST_SURVEILLANCE","TITLE"),desc:(0,r.t)("ASSIST_SURVEILLANCE","DESC")},{id:"2_3",label:(0,r.t)("REDUCE_ANONYMITY","TITLE"),desc:(0,r.t)("REDUCE_ANONYMITY","DESC")},{id:"2_4",label:(0,r.t)("USE_PLACE_MANAGERS","TITLE"),desc:(0,r.t)("USE_PLACE_MANAGERS","DESC")},{id:"2_5",label:(0,r.t)("STRENGTHEN_SURVEILLANCE","TITLE"),desc:(0,r.t)("STRENGTHEN_SURVEILLANCE","DESC")}]},{id:"3",label:(0,r.t)("REDUCE_REWARDS"),icon:"do_not_disturb",sub:[{id:"3_1",label:(0,r.t)("CONCEAL_TARGETS","TITLE"),desc:(0,r.t)("CONCEAL_TARGETS","DESC")},{id:"3_2",label:(0,r.t)("REMOVE_TARGETS","TITLE"),desc:(0,r.t)("REMOVE_TARGETS","DESC")},{id:"3_3",label:(0,r.t)("IDENTIFY_PROPERTY","TITLE"),desc:(0,r.t)("IDENTIFY_PROPERTY","DESC")},{id:"3_4",label:(0,r.t)("DISRUPT_MARKETS","TITLE"),desc:(0,r.t)("DISRUPT_MARKETS","DESC")},{id:"3_5",label:(0,r.t)("DENY_BENEFITS","TITLE"),desc:(0,r.t)("DENY_BENEFITS","DESC")}]},{id:"4",label:(0,r.t)("REDUCE_PROVOCATIONS"),icon:"peace",sub:[{id:"4_1",label:(0,r.t)("REDUCE_FRUSTRATIONS","TITLE"),desc:(0,r.t)("REDUCE_FRUSTRATIONS","DESC")},{id:"4_2",label:(0,r.t)("AVOID_DISPUTES","TITLE"),desc:(0,r.t)("AVOID_DISPUTES","DESC")},{id:"4_3",label:(0,r.t)("REDUCE_TEMPTATION","TITLE"),desc:(0,r.t)("REDUCE_TEMPTATION","DESC")},{id:"4_4",label:(0,r.t)("NEUTRALIZE_PRESSURE","TITLE"),desc:(0,r.t)("NEUTRALIZE_PRESSURE","DESC")},{id:"4_5",label:(0,r.t)("DISCOURAGE_IMITATION","TITLE"),desc:(0,r.t)("DISCOURAGE_IMITATION","DESC")}]},{id:"5",label:(0,r.t)("REMOVE_EXCUSES"),icon:"delete",sub:[{id:"5_1",label:(0,r.t)("SET_RULES","TITLE"),desc:(0,r.t)("SET_RULES","DESC")},{id:"5_2",label:(0,r.t)("POST_INSTRUCTIONS","TITLE"),desc:(0,r.t)("POST_INSTRUCTIONS","DESC")},{id:"5_3",label:(0,r.t)("ALERT_CONSCIENCE","TITLE"),desc:(0,r.t)("ALERT_CONSCIENCE","DESC")},{id:"5_4",label:(0,r.t)("ASSIST_COMPLIANCE","TITLE"),desc:(0,r.t)("ASSIST_COMPLIANCE","DESC")},{id:"5_5",label:(0,r.t)("CONTROL_DRUGS","TITLE"),desc:(0,r.t)("CONTROL_DRUGS","DESC")}]}].reduce(function(e,t){var i=t.label;return t.sub.forEach(function(t){var r=t.id,o=t.label;return e.push({id:r,label:n(o,i),group:i})}),e},[{id:"0_0",label:n(t,t),group:t,icon:"more_horiz"}])},a=function(){var e=s(!0).reduce(function(e,t){return e.set(t.id,t),e},new Map);return function(t){return e.get(t)}};i()}catch(e){i(e)}})},283:function(e,t,n){"use strict";n.d(t,{Z:function(){return r},d:function(){return i}});var i='\n\n#### Situational Crime Prevention techniques\n\n| Increase the effort | Increase the risks | Reduce the rewards | Reduce provocations | Remove excuses |\n|---------------------|---------------------|---------------------|----------------------|-----------------|\n| 1. Target harden
- Steering column locks and ignition immobilizers
- Anti-robbery screens
- Tamper-proof packaging | 6. Extend guardianship
- Go out in group at night
- Leave signs of occupancy
- Carry cell phone | 11. Conceal targets
- Off-street parking
- Gender-neutral phone directories
- Unmarked armored trucks | 16. Reduce frustrations and stress
- Efficient lines
- Polite service
- Expanded seating
- Soothing music/muted lights | 21. Set rules
- Rental agreements
- Harassment codes
- Hotel registration |\n| 2. Control access to facilities
- Entry phones
- Electronic card access
- Baggage screening | 7. Assist natural surveillance
- Improved street lighting
- Defensible space design
- Support whistleblowers | 12. Remove targets
- Removable car radio
- Women\'s shelters
- Pre-paid cards for pay phones | 17. Avoid disputes
- Separate seating for rival soccer fans
- Reduce crowding in bars
- Fixed cab fares | 22. Post instructions
- "No parking"
- "Private property"
- "Extinguish camp fires" |\n| 3. Screen exits
- Ticket needed for exit
- Export documents
- Electronic merchandise tags | 8. Reduce anonymity
- Taxi driver IDs
- "How\'s my driving?" decals
- School uniforms | 13. Identify property
- Property marking
- Vehicle licensing and parts marking
- Cattle branding | 18. Reduce temptation and arousal
- Controls on violent pornography
- Enforce good behavior on soccer field
- Prohibit racial slurs | 23. Alert conscience
- Roadside speed display boards
- Signatures for customs declarations
- "Shoplifting is stealing" |\n| 4. Deflect offenders
- Street closures
- Separate bathrooms for women
- Disperse pubs | 9. Use place managers
- CCTV for double-deck buses
- Two clerks for convenience stores
- Reward vigilance | 14. Disrupt markets
- Monitor pawn shops
- Controls on classified ads
- License street vendors | 19. Neutralize peer pressure
- "Idiots drink and drive"
- "It\'s OK to say No"
- Disperse troublemakers at school | 24. Assist compliance
- Easy library checkout
- Public lavatories
- Litter receptacles |\n| 5. Control tools/weapons
- "Smart" guns
- Restrict spray paint sales to juveniles
- Toughened beer glasses | 10. Strengthen formal surveillance
- Red light cameras
- Burglar alarms
- Security guards | 15. Deny benefits
- Ink merchandise tags
- Graffiti cleaning
- Disabling stolen cell phones | 20. Discourage imitation
- Rapid repair of vandalism
- V-chips in TVs
- Censor details of modus operandi | 25. Control drugs and alcohol
- Breathalyzers in bars
- Server intervention programs
- Alcohol-free events |\n',r='\n\n#### Situational Crime Prevention technieken\n\n| Verhoog de inspanning | Verhoog de risico\'s | Verminder de beloningen | Verminder provocaties | Verwijder excuses |\n|------------------------|----------------------|--------------------------|-------------------------|---------------------|\n| 1. Doelversteviging
- Stuursloten en startonderbrekers
- Anti-overval schermen
- Manipulatiebestendige verpakking | 6. Breid toezicht uit
- Ga \'s nachts in groep uit
- Laat tekenen van bewoning achter
- Draag een mobiele telefoon | 11. Verberg doelen
- Parkeren buiten de straat
- Genderneutrale telefoongidsen
- Ongemarkeerde gepantserde vrachtwagens | 16. Verminder frustraties en stress
- Effici\xebnte rijen
- Beleefde service
- Uitgebreide zitplaatsen
- Rustgevende muziek/gedempte verlichting | 21. Stel regels op
- Huurovereenkomsten
- Intimidatiecodes
- Hotelregistratie |\n| 2. Controleer toegang tot faciliteiten
- Deurtelefoons
- Elektronische kaart toegang
- Bagagecontrole | 7. Ondersteun natuurlijk toezicht
- Verbeterde straatverlichting
- Verdedigbaar ruimteontwerp
- Ondersteuning van klokkenluiders | 12. Verwijder doelen
- Verwijderbare autoradio
- Vrouwenopvang
- Prepaidkaarten voor openbare telefoons | 17. Vermijd geschillen
- Gescheiden zitplaatsen voor rivaliserende voetbalfans
- Verminder drukte in bars
- Vaste taxitarieven | 22. Plaats instructies
- "Parkeren verboden"
- "Priv\xe9-eigendom"
- "Doof kampvuren" |\n| 3. Controleer uitgangen
- Ticket nodig voor vertrek
- Exportdocumenten
- Elektronische artikelbeveiliging | 8. Verminder anonimiteit
- Taxichauffeur ID\'s
- "Hoe is mijn rijgedrag?" stickers
- Schooluniformen | 13. Identificeer eigendom
- Eigendomsmarkering
- Voertuigregistratie en onderdelenmarkering
- Veemerken | 18. Verminder verleiding en opwinding
- Controles op gewelddadige pornografie
- Handhaaf goed gedrag op voetbalveld
- Verbied racistische opmerkingen | 23. Activeer geweten
- Snelheidsweergaveborden langs de weg
- Handtekeningen voor douaneaangiften
- "Winkeldiefstal is stelen" |\n| 4. Leid overtreders af
- Straatafsluitingen
- Aparte toiletten voor vrouwen
- Verspreid pubs | 9. Gebruik plaatsmanagers
- CCTV voor dubbeldekkers
- Twee bedienden voor gemakswinkels
- Beloon waakzaamheid | 14. Verstoor markten
- Monitor pandjeshuis
- Controles op rubrieksadvertenties
- Vergunning voor straatverkopers | 19. Neutraliseer groepsdruk
- "Idioten drinken en rijden"
- "Het is OK om Nee te zeggen"
- Verspreid onruststokers op school | 24. Help bij naleving
- Eenvoudige bibliotheekuitleen
- Openbare toiletten
- Afvalbakken |\n| 5. Beheers gereedschappen/wapens
- "Slimme" wapens
- Beperk verkoop spuitverf aan jongeren
- Geharde bierglazen | 10. Versterk formeel toezicht
- Roodlichtcamera\'s
- Inbraakalarm
- Beveiligingspersoneel | 15. Ontzeg voordelen
- Inktlabels op artikelen
- Graffiti reiniging
- Uitschakelen gestolen mobiele telefoons | 20. Ontmoedig imitatie
- Snelle reparatie van vandalisme
- V-chips in TV\'s
- Censureer details van modus operandi | 25. Beheers drugs en alcohol
- Ademanalysers in bars
- Interventie programma\'s voor barpersoneel
- Alcoholvrije evenementen |\n'},2921:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{J:function(){return c}});var r=n(5611),o=n(9462),s=n(8308),a=e([r,o,s]);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n2)||void 0===arguments[2]||arguments[2];e.map(function(e){return y.get(e)}).filter(function(e){return void 0!==e}).forEach(function(e){var i;w(e.label,t),null===(i=e.synonyms)||void 0===i||i.forEach(function(e){return w(e,t)}),n&&e.parents&&b(e.parents,[t[0],t[1],t[2],r.Ij.PARENT_MATCH],!1)})};(void 0===a?[]:a).forEach(function(e,t){var n=e.label,i=e.description,a=e.stages,l=[t,-1,-1,r.Ij.OTHER_MATCH];(0,o.wS)((void 0===n?"":n)+" "+(void 0===i?"":i),s.a.stopwords).forEach(function(e){return w(e,l)}),(void 0===a?[]:a).forEach(function(e){var n=e.ids;(void 0===n?[]:n).forEach(function(e){var n=h.findIndex(function(t){return t.id===e});if(!(n<0)){var i=h[n];[function(e){for(var t=1;t 0&&d.roles&&d.roles.length>0&&d.roles[0].length>0},isAdmin:function(){return d.roles.indexOf("admin")>=0},isEditor:function(){return d.roles.indexOf("editor")>=0},isOwner:function(e){return d.isAdmin()||d.isAuthenticated&&e.author&&e.author.indexOf(d.username)>=0},canCRUD:function(e){return d.isAuthenticated&&(d.isAdmin()||d.isOwner(e))},canEdit:function(e){return d.isAuthenticated&&(d.canCRUD(e)||d.isEditor())},setUsername:function(e){d.username=e,localStorage.setItem(u,e),d.login()},setRoles:function(e){d.roles=e,localStorage.setItem(c,e.join(",")),d.login()},setAuthenticated:function(e){d.isAuthenticated=e},login:function(){var e;return(e=function(){return function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1] e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1] 1&&void 0!==arguments[1]?arguments[1]:"",n=this.pages.filter(function(t){return t.id===e}).shift();return n?"#!".concat(n.route.replace(/:\w*/,""),"?").concat(t):this.defaultRoute}},{key:"switchTo",value:function(e,t,n){var i=this.pages.filter(function(t){return t.id===e}).shift();if(i){var r=i.route+(n?"?"+o().buildQueryString(n):"");o().route.set(r,t)}}},{key:"routingTable",value:function(){return this.pages.reduce(function(e,t){return e[t.route]=!1===t.hasNavBar?{render:function(){var e=(0,c.gF)(),n=(0,c.xZ)(e);return o()(t.component,m(f({},e),{actions:n}))}}:{render:function(){var e=(0,c.gF)(),n=(0,c.xZ)(e);return o()(a.A,m(f({},e),{actions:n,options:{}}),o()(t.component,m(f({},e),{actions:n})))}},e},{})}}],h(e.prototype,t),i}());i()}catch(e){i(e)}})},8308:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{a:function(){return y},m:function(){return v},t:function(){return w}});var r=n(4649),o=n(1125),s=n(5988),a=n(9163),l=n(8236),u=n(5368),c=n(3032),d=e([c]);function h(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}function p(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){h(o,i,r,s,a,"next",e)}function a(e){h(o,i,r,s,a,"throw",e)}s(void 0)})}}function f(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1] =0}(e)?e:y.defaultLocale,y.currentLocale=t,y.stopwords="nl"===e?l:u,w=m(e),v.agree=w("I18n","agree"),v.disagree=w("I18n","disagree"),v.cancel=w("I18n","cancel"),v.save=w("I18n","save"),v.editRepeat=w("I18n","editRepeat"),v.createRepeat=w("I18n","createRepeat"),v.deleteItem=w("I18n","deleteItem"),v.pickOne=w("I18n","pickOne"),v.pickOneOrMore=w("I18n","pickOneOrMore"),g.forEach(function(e){return e(y.currentLocale,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y.currentLocale;return y.locales[e].dir||"ltr"}())}),[2])})})).apply(this,arguments)}i()}catch(e){i(e)}})},9462:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{Ds:function(){return g},N5:function(){return L},N6:function(){return N},YD:function(){return D},aR:function(){return w},ad:function(){return f},bN:function(){return x},cb:function(){return C},f5:function(){return _},hF:function(){return j},k3:function(){return v},o2:function(){return b},oY:function(){return k},p6:function(){return y},qP:function(){return A},qV:function(){return S},si:function(){return m},wS:function(){return I},zC:function(){return T}});var r=n(9834),o=n(8531),s=e([o]);function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0&&void 0!==arguments[0]?arguments[0]:new Date,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-",n=new Date(e);return"".concat(n.getFullYear()).concat(t).concat((0,r.Q_)(n.getMonth()+1)).concat(t).concat((0,r.Q_)(n.getDate()))},v=function(){window.scrollTo({top:0,behavior:"smooth"})},w=function(e,t){return" ".repeat(t)+e},b=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map(function(n){var i,r=n.id,s=n.label,a=n.parents;return{id:r,label:s,group:t?void 0:a&&a.length>0?null===(i=e.find(function(e){return e.id===a[0]}))||void 0===i?void 0:i.label:(0,o.t)("OTHER")}})},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t=Array.isArray(t)?t:[t],e.filter(function(e){return t.includes(e.id)})},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return E(e,t).map(function(e){return"- ".concat(e.label)}).join("\n")},x=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return E(e,t).map(function(e,t){return"".concat(t+1,". ").concat(e.label)}).join("\n")},_=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return E(e,t).map(function(e,t){return e.label}).join(", ")},N=function(e){return e.description?' ℹ'.concat(e.description,""):""},A=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=d(e.reduce(function(e,t){var n=d(e,1)[0];if(t.header)e[0]=!0,e[1].push(c(u({},t),{children:[]}));else if(n){var i=e[1][e[1].length-1];i&&i.children.push(u({},t))}else e[1].push(c(u({},t),{children:[]}));return e},[!1,[]]),2),n=(t[0],t[1]);return""+n.map(function(e){var t=e.children.length>0?e.children.map(function(e){return"
"},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.productIds,i=t.geoLocationIds,r=t.locationIds,o=t.roleIds,s=t.attributeIds,a=t.transportIds;return _(e,h(void 0===n?[]:n).concat(h(void 0===i?[]:i),h(void 0===r?[]:r),h(void 0===o?[]:o),h(void 0===s?[]:s),h(void 0===a?[]:a)))},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return o.ag.stemmer.stemText(e).filter(function(e){return e.length>2&&!t.includes(e)})},S=function(e){var t=new Map,n=!0,i=!1,r=void 0;try{for(var o,s=e[Symbol.iterator]();!(n=(o=s.next()).done);n=!0)!function(){var e=d(o.value,4),n=e[0],i=e[1],r=e[2],s=e[3];!t.has(n)&&t.set(n,{crimeScriptIdx:n,totalScore:0,acts:[]});var a=t.get(n);a.totalScore+=s;var l=a.acts.find(function(e){return e.actIdx===i});l?l.score+=s:a.acts.push({actIdx:i,phaseIdx:r,score:s})}()}catch(e){i=!0,r=e}finally{try{!n&&null!=s.return&&s.return()}finally{if(i)throw r}}var a=Array.from(t.values()).sort(function(e,t){if(t.totalScore!==e.totalScore)return t.totalScore-e.totalScore;var n,i,r=(n=Math).max.apply(n,h(e.acts.map(function(e){return e.score})));return(i=Math).max.apply(i,h(t.acts.map(function(e){return e.score})))-r});return a.forEach(function(e){e.acts.sort(function(e,t){return t.score-e.score})}),a},D=function(e){return function(t){return e===t.id?"active":void 0}},k=function(){return window.innerWidth<601},j=function(e,t){var n=e.label,i=t.label;return(void 0===n?"":n).localeCompare(void 0===i?"":i)},C=function(e,t,n){var i=function(e,t){var i,o;!r.has(e)&&r.set(e,[]),null===(o=r.get(e))||void 0===o||o.push({label:t.label,cat:null===(i=n(t.cat))||void 0===i?void 0:i.label})},r=new Map,s=(0,o.t)("OTHER"),a=!0,l=!1,u=void 0;try{for(var c,d=e[Symbol.iterator]();!(a=(c=d.next()).done);a=!0){var h=c.value;if(h.partners&&h.partners.length){var p=!0,f=!1,m=void 0;try{for(var g,y=h.partners[Symbol.iterator]();!(p=(g=y.next()).done);p=!0){var v,w=g.value,b=(null===(v=t.get(w))||void 0===v?void 0:v.label)||s;i(b,h)}}catch(e){f=!0,m=e}finally{try{!p&&null!=y.return&&y.return()}finally{if(f)throw m}}}else i(s,h)}}catch(e){l=!0,u=e}finally{try{!a&&null!=d.return&&d.return()}finally{if(l)throw u}}var E="",T=Array.from(r.entries()).sort(function(e,t){return e[0].localeCompare(t[0])}).map(function(e){return e[0]}),x=!0,_=!1,N=void 0;try{for(var A,L=T[Symbol.iterator]();!(x=(A=L.next()).done);x=!0){var I=A.value,S=r.get(I)||[];E+="###### ".concat(I,"\n\n").concat(S.map(function(e,t){return"".concat(t+1,". **").concat(e.cat,"**: ").concat(e.label)}).join("\n"),"\n\n")}}catch(e){_=!0,N=e}finally{try{!x&&null!=L.return&&L.return()}finally{if(_)throw N}}return console.log(E),E};i()}catch(e){i(e)}})},2738:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{Pr:function(){return b}});var r,o,s=n(5616),a=n(2887),l=n(5611),u=n(8531),c=n(9462),d=n(9138),h=e([l,d,c,u]);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n- ".concat(e.label).concat(N(e),"
")}).join(""):"";return"- ".concat(e.label).concat(N(e)).concat(t?'
")}).join("\n")+"'.concat(t,"
"):"","=0&&""!==x[n]&&!x[n].endsWith("\n")&&x.push(""),x.push("".concat("#".repeat(t)," ").concat(e,"\n"))},N=function(e,t,n){var i=t.label,r=(void 0===i?"":i).split("\n");if(e.push("".concat(n+1,". ").concat(r[0])),r.length>1){for(var o=n<9?3:4,s=1;s 0||e.conditions&&e.conditions.length>0)){if(e.locationIds&&e.locationIds.length>0&&(_((0,u.t)("LOCATIONS",e.locationIds.length),3),x.push(e.locationIds.map(function(e){return T.get(e)}).filter(function(e){return void 0!==e}).map(function(e){return e.label}).join(", ")+"\n")),e.activities&&e.activities.length>0){_((0,u.t)("ACTIVITIES"),4);var t=e.activities.reduce(function(e,t,n){N(e,t,n);var i=t.type?Array.isArray(t.type)?t.type:[t.type]:void 0,r=n<9?3:4;if(i&&i.includes(l.T8.HAS_CAST)&&t.cast){var o=t.cast.map(function(e){var t=T.get(e);return t?t.label:void 0}).filter(function(e){return(void 0===e?"undefined":g(e))!==void 0});e.push((0,c.aR)("- ".concat((0,u.t)("CAST"),": ").concat(o.join(", ")),r))}if(i&&i.includes(l.T8.HAS_SERVICE_PROVIDER)&&t.sp){var s=t.sp.map(function(e){var t=T.get(e);return t?t.label:void 0}).filter(function(e){return(void 0===e?"undefined":g(e))!==void 0});e.push((0,c.aR)("- ".concat((0,u.t)("SERVICE_PROVIDERS"),": ").concat(s.join(", ")),r))}if(i&&i.includes(l.T8.HAS_ATTRIBUTES)&&t.attributes){var a=t.attributes.map(function(e){var t=T.get(e);return t?t.label:void 0}).filter(function(e){return(void 0===e?"undefined":g(e))!==void 0});e.push((0,c.aR)("- ".concat((0,u.t)("ATTRIBUTES"),": ").concat(a.join(", ")),r))}if(i&&i.includes(l.T8.HAS_TRANSPORT)&&t.transports){var d=t.transports.map(function(e){var t=T.get(e);return t?t.label:void 0}).filter(function(e){return(void 0===e?"undefined":g(e))!==void 0});e.push((0,c.aR)("- ".concat((0,u.t)("TRANSPORTS"),": ").concat(d.join(", ")),r))}return e},[]);t.push(""),x.push.apply(x,m(t))}if(e.conditions&&e.conditions.length>0){_((0,u.t)("CONDITIONS"),4);var n=e.conditions.reduce(N,[]);n.push(""),x.push.apply(x,m(n))}if(e.indicators&&e.indicators.length>0){_((0,u.t)("INDICATORS"),4);var i=e.indicators.reduce(N,[]);i.push(""),x.push.apply(x,m(i))}if(e.measures&&e.measures.length>0){_((0,u.t)("MEASURES"),4);var r=(0,c.cb)(e.measures,T,(0,d.h9)());x.push(r)}}})})}),r&&(_((0,u.t)("REFERENCES"),1),r.forEach(function(e,t){var n=e.url?"[".concat(e.label,"](l.url)"):e.label;x.push("".concat(t+1,". ").concat(n," (").concat(e.authors||"",")")),e.description&&x.push((0,c.aR)(e.description,t<9?3:4))})),x.join("\n")},w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,u.t)("TITLE"),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,u.t)("DESCRIPTION"),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return new s.BBB({creator:"TNO",title:e,description:t,styles:{default:{document:{run:{font:"Arial",color:"000000",language:{value:"en-UK"}}}},paragraphStyles:[{id:"Heading1",name:"Heading 1",basedOn:"Normal",next:"Normal",quickFormat:!0,run:{color:y,size:"18pt",bold:!0},paragraph:{spacing:{before:240,after:120}}},{id:"Heading2",name:"Heading 2",basedOn:"Normal",next:"Normal",quickFormat:!0,run:{color:y,size:"16pt",bold:!0},paragraph:{spacing:{before:240,after:120}}},{id:"Heading3",name:"Heading 3",basedOn:"Normal",next:"Normal",quickFormat:!0,run:{color:y,size:"14pt",bold:!0},paragraph:{spacing:{before:240,after:120}}},{id:"Heading4",name:"Heading 4",basedOn:"Normal",next:"Normal",quickFormat:!0,run:{color:y,size:"12pt",bold:!0},paragraph:{spacing:{before:240,after:120}}},{id:"Heading5",name:"Heading 5",basedOn:"Normal",next:"Normal",quickFormat:!0,run:{color:y,bold:!0},paragraph:{spacing:{before:120,after:60}}},{id:"Heading6",name:"Heading 6",basedOn:"Normal",next:"Normal",quickFormat:!0,run:{bold:!0},paragraph:{spacing:{before:120,after:60}}},{id:"aside",name:"Aside",basedOn:"Normal",next:"Normal",run:{color:"999999",italics:!0},paragraph:{indent:{left:720},spacing:{line:276}}},{id:"wellSpaced",name:"Well Spaced",basedOn:"Normal",quickFormat:!0,paragraph:{spacing:{line:276,before:144,after:72}}},{id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0}]},numbering:{config:[{levels:[{level:0,format:s.WaB.DECIMAL,text:"%1.",alignment:s.B1p.END,style:{paragraph:{indent:{left:(0,s.vwV)(.5),hanging:(0,s.vwV)(.1)}}}}],reference:"my-numbering-reference"},{reference:"my-bullet-points",levels:[{level:0,format:s.WaB.BULLET,text:"●",alignment:s.B1p.LEFT,style:{paragraph:{indent:{left:(0,s.vwV)(.5),hanging:(0,s.vwV)(.25)}}}},{level:1,format:s.WaB.BULLET,text:"◦",alignment:s.B1p.LEFT,style:{paragraph:{indent:{left:(0,s.vwV)(.65),hanging:(0,s.vwV)(.15)}}}}]}]},sections:[{children:[new s.nvN({text:e,heading:s.y5t.TITLE})].concat(m(T(n)))}]})};var b=(o=(r=function(e,t,n){var i,r,o,l;return function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1] 1&&void 0!==arguments[1]?arguments[1]:-1,r=e,s=void 0;r 0&&c>i?s.content.push(u):(s&&(s.content.forEach(function(e){n.push(a(e,s))}),s=void 0),d&&n.push(a(u))),++r c&&(s&&(s.content.forEach(function(e){n.push(a(e,s))}),s.content=[]),r=l(r,c))}return s&&s.content.forEach(function(e){n.push(a(e,s))}),r};return l(0),n};i()}catch(e){i(e)}})},5616:function(e,t,n){"use strict";n.d(t,{B1p:function(){return il},BBB:function(){return aH},EpJ:function(){return oT},UDs:function(){return a6},WaB:function(){return s1},hal:function(){return i2},nvN:function(){return sh},vwV:function(){return r2},y5t:function(){return ol}});var i,r,o,s,a,l,u,c,d,h,p,f,m,g,y,v,w,b,E,T,x,_,N,A,L,I,S,D,k,j,C,O,z,R,P,B,U,F,Y,H,W,Q,V,G,K,q,Z,X,J,ee,et,en,ei,er,eo,es,ea,el,eu,ec,ed,eh,ep,ef,em,eg,ey,ev,ew,eb,eM,eE,eT,ex,e_,eN,eA,eL,eI,eS,eD,ek,ej,eC,eO,ez,eR,eP,eB,eU,eF,eY,eH,eW,e$,eQ,eV,eG,eK,eq,eZ,eX,eJ,e0,e1,e2,e4,e3,e5,e6,e8=Object.defineProperty,e9=Object.defineProperties,e7=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,tt=Object.prototype.hasOwnProperty,tn=Object.prototype.propertyIsEnumerable,ti=(e,t,n)=>t in e?e8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tr=(e,t)=>{for(var n in t||(t={}))tt.call(t,n)&&ti(e,n,t[n]);if(te)for(var n of te(t))tn.call(t,n)&&ti(e,n,t[n]);return e},to=(e,t)=>e9(e,e7(t)),ts=(e,t,n)=>ti(e,"symbol"!=typeof t?t+"":t,n),ta=(e,t,n)=>new Promise((i,r)=>{var o=e=>{try{a(n.next(e))}catch(e){r(e)}},s=e=>{try{a(n.throw(e))}catch(e){r(e)}},a=e=>e.done?i(e.value):Promise.resolve(e.value).then(o,s);a((n=n.apply(e,t)).next())});class tl{constructor(e){ts(this,"rootKey"),this.rootKey=e}}let tu=Object.seal({});class tc extends tl{constructor(e){super(e),ts(this,"root"),this.root=[]}prepForXml(e){var t;e.stack.push(this);let n=this.root.map(t=>t instanceof tl?t.prepForXml(e):t).filter(e=>void 0!==e);return e.stack.pop(),{[this.rootKey]:n.length?1===n.length&&(null==(t=n[0])?void 0:t._attr)?n[0]:n:tu}}addChildElement(e){return this.root.push(e),this}}class td extends tc{prepForXml(e){let t=super.prepForXml(e);if(t&&("object"!=typeof t[this.rootKey]||Object.keys(t[this.rootKey]).length))return t}}class th extends tl{constructor(e){super("_attr"),ts(this,"xmlKeys"),this.root=e}prepForXml(e){let t={};return Object.entries(this.root).forEach(([e,n])=>{void 0!==n&&(t[this.xmlKeys&&this.xmlKeys[e]||e]=n)}),{_attr:t}}}class tp extends tl{constructor(e){super("_attr"),this.root=e}prepForXml(e){return{_attr:Object.values(this.root).filter(({value:e})=>void 0!==e).reduce((e,{key:t,value:n})=>to(tr({},e),{[t]:n}),{})}}}class tf extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{val:"w:val",color:"w:color",fill:"w:fill",space:"w:space",sz:"w:sz",type:"w:type",rsidR:"w:rsidR",rsidRPr:"w:rsidRPr",rsidSect:"w:rsidSect",w:"w:w",h:"w:h",top:"w:top",right:"w:right",bottom:"w:bottom",left:"w:left",header:"w:header",footer:"w:footer",gutter:"w:gutter",linePitch:"w:linePitch",pos:"w:pos"})}}var tm="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function tg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ty={},tv={exports:{}},tw="object"==typeof Reflect?Reflect:null,tb=tw&&"function"==typeof tw.apply?tw.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};l=tw&&"function"==typeof tw.ownKeys?tw.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var tM=Number.isNaN||function(e){return e!=e};function tE(){tE.init.call(this)}tv.exports=tE,tv.exports.once=function(e,t){return new Promise(function(n,i){function r(n){e.removeListener(t,o),i(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",r),n([].slice.call(arguments))}tk(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&tk(e,"error",t,n)}(e,r,{once:!0})})},tE.EventEmitter=tE,tE.prototype._events=void 0,tE.prototype._eventsCount=0,tE.prototype._maxListeners=void 0;var tT=10;function tx(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function t_(e){return void 0===e._maxListeners?tE.defaultMaxListeners:e._maxListeners}function tN(e,t,n,i){if(tx(n),void 0===(s=e._events)?(s=e._events=Object.create(null),e._eventsCount=0):(void 0!==s.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),s=e._events),a=s[t]),void 0===a)a=s[t]=n,++e._eventsCount;else if("function"==typeof a?a=s[t]=i?[n,a]:[a,n]:i?a.unshift(n):a.push(n),(o=t_(e))>0&&a.length>o&&!a.warned){a.warned=!0;var r,o,s,a,l=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=a.length,r=l,console&&console.warn&&console.warn(r)}return e}function tA(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function tL(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=tA.bind(i);return r.listener=n,i.wrapFn=r,r}function tI(e,t,n){var i=e._events;if(void 0===i)return[];var r=i[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=Array(e.length),n=0;n 0&&(o=t[0]),o instanceof Error)throw o;var o,s=Error("Unhandled error."+(o?" ("+o.message+")":""));throw s.context=o,s}var a=r[e];if(void 0===a)return!1;if("function"==typeof a)tb(a,this,t);else{for(var l=a.length,u=tD(a,l),n=0;n =0;o--)if(n[o]===t||n[o].listener===t){s=n[o].listener,r=o;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1 =0;i--)this.removeListener(e,t[i]);return this},tE.prototype.listeners=function(e){return tI(this,e,!0)},tE.prototype.rawListeners=function(e){return tI(this,e,!1)},tE.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):tS.call(e,t)},tE.prototype.listenerCount=tS,tE.prototype.eventNames=function(){return this._eventsCount>0?l(this._events):[]};function tk(e,t,n,i){if("function"==typeof e.on)i.once?e.once(t,n):e.on(t,n);else if("function"==typeof e.addEventListener)e.addEventListener(t,function r(o){i.once&&e.removeEventListener(t,r),n(o)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}var tj=tv.exports,tC={exports:{}};"function"==typeof Object.create?tC.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:tC.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}};var tO=tC.exports,tz={exports:{}},tR=tz.exports={};function tP(){throw Error("setTimeout has not been defined")}function tB(){throw Error("clearTimeout has not been defined")}function tU(e){if(u===setTimeout)return setTimeout(e,0);if((u===tP||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}!function(){try{u="function"==typeof setTimeout?setTimeout:tP}catch(e){u=tP}try{c="function"==typeof clearTimeout?clearTimeout:tB}catch(e){c=tB}}();var tF=[],tY=!1,tH=-1;function tW(){if(!!tY&&!!d)tY=!1,d.length?tF=d.concat(tF):tH=-1,tF.length&&t$()}function t$(){if(!tY){var e=tU(tW);tY=!0;for(var t=tF.length;t;){for(d=tF,tF=[];++tH 1)for(var n=1;n 0?u-4:u;for(a=0;a >16&255,d[h++]=o>>8&255,d[h++]=255&o;return 2===c&&(o=t[e.charCodeAt(a)]<<2|t[e.charCodeAt(a+1)]>>4,d[h++]=255&o),1===c&&(o=t[e.charCodeAt(a)]<<10|t[e.charCodeAt(a+1)]<<4|t[e.charCodeAt(a+2)]>>2,d[h++]=o>>8&255,d[h++]=255&o),d},tZ.fromByteArray=function(t){for(var n,i=t.length,r=i%3,o=[],s=0,a=i-r;s>18&63]+e[r>>12&63]+e[r>>6&63]+e[63&r])}return s.join("")}(t,s,s+16383>a?a:s+16383));return 1===r?(n=t[i-1],o.push(e[n>>2]+e[n<<4&63]+"==")):2===r&&(n=(t[i-2]<<8)+t[i-1],o.push(e[n>>10]+e[n>>4&63]+e[n<<2&63]+"=")),o.join("")};for(var e=[],t=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,o=i.length;r
0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var i=n===t?0:4-n%4;return[n,i]}return t["-".charCodeAt(0)]=62,t["_".charCodeAt(0)]=63,tZ}(),n=m?tX:(m=1,tX.read=function(e,t,n,i,r){var o,s,a=8*r-i-1,l=(1<>1,c=-7,d=n?r-1:0,h=n?-1:1,p=e[t+d];for(d+=h,o=p&(1<<-c)-1,p>>=-c,c+=a;c>0;o=256*o+e[t+d],d+=h,c-=8);for(s=o&(1<<-c)-1,o>>=-c,c+=i;c>0;s=256*s+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,i),o-=u}return(p?-1:1)*s*Math.pow(2,o-i)},tX.write=function(e,t,n,i,r,o){var s,a,l,u=8*o-r-1,c=(1<>1,h=23===r?5960464477539062e-23:0,p=i?0:o-1,f=i?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,r),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,r),s=0));r>=8;e[n+p]=255&a,p+=f,a/=256,r-=8);for(s=s< 0;e[n+p]=255&s,p+=f,s/=256,u-=8);e[n+p-f]|=128*m},tX),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=o,e.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},e.INSPECT_MAX_BYTES=50;e.kMaxLength=0x7fffffff,o.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!o.TYPED_ARRAY_SUPPORT&&"undefined"!=typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function r(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,o.prototype),t}function o(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return l(e)}return s(e,t,n)}function s(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!o.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|h(e,t),i=r(n),s=i.write(e,t);return s!==n&&(i=i.slice(0,s)),i}(e,t);if(ArrayBuffer.isView(e))return function(e){if(S(e,Uint8Array)){var t=new Uint8Array(e);return c(t.buffer,t.byteOffset,t.byteLength)}return u(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(S(e,ArrayBuffer)||e&&S(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(S(e,SharedArrayBuffer)||e&&S(e.buffer,SharedArrayBuffer)))return c(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(null!=i&&i!==e)return o.from(i,t,n);var s=function(e){if(o.isBuffer(e)){var t=0|d(e.length),n=r(t);return 0===n.length?n:(e.copy(n,0,0,t),n)}if(void 0!==e.length)return"number"!=typeof e.length||function(e){return e!=e}(e.length)?r(0):u(e);if("Buffer"===e.type&&Array.isArray(e.data))return u(e.data)}(e);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function a(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(e,t,n){return s(e,t,n)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function l(e){return a(e),r(e<0?0:0|d(e))}o.alloc=function(e,t,n){var i,o,s;return i=e,o=t,s=n,(a(i),i<=0)?r(i):void 0!==o?"string"==typeof s?r(i).fill(o,s):r(i).fill(o):r(i)},o.allocUnsafe=function(e){return l(e)},o.allocUnsafeSlow=function(e){return l(e)};function u(e){for(var t=e.length<0?0:0|d(e.length),n=r(t),i=0;i =0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+"7fffffff bytes");return 0|e}function h(e,t){if(o.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||S(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return A(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return L(e).length;default:if(r)return i?-1:A(e).length;t=(""+t).toLowerCase(),r=!0}}function p(e,n,i){var r=!1;if((void 0===n||n<0)&&(n=0),n>this.length)return"";if((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(n>>>=0))return"";for(!e&&(e="utf8");;)switch(e){case"hex":return function(e,t,n){var i=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>i)&&(n=i);for(var r="",o=t;o 0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),function(e){return e!=e}(n=+n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return -1;n=e.length-1}else if(n<0){if(!r)return -1;n=0}if("string"==typeof t&&(t=o.from(t,i)),o.isBuffer(t))return 0===t.length?-1:v(e,t,n,i,r);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)return r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n);return v(e,[t],n,i,r)}throw TypeError("val must be string, number or Buffer")}function v(e,t,n,i,r){var o,s=1,a=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,n/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var c=-1;for(o=n;oa&&(n=a-l),o=n;o>=0;o--){for(var d=!0,h=0;h i.length?o.from(s).copy(i,r):Uint8Array.prototype.set.call(i,s,r);else if(o.isBuffer(s))s.copy(i,r);else throw TypeError('"list" argument must be an Array of Buffers');r+=s.length}return i},o.byteLength=h,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t n&&(t+=" ... ")," "},i&&(o.prototype[i]=o.prototype.inspect),o.prototype.compare=function(e,t,n,i,r){if(S(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),t<0||n>e.length||i<0||r>this.length)throw RangeError("out of range index");if(i>=r&&t>=n)return 0;if(i>=r)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,i>>>=0,r>>>=0,this===e)return 0;for(var s=r-i,a=n-t,l=Math.min(s,a),u=this.slice(i,r),c=e.slice(t,n),d=0;d >>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var r,o,s,a,l,u,c,d,h,p,f,m,g,y,v,w,b=this.length-t;if((void 0===n||n>b)&&(n=b),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");!i&&(i="utf8");for(var E=!1;;)switch(i){case"hex":return function(e,t,n,i){n=Number(n)||0;var r=e.length-n;i?(i=Number(i))>r&&(i=r):i=r;var o=t.length;i>o/2&&(i=o/2);for(var s=0;s>8,r=n%256,o.push(r),o.push(i);return o}(y,g.length-v),g,v,w);default:if(E)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),E=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function w(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r 239?4:u>223?3:u>191?2:1;if(r+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(o=e[r+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[r+1],s=e[r+2],(192&o)==128&&(192&s)==128&&(l=(15&u)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[r+1],s=e[r+2],a=e[r+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(l=(15&u)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),r+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",i=0;i n)throw RangeError("Trying to access beyond buffer length")}function E(e,t,n,i,r,s){if(!o.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>r||t e.length)throw RangeError("Index out of range")}function T(e,t,n,i,r,o){if(n+i>e.length||n<0)throw RangeError("Index out of range")}function x(e,t,i,r,o){return t=+t,i>>>=0,!o&&T(e,t,i,4),n.write(e,t,i,r,23,4),i+4}function _(e,t,i,r,o){return t=+t,i>>>=0,!o&&T(e,t,i,8),n.write(e,t,i,r,52,8),i+8}o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,!n&&b(e,t,this.length);for(var i=this[e],r=1,o=0;++o >>=0,t>>>=0,!n&&b(e,t,this.length);for(var i=this[e+--t],r=1;t>0&&(r*=256);)i+=this[e+--t]*r;return i},o.prototype.readUint8=o.prototype.readUInt8=function(e,t){return e>>>=0,!t&&b(e,1,this.length),this[e]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(e,t){return e>>>=0,!t&&b(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(e,t){return e>>>=0,!t&&b(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(e,t){return e>>>=0,!t&&b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(e,t){return e>>>=0,!t&&b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,!n&&b(e,t,this.length);for(var i=this[e],r=1,o=0;++o =(r*=128)&&(i-=Math.pow(2,8*t)),i},o.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,!n&&b(e,t,this.length);for(var i=t,r=1,o=this[e+--i];i>0&&(r*=256);)o+=this[e+--i]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return(e>>>=0,!t&&b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,!t&&b(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},o.prototype.readInt16BE=function(e,t){e>>>=0,!t&&b(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},o.prototype.readInt32LE=function(e,t){return e>>>=0,!t&&b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,!t&&b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,!t&&b(e,4,this.length),n.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,!t&&b(e,4,this.length),n.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,!t&&b(e,8,this.length),n.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,!t&&b(e,8,this.length),n.read(this,e,!1,52,8)},o.prototype.writeUintLE=o.prototype.writeUIntLE=function(e,t,n,i){if(e=+e,t>>>=0,n>>>=0,!i){var r=Math.pow(2,8*n)-1;E(this,e,t,n,r,0)}var o=1,s=0;for(this[t]=255&e;++s >>=0,n>>>=0,!i){var r=Math.pow(2,8*n)-1;E(this,e,t,n,r,0)}var o=n-1,s=1;for(this[t+o]=255&e;--o>=0&&(s*=256);)this[t+o]=e/s&255;return t+n},o.prototype.writeUint8=o.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,!n&&E(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,!n&&E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,!n&&E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,!n&&E(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,!n&&E(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}var o=0,s=1,a=0;for(this[t]=255&e;++o >0)-a&255;return t+n},o.prototype.writeIntBE=function(e,t,n,i){if(e=+e,t>>>=0,!i){var r=Math.pow(2,8*n-1);E(this,e,t,n,r-1,-r)}var o=n-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s>>0)-a&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,!n&&E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,!n&&E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,!n&&E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,!n&&E(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,!n&&E(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,n){return x(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return x(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return _(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return _(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,i){if(!o.isBuffer(e))throw TypeError("argument should be a Buffer");if(!n&&(n=0),!i&&0!==i&&(i=this.length),t>=e.length&&(t=e.length),!t&&(t=0),i>0&&i =this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t >>=0,n=void 0===n?this.length:n>>>0,!e&&(e=0),"number"==typeof e)for(r=t;r 55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(t-=3)>-1&&o.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),r=n;continue}n=(r-55296<<10|n-56320)+65536}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return o}function L(e){return t.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(N,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,n,i){for(var r=0;r=t.length)&&!(r>=e.length);++r)t[r+n]=e[r];return r}function S(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function D(e){return e!=e}var k=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n){for(var i=16*n,r=0;r<16;++r)t[i+r]=e[n]+e[r]}return t}()}(tq),tq)}var t0={},t1={};function t2(){return v?y:(v=1,y=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0})}function t4(){if(b)return w;b=1;var e=t2();return w=function(){return e()&&!!Symbol.toStringTag}}function t3(){return D?S:(D=1,S=SyntaxError)}function t5(){return j?k:(j=1,k=TypeError)}function t6(){if(H)return Y;H=1;var e=function(){if(F)return U;F=1;var e=Object.prototype.toString,t=Math.max,n=function(e,t){for(var n=[],i=0;i 1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');if(null===H(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Z(e),i=n.length>0?n[0]:"",r=X("%"+i+"%",t),a=r.name,l=r.value,u=!1,d=r.alias;d&&(i=d[0],U(n,j([0,1],d)));for(var h=1,p=!0;h =n.length){var y=c(l,f);l=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:l[f]}else p=k(l,f),l=l[f];p&&!u&&(v[a]=l)}}return l}}var t9={exports:{}};function t7(){if(q)return K;q=1;var e=t8()("%Object.defineProperty%",!0)||!1;if(e)try{e({},"a",{value:1})}catch(t){e=!1}return K=e}function ne(){if(X)return Z;X=1;var e=t8()("%Object.getOwnPropertyDescriptor%",!0);if(e)try{e([],"length")}catch(t){e=null}return Z=e}function nt(){var e,t,n,i,r,o,s,a,l,u,c;if(eo)return t9.exports;return eo=1,e=t9,t=t6(),n=t8(),i=function(){if(er)return ei;er=1;var e=t8(),t=function(){if(ee)return J;ee=1;var e=t7(),t=t3(),n=t5(),i=ne();return J=function(r,o,s){if(!r||"object"!=typeof r&&"function"!=typeof r)throw new n("`obj` must be an object or a function`");if("string"!=typeof o&&"symbol"!=typeof o)throw new n("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new n("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new n("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new n("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new n("`loose`, if provided, must be a boolean");var a=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!i&&i(r,o);if(e)e(r,o,{configurable:null===u&&d?d.configurable:!u,enumerable:null===a&&d?d.enumerable:!a,value:s,writable:null===l&&d?d.writable:!l});else if(!c&&(a||l||u))throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else r[o]=s}}(),n=(function(){if(en)return et;en=1;var e=t7(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return 1!==e([],"length",{value:1}).length}catch(e){return!0}},et=t})()(),i=ne(),r=t5(),o=e("%Math.floor%");return ei=function(e,s){if("function"!=typeof e)throw new r("`fn` is not a function");if("number"!=typeof s||s<0||s>0xffffffff||o(s)!==s)throw new r("`length` must be a positive 32-bit integer");var a=arguments.length>2&&!!arguments[2],l=!0,u=!0;if("length"in e&&i){var c=i(e,"length");c&&!c.configurable&&(l=!1),c&&!c.writable&&(u=!1)}return(l||u||!a)&&(n?t(e,"length",s,!0,!0):t(e,"length",s)),e}}(),r=t5(),o=n("%Function.prototype.apply%"),s=n("%Function.prototype.call%"),a=n("%Reflect.apply%",!0)||t.call(s,o),l=t7(),u=n("%Math.max%"),e.exports=function(e){if("function"!=typeof e)throw new r("a function is required");var n=a(t,s,arguments);return i(n,1+u(0,e.length-(arguments.length-1)),!0)},c=function(){return a(t,o,arguments)},l?l(e.exports,"apply",{value:c}):e.exports.apply=c,t9.exports}function nn(){if(ea)return es;ea=1;var e=t8(),t=nt(),n=t(e("String.prototype.indexOf"));return es=function(i,r){var o=e(i,!!r);return"function"==typeof o&&n(i,".prototype.")>-1?t(o):o}}function ni(){if(eM)return eb;eM=1;var e=function(){if(em)return ef;em=1;var e=function(){if(ep)return eh;ep=1;var e,t,n=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{e=Object.defineProperty({},"length",{get:function(){throw t}}),t={},i(function(){throw 42},null,e)}catch(e){e!==t&&(i=null)}else i=null;var r=/^\s*class\b/,o=function(e){try{var t=n.call(e);return r.test(t)}catch(e){return!1}},s=function(e){try{if(o(e))return!1;return n.call(e),!0}catch(e){return!1}},a=Object.prototype.toString,l="function"==typeof Symbol&&!!Symbol.toStringTag,u=!(0 in[,]),c=function(){return!1};if("object"==typeof document){var d=document.all;a.call(d)===a.call(document.all)&&(c=function(e){if((u||!e)&&(void 0===e||"object"==typeof e))try{var t=a.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}return eh=i?function(n){if(c(n))return!0;if(!n||"function"!=typeof n&&"object"!=typeof n)return!1;try{i(n,null,e)}catch(e){if(e!==t)return!1}return!o(n)&&s(n)}:function(e){if(c(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(l)return s(e);if(o(e))return!1;var t=a.call(e);return!!("[object Function]"===t||"[object GeneratorFunction]"===t||/^\[object HTML/.test(t))&&s(e)}}(),t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,i=function(e,t,i){for(var r=0,o=e.length;r =3&&(l=a),"[object Array]"===t.call(n)?i(n,s,l):"string"==typeof n?r(n,s,l):o(n,s,l)}}(),t=function(){if(ew)return ev;ew=1;var e=ey?eg:(ey=1,eg=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),t="undefined"==typeof globalThis?tm:globalThis;return ev=function(){for(var n=[],i=0;i -1?t:"Object"===t&&f(e)}return r?p(e):null}}function nr(){return eA?t0:(eA=1,!function(e){var t=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},i=0;i =o)return e;switch(e){case"%s":return String(r[i++]);case"%d":return Number(r[i++]);case"%j":try{return JSON.stringify(r[i++])}catch(e){return"[Circular]"}default:return e}}),l=r[i];i =3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),p(n)?i.showHidden=n:n&&e._extend(i,n),y(i.showHidden)&&(i.showHidden=!1),y(i.depth)&&(i.depth=2),y(i.colors)&&(i.colors=!1),y(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=a),u(i,t,i.depth)}function a(e,t){var n=s.styles[t];return n?"\x1b["+s.colors[n][0]+"m"+e+"\x1b["+s.colors[n][1]+"m":e}function l(e,t){return e}e.debuglog=function(t){if(!i[t=t.toUpperCase()]){if(r.test(t)){var n=tG.pid;i[t]=function(){var i=e.format.apply(e,arguments);console.error("%s %d: %s",t,n,i)}}else i[t]=function(){}}return i[t]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(t,n,i){if(t.customInspect&&n&&T(n.inspect)&&n.inspect!==e.inspect&&!(n.constructor&&n.constructor.prototype===n)){var r,o,s=n.inspect(i,t);return!g(s)&&(s=u(t,s,i)),s}var a=function(e,t){if(y(t))return e.stylize("undefined","undefined");if(g(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return m(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):f(t)?e.stylize("null","null"):void 0}(t,n);if(a)return a;var l=Object.keys(n);var w=(r={},l.forEach(function(e,t){r[e]=!0}),r);if(t.showHidden&&(l=Object.getOwnPropertyNames(n)),E(n)&&(l.indexOf("message")>=0||l.indexOf("description")>=0))return c(n);if(0===l.length){if(T(n)){var x=n.name?": "+n.name:"";return t.stylize("[Function"+x+"]","special")}if(v(n))return t.stylize(RegExp.prototype.toString.call(n),"regexp");if(b(n))return t.stylize(Date.prototype.toString.call(n),"date");if(E(n))return c(n)}var _="",N=!1,L=["{","}"];if(h(n)&&(N=!0,L=["[","]"]),T(n)&&(_=" [Function"+(n.name?": "+n.name:"")+"]"),v(n)&&(_=" "+RegExp.prototype.toString.call(n)),b(n)&&(_=" "+Date.prototype.toUTCString.call(n)),E(n)&&(_=" "+c(n)),0===l.length&&(!N||0==n.length))return L[0]+_+L[1];if(i<0)return v(n)?t.stylize(RegExp.prototype.toString.call(n),"regexp"):t.stylize("[Object]","special");return t.seen.push(n),o=N?function(e,t,n,i,r){for(var o=[],s=0,a=t.length;s60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(o,_,L)}function c(e){return"["+Error.prototype.toString.call(e)+"]"}function d(e,t,n,i,r,o){var s,a,l;if((l=Object.getOwnPropertyDescriptor(t,r)||{value:t[r]}).get?a=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(a=e.stylize("[Setter]","special")),!A(i,r)&&(s="["+r+"]"),!a&&(0>e.seen.indexOf(l.value)?(a=f(n)?u(e,l.value,null):u(e,l.value,n-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+a.split("\n").map(function(e){return" "+e}).join("\n")):a=e.stylize("[Circular]","special")),y(s)){if(o&&r.match(/^\d+$/))return a;(s=JSON.stringify(""+r)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.slice(1,-1),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function h(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function f(e){return null===e}e.types=ex?t1:(ex=1,!function(e){var t=function(){if(eu)return el;eu=1;var e=t4()(),t=nn()("Object.prototype.toString"),n=function(n){return(!e||!n||"object"!=typeof n||!(Symbol.toStringTag in n))&&"[object Arguments]"===t(n)},i=function(e){return!!n(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==t(e)&&"[object Function]"===t(e.callee)},r=function(){return n(arguments)}();return n.isLegacyArguments=i,el=r?n:i}(),n=function(){if(ed)return ec;ed=1;var e,t=Object.prototype.toString,n=Function.prototype.toString,i=/^\s*(?:function)?\*/,r=t4()(),o=Object.getPrototypeOf,s=function(){if(!r)return!1;try{return Function("return function*() {}")()}catch(e){}};return ec=function(a){if("function"!=typeof a)return!1;if(i.test(n.call(a)))return!0;if(!r)return"[object GeneratorFunction]"===t.call(a);if(!o)return!1;if(void 0===e){var l=s();e=!!l&&o(l)}return o(a)===e}}(),i=ni(),r=function(){if(eT)return eE;eT=1;var e=ni();return eE=function(t){return!!e(t)}}();function o(e){return e.call.bind(e)}var s="undefined"!=typeof BigInt,a="undefined"!=typeof Symbol,l=o(Object.prototype.toString),u=o(Number.prototype.valueOf),c=o(String.prototype.valueOf),d=o(Boolean.prototype.valueOf);if(s)var h=o(BigInt.prototype.valueOf);if(a)var p=o(Symbol.prototype.valueOf);function f(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=n,e.isTypedArray=r;e.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch};e.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):r(e)||T(e)};e.isUint8Array=function(e){return"Uint8Array"===i(e)};e.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===i(e)};e.isUint16Array=function(e){return"Uint16Array"===i(e)};e.isUint32Array=function(e){return"Uint32Array"===i(e)};e.isInt8Array=function(e){return"Int8Array"===i(e)};e.isInt16Array=function(e){return"Int16Array"===i(e)};e.isInt32Array=function(e){return"Int32Array"===i(e)};e.isFloat32Array=function(e){return"Float32Array"===i(e)};e.isFloat64Array=function(e){return"Float64Array"===i(e)};e.isBigInt64Array=function(e){return"BigInt64Array"===i(e)};function m(e){return"[object Map]"===l(e)}e.isBigUint64Array=function(e){return"BigUint64Array"===i(e)},m.working="undefined"!=typeof Map&&m(new Map);function g(e){return"[object Set]"===l(e)}e.isMap=function(e){return"undefined"!=typeof Map&&(m.working?m(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set);function y(e){return"[object WeakMap]"===l(e)}e.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},y.working="undefined"!=typeof WeakMap&&y(new WeakMap);function v(e){return"[object WeakSet]"===l(e)}e.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(y.working?y(e):e instanceof WeakMap)},v.working="undefined"!=typeof WeakSet&&v(new WeakSet);function w(e){return"[object ArrayBuffer]"===l(e)}function b(e){return"undefined"!=typeof ArrayBuffer&&(w.working?w(e):e instanceof ArrayBuffer)}function E(e){return"[object DataView]"===l(e)}function T(e){return"undefined"!=typeof DataView&&(E.working?E(e):e instanceof DataView)}e.isWeakSet=function(e){return v(e)},w.working="undefined"!=typeof ArrayBuffer&&w(new ArrayBuffer),e.isArrayBuffer=b,E.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&E(new DataView(new ArrayBuffer(1),0,1)),e.isDataView=T;var x="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function _(e){return"[object SharedArrayBuffer]"===l(e)}function N(e){return void 0!==x&&(void 0===_.working&&(_.working=_(new x)),_.working?_(e):e instanceof x)}e.isSharedArrayBuffer=N;e.isAsyncFunction=function(e){return"[object AsyncFunction]"===l(e)};e.isMapIterator=function(e){return"[object Map Iterator]"===l(e)};e.isSetIterator=function(e){return"[object Set Iterator]"===l(e)};e.isGeneratorObject=function(e){return"[object Generator]"===l(e)};function A(e){return f(e,u)}function L(e){return f(e,c)}function I(e){return f(e,d)}function S(e){return s&&f(e,h)}function D(e){return a&&f(e,p)}e.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===l(e)},e.isNumberObject=A,e.isStringObject=L,e.isBooleanObject=I,e.isBigIntObject=S,e.isSymbolObject=D;e.isBoxedPrimitive=function(e){return A(e)||L(e)||I(e)||S(e)||D(e)};e.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(b(e)||N(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw Error(t+" is not supported in userland")}})})}(t1),t1),e.isArray=h,e.isBoolean=p,e.isNull=f;function m(e){return"number"==typeof e}function g(e){return"string"==typeof e}e.isNullOrUndefined=function(e){return null==e},e.isNumber=m,e.isString=g;function y(e){return void 0===e}function v(e){return w(e)&&"[object RegExp]"===x(e)}function w(e){return"object"==typeof e&&null!==e}function b(e){return w(e)&&"[object Date]"===x(e)}function E(e){return w(e)&&("[object Error]"===x(e)||e instanceof Error)}function T(e){return"function"==typeof e}e.isSymbol=function(e){return"symbol"==typeof e},e.isUndefined=y,e.isRegExp=v,e.types.isRegExp=v,e.isObject=w,e.isDate=b,e.types.isDate=b,e.isError=E,e.types.isNativeError=E,e.isFunction=T;function x(e){return Object.prototype.toString.call(e)}function _(e){return e<10?"0"+e.toString(10):e.toString(10)}e.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},e.isBuffer=eN?e_:(eN=1,e_=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8});var N=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function A(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.log=function(){var t,n;console.log("%s - %s",(n=[_((t=new Date).getHours()),_(t.getMinutes()),_(t.getSeconds())].join(":"),[t.getDate(),N[t.getMonth()],n].join(" ")),e.format.apply(e,arguments))},e.inherits=tO,e._extend=function(e,t){if(!t||!w(t))return e;for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e};var L="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function I(e,t){if(!e){var n=Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}e.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(L&&e[L]){var n=e[L];if("function"!=typeof n)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(n,L,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var t,n,i=new Promise(function(e,i){t=e,n=i}),r=[],o=0;o 2)?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return t("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(e,t,i){if("string"==typeof t&&(r="not ",t.substr(0,r.length)===r))h="must not be",t=t.replace(/^not /,"");else h="must be";if(s=e,a=" argument",(void 0===l||l>s.length)&&(l=s.length),s.substring(l-a.length,l)===a)p="The ".concat(e," ").concat(h," ").concat(n(t,"type"));else{var r,o,s,a,l,u,c,d,h,p,f=(u=e,c=".","number"!=typeof d&&(d=0),d+1>u.length||-1===u.indexOf(c,d))?"argument":"property";p='The "'.concat(e,'" ').concat(f," ").concat(h," ").concat(n(t,"type"))}return p+=". Received type ".concat(typeof i)},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),ns.codes=e,ns}function nl(){if(eC)return ej;eC=1;var e=na().codes.ERR_INVALID_OPT_VALUE;return ej={getHighWaterMark:function(t,n,i,r){var o,s,a,l=(o=n,s=r,a=i,null!=o.highWaterMark?o.highWaterMark:s?o[a]:null);if(null!=l){if(!(isFinite(l)&&Math.floor(l)===l)||l<0)throw new e(r?i:"highWaterMark",l);return Math.floor(l)}return t.objectMode?16:16384}}}function nu(){if(eP)return eR;function e(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,n){var i=e.entry;for(e.entry=null;i;){var r=i.callback;t.pendingcb--,r(n),i=i.next}t.corkedRequestsFree.next=e})(t,e)}}eP=1,eR=E,E.WritableState=b;var t,n,i={deprecate:function(){if(ez)return eO;ez=1,eO=function(t,n){if(e("noDeprecation"))return t;var i=!1;return function(){if(!i){if(e("throwDeprecation"))throw Error(n);e("traceDeprecation")?console.trace(n):console.warn(n);i=!0}return t.apply(this,arguments)}};function e(e){try{if(!tm.localStorage)return!1}catch(e){return!1}var t=tm.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}return eO}()},r=tK(),o=tJ().Buffer,s=tm.Uint8Array||function(){},a=no(),l=nl().getHighWaterMark,u=na().codes,c=u.ERR_INVALID_ARG_TYPE,d=u.ERR_METHOD_NOT_IMPLEMENTED,h=u.ERR_MULTIPLE_CALLBACK,p=u.ERR_STREAM_CANNOT_PIPE,f=u.ERR_STREAM_DESTROYED,m=u.ERR_STREAM_NULL_VALUES,g=u.ERR_STREAM_WRITE_AFTER_END,y=u.ERR_UNKNOWN_ENCODING,v=a.errorOrDestroy;function w(){}function b(n,i,r){t=t||nc(),n=n||{},"boolean"!=typeof r&&(r=i instanceof t),this.objectMode=!!n.objectMode,r&&(this.objectMode=this.objectMode||!!n.writableObjectMode),this.highWaterMark=l(this,n,"writableHighWaterMark",r),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===n.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=n.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var n,i,r,o,s,a,l=e._writableState,u=l.sync,c=l.writecb;if("function"!=typeof c)throw new h;if((n=l).writing=!1,n.writecb=null,n.length-=n.writelen,n.writelen=0,t){;i=e,r=l,o=u,s=t,a=c,--r.pendingcb,o?(tG.nextTick(a,s),tG.nextTick(L,i,r),i._writableState.errorEmitted=!0,v(i,s)):(a(s),i._writableState.errorEmitted=!0,v(i,s),L(i,r))}else{var d=N(l)||e.destroyed;!d&&!l.corked&&!l.bufferProcessing&&l.bufferedRequest&&_(e,l),u?tG.nextTick(x,e,l,d,c):x(e,l,d,c)}})(i,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==n.emitClose,this.autoDestroy=!!n.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}function E(e){var i=this instanceof(t=t||nc());if(!i&&!n.call(E,this))return new E(e);this._writableState=new b(e,this,i),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),r.call(this)}tO(E,r),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},!function(){try{Object.defineProperty(b.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(n=Function.prototype[Symbol.hasInstance],Object.defineProperty(E,Symbol.hasInstance,{value:function(e){return!!n.call(this,e)||this===E&&e&&e._writableState instanceof b}})):n=function(e){return e instanceof this},E.prototype.pipe=function(){v(this,new p)};E.prototype.write=function(e,t,n){var i,r,a,l,u,d,h,p,f,y,b=this._writableState,E=!1;var x=!b.objectMode&&(i=e,o.isBuffer(i)||i instanceof s);if(x&&!o.isBuffer(e)){;r=e,e=o.from(r)}if("function"==typeof t&&(n=t,t=null),x?t="buffer":!t&&(t=b.defaultEncoding),"function"!=typeof n&&(n=w),b.ending){;a=this,l=n,v(a,u=new g),tG.nextTick(l,u)}else{;if(x||(d=this,h=b,p=e,f=n,null===p?y=new m:"string"!=typeof p&&!h.objectMode&&(y=new c("chunk",["string","Buffer"],p)),!y||(v(d,y),tG.nextTick(f,y),0)))b.pendingcb++,E=function(e,t,n,i,r,s){if(!n){var a,l,u,c=(a=t,l=i,u=r,!a.objectMode&&!1!==a.decodeStrings&&"string"==typeof l&&(l=o.from(l,u)),l);i!==c&&(n=!0,r="buffer",i=c)}var d=t.objectMode?1:i.length;t.length+=d;var h=t.length -1))throw new y(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(E.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});Object.defineProperty(E.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function T(e,t,n,i,r,o,s){t.writelen=i,t.writecb=s,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new f("write")):n?e._writev(r,t.onwrite):e._write(r,o,t.onwrite),t.sync=!1}function x(e,t,n,i){!n&&function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,i(),L(e,t)}function _(t,n){n.bufferProcessing=!0;var i=n.bufferedRequest;if(t._writev&&i&&i.next){var r=Array(n.bufferedRequestCount),o=n.corkedRequestsFree;o.entry=i;for(var s=0,a=!0;i;)r[s]=i,!i.isBuf&&(a=!1),i=i.next,s+=1;r.allBuffers=a,T(t,n,!0,n.length,r,"",o.finish),n.pendingcb++,n.lastBufferedRequest=null,o.next?(n.corkedRequestsFree=o.next,o.next=null):n.corkedRequestsFree=new e(n),n.bufferedRequestCount=0}else{for(;i;){var l=i.chunk,u=i.encoding,c=i.callback,d=n.objectMode?1:l.length;if(T(t,n,!1,d,l,u,c),i=i.next,n.bufferedRequestCount--,n.writing)break}null===i&&(n.lastBufferedRequest=null)}n.bufferedRequest=i,n.bufferProcessing=!1}function N(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function A(e,t){e._final(function(n){t.pendingcb--,n&&v(e,n),t.prefinished=!0,e.emit("prefinish"),L(e,t)})}E.prototype._write=function(e,t,n){n(new d("_write()"))},E.prototype._writev=null,E.prototype.end=function(e,t,n){var i=this._writableState;return"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),!i.ending&&function(e,t,n){t.ending=!0,L(e,t),n&&(t.finished?tG.nextTick(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,i,n),this},Object.defineProperty(E.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function L(e,t){var n,i,r=N(t);if(r){;if(n=e,(i=t).prefinished||i.finalCalled||("function"!=typeof n._final||i.destroyed?(i.prefinished=!0,n.emit("prefinish")):(i.pendingcb++,i.finalCalled=!0,tG.nextTick(A,n,i))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy)){var o=e._readableState;(!o||o.autoDestroy&&o.endEmitted)&&e.destroy()}}return r}return Object.defineProperty(E.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){if(!!this._writableState)this._writableState.destroyed=e}}),E.prototype.destroy=a.destroy,E.prototype._undestroy=a.undestroy,E.prototype._destroy=function(e,t){t(e)},eR}function nc(){if(eU)return eB;eU=1;var e=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};eB=s;var t=nm(),n=nu();tO(s,t);for(var i=e(n.prototype),r=0;r >5==6)return 2;if(e>>4==14)return 3;else if(e>>3==30)return 4;return e>>6==2?-1:-2}nd.StringDecoder=n,n.prototype.write=function(e){var t,n;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n =0?(o>0&&(e.lastNeed=o-1),o):--r =0?(o>0&&(e.lastNeed=o-2),o):--r =0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},n.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function r(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function o(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var i=n.charCodeAt(n.length-1);if(i>=55296&&i<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function s(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function a(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function l(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function u(e){return e.toString(this.encoding)}function c(e){return e&&e.length?this.write(e):""}return nd}function nf(){if(eW)return eH;eW=1;var e=na().codes.ERR_STREAM_PREMATURE_CLOSE;function t(){}return eH=function n(i,r,o){if("function"==typeof r)return n(i,null,r);!r&&(r={}),s=o||t,a=!1,o=function(){if(!a){a=!0;for(var e=arguments.length,t=Array(e),n=0;n 0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n}},{key:"concat",value:function(e){if(0===this.length)return t.alloc(0);for(var n,i,r,o=t.allocUnsafe(e>>>0),s=this.head,a=0;s;){;n=s.data,i=o,r=a,t.prototype.copy.call(n,i,r),a+=s.data.length,s=s.next}return o}},{key:"consume",value:function(e,t){var n;return e r.length?r.length:e;if(o===r.length?i+=r:i+=r.slice(0,e),0==(e-=o)){o===r.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=r.slice(o));break}++n}return this.length-=n,i}},{key:"_getBuffer",value:function(e){var n=t.allocUnsafe(e),i=this.head,r=1;for(i.data.copy(n),e-=i.data.length;i=i.next;){var o=i.data,s=e>o.length?o.length:e;if(o.copy(n,n.length-e,0,s),0==(e-=s)){s===o.length?(++r,i.next?this.head=i.next:this.head=this.tail=null):(this.head=i,i.data=o.slice(s));break}++r}return this.length-=r,n}},{key:i,value:function(t,i){return n(this,function(t){for(var n=1;n 0){if("string"!=typeof n&&!c.objectMode&&Object.getPrototypeOf(n)!==a.prototype){;s=n,n=a.from(s)}if(r)c.endEmitted?v(e,new y):x(e,c,n,!0);else if(c.ended)v(e,new m);else{if(c.destroyed)return!1;c.reading=!1,c.decoder&&!i?(n=c.decoder.write(n),c.objectMode||0!==n.length?x(e,c,n,!1):L(e,c)):x(e,c,n,!1)}}else!r&&(c.reading=!1,L(e,c));return!c.ended&&(c.length t.highWaterMark){var n;t.highWaterMark=((n=e)>=0x40000000?n=0x40000000:(n--,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),n)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}E.prototype.read=function(e){t("read",e),e=parseInt(e,10);var n,i=this._readableState,r=e;if(0!==e&&(i.emittedReadable=!1),0===e&&i.needReadable&&((0!==i.highWaterMark?i.length>=i.highWaterMark:i.length>0)||i.ended))return t("read: emitReadable",i.length,i.ended),0===i.length&&i.ended?O(this):N(this),null;if(0===(e=_(e,i))&&i.ended)return 0===i.length&&O(this),null;var o=i.needReadable;return t("need readable",o),(0===i.length||i.length-e 0?C(e,i):null)?(i.needReadable=i.length<=i.highWaterMark,e=0):(i.length-=e,i.awaitDrain=0),0===i.length&&(!i.ended&&(i.needReadable=!0),r!==e&&i.ended&&O(this)),null!==n&&this.emit("data",n),n};function N(e){var n=e._readableState;t("emitReadable",n.needReadable,n.emittedReadable),n.needReadable=!1,!n.emittedReadable&&(t("emitReadable",n.flowing),n.emittedReadable=!0,tG.nextTick(A,e))}function A(e){var n=e._readableState;t("emitReadable_",n.destroyed,n.length,n.ended),!n.destroyed&&(n.length||n.ended)&&(e.emit("readable"),n.emittedReadable=!1),n.needReadable=!n.flowing&&!n.ended&&n.length<=n.highWaterMark,j(e)}function L(e,t){!t.readingMore&&(t.readingMore=!0,tG.nextTick(I,e,t))}function I(e,n){for(;!n.reading&&!n.ended&&(n.length 1&&-1!==R(r.pipes,e))&&!c&&(t("false write response, pause",r.awaitDrain),r.awaitDrain++),i.pause())}function h(n){t("onerror",n),m(),e.removeListener("error",h),0===o(e,"error")&&v(e,n)}function p(){e.removeListener("finish",f),m()}function f(){t("onfinish"),e.removeListener("close",p),m()}function m(){t("unpipe"),i.unpipe(e)}return i.on("data",d),!function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",h),e.once("close",p),e.once("finish",f),e.emit("pipe",i),!r.flowing&&(t("pipe resume"),i.resume()),e};function S(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function D(e){t("readable nexttick read 0"),e.read(0)}E.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(!e&&(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var i=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o 0,!1!==r.flowing&&this.resume()):"readable"===e&&!r.endEmitted&&!r.readableListening&&(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,t("on readable",r.length,r.reading),r.length?N(this):!r.reading&&tG.nextTick(D,this)),i},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(e,t){var n=s.prototype.removeListener.call(this,e,t);return"readable"===e&&tG.nextTick(S,this),n},E.prototype.removeAllListeners=function(e){var t=s.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&tG.nextTick(S,this),t},E.prototype.resume=function(){var e=this._readableState;return!e.flowing&&(t("resume"),e.flowing=!e.readableListening,function(e,t){!t.resumeScheduled&&(t.resumeScheduled=!0,tG.nextTick(k,e,t))}(this,e)),e.paused=!1,this};function k(e,n){t("resume",n.reading),!n.reading&&e.read(0),n.resumeScheduled=!1,e.emit("resume"),j(e),n.flowing&&!n.reading&&e.read(0)}function j(e){var n=e._readableState;for(t("flow",n.flowing);n.flowing&&null!==e.read(););}function C(e,t){var n;return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n)}function O(e){var n=e._readableState;t("endReadable",n.endEmitted),!n.endEmitted&&(n.ended=!0,tG.nextTick(z,n,e))}function z(e,n){if(t("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,n.readable=!1,n.emit("end"),e.autoDestroy)){var i=n._writableState;(!i||i.autoDestroy&&i.finished)&&n.destroy()}}function R(e,t){for(var n=0,i=e.length;n0,p=c=function(e){!a&&(a=e),e&&h.forEach(o),!y&&(h.forEach(o),d(a))},f=!1,c=function(){!f&&(f=!0,p.apply(void 0,arguments))},m=!1,r.on("close",function(){m=!0}),void 0===e&&(e=nf()),e(r,{readable:s,writable:l},function(e){if(e)return c(e);m=!0,c()}),g=!1,function(e){if(!m){if(!g){var t;if(g=!0,(t=r).setHeader&&"function"==typeof t.abort)return r.abort();if("function"==typeof r.destroy)return r.destroy();c(e||new i("pipe"))}}}});return u.reduce(s)}}(),nv.Stream=nv,nv.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function r(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",r),!e._isStdio&&(!t||!1!==t.end)&&(n.on("end",s),n.on("close",a));var o=!1;function s(){!o&&(o=!0,e.end())}function a(){!o&&(o=!0,"function"==typeof e.destroy&&e.destroy())}function l(e){if(u(),0===ny.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",i),e.removeListener("drain",r),n.removeListener("end",s),n.removeListener("close",a),n.removeListener("error",l),e.removeListener("error",l),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",l),e.on("error",l),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e},!function(e){e.parser=function(e,t){return new s(e,t)},e.SAXParser=s,e.SAXStream=l,e.createStream=function(e,t){return new l(e,t)},e.MAX_BUFFER_LENGTH=65536;var t,n,i,r,o=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];function s(t,n){if(!(this instanceof s))return new s(t,n);(function(e){for(var t=0,n=o.length;t "===i?(T(this,"onsgmldeclaration",this.sgmlDecl),this.sgmlDecl="",this.state=w.TEXT):(y(i)&&(this.state=w.SGML_DECL_QUOTED),this.sgmlDecl+=i);continue;case w.SGML_DECL_QUOTED:i===this.q&&(this.state=w.SGML_DECL,this.q=""),this.sgmlDecl+=i;continue;case w.DOCTYPE:">"===i?(this.state=w.TEXT,T(this,"ondoctype",this.doctype),this.doctype=!0):(this.doctype+=i,"["===i?this.state=w.DOCTYPE_DTD:y(i)&&(this.state=w.DOCTYPE_QUOTED,this.q=i));continue;case w.DOCTYPE_QUOTED:this.doctype+=i,i===this.q&&(this.q="",this.state=w.DOCTYPE);continue;case w.DOCTYPE_DTD:this.doctype+=i,"]"===i?this.state=w.DOCTYPE:y(i)&&(this.state=w.DOCTYPE_DTD_QUOTED,this.q=i);continue;case w.DOCTYPE_DTD_QUOTED:this.doctype+=i,i===this.q&&(this.state=w.DOCTYPE_DTD,this.q="");continue;case w.COMMENT:"-"===i?this.state=w.COMMENT_ENDING:this.comment+=i;continue;case w.COMMENT_ENDING:"-"===i?(this.state=w.COMMENT_ENDED,this.comment=_(this.opt,this.comment),this.comment&&T(this,"oncomment",this.comment),this.comment=""):(this.comment+="-"+i,this.state=w.COMMENT);continue;case w.COMMENT_ENDED:">"!==i?(L(this,"Malformed comment"),this.comment+="--"+i,this.state=w.COMMENT):this.state=w.TEXT;continue;case w.CDATA:"]"===i?this.state=w.CDATA_ENDING:this.cdata+=i;continue;case w.CDATA_ENDING:"]"===i?this.state=w.CDATA_ENDING_2:(this.cdata+="]"+i,this.state=w.CDATA);continue;case w.CDATA_ENDING_2:">"===i?(this.cdata&&T(this,"oncdata",this.cdata),T(this,"onclosecdata"),this.cdata="",this.state=w.TEXT):"]"===i?this.cdata+="]":(this.cdata+="]]"+i,this.state=w.CDATA);continue;case w.PROC_INST:"?"===i?this.state=w.PROC_INST_ENDING:g(i)?this.state=w.PROC_INST_BODY:this.procInstName+=i;continue;case w.PROC_INST_BODY:!this.procInstBody&&g(i)||("?"===i?this.state=w.PROC_INST_ENDING:this.procInstBody+=i);continue;case w.PROC_INST_ENDING:">"===i?(T(this,"onprocessinginstruction",{name:this.procInstName,body:this.procInstBody}),this.procInstName=this.procInstBody="",this.state=w.TEXT):(this.procInstBody+="?"+i,this.state=w.PROC_INST_BODY);continue;case w.OPEN_TAG:v(p,i)?this.tagName+=i:(!function(e){!e.strict&&(e.tagName=e.tagName[e.looseCase]());var t=e.tags[e.tags.length-1]||e,n=e.tag={name:e.tagName,attributes:{}};e.opt.xmlns&&(n.ns=t.ns),e.attribList.length=0,T(e,"onopentagstart",n)}(this),">"===i?D(this):"/"===i?this.state=w.OPEN_TAG_SLASH:(!g(i)&&L(this,"Invalid character in tag name"),this.state=w.ATTRIB));continue;case w.OPEN_TAG_SLASH:">"===i?(D(this,!0),k(this)):(L(this,"Forward-slash in opening tag not followed by >"),this.state=w.ATTRIB);continue;case w.ATTRIB:g(i)||(">"===i?D(this):"/"===i?this.state=w.OPEN_TAG_SLASH:v(h,i)?(this.attribName=i,this.attribValue="",this.state=w.ATTRIB_NAME):L(this,"Invalid attribute name"));continue;case w.ATTRIB_NAME:"="===i?this.state=w.ATTRIB_VALUE:">"===i?(L(this,"Attribute without value"),this.attribValue=this.attribName,S(this),D(this)):g(i)?this.state=w.ATTRIB_NAME_SAW_WHITE:v(p,i)?this.attribName+=i:L(this,"Invalid attribute name");continue;case w.ATTRIB_NAME_SAW_WHITE:"="===i?this.state=w.ATTRIB_VALUE:g(i)||(L(this,"Attribute without value"),this.tag.attributes[this.attribName]="",this.attribValue="",T(this,"onattribute",{name:this.attribName,value:""}),this.attribName="",">"===i?D(this):v(h,i)?(this.attribName=i,this.state=w.ATTRIB_NAME):(L(this,"Invalid attribute name"),this.state=w.ATTRIB));continue;case w.ATTRIB_VALUE:g(i)||(y(i)?(this.q=i,this.state=w.ATTRIB_VALUE_QUOTED):(L(this,"Unquoted attribute value"),this.state=w.ATTRIB_VALUE_UNQUOTED,this.attribValue=i));continue;case w.ATTRIB_VALUE_QUOTED:if(i!==this.q){"&"===i?this.state=w.ATTRIB_VALUE_ENTITY_Q:this.attribValue+=i;continue}S(this),this.q="",this.state=w.ATTRIB_VALUE_CLOSED;continue;case w.ATTRIB_VALUE_CLOSED:g(i)?this.state=w.ATTRIB:">"===i?D(this):"/"===i?this.state=w.OPEN_TAG_SLASH:v(h,i)?(L(this,"No whitespace between attributes"),this.attribName=i,this.attribValue="",this.state=w.ATTRIB_NAME):L(this,"Invalid attribute name");continue;case w.ATTRIB_VALUE_UNQUOTED:;if(!(">"===(r=i)||g(r))){"&"===i?this.state=w.ATTRIB_VALUE_ENTITY_U:this.attribValue+=i;continue}S(this),">"===i?D(this):this.state=w.ATTRIB;continue;case w.CLOSE_TAG:if(this.tagName)">"===i?k(this):v(p,i)?this.tagName+=i:this.script?(this.script+=""+this.tagName,this.tagName="",this.state=w.SCRIPT):(!g(i)&&L(this,"Invalid tagname in closing tag"),this.state=w.CLOSE_TAG_SAW_WHITE);else if(g(i));else if(v(h,i))this.tagName=i;else this.script?(this.script+=""+i,this.state=w.SCRIPT):L(this,"Invalid tagname in closing tag.");continue;case w.CLOSE_TAG_SAW_WHITE:if(g(i))continue;">"===i?k(this):L(this,"Invalid characters in closing tag");continue;case w.TEXT_ENTITY:case w.ATTRIB_VALUE_ENTITY_Q:case w.ATTRIB_VALUE_ENTITY_U:switch(this.state){case w.TEXT_ENTITY:s=w.TEXT,a="textNode";break;case w.ATTRIB_VALUE_ENTITY_Q:s=w.ATTRIB_VALUE_QUOTED,a="attribValue";break;case w.ATTRIB_VALUE_ENTITY_U:s=w.ATTRIB_VALUE_UNQUOTED,a="attribValue"}";"===i?(this[a]+=function(e){var t,n=e.entity,i=n.toLowerCase(),r="";return e.ENTITIES[n]?e.ENTITIES[n]:e.ENTITIES[i]?e.ENTITIES[i]:("#"===(n=i).charAt(0)&&(r="x"===n.charAt(1)?(t=parseInt(n=n.slice(2),16)).toString(16):(t=parseInt(n=n.slice(1),10)).toString(10)),n=n.replace(/^0+/,""),isNaN(t)||r.toLowerCase()!==n)?(L(e,"Invalid character entity"),"&"+e.entity+";"):String.fromCodePoint(t)}(this),this.entity="",this.state=s):v(this.entity.length?m:f,i)?this.entity+=i:(L(this,"Invalid character in entity name"),this[a]+="&"+this.entity+i,this.entity="",this.state=s);continue;default:throw Error(this,"Unknown state: "+this.state)}}return this.position>=this.bufferCheckPosition&&!function(t){for(var n=Math.max(e.MAX_BUFFER_LENGTH,10),i=0,r=0,s=o.length;r n)switch(o[r]){case"textNode":x(t);break;case"cdata":T(t,"oncdata",t.cdata),t.cdata="";break;case"script":T(t,"onscript",t.script),t.script="";break;default:N(t,"Max buffer length exceeded: "+o[r])}i=Math.max(i,a)}var l=e.MAX_BUFFER_LENGTH-i;t.bufferCheckPosition=l+t.position}(this),this},resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){var e;e=this,x(e),""!==e.cdata&&(T(e,"oncdata",e.cdata),e.cdata=""),""!==e.script&&(T(e,"onscript",e.script),e.script="")}};try{r=nv.Stream}catch(e){r=function(){}}var a=e.EVENTS.filter(function(e){return"error"!==e&&"end"!==e});function l(e,t){if(!(this instanceof l))return new l(e,t);r.apply(this),this._parser=new s(e,t),this.writable=!0,this.readable=!0;var n=this;this._parser.onend=function(){n.emit("end")},this._parser.onerror=function(e){n.emit("error",e),n._parser.error=null},this._decoder=null,a.forEach(function(e){Object.defineProperty(n,"on"+e,{get:function(){return n._parser["on"+e]},set:function(t){if(!t)return n.removeAllListeners(e),n._parser["on"+e]=t,t;n.on(e,t)},enumerable:!0,configurable:!1})})}l.prototype=Object.create(r.prototype,{constructor:{value:l}}),l.prototype.write=function(e){if("function"==typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)){if(!this._decoder){var t=np().StringDecoder;this._decoder=new t("utf8")}e=this._decoder.write(e)}return this._parser.write(e.toString()),this.emit("data",e),!0},l.prototype.end=function(e){return e&&e.length&&this.write(e),this._parser.end(),!0},l.prototype.on=function(e,t){var n=this;return!n._parser["on"+e]&&-1!==a.indexOf(e)&&(n._parser["on"+e]=function(){var t=1==arguments.length?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,e),n.emit.apply(n,t)}),r.prototype.on.call(n,e,t)};var u="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/2000/xmlns/",d={xml:u,xmlns:c},h=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,p=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/,f=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,m=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function g(e){return" "===e||"\n"===e||"\r"===e||" "===e}function y(e){return'"'===e||"'"===e}function v(e,t){return e.test(t)}var w=0;for(var b in e.STATE={BEGIN:w++,BEGIN_WHITESPACE:w++,TEXT:w++,TEXT_ENTITY:w++,OPEN_WAKA:w++,SGML_DECL:w++,SGML_DECL_QUOTED:w++,DOCTYPE:w++,DOCTYPE_QUOTED:w++,DOCTYPE_DTD:w++,DOCTYPE_DTD_QUOTED:w++,COMMENT_STARTING:w++,COMMENT:w++,COMMENT_ENDING:w++,COMMENT_ENDED:w++,CDATA:w++,CDATA_ENDING:w++,CDATA_ENDING_2:w++,PROC_INST:w++,PROC_INST_BODY:w++,PROC_INST_ENDING:w++,OPEN_TAG:w++,OPEN_TAG_SLASH:w++,ATTRIB:w++,ATTRIB_NAME:w++,ATTRIB_NAME_SAW_WHITE:w++,ATTRIB_VALUE:w++,ATTRIB_VALUE_QUOTED:w++,ATTRIB_VALUE_CLOSED:w++,ATTRIB_VALUE_UNQUOTED:w++,ATTRIB_VALUE_ENTITY_Q:w++,ATTRIB_VALUE_ENTITY_U:w++,CLOSE_TAG:w++,CLOSE_TAG_SAW_WHITE:w++,SCRIPT:w++,SCRIPT_ENDING:w++},e.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},e.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(e.ENTITIES).forEach(function(t){var n=e.ENTITIES[t],i="number"==typeof n?String.fromCharCode(n):n;e.ENTITIES[t]=i}),e.STATE)e.STATE[e.STATE[b]]=b;function E(e,t,n){e[t]&&e[t](n)}function T(e,t,n){e.textNode&&x(e),E(e,t,n)}function x(e){e.textNode=_(e.opt,e.textNode),e.textNode&&E(e,"ontext",e.textNode),e.textNode=""}function _(e,t){return e.trim&&(t=t.trim()),e.normalize&&(t=t.replace(/\s+/g," ")),t}function N(e,t){return x(e),e.trackPosition&&(t+="\nLine: "+e.line+"\nColumn: "+e.column+"\nChar: "+e.c),t=Error(t),e.error=t,E(e,"onerror",t),e}function A(e){return e.sawRoot&&!e.closedRoot&&L(e,"Unclosed root tag"),e.state!==w.BEGIN&&e.state!==w.BEGIN_WHITESPACE&&e.state!==w.TEXT&&N(e,"Unexpected end"),x(e),e.c="",e.closed=!0,E(e,"onend"),s.call(e,e.strict,e.opt),e}function L(e,t){if("object"!=typeof e||!(e instanceof s))throw Error("bad call to strictFail");e.strict&&N(e,t)}w=e.STATE;function I(e,t){var n=0>e.indexOf(":")?["",e]:e.split(":"),i=n[0],r=n[1];return t&&"xmlns"===e&&(i="xmlns",r=""),{prefix:i,local:r}}function S(e){if(!e.strict&&(e.attribName=e.attribName[e.looseCase]()),-1!==e.attribList.indexOf(e.attribName)||e.tag.attributes.hasOwnProperty(e.attribName)){e.attribName=e.attribValue="";return}if(e.opt.xmlns){var t=I(e.attribName,!0),n=t.prefix,i=t.local;if("xmlns"===n){if("xml"===i&&e.attribValue!==u)L(e,"xml: prefix must be bound to "+u+"\nActual: "+e.attribValue);else if("xmlns"===i&&e.attribValue!==c)L(e,"xmlns: prefix must be bound to "+c+"\nActual: "+e.attribValue);else{var r=e.tag,o=e.tags[e.tags.length-1]||e;r.ns===o.ns&&(r.ns=Object.create(o.ns)),r.ns[i]=e.attribValue}}e.attribList.push([e.attribName,e.attribValue])}else e.tag.attributes[e.attribName]=e.attribValue,T(e,"onattribute",{name:e.attribName,value:e.attribValue});e.attribName=e.attribValue=""}function D(e,t){if(e.opt.xmlns){var n=e.tag,i=I(e.tagName);n.prefix=i.prefix,n.local=i.local,n.uri=n.ns[i.prefix]||"",n.prefix&&!n.uri&&(L(e,"Unbound namespace prefix: "+JSON.stringify(e.tagName)),n.uri=i.prefix);var r=e.tags[e.tags.length-1]||e;n.ns&&r.ns!==n.ns&&Object.keys(n.ns).forEach(function(t){T(e,"onopennamespace",{prefix:t,uri:n.ns[t]})});for(var o=0,s=e.attribList.length;o",e.state=w.TEXT;return}if(e.script){if("script"!==e.tagName){e.script+=""+e.tagName+">",e.tagName="",e.state=w.SCRIPT;return}T(e,"onscript",e.script),e.script=""}var t=e.tags.length,n=e.tagName;!e.strict&&(n=n[e.looseCase]());for(var i=n;t--;)if(e.tags[t].name!==i)L(e,"Unexpected close tag");else break;if(t<0){L(e,"Unmatched closing tag: "+e.tagName),e.textNode+=""+e.tagName+">",e.state=w.TEXT;return}e.tagName=n;for(var r=e.tags.length;r-- >t;){var o=e.tag=e.tags.pop();e.tagName=e.tag.name,T(e,"onclosetag",e.tagName);var s={};for(var a in o.ns)s[a]=o.ns[a];var l=e.tags[e.tags.length-1]||e;e.opt.xmlns&&o.ns!==l.ns&&Object.keys(o.ns).forEach(function(t){var n=o.ns[t];T(e,"onclosenamespace",{prefix:t,uri:n})})}0===t&&(e.closedRoot=!0),e.tagName=e.attribValue=e.attribName="",e.attribList.length=0,e.state=w.TEXT}function j(e,t){"<"===t?(e.state=w.OPEN_WAKA,e.startTagPosition=e.position):!g(t)&&(L(e,"Non-whitespace before first tag."),e.textNode=t,e.state=w.TEXT)}function C(e,t){var n="";return t1114111||n(l)!==l)throw RangeError("Invalid code point: "+l);l<=65535?r.push(l):(l-=65536,e=(l>>10)+55296,i=l%1024+56320,r.push(e,i)),(o+1===s||r.length>16384)&&(a+=t.apply(null,r),r.length=0)}return a},Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:i,configurable:!0,writable:!0}):String.fromCodePoint=i}}(ty);var nw=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)},nb={copyOptions:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n},ensureFlagExists:function(e,t){(!(e in t)||"boolean"!=typeof t[e])&&(t[e]=!1)},ensureSpacesExists:function(e){(!("spaces"in e)||"number"!=typeof e.spaces&&"string"!=typeof e.spaces)&&(e.spaces=0)},ensureAlwaysArrayExists:function(e){(!("alwaysArray"in e)||"boolean"!=typeof e.alwaysArray&&!nw(e.alwaysArray))&&(e.alwaysArray=!1)},ensureKeyExists:function(e,t){(!(e+"Key"in t)||"string"!=typeof t[e+"Key"])&&(t[e+"Key"]=t.compact?"_"+e:e)},checkFnExists:function(e,t){return e+"Fn"in t}},nM=nw;function nE(e){var t=Number(e);if(!isNaN(t))return t;var n=e.toLowerCase();return"true"===n||"false"!==n&&e}function nT(e,t){var n;if(e4.compact){if(!e3[e4[e+"Key"]]&&(nM(e4.alwaysArray)?-1!==e4.alwaysArray.indexOf(e4[e+"Key"]):e4.alwaysArray)&&(e3[e4[e+"Key"]]=[]),e3[e4[e+"Key"]]&&!nM(e3[e4[e+"Key"]])&&(e3[e4[e+"Key"]]=[e3[e4[e+"Key"]]]),e+"Fn"in e4&&"string"==typeof t&&(t=e4[e+"Fn"](t,e3)),"instruction"===e&&("instructionFn"in e4||"instructionNameFn"in e4)){for(n in t)if(t.hasOwnProperty(n)){if("instructionFn"in e4)t[n]=e4.instructionFn(t[n],n,e3);else{var i=t[n];delete t[n],t[e4.instructionNameFn(n,i,e3)]=i}}}nM(e3[e4[e+"Key"]])?e3[e4[e+"Key"]].push(t):e3[e4[e+"Key"]]=t}else{!e3[e4.elementsKey]&&(e3[e4.elementsKey]=[]);var r={};if(r[e4.typeKey]=e,"instruction"===e){for(n in t)if(t.hasOwnProperty(n))break;r[e4.nameKey]="instructionNameFn"in e4?e4.instructionNameFn(n,t,e3):n,e4.instructionHasAttributes?(r[e4.attributesKey]=t[n][e4.attributesKey],"instructionFn"in e4&&(r[e4.attributesKey]=e4.instructionFn(r[e4.attributesKey],n,e3))):("instructionFn"in e4&&(t[n]=e4.instructionFn(t[n],n,e3)),r[e4.instructionKey]=t[n])}else e+"Fn"in e4&&(t=e4[e+"Fn"](t,e3)),r[e4[e+"Key"]]=t;e4.addParent&&(r[e4.parentKey]=e3),e3[e4.elementsKey].push(r)}}function nx(e){if("attributesFn"in e4&&e&&(e=e4.attributesFn(e,e3)),(e4.trim||"attributeValueFn"in e4||"attributeNameFn"in e4||e4.nativeTypeAttributes)&&e){var t;for(t in e)if(e.hasOwnProperty(t)&&(e4.trim&&(e[t]=e[t].trim()),e4.nativeTypeAttributes&&(e[t]=nE(e[t])),"attributeValueFn"in e4&&(e[t]=e4.attributeValueFn(e[t],t,e3)),"attributeNameFn"in e4)){var n=e[t];delete e[t],e[e4.attributeNameFn(t,e[t],e3)]=n}}return e}function n_(e){var t={};if(e.body&&("xml"===e.name.toLowerCase()||e4.instructionHasAttributes)){for(var n,i=/([\w:-]+)\s*=\s*(?:"([^"]*)"|'([^']*)'|(\w+))\s*/g;null!==(n=i.exec(e.body));)t[n[1]]=n[2]||n[3]||n[4];t=nx(t)}if("xml"===e.name.toLowerCase()){if(e4.ignoreDeclaration)return;e3[e4.declarationKey]={},Object.keys(t).length&&(e3[e4.declarationKey][e4.attributesKey]=t),e4.addParent&&(e3[e4.declarationKey][e4.parentKey]=e3)}else{if(e4.ignoreInstruction)return;e4.trim&&(e.body=e.body.trim());var r={};e4.instructionHasAttributes&&Object.keys(t).length?(r[e.name]={},r[e.name][e4.attributesKey]=t):r[e.name]=e.body,nT("instruction",r)}}function nN(e,t){var n,i;if("object"==typeof e&&(t=e.attributes,e=e.name),t=nx(t),"elementNameFn"in e4&&(e=e4.elementNameFn(e,e3)),e4.compact){if(n={},!e4.ignoreAttributes&&t&&Object.keys(t).length)for(i in n[e4.attributesKey]={},t)t.hasOwnProperty(i)&&(n[e4.attributesKey][i]=t[i]);!(e in e3)&&(nM(e4.alwaysArray)?-1!==e4.alwaysArray.indexOf(e):e4.alwaysArray)&&(e3[e]=[]),e3[e]&&!nM(e3[e])&&(e3[e]=[e3[e]]),nM(e3[e])?e3[e].push(n):e3[e]=n}else!e3[e4.elementsKey]&&(e3[e4.elementsKey]=[]),(n={})[e4.typeKey]="element",n[e4.nameKey]=e,!e4.ignoreAttributes&&t&&Object.keys(t).length&&(n[e4.attributesKey]=t),e4.alwaysChildren&&(n[e4.elementsKey]=[]),e3[e4.elementsKey].push(n);n[e4.parentKey]=e3,e3=n}function nA(e){if(!e4.ignoreText&&(!!e.trim()||!!e4.captureSpacesBetweenElements))e4.trim&&(e=e.trim()),e4.nativeType&&(e=nE(e)),e4.sanitize&&(e=e.replace(/&/g,"&").replace(//g,">")),nT("text",e)}function nL(e){if(!e4.ignoreComment)e4.trim&&(e=e.trim()),nT("comment",e)}function nI(e){var t=e3[e4.parentKey];!e4.addParent&&delete e3[e4.parentKey],e3=t}function nS(e){if(!e4.ignoreCdata)e4.trim&&(e=e.trim()),nT("cdata",e)}function nD(e){if(!e4.ignoreDoctype)e=e.replace(/^ /,""),e4.trim&&(e=e.trim()),nT("doctype",e)}function nk(e){e.note=e}var nj=function(e,t){var n,i=ty.parser(!0,{}),r={};if(e3=r,n=t,e4=nb.copyOptions(n),nb.ensureFlagExists("ignoreDeclaration",e4),nb.ensureFlagExists("ignoreInstruction",e4),nb.ensureFlagExists("ignoreAttributes",e4),nb.ensureFlagExists("ignoreText",e4),nb.ensureFlagExists("ignoreComment",e4),nb.ensureFlagExists("ignoreCdata",e4),nb.ensureFlagExists("ignoreDoctype",e4),nb.ensureFlagExists("compact",e4),nb.ensureFlagExists("alwaysChildren",e4),nb.ensureFlagExists("addParent",e4),nb.ensureFlagExists("trim",e4),nb.ensureFlagExists("nativeType",e4),nb.ensureFlagExists("nativeTypeAttributes",e4),nb.ensureFlagExists("sanitize",e4),nb.ensureFlagExists("instructionHasAttributes",e4),nb.ensureFlagExists("captureSpacesBetweenElements",e4),nb.ensureAlwaysArrayExists(e4),nb.ensureKeyExists("declaration",e4),nb.ensureKeyExists("instruction",e4),nb.ensureKeyExists("attributes",e4),nb.ensureKeyExists("text",e4),nb.ensureKeyExists("comment",e4),nb.ensureKeyExists("cdata",e4),nb.ensureKeyExists("doctype",e4),nb.ensureKeyExists("type",e4),nb.ensureKeyExists("name",e4),nb.ensureKeyExists("elements",e4),nb.ensureKeyExists("parent",e4),nb.checkFnExists("doctype",e4),nb.checkFnExists("instruction",e4),nb.checkFnExists("cdata",e4),nb.checkFnExists("comment",e4),nb.checkFnExists("text",e4),nb.checkFnExists("instructionName",e4),nb.checkFnExists("elementName",e4),nb.checkFnExists("attributeName",e4),nb.checkFnExists("attributeValue",e4),nb.checkFnExists("attributes",e4),i.opt={strictEntities:!0},i.onopentag=nN,i.ontext=nA,i.oncomment=nL,i.onclosetag=nI,i.onerror=nk,i.oncdata=nS,i.ondoctype=nD,i.onprocessinginstruction=n_,i.write(e).close(),r[e4.elementsKey]){var o=r[e4.elementsKey];delete r[e4.elementsKey],r[e4.elementsKey]=o,delete r.text}return r},nC=nw;function nO(e,t,n){return(!n&&e.spaces?"\n":"")+Array(t+1).join(e.spaces)}function nz(e,t,n){if(t.ignoreAttributes)return"";"attributesFn"in t&&(e=t.attributesFn(e,e6,e5));var i,r,o,s,a=[];for(i in e)e.hasOwnProperty(i)&&null!==e[i]&&void 0!==e[i]&&(s=t.noQuotesForNativeAttributes&&"string"!=typeof e[i]?"":'"',r=(r=""+e[i]).replace(/"/g,"""),o="attributeNameFn"in t?t.attributeNameFn(i,r,e6,e5):i,a.push(t.spaces&&t.indentAttributes?nO(t,n+1,!1):" "),a.push(o+"="+s+("attributeValueFn"in t?t.attributeValueFn(r,i,e6,e5):r)+s));return e&&Object.keys(e).length&&t.spaces&&t.indentAttributes&&a.push(nO(t,n,!1)),a.join("")}function nR(e,t,n){return e5=e,e6="xml",t.ignoreDeclaration?"":""}function nP(e,t,n){if(t.ignoreInstruction)return"";for(i in e)if(e.hasOwnProperty(i))break;var i,r="instructionNameFn"in t?t.instructionNameFn(i,e[i],e6,e5):i;if("object"==typeof e[i])return e5=e,e6=r,""+r+nz(e[i][t.attributesKey],t,n)+"?>";var o=e[i]?e[i]:"";return"instructionFn"in t&&(o=t.instructionFn(o,i,e6,e5)),""+r+(o?" "+o:"")+"?>"}function nB(e,t){return t.ignoreComment?"":"\x3c!--"+("commentFn"in t?t.commentFn(e,e6,e5):e)+"--\x3e"}function nU(e,t){return t.ignoreCdata?"":"","]]]]>"))+"]]>"}function nF(e,t){return t.ignoreDoctype?"":""}function nY(e,t){return t.ignoreText?"":(e=(e=(e=""+e).replace(/&/g,"&")).replace(/&/g,"&").replace(//g,">"),"textFn"in t?t.textFn(e,e6,e5):e)}function nH(e,t,n,i){return e.reduce(function(e,r){var o,s,a,l,u,c,d=nO(t,n,i&&!e);switch(r.type){case"element":;return e+d+(o=r,s=t,a=n,e5=o,e6=o.name,l=[],u="elementNameFn"in s?s.elementNameFn(o.name,o):o.name,l.push("<"+u),o[s.attributesKey]&&l.push(nz(o[s.attributesKey],s,a)),!(c=o[s.elementsKey]&&o[s.elementsKey].length||o[s.attributesKey]&&"preserve"===o[s.attributesKey]["xml:space"])&&(c="fullTagEmptyElementFn"in s?s.fullTagEmptyElementFn(o.name,o):s.fullTagEmptyElement),c?(l.push(">"),o[s.elementsKey]&&o[s.elementsKey].length&&(l.push(nH(o[s.elementsKey],s,a+1)),e5=o,e6=o.name),l.push(s.spaces&&function(e,t){var n;if(e.elements&&e.elements.length)for(n=0;n ")):l.push("/>"),l.join(""));case"comment":return e+d+nB(r[t.commentKey],t);case"doctype":return e+d+nF(r[t.doctypeKey],t);case"cdata":return e+(t.indentCdata?d:"")+nU(r[t.cdataKey],t);case"text":return e+(t.indentText?d:"")+nY(r[t.textKey],t);case"instruction":var h={};return h[r[t.nameKey]]=r[t.attributesKey]?r:r[t.instructionKey],e+(t.indentInstruction?d:"")+nP(h,t,n)}},"")}function nW(e,t,n){var i;for(i in e)if(e.hasOwnProperty(i))switch(i){case t.parentKey:case t.attributesKey:break;case t.textKey:if(t.indentText||n)return!0;break;case t.cdataKey:if(t.indentCdata||n)return!0;break;case t.instructionKey:if(t.indentInstruction||n)return!0;break;case t.doctypeKey:case t.commentKey:default:return!0}return!1}function n$(e,t,n,i){var r,o,s,a=[];for(o in e)if(e.hasOwnProperty(o))for(r=0,s=nC(e[o])?e[o]:[e[o]];r "+o+">":"<"+o+"/>";var s=[];if(t){if(s.push("<"+o),"object"!=typeof e)return s.push(">"+nY(e,n)+""+o+">"),s.join("");e[n.attributesKey]&&s.push(nz(e[n.attributesKey],n,i));var a=nW(e,n,!0)||e[n.attributesKey]&&"preserve"===e[n.attributesKey]["xml:space"];if(!a&&(a="fullTagEmptyElementFn"in n?n.fullTagEmptyElementFn(t,e):n.fullTagEmptyElement),!a)return s.push("/>"),s.join("");s.push(">")}return s.push(n$(e,n,i+1,!1)),e5=e,e6=t,t&&s.push((r?nO(n,i,!1):"")+""+o+">"),s.join("")}(s[r],o,t,n,nW(s[r],t)))}i=i&&!a.length}return a.join("")}var nQ=function(e,t){n=t,i=nb.copyOptions(n),nb.ensureFlagExists("ignoreDeclaration",i),nb.ensureFlagExists("ignoreInstruction",i),nb.ensureFlagExists("ignoreAttributes",i),nb.ensureFlagExists("ignoreText",i),nb.ensureFlagExists("ignoreComment",i),nb.ensureFlagExists("ignoreCdata",i),nb.ensureFlagExists("ignoreDoctype",i),nb.ensureFlagExists("compact",i),nb.ensureFlagExists("indentText",i),nb.ensureFlagExists("indentCdata",i),nb.ensureFlagExists("indentAttributes",i),nb.ensureFlagExists("indentInstruction",i),nb.ensureFlagExists("fullTagEmptyElement",i),nb.ensureFlagExists("noQuotesForNativeAttributes",i),nb.ensureSpacesExists(i),"number"==typeof i.spaces&&(i.spaces=Array(i.spaces+1).join(" ")),nb.ensureKeyExists("declaration",i),nb.ensureKeyExists("instruction",i),nb.ensureKeyExists("attributes",i),nb.ensureKeyExists("text",i),nb.ensureKeyExists("comment",i),nb.ensureKeyExists("cdata",i),nb.ensureKeyExists("doctype",i),nb.ensureKeyExists("type",i),nb.ensureKeyExists("name",i),nb.ensureKeyExists("elements",i),nb.checkFnExists("doctype",i),nb.checkFnExists("instruction",i),nb.checkFnExists("cdata",i),nb.checkFnExists("comment",i),nb.checkFnExists("text",i),nb.checkFnExists("instructionName",i),nb.checkFnExists("elementName",i),nb.checkFnExists("attributeName",i),nb.checkFnExists("attributeValue",i),nb.checkFnExists("attributes",i),nb.checkFnExists("fullTagEmptyElement",i),t=i;var n,i,r=[];return e5=e,e6="_root_",t.compact?r.push(n$(e,t,0,!0)):(e[t.declarationKey]&&r.push(nR(e[t.declarationKey],t,0)),e[t.elementsKey]&&e[t.elementsKey].length&&r.push(nH(e[t.elementsKey],t,0,!r.length))),r.join("")},nV=nj;let nG=e=>{switch(e.type){case void 0:case"element":let t=new nq(e.name,e.attributes);for(let n of e.elements||[]){let e=nG(n);void 0!==e&&t.push(e)}return t;case"text":return e.text;default:return}};class nK extends th{}class nq extends tc{static fromXmlString(e){return nG(nV(e,{compact:!1}))}constructor(e,t){super(e),t&&this.root.push(new nK(t))}push(e){this.root.push(e)}}class nZ extends tc{constructor(e){super(""),this._attr=e}prepForXml(e){return{_attr:this._attr}}}class nX extends tc{constructor(e,t){super(e),t&&(this.root=t.root)}}let nJ=e=>{if(isNaN(e))throw Error(`Invalid value '${e}' specified. Must be an integer.`);return Math.floor(e)},n0=e=>{let t=nJ(e);if(t<0)throw Error(`Invalid value '${e}' specified. Must be a positive integer.`);return t},n1=(e,t)=>{let n=2*t;if(e.length!==n||isNaN(Number(`0x${e}`)))throw Error(`Invalid hex value '${e}'. Expected ${n} digit hex value`);return e},n2=e=>n1(e,1),n4=e=>{let t=e.slice(-2),n=e.substring(0,e.length-2);return`${Number(n)}${t}`},n3=e=>{let t=n4(e);if(0>parseFloat(t))throw Error(`Invalid value '${t}' specified. Expected a positive number.`);return t},n5=e=>"auto"===e?e:n1("#"===e.charAt(0)?e.substring(1):e,3),n6=e=>"string"==typeof e?n4(e):nJ(e),n8=e=>"string"==typeof e?n3(e):n0(e),n9=e=>"string"==typeof e?n3(e):n0(e),n7=e=>e.toISOString();class ie extends tc{constructor(e,t=!0){super(e),!0!==t&&this.root.push(new tf({val:t}))}}class it extends tc{constructor(e,t){super(e),this.root.push(new tf({val:n8(t)}))}}class ii extends tc{constructor(e,t){super(e),this.root.push(new tf({val:t}))}}let ir=(e,t)=>new ia({name:e,attributes:{value:{key:"w:val",value:t}}});class io extends tc{constructor(e,t){super(e),this.root.push(new tf({val:t}))}}class is extends tc{constructor(e,t){super(e),this.root.push(t)}}class ia extends tc{constructor({name:e,attributes:t,children:n}){super(e),t&&this.root.push(new tp(t)),n&&this.root.push(...n)}}let il={START:"start",CENTER:"center",END:"end",BOTH:"both",MEDIUM_KASHIDA:"mediumKashida",DISTRIBUTE:"distribute",NUM_TAB:"numTab",HIGH_KASHIDA:"highKashida",LOW_KASHIDA:"lowKashida",THAI_DISTRIBUTE:"thaiDistribute",LEFT:"left",RIGHT:"right",JUSTIFIED:"both"};class iu extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{val:"w:val"})}}class ic extends tc{constructor(e){super("w:jc"),this.root.push(new iu({val:e}))}}class id extends tc{constructor(e,{color:t,size:n,space:i,style:r}){super(e),this.root.push(new ih({style:r,color:void 0===t?void 0:n5(t),size:void 0===n?void 0:n0(n),space:void 0===i?void 0:n0(i)}))}}class ih extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{style:"w:val",color:"w:color",size:"w:sz",space:"w:space"})}}let ip="single",im="none";class ig extends td{constructor(e){super("w:pBdr"),e.top&&this.root.push(new id("w:top",e.top)),e.bottom&&this.root.push(new id("w:bottom",e.bottom)),e.left&&this.root.push(new id("w:left",e.left)),e.right&&this.root.push(new id("w:right",e.right))}}class iy extends tc{constructor(){super("w:pBdr");let e=new id("w:bottom",{color:"auto",space:1,style:ip,size:6});this.root.push(e)}}class iv extends tc{constructor({start:e,end:t,left:n,right:i,hanging:r,firstLine:o}){super("w:ind"),this.root.push(new tp({start:{key:"w:start",value:void 0===e?void 0:n6(e)},end:{key:"w:end",value:void 0===t?void 0:n6(t)},left:{key:"w:left",value:void 0===n?void 0:n6(n)},right:{key:"w:right",value:void 0===i?void 0:n6(i)},hanging:{key:"w:hanging",value:void 0===r?void 0:n9(r)},firstLine:{key:"w:firstLine",value:void 0===o?void 0:n9(o)}}))}}let iw=class extends tc{constructor(){super("w:br")}},ib="begin",iM="end",iE="separate";class iT extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{type:"w:fldCharType",dirty:"w:dirty"})}}class ix extends tc{constructor(e){super("w:fldChar"),this.root.push(new iT({type:ib,dirty:e}))}}class i_ extends tc{constructor(e){super("w:fldChar"),this.root.push(new iT({type:iE,dirty:e}))}}class iN extends tc{constructor(e){super("w:fldChar"),this.root.push(new iT({type:iM,dirty:e}))}}let iA={DEFAULT:"default",PRESERVE:"preserve"};class iL extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{space:"xml:space"})}}class iI extends tc{constructor(){super("w:instrText"),this.root.push(new iL({space:iA.PRESERVE})),this.root.push("PAGE")}}class iS extends tc{constructor(){super("w:instrText"),this.root.push(new iL({space:iA.PRESERVE})),this.root.push("NUMPAGES")}}class iD extends tc{constructor(){super("w:instrText"),this.root.push(new iL({space:iA.PRESERVE})),this.root.push("SECTIONPAGES")}}class ik extends tc{constructor(){super("w:instrText"),this.root.push(new iL({space:iA.PRESERVE})),this.root.push("SECTION")}}class ij extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{fill:"w:fill",color:"w:color",type:"w:val"})}}class iC extends tc{constructor({fill:e,color:t,type:n}){super("w:shd"),this.root.push(new ij({fill:void 0===e?void 0:n5(e),color:void 0===t?void 0:n5(t),type:n}))}}class iO extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{id:"w:id",author:"w:author",date:"w:date"})}}let iz="dot";class iR extends tc{constructor(e){super("w:em"),this.root.push(new tf({val:e}))}}class iP extends iR{constructor(e=iz){super(e)}}class iB extends tc{constructor(e){super("w:spacing"),this.root.push(new tf({val:n6(e)}))}}class iU extends tc{constructor(e){super("w:color"),this.root.push(new tf({val:n5(e)}))}}class iF extends tc{constructor(e){super("w:highlight"),this.root.push(new tf({val:e}))}}class iY extends tc{constructor(e){super("w:highlightCs"),this.root.push(new tf({val:e}))}}let iH=e=>new ia({name:"w:lang",attributes:{value:{key:"w:val",value:e.value},eastAsia:{key:"w:eastAsia",value:e.eastAsia},bidirectional:{key:"w:bidi",value:e.bidirectional}}});class iW extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{ascii:"w:ascii",cs:"w:cs",eastAsia:"w:eastAsia",hAnsi:"w:hAnsi",hint:"w:hint"})}}class i$ extends tc{constructor(e,t){super("w:rFonts"),"string"==typeof e?this.root.push(new iW({ascii:e,cs:e,eastAsia:e,hAnsi:e,hint:t})):this.root.push(new iW(e))}}let iQ=class extends tc{constructor(e){super("w:vertAlign"),this.root.push(new tf({val:e}))}};class iV extends iQ{constructor(){super("superscript")}}class iG extends iQ{constructor(){super("subscript")}}let iK="single";class iq extends tc{constructor(e=iK,t){super("w:u"),this.root.push(new tf({val:e,color:void 0===t?void 0:n5(t)}))}}class iZ extends td{constructor(e){var t,n;if(super("w:rPr"),!e)return;void 0!==e.noProof&&this.push(new ie("w:noProof",e.noProof)),void 0!==e.bold&&this.push(new ie("w:b",e.bold)),(void 0===e.boldComplexScript&&void 0!==e.bold||e.boldComplexScript)&&this.push(new ie("w:bCs",null!=(t=e.boldComplexScript)?t:e.bold)),void 0!==e.italics&&this.push(new ie("w:i",e.italics)),(void 0===e.italicsComplexScript&&void 0!==e.italics||e.italicsComplexScript)&&this.push(new ie("w:iCs",null!=(n=e.italicsComplexScript)?n:e.italics)),e.underline&&this.push(new iq(e.underline.type,e.underline.color)),e.effect&&this.push(new ii("w:effect",e.effect)),e.emphasisMark&&this.push(new iP(e.emphasisMark.type)),e.color&&this.push(new iU(e.color)),e.kern&&this.push(new it("w:kern",e.kern)),e.position&&this.push(new ii("w:position",e.position)),void 0!==e.size&&this.push(new it("w:sz",e.size));let i=void 0===e.sizeComplexScript||!0===e.sizeComplexScript?e.size:e.sizeComplexScript;i&&this.push(new it("w:szCs",i)),void 0!==e.rightToLeft&&this.push(new ie("w:rtl",e.rightToLeft)),void 0!==e.smallCaps?this.push(new ie("w:smallCaps",e.smallCaps)):void 0!==e.allCaps&&this.push(new ie("w:caps",e.allCaps)),void 0!==e.strike&&this.push(new ie("w:strike",e.strike)),void 0!==e.doubleStrike&&this.push(new ie("w:dstrike",e.doubleStrike)),e.subScript&&this.push(new iG),e.superScript&&this.push(new iV),e.style&&this.push(new ii("w:rStyle",e.style)),e.font&&("string"==typeof e.font?this.push(new i$(e.font)):"name"in e.font?this.push(new i$(e.font.name,e.font.hint)):this.push(new i$(e.font))),e.highlight&&this.push(new iF(e.highlight));let r=void 0===e.highlightComplexScript||!0===e.highlightComplexScript?e.highlight:e.highlightComplexScript;r&&this.push(new iY(r)),e.characterSpacing&&this.push(new iB(e.characterSpacing)),void 0!==e.emboss&&this.push(new ie("w:emboss",e.emboss)),void 0!==e.imprint&&this.push(new ie("w:imprint",e.imprint)),e.shading&&this.push(new iC(e.shading)),e.revision&&this.push(new iX(e.revision)),e.border&&this.push(new id("w:bdr",e.border)),void 0!==e.snapToGrid&&this.push(new ie("w:snapToGrid",e.snapToGrid)),e.vanish&&this.push(new ie("w:vanish",e.vanish)),e.specVanish&&this.push(new ie("w:specVanish",e.vanish)),void 0!==e.scale&&this.push(new io("w:w",e.scale)),e.language&&this.push(iH(e.language)),e.math&&this.push(new ie("w:oMath",e.math))}push(e){this.root.push(e)}}class iX extends tc{constructor(e){super("w:rPrChange"),this.root.push(new iO({id:e.id,author:e.author,date:e.date})),this.addChildElement(new iZ(e))}}class iJ extends tc{constructor(e){var t;super("w:t"),"string"==typeof e?(this.root.push(new iL({space:iA.PRESERVE})),this.root.push(e)):(this.root.push(new iL({space:null!=(t=e.space)?t:iA.DEFAULT})),this.root.push(e.text))}}let i0={CURRENT:"CURRENT",TOTAL_PAGES:"TOTAL_PAGES",TOTAL_PAGES_IN_SECTION:"TOTAL_PAGES_IN_SECTION",CURRENT_SECTION:"SECTION"};class i1 extends tc{constructor(e){if(super("w:r"),ts(this,"properties"),this.properties=new iZ(e),this.root.push(this.properties),e.break)for(let t=0;t >6|192,n[i++]=63&a|128;else{;if(o=e,s=r,(64512&o.charCodeAt(s))!=55296||s<0||s+1>=o.length?1:(64512&o.charCodeAt(s+1))!=56320)n[i++]=a>>12|224,n[i++]=a>>6&63|128,n[i++]=63&a|128;else a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++r)),n[i++]=a>>18|240,n[i++]=a>>12&63|128,n[i++]=a>>6&63|128,n[i++]=63&a|128}}}}else for(r=0;r >>24|e>>>8&65280|e<<8&0xff0000|(255&e)<<24)>>>0}i4.toHex=function(e){for(var t="",n=0;n >>0;return s};i4.split32=function(e,t){for(var n=Array(4*e.length),i=0,r=0;i >>24,n[r+1]=o>>>16&255,n[r+2]=o>>>8&255,n[r+3]=255&o):(n[r+3]=o>>>24,n[r+2]=o>>>16&255,n[r+1]=o>>>8&255,n[r]=255&o)}return n};i4.rotr32=function(e,t){return e>>>t|e<<32-t};i4.rotl32=function(e,t){return e< >>32-t};i4.sum32=function(e,t){return e+t>>>0};i4.sum32_3=function(e,t,n){return e+t+n>>>0};i4.sum32_4=function(e,t,n,i){return e+t+n+i>>>0};i4.sum32_5=function(e,t,n,i,r){return e+t+n+i+r>>>0};i4.sum64=function(e,t,n,i){var r=e[t],o=i+e[t+1]>>>0;e[t]=(o>>0,e[t+1]=o};i4.sum64_hi=function(e,t,n,i){return(t+i>>>0 >>0};i4.sum64_lo=function(e,t,n,i){return t+i>>>0};i4.sum64_4_hi=function(e,t,n,i,r,o,s,a){var l,u=t;return l=0+((u=u+i>>>0) >>0) >>0)>>0};i4.sum64_4_lo=function(e,t,n,i,r,o,s,a){return t+i+o+a>>>0};i4.sum64_5_hi=function(e,t,n,i,r,o,s,a,l,u){var c,d=t;return c=0+((d=d+i>>>0) >>0) >>0)>>0)>>0};i4.sum64_5_lo=function(e,t,n,i,r,o,s,a,l,u){return t+i+o+a+u>>>0};i4.rotr64_hi=function(e,t,n){return(t<<32-n|e>>>n)>>>0};i4.rotr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0};i4.shr64_hi=function(e,t,n){return e>>>n};i4.shr64_lo=function(e,t,n){return(e<<32-n|t>>>n)>>>0};var i9={};function i7(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}i9.BlockHash=i7,i7.prototype.update=function(e,t){if(e=i4.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var n=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-n,e.length),0===this.pending.length&&(this.pending=null),e=i4.join32(e,0,e.length-n,this.endian);for(var i=0;i >>24&255,i[r++]=e>>>16&255,i[r++]=e>>>8&255,i[r++]=255&e}else for(o=8,i[r++]=255&e,i[r++]=e>>>8&255,i[r++]=e>>>16&255,i[r++]=e>>>24&255,i[r++]=0,i[r++]=0,i[r++]=0,i[r++]=0;o >>3};rt.g1_256=function(e){return rn(e,17)^rn(e,19)^e>>>10};var rs=i4.rotl32,ra=i4.sum32,rl=i4.sum32_5,ru=rt.ft_1,rc=i9.BlockHash,rd=[0x5a827999,0x6ed9eba1,0x8f1bbcdc,0xca62c1d6];function rh(){if(!(this instanceof rh))return new rh;rc.call(this),this.h=[0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0],this.W=Array(80)}i4.inherits(rh,rc);rh.blockSize=512,rh.outSize=160,rh.hmacStrength=80,rh.padLength=64,rh.prototype._update=function(e,t){for(var n=this.W,i=0;i<16;i++)n[i]=e[t+i];for(;i this.blockSize&&(e=new this.Hash().update(e).digest()),i3(e.length<=this.blockSize);for(var t=e.length;t (n=t)=>{let i="",r=n;for(;r--;)i+=e[Math.random()*e.length|0];return i},r1=(e=21)=>{let t="",n=e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},r2=e=>Math.floor(1440*e),r4=(e=0)=>{let t=e;return()=>++t},r3=()=>r4(),r5=()=>r4(1),r6=()=>r4(),r8=()=>r1().toLowerCase(),r9=e=>r0("1234567890abcdef",e)(),r7=()=>`${r9(8)}-${r9(4)}-${r9(4)}-${r9(4)}-${r9(12)}`;class oe extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{id:"w:id",initials:"w:initials",author:"w:author",date:"w:date"})}}class ot extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{"xmlns:cx":"xmlns:cx","xmlns:cx1":"xmlns:cx1","xmlns:cx2":"xmlns:cx2","xmlns:cx3":"xmlns:cx3","xmlns:cx4":"xmlns:cx4","xmlns:cx5":"xmlns:cx5","xmlns:cx6":"xmlns:cx6","xmlns:cx7":"xmlns:cx7","xmlns:cx8":"xmlns:cx8","xmlns:mc":"xmlns:mc","xmlns:aink":"xmlns:aink","xmlns:am3d":"xmlns:am3d","xmlns:o":"xmlns:o","xmlns:r":"xmlns:r","xmlns:m":"xmlns:m","xmlns:v":"xmlns:v","xmlns:wp14":"xmlns:wp14","xmlns:wp":"xmlns:wp","xmlns:w10":"xmlns:w10","xmlns:w":"xmlns:w","xmlns:w14":"xmlns:w14","xmlns:w15":"xmlns:w15","xmlns:w16cex":"xmlns:w16cex","xmlns:w16cid":"xmlns:w16cid","xmlns:w16":"xmlns:w16","xmlns:w16sdtdh":"xmlns:w16sdtdh","xmlns:w16se":"xmlns:w16se","xmlns:wpg":"xmlns:wpg","xmlns:wpi":"xmlns:wpi","xmlns:wne":"xmlns:wne","xmlns:wps":"xmlns:wps"})}}class on extends tc{constructor({id:e,initials:t,author:n,date:i=new Date,children:r}){for(let o of(super("w:comment"),this.root.push(new oe({id:e,initials:t,author:n,date:i.toISOString()})),r))this.root.push(o)}}class oi extends tc{constructor({children:e}){for(let t of(super("w:comments"),this.root.push(new ot({"xmlns:cx":"http://schemas.microsoft.com/office/drawing/2014/chartex","xmlns:cx1":"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex","xmlns:cx2":"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex","xmlns:cx3":"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex","xmlns:cx4":"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex","xmlns:cx5":"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex","xmlns:cx6":"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex","xmlns:cx7":"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex","xmlns:cx8":"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex","xmlns:mc":"http://schemas.openxmlformats.org/markup-compatibility/2006","xmlns:aink":"http://schemas.microsoft.com/office/drawing/2016/ink","xmlns:am3d":"http://schemas.microsoft.com/office/drawing/2017/model3d","xmlns:o":"urn:schemas-microsoft-com:office:office","xmlns:r":"http://schemas.openxmlformats.org/officeDocument/2006/relationships","xmlns:m":"http://schemas.openxmlformats.org/officeDocument/2006/math","xmlns:v":"urn:schemas-microsoft-com:vml","xmlns:wp14":"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing","xmlns:wp":"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing","xmlns:w10":"urn:schemas-microsoft-com:office:word","xmlns:w":"http://schemas.openxmlformats.org/wordprocessingml/2006/main","xmlns:w14":"http://schemas.microsoft.com/office/word/2010/wordml","xmlns:w15":"http://schemas.microsoft.com/office/word/2012/wordml","xmlns:w16cex":"http://schemas.microsoft.com/office/word/2018/wordml/cex","xmlns:w16cid":"http://schemas.microsoft.com/office/word/2016/wordml/cid","xmlns:w16":"http://schemas.microsoft.com/office/word/2018/wordml","xmlns:w16sdtdh":"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash","xmlns:w16se":"http://schemas.microsoft.com/office/word/2015/wordml/symex","xmlns:wpg":"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup","xmlns:wpi":"http://schemas.microsoft.com/office/word/2010/wordprocessingInk","xmlns:wne":"http://schemas.microsoft.com/office/word/2006/wordml","xmlns:wps":"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"})),e))this.root.push(new on(t))}}class or extends tc{constructor(){super("w:pageBreakBefore")}}let oo="auto";class os extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{after:"w:after",before:"w:before",line:"w:line",lineRule:"w:lineRule",beforeAutoSpacing:"w:beforeAutospacing",afterAutoSpacing:"w:afterAutoSpacing"})}}class oa extends tc{constructor(e){super("w:spacing"),this.root.push(new os(e))}}let ol={HEADING_1:"Heading1",HEADING_2:"Heading2",HEADING_3:"Heading3",HEADING_4:"Heading4",HEADING_5:"Heading5",HEADING_6:"Heading6",TITLE:"Title"},ou=class extends tc{constructor(e){super("w:pStyle"),this.root.push(new tf({val:e}))}};class oc extends tc{constructor(e){for(let t of(super("w:tabs"),e))this.root.push(new op(t))}}let od={LEFT:"left",RIGHT:"right"};class oh extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{val:"w:val",pos:"w:pos",leader:"w:leader"})}}class op extends tc{constructor({type:e,position:t,leader:n}){super("w:tab"),this.root.push(new oh({val:e,pos:t,leader:n}))}}class of extends tc{constructor(e,t){super("w:numPr"),this.root.push(new om(t)),this.root.push(new og(e))}}class om extends tc{constructor(e){if(super("w:ilvl"),e>9)throw Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new tf({val:e}))}}class og extends tc{constructor(e){super("w:numId"),this.root.push(new tf({val:"string"==typeof e?`{${e}}`:e}))}}class oy extends tc{constructor(){super(...arguments),ts(this,"fileChild",Symbol())}}class ov extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{id:"Id",type:"Type",target:"Target",targetMode:"TargetMode"})}}let ow={EXTERNAL:"External"};class ob extends tc{constructor(e,t,n,i){super("Relationship"),this.root.push(new ov({id:e,type:t,target:n,targetMode:i}))}}class oM extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{id:"r:id",history:"w:history",anchor:"w:anchor"})}}class oE extends tc{constructor(e,t,n){super("w:hyperlink"),ts(this,"linkId"),this.linkId=t;let i=new oM({history:1,anchor:n||void 0,id:n?void 0:`rId${this.linkId}`});this.root.push(i),e.forEach(e=>{this.root.push(e)})}}class oT extends tc{constructor(e){super("w:externalHyperlink"),this.options=e}}class ox extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{id:"w:id",name:"w:name"})}}class o_ extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{id:"w:id"})}}class oN{constructor(e){ts(this,"bookmarkUniqueNumericId",r6()),ts(this,"start"),ts(this,"children"),ts(this,"end");let t=this.bookmarkUniqueNumericId();this.start=new oA(e.id,t),this.children=e.children,this.end=new oL(t)}}class oA extends tc{constructor(e,t){super("w:bookmarkStart");let n=new ox({name:e,id:t});this.root.push(n)}}class oL extends tc{constructor(e){super("w:bookmarkEnd");let t=new o_({id:e});this.root.push(t)}}class oI extends tc{constructor(e){super("w:outlineLvl"),this.level=e,this.root.push(new tf({val:e}))}}class oS extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{verticalAlign:"w:val"})}}class oD extends tc{constructor(e){super("w:vAlign"),this.root.push(new oS({verticalAlign:e}))}}class ok extends tc{constructor({space:e,count:t,separate:n,equalWidth:i,children:r}){super("w:cols"),this.root.push(new tp({space:{key:"w:space",value:void 0===e?void 0:n9(e)},count:{key:"w:num",value:void 0===t?void 0:nJ(t)},separate:{key:"w:sep",value:n},equalWidth:{key:"w:equalWidth",value:i}})),!i&&r&&r.forEach(e=>this.addChildElement(e))}}class oj extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{type:"w:type",linePitch:"w:linePitch",charSpace:"w:charSpace"})}}class oC extends tc{constructor(e,t,n){super("w:docGrid"),this.root.push(new oj({type:n,linePitch:nJ(e),charSpace:t?nJ(t):void 0}))}}let oO={DEFAULT:"default",FIRST:"first",EVEN:"even"};class oz extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{type:"w:type",id:"r:id"})}}let oR="w:headerReference",oP="w:footerReference";class oB extends tc{constructor(e,t){super(e),this.root.push(new oz({type:t.type||oO.DEFAULT,id:`rId${t.id}`}))}}let oU=({countBy:e,start:t,restart:n,distance:i})=>new ia({name:"w:lnNumType",attributes:{countBy:{key:"w:countBy",value:void 0===e?void 0:nJ(e)},start:{key:"w:start",value:void 0===t?void 0:nJ(t)},restart:{key:"w:restart",value:n},distance:{key:"w:distance",value:void 0===i?void 0:n9(i)}}});class oF extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{display:"w:display",offsetFrom:"w:offsetFrom",zOrder:"w:zOrder"})}}class oY extends td{constructor(e){if(super("w:pgBorders"),!e)return this;e.pageBorders?this.root.push(new oF({display:e.pageBorders.display,offsetFrom:e.pageBorders.offsetFrom,zOrder:e.pageBorders.zOrder})):this.root.push(new oF({})),e.pageBorderTop&&this.root.push(new id("w:top",e.pageBorderTop)),e.pageBorderLeft&&this.root.push(new id("w:left",e.pageBorderLeft)),e.pageBorderBottom&&this.root.push(new id("w:bottom",e.pageBorderBottom)),e.pageBorderRight&&this.root.push(new id("w:right",e.pageBorderRight))}}class oH extends tc{constructor(e,t,n,i,r,o,s){super("w:pgMar"),this.root.push(new tp({top:{key:"w:top",value:n6(e)},right:{key:"w:right",value:n9(t)},bottom:{key:"w:bottom",value:n6(n)},left:{key:"w:left",value:n9(i)},header:{key:"w:header",value:n9(r)},footer:{key:"w:footer",value:n9(o)},gutter:{key:"w:gutter",value:n9(s)}}))}}class oW extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{start:"w:start",formatType:"w:fmt",separator:"w:chapSep"})}}class o$ extends tc{constructor({start:e,formatType:t,separator:n}){super("w:pgNumType"),this.root.push(new oW({start:void 0===e?void 0:nJ(e),formatType:t,separator:n}))}}let oQ="portrait",oV="landscape";class oG extends tc{constructor(e,t,n){super("w:pgSz");let i=n===oV,r=n9(e),o=n9(t);this.root.push(new tp({width:{key:"w:w",value:i?o:r},height:{key:"w:h",value:i?r:o},orientation:{key:"w:orient",value:n}}))}}class oK extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{val:"w:val"})}}class oq extends tc{constructor(e){super("w:textDirection"),this.root.push(new oK({val:e}))}}class oZ extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{val:"w:val"})}}class oX extends tc{constructor(e){super("w:type"),this.root.push(new oZ({val:e}))}}let oJ=1440,o0=1440,o1=1440,o2=1440,o4=708,o3=708,o5=0,o6=11906,o8=16838,o9=oQ;class o7 extends tc{constructor({page:{size:{width:e=o6,height:t=o8,orientation:n=o9}={},margin:{top:i=oJ,right:r=o0,bottom:o=o1,left:s=o2,header:a=o4,footer:l=o3,gutter:u=o5}={},pageNumbers:c={},borders:d,textDirection:h}={},grid:{linePitch:p=360,charSpace:f,type:m}={},headerWrapperGroup:g={},footerWrapperGroup:y={},lineNumbers:v,titlePage:w,verticalAlign:b,column:E,type:T}={}){super("w:sectPr"),this.addHeaderFooterGroup(oR,g),this.addHeaderFooterGroup(oP,y),T&&this.root.push(new oX(T)),this.root.push(new oG(e,t,n)),this.root.push(new oH(i,r,o,s,a,l,u)),d&&this.root.push(new oY(d)),v&&this.root.push(oU(v)),this.root.push(new o$(c)),E&&this.root.push(new ok(E)),b&&this.root.push(new oD(b)),void 0!==w&&this.root.push(new ie("w:titlePg",w)),h&&this.root.push(new oq(h)),this.root.push(new oC(p,f,m))}addHeaderFooterGroup(e,t){t.default&&this.root.push(new oB(e,{type:oO.DEFAULT,id:t.default.View.ReferenceId})),t.first&&this.root.push(new oB(e,{type:oO.FIRST,id:t.first.View.ReferenceId})),t.even&&this.root.push(new oB(e,{type:oO.EVEN,id:t.even.View.ReferenceId}))}}class se extends tc{constructor(){super("w:body"),ts(this,"sections",[])}addSection(e){let t=this.sections.pop();this.root.push(this.createSectionParagraph(t)),this.sections.push(new o7(e))}prepForXml(e){return 1===this.sections.length&&(this.root.splice(0,1),this.root.push(this.sections.pop())),super.prepForXml(e)}push(e){this.root.push(e)}createSectionParagraph(e){let t=new sh({}),n=new sd({});return n.push(e),t.addChildElement(n),t}}class st extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable",cp:"xmlns:cp",dc:"xmlns:dc",dcterms:"xmlns:dcterms",dcmitype:"xmlns:dcmitype",xsi:"xmlns:xsi",type:"xsi:type",cx:"xmlns:cx",cx1:"xmlns:cx1",cx2:"xmlns:cx2",cx3:"xmlns:cx3",cx4:"xmlns:cx4",cx5:"xmlns:cx5",cx6:"xmlns:cx6",cx7:"xmlns:cx7",cx8:"xmlns:cx8",aink:"xmlns:aink",am3d:"xmlns:am3d",w16cex:"xmlns:w16cex",w16cid:"xmlns:w16cid",w16:"xmlns:w16",w16sdtdh:"xmlns:w16sdtdh",w16se:"xmlns:w16se"})}}class sn extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{color:"w:color",themeColor:"w:themeColor",themeShade:"w:themeShade",themeTint:"w:themeTint"})}}class si extends tc{constructor(e){super("w:background"),this.root.push(new sn({color:void 0===e.color?void 0:n5(e.color),themeColor:e.themeColor,themeShade:void 0===e.themeShade?void 0:n2(e.themeShade),themeTint:void 0===e.themeTint?void 0:n2(e.themeTint)}))}}class sr extends tc{constructor(e){super("w:document"),ts(this,"body"),this.root.push(new st({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",cx:"http://schemas.microsoft.com/office/drawing/2014/chartex",cx1:"http://schemas.microsoft.com/office/drawing/2015/9/8/chartex",cx2:"http://schemas.microsoft.com/office/drawing/2015/10/21/chartex",cx3:"http://schemas.microsoft.com/office/drawing/2016/5/9/chartex",cx4:"http://schemas.microsoft.com/office/drawing/2016/5/10/chartex",cx5:"http://schemas.microsoft.com/office/drawing/2016/5/11/chartex",cx6:"http://schemas.microsoft.com/office/drawing/2016/5/12/chartex",cx7:"http://schemas.microsoft.com/office/drawing/2016/5/13/chartex",cx8:"http://schemas.microsoft.com/office/drawing/2016/5/14/chartex",aink:"http://schemas.microsoft.com/office/drawing/2016/ink",am3d:"http://schemas.microsoft.com/office/drawing/2017/model3d",w16cex:"http://schemas.microsoft.com/office/word/2018/wordml/cex",w16cid:"http://schemas.microsoft.com/office/word/2016/wordml/cid",w16:"http://schemas.microsoft.com/office/word/2018/wordml",w16sdtdh:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash",w16se:"http://schemas.microsoft.com/office/word/2015/wordml/symex",Ignorable:"w14 w15 wp14"})),this.body=new se,e.background&&this.root.push(new si(e.background)),this.root.push(this.body)}add(e){return this.body.push(e),this}get Body(){return this.body}}class so extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{xmlns:"xmlns"})}}class ss extends tc{constructor(){super("Relationships"),this.root.push(new so({xmlns:"http://schemas.openxmlformats.org/package/2006/relationships"}))}createRelationship(e,t,n,i){let r=new ob(`rId${e}`,t,n,i);return this.root.push(r),r}get RelationshipCount(){return this.root.length-1}}class sa{constructor(e){ts(this,"document"),ts(this,"relationships"),this.document=new sr(e),this.relationships=new ss}get View(){return this.document}get Relationships(){return this.relationships}}class sl extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{val:"w:val"})}}class su extends tc{constructor(){super("w:wordWrap"),this.root.push(new sl({val:0}))}}let sc=e=>{var t,n;return new ia({name:"w:framePr",attributes:{anchorLock:{key:"w:anchorLock",value:e.anchorLock},dropCap:{key:"w:dropCap",value:e.dropCap},width:{key:"w:w",value:e.width},height:{key:"w:h",value:e.height},x:{key:"w:x",value:e.position?e.position.x:void 0},y:{key:"w:y",value:e.position?e.position.y:void 0},anchorHorizontal:{key:"w:hAnchor",value:e.anchor.horizontal},anchorVertical:{key:"w:vAnchor",value:e.anchor.vertical},spaceHorizontal:{key:"w:hSpace",value:null==(t=e.space)?void 0:t.horizontal},spaceVertical:{key:"w:vSpace",value:null==(n=e.space)?void 0:n.vertical},rule:{key:"w:hRule",value:e.rule},alignmentX:{key:"w:xAlign",value:e.alignment?e.alignment.x:void 0},alignmentY:{key:"w:yAlign",value:e.alignment?e.alignment.y:void 0},lines:{key:"w:lines",value:e.lines},wrap:{key:"w:wrap",value:e.wrap}}})};class sd extends td{constructor(e){var t,n;if(super("w:pPr"),ts(this,"numberingReferences",[]),!e)return this;e.heading&&this.push(new ou(e.heading)),e.bullet&&this.push(new ou("ListParagraph")),e.numbering&&!e.style&&!e.heading&&!e.numbering.custom&&this.push(new ou("ListParagraph")),e.style&&this.push(new ou(e.style)),void 0!==e.keepNext&&this.push(new ie("w:keepNext",e.keepNext)),void 0!==e.keepLines&&this.push(new ie("w:keepLines",e.keepLines)),e.pageBreakBefore&&this.push(new or),e.frame&&this.push(sc(e.frame)),void 0!==e.widowControl&&this.push(new ie("w:widowControl",e.widowControl)),e.bullet&&this.push(new of(1,e.bullet.level)),e.numbering?(this.numberingReferences.push({reference:e.numbering.reference,instance:null!=(t=e.numbering.instance)?t:0}),this.push(new of(`${e.numbering.reference}-${null!=(n=e.numbering.instance)?n:0}`,e.numbering.level))):!1===e.numbering&&this.push(new of(0,0)),e.border&&this.push(new ig(e.border)),e.thematicBreak&&this.push(new iy),e.shading&&this.push(new iC(e.shading)),e.wordWrap&&this.push(new su),e.overflowPunctuation&&this.push(new ie("w:overflowPunct",e.overflowPunctuation));let i=[...void 0!==e.rightTabStop?[{type:od.RIGHT,position:e.rightTabStop}]:[],...e.tabStops?e.tabStops:[],...void 0!==e.leftTabStop?[{type:od.LEFT,position:e.leftTabStop}]:[]];i.length>0&&this.push(new oc(i)),void 0!==e.bidirectional&&this.push(new ie("w:bidi",e.bidirectional)),e.spacing&&this.push(new oa(e.spacing)),e.indent&&this.push(new iv(e.indent)),void 0!==e.contextualSpacing&&this.push(new ie("w:contextualSpacing",e.contextualSpacing)),e.alignment&&this.push(new ic(e.alignment)),void 0!==e.outlineLevel&&this.push(new oI(e.outlineLevel)),void 0!==e.suppressLineNumbers&&this.push(new ie("w:suppressLineNumbers",e.suppressLineNumbers)),void 0!==e.autoSpaceEastAsianText&&this.push(new ie("w:autoSpaceDN",e.autoSpaceEastAsianText)),e.run&&this.push(new iZ(e.run))}push(e){this.root.push(e)}prepForXml(e){if(e.viewWrapper instanceof sa)for(let t of this.numberingReferences)e.file.Numbering.createConcreteNumberingInstance(t.reference,t.instance);return super.prepForXml(e)}}class sh extends oy{constructor(e){if(super("w:p"),ts(this,"properties"),"string"==typeof e)return this.properties=new sd({}),this.root.push(this.properties),this.root.push(new i2(e)),this;if(this.properties=new sd(e),this.root.push(this.properties),e.text&&this.root.push(new i2(e.text)),e.children)for(let t of e.children){if(t instanceof oN){for(let e of(this.root.push(t.start),t.children))this.root.push(e);this.root.push(t.end);continue}this.root.push(t)}}prepForXml(e){for(let t of this.root)if(t instanceof oT){let n=this.root.indexOf(t),i=new oE(t.options.children,r8());e.viewWrapper.Relationships.createRelationship(i.linkId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",t.options.link,ow.EXTERNAL),this.root[n]=i}return super.prepForXml(e)}addRunToFront(e){return this.root.splice(1,0,e),this}}let sp={style:im,size:0,color:"auto"},sf={style:ip,size:4,color:"auto"};ts(class e extends tc{constructor(e){super("w:tblBorders"),e.top?this.root.push(new id("w:top",e.top)):this.root.push(new id("w:top",sf)),e.left?this.root.push(new id("w:left",e.left)):this.root.push(new id("w:left",sf)),e.bottom?this.root.push(new id("w:bottom",e.bottom)):this.root.push(new id("w:bottom",sf)),e.right?this.root.push(new id("w:right",e.right)):this.root.push(new id("w:right",sf)),e.insideHorizontal?this.root.push(new id("w:insideH",e.insideHorizontal)):this.root.push(new id("w:insideH",sf)),e.insideVertical?this.root.push(new id("w:insideV",e.insideVertical)):this.root.push(new id("w:insideV",sf))}},"NONE",{top:sp,bottom:sp,left:sp,right:sp,insideHorizontal:sp,insideVertical:sp});class sm extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class sg extends tc{constructor(){super("Properties"),this.root.push(new sm({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"}))}}class sy extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{xmlns:"xmlns"})}}class sv extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{contentType:"ContentType",extension:"Extension"})}}class sw extends tc{constructor(e,t){super("Default"),this.root.push(new sv({contentType:e,extension:t}))}}class sb extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{contentType:"ContentType",partName:"PartName"})}}class sM extends tc{constructor(e,t){super("Override"),this.root.push(new sb({contentType:e,partName:t}))}}class sE extends tc{constructor(){super("Types"),this.root.push(new sy({xmlns:"http://schemas.openxmlformats.org/package/2006/content-types"})),this.root.push(new sw("image/png","png")),this.root.push(new sw("image/jpeg","jpeg")),this.root.push(new sw("image/jpeg","jpg")),this.root.push(new sw("image/bmp","bmp")),this.root.push(new sw("image/gif","gif")),this.root.push(new sw("image/svg+xml","svg")),this.root.push(new sw("application/vnd.openxmlformats-package.relationships+xml","rels")),this.root.push(new sw("application/xml","xml")),this.root.push(new sw("application/vnd.openxmlformats-officedocument.obfuscatedFont","odttf")),this.root.push(new sM("application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml","/word/document.xml")),this.root.push(new sM("application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml","/word/styles.xml")),this.root.push(new sM("application/vnd.openxmlformats-package.core-properties+xml","/docProps/core.xml")),this.root.push(new sM("application/vnd.openxmlformats-officedocument.custom-properties+xml","/docProps/custom.xml")),this.root.push(new sM("application/vnd.openxmlformats-officedocument.extended-properties+xml","/docProps/app.xml")),this.root.push(new sM("application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml","/word/numbering.xml")),this.root.push(new sM("application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml","/word/footnotes.xml")),this.root.push(new sM("application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml","/word/settings.xml")),this.root.push(new sM("application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml","/word/comments.xml")),this.root.push(new sM("application/vnd.openxmlformats-officedocument.wordprocessingml.fontTable+xml","/word/fontTable.xml"))}addFooter(e){this.root.push(new sM("application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml",`/word/footer${e}.xml`))}addHeader(e){this.root.push(new sM("application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml",`/word/header${e}.xml`))}}class sT extends tc{constructor(e){super("cp:coreProperties"),this.root.push(new st({cp:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",xsi:"http://www.w3.org/2001/XMLSchema-instance"})),e.title&&this.root.push(new is("dc:title",e.title)),e.subject&&this.root.push(new is("dc:subject",e.subject)),e.creator&&this.root.push(new is("dc:creator",e.creator)),e.keywords&&this.root.push(new is("cp:keywords",e.keywords)),e.description&&this.root.push(new is("dc:description",e.description)),e.lastModifiedBy&&this.root.push(new is("cp:lastModifiedBy",e.lastModifiedBy)),e.revision&&this.root.push(new is("cp:revision",String(e.revision))),this.root.push(new sx("dcterms:created")),this.root.push(new sx("dcterms:modified"))}}class sx extends tc{constructor(e){super(e),this.root.push(new st({type:"dcterms:W3CDTF"})),this.root.push(n7(new Date))}}class s_ extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{xmlns:"xmlns",vt:"xmlns:vt"})}}class sN extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{fmtid:"fmtid",pid:"pid",name:"name"})}}class sA extends tc{constructor(e,t){super("property"),this.root.push(new sN({fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:e.toString(),name:t.name})),this.root.push(new sL(t.value))}}class sL extends tc{constructor(e){super("vt:lpwstr"),this.root.push(e)}}class sI extends tc{constructor(e){for(let t of(super("Properties"),ts(this,"nextId"),ts(this,"properties",[]),this.root.push(new s_({xmlns:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"})),this.nextId=2,e))this.addCustomProperty(t)}prepForXml(e){return this.properties.forEach(e=>this.root.push(e)),super.prepForXml(e)}addCustomProperty(e){this.properties.push(new sA(this.nextId++,e))}}let sS=({id:e,fontKey:t,subsetted:n},i)=>new ia({name:i,attributes:tr({id:{key:"r:id",value:e}},t?{fontKey:{key:"w:fontKey",value:`{${t}}`}}:{}),children:[...n?[new ie("w:subsetted",n)]:[]]}),sD=({name:e,altName:t,panose1:n,charset:i,family:r,notTrueType:o,pitch:s,sig:a,embedRegular:l,embedBold:u,embedItalic:c,embedBoldItalic:d})=>new ia({name:"w:font",attributes:{name:{key:"w:name",value:e}},children:[...t?[ir("w:altName",t)]:[],...n?[ir("w:panose1",n)]:[],...i?[ir("w:charset",i)]:[],...r?[ir("w:family",r)]:[],...o?[new ie("w:notTrueType",o)]:[],...s?[ir("w:pitch",s)]:[],...a?[new ia({name:"w:sig",attributes:{usb0:{key:"w:usb0",value:a.usb0},usb1:{key:"w:usb1",value:a.usb1},usb2:{key:"w:usb2",value:a.usb2},usb3:{key:"w:usb3",value:a.usb3},csb0:{key:"w:csb0",value:a.csb0},csb1:{key:"w:csb1",value:a.csb1}}})]:[],...l?[sS(l,"w:embedRegular")]:[],...u?[sS(u,"w:embedBold")]:[],...c?[sS(c,"w:embedItalic")]:[],...d?[sS(d,"w:embedBoldItalic")]:[]]}),sk=({name:e,index:t,fontKey:n,characterSet:i})=>sD({name:e,sig:{usb0:"E0002AFF",usb1:"C000247B",usb2:"00000009",usb3:"00000000",csb0:"000001FF",csb1:"00000000"},charset:i,family:"auto",pitch:"variable",embedRegular:{fontKey:n,id:`rId${t}`}}),sj=e=>new ia({name:"w:fonts",attributes:{mc:{key:"xmlns:mc",value:"http://schemas.openxmlformats.org/markup-compatibility/2006"},r:{key:"xmlns:r",value:"http://schemas.openxmlformats.org/officeDocument/2006/relationships"},w:{key:"xmlns:w",value:"http://schemas.openxmlformats.org/wordprocessingml/2006/main"},w14:{key:"xmlns:w14",value:"http://schemas.microsoft.com/office/word/2010/wordml"},w15:{key:"xmlns:w15",value:"http://schemas.microsoft.com/office/word/2012/wordml"},w16cex:{key:"xmlns:w16cex",value:"http://schemas.microsoft.com/office/word/2018/wordml/cex"},w16cid:{key:"xmlns:w16cid",value:"http://schemas.microsoft.com/office/word/2016/wordml/cid"},w16:{key:"xmlns:w16",value:"http://schemas.microsoft.com/office/word/2018/wordml"},w16sdtdh:{key:"xmlns:w16sdtdh",value:"http://schemas.microsoft.com/office/word/2020/wordml/sdtdatahash"},w16se:{key:"xmlns:w16se",value:"http://schemas.microsoft.com/office/word/2015/wordml/symex"},Ignorable:{key:"mc:Ignorable",value:"w14 w15 w16se w16cid w16 w16cex w16sdtdh"}},children:e.map((e,t)=>sk({name:e.name,index:t+1,fontKey:e.fontKey}))});class sC{constructor(e){ts(this,"fontTable"),ts(this,"relationships"),ts(this,"fontOptionsWithKey",[]),this.options=e,this.fontOptionsWithKey=e.map(e=>to(tr({},e),{fontKey:r7()})),this.fontTable=sj(this.fontOptionsWithKey),this.relationships=new ss;for(let t=0;t 9)throw Error("Level cannot be greater than 9. Read more here: https://answers.microsoft.com/en-us/msoffice/forum/all/does-word-support-more-than-9-list-levels/d130fdcd-1781-446d-8c84-c6c79124e4d7");this.root.push(new s2({ilvl:nJ(e),tentative:1}))}}class s7 extends s9{}class ae extends tc{constructor(e){super("w:multiLevelType"),this.root.push(new tf({val:e}))}}class at extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{abstractNumId:"w:abstractNumId",restartNumberingAfterBreak:"w15:restartNumberingAfterBreak"})}}class an extends tc{constructor(e,t){for(let n of(super("w:abstractNum"),ts(this,"id"),this.root.push(new at({abstractNumId:nJ(e),restartNumberingAfterBreak:0})),this.root.push(new ae("hybridMultilevel")),this.id=e,t))this.root.push(new s7(n))}}class ai extends tc{constructor(e){super("w:abstractNumId"),this.root.push(new tf({val:e}))}}class ar extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{numId:"w:numId"})}}class ao extends tc{constructor(e){if(super("w:num"),ts(this,"numId"),ts(this,"reference"),ts(this,"instance"),this.numId=e.numId,this.reference=e.reference,this.instance=e.instance,this.root.push(new ar({numId:nJ(e.numId)})),this.root.push(new ai(nJ(e.abstractNumId))),e.overrideLevels&&e.overrideLevels.length)for(let t of e.overrideLevels)this.root.push(new aa(t.num,t.start))}}class as extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{ilvl:"w:ilvl"})}}class aa extends tc{constructor(e,t){super("w:lvlOverride"),this.root.push(new as({ilvl:e})),void 0!==t&&this.root.push(new au(t))}}class al extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{val:"w:val"})}}class au extends tc{constructor(e){super("w:startOverride"),this.root.push(new al({val:e}))}}class ac extends tc{constructor(e){super("w:numbering"),ts(this,"abstractNumberingMap",new Map),ts(this,"concreteNumberingMap",new Map),ts(this,"referenceConfigMap",new Map),ts(this,"abstractNumUniqueNumericId",r3()),ts(this,"concreteNumUniqueNumericId",r5()),this.root.push(new st({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"}));let t=new an(this.abstractNumUniqueNumericId(),[{level:0,format:s1.BULLET,text:"●",alignment:il.LEFT,style:{paragraph:{indent:{left:r2(.5),hanging:r2(.25)}}}},{level:1,format:s1.BULLET,text:"○",alignment:il.LEFT,style:{paragraph:{indent:{left:r2(1),hanging:r2(.25)}}}},{level:2,format:s1.BULLET,text:"■",alignment:il.LEFT,style:{paragraph:{indent:{left:2160,hanging:r2(.25)}}}},{level:3,format:s1.BULLET,text:"●",alignment:il.LEFT,style:{paragraph:{indent:{left:2880,hanging:r2(.25)}}}},{level:4,format:s1.BULLET,text:"○",alignment:il.LEFT,style:{paragraph:{indent:{left:3600,hanging:r2(.25)}}}},{level:5,format:s1.BULLET,text:"■",alignment:il.LEFT,style:{paragraph:{indent:{left:4320,hanging:r2(.25)}}}},{level:6,format:s1.BULLET,text:"●",alignment:il.LEFT,style:{paragraph:{indent:{left:5040,hanging:r2(.25)}}}},{level:7,format:s1.BULLET,text:"●",alignment:il.LEFT,style:{paragraph:{indent:{left:5760,hanging:r2(.25)}}}},{level:8,format:s1.BULLET,text:"●",alignment:il.LEFT,style:{paragraph:{indent:{left:6480,hanging:r2(.25)}}}}]);for(let n of(this.concreteNumberingMap.set("default-bullet-numbering",new ao({numId:1,abstractNumId:t.id,reference:"default-bullet-numbering",instance:0,overrideLevels:[{num:0,start:1}]})),this.abstractNumberingMap.set("default-bullet-numbering",t),e.config))this.abstractNumberingMap.set(n.reference,new an(this.abstractNumUniqueNumericId(),n.levels)),this.referenceConfigMap.set(n.reference,n.levels)}prepForXml(e){for(let e of this.abstractNumberingMap.values())this.root.push(e);for(let e of this.concreteNumberingMap.values())this.root.push(e);return super.prepForXml(e)}createConcreteNumberingInstance(e,t){let n=this.abstractNumberingMap.get(e);if(!n)return;let i=`${e}-${t}`;if(this.concreteNumberingMap.has(i))return;let r=this.referenceConfigMap.get(e),o=r&&r[0].start,s={numId:this.concreteNumUniqueNumericId(),abstractNumId:n.id,reference:e,instance:t,overrideLevels:[o&&Number.isInteger(o)?{num:0,start:o}:{num:0,start:1}]};this.concreteNumberingMap.set(i,new ao(s))}get ConcreteNumbering(){return Array.from(this.concreteNumberingMap.values())}get ReferenceConfig(){return Array.from(this.referenceConfigMap.values())}}class ad extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{version:"w:val",name:"w:name",uri:"w:uri"})}}class ah extends tc{constructor(e){super("w:compatSetting"),this.root.push(new ad({version:e,uri:"http://schemas.microsoft.com/office/word",name:"compatibilityMode"}))}}class ap extends tc{constructor(e){super("w:compat"),e.version&&this.root.push(new ah(e.version)),e.useSingleBorderforContiguousCells&&this.root.push(new ie("w:useSingleBorderforContiguousCells",e.useSingleBorderforContiguousCells)),e.wordPerfectJustification&&this.root.push(new ie("w:wpJustification",e.wordPerfectJustification)),e.noTabStopForHangingIndent&&this.root.push(new ie("w:noTabHangInd",e.noTabStopForHangingIndent)),e.noLeading&&this.root.push(new ie("w:noLeading",e.noLeading)),e.spaceForUnderline&&this.root.push(new ie("w:spaceForUL",e.spaceForUnderline)),e.noColumnBalance&&this.root.push(new ie("w:noColumnBalance",e.noColumnBalance)),e.balanceSingleByteDoubleByteWidth&&this.root.push(new ie("w:balanceSingleByteDoubleByteWidth",e.balanceSingleByteDoubleByteWidth)),e.noExtraLineSpacing&&this.root.push(new ie("w:noExtraLineSpacing",e.noExtraLineSpacing)),e.doNotLeaveBackslashAlone&&this.root.push(new ie("w:doNotLeaveBackslashAlone",e.doNotLeaveBackslashAlone)),e.underlineTrailingSpaces&&this.root.push(new ie("w:ulTrailSpace",e.underlineTrailingSpaces)),e.doNotExpandShiftReturn&&this.root.push(new ie("w:doNotExpandShiftReturn",e.doNotExpandShiftReturn)),e.spacingInWholePoints&&this.root.push(new ie("w:spacingInWholePoints",e.spacingInWholePoints)),e.lineWrapLikeWord6&&this.root.push(new ie("w:lineWrapLikeWord6",e.lineWrapLikeWord6)),e.printBodyTextBeforeHeader&&this.root.push(new ie("w:printBodyTextBeforeHeader",e.printBodyTextBeforeHeader)),e.printColorsBlack&&this.root.push(new ie("w:printColBlack",e.printColorsBlack)),e.spaceWidth&&this.root.push(new ie("w:wpSpaceWidth",e.spaceWidth)),e.showBreaksInFrames&&this.root.push(new ie("w:showBreaksInFrames",e.showBreaksInFrames)),e.subFontBySize&&this.root.push(new ie("w:subFontBySize",e.subFontBySize)),e.suppressBottomSpacing&&this.root.push(new ie("w:suppressBottomSpacing",e.suppressBottomSpacing)),e.suppressTopSpacing&&this.root.push(new ie("w:suppressTopSpacing",e.suppressTopSpacing)),e.suppressSpacingAtTopOfPage&&this.root.push(new ie("w:suppressSpacingAtTopOfPage",e.suppressSpacingAtTopOfPage)),e.suppressTopSpacingWP&&this.root.push(new ie("w:suppressTopSpacingWP",e.suppressTopSpacingWP)),e.suppressSpBfAfterPgBrk&&this.root.push(new ie("w:suppressSpBfAfterPgBrk",e.suppressSpBfAfterPgBrk)),e.swapBordersFacingPages&&this.root.push(new ie("w:swapBordersFacingPages",e.swapBordersFacingPages)),e.convertMailMergeEsc&&this.root.push(new ie("w:convMailMergeEsc",e.convertMailMergeEsc)),e.truncateFontHeightsLikeWP6&&this.root.push(new ie("w:truncateFontHeightsLikeWP6",e.truncateFontHeightsLikeWP6)),e.macWordSmallCaps&&this.root.push(new ie("w:mwSmallCaps",e.macWordSmallCaps)),e.usePrinterMetrics&&this.root.push(new ie("w:usePrinterMetrics",e.usePrinterMetrics)),e.doNotSuppressParagraphBorders&&this.root.push(new ie("w:doNotSuppressParagraphBorders",e.doNotSuppressParagraphBorders)),e.wrapTrailSpaces&&this.root.push(new ie("w:wrapTrailSpaces",e.wrapTrailSpaces)),e.footnoteLayoutLikeWW8&&this.root.push(new ie("w:footnoteLayoutLikeWW8",e.footnoteLayoutLikeWW8)),e.shapeLayoutLikeWW8&&this.root.push(new ie("w:shapeLayoutLikeWW8",e.shapeLayoutLikeWW8)),e.alignTablesRowByRow&&this.root.push(new ie("w:alignTablesRowByRow",e.alignTablesRowByRow)),e.forgetLastTabAlignment&&this.root.push(new ie("w:forgetLastTabAlignment",e.forgetLastTabAlignment)),e.adjustLineHeightInTable&&this.root.push(new ie("w:adjustLineHeightInTable",e.adjustLineHeightInTable)),e.autoSpaceLikeWord95&&this.root.push(new ie("w:autoSpaceLikeWord95",e.autoSpaceLikeWord95)),e.noSpaceRaiseLower&&this.root.push(new ie("w:noSpaceRaiseLower",e.noSpaceRaiseLower)),e.doNotUseHTMLParagraphAutoSpacing&&this.root.push(new ie("w:doNotUseHTMLParagraphAutoSpacing",e.doNotUseHTMLParagraphAutoSpacing)),e.layoutRawTableWidth&&this.root.push(new ie("w:layoutRawTableWidth",e.layoutRawTableWidth)),e.layoutTableRowsApart&&this.root.push(new ie("w:layoutTableRowsApart",e.layoutTableRowsApart)),e.useWord97LineBreakRules&&this.root.push(new ie("w:useWord97LineBreakRules",e.useWord97LineBreakRules)),e.doNotBreakWrappedTables&&this.root.push(new ie("w:doNotBreakWrappedTables",e.doNotBreakWrappedTables)),e.doNotSnapToGridInCell&&this.root.push(new ie("w:doNotSnapToGridInCell",e.doNotSnapToGridInCell)),e.selectFieldWithFirstOrLastCharacter&&this.root.push(new ie("w:selectFldWithFirstOrLastChar",e.selectFieldWithFirstOrLastCharacter)),e.applyBreakingRules&&this.root.push(new ie("w:applyBreakingRules",e.applyBreakingRules)),e.doNotWrapTextWithPunctuation&&this.root.push(new ie("w:doNotWrapTextWithPunct",e.doNotWrapTextWithPunctuation)),e.doNotUseEastAsianBreakRules&&this.root.push(new ie("w:doNotUseEastAsianBreakRules",e.doNotUseEastAsianBreakRules)),e.useWord2002TableStyleRules&&this.root.push(new ie("w:useWord2002TableStyleRules",e.useWord2002TableStyleRules)),e.growAutofit&&this.root.push(new ie("w:growAutofit",e.growAutofit)),e.useFELayout&&this.root.push(new ie("w:useFELayout",e.useFELayout)),e.useNormalStyleForList&&this.root.push(new ie("w:useNormalStyleForList",e.useNormalStyleForList)),e.doNotUseIndentAsNumberingTabStop&&this.root.push(new ie("w:doNotUseIndentAsNumberingTabStop",e.doNotUseIndentAsNumberingTabStop)),e.useAlternateEastAsianLineBreakRules&&this.root.push(new ie("w:useAltKinsokuLineBreakRules",e.useAlternateEastAsianLineBreakRules)),e.allowSpaceOfSameStyleInTable&&this.root.push(new ie("w:allowSpaceOfSameStyleInTable",e.allowSpaceOfSameStyleInTable)),e.doNotSuppressIndentation&&this.root.push(new ie("w:doNotSuppressIndentation",e.doNotSuppressIndentation)),e.doNotAutofitConstrainedTables&&this.root.push(new ie("w:doNotAutofitConstrainedTables",e.doNotAutofitConstrainedTables)),e.autofitToFirstFixedWidthCell&&this.root.push(new ie("w:autofitToFirstFixedWidthCell",e.autofitToFirstFixedWidthCell)),e.underlineTabInNumberingList&&this.root.push(new ie("w:underlineTabInNumList",e.underlineTabInNumberingList)),e.displayHangulFixedWidth&&this.root.push(new ie("w:displayHangulFixedWidth",e.displayHangulFixedWidth)),e.splitPgBreakAndParaMark&&this.root.push(new ie("w:splitPgBreakAndParaMark",e.splitPgBreakAndParaMark)),e.doNotVerticallyAlignCellWithSp&&this.root.push(new ie("w:doNotVertAlignCellWithSp",e.doNotVerticallyAlignCellWithSp)),e.doNotBreakConstrainedForcedTable&&this.root.push(new ie("w:doNotBreakConstrainedForcedTable",e.doNotBreakConstrainedForcedTable)),e.ignoreVerticalAlignmentInTextboxes&&this.root.push(new ie("w:doNotVertAlignInTxbx",e.ignoreVerticalAlignmentInTextboxes)),e.useAnsiKerningPairs&&this.root.push(new ie("w:useAnsiKerningPairs",e.useAnsiKerningPairs)),e.cachedColumnBalance&&this.root.push(new ie("w:cachedColBalance",e.cachedColumnBalance))}}class af extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{wpc:"xmlns:wpc",mc:"xmlns:mc",o:"xmlns:o",r:"xmlns:r",m:"xmlns:m",v:"xmlns:v",wp14:"xmlns:wp14",wp:"xmlns:wp",w10:"xmlns:w10",w:"xmlns:w",w14:"xmlns:w14",w15:"xmlns:w15",wpg:"xmlns:wpg",wpi:"xmlns:wpi",wne:"xmlns:wne",wps:"xmlns:wps",Ignorable:"mc:Ignorable"})}}class am extends tc{constructor(e){var t,n,i,r;super("w:settings"),this.root.push(new af({wpc:"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas",mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",o:"urn:schemas-microsoft-com:office:office",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",m:"http://schemas.openxmlformats.org/officeDocument/2006/math",v:"urn:schemas-microsoft-com:vml",wp14:"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing",wp:"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing",w10:"urn:schemas-microsoft-com:office:word",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",wpg:"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup",wpi:"http://schemas.microsoft.com/office/word/2010/wordprocessingInk",wne:"http://schemas.microsoft.com/office/word/2006/wordml",wps:"http://schemas.microsoft.com/office/word/2010/wordprocessingShape",Ignorable:"w14 w15 wp14"})),this.root.push(new ie("w:displayBackgroundShape",!0)),void 0!==e.trackRevisions&&this.root.push(new ie("w:trackRevisions",e.trackRevisions)),void 0!==e.evenAndOddHeaders&&this.root.push(new ie("w:evenAndOddHeaders",e.evenAndOddHeaders)),void 0!==e.updateFields&&this.root.push(new ie("w:updateFields",e.updateFields)),void 0!==e.defaultTabStop&&this.root.push(new io("w:defaultTabStop",e.defaultTabStop)),this.root.push(new ap(to(tr({},null!=(t=e.compatibility)?t:{}),{version:null!=(r=null!=(i=null==(n=e.compatibility)?void 0:n.version)?i:e.compatibilityModeVersion)?r:15})))}}class ag extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{val:"w:val"})}}class ay extends tc{constructor(e){super("w:name"),this.root.push(new ag({val:e}))}}class av extends tc{constructor(e){super("w:uiPriority"),this.root.push(new ag({val:nJ(e)}))}}class aw extends th{constructor(){super(...arguments),ts(this,"xmlKeys",{type:"w:type",styleId:"w:styleId",default:"w:default",customStyle:"w:customStyle"})}}class ab extends tc{constructor(e,t){super("w:style"),this.root.push(new aw(e)),t.name&&this.root.push(new ay(t.name)),t.basedOn&&this.root.push(new ii("w:basedOn",t.basedOn)),t.next&&this.root.push(new ii("w:next",t.next)),t.link&&this.root.push(new ii("w:link",t.link)),void 0!==t.uiPriority&&this.root.push(new av(t.uiPriority)),void 0!==t.semiHidden&&this.root.push(new ie("w:semiHidden",t.semiHidden)),void 0!==t.unhideWhenUsed&&this.root.push(new ie("w:unhideWhenUsed",t.unhideWhenUsed)),void 0!==t.quickFormat&&this.root.push(new ie("w:qFormat",t.quickFormat))}}class aM extends ab{constructor(e){super({type:"paragraph",styleId:e.id},e),ts(this,"paragraphProperties"),ts(this,"runProperties"),this.paragraphProperties=new sd(e.paragraph),this.runProperties=new iZ(e.run),this.root.push(this.paragraphProperties),this.root.push(this.runProperties)}}class aE extends ab{constructor(e){super({type:"character",styleId:e.id},tr({uiPriority:99,unhideWhenUsed:!0},e)),ts(this,"runProperties"),this.runProperties=new iZ(e.run),this.root.push(this.runProperties)}}class aT extends aM{constructor(e){super(tr({basedOn:"Normal",next:"Normal",quickFormat:!0},e))}}class ax extends aT{constructor(e){super(tr({id:"Title",name:"Title"},e))}}class a_ extends aT{constructor(e){super(tr({id:"Heading1",name:"Heading 1"},e))}}class aN extends aT{constructor(e){super(tr({id:"Heading2",name:"Heading 2"},e))}}class aA extends aT{constructor(e){super(tr({id:"Heading3",name:"Heading 3"},e))}}class aL extends aT{constructor(e){super(tr({id:"Heading4",name:"Heading 4"},e))}}class aI extends aT{constructor(e){super(tr({id:"Heading5",name:"Heading 5"},e))}}class aS extends aT{constructor(e){super(tr({id:"Heading6",name:"Heading 6"},e))}}class aD extends aT{constructor(e){super(tr({id:"Strong",name:"Strong"},e))}}class ak extends aM{constructor(e){super(tr({id:"ListParagraph",name:"List Paragraph",basedOn:"Normal",quickFormat:!0},e))}}class aj extends aM{constructor(e){super(tr({id:"FootnoteText",name:"footnote text",link:"FootnoteTextChar",basedOn:"Normal",uiPriority:99,semiHidden:!0,unhideWhenUsed:!0,paragraph:{spacing:{after:0,line:240,lineRule:oo}},run:{size:20}},e))}}class aC extends aE{constructor(e){super(tr({id:"FootnoteReference",name:"footnote reference",basedOn:"DefaultParagraphFont",semiHidden:!0,run:{superScript:!0}},e))}}class aO extends aE{constructor(e){super(tr({id:"FootnoteTextChar",name:"Footnote Text Char",basedOn:"DefaultParagraphFont",link:"FootnoteText",semiHidden:!0,run:{size:20}},e))}}class az extends aE{constructor(e){super(tr({id:"Hyperlink",name:"Hyperlink",basedOn:"DefaultParagraphFont",run:{color:"0563C1",underline:{type:iK}}},e))}}class aR extends tc{constructor(e){if(super("w:styles"),e.initialStyles&&this.root.push(e.initialStyles),e.importedStyles)for(let t of e.importedStyles)this.root.push(t);if(e.paragraphStyles)for(let t of e.paragraphStyles)this.root.push(new aM(t));if(e.characterStyles)for(let t of e.characterStyles)this.root.push(new aE(t))}}class aP extends tc{constructor(e){super("w:pPrDefault"),this.root.push(new sd(e))}}class aB extends tc{constructor(e){super("w:rPrDefault"),this.root.push(new iZ(e))}}class aU extends tc{constructor(e){super("w:docDefaults"),ts(this,"runPropertiesDefaults"),ts(this,"paragraphPropertiesDefaults"),this.runPropertiesDefaults=new aB(e.run),this.paragraphPropertiesDefaults=new aP(e.paragraph),this.root.push(this.runPropertiesDefaults),this.root.push(this.paragraphPropertiesDefaults)}}class aF{newInstance(e){let t;for(let n of nV(e,{compact:!1}).elements||[])"w:styles"===n.name&&(t=n);if(void 0===t)throw Error("can not find styles element");let n=t.elements||[];return new aR({initialStyles:new nZ(t.attributes),importedStyles:n.map(e=>nG(e))})}}class aY{newInstance(e={}){var t;return{initialStyles:new st({mc:"http://schemas.openxmlformats.org/markup-compatibility/2006",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",w:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",w14:"http://schemas.microsoft.com/office/word/2010/wordml",w15:"http://schemas.microsoft.com/office/word/2012/wordml",Ignorable:"w14 w15"}),importedStyles:[new aU(null!=(t=e.document)?t:{}),new ax(tr({run:{size:56}},e.title)),new a_(tr({run:{color:"2E74B5",size:32}},e.heading1)),new aN(tr({run:{color:"2E74B5",size:26}},e.heading2)),new aA(tr({run:{color:"1F4D78",size:24}},e.heading3)),new aL(tr({run:{color:"2E74B5",italics:!0}},e.heading4)),new aI(tr({run:{color:"2E74B5"}},e.heading5)),new aS(tr({run:{color:"1F4D78"}},e.heading6)),new aD(tr({run:{bold:!0}},e.strong)),new ak(e.listParagraph||{}),new az(e.hyperlink||{}),new aC(e.footnoteReference||{}),new aj(e.footnoteText||{}),new aO(e.footnoteTextChar||{})]}}}class aH{constructor(e){var t,n,i,r,o,s,a,l;if(ts(this,"currentRelationshipId",1),ts(this,"documentWrapper"),ts(this,"headers",[]),ts(this,"footers",[]),ts(this,"coreProperties"),ts(this,"numbering"),ts(this,"media"),ts(this,"fileRelationships"),ts(this,"footnotesWrapper"),ts(this,"settings"),ts(this,"contentTypes"),ts(this,"customProperties"),ts(this,"appProperties"),ts(this,"styles"),ts(this,"comments"),ts(this,"fontWrapper"),this.coreProperties=new sT(to(tr({},e),{creator:null!=(t=e.creator)?t:"Un-named",revision:null!=(n=e.revision)?n:1,lastModifiedBy:null!=(i=e.lastModifiedBy)?i:"Un-named"})),this.numbering=new ac(e.numbering?e.numbering:{config:[]}),this.comments=new oi(null!=(r=e.comments)?r:{children:[]}),this.fileRelationships=new ss,this.customProperties=new sI(null!=(o=e.customProperties)?o:[]),this.appProperties=new sg,this.footnotesWrapper=new sq,this.contentTypes=new sE,this.documentWrapper=new sa({background:e.background}),this.settings=new am({compatibilityModeVersion:e.compatabilityModeVersion,compatibility:e.compatibility,evenAndOddHeaders:!!e.evenAndOddHeaderAndFooters,trackRevisions:null==(s=e.features)?void 0:s.trackRevisions,updateFields:null==(a=e.features)?void 0:a.updateFields,defaultTabStop:e.defaultTabStop}),this.media=new s0,void 0!==e.externalStyles){let t=new aF;this.styles=t.newInstance(e.externalStyles)}else if(e.styles){let t=new aY().newInstance(e.styles.default);this.styles=new aR(tr(tr({},t),e.styles))}else{let e=new aY;this.styles=new aR(e.newInstance())}for(let t of(this.addDefaultRelationships(),e.sections))this.addSection(t);if(e.footnotes)for(let t in e.footnotes)this.footnotesWrapper.View.createFootNote(parseFloat(t),e.footnotes[t].children);this.fontWrapper=new sC(null!=(l=e.fonts)?l:[])}addSection({headers:e={},footers:t={},children:n,properties:i}){for(let r of(this.documentWrapper.View.Body.addSection(to(tr({},i),{headerWrapperGroup:{default:e.default?this.createHeader(e.default):void 0,first:e.first?this.createHeader(e.first):void 0,even:e.even?this.createHeader(e.even):void 0},footerWrapperGroup:{default:t.default?this.createFooter(t.default):void 0,first:t.first?this.createFooter(t.first):void 0,even:t.even?this.createFooter(t.even):void 0}})),n))this.documentWrapper.View.add(r)}createHeader(e){let t=new sJ(this.media,this.currentRelationshipId++);for(let n of e.options.children)t.add(n);return this.addHeaderToDocument(t),t}createFooter(e){let t=new sR(this.media,this.currentRelationshipId++);for(let n of e.options.children)t.add(n);return this.addFooterToDocument(t),t}addHeaderToDocument(e,t=oO.DEFAULT){this.headers.push({header:e,type:t}),this.documentWrapper.Relationships.createRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",`header${this.headers.length}.xml`),this.contentTypes.addHeader(this.headers.length)}addFooterToDocument(e,t=oO.DEFAULT){this.footers.push({footer:e,type:t}),this.documentWrapper.Relationships.createRelationship(e.View.ReferenceId,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",`footer${this.footers.length}.xml`),this.contentTypes.addFooter(this.footers.length)}addDefaultRelationships(){this.fileRelationships.createRelationship(1,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument","word/document.xml"),this.fileRelationships.createRelationship(2,"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties","docProps/core.xml"),this.fileRelationships.createRelationship(3,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties","docProps/app.xml"),this.fileRelationships.createRelationship(4,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties","docProps/custom.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles","styles.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering","numbering.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes","footnotes.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings","settings.xml"),this.documentWrapper.Relationships.createRelationship(this.currentRelationshipId++,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments","comments.xml")}get Document(){return this.documentWrapper}get Styles(){return this.styles}get CoreProperties(){return this.coreProperties}get Numbering(){return this.numbering}get Media(){return this.media}get FileRelationships(){return this.fileRelationships}get Headers(){return this.headers.map(e=>e.header)}get Footers(){return this.footers.map(e=>e.footer)}get ContentTypes(){return this.contentTypes}get CustomProperties(){return this.customProperties}get AppProperties(){return this.appProperties}get FootNotes(){return this.footnotesWrapper}get Settings(){return this.settings}get Comments(){return this.comments}get FontTable(){return this.fontWrapper}}function aW(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var a$={exports:{}};o=a$,a=function(){return(function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){var l=aW;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var u=Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[s]={exports:{}};t[s][0].call(c.exports,function(e){return r(t[s][1][e]||e)},c,c.exports,e,t,n,i)}return n[s].exports}for(var o=aW,s=0;s >2,a=(3&t)<<4|n>>4,l=1 >6:64,u=2
>4,n=(15&s)<<4|(a=o.indexOf(e.charAt(u++)))>>2,i=(3&a)<<6|(l=o.indexOf(e.charAt(u++))),h[c++]=t,64!==a&&(h[c++]=n),64!==l&&(h[c++]=i);return h}},{"./support":30,"./utils":32}],2:[function(e,t,n){var i=e("./external"),r=e("./stream/DataWorker"),o=e("./stream/Crc32Probe"),s=e("./stream/DataLengthProbe");function a(e,t,n,i,r){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=i,this.compressedContent=r}a.prototype={getContentWorker:function(){var e=new r(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new r(i.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(e,t,n){return e.pipe(new o).pipe(new s("uncompressedSize")).pipe(t.compressWorker(n)).pipe(new s("compressedSize")).withStreamInfo("compression",t)},t.exports=a},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,n){var i=e("./stream/GenericWorker");n.STORE={magic:"\0\0",compressWorker:function(){return new i("STORE compression")},uncompressWorker:function(){return new i("STORE decompression")}},n.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,n){var i=e("./utils"),r=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var i=0;i<8;i++)e=1&e?0xedb88320^e>>>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==i.getTypeOf(e)?function(e,t,n,i){var o=0+n;e^=-1;for(var s=i;s
>>8^r[255&(e^t[s])];return -1^e}(0|t,e,e.length,0):function(e,t,n,i){var o=0+n;e^=-1;for(var s=i;s >>8^r[255&(e^t.charCodeAt(s))];return -1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,n){n.base64=!1,n.binary=!1,n.dir=!1,n.createFolders=!0,n.date=null,n.compression=null,n.compressionOptions=null,n.comment=null,n.unixPermissions=null,n.dosPermissions=null},{}],6:[function(e,t,n){var i=null;i="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:i}},{lie:37}],7:[function(e,t,n){var i="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,r=e("pako"),o=e("./utils"),s=e("./stream/GenericWorker"),a=i?"uint8array":"array";function l(e,t){s.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}n.magic="\b\0",o.inherits(l,s),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(o.transformTo(a,e.data),!1)},l.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new r[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},n.compressWorker=function(e){return new l("Deflate",e)},n.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,n){function i(e,t){var n,i="";for(n=0;n >>=8;return i}function r(e,t,n,r,s,c){var d,h,p,f,m,g=e.file,y=e.compression,v=c!==a.utf8encode,w=o.transformTo("string",c(g.name)),b=o.transformTo("string",a.utf8encode(g.name)),E=g.comment,T=o.transformTo("string",c(E)),x=o.transformTo("string",a.utf8encode(E)),_=b.length!==g.name.length,N=x.length!==E.length,A="",L="",I="",S=g.dir,D=g.date,k={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(k.crc32=e.crc32,k.compressedSize=e.compressedSize,k.uncompressedSize=e.uncompressedSize);var j=0;t&&(j|=8),!v&&(_||N)&&(j|=2048);var C=0,O=0;S&&(C|=16),"UNIX"===s?(O=798,C|=(d=g.unixPermissions,h=S,p=d,d||(p=h?16893:33204),(65535&p)<<16)):(O=20,C|=63&(g.dosPermissions||0)),f=(D.getUTCHours()<<6|D.getUTCMinutes())<<5|D.getUTCSeconds()/2,m=(D.getUTCFullYear()-1980<<4|D.getUTCMonth()+1)<<5|D.getUTCDate(),_&&(L=i(1,1)+i(l(w),4)+b,A+="up"+i(L.length,2)+L),N&&(I=i(1,1)+i(l(T),4)+x,A+="uc"+i(I.length,2)+I);var z="";return z+="\n\0",z+=i(j,2),z+=y.magic,z+=i(f,2),z+=i(m,2),z+=i(k.crc32,4),z+=i(k.compressedSize,4),z+=i(k.uncompressedSize,4),z+=i(w.length,2),z+=i(A.length,2),{fileRecord:u.LOCAL_FILE_HEADER+z+w+A,dirRecord:u.CENTRAL_FILE_HEADER+i(O,2)+z+i(T.length,2)+"\0\0\0\0"+i(C,4)+i(r,4)+w+A+T}}var o=e("../utils"),s=e("../stream/GenericWorker"),a=e("../utf8"),l=e("../crc32"),u=e("../signature");function c(e,t,n,i){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=i,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(c,s),c.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,i=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,s.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-i-1))/n:100}}))},c.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=r(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},c.prototype.closedSource=function(e){this.accumulate=!1;var t,n=this.streamFiles&&!e.file.dir,o=r(e,n,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(o.dirRecord),n){;this.push({data:(t=e,u.DATA_DESCRIPTOR+i(t.crc32,4)+i(t.compressedSize,4)+i(t.uncompressedSize,4)),meta:{percent:100}})}else for(this.push({data:o.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},c.prototype.flush=function(){for(var e,t,n,r,s,a,l=this.bytesWritten,c=0;c =this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=r},{"../utils":32}],19:[function(e,t,n){var i=e("./Uint8ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,n){var i=e("./DataReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},r.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./DataReader":18}],21:[function(e,t,n){var i=e("./ArrayReader");function r(e){i.call(this,e)}e("../utils").inherits(r,i),r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=r},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,n){var i=e("../utils"),r=e("../support"),o=e("./ArrayReader"),s=e("./StringReader"),a=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=i.getTypeOf(e);return i.checkSupport(t),"string"!==t||r.uint8array?"nodebuffer"===t?new a(e):r.uint8array?new l(i.transformTo("uint8array",e)):new o(i.transformTo("array",e)):new s(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,n){n.LOCAL_FILE_HEADER="PK\x03\x04",n.CENTRAL_FILE_HEADER="PK\x01\x02",n.CENTRAL_DIRECTORY_END="PK\x05\x06",n.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x06\x07",n.ZIP64_CENTRAL_DIRECTORY_END="PK\x06\x06",n.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(e,t,n){var i=e("./GenericWorker"),r=e("../utils");function o(e){i.call(this,"ConvertWorker to "+e),this.destType=e}r.inherits(o,i),o.prototype.processChunk=function(e){this.push({data:r.transformTo(this.destType,e.data),meta:e.meta})},t.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,n){var i=e("./GenericWorker"),r=e("../crc32");function o(){i.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(o,i),o.prototype.processChunk=function(e){this.streamInfo.crc32=r(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,n){var i=e("../utils"),r=e("./GenericWorker");function o(e){r.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}i.inherits(o,r),o.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}r.prototype.processChunk.call(this,e)},t.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,n){var i=e("../utils"),r=e("./GenericWorker");function o(e){r.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}i.inherits(o,r),o.prototype.cleanUp=function(){r.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!r.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,n){function i(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}i.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n "+e:e}},t.exports=i},{}],29:[function(e,t,n){var i=e("../utils"),r=e("./ConvertWorker"),o=e("./GenericWorker"),s=e("../base64"),a=e("../support"),l=e("../external"),u=null;if(a.nodestream)try{u=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function c(e,t,n){var s=t;switch(t){case"blob":case"arraybuffer":s="uint8array";break;case"base64":s="string"}try{this._internalType=s,this._outputType=t,this._mimeType=n,i.checkSupport(s),this._worker=e.pipe(new r(s)),e.lock()}catch(e){this._worker=new o("error"),this._worker.error(e)}}c.prototype={accumulate:function(e){var t,n;return t=this,n=e,new l.Promise(function(e,r){var o=[],a=t._internalType,l=t._outputType,u=t._mimeType;t.on("data",function(e,t){o.push(e),n&&n(t)}).on("error",function(e){o=[],r(e)}).on("end",function(){try{var t=function(e,t,n){switch(e){case"blob":return i.newBlob(i.transformTo("arraybuffer",t),n);case"base64":return s.encode(t);default:return i.transformTo(e,t)}}(l,function(e,t){var n,i=0,r=null,o=0;for(n=0;n >>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t}(e)},n.utf8decode=function(e){return r.nodebuffer?i.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,n,r,o,s=e.length,l=Array(2*s);for(t=n=0;t >10&1023,l[n++]=56320|1023&r)}return l.length!==n&&(l.subarray?l=l.subarray(0,n):l.length=n),i.applyFromCharCode(l)}(e=i.transformTo(r.uint8array?"uint8array":"array",e))},i.inherits(u,s),u.prototype.processChunk=function(e){var t=i.transformTo(r.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(r.uint8array){var o=t;(t=new Uint8Array(o.length+this.leftOver.length)).set(this.leftOver,0),t.set(o,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var s=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+a[e[n]]>t?n:t}(t),l=t;s!==t.length&&(r.uint8array?(l=t.subarray(0,s),this.leftOver=t.subarray(s,t.length)):(l=t.slice(0,s),this.leftOver=t.slice(s,t.length))),this.push({data:n.utf8decode(l),meta:e.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:n.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},n.Utf8DecodeWorker=u,i.inherits(c,s),c.prototype.processChunk=function(e){this.push({data:n.utf8encode(e.data),meta:e.meta})},n.Utf8EncodeWorker=c},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,n){var i=e("./support"),r=e("./base64"),o=e("./nodejsUtils"),s=e("./external");function a(e){return e}function l(e,t){for(var n=0;n>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=i(this.extraFields[1].value);this.uncompressedSize===r.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===r.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===r.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===r.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,n,i,r=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4 >>6:(n<65536?t[s++]=224|n>>>12:(t[s++]=240|n>>>18,t[s++]=128|n>>>12&63),t[s++]=128|n>>>6&63),t[s++]=128|63&n);return t},n.buf2binstring=function(e){return l(e,e.length)},n.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n >10&1023,u[i++]=56320|1023&r)}return l(u,i)},n.utf8border=function(e,t){var n;for((t=t||e.length)>e.length&&(t=e.length),n=t-1;0<=n&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+s[e[n]]>t?n:t}},{"./common":41}],43:[function(e,t,n){t.exports=function(e,t,n,i){for(var r=65535&e|0,o=e>>>16&65535|0,s=0;0!==n;){for(n-=s=2e3 >>1:e>>>1;t[n]=e}return t}();t.exports=function(e,t,n,r){var o=r+n;e^=-1;for(var s=r;s >>8^i[255&(e^t[s])];return -1^e}},{}],46:[function(e,t,n){var i,r=e("../utils/common"),o=e("./trees"),s=e("./adler32"),a=e("./crc32"),l=e("./messages"),u=573,c=262;function d(e,t){return e.msg=l[t],t}function h(e){return(e<<1)-(4 e.avail_out&&(n=e.avail_out),0!==n&&(r.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function m(e,t){o._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,f(e.strm)}function g(e,t){e.pending_buf[e.pending++]=t}function y(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function v(e,t){var n,i,r=e.max_chain_length,o=e.strstart,s=e.prev_length,a=e.nice_match,l=e.strstart>e.w_size-c?e.strstart-(e.w_size-c):0,u=e.window,d=e.w_mask,h=e.prev,p=e.strstart+258,f=u[o+s-1],m=u[o+s];e.prev_length>=e.good_match&&(r>>=2),a>e.lookahead&&(a=e.lookahead);do if(u[(n=t)+s]===m&&u[n+s-1]===f&&u[n]===u[o]&&u[++n]===u[o+1]){o+=2,n++;do;while(u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&u[++o]===u[++n]&&o l&&0!=--r);return s<=e.lookahead?s:e.lookahead}function w(e){var t,n,i,o,l,u,d,h,p,f,m=e.w_size;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=m+(m-c)){for(r.arraySet(e.window,e.window,m,m,0),e.match_start-=m,e.strstart-=m,e.block_start-=m,t=n=e.hash_size;i=e.head[--t],e.head[t]=m<=i?i-m:0,--n;);for(t=n=m;i=e.prev[--t],e.prev[t]=m<=i?i-m:0,--n;);o+=m}if(0===e.strm.avail_in)break;if(u=e.strm,d=e.window,h=e.strstart+e.lookahead,f=void 0,(p=o)<(f=u.avail_in)&&(f=p),n=0===f?0:(u.avail_in-=f,r.arraySet(d,u.input,u.next_in,f,h),1===u.state.wrap?u.adler=s(u.adler,d,f,h):2===u.state.wrap&&(u.adler=a(u.adler,d,f,h)),u.next_in+=f,u.total_in+=f,f),e.lookahead+=n,e.lookahead+e.insert>=3)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<
=3&&(e.ins_h=(e.ins_h< =3){if(i=o._tr_tally(e,e.strstart-e.match_start,e.match_length-3),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=3){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h< =3&&(e.ins_h=(e.ins_h< =3&&e.match_length<=e.prev_length){for(r=e.strstart+e.lookahead-3,i=o._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-3),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=r&&(e.ins_h=(e.ins_h< e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(w(e),0===e.lookahead&&0===t)return 1;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var i=e.block_start+n;if((0===e.strstart||e.strstart>=i)&&(e.lookahead=e.strstart-i,e.strstart=i,m(e,!1),0===e.strm.avail_out)||e.strstart-e.block_start>=e.w_size-c&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):(e.strstart>e.block_start&&(m(e,!1),e.strm.avail_out),1)}),new T(4,4,8,4,b),new T(4,5,16,8,b),new T(4,6,32,32,b),new T(4,4,16,16,E),new T(8,16,32,32,E),new T(8,16,128,128,E),new T(8,32,128,256,E),new T(32,128,258,1024,E),new T(32,258,258,4096,E)],n.deflateInit=function(e,t){return A(e,t,8,15,8,0)},n.deflateInit2=A,n.deflateReset=N,n.deflateResetKeep=_,n.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?-2:(e.state.gzhead=t,0):-2},n.deflate=function(e,t){var n,r,s,l;if(!e||!e.state||5 >8&255),g(r,r.gzhead.time>>16&255),g(r,r.gzhead.time>>24&255),g(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),g(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(g(r,255&r.gzhead.extra.length),g(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(e.adler=a(e.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(g(r,0),g(r,0),g(r,0),g(r,0),g(r,0),g(r,9===r.level?2:2<=r.strategy||r.level<2?4:0),g(r,3),r.status=113);else{var u=8+(r.w_bits-8<<4)<<8;u|=(2<=r.strategy||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(u|=32),u+=31-u%31,r.status=113,y(r,u),0!==r.strstart&&(y(r,e.adler>>>16),y(r,65535&e.adler)),e.adler=1}}if(69===r.status){if(r.gzhead.extra){for(s=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),f(e),s=r.pending,r.pending!==r.pending_buf_size));)g(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73}if(73===r.status){if(r.gzhead.name){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),f(e),s=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindex s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),0===l&&(r.gzindex=0,r.status=91)}else r.status=91}if(91===r.status){if(r.gzhead.comment){s=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),f(e),s=r.pending,r.pending===r.pending_buf_size)){l=1;break}l=r.gzindex s&&(e.adler=a(e.adler,r.pending_buf,r.pending-s,s)),0===l&&(r.status=103)}else r.status=103}if(103===r.status&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&f(e),r.pending+2<=r.pending_buf_size&&(g(r,255&e.adler),g(r,e.adler>>8&255),e.adler=0,r.status=113)):r.status=113),0!==r.pending){if(f(e),0===e.avail_out)return r.last_flush=-1,0}else if(0===e.avail_in&&h(t)<=h(n)&&4!==t)return d(e,-5);if(666===r.status&&0!==e.avail_in)return d(e,-5);if(0!==e.avail_in||0!==r.lookahead||0!==t&&666!==r.status){var c=2===r.strategy?function(e,t){for(var n;;){if(0===e.lookahead&&(w(e),0===e.lookahead)){if(0===t)return 1;break}if(e.match_length=0,n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(m(e,!1),0===e.strm.avail_out)?1:2}(r,t):3===r.strategy?function(e,t){for(var n,i,r,s,a=e.window;;){if(e.lookahead<=258){if(w(e),e.lookahead<=258&&0===t)return 1;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=3&&0 e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=3?(n=o._tr_tally(e,1,e.match_length-3),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=o._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(m(e,!1),0===e.strm.avail_out))return 1}return e.insert=0,4===t?(m(e,!0),0===e.strm.avail_out?3:4):e.last_lit&&(m(e,!1),0===e.strm.avail_out)?1:2}(r,t):i[r.level].func(r,t);if(3!==c&&4!==c||(r.status=666),1===c||3===c)return 0===e.avail_out&&(r.last_flush=-1),0;if(2===c&&(1===t?o._tr_align(r):5!==t&&(o._tr_stored_block(r,0,0,!1),3===t&&(p(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),f(e),0===e.avail_out))return r.last_flush=-1,0}return 4!==t?0:r.wrap<=0?1:(2===r.wrap?(g(r,255&e.adler),g(r,e.adler>>8&255),g(r,e.adler>>16&255),g(r,e.adler>>24&255),g(r,255&e.total_in),g(r,e.total_in>>8&255),g(r,e.total_in>>16&255),g(r,e.total_in>>24&255)):(y(r,e.adler>>>16),y(r,65535&e.adler)),f(e),0 =n.w_size&&(0===a&&(p(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new r.Buf8(n.w_size),r.arraySet(d,t,h-n.w_size,n.w_size,0),t=d,h=n.w_size),l=e.avail_in,u=e.next_in,c=e.input,e.avail_in=h,e.next_in=0,e.input=t,w(n);n.lookahead>=3;){for(i=n.strstart,o=n.lookahead-2;n.ins_h=(n.ins_h< >>=b=w>>>24,f-=b,0==(b=w>>>16&255))A[o++]=65535&w;else{if(!(16&b)){if(0==(64&b)){w=m[(65535&w)+(p&(1<>>=b,f-=b),f<15&&(p+=N[i++]< >>=b=w>>>24,f-=b,!(16&(b=w>>>16&255))){if(0==(64&b)){w=g[(65535&w)+(p&(1<>>=b,f-=b,(b=o-s) >3,p&=(1<<(f-=E<<3))-1,e.next_in=i,e.next_out=o,e.avail_in=i >>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function u(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new i.Buf16(320),this.work=new i.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function c(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=1,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new i.Buf32(852),t.distcode=t.distdyn=new i.Buf32(592),t.sane=1,t.back=-1,0):-2}function d(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,c(e)):-2}function h(e,t){var n,i;return e&&e.state?(i=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15 =s.wsize?(i.arraySet(s.window,t,n-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(r<(o=s.wsize-s.wnext)&&(o=r),i.arraySet(s.window,t,n-r,o,s.wnext),(r-=o)?(i.arraySet(s.window,t,n-r,r,0),s.wnext=r,s.whave=s.wsize):(s.wnext+=o,s.wnext===s.wsize&&(s.wnext=0),s.whave >>8&255,n.check=o(n.check,P,2,0),b=w=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&w)<<8)+(w>>8))%31){e.msg="incorrect header check",n.mode=30;break}if(8!=(15&w)){e.msg="unknown compression method",n.mode=30;break}if(b-=4,j=8+(15&(w>>>=4)),0===n.wbits)n.wbits=j;else if(j>n.wbits){e.msg="invalid window size",n.mode=30;break}n.dmax=1< >8&1),512&n.flags&&(P[0]=255&w,P[1]=w>>>8&255,n.check=o(n.check,P,2,0)),b=w=0,n.mode=3;case 3:for(;b<32;){if(0===p)break e;p--,w+=u[d++]<>>8&255,P[2]=w>>>16&255,P[3]=w>>>24&255,n.check=o(n.check,P,4,0)),b=w=0,n.mode=4;case 4:for(;b<16;){if(0===p)break e;p--,w+=u[d++]<>8),512&n.flags&&(P[0]=255&w,P[1]=w>>>8&255,n.check=o(n.check,P,2,0)),b=w=0,n.mode=5;case 5:if(1024&n.flags){for(;b<16;){if(0===p)break e;p--,w+=u[d++]<>>8&255,n.check=o(n.check,P,2,0)),b=w=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&(p<(x=n.length)&&(x=p),x&&(n.head&&(j=n.head.extra_len-n.length,n.head.extra||(n.head.extra=Array(n.head.extra_len)),i.arraySet(n.head.extra,u,d,x,j)),512&n.flags&&(n.check=o(n.check,u,x,d)),p-=x,d+=x,n.length-=x),n.length))break e;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===p)break e;for(x=0;j=u[d+x++],n.head&&j&&n.length<65536&&(n.head.name+=String.fromCharCode(j)),j&&x >9&1,n.head.done=!0),e.adler=n.check=0,n.mode=12;break;case 10:for(;b<32;){if(0===p)break e;p--,w+=u[d++]<>>=7&b,b-=7&b,n.mode=27;break}for(;b<3;){if(0===p)break e;p--,w+=u[d++]<>>=1)){case 0:n.mode=14;break;case 1:if(function(e){if(g){var t;for(f=new i.Buf32(512),m=new i.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(a(1,e.lens,0,288,f,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;a(2,e.lens,0,32,m,0,e.work,{bits:5}),g=!1}e.lencode=f,e.lenbits=9,e.distcode=m,e.distbits=5}(n),n.mode=20,6!==t)break;w>>>=2,b-=2;break e;case 2:n.mode=17;break;case 3:e.msg="invalid block type",n.mode=30}w>>>=2,b-=2;break;case 14:for(w>>>=7&b,b-=7&b;b<32;){if(0===p)break e;p--,w+=u[d++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&w,b=w=0,n.mode=15,6===t)break e;case 15:n.mode=16;case 16:if(x=n.length){if(p
>>=5,b-=5,n.ndist=1+(31&w),w>>>=5,b-=5,n.ncode=4+(15&w),w>>>=4,b-=4,286 >>=3,b-=3}for(;n.have<19;)n.lens[B[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,O={bits:n.lenbits},C=a(0,n.lens,0,19,n.lencode,0,n.work,O),n.lenbits=O.bits,C){e.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have >>16&255,I=65535&R,!((A=R>>>24)<=b);){if(0===p)break e;p--,w+=u[d++]<>>=A,b-=A,n.lens[n.have++]=I;else{if(16===I){for(z=A+2;b >>=A,b-=A,0===n.have){e.msg="invalid bit length repeat",n.mode=30;break}j=n.lens[n.have-1],x=3+(3&w),w>>>=2,b-=2}else if(17===I){for(z=A+3;b >>=A)),w>>>=3,b-=3}else{for(z=A+7;b >>=A)),w>>>=7,b-=7}if(n.have+x>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=30;break}for(;x--;)n.lens[n.have++]=j}}if(30===n.mode)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,O={bits:n.lenbits},C=a(1,n.lens,0,n.nlen,n.lencode,0,n.work,O),n.lenbits=O.bits,C){e.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,O={bits:n.distbits},C=a(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,O),n.distbits=O.bits,C){e.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===t)break e;case 20:n.mode=21;case 21:if(6<=p&&258<=v){e.next_out=h,e.avail_out=v,e.next_in=d,e.avail_in=p,n.hold=w,n.bits=b,s(e,T),h=e.next_out,c=e.output,v=e.avail_out,d=e.next_in,u=e.input,p=e.avail_in,w=n.hold,b=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;L=(R=n.lencode[w&(1< >>16&255,I=65535&R,!((A=R>>>24)<=b);){if(0===p)break e;p--,w+=u[d++]<>S)])>>>16&255,I=65535&R,!(S+(A=R>>>24)<=b);){if(0===p)break e;p--,w+=u[d++]<>>=S,b-=S,n.back+=S}if(w>>>=A,b-=A,n.back+=A,n.length=I,0===L){n.mode=26;break}if(32&L){n.back=-1,n.mode=12;break}if(64&L){e.msg="invalid literal/length code",n.mode=30;break}n.extra=15&L,n.mode=22;case 22:if(n.extra){for(z=n.extra;b >>=n.extra,b-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;L=(R=n.distcode[w&(1< >>16&255,I=65535&R,!((A=R>>>24)<=b);){if(0===p)break e;p--,w+=u[d++]<>S)])>>>16&255,I=65535&R,!(S+(A=R>>>24)<=b);){if(0===p)break e;p--,w+=u[d++]<>>=S,b-=S,n.back+=S}if(w>>>=A,b-=A,n.back+=A,64&L){e.msg="invalid distance code",n.mode=30;break}n.offset=I,n.extra=15&L,n.mode=24;case 24:if(n.extra){for(z=n.extra;b >>=n.extra,b-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===v)break e;if(x=T-v,n.offset>x){if((x=n.offset-x)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=30;break}_=x>n.wnext?(x-=n.wnext,n.wsize-x):n.wnext-x,x>n.length&&(x=n.length),N=n.window}else N=c,_=h-n.offset,x=n.length;for(v v?(b=P[B+d[_]],C[O+d[_]]):(b=96,0),p=1< >S)+(f-=p)]=w<<24|b<<16|E|0,0!==f;);for(p=1< >=1;if(0!==p?(j&=p-1,j+=p):j=0,_++,0==--z[x]){if(x===A)break;x=t[n+d[_]]}if(L >>7)]}function x(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function _(e,t,n){e.bi_valid>16-n?(e.bi_buf|=t< >16-e.bi_valid,e.bi_valid+=n-16):(e.bi_buf|=t< >>=1,n<<=1,0<--t;);return n>>>1}function L(e,t,n){var i,r,o=Array(16),s=0;for(i=1;i<=15;i++)o[i]=s=s+n[i-1]<<1;for(r=0;r<=t;r++){var a=e[2*r+1];0!==a&&(e[2*r]=A(o[a]++,a))}}function I(e){var t;for(t=0;t >1;1<=n;n--)k(e,o,n);for(r=u;n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],k(e,o,1),i=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=i,o[2*r]=o[2*n]+o[2*i],e.depth[r]=(e.depth[n]>=e.depth[i]?e.depth[n]:e.depth[i])+1,o[2*n+1]=o[2*i+1]=r,e.heap[1]=r++,k(e,o,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,i,r,o,a,l,u=t.dyn_tree,c=t.max_code,d=t.stat_desc.static_tree,h=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,f=t.stat_desc.extra_base,m=t.stat_desc.max_length,g=0;for(o=0;o<=15;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n >=7;i<30;i++)for(w[i]=r<<7,e=0;e<1<>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return 0;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return 1;for(t=32;t<256;t++)if(0!==e.dyn_ltree[2*t])return 1;return 0}(e)),C(e,e.l_desc),C(e,e.d_desc),s=function(e){var t;for(O(e,e.dyn_ltree,e.l_desc.max_code),O(e,e.dyn_dtree,e.d_desc.max_code),C(e,e.bl_desc),t=18;3<=t&&0===e.bl_tree[2*c[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),r=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=r&&(r=o)):r=o=n+5,n+4<=r&&-1!==t?P(e,t,n,i):4===e.strategy||o===r?(_(e,2+(i?1:0),3),j(e,d,h)):(_(e,4+(i?1:0),3),function(e,t,n,i){var r;for(_(e,t-257,5),_(e,n-1,5),_(e,i-4,4),r=0;r>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(f[n]+256+1)]++,e.dyn_dtree[2*T(t)]++),e.last_lit===e.lit_bufsize-1},n._tr_align=function(e){var t;_(e,2,3),N(e,256,d),16===(t=e).bi_valid?(x(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}},{"../utils/common":41}],53:[function(e,t,n){t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){(function(e){!function(e,t){if(!e.setImmediate){var n,i,r,o,s=1,a={},l=!1,u=e.document,c=Object.getPrototypeOf&&Object.getPrototypeOf(e);c=c&&c.setTimeout?c:e,n="[object process]"===({}).toString.call(e.process)?function(e){tG.nextTick(function(){h(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((r=new MessageChannel).port1.onmessage=function(e){h(e.data)},function(e){r.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(i=u.documentElement,function(e){var t=u.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):function(e){setTimeout(h,0,e)}:(o="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(o+t,"*")}),c.setImmediate=function(e){"function"!=typeof e&&(e=Function(""+e));for(var t=Array(arguments.length-1),i=0;i ":">"},aK=function(e){return e&&e.replace?e.replace(/([&"<>'])/g,function(e,t){return aG[t]}):e},aq=nv.Stream;function aZ(e,t,n){n=n||0;var i,r,o,s=(i=t,Array(n||0).join(i||"")),a=e;if("object"==typeof e&&(r=Object.keys(e)[0],(a=e[r])&&a._elem))return a._elem.name=r,a._elem.icount=n,a._elem.indent=t,a._elem.indents=s,a._elem.interrupt=a,a._elem;var l=[],u=[];function c(e){Object.keys(e).forEach(function(t){l.push(function(e,t){return e+'="'+aK(t)+'"'}(t,e[t]))})}switch(typeof a){case"object":if(null===a)break;a._attr&&c(a._attr),a._cdata&&u.push(("/g,"]]]]>")+"]]>"),a.forEach&&(o=!1,u.push(""),a.forEach(function(e){"object"==typeof e?"_attr"==Object.keys(e)[0]?c(e._attr):u.push(aZ(e,t,n+1)):(u.pop(),o=!0,u.push(aK(e)))}),!o&&u.push(""));break;default:u.push(aK(a))}return{name:r,interrupt:!1,attributes:l,content:u,icount:n,indents:s,indent:t}}function aX(e,t,n){if("object"!=typeof t)return e(!1,t);var i=t.interrupt?1:t.content.length;function r(){for(;t.content.length;){var r=t.content.shift();if(void 0!==r){if(o(r))return;aX(e,r)}}e(!1,(i>1?t.indents:"")+(t.name?""+t.name+">":"")+(t.indent&&!n?"\n":"")),n&&n()}function o(t){return!!t.interrupt&&(t.interrupt.append=e,t.interrupt.end=r,t.interrupt=!1,e(!0),!0)}if(e(!1,t.indents+(t.name?"<"+t.name:"")+(t.attributes.length?" "+t.attributes.join(" "):"")+(i?t.name?">":"":t.name?"/>":"")+(t.indent&&i>1?"\n":"")),!i)return e(!1,t.indent?"\n":"");!o(t)&&r()}aV.exports=function(e,t){"object"!=typeof t&&(t={indent:t});var n,i,r=t.stream?new aq:null,o="",s=!1,a=t.indent?!0===t.indent?" ":t.indent:"",l=!0;function u(e){l?tG.nextTick(e):e()}function c(e,t){if(void 0!==t&&(o+=t),e&&!s&&(r=r||new aq,s=!0),e&&s){var n=o;u(function(){r.emit("data",n)}),o=""}}function d(e,t){aX(c,aZ(e,a,a?1:0),t)}function h(){if(r){var e=o;u(function(){r.emit("data",e),r.emit("end"),r.readable=!1,r.emit("close")})}}if(u(function(){l=!1}),t.declaration){;i={version:"1.0",encoding:(n=t.declaration).encoding||"UTF-8"},n.standalone&&(i.standalone=n.standalone),d({"?xml":{_attr:i}}),o=o.replace("/>","?>")}return(e&&e.forEach?e.forEach(function(t,n){var i;n+1===e.length&&(i=h),d(t,i)}):d(e,h),r)?(r.readable=!0,r):o},aV.exports.element=aV.exports.Element=function(){var e=Array.prototype.slice.call(arguments),t={_elem:aZ(e)};return t.push=function(e){if(!this.append)throw Error("not assigned to a parent!");var t=this,n=this._elem.indent;aX(this.append,aZ(e,n,this._elem.icount+(n?1:0)),function(){t.append(!0)})},t.close=function(e){void 0!==e&&this.push(e),this.end&&this.end()},t};let aJ=tg(aV.exports),a0=(e,t)=>{let n=t.replace(/-/g,"");if(32!==n.length)throw Error(`Error: Cannot extract GUID from font filename: ${t}`);let i=n.replace(/(..)/g,"$1 ").trim().split(" ").map(e=>parseInt(e,16));i.reverse();let r=e.slice(0,32).map((e,t)=>e^i[t%i.length]);return Buffer.concat([e.slice(0,0),r,e.slice(32)])};class a1{format(e,t={stack:[]}){let n=e.prepForXml(t);if(n)return n;throw Error("XMLComponent did not format correctly")}}class a2{replace(e,t,n){let i=e;return t.forEach((e,t)=>{i=i.replace(RegExp(`{${e.fileName}}`,"g"),(n+t).toString())}),i}getMediaData(e,t){return t.Array.filter(t=>e.search(`{${t.fileName}}`)>0)}}class a4{replace(e,t){let n=e;for(let e of t)n=n.replace(RegExp(`{${e.reference}-${e.instance}}`,"g"),e.numId.toString());return n}}let a3={WITH_2_BLANKS:" "},a5=e=>!0===e?a3.WITH_2_BLANKS:!1===e?void 0:e;class a6{static toString(e,t){return ta(this,null,function*(){let n=this.compiler.compile(e,a5(t));return yield n.generateAsync({type:"string",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBuffer(e,t){return ta(this,null,function*(){let n=this.compiler.compile(e,a5(t));return yield n.generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBase64String(e,t){return ta(this,null,function*(){let n=this.compiler.compile(e,a5(t));return yield n.generateAsync({type:"base64",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toBlob(e,t){return ta(this,null,function*(){let n=this.compiler.compile(e,a5(t));return yield n.generateAsync({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"})})}static toStream(e,t){let n=new nv.Stream;return this.compiler.compile(e,a5(t)).generateAsync({type:"nodebuffer",mimeType:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",compression:"DEFLATE"}).then(e=>{n.emit("data",e),n.emit("end")}),n}}ts(a6,"compiler",new class e{constructor(){ts(this,"formatter"),ts(this,"imageReplacer"),ts(this,"numberingReplacer"),this.formatter=new a1,this.imageReplacer=new a2,this.numberingReplacer=new a4}compile(e,t){let n=new aQ;for(let[,i]of new Map(Object.entries(this.xmlifyFile(e,t))))if(Array.isArray(i))for(let e of i)n.file(e.path,e.data);else n.file(i.path,i.data);for(let t of e.Media.Array)"svg"!==t.type?n.file(`word/media/${t.fileName}`,t.data):(n.file(`word/media/${t.fileName}`,t.data),n.file(`word/media/${t.fallback.fileName}`,t.fallback.data));for(let{data:t,name:i,fontKey:r}of e.FontTable.fontOptionsWithKey){let[e]=i.split(".");n.file(`word/fonts/${e}.odttf`,a0(t,r))}return n}xmlifyFile(e,t){let n=e.Document.Relationships.RelationshipCount+1,i=aJ(this.formatter.format(e.Document.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),r=this.imageReplacer.getMediaData(i,e.Media);return{Relationships:{data:(()=>(r.forEach((t,i)=>{e.Document.Relationships.createRelationship(n+i,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${t.fileName}`)}),aJ(this.formatter.format(e.Document.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}})))(),path:"word/_rels/document.xml.rels"},Document:{data:(()=>{let t=this.imageReplacer.replace(i,r,n);return this.numberingReplacer.replace(t,e.Numbering.ConcreteNumbering)})(),path:"word/document.xml"},Styles:{data:(()=>{let n=aJ(this.formatter.format(e.Styles,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}});return this.numberingReplacer.replace(n,e.Numbering.ConcreteNumbering)})(),path:"word/styles.xml"},Properties:{data:aJ(this.formatter.format(e.CoreProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/core.xml"},Numbering:{data:aJ(this.formatter.format(e.Numbering,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/numbering.xml"},FileRelationships:{data:aJ(this.formatter.format(e.FileRelationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"_rels/.rels"},HeaderRelationships:e.Headers.map((n,i)=>{let r=aJ(this.formatter.format(n.View,{viewWrapper:n,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(r,e.Media).forEach((e,t)=>{n.Relationships.createRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),{data:aJ(this.formatter.format(n.Relationships,{viewWrapper:n,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/header${i+1}.xml.rels`}}),FooterRelationships:e.Footers.map((n,i)=>{let r=aJ(this.formatter.format(n.View,{viewWrapper:n,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}});return this.imageReplacer.getMediaData(r,e.Media).forEach((e,t)=>{n.Relationships.createRelationship(t,"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",`media/${e.fileName}`)}),{data:aJ(this.formatter.format(n.Relationships,{viewWrapper:n,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:`word/_rels/footer${i+1}.xml.rels`}}),Headers:e.Headers.map((n,i)=>{let r=aJ(this.formatter.format(n.View,{viewWrapper:n,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(r,e.Media),s=this.imageReplacer.replace(r,o,0);return{data:this.numberingReplacer.replace(s,e.Numbering.ConcreteNumbering),path:`word/header${i+1}.xml`}}),Footers:e.Footers.map((n,i)=>{let r=aJ(this.formatter.format(n.View,{viewWrapper:n,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),o=this.imageReplacer.getMediaData(r,e.Media),s=this.imageReplacer.replace(r,o,0);return{data:this.numberingReplacer.replace(s,e.Numbering.ConcreteNumbering),path:`word/footer${i+1}.xml`}}),ContentTypes:{data:aJ(this.formatter.format(e.ContentTypes,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"[Content_Types].xml"},CustomProperties:{data:aJ(this.formatter.format(e.CustomProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/custom.xml"},AppProperties:{data:aJ(this.formatter.format(e.AppProperties,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"docProps/app.xml"},FootNotes:{data:aJ(this.formatter.format(e.FootNotes.View,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/footnotes.xml"},FootNotesRelationships:{data:aJ(this.formatter.format(e.FootNotes.Relationships,{viewWrapper:e.FootNotes,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/_rels/footnotes.xml.rels"},Settings:{data:aJ(this.formatter.format(e.Settings,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/settings.xml"},Comments:{data:aJ(this.formatter.format(e.Comments,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/comments.xml"},FontTable:{data:aJ(this.formatter.format(e.FontTable.View,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{standalone:"yes",encoding:"UTF-8"}}),path:"word/fontTable.xml"},FontTableRelationships:{data:aJ(this.formatter.format(e.FontTable.Relationships,{viewWrapper:e.Document,file:e,stack:[]}),{indent:t,declaration:{encoding:"UTF-8"}}),path:"word/_rels/fontTable.xml.rels"}}}}),new a1;new a1,new a2},3032:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{uz:function(){return o.uz}});var r=n(8092),o=n(9986),s=e([r]);r=(s.then?(await s)():s)[0],(0,o.oT)(r),i()}catch(e){i(e)}})},9986:function(e,t,n){"use strict";let i;function r(e){i=e}n.d(t,{Or:function(){return b},h4:function(){return E},oT:function(){return r},uz:function(){return w}});let o=new("undefined"==typeof TextDecoder?(0,module.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});o.decode();let s=null;function a(){return(null===s||0===s.byteLength)&&(s=new Uint8Array(i.memory.buffer)),s}function l(e,t){return e>>>=0,o.decode(a().subarray(e,e+t))}let u=Array(128).fill(void 0);u.push(void 0,null,!0,!1);let c=u.length,d=0,h=new("undefined"==typeof TextEncoder?(0,module.require)("util").TextEncoder:TextEncoder)("utf-8"),p="function"==typeof h.encodeInto?function(e,t){return h.encodeInto(e,t)}:function(e,t){let n=h.encode(e);return t.set(n),{read:e.length,written:n.length}};function f(e,t,n){if(void 0===n){let n=h.encode(e),i=t(n.length,1)>>>0;return a().subarray(i,i+n.length).set(n),d=n.length,i}let i=e.length,r=t(i,1)>>>0,o=a(),s=0;for(;s127)break;o[r+s]=t}if(s!==i){0!==s&&(e=e.slice(s)),r=n(r,i,i=s+3*e.length,1)>>>0;let t=p(e,a().subarray(r+s,r+i));s+=t.written,r=n(r,i,s,1)>>>0}return d=s,r}let m=null;function g(){return(null===m||!0===m.buffer.detached||void 0===m.buffer.detached&&m.buffer!==i.memory.buffer)&&(m=new DataView(i.memory.buffer)),m}function y(e,t){e>>>=0;let n=g(),i=[];for(let r=e;r {},unregister:()=>{}}:new FinalizationRegistry(e=>i.__wbg_languagestemmer_free(e>>>0,1));class w{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,v.unregister(this),e}free(){let e=this.__destroy_into_raw();i.__wbg_languagestemmer_free(e,0)}constructor(e){let t=f(e,i.__wbindgen_malloc,i.__wbindgen_realloc),n=d,r=i.languagestemmer_new(t,n);return this.__wbg_ptr=r>>>0,v.register(this,this.__wbg_ptr,this),this}static supportedLanguages(){try{let r=i.__wbindgen_add_to_stack_pointer(-16);i.languagestemmer_supportedLanguages(r);var e=g().getInt32(r+0,!0),t=g().getInt32(r+4,!0),n=y(e,t).slice();return i.__wbindgen_free(e,4*t,4),n}finally{i.__wbindgen_add_to_stack_pointer(16)}}static cleanText(e){try{let o=i.__wbindgen_add_to_stack_pointer(-16),s=f(e,i.__wbindgen_malloc,i.__wbindgen_realloc),a=d;i.languagestemmer_cleanText(o,s,a);var t=g().getInt32(o+0,!0),n=g().getInt32(o+4,!0),r=y(t,n).slice();return i.__wbindgen_free(t,4*n,4),r}finally{i.__wbindgen_add_to_stack_pointer(16)}}stemWord(e){let t,n;try{let s=i.__wbindgen_add_to_stack_pointer(-16),a=f(e,i.__wbindgen_malloc,i.__wbindgen_realloc),u=d;i.languagestemmer_stemWord(s,this.__wbg_ptr,a,u);var r=g().getInt32(s+0,!0),o=g().getInt32(s+4,!0);return t=r,n=o,l(r,o)}finally{i.__wbindgen_add_to_stack_pointer(16),i.__wbindgen_free(t,n,1)}}stemText(e){try{let o=i.__wbindgen_add_to_stack_pointer(-16),s=f(e,i.__wbindgen_malloc,i.__wbindgen_realloc),a=d;i.languagestemmer_stemText(o,this.__wbg_ptr,s,a);var t=g().getInt32(o+0,!0),n=g().getInt32(o+4,!0),r=y(t,n).slice();return i.__wbindgen_free(t,4*n,4),r}finally{i.__wbindgen_add_to_stack_pointer(16)}}}function b(e,t){throw Error(l(e,t))}function E(e,t){return function(e){c===u.length&&u.push(u.length+1);let t=c;return c=u[t],u[t]=e,t}(l(e,t))}},5368:function(e){"use strict";e.exports=JSON.parse('["\'ll","\'tis","\'twas","\'ve","10","39","a","a\'s","able","ableabout","about","above","abroad","abst","accordance","according","accordingly","across","act","actually","ad","added","adj","adopted","ae","af","affected","affecting","affects","after","afterwards","ag","again","against","ago","ah","ahead","ai","ain\'t","aint","al","all","allow","allows","almost","alone","along","alongside","already","also","although","always","am","amid","amidst","among","amongst","amoungst","amount","an","and","announce","another","any","anybody","anyhow","anymore","anyone","anything","anyway","anyways","anywhere","ao","apart","apparently","appear","appreciate","appropriate","approximately","aq","ar","are","area","areas","aren","aren\'t","arent","arise","around","arpa","as","aside","ask","asked","asking","asks","associated","at","au","auth","available","aw","away","awfully","az","b","ba","back","backed","backing","backs","backward","backwards","bb","bd","be","became","because","become","becomes","becoming","been","before","beforehand","began","begin","beginning","beginnings","begins","behind","being","beings","believe","below","beside","besides","best","better","between","beyond","bf","bg","bh","bi","big","bill","billion","biol","bj","bm","bn","bo","both","bottom","br","brief","briefly","bs","bt","but","buy","bv","bw","by","bz","c","c\'mon","c\'s","ca","call","came","can","can\'t","cannot","cant","caption","case","cases","cause","causes","cc","cd","certain","certainly","cf","cg","ch","changes","ci","ck","cl","clear","clearly","click","cm","cmon","cn","co","co.","com","come","comes","computer","con","concerning","consequently","consider","considering","contain","containing","contains","copy","corresponding","could","could\'ve","couldn","couldn\'t","couldnt","course","cr","cry","cs","cu","currently","cv","cx","cy","cz","d","dare","daren\'t","darent","date","de","dear","definitely","describe","described","despite","detail","did","didn","didn\'t","didnt","differ","different","differently","directly","dj","dk","dm","do","does","doesn","doesn\'t","doesnt","doing","don","don\'t","done","dont","doubtful","down","downed","downing","downs","downwards","due","during","dz","e","each","early","ec","ed","edu","ee","effect","eg","eh","eight","eighty","either","eleven","else","elsewhere","empty","end","ended","ending","ends","enough","entirely","er","es","especially","et","et-al","etc","even","evenly","ever","evermore","every","everybody","everyone","everything","everywhere","ex","exactly","example","except","f","face","faces","fact","facts","fairly","far","farther","felt","few","fewer","ff","fi","fifteen","fifth","fifty","fify","fill","find","finds","fire","first","five","fix","fj","fk","fm","fo","followed","following","follows","for","forever","former","formerly","forth","forty","forward","found","four","fr","free","from","front","full","fully","further","furthered","furthering","furthermore","furthers","fx","g","ga","gave","gb","gd","ge","general","generally","get","gets","getting","gf","gg","gh","gi","give","given","gives","giving","gl","gm","gmt","gn","go","goes","going","gone","good","goods","got","gotten","gov","gp","gq","gr","great","greater","greatest","greetings","group","grouped","grouping","groups","gs","gt","gu","gw","gy","h","had","hadn\'t","hadnt","half","happens","hardly","has","hasn","hasn\'t","hasnt","have","haven","haven\'t","havent","having","he","he\'d","he\'ll","he\'s","hed","hell","hello","help","hence","her","here","here\'s","hereafter","hereby","herein","heres","hereupon","hers","herself","herse”","hes","hi","hid","high","higher","highest","him","himself","himse”","his","hither","hk","hm","hn","home","homepage","hopefully","how","how\'d","how\'ll","how\'s","howbeit","however","hr","ht","htm","html","http","hu","hundred","i","i\'d","i\'ll","i\'m","i\'ve","i.e.","id","ie","if","ignored","ii","il","ill","im","immediate","immediately","importance","important","in","inasmuch","inc","inc.","indeed","index","indicate","indicated","indicates","information","inner","inside","insofar","instead","int","interest","interested","interesting","interests","into","invention","inward","io","iq","ir","is","isn","isn\'t","isnt","it","it\'d","it\'ll","it\'s","itd","itll","its","itself","itse”","ive","j","je","jm","jo","join","jp","just","k","ke","keep","keeps","kept","keys","kg","kh","ki","kind","km","kn","knew","know","known","knows","kp","kr","kw","ky","kz","l","la","large","largely","last","lately","later","latest","latter","latterly","lb","lc","least","length","less","lest","let","let\'s","lets","li","like","liked","likely","likewise","line","little","lk","ll","long","longer","longest","look","looking","looks","low","lower","lr","ls","lt","ltd","lu","lv","ly","m","ma","made","mainly","make","makes","making","man","many","may","maybe","mayn\'t","maynt","mc","md","me","mean","means","meantime","meanwhile","member","members","men","merely","mg","mh","microsoft","might","might\'ve","mightn\'t","mightnt","mil","mill","million","mine","minus","miss","mk","ml","mm","mn","mo","more","moreover","most","mostly","move","mp","mq","mr","mrs","ms","msie","mt","mu","much","mug","must","must\'ve","mustn\'t","mustnt","mv","mw","mx","my","myself","myse”","mz","n","na","name","namely","nay","nc","nd","ne","near","nearly","necessarily","necessary","need","needed","needing","needn\'t","neednt","needs","neither","net","netscape","never","neverf","neverless","nevertheless","new","newer","newest","next","nf","ng","ni","nine","ninety","nl","no","no-one","nobody","non","none","nonetheless","noone","nor","normally","nos","not","noted","nothing","notwithstanding","novel","now","nowhere","np","nr","nu","null","number","numbers","nz","o","obtain","obtained","obviously","of","off","often","oh","ok","okay","old","older","oldest","om","omitted","on","once","one","one\'s","ones","only","onto","open","opened","opening","opens","opposite","or","ord","order","ordered","ordering","orders","org","other","others","otherwise","ought","oughtn\'t","oughtnt","our","ours","ourselves","out","outside","over","overall","owing","own","p","pa","page","pages","part","parted","particular","particularly","parting","parts","past","pe","per","perhaps","pf","pg","ph","pk","pl","place","placed","places","please","plus","pm","pmid","pn","point","pointed","pointing","points","poorly","possible","possibly","potentially","pp","pr","predominantly","present","presented","presenting","presents","presumably","previously","primarily","probably","problem","problems","promptly","proud","provided","provides","pt","put","puts","pw","py","q","qa","que","quickly","quite","qv","r","ran","rather","rd","re","readily","really","reasonably","recent","recently","ref","refs","regarding","regardless","regards","related","relatively","research","reserved","respectively","resulted","resulting","results","right","ring","ro","room","rooms","round","ru","run","rw","s","sa","said","same","saw","say","saying","says","sb","sc","sd","se","sec","second","secondly","seconds","section","see","seeing","seem","seemed","seeming","seems","seen","sees","self","selves","sensible","sent","serious","seriously","seven","seventy","several","sg","sh","shall","shan\'t","shant","she","she\'d","she\'ll","she\'s","shed","shell","shes","should","should\'ve","shouldn","shouldn\'t","shouldnt","show","showed","showing","shown","showns","shows","si","side","sides","significant","significantly","similar","similarly","since","sincere","site","six","sixty","sj","sk","sl","slightly","sm","small","smaller","smallest","sn","so","some","somebody","someday","somehow","someone","somethan","something","sometime","sometimes","somewhat","somewhere","soon","sorry","specifically","specified","specify","specifying","sr","st","state","states","still","stop","strongly","su","sub","substantially","successfully","such","sufficiently","suggest","sup","sure","sv","sy","system","sz","t","t\'s","take","taken","taking","tc","td","tell","ten","tends","test","text","tf","tg","th","than","thank","thanks","thanx","that","that\'ll","that\'s","that\'ve","thatll","thats","thatve","the","their","theirs","them","themselves","then","thence","there","there\'d","there\'ll","there\'re","there\'s","there\'ve","thereafter","thereby","thered","therefore","therein","therell","thereof","therere","theres","thereto","thereupon","thereve","these","they","they\'d","they\'ll","they\'re","they\'ve","theyd","theyll","theyre","theyve","thick","thin","thing","things","think","thinks","third","thirty","this","thorough","thoroughly","those","thou","though","thoughh","thought","thoughts","thousand","three","throug","through","throughout","thru","thus","til","till","tip","tis","tj","tk","tm","tn","to","today","together","too","took","top","toward","towards","tp","tr","tried","tries","trillion","truly","try","trying","ts","tt","turn","turned","turning","turns","tv","tw","twas","twelve","twenty","twice","two","tz","u","ua","ug","uk","um","un","under","underneath","undoing","unfortunately","unless","unlike","unlikely","until","unto","up","upon","ups","upwards","us","use","used","useful","usefully","usefulness","uses","using","usually","uucp","uy","uz","v","va","value","various","vc","ve","versus","very","vg","vi","via","viz","vn","vol","vols","vs","vu","w","want","wanted","wanting","wants","was","wasn","wasn\'t","wasnt","way","ways","we","we\'d","we\'ll","we\'re","we\'ve","web","webpage","website","wed","welcome","well","wells","went","were","weren","weren\'t","werent","weve","wf","what","what\'d","what\'ll","what\'s","what\'ve","whatever","whatll","whats","whatve","when","when\'d","when\'ll","when\'s","whence","whenever","where","where\'d","where\'ll","where\'s","whereafter","whereas","whereby","wherein","wheres","whereupon","wherever","whether","which","whichever","while","whilst","whim","whither","who","who\'d","who\'ll","who\'s","whod","whoever","whole","wholl","whom","whomever","whos","whose","why","why\'d","why\'ll","why\'s","widely","width","will","willing","wish","with","within","without","won","won\'t","wonder","wont","words","work","worked","working","works","world","would","would\'ve","wouldn","wouldn\'t","wouldnt","ws","www","x","y","ye","year","years","yes","yet","you","you\'d","you\'ll","you\'re","you\'ve","youd","youll","young","younger","youngest","your","youre","yours","yourself","yourselves","youve","yt","yu","z","za","zero","zm","zr"]')},8236:function(e){"use strict";e.exports=JSON.parse('["aan","aangaande","aangezien","achte","achter","achterna","af","afgelopen","al","aldaar","aldus","alhoewel","alias","alle","allebei","alleen","alles","als","alsnog","altijd","altoos","ander","andere","anders","anderszins","beetje","behalve","behoudens","beide","beiden","ben","beneden","bent","bepaald","betreffende","bij","bijna","bijv","binnen","binnenin","blijkbaar","blijken","boven","bovenal","bovendien","bovengenoemd","bovenstaand","bovenvermeld","buiten","bv","daar","daardoor","daarheen","daarin","daarna","daarnet","daarom","daarop","daaruit","daarvanlangs","dan","dat","de","deden","deed","der","derde","derhalve","dertig","deze","dhr","die","dikwijls","dit","doch","doe","doen","doet","door","doorgaand","drie","duizend","dus","echter","een","eens","eer","eerdat","eerder","eerlang","eerst","eerste","eigen","eigenlijk","elk","elke","en","enig","enige","enigszins","enkel","er","erdoor","erg","ergens","etc","etcetera","even","eveneens","evenwel","gauw","ge","gedurende","geen","gehad","gekund","geleden","gelijk","gemoeten","gemogen","genoeg","geweest","gewoon","gewoonweg","haar","haarzelf","had","hadden","hare","heb","hebben","hebt","hedden","heeft","heel","hem","hemzelf","hen","het","hetzelfde","hier","hierbeneden","hierboven","hierin","hierna","hierom","hij","hijzelf","hoe","hoewel","honderd","hun","hunne","ieder","iedere","iedereen","iemand","iets","ik","ikzelf","in","inderdaad","inmiddels","intussen","inzake","is","ja","je","jezelf","jij","jijzelf","jou","jouw","jouwe","juist","jullie","kan","klaar","kon","konden","krachtens","kun","kunnen","kunt","laatst","later","liever","lijken","lijkt","maak","maakt","maakte","maakten","maar","mag","maken","me","meer","meest","meestal","men","met","mevr","mezelf","mij","mijn","mijnent","mijner","mijzelf","minder","miss","misschien","missen","mits","mocht","mochten","moest","moesten","moet","moeten","mogen","mr","mrs","mw","na","naar","nadat","nam","namelijk","nee","neem","negen","nemen","nergens","net","niemand","niet","niets","niks","noch","nochtans","nog","nogal","nooit","nu","nv","of","ofschoon","om","omdat","omhoog","omlaag","omstreeks","omtrent","omver","ondanks","onder","ondertussen","ongeveer","ons","onszelf","onze","onzeker","ooit","ook","op","opnieuw","opzij","over","overal","overeind","overige","overigens","paar","pas","per","precies","recent","redelijk","reeds","rond","rondom","samen","sedert","sinds","sindsdien","slechts","sommige","spoedig","steeds","tamelijk","te","tegen","tegenover","tenzij","terwijl","thans","tien","tiende","tijdens","tja","toch","toe","toen","toenmaals","toenmalig","tot","totdat","tussen","twee","tweede","u","uit","uitgezonderd","uw","vaak","vaakwat","van","vanaf","vandaan","vanuit","vanwege","veel","veeleer","veertig","verder","verscheidene","verschillende","vervolgens","via","vier","vierde","vijf","vijfde","vijftig","vol","volgend","volgens","voor","vooraf","vooral","vooralsnog","voorbij","voordat","voordezen","voordien","voorheen","voorop","voorts","vooruit","vrij","vroeg","waar","waarom","waarschijnlijk","wanneer","want","waren","was","wat","we","wederom","weer","weg","wegens","weinig","wel","weldra","welk","welke","werd","werden","werder","wezen","whatever","wie","wiens","wier","wij","wijzelf","wil","wilden","willen","word","worden","wordt","zal","ze","zei","zeker","zelf","zelfde","zelfs","zes","zeven","zich","zichzelf","zij","zijn","zijne","zijzelf","zo","zoals","zodat","zodra","zonder","zou","zouden","zowat","zulk","zulke","zullen","zult"]')},8092:function(e,t,n){"use strict";var i=n("9986");e.exports=n.v(t,e.id,"6ace95e407837f71",{"./wasm_stemmers_bg.js":{__wbindgen_throw:i.Or,__wbindgen_string_new:i.h4}})}},t={};function n(i){var r=t[i];if(void 0!==r){if(void 0!==r.error)throw r.error;return r.exports}var o=t[i]={id:i,loaded:!1,exports:{}};try{var s={id:i,module:o,factory:e[i],require:n};n.i.forEach(function(e){e(s)}),o=s.module,!s.factory&&console.error("undefined factory",i),s.factory.call(o.exports,o,o.exports,s.require)}catch(e){throw o.error=e,e}return o.loaded=!0,o.exports}n.m=e,n.c=t,n.i=[],(()=>{var e="function"==typeof Symbol?Symbol("webpack queues"):"__webpack_queues__",t="function"==typeof Symbol?Symbol("webpack exports"):"__webpack_exports__",i="function"==typeof Symbol?Symbol("webpack error"):"__webpack_error__",r=function(e){e&&e.d<1&&(e.d=1,e.forEach(function(e){e.r--}),e.forEach(function(e){e.r--?e.r++:e()}))};n.a=function(n,o,s){s&&((a=[]).d=-1);var a,l,u,c,d=new Set,h=n.exports,p=new Promise(function(e,t){c=t,u=e});p[t]=h,p[e]=function(e){a&&e(a),d.forEach(e),p.catch(function(){})},n.exports=p,o(function(n){l=n.map(function(n){if(null!==n&&"object"==typeof n){if(n[e])return n;if(n.then){var o=[];o.d=0,n.then(function(e){s[t]=e,r(o)},function(e){s[i]=e,r(o)});var s={};return s[e]=function(e){e(o)},s}}var a={};return a[e]=function(){},a[t]=n,a});var o,s=function(){return l.map(function(e){if(e[i])throw e[i];return e[t]})},u=new Promise(function(t){(o=function(){t(s)}).r=0;var n=function(e){e===a||d.has(e)||(d.add(e),e&&!e.d&&(o.r++,e.push(o)))};l.map(function(t){t[e](n)})});return o.r?u:s()},function(e){e?c(p[i]=e):u(h),r(a)}),a&&a.d<0&&(a.d=0)}})(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.k=function(e){return""+e+".bundle.css"},n.hu=function(e){return""+e+"."+n.h()+".hot-update.js"},n.h=function(){return"0a722cfc9ce59b58"},n.hmrF=function(){return"main."+n.h()+".hot-update.json"},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},(()=>{var e,t,i,r={},o=n.c,s=[],a=[],l="idle",u=0,c=[];n.hmrD=r,n.i.push(function(c){var m=c.module,g=function(t,n){var i=o[n];if(!i)return t;var r=function(r){if(i.hot.active){if(o[r]){var a=o[r].parents;-1===a.indexOf(n)&&a.push(n)}else s=[n],e=r;-1===i.children.indexOf(r)&&i.children.push(r)}else console.warn("[HMR] unexpected require("+r+") from disposed module "+n),s=[];return t(r)},a=function(e){return{configurable:!0,enumerable:!0,get:function(){return t[e]},set:function(n){t[e]=n}}};for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&"e"!==c&&Object.defineProperty(r,c,a(c));return r.e=function(e,n){return function(e){switch(l){case"ready":d("prepare");case"prepare":return u++,e.then(h,h),e;default:return e}}(t.e(e,n))},r}(c.require,c.id);m.hot=function(o,u){var c=e!==o,h={_acceptedDependencies:{},_acceptedErrorHandlers:{},_declinedDependencies:{},_selfAccepted:!1,_selfDeclined:!1,_selfInvalidated:!1,_disposeHandlers:[],_main:c,_requireSelf:function(){s=u.parents.slice(),e=c?void 0:o,n(o)},active:!0,accept:function(e,t,n){if(void 0===e)h._selfAccepted=!0;else if("function"==typeof e)h._selfAccepted=e;else if("object"==typeof e&&null!==e)for(var i=0;i =0&&h._disposeHandlers.splice(t,1)},invalidate:function(){switch(this._selfInvalidated=!0,l){case"idle":t=[],Object.keys(n.hmrI).forEach(function(e){n.hmrI[e](o,t)}),d("ready");break;case"ready":Object.keys(n.hmrI).forEach(function(e){n.hmrI[e](o,t)});break;case"prepare":case"check":case"dispose":case"apply":(i=i||[]).push(o)}},check:p,apply:f,status:function(e){if(!e)return l;a.push(e)},addStatusHandler:function(e){a.push(e)},removeStatusHandler:function(e){var t=a.indexOf(e);t>=0&&a.splice(t,1)},data:r[o]};return e=void 0,h}(c.id,m),m.parents=s,m.children=[],s=[],c.require=g}),n.hmrC={},n.hmrI={};function d(e){l=e;for(var t=[],n=0;n 0)return d("abort").then(function(){throw o[0]});var s=d("dispose");r.forEach(function(e){e.dispose&&e.dispose()});var a=d("apply"),l=function(e){!n&&(n=e)},u=[];return r.forEach(function(e){if(e.apply){var t=e.apply(l);if(t)for(var n=0;n e.indexOf(t)&&e.push(t)}),e}):d("idle").then(function(){return u})})}function g(){if(i)return!t&&(t=[]),Object.keys(n.hmrI).forEach(function(e){i.forEach(function(i){n.hmrI[e](i,t)})}),i=void 0,!0}})(),(()=>{var e={},t="crime_scrips:";n.l=function(i,r,o,s){if(e[i]){e[i].push(r);return}if(void 0!==o){for(var a,l,u=document.getElementsByTagName("script"),c=0;c {var e={},t="crime_scrips",i=(i,r,s)=>{var a,l,u="",c="",d="",h={},p=[],f="--webpack-"+t+"-"+s,m=1,g={};try{!r&&(r=o(s));for(var y=r.sheet.cssRules||r.sheet.rules,v=y.length-1;v>-1&&!a;){var w=y[v--].style;if(!!w)a=w.getPropertyValue(f)}}catch(e){}if(!a&&(a=getComputedStyle(document.head).getPropertyValue(f)),!a)return[];var b,E={},T=a[0],x=T,_=T,N=256;for(l=1;l 65535&&(N=256,E={}),x=b;for(l=0,a=_;m;l++)58==(m=a.charCodeAt(l))?(c=u,u=""):47==m?(u=u.replace(/^_/,""),c=c.replace(/^_/,""),d?g.push(c,d,u):h[c]=void 0===h[c]?u:h[c]+" "+u,u="",c="",d=""):38==m?n.r(h):m&&44!=m?92==m?u+=a[++l]:64==m?(d=u,u=""):u+=a[l]:(i[u=u.replace(/^_/,"")]=((e,t,i)=>{!function(e,t){for(var i=0;i r.indexOf("?")?"?":"&")+"hmr="+Date.now(),function(r){if("load"!==r.type){var o=Error(),d=r&&r.type,p=r&&r.target&&r.target.src;o.message="Loading css hot update chunk "+e+" failed.\n("+d+": "+p+")",o.name="ChunkLoadError",o.type=d,o.request=p,n(o)}else{try{if(u(l)==u(c))return c.parentNode&&c.parentNode.removeChild(c),t()}catch(e){}var f={};i(f,c,e),Object.keys(f).forEach(function(e){h.push(e)}),c.sheet.disabled=!0,s.push(l),a.push([e,c]),t()}},l)}))})}})(),(()=>{var e,t,i,r,o,s=n.hmrS_jsonp=n.hmrS_jsonp||{909:0},a={};function l(t,i){return e=i,new Promise(function(e,i){a[t]=e;var r=n.p+n.hu(t),o=Error();n.l(r,function(e){if(a[t]){a[t]=void 0;var n=e&&("load"===e.type?"missing":e.type),r=e&&e.target&&e.target.src;o.message="Loading hot update chunk "+t+" failed.\n("+n+": "+r+")",o.name="ChunkLoadError",o.type=n,o.request=r,i(o)}})})}function u(e){n.f&&delete n.f.jsonpHmr,t=void 0;function a(e,t){for(var n=0;n 0;){var o=r.pop(),s=o.id,l=o.chain,u=n.c[s];if(!!u&&(!u.hot._selfAccepted||!!u.hot._selfInvalidated)){if(u.hot._selfDeclined)return{type:"self-declined",chain:l,moduleId:s};if(u.hot._main)return{type:"unaccepted",chain:l,moduleId:s};for(var c=0;c ")),m.type){case"self-declined":e.onDeclined&&e.onDeclined(m),!e.ignoreDeclined&&(g=Error("Aborted because of self decline: "+m.moduleId+w));break;case"declined":e.onDeclined&&e.onDeclined(m),!e.ignoreDeclined&&(g=Error("Aborted because of declined dependency: "+m.moduleId+" in "+m.parentId+w));break;case"unaccepted":e.onUnaccepted&&e.onUnaccepted(m),!e.ignoreUnaccepted&&(g=Error("Aborted because "+p+" is not accepted"+w));break;case"accepted":e.onAccepted&&e.onAccepted(m),y=!0;break;case"disposed":e.onDisposed&&e.onDisposed(m),v=!0;break;default:throw Error("Unexception type "+m.type)}if(g)return{error:g};if(y)for(p in d[p]=f,a(c,m.outdatedModules),m.outdatedDependencies)n.o(m.outdatedDependencies,p)&&(!u[p]&&(u[p]=[]),a(u[p],m.outdatedDependencies[p]));v&&(a(c,[m.moduleId]),d[p]=h)}i=void 0;for(var b=[],E=0;E 0;){var o=i.pop(),a=n.c[o];if(!!a){var d={},h=a.hot._disposeHandlers;for(E=0;E =0&&p.parents.splice(e,1)}}}for(var f in u)if(n.o(u,f)&&(a=n.c[f]))for(E=0,l=u[f];E =0&&a.children.splice(e,1)},apply:function(t){for(var i in d)n.o(d,i)&&(n.m[i]=d[i]);for(var r=0;r {e=e.replace(t,n)}),e=e.trim(),t&&(e=e.replace(/^ ([\s\S]*)<\/p>$/,"$1")),n&&(e=e.replace(/(16*Math.random()|0).toString(16)),h=["min","max","minLength","maxLength","rows","cols","placeholder","autocomplete","pattern","readOnly","step"],p=e=>h.indexOf(e)>=0,f=({disabled:e})=>e?"[disabled]":"",m=e=>{let t;return(e=>Object.keys(e).filter(p).filter(t=>void 0!==e[t]).reduce((t,n)=>{let i=e[n];return t.push(`[${n.toLowerCase()}=${i}]`),t},[]).join(""))(e)+((t=e).maxLength?`[data-length=${t.maxLength}]`:"")+f(e)+(({required:e,isMandatory:t})=>e||t?"[required][aria-required=true]":"")(e)+(({autofocus:e})=>"boolean"==typeof e&&e||e&&e()?"[autofocus]":"")(e)},g=e=>!isNaN(parseFloat(e))&&isFinite(e);function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t
=0||(r[n]=e[n]);return r}let w=["label","id","isMandatory","isActive"],b={view:({attrs:e})=>s()("span.mandatory",e,"*")},E=()=>({view:e=>{let{attrs:{label:t,id:n,isMandatory:i,isActive:r}}=e,o=v(e.attrs,w);return t?s()(`label${r?".active":""}${n?`[for=${n}]`:""}`,o,[s().trust(t),i?s()(b):void 0]):void 0}}),T=()=>({view:({attrs:{helperText:e,dataError:t,dataSuccess:n,className:i}})=>e||t||n?s()("span.helper-text",{className:i,dataError:t,dataSuccess:n},e?s().trust(e):""):void 0}),x=()=>{let e={id:d()};return{view:({attrs:t})=>{let n=t.id||e.id,i=m(t),{label:r,helperText:o,initialValue:a,onchange:l,newRow:u,className:c="col s12",style:d,iconName:h,isMandatory:p}=t;return s()(".input-field"+(u?".clear":""),{className:u?c+" clear":c,style:d},[h?s()("i.material-icons.prefix",h):"",s()(`input.autocomplete[type=text][tabindex=0]${i}`,{id:n,oncreate:({dom:e})=>{M.Autocomplete.init(e,t)},onchange:l?e=>{e.target&&e.target.value&&l(e.target.value)}:void 0,value:a}),s()(E,{label:r,id:n,isMandatory:p,isActive:a}),s()(T,{helperText:o})])}}},_=["iconName"],N=()=>({view:e=>{let{attrs:{iconName:t}}=e,n=v(e.attrs,_);return s()("i.material-icons",n,t)}}),A=["modalId","tooltip","tooltipPostion","iconName","iconClass","label","attr"],L=(e,t="")=>()=>{let n=`${e}${t}`;return{view:({attrs:e})=>{var t;let i,{modalId:r,tooltip:o,tooltipPostion:a,iconName:l,iconClass:u,label:c,attr:d}=e,h=v(e,A);return s()(`${n}${r?`.modal-trigger[href=#${r}]`:""}${o?`.tooltipped[data-position=${a||"top"}][data-tooltip=${o}]`:""}${(t=d)?((...e)=>t=>e.reduceRight((e,t)=>t(e),t))(e=>Array.prototype.join.call(e,""),(i=e=>`[${e.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())}="${((e="")=>e.toString().replace(/"/g,"""))(t[e])}"]`,e=>Array.prototype.map.call(e,i)),Object.keys)(t):""}`,h,l?s()(N,{iconName:l,className:u||"left"}):void 0,c||void 0)}}},I=L("a.waves-effect.waves-teal.btn-flat","[type=button]"),S=L("button.btn-floating.btn-large.waves-effect.waves-light","[type=button]"),D=()=>({oncreate:({attrs:e,dom:t})=>{let{onchange:n,onChipAdd:i,onChipDelete:r}=e,o=M.Chips.getInstance(t.children[0]),s=i?i.bind(o):void 0;e.onChipAdd=function(e,t){n&&n(this.chipsData),s&&s(e,t)};let a=r?r.bind(o):void 0;e.onChipDelete=function(e,t){n&&n(this.chipsData),a&&a(e,t)},M.Chips.init(t.children[0],e)},onupdate:({dom:e,attrs:{data:t}})=>{if(!t||0===t.length)return;let n=M.Chips.getInstance(e.children[0]);t.forEach(e=>n.addChip(e))},view:({attrs:{placeholder:e,required:t,isMandatory:n=t,data:i,className:r="col s12",label:o,helperText:a}})=>s()(".input-field",{className:r},[s()(`.chips.chips-autocomplete${e?".chips-placeholder":""}${i?".chips-initial":""}`),o?s()(E,{label:o,isMandatory:n,className:"active"}):void 0,a?s()(T,{helperText:a}):void 0])}),k=()=>({view:({attrs:{header:e,body:t,active:n,iconName:i}})=>s()(n?"li.active":"li",[e||i?s()(".collapsible-header",[i?s()("i.material-icons",i):void 0,e?"string"==typeof e?s()("span",e):e:void 0]):void 0,t?s()(".collapsible-body",t):void 0])}),j=()=>({oncreate:({dom:e,attrs:t})=>{M.Collapsible.init(e,t)},view:({attrs:e})=>{let{items:t,class:n,className:i,style:r,id:o}=e;return t&&t.length>0?s()("ul.collapsible",{class:n||i,style:r,id:o},t.map(e=>s()(k,e))):void 0}});(i=r||(r={}))[i.BASIC=0]="BASIC",i[i.LINKS=1]="LINKS",i[i.AVATAR=2]="AVATAR";let C=["className","helperText","iconName","id","initialValue","isMandatory","label","onchange","onkeydown","onkeypress","onkeyup","onblur","style"],O=["className","dataError","dataSuccess","helperText","iconName","id","initialValue","isMandatory","label","maxLength","newRow","onchange","onkeydown","onkeypress","onkeyup","onblur","style","validate"],z=()=>{let e={id:d()};return{view:({attrs:t})=>{let{className:n="col s12",helperText:i,iconName:r,id:o=e.id,initialValue:a,isMandatory:l,label:u,onchange:c,onkeydown:d,onkeypress:h,onkeyup:p,onblur:f,style:g}=t,y=m(v(t,C));return s()(".input-field",{className:n,style:g},[r?s()("i.material-icons.prefix",r):"",s()(`textarea.materialize-textarea[tabindex=0][id=${o}]${y}`,{oncreate:({dom:e})=>{M.textareaAutoResize(e),t.maxLength&&M.CharacterCounter.init(e)},onchange:c?e=>{let t=e.target;c(t&&"string"==typeof t.value?t.value:"")}:void 0,value:a,onkeyup:p?e=>{p(e,e.target.value)}:void 0,onkeydown:d?e=>{d(e,e.target.value)}:void 0,onkeypress:h?e=>{h(e,e.target.value)}:void 0,onblur:f}),s()(E,{label:u,id:o,isMandatory:l,isActive:a||t.placeholder}),s()(T,{helperText:i})])}}},R=(e,t="")=>()=>{let n={id:d()},i=t=>{let n=t.value;return n&&("number"===e||"range"===e)?+n:n},r=(e,t)=>{e.setCustomValidity("boolean"==typeof t?t?"":"Custom validation failed":t)};return{view:({attrs:o})=>{let{className:a="col s12",dataError:l,dataSuccess:u,helperText:c,iconName:d,id:h=n.id,initialValue:p,isMandatory:f,label:g,maxLength:y,newRow:w,onchange:b,onkeydown:x,onkeypress:_,onkeyup:N,onblur:A,style:L,validate:I}=o,S=m(v(o,O));return s()(`.input-field${w?".clear":""}${t}`,{className:a,style:L},[d?s()("i.material-icons.prefix",d):void 0,s()(`input.validate[type=${e}][tabindex=0][id=${h}]${S}`,{oncreate:({dom:t})=>{(({autofocus:e})=>!!e&&("boolean"==typeof e?e:e()))(o)&&t.focus(),y&&M.CharacterCounter.init(t),"range"===e&&M.Range.init(t)},onkeyup:N?e=>{N(e,i(e.target))}:void 0,onkeydown:x?e=>{x(e,i(e.target))}:void 0,onkeypress:_?e=>{_(e,i(e.target))}:void 0,onblur:A,onupdate:I?({dom:e})=>{r(e,I(i(e),e))}:void 0,onchange:e=>{let t=e.target;if(t){let e=i(t);b&&b(e),I&&r(t,I(e,t))}},value:p}),s()(E,{label:g,id:h,isMandatory:f,isActive:!(void 0===p&&!o.placeholder&&"number"!==e&&"color"!==e&&"range"!==e)}),s()(T,{helperText:c,dataError:l,dataSuccess:u})])}}},P=R("text"),B=R("number"),U=R("url"),F=R("color"),Y=R("email"),H=()=>{let e,t=!1;return{view:({attrs:n})=>{let{multiple:i,disabled:r,initialValue:o,placeholder:a,onchange:l,className:u="col s12",accept:c,label:d="File"}=n,h=c?c instanceof Array?c.join(", "):c:void 0,p=h?`[accept=${h}]`:"",f=a?`[placeholder=${a}]`:"";return s()(".file-field.input-field",{className:n.class||u},[s()(".btn",[s()("span",d),s()(`input[type=file]${i?"[multiple]":""}${r?"[disabled]":""}${p}`,{onchange:l?e=>{let n=e.target;n&&n.files&&l&&(t=!0,l(n.files))}:void 0})]),s()(".file-path-wrapper",s()(`input.file-path.validate${f}[type=text]`,{oncreate:({dom:t})=>{e=t,o&&(e.value=o)}})),(t||o)&&s()("a.waves-effect.waves-teal.btn-flat",{style:"float: right;position: relative;top: -3rem; padding: 0",onclick:()=>{t=!1,e.value="",l&&l({})}},s()("i.material-icons","clear"))])}}},W=()=>({view:({attrs:{className:e="col s12",onchange:t,label:n,checked:i,disabled:r,description:o}})=>s()("div",{className:e},s()("label",[s()("input[type=checkbox][tabindex=0]",{checked:i,disabled:r,onclick:t?e=>{e.target&&void 0!==e.target.checked&&t(e.target.checked)}:void 0}),n?"string"==typeof n?s()("span",n):n:void 0]),o&&s()(T,{className:"input-checkbox-desc",helperText:o}))}),Q=()=>{let e={},t=t=>e.checkedIds.indexOf(t)>=0;return{oninit:({attrs:{initialValue:t,checkedId:n}})=>{let i=n||t;e.checkedId=n,e.checkedIds=i?i instanceof Array?[...i]:[i]:[]},view:({attrs:{label:n,id:i,options:r,checkedId:o,description:a,className:l="col s12",disabled:u,checkboxClass:c,newRow:d,isMandatory:h,onchange:p}})=>{o&&e.checkedId!==o&&(e.checkedId=o,e.checkedIds=o instanceof Array?o:[o]);let f=p?(t,n)=>{let i=e.checkedIds.filter(e=>e!==t);n&&i.push(t),e.checkedIds=i,p(i)}:void 0;return s()("div"+(d?".clear":""),{className:l},[s()("div",{className:"input-field options"},s()(E,{id:i,label:n,isMandatory:h})),s()(T,{helperText:a}),...r.map(e=>s()(W,{disabled:u||e.disabled,label:e.label,onchange:f?t=>f(e.id,t):void 0,className:e.className||c,checked:t(e.id),description:e.description}))])}}},V=()=>({oncreate:({dom:e,attrs:{options:t,onCreate:n}})=>{let i=M.Modal.init(e,t);n&&n(i)},view:({attrs:{id:e,title:t,description:n,fixedFooter:i,bottomSheet:r,buttons:o,richContent:a}})=>s()(`.modal${i?".modal-fixed-footer":""}${r?".bottom-sheet":""}[id=${e}]`,[s()(".modal-content",[s()("h4",t),a&&"string"==typeof n?s().trust(n||""):"string"==typeof n?s()("p",n):n]),o?s()(".modal-footer",o.map(e=>s()(I,y({},e,{className:"modal-close"})))):void 0])}),G=()=>({view:({attrs:{title:e,href:t,active:n,disabled:i}})=>s()("li",{className:n?"active":i?"disabled":"waves-effect"},"number"==typeof e?s()(s().route.Link,{href:t},e):e)}),K=()=>{let e={pagIndex:0};return{view:({attrs:{items:t,curPage:n=1,size:i=Math.min(9,t.length)}})=>{let{pagIndex:r}=e,o=r*i,a=o+i,l=r>0,u=a l&&e.pagIndex--},s()("i.material-icons","chevron_left")),disabled:!l},...t.filter((e,t)=>o<=t&&tu&&e.pagIndex++},s()("i.material-icons","chevron_right")),disabled:!u}];return s()("ul.pagination",c.map((e,t)=>s()(G,y({title:o+t},e,{active:o+t===n}))))}}},q=["label","helperText","initialValue","newRow","className","iconName","isMandatory","onchange","disabled"],Z=["label","helperText","initialValue","newRow","className","iconName","isMandatory","onchange","disabled"],X=()=>{let e={id:d()};return{view:t=>{let{attrs:{label:n,helperText:i,initialValue:r,newRow:o,className:a="col s12",iconName:l,isMandatory:u,onchange:c,disabled:d}}=t,h=v(t.attrs,q),p=e.id,f=m(h),g=c?()=>e.dp&&c(e.dp.date):void 0;return s()(".input-field"+(o?".clear":""),{className:a,onremove:()=>e.dp&&e.dp.destroy()},[l?s()("i.material-icons.prefix",l):"",s()(`input.datepicker[type=text][tabindex=0][id=${p}]${f}${d?"[disabled]":""}`,{oncreate:({dom:t})=>{e.dp=M.Datepicker.init(t,y({format:"yyyy/mm/dd",showClearBtn:!0,setDefaultDate:!0,defaultDate:r?new Date(r):new Date},h,{onClose:g}))}}),s()(E,{label:n,id:p,isMandatory:u,isActive:!!r}),s()(T,{helperText:i})])}}},J=()=>{let e={id:d()};return{view:t=>{let{attrs:{label:n,helperText:i,initialValue:r,newRow:o,className:a="col s12",iconName:l,isMandatory:u,onchange:c,disabled:d}}=t,h=v(t.attrs,Z),p=e.id,f=m(h),g=new Date,w=c?()=>e.tp&&c(e.tp.time||r||`${g.getHours()}:${g.getMinutes()}`):void 0;return s()(`.input-field.timepicker${o?".clear":""}`,{className:a,onremove:()=>e.tp&&e.tp.destroy()},[l?s()("i.material-icons.prefix",l):"",s()(`input[type=text][tabindex=0][id=${p}]${f}${d?"[disabled]":""}`,{value:r,oncreate:({dom:t})=>{e.tp=M.Timepicker.init(t,y({twelveHour:!1,showClearBtn:!0,defaultTime:r},h,{onCloseEnd:w}))}}),s()(E,{label:n,id:p,isMandatory:u,isActive:r}),s()(T,{helperText:i})])}}},ee=()=>({view:({attrs:{id:e,groupId:t,label:n,onchange:i,className:r="col s12",checked:o,disabled:a}})=>s()("div",{className:r},s()("label",[s()(`input[type=radio][tabindex=0][name=${t}]${o?"[checked=checked]":""}${a?"[disabled]":""}`,{onclick:i?()=>i(e):void 0}),s()("span",s().trust(n))]))}),et=()=>{let e={groupId:d()};return{oninit:({attrs:{checkedId:t,initialValue:n}})=>{e.oldCheckedId=t,e.checkedId=t||n},view:({attrs:{id:t,checkedId:n,newRow:i,className:r="col s12",label:o="",disabled:a,description:l,options:u,isMandatory:c,checkboxClass:d,onchange:h}})=>{e.oldCheckedId!==n&&(e.oldCheckedId=e.checkedId=n);let{groupId:p,checkedId:f}=e,m=t=>{e.checkedId=t,h&&h(t)};return i&&(r+=" clear"),s()("div",{id:t,className:r},[s()("div",{className:"input-field options"},s()(E,{id:t,label:o,isMandatory:c})),l?s()("p.helper-text",s().trust(l)):"",...u.map(e=>s()(ee,y({},e,{onchange:m,groupId:p,disabled:a,className:d,checked:e.id===f})))])}}},en=()=>{let e={},t=e=>e.map(e=>e.id).join(""),n=(e,t,n=!1)=>n||(t instanceof Array&&(e||"number"==typeof e)?t.indexOf(e)>=0:t===e);return{oninit:({attrs:{checkedId:n,initialValue:i,options:r}})=>{e.ids=t(r);let o=n||i;e.checkedId=n instanceof Array?[...n]:n,e.initialValue=null!=o?o instanceof Array?o.filter(e=>null!=e):[o]:[]},view:({attrs:{id:i,newRow:r,className:o="col s12",checkedId:a,key:l,options:u,multiple:c,label:d,helperText:h,placeholder:p="",isMandatory:f,iconName:m,disabled:y,classes:v="",dropdownOptions:w,onchange:b}})=>{e.checkedId!==a&&(e.initialValue=a?a instanceof Array?a:[a]:void 0);let{initialValue:x}=e,_=b?c?()=>{let t=e.instance&&e.instance.getSelectedValues(),n=t?t.length>0&&g(t[0])?t.map(e=>+e):t.filter(e=>null!==e||void 0!==e):void 0;e.initialValue=n||[],b(e.initialValue)}:t=>{if(t&&t.currentTarget){let n=t.currentTarget,i=g(n.value)?+n.value:n.value;e.initialValue=[i]}e.initialValue&&b(e.initialValue)}:void 0;r&&(o+=" clear");let N=!u.some(e=>n(e.id,x)),A=u.reduce((e,t)=>(t.group&&0>e.indexOf(t.group)&&e.push(t.group),e),[]);return s()(".input-field.select-space",{className:o,key:l,oncreate:c?({dom:t})=>e.wrapper=t:void 0},[m&&s()("i.material-icons.prefix",m),s()("select",{id:i,title:d,disabled:y,multiple:c,oncreate:({dom:t})=>{e.instance=M.FormSelect.init(t,{classes:v,dropdownOptions:w})},onupdate:({dom:n})=>{if(c){let t=m?1:0;!e.inputEl&&e.wrapper&&e.wrapper.childNodes&&e.wrapper.childNodes.length>0&&e.wrapper.childNodes[t].childNodes&&e.wrapper.childNodes[t].childNodes[0]&&(e.inputEl=e.wrapper.childNodes[t].childNodes[0]),e.inputEl&&e.inputEl.value&&e.inputEl.value.startsWith(`${p}, `)&&(e.inputEl.value=e.inputEl.value.replace(`${p}, `,""))}let i=t(u),r=a&&e.checkedId!==a.toString();e.ids!==i&&(e.ids=i,r=!0),(e.checkedId instanceof Array&&a instanceof Array?e.checkedId.join()!==a.join():e.checkedId!==a)&&(e.checkedId=a,r=!0),r&&(e.instance=M.FormSelect.init(n,{classes:v,dropdownOptions:w}))},onchange:_},s()("option",{value:"",disabled:!0,selected:!!N||void 0},p),0===A.length?u.map((e,t)=>{var i;return s()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,x,0===t&&N&&!p)},null==(i=e.label)?void 0:i.replace("&","&"))}):A.map(e=>s()("optgroup",{label:e},u.filter(t=>t.group===e).map((e,t)=>{var i;return s()("option",{value:e.id,title:e.title||void 0,disabled:e.disabled?"true":void 0,"data-icon":e.img||void 0,selected:n(e.id,x,0===t&&N&&!p)},null==(i=e.label)?void 0:i.replace("&","&"))})))),s()(E,{label:d,isMandatory:f}),h&&s()(T,{helperText:h})])}}},ei=["label","left","right","disabled","newRow","onchange","checked","isMandatory","className"],er=()=>{let e={id:d()};return{view:({attrs:t})=>{let n=t.id||e.id,{label:i,left:r,right:o,disabled:a,newRow:l,onchange:u,checked:c,isMandatory:d,className:h="col s12"}=t,p=v(t,ei);return s()("div"+(l?".clear":""),{className:h},[i?s()(E,{label:i||"",id:n,isMandatory:d}):void 0,s()(".switch",p,s()("label",[r||"Off",s()(`input[id=${n}][type=checkbox]${f({disabled:a})}${c?"[checked]":""}`,{onclick:u?e=>{e.target&&void 0!==e.target.checked&&u(e.target.checked)}:void 0}),s()("span.lever"),o||"On"]))])}}},eo=()=>{let e={},t=(e,t)=>t||e.replace(/ /g,"").toLowerCase();return{view:({attrs:{tabWidth:n,selectedTabId:i,tabs:r,className:o,style:a,duration:l,onShow:u,swipeable:c,responsiveThreshold:d}})=>{let h=r.filter(e=>e.active).shift(),p=i||(h?t(h.title,h.id):"");return s()(".row",[s()(".col.s12",s()("ul.tabs"+("fill"===n?".tabs-fixed-width":""),{className:o,style:a,oncreate:({dom:t})=>{e.instance=M.Tabs.init(t,{duration:l,onShow:u,responsiveThreshold:d,swipeable:c})},onupdate:()=>{if(p){let e=document.getElementById(`tab_${p}`);e&&e.click()}},onremove:()=>e.instance.destroy()},r.map(({className:e,title:i,id:o,active:a,disabled:l,target:u,href:c})=>s()(`li.tab${l?".disabled":""}${"fixed"===n?`.col.s${Math.floor(12/r.length)}`:""}`,{className:e},s()(`a[id=tab_${t(i,o)}]${a?".active":""}`,{target:u,href:c||`#${t(i,o)}`},i))))),r.filter(({href:e})=>void 0===e).map(({id:e,title:n,vnode:i,contentClass:r})=>s()(`.col.s12[id=${t(n,e)}]`,{className:r},i))])}}},es=e=>e.charAt(0).toUpperCase()+e.slice(1),ea=(e,t=2,n="0")=>e.toString().length>=t?e.toString():ea(n+e,t,n),el=e=>e?`${ea(e.getHours())}:${ea(e.getMinutes())}`:"00:00",eu=(e,t)=>{let n=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),i={...e};for(let t=0,r=n.length;t e[o]===t).shift();if(!s)return;i=s}}}return i},ec=e=>e.reduce((e,t)=>t instanceof Array?[...e,...t]:[...e,t],[]),ed=/([^ =><]*)\s*([=><]*)\s*(\S*)/i,eh=/^\s*!\s*/,ep=/===?|[^<>=]/i,ef=function(e){var t=[].slice.call(arguments,1);return 0===e.length||(e instanceof Array?e:[e]).some(e=>{let n,i;return n=e,i=ep.test(e)?[t[0]]:ec(t),n.split("&").reduce((e,t)=>{let n=eh.test(t),r=n?t.replace(eh,""):t;return e=e&&i.filter(Boolean).reduce((e,t)=>e||((e,t)=>{if(!t||0===Object.keys(t).length)return!1;let n=ed.exec(e);if(n){let[e,i,r,o]=n,s=eu(t,i.trim());if(void 0===s||"string"==typeof s&&0===s.length)return!1;if(!r||!o)return!0;{let t=isNaN(+o)?"true"===o||"false"!==o&&o:+o;switch(r){case"=":case"==":case"===":return s instanceof Array?s.indexOf(t)>=0:s===t;case"<=":return s<=t;case">=":return s>=t;case"<":return s ":return s>t;default:return console.error(`Unrecognized operand (${r}) in expression: ${e}`),!1}}}return!0})(r.trim(),t),!1),n?!e:e},!0)})},em=(e,t)=>eu(t.filter(Boolean).reduceRight((e,t)=>({...t,...e})),e.trim()),eg=(e,t)=>void 0!==em(e,t),ey=/{{\s*([^\s"'`:]*):?([^\s]*)\s*}}/g,ev=function(e){let t;if(!ey.test(e))return!0;ey.lastIndex=0;let n=!0;do(t=ey.exec(e))&&(t.index===ey.lastIndex&&ey.lastIndex++,t.forEach((e,t,[,i])=>{n=n&&eg(i,[].slice.call(arguments,1))}));while(n&&null!==t);return n},ew=(e,t)=>{if(void 0===e)return"";if(e instanceof Array)return e.map(e=>ew(e,t)).join(", ");if(!t)return e.toString();if("boolean"==typeof e){let n=t.indexOf(":");return e?t.substring(0,n):t.substring(n+1)}switch(t){default:return e.toString();case"date":return new Date(e).toLocaleDateString();case"time":return new Date(e).toLocaleTimeString();case"iso":return new Date(e).toISOString();case"utc":return new Date(e).toUTCString()}},eb=function(e){let t;if(!ey.test(e))return e;ey.lastIndex=0;do(t=ey.exec(e))&&(t.index===ey.lastIndex&&ey.lastIndex++,t.forEach((t,n,[i,r,o])=>{let s=em(r,[].slice.call(arguments,1));!s||s instanceof Array||(e=e.replace(i,ew(s,o)))}));while(null!==t);return e},eM=e=>{if(null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof Array){let t=[];return e.forEach(e=>{t.push(e)}),t.map(e=>eM(e))}if("object"==typeof e){let t={...e};return Object.keys(t).forEach(e=>{t[e]=eM(t[e])}),t}return e},eE=(e="")=>e.replace(/\s|,|\./g,"").toLowerCase(),eT=(e,t,n=1)=>{let i=[];for(let r=e;r<=t;r+=n)i.push(r);return i},ex=e=>{"string"!=typeof e&&(e=JSON.stringify(e));let t=0;if(0===e.length)return t;for(var n=0;n {let i=Object.assign({},t,n);return`${e}?${Object.keys(i).map(e=>`${e}=${i[e]}`).join("&")}`},eN=()=>({view:({attrs:{md:e="",removeParagraphs:t=!1,externalLinks:n=!1,...i}})=>s()(".slimdown-view.markdown",i,s().trust(c(e,t,n)))}),eA=()=>({view:({attrs:{type:e,props:t,label:n="",initialValue:i,inline:r=!1}})=>{let o={className:t.className||"col s12"};if(i instanceof Array&&i.length>3)return s()(".readonly",o,[s()("label",n),s()(eN,{md:"\n- "+i.join("\n- ")})]);if("string"==typeof i)return s()(".readonly",o,"url"===e?[s()("label",`${n.trim()}: `),s()("a[target=_blank]",{href:i},i)]:"color"===e?[s()("label",`${n.trim()}: `),s()(".color",{style:`height: 1rem; width: 40px; border-radius: 4px; background-color: ${i}`})]:[s()("label",n),s()(eN,{md:i})]);let a=i instanceof Array?i.join(", "):i;return s()(".readonly",o,[n&&s()("label",n),r?s()("span",a?`: ${a}`:s().trust(" ")):s()("p",a||s().trust(" "))])}}),eL=()=>{let e;let t={},n=(e,n)=>{let i=e instanceof Array?e.length:e.hasOwnProperty(n)?e[n].length:0,r=t.onNewItem?t.onNewItem(e,n,i):{};e instanceof Array?e.push(r):e.hasOwnProperty(n)?e[n].push(r):e[n]=[r]},i=e=>{e.preventDefault()};return{oninit:({attrs:{i18n:n={},field:{id:i="",sortProperty:r,onNewItem:o}}})=>{t.editLabel=n.editRepeat||`Edit ${String(i)}`,t.createLabel=n.createRepeat||`Create new ${String(i)}`,t.onNewItem=o,e=(e=>{if(!e)return(e,t)=>0;let t="!"===e[0],n=t?e.substring(1):e;return t?(e,t)=>e[n]>t[n]?-1:e[n] e[n]>t[n]?1:e[n] {let m,g;let{filterValue:y}=t,{id:v,label:w,type:b,min:E,max:T,pageSize:x,propertyFilter:_,filterLabel:N,readonly:A=h,repeatItemClass:L=""}=r,D=(m=o,g=v,m instanceof Array?m:(m.hasOwnProperty(g)||(m[g]=[]),m[g])),k=y?eE(y):void 0,j=_&&k&&k.length>2?D.filter(e=>eE(`${e[_]}`).indexOf(k)>=0):D,C=(e=>{let t=window.location.hash.split("?")[1];return t?new URLSearchParams(t).get(e):null})(String(v)),O=C?Math.min(j.length,+C):1,z=x&&j&&(O-1)*x =T),F=!d&&!A&&(!E||j.length>E),Y=R?R.split("?")[0]:"",H=(e=>{let t=e?e.split("?")[1]:window.location.search.slice(1),n={};if(t){let e=t.split("&");for(var i=0;i {n(o,String(v)),v&&s().route.set(Y,Object.assign(H,{[v]:j.length})),f&&f(o)},style:{padding:0},className:"left",disabled:d||U,readonly:A}),B>1&&s()(".right",s()(K,{curPage:z,items:eT(1,B).map(e=>({href:e_(Y,H,{[v]:e})}))})),(j.length>1||y)&&_&&!d&&s()(P,{style:"margin-top: -6px; margin-bottom: -1rem;",iconName:"filter_list",iconClass:"small",placeholder:N,onkeyup:(e,n)=>t.filterValue=n,className:"right",disabled:d,readonly:A})])),j&&j.length>0&&"string"!=typeof b&&j.sort(e).filter(x?(e,t)=>(z-1)*x<=t&&t !0).map((e,n)=>s()(".mui-repeat-item",{key:n,draggable:Q,ondragstart:Q?e=>{var t,i;return t=e,i=n,void t.dataTransfer?.setData("text/plain",i.toString())}:void 0,ondragover:Q?i:void 0,ondrop:Q?e=>((e,t,n,i,r)=>{let o=parseInt(e.dataTransfer?.getData("text")||"0",10),s=[...n[i]],[a]=s.splice(o,1);s.splice(t,0,a),n[i]=s,r&&r(n),e.preventDefault()})(e,n,o,v,f):void 0,style:{display:"flex",cursor:Q?"move":void 0}},[F&&[(!x||x>1)&&s()("span.mui-show-item-number left",{style:`flex: 0 0 ${W}px;`},`[${(x?(z-1)*x+n:n)+1}]`)],[s()(".row.repeat-item",{className:L,key:O+ex(e),style:"flex: 1;"},[b&&s()(eC,{form:b,obj:e,i18n:p,context:a instanceof Array?[o,...a]:[o,a],section:u,containerId:c,disabled:d,readonly:A,onchange:()=>f&&f(o)})])],F&&[s()(I,{iconName:"delete",className:"mui-delete-item",iconClass:"mui-delete-icon",style:{flex:"0 0 20px",padding:0},disabled:d,readonly:A,onclick:()=>{t.curItemIdx=x?(z-1)*x+n:n}})]])),!(d||U||A||!j||0===j.length||1===x)&&s()(S,{iconName:"add",className:"row mui-add-new-item btn-small right",title:w,style:"padding: 0; margin-top: -10px; margin-right: -25px",onclick:()=>{n(o,String(v)),s().route.set(Y,Object.assign(H,{[v]:j.length})),f&&f(o)}})])],void 0!==t.curItemIdx&&s()(V,{id:"deleteItem",onCreate:e=>e.open(),options:{onCloseStart:()=>{t.curItemIdx=void 0,s().redraw()}},fixedFooter:!0,title:p.deleteItem||"Delete item",description:s()(eC,{form:b,obj:j[t.curItemIdx],context:a instanceof Array?[o,...a]:[o,a],section:u,containerId:c,readonly:!0,i18n:p}),buttons:[{label:p.disagree||"Disagree"},{label:p.agree||"Agree",onclick:()=>{void 0!==t.curItemIdx&&(j.splice(t.curItemIdx,1),o instanceof Array?o=[...j]:o[v]=[...j],f&&f(o))}}]})]}}},eI=()=>{let e={};return{oninit:({attrs:{i18n:t={}}})=>{let{raw:n="RAW",view:i="VIEW"}=t;e.raw=n,e.view=i},view:({attrs:{field:{id:t="",type:n,onSelect:i},obj:r,context:o,containerId:a,disabled:l,readonly:u,i18n:c,onchange:d}})=>{if(r instanceof Array)return;let h=r[t],p=h?JSON.parse(h):void 0,f=p&&p.features||[],m=[],g={title:e.raw,vnode:s()(z,{class:"col s12",initialValue:p?JSON.stringify(p,null,2):void 0,placeholder:"Enter GeoJSON",onchange:e=>r[t]=e})};if(!n||"string"==typeof n)return;let y=n.length>0?n[0].id:void 0,v={title:e.view,vnode:f.length?s()(j,{oncreate:({dom:t})=>e.dom=t,onOpenStart:i?t=>{let n=e.dom.children||[];for(let e=0;e (e.properties||(e.properties={}),{id:"erik_"+i,key:i,header:y&&e.properties[y]||e.geometry.type,body:s()(".row",s()(eC,{class:"col s12",form:n,obj:e.properties,i18n:c,context:o instanceof Array?[r,...o]:[r,o],containerId:a,disabled:l,readonly:u,onchange:(e,n)=>{n&&(f[i].properties=n),r[t]=JSON.stringify(p,null,2),d&&d(r)}}))}))}):s()("span","...")};return m.push(v),m.push(g),s()(eo,{tabs:m,tabWidth:"fill"})}}},eS={},eD={},ek=(e,t,n)=>{eS[e]=t,n&&(eD[e]=n)},ej=((e={},t={})=>()=>{let n={key:Date.now()};return{view:({attrs:{i18n:i,field:r,obj:o,autofocus:a,onchange:l,context:u=[],containerId:h,disabled:p,readonly:f}})=>{let{id:m="",type:g,disabled:y=p,readonly:v=f,value:w,required:b,autogenerate:E,show:T,label:_,description:N,i18n:A=i||{},checkAllOptions:L,transform:S,effect:k,onkeyup:j,onkeydown:C,onblur:O}=r;if(T&&!ef(T,o,u)||_&&!ev(_,o,u)||N&&!ev(N,o,u))return;let R="string"==typeof r.options?em(r.options,[o,...u]):r.options,V=R&&R instanceof Array?R.filter(e=>void 0!==e.id&&(e.label||isNaN(Number(e.id)))&&(!e.show||ef(e.show,o,u))).map(e=>e.label?e:{...e,label:es(e.id)}):[],G="boolean"==typeof p&&p,K=((e,t=!1,n=!1)=>{let{id:i="",label:r,description:o,required:s,multiple:a,className:l,checkboxClass:u,icon:h,iconClass:p,placeholder:f,maxLength:m,minLength:g,max:y,min:v,step:w,dateTimeOutput:b,dateTimeSeconds:E,dateFormat:T,twelveHour:x}=e,_={id:`mui_${String(i)}-${d()}`,label:r};return void 0===r&&i&&(_.label=es(String(i))),o&&(_.helperText=c(o,!0)),l&&(_.className=l),h&&(_.iconName=h),p&&(_.iconClass=p),u&&(_.checkboxClass=u),f&&(_.placeholder=f),s&&(_.isMandatory=!0),a&&(_.multiple=a),n&&(_.disabled=!0),t&&(_.autofocus=!0),void 0!==m&&(_.maxLength=m),void 0!==g&&(_.minLength=g),void 0!==y&&(_.max=y),void 0!==v&&(_.min=v),void 0!==w&&(_.step=w),b&&(_.dateTimeOutput=b),E&&(_.dateTimeSeconds=E),T&&(_.dateFormat=T),x&&(_.twelveHour=x),_})(r,a,"boolean"==typeof y||void 0===y?G||y:G||ef(y,o,u));_&&(K.label=c(eb(K.label||_,o,u),!0)),N&&(K.description=c(eb(K.description||N,o,u),!0));let q=b?e=>!(e instanceof Array)||e&&e.length>0:void 0;if(o instanceof Array)return void console.warn("Only a repeat list can deal with arrays!");let Z=function(e){try{return void 0===e||"undefined"===e?(delete o[m],l(o),Promise.resolve()):(o[m]=S?S("to",e):e,k?Promise.resolve(k(o,o[m],u)).then(function(e){l(void 0!==e?e:o)}):Promise.resolve(l(o)))}catch(e){return Promise.reject(e)}};if(g instanceof Array)return m?(o.hasOwnProperty(m)||(o[m]={}),s()(".muf-form",{className:r.className},[s()(".muf-form-header",s().trust(c(K.label||es(String(m)),!0))),K.description&&s()("div",s().trust(c(K.description))),s()(".row",s()(eC,{...K,i18n:A,readonly:v,form:g,obj:o[m],context:u instanceof Array?[o,...u]:[o,u],onchange:()=>l&&l(o),containerId:h}))])):void console.warn("Missing ID for type "+JSON.stringify(g));E&&!o[m]&&(o[m]="guid"===E?"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}):"id"===E?d():Date.now());let ee=o.hasOwnProperty(m)&&void 0!==o[m]?S?S("from",o[m]):o[m]:w;m&&void 0!==w&&void 0!==ee&&(o[m]=S?S("to",ee):ee);let[ei,eo]=L?L.split("|"):["",""];if(v&&g&&0>["md","none"].indexOf(g)){if(t.hasOwnProperty(g))return s()(t[g],{iv:ee,field:r,props:K,label:K.label,obj:o,context:u});if(g&&e.hasOwnProperty(g))return s()(e[g],{iv:ee,field:r,props:K,label:K.label,onchange:Z,obj:o,context:u});switch(g){case"time":{let e=A.dateTimeOptions?{hour:"2-digit",minute:"2-digit",second:void 0,...A.dateTimeOptions,weekday:void 0,month:void 0,day:void 0,year:void 0}:void 0,t="number"==typeof ee||"string"==typeof ee||ee instanceof Date?new Date(ee):void 0,n=t?t.toLocaleTimeString(A.locales,e):"";return s()(eA,{props:K,label:K.label,initialValue:n})}case"date":{let e=A.dateTimeOptions?{...A.dateTimeOptions,hour:void 0,hour12:void 0,minute:void 0,second:void 0}:void 0,t="number"==typeof ee||"string"==typeof ee||ee instanceof Date?new Date(ee):void 0,n=t?t.toLocaleDateString(A.locales,e):"";return s()(eA,{props:K,label:K.label,initialValue:n})}case"datetime":{let e=A.dateTimeOptions?{hour:"2-digit",minute:"2-digit",month:"numeric",day:"numeric",...A.dateTimeOptions}:void 0,t="number"==typeof ee||"string"==typeof ee||ee instanceof Date?new Date(ee):void 0,n=t?t.toLocaleTimeString(A.locales,e):"";return s()(eA,{props:K,label:K.label,initialValue:n})}case"switch":case"checkbox":return s()(eA,{props:K,label:K.label,initialValue:ee?"✔":"✘",inline:!0});case"tags":return s()(eA,{props:K,label:K.label,initialValue:ee||[]});case"options":case"select":{let e=void 0!==ee?ee instanceof Array?ee:[ee]:[],t=V.filter(t=>e.indexOf(t.id)>=0),n=t&&0===t.length?"?":1===t.length?t[0].label:t.map(e=>e.label);return s()(eA,{props:K,label:K.label,initialValue:n})}case"radio":{let e=V.filter(e=>e.id===ee);return s()(eA,{props:K,label:K.label,initialValue:e&&e.length?e[0].label:"?"})}case"base64":return!(!ee||!/data:image/i.test(ee))&&s()("div",s()("img.responsive-img",{src:ee,alt:o.title||o.alt||o.name||"",style:`max-height: ${r.max||50}px`}));case"file":return s()("div",K,(ee instanceof Array?ee:[ee]).map((e="")=>{let t=/data:image|.jpg$|.jpeg$|.png$|.gif$|.svg$|.bmp$|.tif$|.tiff$/i.test(e),n=`${new URL(r.url).origin}${e}`;return s()("a[target=_blank]",{href:n},t?s()("img",{src:n,alt:n,style:`max-height: ${r.max||50}`}):s()(eA,{props:K,label:r.placeholder||"File",initialValue:e}))}));case"md":case"markdown":{let e="string"==typeof ee&&ee?c(ee):"";return s()(eA,{props:K,label:K.label,initialValue:e})}default:return s()(eA,{props:K,type:g,label:K.label,initialValue:ee})}}else{if(g&&e.hasOwnProperty(g))return s()(e[g],{iv:ee,field:r,props:K,label:K.label,onchange:Z,obj:o,context:u});switch(g){case"colour":case"color":return s()(F,{...K,initialValue:ee,onchange:Z,onblur:O});case"time":{let{twelveHour:e=!1}=K,t=ee?"number"==typeof ee||"string"==typeof ee?new Date(ee):ee:new Date,n=el(t);return o[m]=S?S("to",t):t,s()(J,{...K,twelveHour:e,initialValue:n,onchange:e=>{let n=e.split(":").map(e=>+e);t.setHours(n[0],n[1]),Z(t)},container:h})}case"date":{let{format:e="mmmm d, yyyy"}=K,t="number"==typeof ee||"string"==typeof ee?new Date(ee):ee;o[m]=t?S?S("to",t.valueOf()):t.valueOf():t;let{min:n,max:i}=K,r=n?!t||n t.valueOf()?new Date(i):t:void 0;return s()(X,{...K,minDate:r,maxDate:a,setDefaultDate:!!t,format:e,initialValue:t,onchange:e=>{Z(new Date(e))},container:h})}case"datetime":{let{label:e,className:t="col s12",dateTimeSeconds:n=!1,twelveHour:i=!1,format:r="mmmm d, yyyy",...o}=K,a="number"==typeof ee||"string"==typeof ee?new Date(ee):ee,l={initialDateTime:a},u=a||void 0,c=a?el(a):"",{min:d,max:p}=K,f=d?!a||d a.valueOf()?new Date(p):a:void 0,g=K.dateTimeOutput||"UTC",y=e=>{l.initialDateTime=e,Z("UTC"===g?e.toUTCString():"ISO"===g?e.toISOString():e.valueOf())};return s()("div",{className:t},s()(".row",[s()(n?".col.s6":".col.s8",{style:"padding: 0"},s()(X,{...o,label:e,minDate:f,maxDate:m,setDefaultDate:!!a,format:r,initialValue:u,container:h,onchange:e=>{let t=new Date(l.initialDateTime);t.setFullYear(e.getFullYear()),t.setMonth(e.getMonth()),t.setDate(e.getDate()),y(t)}})),s()(".col.s4",{style:"min-width: 6rem; padding-right: 0; padding-left: 0"},s()(J,{...o,label:"",helperText:"",twelveHour:i,initialValue:c,container:h,onchange:e=>{let t=e.split(":").map(e=>+e),n=l.initialDateTime||new Date((new Date).setSeconds(0,0));n.setHours(t[0],t[1]),y(n)}})),n&&s()(B,{style:"min-width: 4rem; padding-right: 0; padding-left: 0",className:"col s2",min:0,max:59,onchange:e=>{let t=l.initialDateTime||new Date((new Date).setSeconds(0,0));t.setSeconds(e,0),y(t)}})]))}case"email":return s()(Y,{...K,validate:q,autofocus:a,onchange:Z,initialValue:ee,onkeydown:C,onkeyup:j,onblur:O});case"number":return s()(B,{...K,validate:q,autofocus:a,onchange:Z,initialValue:ee,onkeydown:C,onkeyup:j,onblur:O});case"radio":return s()(et,{label:"",...K,options:V,checkedId:ee,onchange:Z});case"checkbox":return s()(W,{...K,checked:ee,onchange:Z});case"options":return[[s()(Q,{key:n.key,checkboxClass:"col s6 m4 l3",className:"input-field col s12",...K,disabled:K.disabled||!V||0===V.length,options:V,checkedId:ee,onchange:e=>Z(1===e.length?e[0]:e.filter(e=>null!==e))})],void 0!==L&&s()(".col.s12.option-buttons",[s()(I,{disabled:K.disabled,label:ei,iconName:"check",onclick:()=>{n.key=Date.now(),Z(V.map(e=>e.id))}}),eo&&s()(I,{disabled:K.disabled,label:eo,iconName:"check_box_outline_blank",onclick:()=>{let e=o[m]||[];e.length=0,n.key=Date.now(),Z(e)}})])];case"select":return s()(en,{placeholder:K.multiple?A.pickOneOrMore||"Pick one or more":A.pickOne||"Pick one",...K,disabled:K.disabled||!V||0===V.length,options:V,initialValue:ee,onchange:e=>Z(1!==e.length||K.multiple?e.filter(e=>null!==e||void 0!==e):e[0])});case"markdown":case"md":{let{label:e,className:t="col s12"}=K,n=eb((m?ee:w||e)||"",o,u);return s()(eN,{md:n,className:t})}case"section":return s()(".divider");case"switch":{let e=V&&V.length>0?V[0].label:"",t=V&&V.length>1?V[1].label:"";return s()(er,{...K,left:e,right:t,checked:ee,onchange:Z})}case"tags":{let e=(ee?ee instanceof Array?ee:[ee]:[]).map(e=>({tag:e})),t=V&&V.length>0?{data:V.reduce((e,t)=>(e[t.id]=null,e),{}),limit:r.maxLength||1/0,minLength:r.minLength||1}:{},{label:n,isMandatory:i,className:o,helperText:a}=K;return s()(D,{className:o,label:n,isMandatory:i,helperText:a,onchange:e=>Z(e.map(e=>e.tag)),placeholder:r.placeholder||"Add a tag",secondaryPlaceholder:r.secondaryPlaceholder||"+tag",data:e,autocompleteOptions:t,onblur:O})}case"autocomplete":{let e=V&&V.length>0?{data:V.reduce((e,t)=>(e[t.id]=null,e),{}),limit:r.maxLength||1/0,minLength:r.minLength||1}:{data:{}},{label:t,isMandatory:n,className:i,helperText:o}=K;return s()(x,{initialValue:ee,className:i,label:t,isMandatory:n,helperText:o,onchange:Z,onblur:O,placeholder:r.placeholder||"...",...e})}case"textarea":return s()(z,{...K,validate:q,autofocus:a,onchange:Z,initialValue:ee,onkeyup:j,onkeydown:C,onblur:O});case"file":{let{url:e,placeholder:t}=r;if(!e)throw Error('Input field "url" not defined, which indicates the URL to the upload folder.');let n=V?V.map(e=>e.id):void 0;return s()(H,{...K,accept:n,placeholder:t,onchange:t=>{if(!t||t.length<1)return void Z("");let n=new FormData;n.append("file",t[0]),s().request({method:"POST",url:e,body:n}).then(e=>Z(e)).catch(console.error)},initialValue:ee})}case"base64":{let e=!(!ee||!/data:image/i.test(ee)),{placeholder:t}=r,n=V?V.map(e=>e.id).join(","):void 0;return e?s()("div",[s()("img.responsive-img",{src:ee,alt:o.title||o.alt||o.name||"",style:`max-height: ${r.max||50}px`}),s()(I,{iconName:"clear",onclick:()=>Z("")})]):s()(H,{...K,accept:n,placeholder:t,onchange:e=>{if(!e||e.length<1)return void Z("");let t=new FileReader;t.onloadend=()=>{"string"==typeof t.result&&Z(t.result),s().redraw()},t.readAsDataURL(e[0])},initialValue:ee})}case"url":return s()(U,{placeholder:"http(s)://www.example.com",...K,validate:q,autofocus:a,onchange:Z,initialValue:ee,onkeydown:C,onkeyup:j,onblur:O});case"text":return s()(P,{...K,validate:q,autofocus:a,onchange:Z,initialValue:ee,onkeydown:C,onkeyup:j,onblur:O});default:return}}}}})(eS,eD),eC=()=>({view:({attrs:{i18n:e,form:t,obj:n,onchange:i,disabled:r,readonly:o,context:a,section:l}})=>{let u=e=>{let n;return i&&i((n=e,t.filter(e=>e.required&&(e.id,!0)).reduce((e,t)=>e&&!(t.id&&(void 0===n[t.id]||n[t.id]instanceof Array&&0===n[t.id].length||"string"==typeof n[t.id]&&0===n[t.id].length)),!0)),e)};return t.filter((e=>{if(!e)return e=>!0;let t=!1;return({type:n,id:i})=>"section"===n?(t=i===e,!1):t})(l)).filter(e=>!e.show||ef(e.show,n,...a||[])).reduce((t,i)=>(i.type||(i.type=(e=>{let{autogenerate:t,value:n,options:i}=e;return t?"none":n?"string"==typeof n?"md":"number"==typeof n?"number":"boolean"==typeof n?"checkbox":"none":i&&i.length>0?"select":"none"})(i)),[...t,void 0===i.repeat||!1===i.repeat?s()(ej,{i18n:e,field:i,obj:n,onchange:u,disabled:r,readonly:o,context:a,section:l,containerId:"body"}):s()("geojson"===i.repeat?eI:eL,{obj:n,field:i,onchange:u,context:a,i18n:e,containerId:"body",disabled:r,readonly:o})]),[])}})},9426:function(e,t,n){"use strict";var i=n(5371);e.exports=function(e,t,n){var r=[],o=!1,s=-1;function a(){for(s=0;s =0&&(r.splice(o,2),o<=s&&(s-=2),e(t,[])),null!=n&&(r.push(t,n),e(t,i(n),l))},redraw:l}}},5022:function(e,t,n){"use strict";var i=n(5371),r=n(3174),o=n(5886),s=n(7802),a=n(2574),l=n(2703),u={};function c(e){try{return decodeURIComponent(e)}catch(t){return e}}e.exports=function(e,t){var n=null==e?null:"function"==typeof e.setImmediate?e.setImmediate:e.setTimeout,d=Promise.resolve(),h=!1,p=!1,f=0,m,g,y,v,w,b,E=u,T={onbeforeupdate:function(){return!(!(f=f?2:1)||u===E)},onremove:function(){e.removeEventListener("popstate",N,!1),e.removeEventListener("hashchange",_,!1)},view:function(){if(f&&u!==E){var e=[i(y,v.key,v)];return E&&(e=E.render(e[0])),e}}},x=L.SKIP={};function _(){h=!1;var n=e.location.hash;"#"!==L.prefix[0]&&(n=e.location.search+n,"?"!==L.prefix[0]&&"/"!==(n=e.location.pathname+n)[0]&&(n="/"+n));var i=n.concat().replace(/(?:%[a-f89][a-f0-9])+/gim,c).slice(L.prefix.length),r=s(i);function o(e){console.error(e),A(g,null,{replace:!0})}Object.assign(r.params,e.history.state),function e(n){for(;n =0&&(f+=e.slice(n,o)),c>=0&&(f+=(n<0?"?":"&")+u.slice(c,h));var m=i(l);return m&&(f+=(n<0&&c<0?"?":"&")+m),r>=0&&(f+=e.slice(r)),d>=0&&(f+=(r<0?"":"&")+u.slice(d)),f}},2574:function(e,t,n){"use strict";var i=n(7802);e.exports=function(e){var t=i(e),n=Object.keys(t.params),r=[],o=RegExp("^"+t.path.replace(/:([^\/.-]+)(\.{3}|\.(?!\.)|-)?|[\\^$*+.()|\[\]{}]/g,function(e,t,n){return null==t?"\\"+e:(r.push({k:t,r:"..."===n}),"..."===n)?"(.*)":"."===n?"([^/]+)\\.":"([^/]+)"+(n||"")})+"$");return function(e){for(var i=0;i -1&&u.pop();for(var d=0;d 0&&(r.className=i.join(" ")),function(e){for(var t in e)if(o.call(e,t))return!1;return!0}(r)&&(r=null),a[e]={tag:n,attrs:r}}(e),l=(n=d).attrs,c=(u=o.call(l,"class"))?l.class:l.className,n.tag=t.tag,null!=t.attrs?(l=Object.assign({},t.attrs,l),(null!=c||null!=t.attrs.className)&&(l.className=null!=c?null!=t.attrs.className?String(t.attrs.className)+" "+String(c):c:null!=t.attrs.className?t.attrs.className:null)):null!=c&&(l.className=c),u&&(l.class=null),"input"===t.tag&&o.call(l,"type")&&(l=Object.assign({type:l.type},l)),n.attrs=l,n}return d.tag=e,d}},3117:function(e,t,n){"use strict";var i=n(5371);e.exports=function(){var e,t=arguments[this],n=this+1;if(null==t?t={}:("object"!=typeof t||null!=t.tag||Array.isArray(t))&&(t={},n=this),arguments.length===n+1)e=arguments[n],!Array.isArray(e)&&(e=[e]);else for(e=[];n '+t.children+"",s=s.firstChild):s.innerHTML=t.children,t.dom=s.firstChild,t.domSize=s.childNodes.length;for(var l=a(e).createDocumentFragment();r=s.firstChild;)l.appendChild(r);E(e,l,i)}function g(e,t,n,i,r,o){if(t!==n&&(null!=t||null!=n))if(null==t||0===t.length)h(e,n,0,n.length,i,r,o);else if(null==n||0===n.length)x(e,t,0,t.length);else{var s=null!=t[0]&&null!=t[0].key,a=null!=n[0]&&null!=n[0].key,l=0,u=0;if(!s)for(;u =u&&N>=l&&(m=t[T],g=n[N],m.key===g.key);){;m!==g&&y(e,m,g,i,r,o),null!=g.dom&&(r=g.dom),T--,N--}for(;T>=u&&N>=l&&(d=t[u],f=n[l],d.key===f.key);){;u++,l++,d!==f&&y(e,d,f,i,w(t,u,r),o)}for(;T>=u&&N>=l&&l!==N&&d.key===g.key&&m.key===f.key;){;b(e,m,E=w(t,u,r)),m!==f&&y(e,m,f,i,E,o),++l<=--N&&b(e,d,r),d!==g&&y(e,d,g,i,r,o),null!=g.dom&&(r=g.dom),u++,m=t[--T],g=n[N],d=t[u],f=n[l]}for(;T>=u&&N>=l&&m.key===g.key;){;m!==g&&y(e,m,g,i,r,o),null!=g.dom&&(r=g.dom),T--,N--,m=t[T],g=n[N]}if(l>N)x(e,t,u,T+1);else if(u>T)h(e,n,l,N+1,i,r,o);else{var c,A,L=r,I=N-l+1,S=Array(I),D=0,k=0,j=0x7fffffff,C=0;for(k=0;k=l;k--){null==c&&(c=function(e,t,n){for(var i=Object.create(null);t >>1)+(i>>>1)+(n&i&1);e[t[a]] 0&&(v[r]=t[n-1]),t[n]=r)}for(n=t.length,i=t[n-1];n-- >0;)t[n]=i,i=v[i];return v.length=0,t}(S)).length-1,k=N;k>=l;k--)f=n[k],-1===S[k-l]?p(e,f,i,o,r):A[D]===k-l?D--:b(e,f,r),null!=f.dom&&(r=n[k].dom);else for(k=N;k>=l;k--)f=n[k],-1===S[k-l]&&p(e,f,i,o,r),null!=f.dom&&(r=n[k].dom)}}else{var z=t.length z&&x(e,t,l,t.length),n.length>z&&h(e,n,l,n.length,i,r,o)}}}function y(e,t,n,r,o,s){var a=t.tag;if(a===n.tag){if(n.state=t.state,n.events=t.events,function(e,t){do{if(null!=e.attrs&&"function"==typeof e.attrs.onbeforeupdate){var n=c.call(e.attrs.onbeforeupdate,e,t);if(void 0!==n&&!n)break}if("string"!=typeof e.tag&&"function"==typeof e.state.onbeforeupdate){var n=c.call(e.state.onbeforeupdate,e,t);if(void 0!==n&&!n)break}return!1}while(!1);return e.dom=t.dom,e.domSize=t.domSize,e.instance=t.instance,e.attrs=t.attrs,e.children=t.children,e.text=t.text,!0}(n,t))return;if("string"==typeof a)switch(null!=n.attrs&&O(n.attrs,n,r),a){case"#":(function(e,t){e.children.toString()!==t.children.toString()&&(e.dom.nodeValue=t.children),t.dom=e.dom})(t,n);break;case"<":(function(e,t,n,i,r){t.children!==n.children?(N(e,t,void 0),m(e,n,i,r)):(n.dom=t.dom,n.domSize=t.domSize)})(e,t,n,s,o);break;case"[":(function(e,t,n,i,r,o){g(e,t.children,n.children,i,r,o);var s=0,a=n.children;if(n.dom=null,null!=a){for(var l=0;l -1||null!=e.attrs&&e.attrs.is||"href"!==t&&"list"!==t&&"form"!==t&&"width"!==t&&"height"!==t)&&t in e.dom}function D(e,t,n){if(t===n);else if(null==n)e.style="";else if("object"!=typeof n)e.style=n;else if(null==t||"object"!=typeof t)for(var i in e.style.cssText="",n){var r=n[i];null!=r&&("-"===i[0]&&"-"===i[1]?e.style.setProperty(i,String(r)):e.style[i]=String(r))}else{for(var i in n){var r=n[i];null!=r&&(r=String(r))!==String(t[i])&&("-"===i[0]&&"-"===i[1]?e.style.setProperty(i,r):e.style[i]=r)}for(var i in t)null!=t[i]&&null==n[i]&&("-"===i[0]&&"-"===i[1]?e.style.removeProperty(i):e.style[i]="")}}function k(){this._=e}function j(t,n,i){null!=t.events?(t.events._=e,t.events[n]!==i&&(null!=i&&("function"==typeof i||"object"==typeof i)?(null==t.events[n]&&t.dom.addEventListener(n.slice(2),t.events,!1),t.events[n]=i):(null!=t.events[n]&&t.dom.removeEventListener(n.slice(2),t.events,!1),t.events[n]=void 0))):null!=i&&("function"==typeof i||"object"==typeof i)&&(t.events=new k,t.dom.addEventListener(n.slice(2),t.events,!1),t.events[n]=i)}function C(e,t,n){"function"==typeof e.oninit&&c.call(e.oninit,t),"function"==typeof e.oncreate&&n.push(c.bind(e.oncreate,t))}function O(e,t,n){"function"==typeof e.onupdate&&n.push(c.bind(e.onupdate,t))}return k.prototype=Object.create(null),k.prototype.handleEvent=function(e){var t,n=this["on"+e.type];"function"==typeof n?t=n.call(e.currentTarget,e):"function"==typeof n.handleEvent&&n.handleEvent(e),this._&&!1!==e.redraw&&(0,this._)(),!1===t&&(e.preventDefault(),e.stopPropagation())},function(r,o,s){if(!r)throw TypeError("DOM element being rendered to does not exist.");if(null!=n&&r.contains(n))throw TypeError("Node is currently being rendered to and thus is locked.");var a=e,l=n,u=[],c=d(r),h=r.namespaceURI;n=r,e="function"==typeof s?s:void 0,t={};try{null==r.vnodes&&(r.textContent=""),o=i.normalizeChildren(Array.isArray(o)?o:[o]),g(r,r.vnodes,o,u,null,"http://www.w3.org/1999/xhtml"===h?void 0:h),r.vnodes=o,null!=c&&d(r)!==c&&"function"==typeof c.focus&&c.focus();for(var p=0;p =200&&e.target.status<300||304===e.target.status||/^file:\/\//i.test(l),o=e.target.response;if("json"===d){if(!e.target.responseType&&"function"!=typeof u.extract)try{o=JSON.parse(e.target.responseText)}catch(e){o=null}}else(!d||"text"===d)&&null==o&&(o=e.target.responseText);if("function"==typeof u.extract?(o=u.extract(e.target,u),r=!0):"function"==typeof u.deserialize&&(o=u.deserialize(o)),r){if("function"==typeof u.type){if(Array.isArray(o))for(var s=0;s t.indexOf(o)&&(n[o]=e[o]);else for(var o in e)i.call(e,o)&&!r.test(o)&&(n[o]=e[o]);return n}},6536:function(e){"use strict";e.exports=({}).hasOwnProperty},4649:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=function(e){return e&&"object"==typeof e};function r(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this.opts,i=n.array;n.array=!0;var r=this.apply(null,e);return n.array=i,r}function o(e,t){e=e||{},(t=t||{}).resolveAliases&&(e=o.resolveAliases(e));var n={};function s(e,t,r){return function(e,t,n,r,o,s){o=o||{};var a=r[e],l=i(a),u=l||null!=t||null!=n;if(u){if(i(t)){var c=n;n=t,t=c}if(n=n||{},l){var d=null!=t&&a[t]||a["*"];if(null!=d)a=d;else if("number"==typeof t){var h,p,f,m,g=o.pluralize;h=a,p=t,f=g,m=Math.abs(p),a=null!=h[m=f?f(m):m]?h[m]:null!=h.n?h.n:void 0}}}if("string"!=typeof a){if(!1===o.useKeyForMissingTranslation)return;a=e,o.debug&&(null!=t?(a="@@"+e+"."+t+"@@",console.warn('No translation or pluralization form found for "'+t+'" in'+e)):(a="@@"+a+"@@",console.warn('Translation for "'+e+'" not found.')))}return u?function(e,t,n,i,r){var o=i[e];if(null==o){var s=e.replace(/\{(\w+)\}/g,"{x}$1{x}").split("{x}");o=s.length>1?s:s[0],i[e]=o}return o=o.pop?function(e,t,n,i){for(var r=i.array?e.slice():e[0],o=e.length,s=1;s e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0&&[o()("ol",d.map(function(e){var t=e.crimeScriptIdx,n=e.totalScore,i=e.acts;return o()("li","".concat(m.crimeScripts[t].label," (score ").concat(n,")"),o()("ul.browser-default",i.map(function(e){var n=e.actIdx,i=e.phaseIdx,l=e.score;return o()("li",o()("a.truncate",{style:{cursor:"pointer"},href:a.M3.href(s.iY.CRIME_SCRIPT,"id=".concat(m.crimeScripts[t].id)),onclick:function(){r.setLocation(m.crimeScripts[t].id,n,i)}},"".concat(n>=0?m.acts[n].label:(0,a.t)("TEXT")," (score: ").concat(l,")")))})))}))]])])}}};i()}catch(e){i(e)}})},657:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{l:function(){return f}});var r=n(2735),o=n.n(r),s=n(5611),a=n(9834),l=n(8308),u=n(2738),c=n(9462),d=n(2459),h=n(8111),p=e([c,u,d,h,l,s]);[c,u,d,h,l,s]=p.then?(await p)():p;var f=function(){var e="",t=!1;return{oninit:function(e){(0,e.attrs.actions.setPage)(s.iY.CRIME_SCRIPT)},view:function(n){var i=n.attrs,r=i.state,p=i.actions,f=r.model,m=r.role,g=r.curActIdx,y=r.curPhaseIdx,v=r.currentCrimeScriptId,w=f.crimeScripts,b=void 0===w?[]:w,E=f.cast,T=void 0===E?[]:E,x=f.acts,_=void 0===x?[]:x,N=f.attributes,A=void 0===N?[]:N,L=f.locations,I=void 0===L?[]:L,S=f.geoLocations,D=void 0===S?[]:S,k=f.transports,j=f.products,C=void 0===j?[]:j,O=f.partners,z=void 0===O?[]:O,R=f.serviceProviders,P=void 0===R?[]:R;e=o().route.param("id")||(void 0===v?"":v)||(b.length>0?b[0].id:"");var B=b.find(function(t){return t.id===e})||(b.length>0?b[0]:{}),U="".concat((0,c.p6)(Date.now(),""),"_").concat(null==B?void 0:B.label,"_v").concat(f.version,".docx");return o()("#crime-script.page",[("admin"===m||"editor"===m)&&o()(".right-align",t?o()(a.Ty,{label:(0,l.t)("SAVE_SCRIPT"),iconName:"save",className:"small",onclick:function(){t=!1,B&&(f.crimeScripts=f.crimeScripts.map(function(t){return t.id===e?B:t}),p.saveModel(f))}}):[o()(a.Ty,{label:(0,l.t)("EDIT_SCRIPT"),iconName:"edit",className:"small",onclick:function(){t=!0}}),o()(a.Ty,{label:(0,l.t)("DELETE_SCRIPT"),iconName:"delete",className:"small",modalId:"deleteScript"}),B&&o()(a.Ty,{title:"Export to Word",label:(0,l.t)("EXPORT_TO_WORD"),className:"small",iconName:"download",onclick:function(){return(0,u.Pr)(U,B,f)}})]),B&&o()(".row.crime-scene",t?o()(d.C,{crimeScript:B,cast:T,acts:_,attributes:A,locations:I,geoLocations:D,transports:void 0===k?[]:k,products:C,partners:z,serviceProviders:P}):o()(h.p,{crimeScript:B,cast:T,acts:_,attributes:A,locations:I,geoLocations:D,products:C,partners:z,serviceProviders:P,curActIdx:g,curPhaseIdx:y,update:p.update}))],o()(a.lQ,{id:"deleteScript",title:(0,l.t)("DELETE_SCRIPT"),description:(0,l.t)("DELETE_SCRIPT_CONFIRM",{name:null==B?void 0:B.label}),buttons:[{label:(0,l.t)("CANCEL"),iconName:"cancel"},{label:(0,l.t)("DELETE"),iconName:"delete",onclick:function(){B&&(f.crimeScripts=f.crimeScripts.filter(function(t){return t.id!==e}),p.saveModel(f),p.changePage(s.iY.HOME))}}]}))}}};i()}catch(e){i(e)}})},9323:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{U:function(){return g}});var r=n(2735),o=n.n(r),s=n(5611),a=n(8531),l=n(9834),u=n(8308),c=n(9462),d=n(6972),h=n(2522),p=e([h,u,c,a,s]);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0||(null===(r=b.geoLocationIds)||void 0===r?void 0:r.length)>0||(null===(h=b.locationIds)||void 0===h?void 0:h.length)>0?function(e,n,i){var r,o,s,a,l=b.productIds,u=b.locationIds,c=b.geoLocationIds,d=t(x,void 0===l?[]:l),h=t(N,void 0===c?[]:c),p=t(L,void 0===u?[]:u);return(0===d.length||(null===(s=e.productIds)||void 0===s?void 0:s.some(function(e){return d.includes(e)})))&&((null==h?void 0:h.length)===0||(null===(a=e.geoLocationIds)||void 0===a?void 0:a.some(function(e){return null==h?void 0:h.includes(e)})))&&((null==p?void 0:p.length)===0||(r=e,o=S,r.stages.map(function(e){return o.find(function(t){return t.id===e.id})}).filter(function(e){return void 0!==e}).reduce(function(e,t){if(t.locationIds)e.push.apply(e,m(t.locationIds));return e},[])).some(function(e){return null==p?void 0:p.includes(e)}))}:function(e,t,n){return!0};return o()("#home-page.row.home.page",["admin"===v&&o()(".right-align",o()(l.Ty,{label:(0,u.t)("NEW_SCRIPT"),iconName:"add",className:"small",onclick:function(){var e={id:(0,l.EL)()};y.crimeScripts.push(e),g.saveModel(y),g.changePage(s.iY.HOME,{id:e.id})}})),o()(".col.s12.filters",o()(d.r,{form:e,obj:b,onchange:function(){g.update({crimeScriptFilter:b})},i18n:u.m})),o()(".crime-scenes",o()("ul.collection.with-header",[o()("li.collection-header",o()("h4","Crime Scripts")),(void 0===E?[]:E).filter(D).map(function(e){var t=e.url,n=void 0===t?s.lq:t,i=e.label,r=e.description,d=e.id,h=e.productIds,p=void 0===h?[]:h,f=e.geoLocationIds,m=void 0===f?[]:f;return o()("li.collection-item.avatar.cursor-pointer",{onclick:function(){g.changePage(s.iY.CRIME_SCRIPT,{id:d}),g.update({currentCrimeScriptId:d})}},[o()("img.circle",{src:n,alt:"Avatar"}),o()("span.title","".concat(i).concat(p.length>0?" (".concat((0,u.t)("PRODUCTS",p.length).toLowerCase(),": ").concat((0,c.f5)(x,p),")"):"")),m.length>0&&o()("p",o()("i","".concat((0,u.t)("GEOLOCATIONS",m.length),": ").concat((0,c.f5)(N,m)))),o()("p",r),o()("a.secondary-content",{href:a.M3.href(s.iY.CRIME_SCRIPT,"id=".concat(d))},o()(l.JO,{iconName:"more_horiz"}))])})]))])}}};i()}catch(e){i(e)}})},8820:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{Gu:function(){return a.G},NF:function(){return l.N},Uv:function(){return o.U},fy:function(){return u.f},l$:function(){return s.l},tP:function(){return r.t}});var r=n(6580),o=n(9323),s=n(657),a=n(5062),l=n(1934),u=n(8107),c=n(9781),d=e([r,o,s,a,l,u,c]);[r,o,s,a,l,u,c]=d.then?(await d)():d,i()}catch(e){i(e)}})},8107:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{f:function(){return d}});var r=n(2735),o=n.n(r),s=n(9834),a=n(1467),l=n(8531),u=n(5611),c=e([u,l]);[u,l]=c.then?(await c)():c;var d=function(){return{oninit:function(e){(0,e.attrs.actions.setPage)(u.iY.LANDING)},view:function(e){return!function(e){if(null==e)throw TypeError("Cannot destructure "+e);}(e),[o()(".center",{style:"position: relative;"},[o()("img.responsive-img[width=1408][height=704]",{style:{"margin-left":"15px"},src:a}),o()(".section.white",o()(".row.container.center",[o()(".row",[o()(".col.s12.m4",o()(".intro-block",[o()(".center",o()(s.JO,{iconName:"cases"})),o()("h5.center",(0,l.t)("LANDING_CASES","TITLE")),o()("p.light",(0,l.t)("LANDING_CASES","DESC"))])),o()(".col.s12.m4",o()(".intro-block",[o()(".center",o()(s.JO,{iconName:"handshake"})),o()("h5.center",(0,l.t)("LANDING_HAND","TITLE")),o()("p.light",(0,l.t)("LANDING_HAND","DESC"))])),o()(".col.s12.m4",o()(".intro-block",[o()(".center",o()(s.JO,{iconName:"security"})),o()("h5.center",(0,l.t)("LANDING_SECURITY","TITLE")),o()("p.light",(0,l.t)("LANDING_SECURITY","DESC"))]))])]))])]}}};i()}catch(e){i(e)}})},9781:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{A:function(){return y}});var r=n(2735),o=n.n(r),s=n(9834),a=n(8260),l=n(9293),u=n(5611),c=n(2225),d=n(8531),h=n(1067),p=n(9798),f=n(9462),m=e([f,h,p,c,u,d]);function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0&&[o()("ol",E.map(function(t){var n=t.crimeScriptIdx,i=t.totalScore,r=t.acts;return o()("li","".concat(T.crimeScripts[n].label," (score ").concat(i,")"),o()("ul.browser-default",r.map(function(t){var i=t.actIdx,r=t.phaseIdx,s=t.score;return o()("li",o()("a.truncate",{style:{cursor:"pointer"},href:c.M.href(u.iY.CRIME_SCRIPT,"id=".concat(T.crimeScripts[n].id)),onclick:function(){e.close(),v.setLocation(T.crimeScripts[n].id,i,r)}},"".concat(i>=0?T.acts[i].label:(0,d.t)("TEXT")," (score: ").concat(s,")")))})))}))]]])]),o()(".container",{style:"padding-top: 5px"},r,o()(".row",o()(".col.s12",o()("a",{href:"https://www.tno.nl",target:"_blank"},o()("img[width=100][height=50][alt=TNO website][title=TNO website].right",{src:l}))))),,])]}}};i()}catch(e){i(e)}})},1934:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{N:function(){return g}});var r=n(2735),o=n.n(r),s=n(5611),a=n(8531),l=n(6972),u=n(9834),c=n(2522),d=n(9798),h=n(9462),p=e([d,h,c,a,s]);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n ".concat(n.filter(function(t){return e.parents.includes(t.id)}).map(function(e){return e.label}).join(", ")):"")),iconName:r,body:o()(".cast-content",o()("ol",Object.entries(t.reduce(function(e,t){var n=m(t,5),i=n[0],r=n[1],o=n[2],s=n[3],a=n[4],u="".concat(i,"-").concat(r);return!e[u]&&(e[u]={crimeScript:c[i],actIdx:r,act:r>=0?l[r]:void 0,phases:[]}),e[u].phases.push({phaseIdx:o,score:s,desc:a}),e},{})).map(function(e){var t=m(e,2),n=(t[0],t[1]),i=n.crimeScript,r=n.actIdx,l=n.act,u=n.phases,c=l?l.label:"...";return o()("li",[o()("a.truncate",{style:{cursor:"pointer"},href:a.M3.href(s.iY.CRIME_SCRIPT,"id=".concat(i.id)),onclick:function(){var e=u[0];d(i.id,r,e.phaseIdx)}},"".concat(i.label," > ").concat(c)),u.length>=1&&o()("ol[type=a]",u.map(function(e){var t=e.phaseIdx,n=e.desc;return o()("li",{style:{opacity:.7,cursor:"pointer"},onclick:function(){d(i.id,r,t)}},"".concat(n||""))}))])})))}})}))}}};i()}catch(e){i(e)}})},2459:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{C:function(){return g}});var r=n(2735),o=n.n(r),s=n(5611),a=n(9834),l=n(6972),u=n(2522),c=n(9138),d=n(8308),h=n(9462),p=e([c,h,u,s,d]);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0?e[0]:"",ids:e}}}),y.ids.length>0?o()(a.Ph,{key:T,label:(0,d.t)("SELECT_ACT"),className:"col s12 m4 l5",initialValue:y.id,options:h.filter(function(e){return y.ids.includes(e.id)}),onchange:function(e){f.stages[g].id=e[0]}}):void 0,o()(a.Ty,{key:T,label:(0,d.t)("ACT"),className:"col s12 m4 l2",iconName:"add",onclick:function(){var e=(0,a.EL)(),t={id:e,label:(0,d.t)("ACT")};h.push(t),f.stages[g].id=e,f.stages[g].ids?f.stages[g].ids.push(e):f.stages[g].ids=[e]}})].filter(Boolean))],E&&o()(".row",o()(".col.s12",[o()(".cur-act",{key:E.id},[o()(l.r,{form:[{id:"label",type:"text",className:"col s6 m6",label:(0,d.t)("NAME"),show:["!icon=1"]},{id:"label",type:"text",className:"col s6 m3",label:(0,d.t)("NAME"),show:["icon=1"]},{id:"isGeneric",type:"switch",className:"col s6 m3",label:(0,d.t)("IS_GENERIC")},{id:"icon",type:"select",className:"col s6 m3",label:(0,d.t)("IMAGE"),options:s.d7},{id:"url",type:"base64",className:"col s12 m3",label:(0,d.t)("IMAGE"),show:["icon=1"]},{id:"description",type:"textarea",className:"col s12",label:(0,d.t)("SUMMARY")}],obj:E,onchange:function(){},i18n:d.m}),o()(a.mQ,{tabs:[{title:(0,d.t)("STEPS"),vnode:o()(".acts",[o()(l.r,{form:e,obj:E,onchange:function(){},i18n:d.m})])},{title:(0,d.t)("OPPORTUNITIES"),vnode:o()(".opportunities",[o()(l.r,{form:t,obj:E,onchange:function(){},i18n:d.m})])},{title:(0,d.t)("INDICATORS"),vnode:o()(".indicators",[o()(l.r,{form:n,obj:E,onchange:function(){},i18n:d.m})])},{id:"measures",title:(0,d.t)("MEASURES"),vnode:o()(".measures",[o()(l.r,{form:b,obj:E,onchange:function(){},i18n:d.m})])}]})])]))])}}};i()}catch(e){i(e)}})},8111:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{p:function(){return g}});var r=n(2735),o=n.n(r),s=n(5611),a=n(9834),l=n(6972),u=n(1911),c=n(9138),d=n(8308),h=n(9462),p=n(5724),f=e([c,s,h,d]);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0&&void 0!==arguments[0]?arguments[0]:{},t=e.label,n=void 0===t?"...":t,i=e.activities,r=void 0===i?[]:i,s=e.indicators,u=void 0===s?[]:s,c=e.conditions,p=void 0===c?[]:c,f=e.locationIds,m=void 0===f?[]:f,g=arguments.length>1?arguments[1]:void 0,y=arguments.length>2?arguments[2]:void 0,v=arguments.length>3?arguments[3]:void 0,w=arguments.length>4?arguments[4]:void 0,b=arguments.length>5&&void 0!==arguments[5]?arguments[5]:-1,E=Array.from(r.reduce(function(e,t){var n=t.cast;return n&&n.forEach(function(t){return e.add(t)}),e},new Set)),T=Array.from(r.reduce(function(e,t){var n=t.sp;return n&&n.forEach(function(t){return e.add(t)}),e},new Set)),x=Array.from(r.reduce(function(e,t){var n=t.attributes;return n&&n.forEach(function(t){return e.add(t)}),e},new Set)),_="".concat(m&&m.length?"##### ".concat((0,d.t)("LOCATIONS",m.length),"\n\n").concat((0,h.zC)(w,m)):"","\n\n").concat((0,h.qP)(r),"\n\n\n").concat(E.length>0?"##### ".concat((0,d.t)("CAST"),"\n\n").concat((0,h.bN)(g,E)):"","\n\n").concat(T.length>0?"##### ".concat((0,d.t)("SERVICE_PROVIDERS"),"\n\n").concat((0,h.bN)(y,T)):"","\n\n").concat(p.length>0?"##### ".concat((0,d.t)("CONDITIONS"),"\n\n").concat(p.map(function(e,t){return"".concat(t+1,". ").concat(e.label).concat((0,h.N6)(e))}).join("\n")):"","\n\n").concat(u.length>0?"##### ".concat((0,d.t)("INDICATORS"),"\n\n").concat(u.map(function(e,t){return"".concat(t+1,". ").concat(e.label).concat((0,h.N6)(e))}).join("\n")):"","\n\n").concat(x.length>0?"##### ".concat((0,d.t)("ATTRIBUTES"),"\n\n").concat((0,h.bN)(v,x)):""),N=[{title:n,md:_}];return{title:n,vnode:1===N.length?o()(l.KG,{md:N[0].md}):N.length>1?o()(a.mQ,{tabs:N.map(function(e,t){var n=e.title,i=e.md;return{title:n,active:t===b,vnode:o()(l.KG,{md:i})}})}):o()("div")}};return{view:function(i){var r,c,f,g,y=i.attrs,v=y.crimeScript,w=y.cast,b=void 0===w?[]:w,E=y.serviceProviders,T=void 0===E?[]:E,x=y.acts,_=void 0===x?[]:x,N=y.attributes,A=void 0===N?[]:N,L=y.locations,I=void 0===L?[]:L,S=y.geoLocations,D=y.products,k=y.partners,j=void 0===k?[]:k,C=y.curActIdx,O=void 0===C?-1:C,z=y.curPhaseIdx,R=y.update;e.size 0?_.find(function(e){return e.id===Y[0].id}):void 0,en=et?n(et,b,T,A,I,void 0===z?0:z):void 0,ei=et&&(null===(f=et.measures)||void 0===f?void 0:f.length)>0?"##### ".concat((0,d.t)("MEASURES"),"\n\n").concat((0,h.cb)(et.measures,e,t)):void 0,er=Y.map(function(e){var t=e.id,n=e.ids,i=_.find(function(e){return e.id===t});if(!!i){var r,a=i.id,u=i.label,c=i.icon,d=i.url,h=i.description,p=i.isGeneric,f=(c===s.UZ.OTHER?d:null===(r=s.d7.find(function(e){return e.id===c}))||void 0===r?void 0:r.img)||s.zG,m=n.length>1?n.filter(function(e){return e!==t}).map(function(e){var t,n=_.find(function(t){return t.id===e});return n?{id:e,icon:(n.icon===s.UZ.OTHER?n.url:null===(t=s.d7.find(function(e){return e.id===n.icon}))||void 0===t?void 0:t.img)||s.zG,title:n.label}:void 0}).filter(Boolean):void 0;return{id:a,title:void 0===u?"...":u,icon:f,description:o()(l.KG,{md:void 0===h?"":h,removeParagraphs:!0}),variants:m,isGeneric:p}}}).filter(Boolean);return o()(".col.s12",[o()(".row",o()(".col.s9",o()("h4","".concat(void 0===P?"...":P).concat(W.length>0?" (".concat((0,h.f5)(void 0===D?[]:D,W),")"):"")),V.length>0&&o()("i.geo-location","".concat((0,d.t)("GEOLOCATIONS",V.length),": ").concat((0,h.f5)(void 0===S?[]:S,V)))),o()(".col.s3",o()("img.right",{src:K,alt:"Icon",style:{border:"2px solid black",borderRadius:"10px"}}))),B&&o()("p",B),o()(".row",[o()(".col.s6.m4.l3",[Z.size>0&&[o()("h5",(0,d.t)("CAST")),o()("ol",Array.from(Z).map(function(e){var t;return o()("li",null===(t=b.find(function(t){return t.id===e}))||void 0===t?void 0:t.label)}))]]),o()(".col.s6.m4.l3",[X.size>0&&[o()("h5",(0,d.t)("SERVICE_PROVIDERS")),o()("ol",Array.from(X).map(function(e){var t;return o()("li",null===(t=T.find(function(t){return t.id===e}))||void 0===t?void 0:t.label)}))]]),o()(".col.s6.m4.l3",[J.size>0&&[o()("h5",(0,d.t)("ATTRIBUTES")),o()("ol",Array.from(J).map(function(e){return A.find(function(t){return t.id===e})}).filter(function(e){return null==e?void 0:e.label}).map(function(e){return o()("li",null==e?void 0:e.label)}))]]),o()(".col.s6.m4.l3",[ee.size>0&&[o()("h5",(0,d.t)("LOCATIONS",ee.size)),o()("ol",Array.from(ee).map(function(e){var t;return o()("li",null===(t=I.find(function(t){return t.id===e}))||void 0===t?void 0:t.label)}))]])]),U&&U.length>0&&[o()("h5",(0,d.t)("REFERENCES")),o()(u.f,{references:U})],o()("h5",(0,d.t)("ACTS")),o()(a.Ty,{label:(0,d.t)("MAIN_ACTS"),style:"font-size: 16px;",onclick:function(){var e=Y.length>0?Y[0]:void 0;e&&R({curActIdx:_.findIndex(function(t){return t.id===e.id})})}}),er.filter(function(e){return e.isGeneric}).map(function(e){return o()(a.Ty,{label:e.title,style:"font-size: 16px;",onclick:function(){Y.find(function(t){return t.id===e.id})&&R({curActIdx:_.findIndex(function(t){return t.id===e.id})})}})}),o()(p.n,{steps:er.filter(function(e){return!e.isGeneric}),selectedStep:null==et?void 0:et.id,onStepSelect:function(e){return R({curActIdx:_.findIndex(function(t){return t.id===e})})},onVariantSelect:function(e,t){var n=Y.find(function(t){return t.id===e});n&&(n.id=t,R({curActIdx:_.findIndex(function(e){return e.id===t})}))}}),en&&[o()("h4",en.title),(null==et?void 0:et.activities)&&(null==et?void 0:null===(g=et.activities)||void 0===g?void 0:g.length)>0&&o()("h5",(0,d.t)("ACTIVITIES")),en.vnode],ei&&o()("div.markdown",o().trust((0,l.sY)(ei)))])}}};i()}catch(e){i(e)}})},613:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{W:function(){return u}});var r=n(2735),o=n.n(r),s=n(9834),a=n(8531),l=e([a]);a=(l.then?(await l)():l)[0];var u=function(){return{view:function(e){var t=e.attrs,n=t.currentLanguage,i=t.onLanguageChange,r=t.className;return o()(s.Ph,{iconName:"language",initialValue:n,className:r,options:[{id:"en",label:"English"},{id:"nl",label:"Nederlands"}],label:(0,a.t)("LANGUAGE"),onchange:function(e){return i(e[0])}})}}};i()}catch(e){i(e)}})},5724:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});var i=n(2735),r=n.n(i),o=function(){var e=null,t=function(t,n){console.log("TOGGLE"),e=e===t?null:t,n.onStepSelect&&n.onStepSelect(t)},n=function(e,t,n,i){console.log("VARIANT"),e.stopPropagation(),i.onVariantSelect&&i.onVariantSelect(t,n)};return{view:function(e){var i=e.attrs,o=i.steps,s=i.selectedStep,a=i.selectedVariant;return r()(".process-container",[o.map(function(e,o){return r()(".process-step",{class:[s===e.id?"active":"",e.variants&&e.variants.length?"has-variants":""].filter(Boolean).join(" ").trim(),onclick:function(){return t(e.id,i)}},[r()(".step-number",o+1),r()("img.step-icon",{src:e.icon,alt:"".concat(e.title," icon")}),r()(".step-content",[r()("h4.step-title.truncate",e.title),r()(".step-description",e.description),e.variants&&r()(".variants-container",[e.variants.map(function(t){return r()(".variant-option",{class:a===t.id?"active":"",onclick:function(r){return n(r,e.id,t.id,i)}},[r()("img.variant-icon",{src:t.icon,alt:"".concat(t.title," icon")}),t.title])})])])])})])}}}},1911:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var i=n(2735),r=n.n(i),o=function(){var e=!1;return{view:function(t){var n=t.attrs.reference,i=n.url,o=n.label,s=n.authors,a=n.description;return r()("li",[r()("a",{href:i,target:"_blank"},o),r()("span",", by ".concat(s)),a&&r()("span.ellipsis",{onclick:function(){return e=!e},style:{cursor:"pointer",color:"blue",textDecoration:"underline"}},e?" ... (less)":" ... (more)"),e&&r()("p.summary",a)])}}},s=function(){return{view:function(e){var t=e.attrs.references;return r()("ol",t.map(function(e){return r()(o,{reference:e})}))}}}},1384:function(e,t,n){"use strict";n.d(t,{n:function(){return s}});var i=n(2735),r=n.n(i),o=n(9834),s=function(){var e,t=[];return{oninit:function(n){var i=n.attrs.field,r=i.options;e=i.className,r&&"string"!=typeof r&&(t=r)},view:function(n){var i=n.attrs,s=i.iv,a=i.onchange,l=i.label;return r()(".multi-select",{className:e},r()(o.ul,{label:l,initialValue:s,options:t,onchange:a}))}}}},1067:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{a:function(){return m},k:function(){return f}});var r=n(2735),o=n.n(r),s=n(8531),a=n(9834),l=n(5611),u=n(9462),c=n(461),d=n(613),h=e([u,d,s,l]);function p(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}[u,d,s,l]=h.then?(await h)():h;var f=function(){var e=function(e,t,n){switch(e){case"clear":console.log("CLEARING DATAS"),n(l.pk);break;case"download_json":var i,r,o=void 0===t.version?1:++t.version;var d="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify((i=function(e){for(var t=1;t 0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1] e.length)&&(t=e.length);for(var n=0,i=Array(t);n 2&&void 0!==arguments[2]?arguments[2]:[],i=arguments.length>3?arguments[3]:void 0;return[{id:e,label:t,className:"col s12",repeat:!0,type:["cast","attributes","products","transports","locations","geoLocations","partners"].includes(i)?[{id:"id",type:"autogenerate",autogenerate:"id"},{id:"label",type:"text",className:"col s12 m4",label:(0,o.t)("NAME")},{id:"synonyms",type:"tags",className:"col s12 m8",label:(0,o.t)("SYNONYMS")},["partners","locations"].includes(i)?void 0:{id:"parents",type:"search_select",multiple:!0,className:"col s12",label:(0,o.t)("CATEGORIES"),options:n.filter(function(e){return e.label})}].filter(Boolean):[{id:"id",type:"autogenerate",autogenerate:"id"},{id:"label",type:"textarea",className:"col s12",label:(0,o.t)("DESCRIPTION")}].filter(Boolean)}]},l=function(){return[{id:"id",type:"autogenerate",autogenerate:"id"},{id:"label",type:"text",className:"col s6",label:(0,o.t)("NAME")},{id:"url",type:"base64",className:"col s6",label:(0,o.t)("IMAGE")},{id:"description",type:"textarea",className:"col s12",label:(0,o.t)("SUMMARY")}]},u=function(){return[{id:"id",type:"autogenerate",autogenerate:"id"},{id:"label",type:"text",className:"col s6",label:(0,o.t)("TITLE")},{id:"authors",type:"text",className:"col s6",label:(0,o.t)("AUTHORS")},{id:"url",type:"url",className:"col s12",label:(0,o.t)("LINK")},{id:"description",type:"textarea",className:"col s12",label:(0,o.t)("SUMMARY")}]},c=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"filter_alt";return[{id:"productIds",label:(0,o.t)("PRODUCTS",2),icon:i,type:"select",multiple:!0,options:(0,r.o2)(e),className:"col s6 m4"},{id:"locationIds",label:(0,o.t)("LOCATIONS",2),type:"select",multiple:!0,options:(0,r.o2)(t),className:"col s6 m4"},{id:"geoLocationIds",label:(0,o.t)("GEOLOCATIONS",2),type:"select",multiple:!0,options:(0,r.o2)(n),className:"col s6 m4"}]},d=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"filter_alt";return[{id:"roleIds",label:(0,o.t)("CAST",2),icon:i,type:"select",multiple:!0,options:(0,r.o2)(e),className:"col s6 m4"},{id:"attributeIds",label:(0,o.t)("ATTRIBUTES",2),type:"select",multiple:!0,options:(0,r.o2)(t),className:"col s6 m4"},{id:"transportIds",label:(0,o.t)("TRANSPORTS",2),type:"select",multiple:!0,options:(0,r.o2)(n),className:"col s6 m4"}]};i()}catch(e){i(e)}})},6111:function(e,t,n){"use strict";n.d(t,{UZ:function(){return r},d7:function(){return a},lq:function(){return s},zG:function(){return o}});var i,r=((i={})[i.OTHER=1]="OTHER",i[i.CAR=2]="CAR",i[i.CONTAINER_SHIP=3]="CONTAINER_SHIP",i[i.DISPOSAL=4]="DISPOSAL",i[i.FILTER=5]="FILTER",i[i.OIL_BARREL=6]="OIL_BARREL",i[i.DRUGS=7]="DRUGS",i[i.MONEY_LAUNDERING=8]="MONEY_LAUNDERING",i[i.PLANNING=9]="PLANNING",i[i.STORAGE=10]="STORAGE",i[i.TRUCK=11]="TRUCK",i[i.WEED=12]="WEED",i[i.UNPACK=13]="UNPACK",i[i.DISTRIBUTE=14]="DISTRIBUTE",i),o="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYwMCIgaGVpZ2h0PSIxNjAwIiB2aWV3Qm94PSIwIDAgMTIwMCAxMjAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Ik0xMDg1LjcgMEgxMTQuMjdBMTE0LjI4MiAxMTQuMjgyIDAgMDAtLjAxNSAxMTQuMjg1djk3MS40M0ExMTQuMjgyIDExNC4yODIgMCAwMDExNC4yNyAxMjAwaDk3MS40M2ExMTQuMjgyIDExNC4yODIgMCAwMDExNC4yODUtMTE0LjI4NXYtOTcxLjQzQTExNC4yODIgMTE0LjI4MiAwIDAwMTA4NS43IDB6bS00MDAgMTAwMEg1NzEuNDFhNTcuMTQ2IDU3LjE0NiAwIDAxLTU3LjE0NC01Ny4xNDR2LTQyOC41N2gxMTQuMjlhNTcuMTMxIDU3LjEzMSAwIDAxNDAuNDA2IDE2LjczOEE1Ny4xMjkgNTcuMTI5IDAgMDE2ODUuNyA1NzEuNDN6bS04NS43MTUtNjI4LjU3YTg1LjcxNCA4NS43MTQgMCAxMTAtMTcxLjQy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DIuMzk4YzAgLjkzOC4zNzggMS43ODUuOTkyIDIuMzk5YTMuMzggMy4zOCAwIDAwMi4zOTguOTkyIDMuMzggMy4zOCAwIDAwMi4zOTktLjk5MiAzLjM4IDMuMzggMCAwMC45OTItMi4zOTkgMy4zOCAzLjM4IDAgMDAtLjk5Mi0yLjM5OHoiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg=="},{group:"Select your own",id:1,label:"Other"}]},5611:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{Ij:function(){return s.Ij},T8:function(){return s.T8},UZ:function(){return a.UZ},d7:function(){return a.d7},iY:function(){return r.i},lq:function(){return a.lq},pk:function(){return s.pk},zG:function(){return a.zG}});var r=n(4202),o=n(1609),s=n(1828),a=n(6111),l=e([o]);o=(l.then?(await l)():l)[0],i()}catch(e){i(e)}})},4202:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var i,r=((i={}).LANDING="LANDING",i.LOGIN="LOGIN",i.HOME="HOME",i.CRIME_SCRIPT="CRIME_SCRIPT",i.SETTINGS="SETTINGS",i.ABOUT="ABOUT",i.CASE="CASE",i)},1609:function(e,t,n){"use strict";n.a(e,async function(e,t){try{var i=n(8531),r=e([i]);function o(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}i=(r.then?(await r)():r)[0];t()}catch(e){t(e)}})},9138:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{h9:function(){return a},m:function(){return s}});var r=n(8531),o=e([r]);r=(o.then?(await o)():o)[0];var s=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,r.t)("MISC"),n=function(t,n){return e?"".concat(t,' (in "').concat(n,'")'):t};return[{id:"1",label:(0,r.t)("INCREASE_EFFORT"),icon:"fitness_center",sub:[{id:"1_1",label:(0,r.t)("TARGET_HARDEN","TITLE"),desc:(0,r.t)("TARGET_HARDEN","DESC")},{id:"1_2",label:(0,r.t)("CONTROL_ACCESS","TITLE"),desc:(0,r.t)("CONTROL_ACCESS","DESC")},{id:"1_3",label:(0,r.t)("SCREEN_EXITS","TITLE"),desc:(0,r.t)("SCREEN_EXITS","DESC")},{id:"1_4",label:(0,r.t)("DEFLECT_OFFENDERS","TITLE"),desc:(0,r.t)("DEFLECT_OFFENDERS","DESC")},{id:"1_5",label:(0,r.t)("CONTROL_TOOLS","TITLE"),desc:(0,r.t)("CONTROL_TOOLS","DESC")}]},{id:"2",label:(0,r.t)("INCREASE_RISKS"),icon:"warning",sub:[{id:"2_1",label:(0,r.t)("EXTEND_GUARDIANSHIP","TITLE"),desc:(0,r.t)("EXTEND_GUARDIANSHIP","DESC")},{id:"2_2",label:(0,r.t)("ASSIST_SURVEILLANCE","TITLE"),desc:(0,r.t)("ASSIST_SURVEILLANCE","DESC")},{id:"2_3",label:(0,r.t)("REDUCE_ANONYMITY","TITLE"),desc:(0,r.t)("REDUCE_ANONYMITY","DESC")},{id:"2_4",label:(0,r.t)("USE_PLACE_MANAGERS","TITLE"),desc:(0,r.t)("USE_PLACE_MANAGERS","DESC")},{id:"2_5",label:(0,r.t)("STRENGTHEN_SURVEILLANCE","TITLE"),desc:(0,r.t)("STRENGTHEN_SURVEILLANCE","DESC")}]},{id:"3",label:(0,r.t)("REDUCE_REWARDS"),icon:"do_not_disturb",sub:[{id:"3_1",label:(0,r.t)("CONCEAL_TARGETS","TITLE"),desc:(0,r.t)("CONCEAL_TARGETS","DESC")},{id:"3_2",label:(0,r.t)("REMOVE_TARGETS","TITLE"),desc:(0,r.t)("REMOVE_TARGETS","DESC")},{id:"3_3",label:(0,r.t)("IDENTIFY_PROPERTY","TITLE"),desc:(0,r.t)("IDENTIFY_PROPERTY","DESC")},{id:"3_4",label:(0,r.t)("DISRUPT_MARKETS","TITLE"),desc:(0,r.t)("DISRUPT_MARKETS","DESC")},{id:"3_5",label:(0,r.t)("DENY_BENEFITS","TITLE"),desc:(0,r.t)("DENY_BENEFITS","DESC")}]},{id:"4",label:(0,r.t)("REDUCE_PROVOCATIONS"),icon:"peace",sub:[{id:"4_1",label:(0,r.t)("REDUCE_FRUSTRATIONS","TITLE"),desc:(0,r.t)("REDUCE_FRUSTRATIONS","DESC")},{id:"4_2",label:(0,r.t)("AVOID_DISPUTES","TITLE"),desc:(0,r.t)("AVOID_DISPUTES","DESC")},{id:"4_3",label:(0,r.t)("REDUCE_TEMPTATION","TITLE"),desc:(0,r.t)("REDUCE_TEMPTATION","DESC")},{id:"4_4",label:(0,r.t)("NEUTRALIZE_PRESSURE","TITLE"),desc:(0,r.t)("NEUTRALIZE_PRESSURE","DESC")},{id:"4_5",label:(0,r.t)("DISCOURAGE_IMITATION","TITLE"),desc:(0,r.t)("DISCOURAGE_IMITATION","DESC")}]},{id:"5",label:(0,r.t)("REMOVE_EXCUSES"),icon:"delete",sub:[{id:"5_1",label:(0,r.t)("SET_RULES","TITLE"),desc:(0,r.t)("SET_RULES","DESC")},{id:"5_2",label:(0,r.t)("POST_INSTRUCTIONS","TITLE"),desc:(0,r.t)("POST_INSTRUCTIONS","DESC")},{id:"5_3",label:(0,r.t)("ALERT_CONSCIENCE","TITLE"),desc:(0,r.t)("ALERT_CONSCIENCE","DESC")},{id:"5_4",label:(0,r.t)("ASSIST_COMPLIANCE","TITLE"),desc:(0,r.t)("ASSIST_COMPLIANCE","DESC")},{id:"5_5",label:(0,r.t)("CONTROL_DRUGS","TITLE"),desc:(0,r.t)("CONTROL_DRUGS","DESC")}]}].reduce(function(e,t){var i=t.label;return t.sub.forEach(function(t){var r=t.id,o=t.label;return e.push({id:r,label:n(o,i),group:i})}),e},[{id:"0_0",label:n(t,t),group:t,icon:"more_horiz"}])},a=function(){var e=s(!0).reduce(function(e,t){return e.set(t.id,t),e},new Map);return function(t){return e.get(t)}};i()}catch(e){i(e)}})},283:function(e,t,n){"use strict";n.d(t,{Z:function(){return r},d:function(){return i}});var i='\n\n#### Situational Crime Prevention techniques\n\n| Increase the effort | Increase the risks | Reduce the rewards | Reduce provocations | Remove excuses |\n|---------------------|---------------------|---------------------|----------------------|-----------------|\n| 1. Target harden
- Steering column locks and ignition immobilizers
- Anti-robbery screens
- Tamper-proof packaging | 6. Extend guardianship
- Go out in group at night
- Leave signs of occupancy
- Carry cell phone | 11. Conceal targets
- Off-street parking
- Gender-neutral phone directories
- Unmarked armored trucks | 16. Reduce frustrations and stress
- Efficient lines
- Polite service
- Expanded seating
- Soothing music/muted lights | 21. Set rules
- Rental agreements
- Harassment codes
- Hotel registration |\n| 2. Control access to facilities
- Entry phones
- Electronic card access
- Baggage screening | 7. Assist natural surveillance
- Improved street lighting
- Defensible space design
- Support whistleblowers | 12. Remove targets
- Removable car radio
- Women\'s shelters
- Pre-paid cards for pay phones | 17. Avoid disputes
- Separate seating for rival soccer fans
- Reduce crowding in bars
- Fixed cab fares | 22. Post instructions
- "No parking"
- "Private property"
- "Extinguish camp fires" |\n| 3. Screen exits
- Ticket needed for exit
- Export documents
- Electronic merchandise tags | 8. Reduce anonymity
- Taxi driver IDs
- "How\'s my driving?" decals
- School uniforms | 13. Identify property
- Property marking
- Vehicle licensing and parts marking
- Cattle branding | 18. Reduce temptation and arousal
- Controls on violent pornography
- Enforce good behavior on soccer field
- Prohibit racial slurs | 23. Alert conscience
- Roadside speed display boards
- Signatures for customs declarations
- "Shoplifting is stealing" |\n| 4. Deflect offenders
- Street closures
- Separate bathrooms for women
- Disperse pubs | 9. Use place managers
- CCTV for double-deck buses
- Two clerks for convenience stores
- Reward vigilance | 14. Disrupt markets
- Monitor pawn shops
- Controls on classified ads
- License street vendors | 19. Neutralize peer pressure
- "Idiots drink and drive"
- "It\'s OK to say No"
- Disperse troublemakers at school | 24. Assist compliance
- Easy library checkout
- Public lavatories
- Litter receptacles |\n| 5. Control tools/weapons
- "Smart" guns
- Restrict spray paint sales to juveniles
- Toughened beer glasses | 10. Strengthen formal surveillance
- Red light cameras
- Burglar alarms
- Security guards | 15. Deny benefits
- Ink merchandise tags
- Graffiti cleaning
- Disabling stolen cell phones | 20. Discourage imitation
- Rapid repair of vandalism
- V-chips in TVs
- Censor details of modus operandi | 25. Control drugs and alcohol
- Breathalyzers in bars
- Server intervention programs
- Alcohol-free events |\n',r='\n\n#### Situational Crime Prevention technieken\n\n| Verhoog de inspanning | Verhoog de risico\'s | Verminder de beloningen | Verminder provocaties | Verwijder excuses |\n|------------------------|----------------------|--------------------------|-------------------------|---------------------|\n| 1. Doelversteviging
- Stuursloten en startonderbrekers
- Anti-overval schermen
- Manipulatiebestendige verpakking | 6. Breid toezicht uit
- Ga \'s nachts in groep uit
- Laat tekenen van bewoning achter
- Draag een mobiele telefoon | 11. Verberg doelen
- Parkeren buiten de straat
- Genderneutrale telefoongidsen
- Ongemarkeerde gepantserde vrachtwagens | 16. Verminder frustraties en stress
- Effici\xebnte rijen
- Beleefde service
- Uitgebreide zitplaatsen
- Rustgevende muziek/gedempte verlichting | 21. Stel regels op
- Huurovereenkomsten
- Intimidatiecodes
- Hotelregistratie |\n| 2. Controleer toegang tot faciliteiten
- Deurtelefoons
- Elektronische kaart toegang
- Bagagecontrole | 7. Ondersteun natuurlijk toezicht
- Verbeterde straatverlichting
- Verdedigbaar ruimteontwerp
- Ondersteuning van klokkenluiders | 12. Verwijder doelen
- Verwijderbare autoradio
- Vrouwenopvang
- Prepaidkaarten voor openbare telefoons | 17. Vermijd geschillen
- Gescheiden zitplaatsen voor rivaliserende voetbalfans
- Verminder drukte in bars
- Vaste taxitarieven | 22. Plaats instructies
- "Parkeren verboden"
- "Priv\xe9-eigendom"
- "Doof kampvuren" |\n| 3. Controleer uitgangen
- Ticket nodig voor vertrek
- Exportdocumenten
- Elektronische artikelbeveiliging | 8. Verminder anonimiteit
- Taxichauffeur ID\'s
- "Hoe is mijn rijgedrag?" stickers
- Schooluniformen | 13. Identificeer eigendom
- Eigendomsmarkering
- Voertuigregistratie en onderdelenmarkering
- Veemerken | 18. Verminder verleiding en opwinding
- Controles op gewelddadige pornografie
- Handhaaf goed gedrag op voetbalveld
- Verbied racistische opmerkingen | 23. Activeer geweten
- Snelheidsweergaveborden langs de weg
- Handtekeningen voor douaneaangiften
- "Winkeldiefstal is stelen" |\n| 4. Leid overtreders af
- Straatafsluitingen
- Aparte toiletten voor vrouwen
- Verspreid pubs | 9. Gebruik plaatsmanagers
- CCTV voor dubbeldekkers
- Twee bedienden voor gemakswinkels
- Beloon waakzaamheid | 14. Verstoor markten
- Monitor pandjeshuis
- Controles op rubrieksadvertenties
- Vergunning voor straatverkopers | 19. Neutraliseer groepsdruk
- "Idioten drinken en rijden"
- "Het is OK om Nee te zeggen"
- Verspreid onruststokers op school | 24. Help bij naleving
- Eenvoudige bibliotheekuitleen
- Openbare toiletten
- Afvalbakken |\n| 5. Beheers gereedschappen/wapens
- "Slimme" wapens
- Beperk verkoop spuitverf aan jongeren
- Geharde bierglazen | 10. Versterk formeel toezicht
- Roodlichtcamera\'s
- Inbraakalarm
- Beveiligingspersoneel | 15. Ontzeg voordelen
- Inktlabels op artikelen
- Graffiti reiniging
- Uitschakelen gestolen mobiele telefoons | 20. Ontmoedig imitatie
- Snelle reparatie van vandalisme
- V-chips in TV\'s
- Censureer details van modus operandi | 25. Beheers drugs en alcohol
- Ademanalysers in bars
- Interventie programma\'s voor barpersoneel
- Alcoholvrije evenementen |\n'},2921:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{J:function(){return c}});var r=n(5611),o=n(9462),s=n(8308),a=e([r,o,s]);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n2)||void 0===arguments[2]||arguments[2];e.map(function(e){return y.get(e)}).filter(function(e){return void 0!==e}).forEach(function(e){var i;w(e.label,t),null===(i=e.synonyms)||void 0===i||i.forEach(function(e){return w(e,t)}),n&&e.parents&&b(e.parents,[t[0],t[1],t[2],r.Ij.PARENT_MATCH],!1)})};(void 0===a?[]:a).forEach(function(e,t){var n=e.label,i=e.description,a=e.stages,l=[t,-1,-1,r.Ij.OTHER_MATCH];(0,o.wS)((void 0===n?"":n)+" "+(void 0===i?"":i),s.a.stopwords).forEach(function(e){return w(e,l)}),(void 0===a?[]:a).forEach(function(e){var n=e.ids;(void 0===n?[]:n).forEach(function(e){var n=h.findIndex(function(t){return t.id===e});if(!(n<0)){var i=h[n];[function(e){for(var t=1;t 0&&d.roles&&d.roles.length>0&&d.roles[0].length>0},isAdmin:function(){return d.roles.indexOf("admin")>=0},isEditor:function(){return d.roles.indexOf("editor")>=0},isOwner:function(e){return d.isAdmin()||d.isAuthenticated&&e.author&&e.author.indexOf(d.username)>=0},canCRUD:function(e){return d.isAuthenticated&&(d.isAdmin()||d.isOwner(e))},canEdit:function(e){return d.isAuthenticated&&(d.canCRUD(e)||d.isEditor())},setUsername:function(e){d.username=e,localStorage.setItem(u,e),d.login()},setRoles:function(e){d.roles=e,localStorage.setItem(c,e.join(",")),d.login()},setAuthenticated:function(e){d.isAuthenticated=e},login:function(){var e;return(e=function(){return function(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1] e.length)&&(t=e.length);for(var n=0,i=Array(t);n 0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1] 1&&void 0!==arguments[1]?arguments[1]:"",n=this.pages.filter(function(t){return t.id===e}).shift();return n?"#!".concat(n.route.replace(/:\w*/,""),"?").concat(t):this.defaultRoute}},{key:"switchTo",value:function(e,t,n){var i=this.pages.filter(function(t){return t.id===e}).shift();if(i){var r=i.route+(n?"?"+o().buildQueryString(n):"");o().route.set(r,t)}}},{key:"routingTable",value:function(){return this.pages.reduce(function(e,t){return e[t.route]=!1===t.hasNavBar?{render:function(){var e=(0,c.gF)(),n=(0,c.xZ)(e);return o()(t.component,m(f({},e),{actions:n}))}}:{render:function(){var e=(0,c.gF)(),n=(0,c.xZ)(e);return o()(a.A,m(f({},e),{actions:n,options:{}}),o()(t.component,m(f({},e),{actions:n})))}},e},{})}}],h(e.prototype,t),i}());i()}catch(e){i(e)}})},8308:function(e,t,n){"use strict";n.a(e,async function(e,i){try{n.d(t,{a:function(){return y},m:function(){return v},t:function(){return w}});var r=n(4649),o=n(1125),s=n(5988),a=n(9163),l=n(8236),u=n(5368),c=n(3032),d=e([c]);function h(e,t,n,i,r,o,s){try{var a=e[o](s),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(i,r)}function p(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function s(e){h(o,i,r,s,a,"next",e)}function a(e){h(o,i,r,s,a,"throw",e)}s(void 0)})}}function f(e,t){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]