From a2953c79342d4f55a987a3fe08250d43137555ea Mon Sep 17 00:00:00 2001 From: Felix Zumstein Date: Fri, 11 Oct 2024 15:21:57 +0200 Subject: [PATCH] upgrade dependencies --- app/static/vendor/htmx.org/dist/htmx.min.js | 2 +- .../xlwings/xlwingsjs/dist/xlwings.min.js | 2 +- .../xlwings/xlwingsjs/dist/xlwings.min.js.map | 2 +- package-lock.json | 312 +++++++++--------- package.json | 6 +- requirements-core.txt | 12 +- requirements-dev.txt | 18 +- requirements.txt | 14 +- 8 files changed, 186 insertions(+), 182 deletions(-) diff --git a/app/static/vendor/htmx.org/dist/htmx.min.js b/app/static/vendor/htmx.org/dist/htmx.min.js index c11fbbd..423cf01 100644 --- a/app/static/vendor/htmx.org/dist/htmx.min.js +++ b/app/static/vendor/htmx.org/dist/htmx.min.js @@ -1 +1 @@ -var htmx=function(){"use strict";const Q={onLoad:null,process:null,on:null,off:null,trigger:null,ajax:null,find:null,findAll:null,closest:null,values:function(e,t){const n=cn(e,t||"post");return n.values},remove:null,addClass:null,removeClass:null,toggleClass:null,takeClass:null,swap:null,defineExtension:null,removeExtension:null,logAll:null,logNone:null,logger:null,config:{historyEnabled:true,historyCacheSize:10,refreshOnHistoryMiss:false,defaultSwapStyle:"innerHTML",defaultSwapDelay:0,defaultSettleDelay:20,includeIndicatorStyles:true,indicatorClass:"htmx-indicator",requestClass:"htmx-request",addedClass:"htmx-added",settlingClass:"htmx-settling",swappingClass:"htmx-swapping",allowEval:true,allowScriptTags:true,inlineScriptNonce:"",inlineStyleNonce:"",attributesToSettle:["class","style","width","height"],withCredentials:false,timeout:0,wsReconnectDelay:"full-jitter",wsBinaryType:"blob",disableSelector:"[hx-disable], [data-hx-disable]",scrollBehavior:"instant",defaultFocusScroll:false,getCacheBusterParam:false,globalViewTransitions:false,methodsThatUseUrlParams:["get","delete"],selfRequestsOnly:true,ignoreTitle:false,scrollIntoViewOnBoost:true,triggerSpecsCache:null,disableInheritance:false,responseHandling:[{code:"204",swap:false},{code:"[23]..",swap:true},{code:"[45]..",swap:false,error:true}],allowNestedOobSwaps:true},parseInterval:null,_:null,version:"2.0.2"};Q.onLoad=$;Q.process=Dt;Q.on=be;Q.off=we;Q.trigger=de;Q.ajax=Hn;Q.find=r;Q.findAll=p;Q.closest=g;Q.remove=K;Q.addClass=Y;Q.removeClass=o;Q.toggleClass=W;Q.takeClass=ge;Q.swap=ze;Q.defineExtension=Bn;Q.removeExtension=Un;Q.logAll=z;Q.logNone=J;Q.parseInterval=h;Q._=_;const n={addTriggerHandler:Et,bodyContains:le,canAccessLocalStorage:j,findThisElement:Ee,filterValues:hn,swap:ze,hasAttribute:s,getAttributeValue:te,getClosestAttributeValue:re,getClosestMatch:T,getExpressionVars:Cn,getHeaders:dn,getInputValues:cn,getInternalData:ie,getSwapSpecification:pn,getTriggerSpecs:lt,getTarget:Ce,makeFragment:D,mergeObjects:ue,makeSettleInfo:xn,oobSwap:Te,querySelectorExt:ae,settleImmediately:Gt,shouldCancel:ht,triggerEvent:de,triggerErrorEvent:fe,withExtensions:Bt};const v=["get","post","put","delete","patch"];const O=v.map(function(e){return"[hx-"+e+"], [data-hx-"+e+"]"}).join(", ");const R=e("head");function e(e,t=false){return new RegExp(`<${e}(\\s[^>]*>|>)([\\s\\S]*?)<\\/${e}>`,t?"gim":"im")}function h(e){if(e==undefined){return undefined}let t=NaN;if(e.slice(-2)=="ms"){t=parseFloat(e.slice(0,-2))}else if(e.slice(-1)=="s"){t=parseFloat(e.slice(0,-1))*1e3}else if(e.slice(-1)=="m"){t=parseFloat(e.slice(0,-1))*1e3*60}else{t=parseFloat(e)}return isNaN(t)?undefined:t}function ee(e,t){return e instanceof Element&&e.getAttribute(t)}function s(e,t){return!!e.hasAttribute&&(e.hasAttribute(t)||e.hasAttribute("data-"+t))}function te(e,t){return ee(e,t)||ee(e,"data-"+t)}function u(e){const t=e.parentElement;if(!t&&e.parentNode instanceof ShadowRoot)return e.parentNode;return t}function ne(){return document}function H(e,t){return e.getRootNode?e.getRootNode({composed:t}):ne()}function T(e,t){while(e&&!t(e)){e=u(e)}return e||null}function q(e,t,n){const r=te(t,n);const o=te(t,"hx-disinherit");var i=te(t,"hx-inherit");if(e!==t){if(Q.config.disableInheritance){if(i&&(i==="*"||i.split(" ").indexOf(n)>=0)){return r}else{return null}}if(o&&(o==="*"||o.split(" ").indexOf(n)>=0)){return"unset"}}return r}function re(t,n){let r=null;T(t,function(e){return!!(r=q(t,ce(e),n))});if(r!=="unset"){return r}}function f(e,t){const n=e instanceof Element&&(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector);return!!n&&n.call(e,t)}function L(e){const t=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;const n=t.exec(e);if(n){return n[1].toLowerCase()}else{return""}}function N(e){const t=new DOMParser;return t.parseFromString(e,"text/html")}function A(e,t){while(t.childNodes.length>0){e.append(t.childNodes[0])}}function I(e){const t=ne().createElement("script");se(e.attributes,function(e){t.setAttribute(e.name,e.value)});t.textContent=e.textContent;t.async=false;if(Q.config.inlineScriptNonce){t.nonce=Q.config.inlineScriptNonce}return t}function P(e){return e.matches("script")&&(e.type==="text/javascript"||e.type==="module"||e.type==="")}function k(e){Array.from(e.querySelectorAll("script")).forEach(e=>{if(P(e)){const t=I(e);const n=e.parentNode;try{n.insertBefore(t,e)}catch(e){w(e)}finally{e.remove()}}})}function D(e){const t=e.replace(R,"");const n=L(t);let r;if(n==="html"){r=new DocumentFragment;const i=N(e);A(r,i.body);r.title=i.title}else if(n==="body"){r=new DocumentFragment;const i=N(t);A(r,i.body);r.title=i.title}else{const i=N('");r=i.querySelector("template").content;r.title=i.title;var o=r.querySelector("title");if(o&&o.parentNode===r){o.remove();r.title=o.innerText}}if(r){if(Q.config.allowScriptTags){k(r)}else{r.querySelectorAll("script").forEach(e=>e.remove())}}return r}function oe(e){if(e){e()}}function t(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function M(e){return typeof e==="function"}function X(e){return t(e,"Object")}function ie(e){const t="htmx-internal-data";let n=e[t];if(!n){n=e[t]={}}return n}function F(t){const n=[];if(t){for(let e=0;e=0}function le(e){const t=e.getRootNode&&e.getRootNode();if(t&&t instanceof window.ShadowRoot){return ne().body.contains(t.host)}else{return ne().body.contains(e)}}function U(e){return e.trim().split(/\s+/)}function ue(e,t){for(const n in t){if(t.hasOwnProperty(n)){e[n]=t[n]}}return e}function S(e){try{return JSON.parse(e)}catch(e){w(e);return null}}function j(){const e="htmx:localStorageTest";try{localStorage.setItem(e,e);localStorage.removeItem(e);return true}catch(e){return false}}function V(t){try{const e=new URL(t);if(e){t=e.pathname+e.search}if(!/^\/$/.test(t)){t=t.replace(/\/+$/,"")}return t}catch(e){return t}}function _(e){return vn(ne().body,function(){return eval(e)})}function $(t){const e=Q.on("htmx:load",function(e){t(e.detail.elt)});return e}function z(){Q.logger=function(e,t,n){if(console){console.log(t,e,n)}}}function J(){Q.logger=null}function r(e,t){if(typeof e!=="string"){return e.querySelector(t)}else{return r(ne(),e)}}function p(e,t){if(typeof e!=="string"){return e.querySelectorAll(t)}else{return p(ne(),e)}}function E(){return window}function K(e,t){e=y(e);if(t){E().setTimeout(function(){K(e);e=null},t)}else{u(e).removeChild(e)}}function ce(e){return e instanceof Element?e:null}function G(e){return e instanceof HTMLElement?e:null}function Z(e){return typeof e==="string"?e:null}function d(e){return e instanceof Element||e instanceof Document||e instanceof DocumentFragment?e:null}function Y(e,t,n){e=ce(y(e));if(!e){return}if(n){E().setTimeout(function(){Y(e,t);e=null},n)}else{e.classList&&e.classList.add(t)}}function o(e,t,n){let r=ce(y(e));if(!r){return}if(n){E().setTimeout(function(){o(r,t);r=null},n)}else{if(r.classList){r.classList.remove(t);if(r.classList.length===0){r.removeAttribute("class")}}}}function W(e,t){e=y(e);e.classList.toggle(t)}function ge(e,t){e=y(e);se(e.parentElement.children,function(e){o(e,t)});Y(ce(e),t)}function g(e,t){e=ce(y(e));if(e&&e.closest){return e.closest(t)}else{do{if(e==null||f(e,t)){return e}}while(e=e&&ce(u(e)));return null}}function l(e,t){return e.substring(0,t.length)===t}function pe(e,t){return e.substring(e.length-t.length)===t}function i(e){const t=e.trim();if(l(t,"<")&&pe(t,"/>")){return t.substring(1,t.length-2)}else{return t}}function m(e,t,n){e=y(e);if(t.indexOf("closest ")===0){return[g(ce(e),i(t.substr(8)))]}else if(t.indexOf("find ")===0){return[r(d(e),i(t.substr(5)))]}else if(t==="next"){return[ce(e).nextElementSibling]}else if(t.indexOf("next ")===0){return[me(e,i(t.substr(5)),!!n)]}else if(t==="previous"){return[ce(e).previousElementSibling]}else if(t.indexOf("previous ")===0){return[ye(e,i(t.substr(9)),!!n)]}else if(t==="document"){return[document]}else if(t==="window"){return[window]}else if(t==="body"){return[document.body]}else if(t==="root"){return[H(e,!!n)]}else if(t.indexOf("global ")===0){return m(e,t.slice(7),true)}else{return F(d(H(e,!!n)).querySelectorAll(i(t)))}}var me=function(t,e,n){const r=d(H(t,n)).querySelectorAll(e);for(let e=0;e=0;e--){const o=r[e];if(o.compareDocumentPosition(t)===Node.DOCUMENT_POSITION_FOLLOWING){return o}}};function ae(e,t){if(typeof e!=="string"){return m(e,t)[0]}else{return m(ne().body,e)[0]}}function y(e,t){if(typeof e==="string"){return r(d(t)||document,e)}else{return e}}function xe(e,t,n){if(M(t)){return{target:ne().body,event:Z(e),listener:t}}else{return{target:y(e),event:Z(t),listener:n}}}function be(t,n,r){_n(function(){const e=xe(t,n,r);e.target.addEventListener(e.event,e.listener)});const e=M(n);return e?n:r}function we(t,n,r){_n(function(){const e=xe(t,n,r);e.target.removeEventListener(e.event,e.listener)});return M(n)?n:r}const ve=ne().createElement("output");function Se(e,t){const n=re(e,t);if(n){if(n==="this"){return[Ee(e,t)]}else{const r=m(e,n);if(r.length===0){w('The selector "'+n+'" on '+t+" returned no matches!");return[ve]}else{return r}}}}function Ee(e,t){return ce(T(e,function(e){return te(ce(e),t)!=null}))}function Ce(e){const t=re(e,"hx-target");if(t){if(t==="this"){return Ee(e,"hx-target")}else{return ae(e,t)}}else{const n=ie(e);if(n.boosted){return ne().body}else{return e}}}function Oe(t){const n=Q.config.attributesToSettle;for(let e=0;e0){s=e.substr(0,e.indexOf(":"));t=e.substr(e.indexOf(":")+1,e.length)}else{s=e}const n=ne().querySelectorAll(t);if(n){se(n,function(e){let t;const n=o.cloneNode(true);t=ne().createDocumentFragment();t.appendChild(n);if(!He(s,e)){t=d(n)}const r={shouldSwap:true,target:e,fragment:t};if(!de(e,"htmx:oobBeforeSwap",r))return;e=r.target;if(r.shouldSwap){_e(s,e,e,t,i)}se(i.elts,function(e){de(e,"htmx:oobAfterSwap",r)})});o.parentNode.removeChild(o)}else{o.parentNode.removeChild(o);fe(ne().body,"htmx:oobErrorNoTarget",{content:o})}return e}function qe(e){se(p(e,"[hx-preserve], [data-hx-preserve]"),function(e){const t=te(e,"id");const n=ne().getElementById(t);if(n!=null){e.parentNode.replaceChild(n,e)}})}function Le(l,e,u){se(e.querySelectorAll("[id]"),function(t){const n=ee(t,"id");if(n&&n.length>0){const r=n.replace("'","\\'");const o=t.tagName.replace(":","\\:");const e=d(l);const i=e&&e.querySelector(o+"[id='"+r+"']");if(i&&i!==e){const s=t.cloneNode();Re(t,i);u.tasks.push(function(){Re(t,s)})}}})}function Ne(e){return function(){o(e,Q.config.addedClass);Dt(ce(e));Ae(d(e));de(e,"htmx:load")}}function Ae(e){const t="[autofocus]";const n=G(f(e,t)?e:e.querySelector(t));if(n!=null){n.focus()}}function c(e,t,n,r){Le(e,n,r);while(n.childNodes.length>0){const o=n.firstChild;Y(ce(o),Q.config.addedClass);e.insertBefore(o,t);if(o.nodeType!==Node.TEXT_NODE&&o.nodeType!==Node.COMMENT_NODE){r.tasks.push(Ne(o))}}}function Ie(e,t){let n=0;while(n0}function ze(e,t,r,o){if(!o){o={}}e=y(e);const n=document.activeElement;let i={};try{i={elt:n,start:n?n.selectionStart:null,end:n?n.selectionEnd:null}}catch(e){}const s=xn(e);if(r.swapStyle==="textContent"){e.textContent=t}else{let n=D(t);s.title=n.title;if(o.selectOOB){const u=o.selectOOB.split(",");for(let t=0;t0){E().setTimeout(l,r.settleDelay)}else{l()}}function Je(e,t,n){const r=e.getResponseHeader(t);if(r.indexOf("{")===0){const o=S(r);for(const i in o){if(o.hasOwnProperty(i)){let e=o[i];if(X(e)){n=e.target!==undefined?e.target:n}else{e={value:e}}de(n,i,e)}}}else{const s=r.split(",");for(let e=0;e0){const s=o[0];if(s==="]"){e--;if(e===0){if(n===null){t=t+"true"}o.shift();t+=")})";try{const l=vn(r,function(){return Function(t)()},function(){return true});l.source=t;return l}catch(e){fe(ne().body,"htmx:syntax:error",{error:e,source:t});return null}}}else if(s==="["){e++}if(nt(s,n,i)){t+="(("+i+"."+s+") ? ("+i+"."+s+") : (window."+s+"))"}else{t=t+s}n=o.shift()}}}function b(e,t){let n="";while(e.length>0&&!t.test(e[0])){n+=e.shift()}return n}function ot(e){let t;if(e.length>0&&Qe.test(e[0])){e.shift();t=b(e,et).trim();e.shift()}else{t=b(e,x)}return t}const it="input, textarea, select";function st(e,t,n){const r=[];const o=tt(t);do{b(o,We);const l=o.length;const u=b(o,/[,\[\s]/);if(u!==""){if(u==="every"){const c={trigger:"every"};b(o,We);c.pollInterval=h(b(o,/[,\[\s]/));b(o,We);var i=rt(e,o,"event");if(i){c.eventFilter=i}r.push(c)}else{const a={trigger:u};var i=rt(e,o,"event");if(i){a.eventFilter=i}while(o.length>0&&o[0]!==","){b(o,We);const f=o.shift();if(f==="changed"){a.changed=true}else if(f==="once"){a.once=true}else if(f==="consume"){a.consume=true}else if(f==="delay"&&o[0]===":"){o.shift();a.delay=h(b(o,x))}else if(f==="from"&&o[0]===":"){o.shift();if(Qe.test(o[0])){var s=ot(o)}else{var s=b(o,x);if(s==="closest"||s==="find"||s==="next"||s==="previous"){o.shift();const d=ot(o);if(d.length>0){s+=" "+d}}}a.from=s}else if(f==="target"&&o[0]===":"){o.shift();a.target=ot(o)}else if(f==="throttle"&&o[0]===":"){o.shift();a.throttle=h(b(o,x))}else if(f==="queue"&&o[0]===":"){o.shift();a.queue=b(o,x)}else if(f==="root"&&o[0]===":"){o.shift();a[f]=ot(o)}else if(f==="threshold"&&o[0]===":"){o.shift();a[f]=b(o,x)}else{fe(e,"htmx:syntax:error",{token:o.shift()})}}r.push(a)}}if(o.length===l){fe(e,"htmx:syntax:error",{token:o.shift()})}b(o,We)}while(o[0]===","&&o.shift());if(n){n[t]=r}return r}function lt(e){const t=te(e,"hx-trigger");let n=[];if(t){const r=Q.config.triggerSpecsCache;n=r&&r[t]||st(e,t,r)}if(n.length>0){return n}else if(f(e,"form")){return[{trigger:"submit"}]}else if(f(e,'input[type="button"], input[type="submit"]')){return[{trigger:"click"}]}else if(f(e,it)){return[{trigger:"change"}]}else{return[{trigger:"click"}]}}function ut(e){ie(e).cancelled=true}function ct(e,t,n){const r=ie(e);r.timeout=E().setTimeout(function(){if(le(e)&&r.cancelled!==true){if(!pt(n,e,Xt("hx:poll:trigger",{triggerSpec:n,target:e}))){t(e)}ct(e,t,n)}},n.pollInterval)}function at(e){return location.hostname===e.hostname&&ee(e,"href")&&ee(e,"href").indexOf("#")!==0}function ft(e){return g(e,Q.config.disableSelector)}function dt(t,n,e){if(t instanceof HTMLAnchorElement&&at(t)&&(t.target===""||t.target==="_self")||t.tagName==="FORM"&&String(ee(t,"method")).toLowerCase()!=="dialog"){n.boosted=true;let r,o;if(t.tagName==="A"){r="get";o=ee(t,"href")}else{const i=ee(t,"method");r=i?i.toLowerCase():"get";if(r==="get"){}o=ee(t,"action")}e.forEach(function(e){mt(t,function(e,t){const n=ce(e);if(ft(n)){a(n);return}he(r,o,n,t)},n,e,true)})}}function ht(e,t){const n=ce(t);if(!n){return false}if(e.type==="submit"||e.type==="click"){if(n.tagName==="FORM"){return true}if(f(n,'input[type="submit"], button')&&g(n,"form")!==null){return true}if(n instanceof HTMLAnchorElement&&n.href&&(n.getAttribute("href")==="#"||n.getAttribute("href").indexOf("#")!==0)){return true}}return false}function gt(e,t){return ie(e).boosted&&e instanceof HTMLAnchorElement&&t.type==="click"&&(t.ctrlKey||t.metaKey)}function pt(e,t,n){const r=e.eventFilter;if(r){try{return r.call(t,n)!==true}catch(e){const o=r.source;fe(ne().body,"htmx:eventFilter:error",{error:e,source:o});return true}}return false}function mt(s,l,e,u,c){const a=ie(s);let t;if(u.from){t=m(s,u.from)}else{t=[s]}if(u.changed){t.forEach(function(e){const t=ie(e);t.lastValue=e.value})}se(t,function(o){const i=function(e){if(!le(s)){o.removeEventListener(u.trigger,i);return}if(gt(s,e)){return}if(c||ht(e,s)){e.preventDefault()}if(pt(u,s,e)){return}const t=ie(e);t.triggerSpec=u;if(t.handledFor==null){t.handledFor=[]}if(t.handledFor.indexOf(s)<0){t.handledFor.push(s);if(u.consume){e.stopPropagation()}if(u.target&&e.target){if(!f(ce(e.target),u.target)){return}}if(u.once){if(a.triggeredOnce){return}else{a.triggeredOnce=true}}if(u.changed){const n=ie(o);const r=o.value;if(n.lastValue===r){return}n.lastValue=r}if(a.delayed){clearTimeout(a.delayed)}if(a.throttle){return}if(u.throttle>0){if(!a.throttle){de(s,"htmx:trigger");l(s,e);a.throttle=E().setTimeout(function(){a.throttle=null},u.throttle)}}else if(u.delay>0){a.delayed=E().setTimeout(function(){de(s,"htmx:trigger");l(s,e)},u.delay)}else{de(s,"htmx:trigger");l(s,e)}}};if(e.listenerInfos==null){e.listenerInfos=[]}e.listenerInfos.push({trigger:u.trigger,listener:i,on:o});o.addEventListener(u.trigger,i)})}let yt=false;let xt=null;function bt(){if(!xt){xt=function(){yt=true};window.addEventListener("scroll",xt);setInterval(function(){if(yt){yt=false;se(ne().querySelectorAll("[hx-trigger*='revealed'],[data-hx-trigger*='revealed']"),function(e){wt(e)})}},200)}}function wt(e){if(!s(e,"data-hx-revealed")&&B(e)){e.setAttribute("data-hx-revealed","true");const t=ie(e);if(t.initHash){de(e,"revealed")}else{e.addEventListener("htmx:afterProcessNode",function(){de(e,"revealed")},{once:true})}}}function vt(e,t,n,r){const o=function(){if(!n.loaded){n.loaded=true;t(e)}};if(r>0){E().setTimeout(o,r)}else{o()}}function St(t,n,e){let i=false;se(v,function(r){if(s(t,"hx-"+r)){const o=te(t,"hx-"+r);i=true;n.path=o;n.verb=r;e.forEach(function(e){Et(t,e,n,function(e,t){const n=ce(e);if(g(n,Q.config.disableSelector)){a(n);return}he(r,o,n,t)})})}});return i}function Et(r,e,t,n){if(e.trigger==="revealed"){bt();mt(r,n,t,e);wt(ce(r))}else if(e.trigger==="intersect"){const o={};if(e.root){o.root=ae(r,e.root)}if(e.threshold){o.threshold=parseFloat(e.threshold)}const i=new IntersectionObserver(function(t){for(let e=0;e0){t.polling=true;ct(ce(r),n,e)}else{mt(r,n,t,e)}}function Ct(e){const t=ce(e);if(!t){return false}const n=t.attributes;for(let e=0;e", "+e).join(""));return o}else{return[]}}function qt(e){const t=g(ce(e.target),"button, input[type='submit']");const n=Nt(e);if(n){n.lastButtonClicked=t}}function Lt(e){const t=Nt(e);if(t){t.lastButtonClicked=null}}function Nt(e){const t=g(ce(e.target),"button, input[type='submit']");if(!t){return}const n=y("#"+ee(t,"form"),t.getRootNode())||g(t,"form");if(!n){return}return ie(n)}function At(e){e.addEventListener("click",qt);e.addEventListener("focusin",qt);e.addEventListener("focusout",Lt)}function It(t,e,n){const r=ie(t);if(!Array.isArray(r.onHandlers)){r.onHandlers=[]}let o;const i=function(e){vn(t,function(){if(ft(t)){return}if(!o){o=new Function("event",n)}o.call(t,e)})};t.addEventListener(e,i);r.onHandlers.push({event:e,listener:i})}function Pt(t){ke(t);for(let e=0;eQ.config.historyCacheSize){i.shift()}while(i.length>0){try{localStorage.setItem("htmx-history-cache",JSON.stringify(i));break}catch(e){fe(ne().body,"htmx:historyCacheError",{cause:e,cache:i});i.shift()}}}function _t(t){if(!j()){return null}t=V(t);const n=S(localStorage.getItem("htmx-history-cache"))||[];for(let e=0;e=200&&this.status<400){de(ne().body,"htmx:historyCacheMissLoad",i);const e=D(this.response);const t=e.querySelector("[hx-history-elt],[data-hx-history-elt]")||e;const n=jt();const r=xn(n);Dn(e.title);Ve(n,t,r);Gt(r.tasks);Ut=o;de(ne().body,"htmx:historyRestore",{path:o,cacheMiss:true,serverResponse:this.response})}else{fe(ne().body,"htmx:historyCacheMissLoadError",i)}};e.send()}function Yt(e){zt();e=e||location.pathname+location.search;const t=_t(e);if(t){const n=D(t.content);const r=jt();const o=xn(r);Dn(n.title);Ve(r,n,o);Gt(o.tasks);E().setTimeout(function(){window.scrollTo(0,t.scroll)},0);Ut=e;de(ne().body,"htmx:historyRestore",{path:e,item:t})}else{if(Q.config.refreshOnHistoryMiss){window.location.reload(true)}else{Zt(e)}}}function Wt(e){let t=Se(e,"hx-indicator");if(t==null){t=[e]}se(t,function(e){const t=ie(e);t.requestCount=(t.requestCount||0)+1;e.classList.add.call(e.classList,Q.config.requestClass)});return t}function Qt(e){let t=Se(e,"hx-disabled-elt");if(t==null){t=[]}se(t,function(e){const t=ie(e);t.requestCount=(t.requestCount||0)+1;e.setAttribute("disabled","");e.setAttribute("data-disabled-by-htmx","")});return t}function en(e,t){se(e,function(e){const t=ie(e);t.requestCount=(t.requestCount||0)-1;if(t.requestCount===0){e.classList.remove.call(e.classList,Q.config.requestClass)}});se(t,function(e){const t=ie(e);t.requestCount=(t.requestCount||0)-1;if(t.requestCount===0){e.removeAttribute("disabled");e.removeAttribute("data-disabled-by-htmx")}})}function tn(t,n){for(let e=0;en.indexOf(e)<0)}else{e=e.filter(e=>e!==n)}r.delete(t);se(e,e=>r.append(t,e))}}function sn(t,n,r,o,i){if(o==null||tn(t,o)){return}else{t.push(o)}if(nn(o)){const s=ee(o,"name");let e=o.value;if(o instanceof HTMLSelectElement&&o.multiple){e=F(o.querySelectorAll("option:checked")).map(function(e){return e.value})}if(o instanceof HTMLInputElement&&o.files){e=F(o.files)}rn(s,e,n);if(i){ln(o,r)}}if(o instanceof HTMLFormElement){se(o.elements,function(e){if(t.indexOf(e)>=0){on(e.name,e.value,n)}else{t.push(e)}if(i){ln(e,r)}});new FormData(o).forEach(function(e,t){if(e instanceof File&&e.name===""){return}rn(t,e,n)})}}function ln(e,t){const n=e;if(n.willValidate){de(n,"htmx:validation:validate");if(!n.checkValidity()){t.push({elt:n,message:n.validationMessage,validity:n.validity});de(n,"htmx:validation:failed",{message:n.validationMessage,validity:n.validity})}}}function un(n,e){for(const t of e.keys()){n.delete(t)}e.forEach(function(e,t){n.append(t,e)});return n}function cn(e,t){const n=[];const r=new FormData;const o=new FormData;const i=[];const s=ie(e);if(s.lastButtonClicked&&!le(s.lastButtonClicked)){s.lastButtonClicked=null}let l=e instanceof HTMLFormElement&&e.noValidate!==true||te(e,"hx-validate")==="true";if(s.lastButtonClicked){l=l&&s.lastButtonClicked.formNoValidate!==true}if(t!=="get"){sn(n,o,i,g(e,"form"),l)}sn(n,r,i,e,l);if(s.lastButtonClicked||e.tagName==="BUTTON"||e.tagName==="INPUT"&&ee(e,"type")==="submit"){const c=s.lastButtonClicked||e;const a=ee(c,"name");rn(a,c.value,o)}const u=Se(e,"hx-include");se(u,function(e){sn(n,r,i,ce(e),l);if(!f(e,"form")){se(d(e).querySelectorAll(it),function(e){sn(n,r,i,e,l)})}});un(r,o);return{errors:i,formData:r,values:An(r)}}function an(e,t,n){if(e!==""){e+="&"}if(String(n)==="[object Object]"){n=JSON.stringify(n)}const r=encodeURIComponent(n);e+=encodeURIComponent(t)+"="+r;return e}function fn(e){e=Ln(e);let n="";e.forEach(function(e,t){n=an(n,t,e)});return n}function dn(e,t,n){const r={"HX-Request":"true","HX-Trigger":ee(e,"id"),"HX-Trigger-Name":ee(e,"name"),"HX-Target":te(t,"id"),"HX-Current-URL":ne().location.href};wn(e,"hx-headers",false,r);if(n!==undefined){r["HX-Prompt"]=n}if(ie(e).boosted){r["HX-Boosted"]="true"}return r}function hn(n,e){const t=re(e,"hx-params");if(t){if(t==="none"){return new FormData}else if(t==="*"){return n}else if(t.indexOf("not ")===0){se(t.substr(4).split(","),function(e){e=e.trim();n.delete(e)});return n}else{const r=new FormData;se(t.split(","),function(t){t=t.trim();if(n.has(t)){n.getAll(t).forEach(function(e){r.append(t,e)})}});return r}}else{return n}}function gn(e){return!!ee(e,"href")&&ee(e,"href").indexOf("#")>=0}function pn(e,t){const n=t||re(e,"hx-swap");const r={swapStyle:ie(e).boosted?"innerHTML":Q.config.defaultSwapStyle,swapDelay:Q.config.defaultSwapDelay,settleDelay:Q.config.defaultSettleDelay};if(Q.config.scrollIntoViewOnBoost&&ie(e).boosted&&!gn(e)){r.show="top"}if(n){const s=U(n);if(s.length>0){for(let e=0;e0?o.join(":"):null;r.scroll=c;r.scrollTarget=i}else if(l.indexOf("show:")===0){const a=l.substr(5);var o=a.split(":");const f=o.pop();var i=o.length>0?o.join(":"):null;r.show=f;r.showTarget=i}else if(l.indexOf("focus-scroll:")===0){const d=l.substr("focus-scroll:".length);r.focusScroll=d=="true"}else if(e==0){r.swapStyle=l}else{w("Unknown modifier in hx-swap: "+l)}}}}return r}function mn(e){return re(e,"hx-encoding")==="multipart/form-data"||f(e,"form")&&ee(e,"enctype")==="multipart/form-data"}function yn(t,n,r){let o=null;Bt(n,function(e){if(o==null){o=e.encodeParameters(t,r,n)}});if(o!=null){return o}else{if(mn(n)){return un(new FormData,Ln(r))}else{return fn(r)}}}function xn(e){return{tasks:[],elts:[e]}}function bn(e,t){const n=e[0];const r=e[e.length-1];if(t.scroll){var o=null;if(t.scrollTarget){o=ce(ae(n,t.scrollTarget))}if(t.scroll==="top"&&(n||o)){o=o||n;o.scrollTop=0}if(t.scroll==="bottom"&&(r||o)){o=o||r;o.scrollTop=o.scrollHeight}}if(t.show){var o=null;if(t.showTarget){let e=t.showTarget;if(t.showTarget==="window"){e="body"}o=ce(ae(n,e))}if(t.show==="top"&&(n||o)){o=o||n;o.scrollIntoView({block:"start",behavior:Q.config.scrollBehavior})}if(t.show==="bottom"&&(r||o)){o=o||r;o.scrollIntoView({block:"end",behavior:Q.config.scrollBehavior})}}}function wn(r,e,o,i){if(i==null){i={}}if(r==null){return i}const s=te(r,e);if(s){let e=s.trim();let t=o;if(e==="unset"){return null}if(e.indexOf("javascript:")===0){e=e.substr(11);t=true}else if(e.indexOf("js:")===0){e=e.substr(3);t=true}if(e.indexOf("{")!==0){e="{"+e+"}"}let n;if(t){n=vn(r,function(){return Function("return ("+e+")")()},{})}else{n=S(e)}for(const l in n){if(n.hasOwnProperty(l)){if(i[l]==null){i[l]=n[l]}}}}return wn(ce(u(r)),e,o,i)}function vn(e,t,n){if(Q.config.allowEval){return t()}else{fe(e,"htmx:evalDisallowedError");return n}}function Sn(e,t){return wn(e,"hx-vars",true,t)}function En(e,t){return wn(e,"hx-vals",false,t)}function Cn(e){return ue(Sn(e),En(e))}function On(t,n,r){if(r!==null){try{t.setRequestHeader(n,r)}catch(e){t.setRequestHeader(n,encodeURIComponent(r));t.setRequestHeader(n+"-URI-AutoEncoded","true")}}}function Rn(t){if(t.responseURL&&typeof URL!=="undefined"){try{const e=new URL(t.responseURL);return e.pathname+e.search}catch(e){fe(ne().body,"htmx:badResponseUrl",{url:t.responseURL})}}}function C(e,t){return t.test(e.getAllResponseHeaders())}function Hn(e,t,n){e=e.toLowerCase();if(n){if(n instanceof Element||typeof n==="string"){return he(e,t,null,null,{targetOverride:y(n),returnPromise:true})}else{return he(e,t,y(n.source),n.event,{handler:n.handler,headers:n.headers,values:n.values,targetOverride:y(n.target),swapOverride:n.swap,select:n.select,returnPromise:true})}}else{return he(e,t,null,null,{returnPromise:true})}}function Tn(e){const t=[];while(e){t.push(e);e=e.parentElement}return t}function qn(e,t,n){let r;let o;if(typeof URL==="function"){o=new URL(t,document.location.href);const i=document.location.origin;r=i===o.origin}else{o=t;r=l(t,document.location.origin)}if(Q.config.selfRequestsOnly){if(!r){return false}}return de(e,"htmx:validateUrl",ue({url:o,sameHost:r},n))}function Ln(e){if(e instanceof FormData)return e;const t=new FormData;for(const n in e){if(e.hasOwnProperty(n)){if(typeof e[n].forEach==="function"){e[n].forEach(function(e){t.append(n,e)})}else if(typeof e[n]==="object"&&!(e[n]instanceof Blob)){t.append(n,JSON.stringify(e[n]))}else{t.append(n,e[n])}}}return t}function Nn(r,o,e){return new Proxy(e,{get:function(t,e){if(typeof e==="number")return t[e];if(e==="length")return t.length;if(e==="push"){return function(e){t.push(e);r.append(o,e)}}if(typeof t[e]==="function"){return function(){t[e].apply(t,arguments);r.delete(o);t.forEach(function(e){r.append(o,e)})}}if(t[e]&&t[e].length===1){return t[e][0]}else{return t[e]}},set:function(e,t,n){e[t]=n;r.delete(o);e.forEach(function(e){r.append(o,e)});return true}})}function An(r){return new Proxy(r,{get:function(e,t){if(typeof t==="symbol"){return Reflect.get(e,t)}if(t==="toJSON"){return()=>Object.fromEntries(r)}if(t in e){if(typeof e[t]==="function"){return function(){return r[t].apply(r,arguments)}}else{return e[t]}}const n=r.getAll(t);if(n.length===0){return undefined}else if(n.length===1){return n[0]}else{return Nn(e,t,n)}},set:function(t,n,e){if(typeof n!=="string"){return false}t.delete(n);if(typeof e.forEach==="function"){e.forEach(function(e){t.append(n,e)})}else if(typeof e==="object"&&!(e instanceof Blob)){t.append(n,JSON.stringify(e))}else{t.append(n,e)}return true},deleteProperty:function(e,t){if(typeof t==="string"){e.delete(t)}return true},ownKeys:function(e){return Reflect.ownKeys(Object.fromEntries(e))},getOwnPropertyDescriptor:function(e,t){return Reflect.getOwnPropertyDescriptor(Object.fromEntries(e),t)}})}function he(t,n,r,o,i,D){let s=null;let l=null;i=i!=null?i:{};if(i.returnPromise&&typeof Promise!=="undefined"){var e=new Promise(function(e,t){s=e;l=t})}if(r==null){r=ne().body}const M=i.handler||Mn;const X=i.select||null;if(!le(r)){oe(s);return e}const u=i.targetOverride||ce(Ce(r));if(u==null||u==ve){fe(r,"htmx:targetError",{target:te(r,"hx-target")});oe(l);return e}let c=ie(r);const a=c.lastButtonClicked;if(a){const L=ee(a,"formaction");if(L!=null){n=L}const N=ee(a,"formmethod");if(N!=null){if(N.toLowerCase()!=="dialog"){t=N}}}const f=re(r,"hx-confirm");if(D===undefined){const K=function(e){return he(t,n,r,o,i,!!e)};const G={target:u,elt:r,path:n,verb:t,triggeringEvent:o,etc:i,issueRequest:K,question:f};if(de(r,"htmx:confirm",G)===false){oe(s);return e}}let d=r;let h=re(r,"hx-sync");let g=null;let F=false;if(h){const A=h.split(":");const I=A[0].trim();if(I==="this"){d=Ee(r,"hx-sync")}else{d=ce(ae(r,I))}h=(A[1]||"drop").trim();c=ie(d);if(h==="drop"&&c.xhr&&c.abortable!==true){oe(s);return e}else if(h==="abort"){if(c.xhr){oe(s);return e}else{F=true}}else if(h==="replace"){de(d,"htmx:abort")}else if(h.indexOf("queue")===0){const Z=h.split(" ");g=(Z[1]||"last").trim()}}if(c.xhr){if(c.abortable){de(d,"htmx:abort")}else{if(g==null){if(o){const P=ie(o);if(P&&P.triggerSpec&&P.triggerSpec.queue){g=P.triggerSpec.queue}}if(g==null){g="last"}}if(c.queuedRequests==null){c.queuedRequests=[]}if(g==="first"&&c.queuedRequests.length===0){c.queuedRequests.push(function(){he(t,n,r,o,i)})}else if(g==="all"){c.queuedRequests.push(function(){he(t,n,r,o,i)})}else if(g==="last"){c.queuedRequests=[];c.queuedRequests.push(function(){he(t,n,r,o,i)})}oe(s);return e}}const p=new XMLHttpRequest;c.xhr=p;c.abortable=F;const m=function(){c.xhr=null;c.abortable=false;if(c.queuedRequests!=null&&c.queuedRequests.length>0){const e=c.queuedRequests.shift();e()}};const B=re(r,"hx-prompt");if(B){var y=prompt(B);if(y===null||!de(r,"htmx:prompt",{prompt:y,target:u})){oe(s);m();return e}}if(f&&!D){if(!confirm(f)){oe(s);m();return e}}let x=dn(r,u,y);if(t!=="get"&&!mn(r)){x["Content-Type"]="application/x-www-form-urlencoded"}if(i.headers){x=ue(x,i.headers)}const U=cn(r,t);let b=U.errors;const j=U.formData;if(i.values){un(j,Ln(i.values))}const V=Ln(Cn(r));const w=un(j,V);let v=hn(w,r);if(Q.config.getCacheBusterParam&&t==="get"){v.set("org.htmx.cache-buster",ee(u,"id")||"true")}if(n==null||n===""){n=ne().location.href}const S=wn(r,"hx-request");const _=ie(r).boosted;let E=Q.config.methodsThatUseUrlParams.indexOf(t)>=0;const C={boosted:_,useUrlParams:E,formData:v,parameters:An(v),unfilteredFormData:w,unfilteredParameters:An(w),headers:x,target:u,verb:t,errors:b,withCredentials:i.credentials||S.credentials||Q.config.withCredentials,timeout:i.timeout||S.timeout||Q.config.timeout,path:n,triggeringEvent:o};if(!de(r,"htmx:configRequest",C)){oe(s);m();return e}n=C.path;t=C.verb;x=C.headers;v=Ln(C.parameters);b=C.errors;E=C.useUrlParams;if(b&&b.length>0){de(r,"htmx:validation:halted",C);oe(s);m();return e}const $=n.split("#");const z=$[0];const O=$[1];let R=n;if(E){R=z;const Y=!v.keys().next().done;if(Y){if(R.indexOf("?")<0){R+="?"}else{R+="&"}R+=fn(v);if(O){R+="#"+O}}}if(!qn(r,R,C)){fe(r,"htmx:invalidPath",C);oe(l);return e}p.open(t.toUpperCase(),R,true);p.overrideMimeType("text/html");p.withCredentials=C.withCredentials;p.timeout=C.timeout;if(S.noHeaders){}else{for(const k in x){if(x.hasOwnProperty(k)){const W=x[k];On(p,k,W)}}}const H={xhr:p,target:u,requestConfig:C,etc:i,boosted:_,select:X,pathInfo:{requestPath:n,finalRequestPath:R,responsePath:null,anchor:O}};p.onload=function(){try{const t=Tn(r);H.pathInfo.responsePath=Rn(p);M(r,H);if(H.keepIndicators!==true){en(T,q)}de(r,"htmx:afterRequest",H);de(r,"htmx:afterOnLoad",H);if(!le(r)){let e=null;while(t.length>0&&e==null){const n=t.shift();if(le(n)){e=n}}if(e){de(e,"htmx:afterRequest",H);de(e,"htmx:afterOnLoad",H)}}oe(s);m()}catch(e){fe(r,"htmx:onLoadError",ue({error:e},H));throw e}};p.onerror=function(){en(T,q);fe(r,"htmx:afterRequest",H);fe(r,"htmx:sendError",H);oe(l);m()};p.onabort=function(){en(T,q);fe(r,"htmx:afterRequest",H);fe(r,"htmx:sendAbort",H);oe(l);m()};p.ontimeout=function(){en(T,q);fe(r,"htmx:afterRequest",H);fe(r,"htmx:timeout",H);oe(l);m()};if(!de(r,"htmx:beforeRequest",H)){oe(s);m();return e}var T=Wt(r);var q=Qt(r);se(["loadstart","loadend","progress","abort"],function(t){se([p,p.upload],function(e){e.addEventListener(t,function(e){de(r,"htmx:xhr:"+t,{lengthComputable:e.lengthComputable,loaded:e.loaded,total:e.total})})})});de(r,"htmx:beforeSend",H);const J=E?null:yn(p,r,v);p.send(J);return e}function In(e,t){const n=t.xhr;let r=null;let o=null;if(C(n,/HX-Push:/i)){r=n.getResponseHeader("HX-Push");o="push"}else if(C(n,/HX-Push-Url:/i)){r=n.getResponseHeader("HX-Push-Url");o="push"}else if(C(n,/HX-Replace-Url:/i)){r=n.getResponseHeader("HX-Replace-Url");o="replace"}if(r){if(r==="false"){return{}}else{return{type:o,path:r}}}const i=t.pathInfo.finalRequestPath;const s=t.pathInfo.responsePath;const l=re(e,"hx-push-url");const u=re(e,"hx-replace-url");const c=ie(e).boosted;let a=null;let f=null;if(l){a="push";f=l}else if(u){a="replace";f=u}else if(c){a="push";f=s||i}if(f){if(f==="false"){return{}}if(f==="true"){f=s||i}if(t.pathInfo.anchor&&f.indexOf("#")===-1){f=f+"#"+t.pathInfo.anchor}return{type:a,path:f}}else{return{}}}function Pn(e,t){var n=new RegExp(e.code);return n.test(t.toString(10))}function kn(e){for(var t=0;t0){E().setTimeout(e,y.swapDelay)}else{e()}}if(f){fe(o,"htmx:responseError",ue({error:"Response Status Error Code "+s.status+" from "+i.pathInfo.requestPath},i))}}const Xn={};function Fn(){return{init:function(e){return null},getSelectors:function(){return null},onEvent:function(e,t){return true},transformResponse:function(e,t,n){return e},isInlineSwap:function(e){return false},handleSwap:function(e,t,n,r){return false},encodeParameters:function(e,t,n){return null}}}function Bn(e,t){if(t.init){t.init(n)}Xn[e]=ue(Fn(),t)}function Un(e){delete Xn[e]}function jn(e,n,r){if(n==undefined){n=[]}if(e==undefined){return n}if(r==undefined){r=[]}const t=te(e,"hx-ext");if(t){se(t.split(","),function(e){e=e.replace(/ /g,"");if(e.slice(0,7)=="ignore:"){r.push(e.slice(7));return}if(r.indexOf(e)<0){const t=Xn[e];if(t&&n.indexOf(t)<0){n.push(t)}}})}return jn(ce(u(e)),n,r)}var Vn=false;ne().addEventListener("DOMContentLoaded",function(){Vn=true});function _n(e){if(Vn||ne().readyState==="complete"){e()}else{ne().addEventListener("DOMContentLoaded",e)}}function $n(){if(Q.config.includeIndicatorStyles!==false){const e=Q.config.inlineStyleNonce?` nonce="${Q.config.inlineStyleNonce}"`:"";ne().head.insertAdjacentHTML("beforeend"," ."+Q.config.indicatorClass+"{opacity:0} ."+Q.config.requestClass+" ."+Q.config.indicatorClass+"{opacity:1; transition: opacity 200ms ease-in;} ."+Q.config.requestClass+"."+Q.config.indicatorClass+"{opacity:1; transition: opacity 200ms ease-in;} ")}}function zn(){const e=ne().querySelector('meta[name="htmx-config"]');if(e){return S(e.content)}else{return null}}function Jn(){const e=zn();if(e){Q.config=ue(Q.config,e)}}_n(function(){Jn();$n();let e=ne().body;Dt(e);const t=ne().querySelectorAll("[hx-trigger='restored'],[data-hx-trigger='restored']");e.addEventListener("htmx:abort",function(e){const t=e.target;const n=ie(t);if(n&&n.xhr){n.xhr.abort()}});const n=window.onpopstate?window.onpopstate.bind(window):null;window.onpopstate=function(e){if(e.state&&e.state.htmx){Yt();se(t,function(e){de(e,"htmx:restored",{document:ne(),triggerEvent:de})})}else{if(n){n(e)}}};E().setTimeout(function(){de(e,"htmx:load",{});e=null},0)});return Q}(); \ No newline at end of file +var htmx=function(){"use strict";const Q={onLoad:null,process:null,on:null,off:null,trigger:null,ajax:null,find:null,findAll:null,closest:null,values:function(e,t){const n=cn(e,t||"post");return n.values},remove:null,addClass:null,removeClass:null,toggleClass:null,takeClass:null,swap:null,defineExtension:null,removeExtension:null,logAll:null,logNone:null,logger:null,config:{historyEnabled:true,historyCacheSize:10,refreshOnHistoryMiss:false,defaultSwapStyle:"innerHTML",defaultSwapDelay:0,defaultSettleDelay:20,includeIndicatorStyles:true,indicatorClass:"htmx-indicator",requestClass:"htmx-request",addedClass:"htmx-added",settlingClass:"htmx-settling",swappingClass:"htmx-swapping",allowEval:true,allowScriptTags:true,inlineScriptNonce:"",inlineStyleNonce:"",attributesToSettle:["class","style","width","height"],withCredentials:false,timeout:0,wsReconnectDelay:"full-jitter",wsBinaryType:"blob",disableSelector:"[hx-disable], [data-hx-disable]",scrollBehavior:"instant",defaultFocusScroll:false,getCacheBusterParam:false,globalViewTransitions:false,methodsThatUseUrlParams:["get","delete"],selfRequestsOnly:true,ignoreTitle:false,scrollIntoViewOnBoost:true,triggerSpecsCache:null,disableInheritance:false,responseHandling:[{code:"204",swap:false},{code:"[23]..",swap:true},{code:"[45]..",swap:false,error:true}],allowNestedOobSwaps:true},parseInterval:null,_:null,version:"2.0.3"};Q.onLoad=j;Q.process=kt;Q.on=ye;Q.off=be;Q.trigger=de;Q.ajax=Rn;Q.find=r;Q.findAll=x;Q.closest=g;Q.remove=z;Q.addClass=K;Q.removeClass=G;Q.toggleClass=W;Q.takeClass=Z;Q.swap=$e;Q.defineExtension=Fn;Q.removeExtension=Bn;Q.logAll=V;Q.logNone=_;Q.parseInterval=h;Q._=e;const n={addTriggerHandler:St,bodyContains:le,canAccessLocalStorage:B,findThisElement:Se,filterValues:dn,swap:$e,hasAttribute:s,getAttributeValue:te,getClosestAttributeValue:re,getClosestMatch:i,getExpressionVars:En,getHeaders:fn,getInputValues:cn,getInternalData:ie,getSwapSpecification:gn,getTriggerSpecs:st,getTarget:Ee,makeFragment:P,mergeObjects:ce,makeSettleInfo:xn,oobSwap:He,querySelectorExt:ae,settleImmediately:Kt,shouldCancel:dt,triggerEvent:de,triggerErrorEvent:fe,withExtensions:Ft};const o=["get","post","put","delete","patch"];const R=o.map(function(e){return"[hx-"+e+"], [data-hx-"+e+"]"}).join(", ");function h(e){if(e==undefined){return undefined}let t=NaN;if(e.slice(-2)=="ms"){t=parseFloat(e.slice(0,-2))}else if(e.slice(-1)=="s"){t=parseFloat(e.slice(0,-1))*1e3}else if(e.slice(-1)=="m"){t=parseFloat(e.slice(0,-1))*1e3*60}else{t=parseFloat(e)}return isNaN(t)?undefined:t}function ee(e,t){return e instanceof Element&&e.getAttribute(t)}function s(e,t){return!!e.hasAttribute&&(e.hasAttribute(t)||e.hasAttribute("data-"+t))}function te(e,t){return ee(e,t)||ee(e,"data-"+t)}function c(e){const t=e.parentElement;if(!t&&e.parentNode instanceof ShadowRoot)return e.parentNode;return t}function ne(){return document}function m(e,t){return e.getRootNode?e.getRootNode({composed:t}):ne()}function i(e,t){while(e&&!t(e)){e=c(e)}return e||null}function H(e,t,n){const r=te(t,n);const o=te(t,"hx-disinherit");var i=te(t,"hx-inherit");if(e!==t){if(Q.config.disableInheritance){if(i&&(i==="*"||i.split(" ").indexOf(n)>=0)){return r}else{return null}}if(o&&(o==="*"||o.split(" ").indexOf(n)>=0)){return"unset"}}return r}function re(t,n){let r=null;i(t,function(e){return!!(r=H(t,ue(e),n))});if(r!=="unset"){return r}}function d(e,t){const n=e instanceof Element&&(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector);return!!n&&n.call(e,t)}function T(e){const t=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i;const n=t.exec(e);if(n){return n[1].toLowerCase()}else{return""}}function q(e){const t=new DOMParser;return t.parseFromString(e,"text/html")}function L(e,t){while(t.childNodes.length>0){e.append(t.childNodes[0])}}function N(e){const t=ne().createElement("script");se(e.attributes,function(e){t.setAttribute(e.name,e.value)});t.textContent=e.textContent;t.async=false;if(Q.config.inlineScriptNonce){t.nonce=Q.config.inlineScriptNonce}return t}function A(e){return e.matches("script")&&(e.type==="text/javascript"||e.type==="module"||e.type==="")}function I(e){Array.from(e.querySelectorAll("script")).forEach(e=>{if(A(e)){const t=N(e);const n=e.parentNode;try{n.insertBefore(t,e)}catch(e){C(e)}finally{e.remove()}}})}function P(e){const t=e.replace(/]*)?>[\s\S]*?<\/head>/i,"");const n=T(t);let r;if(n==="html"){r=new DocumentFragment;const i=q(e);L(r,i.body);r.title=i.title}else if(n==="body"){r=new DocumentFragment;const i=q(t);L(r,i.body);r.title=i.title}else{const i=q('");r=i.querySelector("template").content;r.title=i.title;var o=r.querySelector("title");if(o&&o.parentNode===r){o.remove();r.title=o.innerText}}if(r){if(Q.config.allowScriptTags){I(r)}else{r.querySelectorAll("script").forEach(e=>e.remove())}}return r}function oe(e){if(e){e()}}function t(e,t){return Object.prototype.toString.call(e)==="[object "+t+"]"}function k(e){return typeof e==="function"}function D(e){return t(e,"Object")}function ie(e){const t="htmx-internal-data";let n=e[t];if(!n){n=e[t]={}}return n}function M(t){const n=[];if(t){for(let e=0;e=0}function le(e){const t=e.getRootNode&&e.getRootNode();if(t&&t instanceof window.ShadowRoot){return ne().body.contains(t.host)}else{return ne().body.contains(e)}}function F(e){return e.trim().split(/\s+/)}function ce(e,t){for(const n in t){if(t.hasOwnProperty(n)){e[n]=t[n]}}return e}function S(e){try{return JSON.parse(e)}catch(e){C(e);return null}}function B(){const e="htmx:localStorageTest";try{localStorage.setItem(e,e);localStorage.removeItem(e);return true}catch(e){return false}}function U(t){try{const e=new URL(t);if(e){t=e.pathname+e.search}if(!/^\/$/.test(t)){t=t.replace(/\/+$/,"")}return t}catch(e){return t}}function e(e){return vn(ne().body,function(){return eval(e)})}function j(t){const e=Q.on("htmx:load",function(e){t(e.detail.elt)});return e}function V(){Q.logger=function(e,t,n){if(console){console.log(t,e,n)}}}function _(){Q.logger=null}function r(e,t){if(typeof e!=="string"){return e.querySelector(t)}else{return r(ne(),e)}}function x(e,t){if(typeof e!=="string"){return e.querySelectorAll(t)}else{return x(ne(),e)}}function E(){return window}function z(e,t){e=y(e);if(t){E().setTimeout(function(){z(e);e=null},t)}else{c(e).removeChild(e)}}function ue(e){return e instanceof Element?e:null}function $(e){return e instanceof HTMLElement?e:null}function J(e){return typeof e==="string"?e:null}function f(e){return e instanceof Element||e instanceof Document||e instanceof DocumentFragment?e:null}function K(e,t,n){e=ue(y(e));if(!e){return}if(n){E().setTimeout(function(){K(e,t);e=null},n)}else{e.classList&&e.classList.add(t)}}function G(e,t,n){let r=ue(y(e));if(!r){return}if(n){E().setTimeout(function(){G(r,t);r=null},n)}else{if(r.classList){r.classList.remove(t);if(r.classList.length===0){r.removeAttribute("class")}}}}function W(e,t){e=y(e);e.classList.toggle(t)}function Z(e,t){e=y(e);se(e.parentElement.children,function(e){G(e,t)});K(ue(e),t)}function g(e,t){e=ue(y(e));if(e&&e.closest){return e.closest(t)}else{do{if(e==null||d(e,t)){return e}}while(e=e&&ue(c(e)));return null}}function l(e,t){return e.substring(0,t.length)===t}function Y(e,t){return e.substring(e.length-t.length)===t}function ge(e){const t=e.trim();if(l(t,"<")&&Y(t,"/>")){return t.substring(1,t.length-2)}else{return t}}function p(e,t,n){e=y(e);if(t.indexOf("closest ")===0){return[g(ue(e),ge(t.substr(8)))]}else if(t.indexOf("find ")===0){return[r(f(e),ge(t.substr(5)))]}else if(t==="next"){return[ue(e).nextElementSibling]}else if(t.indexOf("next ")===0){return[pe(e,ge(t.substr(5)),!!n)]}else if(t==="previous"){return[ue(e).previousElementSibling]}else if(t.indexOf("previous ")===0){return[me(e,ge(t.substr(9)),!!n)]}else if(t==="document"){return[document]}else if(t==="window"){return[window]}else if(t==="body"){return[document.body]}else if(t==="root"){return[m(e,!!n)]}else if(t==="host"){return[e.getRootNode().host]}else if(t.indexOf("global ")===0){return p(e,t.slice(7),true)}else{return M(f(m(e,!!n)).querySelectorAll(ge(t)))}}var pe=function(t,e,n){const r=f(m(t,n)).querySelectorAll(e);for(let e=0;e=0;e--){const o=r[e];if(o.compareDocumentPosition(t)===Node.DOCUMENT_POSITION_FOLLOWING){return o}}};function ae(e,t){if(typeof e!=="string"){return p(e,t)[0]}else{return p(ne().body,e)[0]}}function y(e,t){if(typeof e==="string"){return r(f(t)||document,e)}else{return e}}function xe(e,t,n,r){if(k(t)){return{target:ne().body,event:J(e),listener:t,options:n}}else{return{target:y(e),event:J(t),listener:n,options:r}}}function ye(t,n,r,o){Vn(function(){const e=xe(t,n,r,o);e.target.addEventListener(e.event,e.listener,e.options)});const e=k(n);return e?n:r}function be(t,n,r){Vn(function(){const e=xe(t,n,r);e.target.removeEventListener(e.event,e.listener)});return k(n)?n:r}const ve=ne().createElement("output");function we(e,t){const n=re(e,t);if(n){if(n==="this"){return[Se(e,t)]}else{const r=p(e,n);if(r.length===0){C('The selector "'+n+'" on '+t+" returned no matches!");return[ve]}else{return r}}}}function Se(e,t){return ue(i(e,function(e){return te(ue(e),t)!=null}))}function Ee(e){const t=re(e,"hx-target");if(t){if(t==="this"){return Se(e,"hx-target")}else{return ae(e,t)}}else{const n=ie(e);if(n.boosted){return ne().body}else{return e}}}function Ce(t){const n=Q.config.attributesToSettle;for(let e=0;e0){s=e.substr(0,e.indexOf(":"));n=e.substr(e.indexOf(":")+1,e.length)}else{s=e}o.removeAttribute("hx-swap-oob");o.removeAttribute("data-hx-swap-oob");const r=p(t,n,false);if(r){se(r,function(e){let t;const n=o.cloneNode(true);t=ne().createDocumentFragment();t.appendChild(n);if(!Re(s,e)){t=f(n)}const r={shouldSwap:true,target:e,fragment:t};if(!de(e,"htmx:oobBeforeSwap",r))return;e=r.target;if(r.shouldSwap){qe(t);_e(s,e,e,t,i);Te()}se(i.elts,function(e){de(e,"htmx:oobAfterSwap",r)})});o.parentNode.removeChild(o)}else{o.parentNode.removeChild(o);fe(ne().body,"htmx:oobErrorNoTarget",{content:o})}return e}function Te(){const e=r("#--htmx-preserve-pantry--");if(e){for(const t of[...e.children]){const n=r("#"+t.id);n.parentNode.moveBefore(t,n);n.remove()}e.remove()}}function qe(e){se(x(e,"[hx-preserve], [data-hx-preserve]"),function(e){const t=te(e,"id");const n=ne().getElementById(t);if(n!=null){if(e.moveBefore){let e=r("#--htmx-preserve-pantry--");if(e==null){ne().body.insertAdjacentHTML("afterend","
");e=r("#--htmx-preserve-pantry--")}e.moveBefore(n,null)}else{e.parentNode.replaceChild(n,e)}}})}function Le(l,e,c){se(e.querySelectorAll("[id]"),function(t){const n=ee(t,"id");if(n&&n.length>0){const r=n.replace("'","\\'");const o=t.tagName.replace(":","\\:");const e=f(l);const i=e&&e.querySelector(o+"[id='"+r+"']");if(i&&i!==e){const s=t.cloneNode();Oe(t,i);c.tasks.push(function(){Oe(t,s)})}}})}function Ne(e){return function(){G(e,Q.config.addedClass);kt(ue(e));Ae(f(e));de(e,"htmx:load")}}function Ae(e){const t="[autofocus]";const n=$(d(e,t)?e:e.querySelector(t));if(n!=null){n.focus()}}function u(e,t,n,r){Le(e,n,r);while(n.childNodes.length>0){const o=n.firstChild;K(ue(o),Q.config.addedClass);e.insertBefore(o,t);if(o.nodeType!==Node.TEXT_NODE&&o.nodeType!==Node.COMMENT_NODE){r.tasks.push(Ne(o))}}}function Ie(e,t){let n=0;while(n0}function $e(e,t,r,o){if(!o){o={}}e=y(e);const i=o.contextElement?m(o.contextElement,false):ne();const n=document.activeElement;let s={};try{s={elt:n,start:n?n.selectionStart:null,end:n?n.selectionEnd:null}}catch(e){}const l=xn(e);if(r.swapStyle==="textContent"){e.textContent=t}else{let n=P(t);l.title=n.title;if(o.selectOOB){const u=o.selectOOB.split(",");for(let t=0;t0){E().setTimeout(c,r.settleDelay)}else{c()}}function Je(e,t,n){const r=e.getResponseHeader(t);if(r.indexOf("{")===0){const o=S(r);for(const i in o){if(o.hasOwnProperty(i)){let e=o[i];if(D(e)){n=e.target!==undefined?e.target:n}else{e={value:e}}de(n,i,e)}}}else{const s=r.split(",");for(let e=0;e0){const s=o[0];if(s==="]"){e--;if(e===0){if(n===null){t=t+"true"}o.shift();t+=")})";try{const l=vn(r,function(){return Function(t)()},function(){return true});l.source=t;return l}catch(e){fe(ne().body,"htmx:syntax:error",{error:e,source:t});return null}}}else if(s==="["){e++}if(tt(s,n,i)){t+="(("+i+"."+s+") ? ("+i+"."+s+") : (window."+s+"))"}else{t=t+s}n=o.shift()}}}function w(e,t){let n="";while(e.length>0&&!t.test(e[0])){n+=e.shift()}return n}function rt(e){let t;if(e.length>0&&Ye.test(e[0])){e.shift();t=w(e,Qe).trim();e.shift()}else{t=w(e,b)}return t}const ot="input, textarea, select";function it(e,t,n){const r=[];const o=et(t);do{w(o,v);const l=o.length;const c=w(o,/[,\[\s]/);if(c!==""){if(c==="every"){const u={trigger:"every"};w(o,v);u.pollInterval=h(w(o,/[,\[\s]/));w(o,v);var i=nt(e,o,"event");if(i){u.eventFilter=i}r.push(u)}else{const a={trigger:c};var i=nt(e,o,"event");if(i){a.eventFilter=i}w(o,v);while(o.length>0&&o[0]!==","){const f=o.shift();if(f==="changed"){a.changed=true}else if(f==="once"){a.once=true}else if(f==="consume"){a.consume=true}else if(f==="delay"&&o[0]===":"){o.shift();a.delay=h(w(o,b))}else if(f==="from"&&o[0]===":"){o.shift();if(Ye.test(o[0])){var s=rt(o)}else{var s=w(o,b);if(s==="closest"||s==="find"||s==="next"||s==="previous"){o.shift();const d=rt(o);if(d.length>0){s+=" "+d}}}a.from=s}else if(f==="target"&&o[0]===":"){o.shift();a.target=rt(o)}else if(f==="throttle"&&o[0]===":"){o.shift();a.throttle=h(w(o,b))}else if(f==="queue"&&o[0]===":"){o.shift();a.queue=w(o,b)}else if(f==="root"&&o[0]===":"){o.shift();a[f]=rt(o)}else if(f==="threshold"&&o[0]===":"){o.shift();a[f]=w(o,b)}else{fe(e,"htmx:syntax:error",{token:o.shift()})}w(o,v)}r.push(a)}}if(o.length===l){fe(e,"htmx:syntax:error",{token:o.shift()})}w(o,v)}while(o[0]===","&&o.shift());if(n){n[t]=r}return r}function st(e){const t=te(e,"hx-trigger");let n=[];if(t){const r=Q.config.triggerSpecsCache;n=r&&r[t]||it(e,t,r)}if(n.length>0){return n}else if(d(e,"form")){return[{trigger:"submit"}]}else if(d(e,'input[type="button"], input[type="submit"]')){return[{trigger:"click"}]}else if(d(e,ot)){return[{trigger:"change"}]}else{return[{trigger:"click"}]}}function lt(e){ie(e).cancelled=true}function ct(e,t,n){const r=ie(e);r.timeout=E().setTimeout(function(){if(le(e)&&r.cancelled!==true){if(!gt(n,e,Mt("hx:poll:trigger",{triggerSpec:n,target:e}))){t(e)}ct(e,t,n)}},n.pollInterval)}function ut(e){return location.hostname===e.hostname&&ee(e,"href")&&ee(e,"href").indexOf("#")!==0}function at(e){return g(e,Q.config.disableSelector)}function ft(t,n,e){if(t instanceof HTMLAnchorElement&&ut(t)&&(t.target===""||t.target==="_self")||t.tagName==="FORM"&&String(ee(t,"method")).toLowerCase()!=="dialog"){n.boosted=true;let r,o;if(t.tagName==="A"){r="get";o=ee(t,"href")}else{const i=ee(t,"method");r=i?i.toLowerCase():"get";o=ee(t,"action");if(r==="get"&&o.includes("?")){o=o.replace(/\?[^#]+/,"")}}e.forEach(function(e){pt(t,function(e,t){const n=ue(e);if(at(n)){a(n);return}he(r,o,n,t)},n,e,true)})}}function dt(e,t){const n=ue(t);if(!n){return false}if(e.type==="submit"||e.type==="click"){if(n.tagName==="FORM"){return true}if(d(n,'input[type="submit"], button')&&g(n,"form")!==null){return true}if(n instanceof HTMLAnchorElement&&n.href&&(n.getAttribute("href")==="#"||n.getAttribute("href").indexOf("#")!==0)){return true}}return false}function ht(e,t){return ie(e).boosted&&e instanceof HTMLAnchorElement&&t.type==="click"&&(t.ctrlKey||t.metaKey)}function gt(e,t,n){const r=e.eventFilter;if(r){try{return r.call(t,n)!==true}catch(e){const o=r.source;fe(ne().body,"htmx:eventFilter:error",{error:e,source:o});return true}}return false}function pt(l,c,e,u,a){const f=ie(l);let t;if(u.from){t=p(l,u.from)}else{t=[l]}if(u.changed){if(!("lastValue"in f)){f.lastValue=new WeakMap}t.forEach(function(e){if(!f.lastValue.has(u)){f.lastValue.set(u,new WeakMap)}f.lastValue.get(u).set(e,e.value)})}se(t,function(i){const s=function(e){if(!le(l)){i.removeEventListener(u.trigger,s);return}if(ht(l,e)){return}if(a||dt(e,l)){e.preventDefault()}if(gt(u,l,e)){return}const t=ie(e);t.triggerSpec=u;if(t.handledFor==null){t.handledFor=[]}if(t.handledFor.indexOf(l)<0){t.handledFor.push(l);if(u.consume){e.stopPropagation()}if(u.target&&e.target){if(!d(ue(e.target),u.target)){return}}if(u.once){if(f.triggeredOnce){return}else{f.triggeredOnce=true}}if(u.changed){const n=event.target;const r=n.value;const o=f.lastValue.get(u);if(o.has(n)&&o.get(n)===r){return}o.set(n,r)}if(f.delayed){clearTimeout(f.delayed)}if(f.throttle){return}if(u.throttle>0){if(!f.throttle){de(l,"htmx:trigger");c(l,e);f.throttle=E().setTimeout(function(){f.throttle=null},u.throttle)}}else if(u.delay>0){f.delayed=E().setTimeout(function(){de(l,"htmx:trigger");c(l,e)},u.delay)}else{de(l,"htmx:trigger");c(l,e)}}};if(e.listenerInfos==null){e.listenerInfos=[]}e.listenerInfos.push({trigger:u.trigger,listener:s,on:i});i.addEventListener(u.trigger,s)})}let mt=false;let xt=null;function yt(){if(!xt){xt=function(){mt=true};window.addEventListener("scroll",xt);window.addEventListener("resize",xt);setInterval(function(){if(mt){mt=false;se(ne().querySelectorAll("[hx-trigger*='revealed'],[data-hx-trigger*='revealed']"),function(e){bt(e)})}},200)}}function bt(e){if(!s(e,"data-hx-revealed")&&X(e)){e.setAttribute("data-hx-revealed","true");const t=ie(e);if(t.initHash){de(e,"revealed")}else{e.addEventListener("htmx:afterProcessNode",function(){de(e,"revealed")},{once:true})}}}function vt(e,t,n,r){const o=function(){if(!n.loaded){n.loaded=true;t(e)}};if(r>0){E().setTimeout(o,r)}else{o()}}function wt(t,n,e){let i=false;se(o,function(r){if(s(t,"hx-"+r)){const o=te(t,"hx-"+r);i=true;n.path=o;n.verb=r;e.forEach(function(e){St(t,e,n,function(e,t){const n=ue(e);if(g(n,Q.config.disableSelector)){a(n);return}he(r,o,n,t)})})}});return i}function St(r,e,t,n){if(e.trigger==="revealed"){yt();pt(r,n,t,e);bt(ue(r))}else if(e.trigger==="intersect"){const o={};if(e.root){o.root=ae(r,e.root)}if(e.threshold){o.threshold=parseFloat(e.threshold)}const i=new IntersectionObserver(function(t){for(let e=0;e0){t.polling=true;ct(ue(r),n,e)}else{pt(r,n,t,e)}}function Et(e){const t=ue(e);if(!t){return false}const n=t.attributes;for(let e=0;e", "+e).join(""));return o}else{return[]}}function Tt(e){const t=g(ue(e.target),"button, input[type='submit']");const n=Lt(e);if(n){n.lastButtonClicked=t}}function qt(e){const t=Lt(e);if(t){t.lastButtonClicked=null}}function Lt(e){const t=g(ue(e.target),"button, input[type='submit']");if(!t){return}const n=y("#"+ee(t,"form"),t.getRootNode())||g(t,"form");if(!n){return}return ie(n)}function Nt(e){e.addEventListener("click",Tt);e.addEventListener("focusin",Tt);e.addEventListener("focusout",qt)}function At(t,e,n){const r=ie(t);if(!Array.isArray(r.onHandlers)){r.onHandlers=[]}let o;const i=function(e){vn(t,function(){if(at(t)){return}if(!o){o=new Function("event",n)}o.call(t,e)})};t.addEventListener(e,i);r.onHandlers.push({event:e,listener:i})}function It(t){ke(t);for(let e=0;eQ.config.historyCacheSize){i.shift()}while(i.length>0){try{localStorage.setItem("htmx-history-cache",JSON.stringify(i));break}catch(e){fe(ne().body,"htmx:historyCacheError",{cause:e,cache:i});i.shift()}}}function Vt(t){if(!B()){return null}t=U(t);const n=S(localStorage.getItem("htmx-history-cache"))||[];for(let e=0;e=200&&this.status<400){de(ne().body,"htmx:historyCacheMissLoad",i);const e=P(this.response);const t=e.querySelector("[hx-history-elt],[data-hx-history-elt]")||e;const n=Ut();const r=xn(n);kn(e.title);qe(e);Ve(n,t,r);Te();Kt(r.tasks);Bt=o;de(ne().body,"htmx:historyRestore",{path:o,cacheMiss:true,serverResponse:this.response})}else{fe(ne().body,"htmx:historyCacheMissLoadError",i)}};e.send()}function Wt(e){zt();e=e||location.pathname+location.search;const t=Vt(e);if(t){const n=P(t.content);const r=Ut();const o=xn(r);kn(t.title);qe(n);Ve(r,n,o);Te();Kt(o.tasks);E().setTimeout(function(){window.scrollTo(0,t.scroll)},0);Bt=e;de(ne().body,"htmx:historyRestore",{path:e,item:t})}else{if(Q.config.refreshOnHistoryMiss){window.location.reload(true)}else{Gt(e)}}}function Zt(e){let t=we(e,"hx-indicator");if(t==null){t=[e]}se(t,function(e){const t=ie(e);t.requestCount=(t.requestCount||0)+1;e.classList.add.call(e.classList,Q.config.requestClass)});return t}function Yt(e){let t=we(e,"hx-disabled-elt");if(t==null){t=[]}se(t,function(e){const t=ie(e);t.requestCount=(t.requestCount||0)+1;e.setAttribute("disabled","");e.setAttribute("data-disabled-by-htmx","")});return t}function Qt(e,t){se(e.concat(t),function(e){const t=ie(e);t.requestCount=(t.requestCount||1)-1});se(e,function(e){const t=ie(e);if(t.requestCount===0){e.classList.remove.call(e.classList,Q.config.requestClass)}});se(t,function(e){const t=ie(e);if(t.requestCount===0){e.removeAttribute("disabled");e.removeAttribute("data-disabled-by-htmx")}})}function en(t,n){for(let e=0;en.indexOf(e)<0)}else{e=e.filter(e=>e!==n)}r.delete(t);se(e,e=>r.append(t,e))}}function on(t,n,r,o,i){if(o==null||en(t,o)){return}else{t.push(o)}if(tn(o)){const s=ee(o,"name");let e=o.value;if(o instanceof HTMLSelectElement&&o.multiple){e=M(o.querySelectorAll("option:checked")).map(function(e){return e.value})}if(o instanceof HTMLInputElement&&o.files){e=M(o.files)}nn(s,e,n);if(i){sn(o,r)}}if(o instanceof HTMLFormElement){se(o.elements,function(e){if(t.indexOf(e)>=0){rn(e.name,e.value,n)}else{t.push(e)}if(i){sn(e,r)}});new FormData(o).forEach(function(e,t){if(e instanceof File&&e.name===""){return}nn(t,e,n)})}}function sn(e,t){const n=e;if(n.willValidate){de(n,"htmx:validation:validate");if(!n.checkValidity()){t.push({elt:n,message:n.validationMessage,validity:n.validity});de(n,"htmx:validation:failed",{message:n.validationMessage,validity:n.validity})}}}function ln(n,e){for(const t of e.keys()){n.delete(t)}e.forEach(function(e,t){n.append(t,e)});return n}function cn(e,t){const n=[];const r=new FormData;const o=new FormData;const i=[];const s=ie(e);if(s.lastButtonClicked&&!le(s.lastButtonClicked)){s.lastButtonClicked=null}let l=e instanceof HTMLFormElement&&e.noValidate!==true||te(e,"hx-validate")==="true";if(s.lastButtonClicked){l=l&&s.lastButtonClicked.formNoValidate!==true}if(t!=="get"){on(n,o,i,g(e,"form"),l)}on(n,r,i,e,l);if(s.lastButtonClicked||e.tagName==="BUTTON"||e.tagName==="INPUT"&&ee(e,"type")==="submit"){const u=s.lastButtonClicked||e;const a=ee(u,"name");nn(a,u.value,o)}const c=we(e,"hx-include");se(c,function(e){on(n,r,i,ue(e),l);if(!d(e,"form")){se(f(e).querySelectorAll(ot),function(e){on(n,r,i,e,l)})}});ln(r,o);return{errors:i,formData:r,values:Nn(r)}}function un(e,t,n){if(e!==""){e+="&"}if(String(n)==="[object Object]"){n=JSON.stringify(n)}const r=encodeURIComponent(n);e+=encodeURIComponent(t)+"="+r;return e}function an(e){e=qn(e);let n="";e.forEach(function(e,t){n=un(n,t,e)});return n}function fn(e,t,n){const r={"HX-Request":"true","HX-Trigger":ee(e,"id"),"HX-Trigger-Name":ee(e,"name"),"HX-Target":te(t,"id"),"HX-Current-URL":ne().location.href};bn(e,"hx-headers",false,r);if(n!==undefined){r["HX-Prompt"]=n}if(ie(e).boosted){r["HX-Boosted"]="true"}return r}function dn(n,e){const t=re(e,"hx-params");if(t){if(t==="none"){return new FormData}else if(t==="*"){return n}else if(t.indexOf("not ")===0){se(t.substr(4).split(","),function(e){e=e.trim();n.delete(e)});return n}else{const r=new FormData;se(t.split(","),function(t){t=t.trim();if(n.has(t)){n.getAll(t).forEach(function(e){r.append(t,e)})}});return r}}else{return n}}function hn(e){return!!ee(e,"href")&&ee(e,"href").indexOf("#")>=0}function gn(e,t){const n=t||re(e,"hx-swap");const r={swapStyle:ie(e).boosted?"innerHTML":Q.config.defaultSwapStyle,swapDelay:Q.config.defaultSwapDelay,settleDelay:Q.config.defaultSettleDelay};if(Q.config.scrollIntoViewOnBoost&&ie(e).boosted&&!hn(e)){r.show="top"}if(n){const s=F(n);if(s.length>0){for(let e=0;e0?o.join(":"):null;r.scroll=u;r.scrollTarget=i}else if(l.indexOf("show:")===0){const a=l.substr(5);var o=a.split(":");const f=o.pop();var i=o.length>0?o.join(":"):null;r.show=f;r.showTarget=i}else if(l.indexOf("focus-scroll:")===0){const d=l.substr("focus-scroll:".length);r.focusScroll=d=="true"}else if(e==0){r.swapStyle=l}else{C("Unknown modifier in hx-swap: "+l)}}}}return r}function pn(e){return re(e,"hx-encoding")==="multipart/form-data"||d(e,"form")&&ee(e,"enctype")==="multipart/form-data"}function mn(t,n,r){let o=null;Ft(n,function(e){if(o==null){o=e.encodeParameters(t,r,n)}});if(o!=null){return o}else{if(pn(n)){return ln(new FormData,qn(r))}else{return an(r)}}}function xn(e){return{tasks:[],elts:[e]}}function yn(e,t){const n=e[0];const r=e[e.length-1];if(t.scroll){var o=null;if(t.scrollTarget){o=ue(ae(n,t.scrollTarget))}if(t.scroll==="top"&&(n||o)){o=o||n;o.scrollTop=0}if(t.scroll==="bottom"&&(r||o)){o=o||r;o.scrollTop=o.scrollHeight}}if(t.show){var o=null;if(t.showTarget){let e=t.showTarget;if(t.showTarget==="window"){e="body"}o=ue(ae(n,e))}if(t.show==="top"&&(n||o)){o=o||n;o.scrollIntoView({block:"start",behavior:Q.config.scrollBehavior})}if(t.show==="bottom"&&(r||o)){o=o||r;o.scrollIntoView({block:"end",behavior:Q.config.scrollBehavior})}}}function bn(r,e,o,i){if(i==null){i={}}if(r==null){return i}const s=te(r,e);if(s){let e=s.trim();let t=o;if(e==="unset"){return null}if(e.indexOf("javascript:")===0){e=e.substr(11);t=true}else if(e.indexOf("js:")===0){e=e.substr(3);t=true}if(e.indexOf("{")!==0){e="{"+e+"}"}let n;if(t){n=vn(r,function(){return Function("return ("+e+")")()},{})}else{n=S(e)}for(const l in n){if(n.hasOwnProperty(l)){if(i[l]==null){i[l]=n[l]}}}}return bn(ue(c(r)),e,o,i)}function vn(e,t,n){if(Q.config.allowEval){return t()}else{fe(e,"htmx:evalDisallowedError");return n}}function wn(e,t){return bn(e,"hx-vars",true,t)}function Sn(e,t){return bn(e,"hx-vals",false,t)}function En(e){return ce(wn(e),Sn(e))}function Cn(t,n,r){if(r!==null){try{t.setRequestHeader(n,r)}catch(e){t.setRequestHeader(n,encodeURIComponent(r));t.setRequestHeader(n+"-URI-AutoEncoded","true")}}}function On(t){if(t.responseURL&&typeof URL!=="undefined"){try{const e=new URL(t.responseURL);return e.pathname+e.search}catch(e){fe(ne().body,"htmx:badResponseUrl",{url:t.responseURL})}}}function O(e,t){return t.test(e.getAllResponseHeaders())}function Rn(t,n,r){t=t.toLowerCase();if(r){if(r instanceof Element||typeof r==="string"){return he(t,n,null,null,{targetOverride:y(r)||ve,returnPromise:true})}else{let e=y(r.target);if(r.target&&!e||!e&&!y(r.source)){e=ve}return he(t,n,y(r.source),r.event,{handler:r.handler,headers:r.headers,values:r.values,targetOverride:e,swapOverride:r.swap,select:r.select,returnPromise:true})}}else{return he(t,n,null,null,{returnPromise:true})}}function Hn(e){const t=[];while(e){t.push(e);e=e.parentElement}return t}function Tn(e,t,n){let r;let o;if(typeof URL==="function"){o=new URL(t,document.location.href);const i=document.location.origin;r=i===o.origin}else{o=t;r=l(t,document.location.origin)}if(Q.config.selfRequestsOnly){if(!r){return false}}return de(e,"htmx:validateUrl",ce({url:o,sameHost:r},n))}function qn(e){if(e instanceof FormData)return e;const t=new FormData;for(const n in e){if(e.hasOwnProperty(n)){if(e[n]&&typeof e[n].forEach==="function"){e[n].forEach(function(e){t.append(n,e)})}else if(typeof e[n]==="object"&&!(e[n]instanceof Blob)){t.append(n,JSON.stringify(e[n]))}else{t.append(n,e[n])}}}return t}function Ln(r,o,e){return new Proxy(e,{get:function(t,e){if(typeof e==="number")return t[e];if(e==="length")return t.length;if(e==="push"){return function(e){t.push(e);r.append(o,e)}}if(typeof t[e]==="function"){return function(){t[e].apply(t,arguments);r.delete(o);t.forEach(function(e){r.append(o,e)})}}if(t[e]&&t[e].length===1){return t[e][0]}else{return t[e]}},set:function(e,t,n){e[t]=n;r.delete(o);e.forEach(function(e){r.append(o,e)});return true}})}function Nn(r){return new Proxy(r,{get:function(e,t){if(typeof t==="symbol"){return Reflect.get(e,t)}if(t==="toJSON"){return()=>Object.fromEntries(r)}if(t in e){if(typeof e[t]==="function"){return function(){return r[t].apply(r,arguments)}}else{return e[t]}}const n=r.getAll(t);if(n.length===0){return undefined}else if(n.length===1){return n[0]}else{return Ln(e,t,n)}},set:function(t,n,e){if(typeof n!=="string"){return false}t.delete(n);if(e&&typeof e.forEach==="function"){e.forEach(function(e){t.append(n,e)})}else if(typeof e==="object"&&!(e instanceof Blob)){t.append(n,JSON.stringify(e))}else{t.append(n,e)}return true},deleteProperty:function(e,t){if(typeof t==="string"){e.delete(t)}return true},ownKeys:function(e){return Reflect.ownKeys(Object.fromEntries(e))},getOwnPropertyDescriptor:function(e,t){return Reflect.getOwnPropertyDescriptor(Object.fromEntries(e),t)}})}function he(t,n,r,o,i,D){let s=null;let l=null;i=i!=null?i:{};if(i.returnPromise&&typeof Promise!=="undefined"){var e=new Promise(function(e,t){s=e;l=t})}if(r==null){r=ne().body}const M=i.handler||Dn;const X=i.select||null;if(!le(r)){oe(s);return e}const c=i.targetOverride||ue(Ee(r));if(c==null||c==ve){fe(r,"htmx:targetError",{target:te(r,"hx-target")});oe(l);return e}let u=ie(r);const a=u.lastButtonClicked;if(a){const L=ee(a,"formaction");if(L!=null){n=L}const N=ee(a,"formmethod");if(N!=null){if(N.toLowerCase()!=="dialog"){t=N}}}const f=re(r,"hx-confirm");if(D===undefined){const K=function(e){return he(t,n,r,o,i,!!e)};const G={target:c,elt:r,path:n,verb:t,triggeringEvent:o,etc:i,issueRequest:K,question:f};if(de(r,"htmx:confirm",G)===false){oe(s);return e}}let d=r;let h=re(r,"hx-sync");let g=null;let F=false;if(h){const A=h.split(":");const I=A[0].trim();if(I==="this"){d=Se(r,"hx-sync")}else{d=ue(ae(r,I))}h=(A[1]||"drop").trim();u=ie(d);if(h==="drop"&&u.xhr&&u.abortable!==true){oe(s);return e}else if(h==="abort"){if(u.xhr){oe(s);return e}else{F=true}}else if(h==="replace"){de(d,"htmx:abort")}else if(h.indexOf("queue")===0){const W=h.split(" ");g=(W[1]||"last").trim()}}if(u.xhr){if(u.abortable){de(d,"htmx:abort")}else{if(g==null){if(o){const P=ie(o);if(P&&P.triggerSpec&&P.triggerSpec.queue){g=P.triggerSpec.queue}}if(g==null){g="last"}}if(u.queuedRequests==null){u.queuedRequests=[]}if(g==="first"&&u.queuedRequests.length===0){u.queuedRequests.push(function(){he(t,n,r,o,i)})}else if(g==="all"){u.queuedRequests.push(function(){he(t,n,r,o,i)})}else if(g==="last"){u.queuedRequests=[];u.queuedRequests.push(function(){he(t,n,r,o,i)})}oe(s);return e}}const p=new XMLHttpRequest;u.xhr=p;u.abortable=F;const m=function(){u.xhr=null;u.abortable=false;if(u.queuedRequests!=null&&u.queuedRequests.length>0){const e=u.queuedRequests.shift();e()}};const B=re(r,"hx-prompt");if(B){var x=prompt(B);if(x===null||!de(r,"htmx:prompt",{prompt:x,target:c})){oe(s);m();return e}}if(f&&!D){if(!confirm(f)){oe(s);m();return e}}let y=fn(r,c,x);if(t!=="get"&&!pn(r)){y["Content-Type"]="application/x-www-form-urlencoded"}if(i.headers){y=ce(y,i.headers)}const U=cn(r,t);let b=U.errors;const j=U.formData;if(i.values){ln(j,qn(i.values))}const V=qn(En(r));const v=ln(j,V);let w=dn(v,r);if(Q.config.getCacheBusterParam&&t==="get"){w.set("org.htmx.cache-buster",ee(c,"id")||"true")}if(n==null||n===""){n=ne().location.href}const S=bn(r,"hx-request");const _=ie(r).boosted;let E=Q.config.methodsThatUseUrlParams.indexOf(t)>=0;const C={boosted:_,useUrlParams:E,formData:w,parameters:Nn(w),unfilteredFormData:v,unfilteredParameters:Nn(v),headers:y,target:c,verb:t,errors:b,withCredentials:i.credentials||S.credentials||Q.config.withCredentials,timeout:i.timeout||S.timeout||Q.config.timeout,path:n,triggeringEvent:o};if(!de(r,"htmx:configRequest",C)){oe(s);m();return e}n=C.path;t=C.verb;y=C.headers;w=qn(C.parameters);b=C.errors;E=C.useUrlParams;if(b&&b.length>0){de(r,"htmx:validation:halted",C);oe(s);m();return e}const z=n.split("#");const $=z[0];const O=z[1];let R=n;if(E){R=$;const Z=!w.keys().next().done;if(Z){if(R.indexOf("?")<0){R+="?"}else{R+="&"}R+=an(w);if(O){R+="#"+O}}}if(!Tn(r,R,C)){fe(r,"htmx:invalidPath",C);oe(l);return e}p.open(t.toUpperCase(),R,true);p.overrideMimeType("text/html");p.withCredentials=C.withCredentials;p.timeout=C.timeout;if(S.noHeaders){}else{for(const k in y){if(y.hasOwnProperty(k)){const Y=y[k];Cn(p,k,Y)}}}const H={xhr:p,target:c,requestConfig:C,etc:i,boosted:_,select:X,pathInfo:{requestPath:n,finalRequestPath:R,responsePath:null,anchor:O}};p.onload=function(){try{const t=Hn(r);H.pathInfo.responsePath=On(p);M(r,H);if(H.keepIndicators!==true){Qt(T,q)}de(r,"htmx:afterRequest",H);de(r,"htmx:afterOnLoad",H);if(!le(r)){let e=null;while(t.length>0&&e==null){const n=t.shift();if(le(n)){e=n}}if(e){de(e,"htmx:afterRequest",H);de(e,"htmx:afterOnLoad",H)}}oe(s);m()}catch(e){fe(r,"htmx:onLoadError",ce({error:e},H));throw e}};p.onerror=function(){Qt(T,q);fe(r,"htmx:afterRequest",H);fe(r,"htmx:sendError",H);oe(l);m()};p.onabort=function(){Qt(T,q);fe(r,"htmx:afterRequest",H);fe(r,"htmx:sendAbort",H);oe(l);m()};p.ontimeout=function(){Qt(T,q);fe(r,"htmx:afterRequest",H);fe(r,"htmx:timeout",H);oe(l);m()};if(!de(r,"htmx:beforeRequest",H)){oe(s);m();return e}var T=Zt(r);var q=Yt(r);se(["loadstart","loadend","progress","abort"],function(t){se([p,p.upload],function(e){e.addEventListener(t,function(e){de(r,"htmx:xhr:"+t,{lengthComputable:e.lengthComputable,loaded:e.loaded,total:e.total})})})});de(r,"htmx:beforeSend",H);const J=E?null:mn(p,r,w);p.send(J);return e}function An(e,t){const n=t.xhr;let r=null;let o=null;if(O(n,/HX-Push:/i)){r=n.getResponseHeader("HX-Push");o="push"}else if(O(n,/HX-Push-Url:/i)){r=n.getResponseHeader("HX-Push-Url");o="push"}else if(O(n,/HX-Replace-Url:/i)){r=n.getResponseHeader("HX-Replace-Url");o="replace"}if(r){if(r==="false"){return{}}else{return{type:o,path:r}}}const i=t.pathInfo.finalRequestPath;const s=t.pathInfo.responsePath;const l=re(e,"hx-push-url");const c=re(e,"hx-replace-url");const u=ie(e).boosted;let a=null;let f=null;if(l){a="push";f=l}else if(c){a="replace";f=c}else if(u){a="push";f=s||i}if(f){if(f==="false"){return{}}if(f==="true"){f=s||i}if(t.pathInfo.anchor&&f.indexOf("#")===-1){f=f+"#"+t.pathInfo.anchor}return{type:a,path:f}}else{return{}}}function In(e,t){var n=new RegExp(e.code);return n.test(t.toString(10))}function Pn(e){for(var t=0;t0){E().setTimeout(e,x.swapDelay)}else{e()}}if(f){fe(o,"htmx:responseError",ce({error:"Response Status Error Code "+s.status+" from "+i.pathInfo.requestPath},i))}}const Mn={};function Xn(){return{init:function(e){return null},getSelectors:function(){return null},onEvent:function(e,t){return true},transformResponse:function(e,t,n){return e},isInlineSwap:function(e){return false},handleSwap:function(e,t,n,r){return false},encodeParameters:function(e,t,n){return null}}}function Fn(e,t){if(t.init){t.init(n)}Mn[e]=ce(Xn(),t)}function Bn(e){delete Mn[e]}function Un(e,n,r){if(n==undefined){n=[]}if(e==undefined){return n}if(r==undefined){r=[]}const t=te(e,"hx-ext");if(t){se(t.split(","),function(e){e=e.replace(/ /g,"");if(e.slice(0,7)=="ignore:"){r.push(e.slice(7));return}if(r.indexOf(e)<0){const t=Mn[e];if(t&&n.indexOf(t)<0){n.push(t)}}})}return Un(ue(c(e)),n,r)}var jn=false;ne().addEventListener("DOMContentLoaded",function(){jn=true});function Vn(e){if(jn||ne().readyState==="complete"){e()}else{ne().addEventListener("DOMContentLoaded",e)}}function _n(){if(Q.config.includeIndicatorStyles!==false){const e=Q.config.inlineStyleNonce?` nonce="${Q.config.inlineStyleNonce}"`:"";ne().head.insertAdjacentHTML("beforeend"," ."+Q.config.indicatorClass+"{opacity:0} ."+Q.config.requestClass+" ."+Q.config.indicatorClass+"{opacity:1; transition: opacity 200ms ease-in;} ."+Q.config.requestClass+"."+Q.config.indicatorClass+"{opacity:1; transition: opacity 200ms ease-in;} ")}}function zn(){const e=ne().querySelector('meta[name="htmx-config"]');if(e){return S(e.content)}else{return null}}function $n(){const e=zn();if(e){Q.config=ce(Q.config,e)}}Vn(function(){$n();_n();let e=ne().body;kt(e);const t=ne().querySelectorAll("[hx-trigger='restored'],[data-hx-trigger='restored']");e.addEventListener("htmx:abort",function(e){const t=e.target;const n=ie(t);if(n&&n.xhr){n.xhr.abort()}});const n=window.onpopstate?window.onpopstate.bind(window):null;window.onpopstate=function(e){if(e.state&&e.state.htmx){Wt();se(t,function(e){de(e,"htmx:restored",{document:ne(),triggerEvent:de})})}else{if(n){n(e)}}};E().setTimeout(function(){de(e,"htmx:load",{});e=null},0)});return Q}(); \ No newline at end of file diff --git a/app/static/vendor/xlwings/xlwingsjs/dist/xlwings.min.js b/app/static/vendor/xlwings/xlwingsjs/dist/xlwings.min.js index 24c1f29..68397a2 100644 --- a/app/static/vendor/xlwings/xlwingsjs/dist/xlwings.min.js +++ b/app/static/vendor/xlwings/xlwingsjs/dist/xlwings.min.js @@ -7,5 +7,5 @@ * This file also contains code from Webpack * Copyright (C) JS Foundation and other contributors, Licensed under MIT license, see https://raw.githubusercontent.com/webpack/webpack/main/LICENSE */ -var xlwings;!function(){"use strict";var t={6343:function(t,e,n){var r=n(6612);t.exports=r},2416:function(t,e,n){var r=n(3713);t.exports=r},4640:function(t,e,n){var r=n(657);t.exports=r},1015:function(t,e,n){var r=n(8418);t.exports=r},3609:function(t,e,n){n(4423);var r=n(7015);t.exports=r("Array","includes")},9834:function(t,e,n){n(2010)},9510:function(t,e,n){n(5081),t.exports=n(4576)},8473:function(t,e,n){n(9085);var r=n(9167);t.exports=r.Object.assign},9306:function(t,e,n){var r=n(4901),o=n(6823),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},6469:function(t,e,n){var r=n(8227),o=n(2360),i=n(4913).f,s=r("unscopables"),a=Array.prototype;void 0===a[s]&&i(a,s,{configurable:!0,value:o(null)}),t.exports=function(t){a[s][t]=!0}},8551:function(t,e,n){var r=n(34),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},9617:function(t,e,n){var r=n(5397),o=n(5610),i=n(6198),s=function(t){return function(e,n,s){var a=r(e),c=i(a);if(0===c)return!t&&-1;var u,l=o(s,c);if(t&&n!=n){for(;c>l;)if((u=a[l++])!=u)return!0}else for(;c>l;l++)if((t||l in a)&&a[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},2195:function(t,e,n){var r=n(9504),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},7740:function(t,e,n){var r=n(9297),o=n(5031),i=n(7347),s=n(4913);t.exports=function(t,e,n){for(var a=o(e),c=s.f,u=i.f,l=0;l0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},6518:function(t,e,n){var r=n(4576),o=n(7347).f,i=n(6699),s=n(6840),a=n(9433),c=n(7740),u=n(2796);t.exports=function(t,e){var n,l,f,h,p,d=t.target,g=t.global,v=t.stat;if(n=g?r:v?r[d]||a(d,{}):r[d]&&r[d].prototype)for(l in e){if(h=e[l],f=t.dontCallGetSet?(p=o(n,l))&&p.value:n[l],!u(g?l:d+(v?".":"#")+l,t.forced)&&void 0!==f){if(typeof h==typeof f)continue;c(h,f)}(t.sham||f&&f.sham)&&i(h,"sham",!0),s(n,l,h,t)}}},9039:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},616:function(t,e,n){var r=n(9039);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9565:function(t,e,n){var r=n(616),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:function(t,e,n){var r=n(3724),o=n(9297),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},9504:function(t,e,n){var r=n(616),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);t.exports=r?s:function(t){return function(){return i.apply(t,arguments)}}},7751:function(t,e,n){var r=n(4576),o=n(4901);t.exports=function(t,e){return arguments.length<2?(n=r[t],o(n)?n:void 0):r[t]&&r[t][e];var n}},5966:function(t,e,n){var r=n(9306),o=n(4117);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},4576:function(t,e,n){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(t,e,n){var r=n(9504),o=n(8981),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},421:function(t){t.exports={}},397:function(t,e,n){var r=n(7751);t.exports=r("document","documentElement")},5917:function(t,e,n){var r=n(3724),o=n(9039),i=n(4055);t.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:function(t,e,n){var r=n(9504),o=n(9039),i=n(2195),s=Object,a=r("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?a(t,""):s(t)}:s},3706:function(t,e,n){var r=n(9504),o=n(4901),i=n(7629),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},1181:function(t,e,n){var r,o,i,s=n(8622),a=n(4576),c=n(34),u=n(6699),l=n(9297),f=n(7629),h=n(6119),p=n(421),d="Object already initialized",g=a.TypeError,v=a.WeakMap;if(s||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(t,e){if(b.has(t))throw new g(d);return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var y=h("state");p[y]=!0,r=function(t,e){if(l(t,y))throw new g(d);return e.facade=t,u(t,y,e),e},o=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw new g("Incompatible receiver, "+t+" required");return n}}}},4901:function(t){var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2796:function(t,e,n){var r=n(9039),o=n(4901),i=/#|\.prototype\./,s=function(t,e){var n=c[a(t)];return n===l||n!==u&&(o(e)?r(e):!!e)},a=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},4117:function(t){t.exports=function(t){return null==t}},34:function(t,e,n){var r=n(4901);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},6395:function(t){t.exports=!1},757:function(t,e,n){var r=n(7751),o=n(4901),i=n(1625),s=n(7040),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,a(t))}},6198:function(t,e,n){var r=n(8014);t.exports=function(t){return r(t.length)}},283:function(t,e,n){var r=n(9504),o=n(9039),i=n(4901),s=n(9297),a=n(3724),c=n(350).CONFIGURABLE,u=n(3706),l=n(1181),f=l.enforce,h=l.get,p=String,d=Object.defineProperty,g=r("".slice),v=r("".replace),b=r([].join),y=a&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===g(p(e),0,7)&&(e="["+v(p(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!s(t,"name")||c&&t.name!==e)&&(a?d(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&s(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=f(t);return s(r,"source")||(r.source=b(m,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return i(this)&&h(this).source||u(this)}),"toString")},741:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},4213:function(t,e,n){var r=n(3724),o=n(9504),i=n(9565),s=n(9039),a=n(1072),c=n(3717),u=n(8773),l=n(8981),f=n(7055),h=Object.assign,p=Object.defineProperty,d=o([].concat);t.exports=!h||s((function(){if(r&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return t[n]=7,o.split("").forEach((function(t){e[t]=t})),7!==h({},t)[n]||a(h({},e)).join("")!==o}))?function(t,e){for(var n=l(t),o=arguments.length,s=1,h=c.f,p=u.f;o>s;)for(var g,v=f(arguments[s++]),b=h?d(a(v),h(v)):a(v),y=b.length,m=0;y>m;)g=b[m++],r&&!i(p,v,g)||(n[g]=v[g]);return n}:h},2360:function(t,e,n){var r,o=n(8551),i=n(6801),s=n(8727),a=n(421),c=n(397),u=n(4055),l=n(6119),f="prototype",h="script",p=l("IE_PROTO"),d=function(){},g=function(t){return"<"+h+">"+t+""},v=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,e,n;b="undefined"!=typeof document?document.domain&&r?v(r):(e=u("iframe"),n="java"+h+":",e.style.display="none",c.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):v(r);for(var o=s.length;o--;)delete b[f][s[o]];return b()};a[p]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(d[f]=o(t),n=new d,d[f]=null,n[p]=t):n=b(),void 0===e?n:i.f(n,e)}},6801:function(t,e,n){var r=n(3724),o=n(8686),i=n(4913),s=n(8551),a=n(5397),c=n(1072);e.f=r&&!o?Object.defineProperties:function(t,e){s(t);for(var n,r=a(e),o=c(e),u=o.length,l=0;u>l;)i.f(t,n=o[l++],r[n]);return t}},4913:function(t,e,n){var r=n(3724),o=n(5917),i=n(8686),s=n(8551),a=n(6969),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";e.f=r?i?function(t,e,n){if(s(t),e=a(e),s(n),"function"==typeof t&&"prototype"===e&&"value"in n&&p in n&&!n[p]){var r=l(t,e);r&&r[p]&&(t[e]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:f in n?n[f]:r[f],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(s(t),e=a(e),s(n),o)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},7347:function(t,e,n){var r=n(3724),o=n(9565),i=n(8773),s=n(6980),a=n(5397),c=n(6969),u=n(9297),l=n(5917),f=Object.getOwnPropertyDescriptor;e.f=r?f:function(t,e){if(t=a(t),e=c(e),l)try{return f(t,e)}catch(t){}if(u(t,e))return s(!o(i.f,t,e),t[e])}},8480:function(t,e,n){var r=n(1828),o=n(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},3717:function(t,e){e.f=Object.getOwnPropertySymbols},1625:function(t,e,n){var r=n(9504);t.exports=r({}.isPrototypeOf)},1828:function(t,e,n){var r=n(9504),o=n(9297),i=n(5397),s=n(9617).indexOf,a=n(421),c=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,l=[];for(n in r)!o(a,n)&&o(r,n)&&c(l,n);for(;e.length>u;)o(r,n=e[u++])&&(~s(l,n)||c(l,n));return l}},1072:function(t,e,n){var r=n(1828),o=n(8727);t.exports=Object.keys||function(t){return r(t,o)}},8773:function(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},4270:function(t,e,n){var r=n(9565),o=n(4901),i=n(34),s=TypeError;t.exports=function(t,e){var n,a;if("string"===e&&o(n=t.toString)&&!i(a=r(n,t)))return a;if(o(n=t.valueOf)&&!i(a=r(n,t)))return a;if("string"!==e&&o(n=t.toString)&&!i(a=r(n,t)))return a;throw new s("Can't convert object to primitive value")}},5031:function(t,e,n){var r=n(7751),o=n(9504),i=n(8480),s=n(3717),a=n(8551),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=s.f;return n?c(e,n(t)):e}},9167:function(t,e,n){var r=n(4576);t.exports=r},7750:function(t,e,n){var r=n(4117),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},6119:function(t,e,n){var r=n(5745),o=n(3392),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629:function(t,e,n){var r=n(6395),o=n(4576),i=n(9433),s="__core-js_shared__",a=t.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.38.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(t,e,n){var r=n(7629);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},4495:function(t,e,n){var r=n(9519),o=n(9039),i=n(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},5610:function(t,e,n){var r=n(1291),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5397:function(t,e,n){var r=n(7055),o=n(7750);t.exports=function(t){return r(o(t))}},1291:function(t,e,n){var r=n(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},8014:function(t,e,n){var r=n(1291),o=Math.min;t.exports=function(t){var e=r(t);return e>0?o(e,9007199254740991):0}},8981:function(t,e,n){var r=n(7750),o=Object;t.exports=function(t){return o(r(t))}},2777:function(t,e,n){var r=n(9565),o=n(34),i=n(757),s=n(5966),a=n(4270),c=n(8227),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=s(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},6969:function(t,e,n){var r=n(2777),o=n(757);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6823:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},3392:function(t,e,n){var r=n(9504),o=0,i=Math.random(),s=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},7040:function(t,e,n){var r=n(4495);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(t,e,n){var r=n(3724),o=n(9039);t.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8622:function(t,e,n){var r=n(4576),o=n(4901),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},8227:function(t,e,n){var r=n(4576),o=n(5745),i=n(9297),s=n(3392),a=n(4495),c=n(7040),u=r.Symbol,l=o("wks"),f=c?u.for||u:u&&u.withoutSetter||s;t.exports=function(t){return i(l,t)||(l[t]=a&&i(u,t)?u[t]:f("Symbol."+t)),l[t]}},4423:function(t,e,n){var r=n(6518),o=n(9617).includes,i=n(9039),s=n(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),s("includes")},2010:function(t,e,n){var r=n(3724),o=n(350).EXISTS,i=n(9504),s=n(2106),a=Function.prototype,c=i(a.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(u.exec);r&&!o&&s(a,"name",{configurable:!0,get:function(){try{return l(u,c(this))[1]}catch(t){return""}}})},5081:function(t,e,n){var r=n(6518),o=n(4576);r({global:!0,forced:o.globalThis!==o},{globalThis:o})},9085:function(t,e,n){var r=n(6518),o=n(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},6612:function(t,e,n){var r=n(3609);t.exports=r},3713:function(t,e,n){var r=n(9834);t.exports=r},657:function(t,e,n){var r=n(9510);t.exports=r},8418:function(t,e,n){var r=n(8473);t.exports=r}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r].call(i.exports,i,i.exports,n),i.exports}n.d=function(t,e){for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};n.r(r),n.d(r,{getAccessToken:function(){return y},getActiveBookName:function(){return x},init:function(){return T},registerCallback:function(){return A},runPython:function(){return _}}),n(1015),n(6343),n(4640),n(2416);var o,i=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function s(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((r=r.apply(t,e||[])).next())}))},s=function(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=v-900?g?[3,3]:(g=!0,d=!0,[4,b()]):[3,5];case 2:return t.sent(),d=!1,[3,5];case 3:return d?[4,new Promise((function(t){return setTimeout(t,100)}))]:[3,5];case 4:return t.sent(),[3,3];case 5:return[2,p]}}))}))}var m=function(t,e,n,r){return new(n||(n=Promise))((function(o,i){function s(t){try{c(r.next(t))}catch(t){i(t)}}function a(t){try{c(r.throw(t))}catch(t){i(t)}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(s,a)}c((r=r.apply(t,e||[])).next())}))},w=function(t,e){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&h.length>0)throw"Either use 'include' or 'exclude', but not both!";if(l.length>0&&o.forEach((function(t){l.includes(t.name)||h.push(t.name)})),0===Object.keys(p).length)for(d in a)d.toLowerCase().startsWith("header_")&&(p[d.substring(7)]=a[d]);return!("Authorization"in p)&&s.length>0&&(p.Authorization=s),p["Content-Type"]="application/json",(g={}).client="Office.js",g.version=j,v=r.getActiveWorksheet().load("position"),b=n.getSelectedRange().load("address"),[4,e.sync()];case 5:return M.sent(),g.book={name:n.name,active_sheet_index:v.position,selection:b.address.split("!").pop()},y=[],m=e.workbook.names.load("name, type"),[4,e.sync()];case 6:return M.sent(),m.items.forEach((function(t,e){"Range"===t.type&&y.push({name:t.name,sheet:t.getRange().worksheet.load("position"),range:t.getRange().load("address"),scope_sheet_name:null,scope_sheet_index:null,book_scope:!0})})),[4,e.sync()];case 7:return M.sent(),w=[],y.forEach((function(t,e){w.push({name:t.name,sheet_index:t.sheet.position,address:t.range.address.split("!").pop(),scope_sheet_name:null,scope_sheet_index:null,book_scope:t.book_scope})})),g.names=w,g.sheets=[],x=[],o.forEach((function(t){var e;t.load("name names"),e=h.includes(t.name)?null:void 0!==t.getUsedRange()?t.getUsedRange().getLastCell().load("address"):t.getRange("A1").load("address"),x.push({sheet:t,lastCell:e})})),[4,e.sync()];case 8:return M.sent(),x.forEach((function(t,e){var n;h.includes(t.sheet.name)||(n=t.sheet.getRange("A1:".concat(t.lastCell.address)).load("values, numberFormatCategories"),x[e].range=n,x[e].names=t.sheet.names.load("name, type"))})),[4,e.sync()];case 9:return M.sent(),S=[],x.forEach((function(t){h.includes(t.sheet.name)||t.names.items.forEach((function(t){S.push({name:t.name,sheet:t.getRange().worksheet.load("position"),range:t.getRange().load("address"),scope_sheet:t.worksheet.load("name, position"),book_scope:!1})}))})),[4,e.sync()];case 10:M.sent(),k=[],S.forEach((function(t){k.push({name:t.name,sheet_index:t.sheet.position,address:t.range.address.split("!").pop(),scope_sheet_name:t.scope_sheet.name,scope_sheet_index:t.scope_sheet.position,book_scope:t.book_scope})})),g.names=g.names.concat(k),E=function(t){var n,r,o,i,s,a,c,u,l,f,p,d,v,b;return O(this,(function(y){switch(y.label){case 0:return n=t.sheet,h.includes(t.sheet.name)?r=[[]]:(r=t.range.values,Office.context.requirements.isSetSupported("ExcelApi","1.12")&&(o=t.range.numberFormatCategories,r.forEach((function(t,e){var n=o[e];t.forEach((function(t,o){var i=n[o];"Date"!==i.toString()&&"Time"!==i.toString()||"number"!=typeof t||(r[e][o]=new Date(Math.round(86400*(t-25569)*1e3)).toISOString())}))})))),i=[],h.includes(t.sheet.name)?[3,3]:(n.tables.load(["name","showHeaders","dataBodyRange","showTotals","style","showFilterButton"]),[4,e.sync()]);case 1:for(y.sent(),s=[],a=0,c=n.tables.items;a18&&t.includes("T")&&(n=new Date(Date.parse(t)),"Invalid Date"!==(r=n.toLocaleDateString(Office.context.contentLanguage))&&(n.getHours()+n.getMinutes()+n.getSeconds()+n.getMilliseconds()!==0&&(r+=" "+n.toLocaleTimeString()),e.values[o][i]=r))}))})),[4,R(t,e)];case 1:return o.sent().values=e.values,[4,t.sync()];case 2:return o.sent(),[2]}}))}))},addSheet:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){return(null!==e.args[1]?t.workbook.worksheets.add(e.args[1].toString()):t.workbook.worksheets.add()).position=parseInt(e.args[0].toString()),[2]}))}))},setSheetName:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){return t.workbook.worksheets.load("items").items[e.sheet_position].name=e.args[0].toString(),[2]}))}))},setAutofit:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return"columns"!==e.args[0]?[3,2]:[4,R(t,e)];case 1:return n.sent().format.autofitColumns(),[3,4];case 2:return[4,R(t,e)];case 3:n.sent().format.autofitRows(),n.label=4;case 4:return[2]}}))}))},setRangeColor:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(t,e)];case 1:return n.sent().format.fill.color=e.args[0].toString(),[4,t.sync()];case 2:return n.sent(),[2]}}))}))},activateSheet:function(t,e){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return(n=t.workbook.worksheets).load("items"),[4,t.sync()];case 1:return r.sent(),n.items[parseInt(e.args[0].toString())].activate(),[2]}}))}))},addHyperlink:function(t,e){return k(this,void 0,void 0,(function(){var n,r;return O(this,(function(o){switch(o.label){case 0:return[4,R(t,e)];case 1:return n=o.sent(),r={textToDisplay:e.args[1].toString(),screenTip:e.args[2].toString(),address:e.args[0].toString()},n.hyperlink=r,[4,t.sync()];case 2:return o.sent(),[2]}}))}))},setNumberFormat:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(t,e)];case 1:return n.sent().numberFormat=[[e.args[0].toString()]],[2]}}))}))},setPictureName:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,I(t,e.sheet_position,Number(e.args[0]),Excel.ShapeType.image)];case 1:return n.sent().name=e.args[1].toString(),[2]}}))}))},setPictureWidth:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,I(t,e.sheet_position,Number(e.args[0]),Excel.ShapeType.image)];case 1:return n.sent().width=Number(e.args[1]),[2]}}))}))},setPictureHeight:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,I(t,e.sheet_position,Number(e.args[0]),Excel.ShapeType.image)];case 1:return n.sent().height=Number(e.args[1]),[2]}}))}))},deletePicture:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,I(t,e.sheet_position,Number(e.args[0]),Excel.ShapeType.image)];case 1:return n.sent().delete(),[2]}}))}))},addPicture:function(t,e){return k(this,void 0,void 0,(function(){var n,r,o,i,s,a,c,u;return O(this,(function(l){switch(l.label){case 0:return n=e.args[0].toString(),r=Number(e.args[1]),o=Number(e.args[2]),i=Number(e.args[3]),s=Number(e.args[4]),[4,P(t,e)];case 1:return a=l.sent(),c=a.getRangeByIndexes(o,r,1,1).load("left, top"),[4,t.sync()];case 2:return l.sent(),i=Math.max(i,c.left),s=Math.max(s,c.top),(u=a.shapes.addImage(n)).left=i,u.top=s,[2]}}))}))},updatePicture:function(t,e){return k(this,void 0,void 0,(function(){var n,r,o,i,s,a,c,u,l;return O(this,(function(f){switch(f.label){case 0:return n=e.args[0].toString(),[4,P(t,e)];case 1:return r=f.sent(),[4,I(t,e.sheet_position,Number(e.args[1]),Excel.ShapeType.image)];case 2:return o=(o=f.sent()).load("name, left, top, height, width"),[4,t.sync()];case 3:return f.sent(),i=o.name,s=o.left,a=o.top,c=o.height,u=o.width,o.delete(),(l=r.shapes.addImage(n)).name=i,l.left=s,l.top=a,l.height=c,l.width=u,[2]}}))}))},alert:function(t,e){return k(this,void 0,void 0,(function(){var t,n,r,o,i;return O(this,(function(s){return t=e.args[0].toString(),n=e.args[1].toString(),r=e.args[2].toString(),o=e.args[3].toString(),i=e.args[4].toString(),l(t,n,r,o,i),[2]}))}))},setRangeName:function(t,e){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return[4,R(t,e)];case 1:return n=r.sent(),t.workbook.names.add(e.args[0].toString(),n),[2]}}))}))},namesAdd:function(t,e){return k(this,void 0,void 0,(function(){var n,r,o;return O(this,(function(i){switch(i.label){case 0:return n=e.args[0].toString(),r=e.args[1].toString(),null!==e.sheet_position?[3,1]:(t.workbook.names.add(n,r),[3,3]);case 1:return o=t.workbook.worksheets.load("items"),[4,t.sync()];case 2:i.sent(),o.items[e.sheet_position].names.add(n,r),i.label=3;case 3:return[2]}}))}))},nameDelete:function(t,e){return k(this,void 0,void 0,(function(){var n,r,o,i;return O(this,(function(s){switch(s.label){case 0:return n=e.args[2].toString(),r=Boolean(e.args[4]),o=Number(e.args[5]),!0!==r?[3,1]:(t.workbook.names.getItem(n).delete(),[3,3]);case 1:return i=t.workbook.worksheets.load("items"),[4,t.sync()];case 2:s.sent(),i.items[o].names.getItem(n).delete(),s.label=3;case 3:return[2]}}))}))},runMacro:function(t,e){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return[4,(n=globalThis.callbacks)[e.args[0].toString()].apply(n,E([t],e.args.slice(1),!1))];case 1:return r.sent(),[2]}}))}))},rangeDelete:function(t,e){return k(this,void 0,void 0,(function(){var n,r;return O(this,(function(o){switch(o.label){case 0:return[4,R(t,e)];case 1:return n=o.sent(),"up"===(r=e.args[0].toString())?n.delete(Excel.DeleteShiftDirection.up):"left"===r&&n.delete(Excel.DeleteShiftDirection.left),[2]}}))}))},rangeInsert:function(t,e){return k(this,void 0,void 0,(function(){var n,r;return O(this,(function(o){switch(o.label){case 0:return[4,R(t,e)];case 1:return n=o.sent(),"down"===(r=e.args[0].toString())?n.insert(Excel.InsertShiftDirection.down):"right"===r&&n.insert(Excel.InsertShiftDirection.right),[2]}}))}))},rangeSelect:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(t,e)];case 1:return n.sent().select(),[2]}}))}))},rangeClearContents:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(t,e)];case 1:return n.sent().clear(Excel.ClearApplyTo.contents),[4,t.sync()];case 2:return n.sent(),[2]}}))}))},rangeClearFormats:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(t,e)];case 1:return n.sent().clear(Excel.ClearApplyTo.formats),[4,t.sync()];case 2:return n.sent(),[2]}}))}))},rangeGroup:function(t,e){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return[4,R(t,e)];case 1:return n=r.sent(),"columns"==e.args[0].toString()?n.group(Excel.GroupOption.byColumns):n.group(Excel.GroupOption.byRows),[2]}}))}))},rangeUngroup:function(t,e){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return[4,R(t,e)];case 1:return n=r.sent(),"columns"==e.args[0].toString()?n.ungroup(Excel.GroupOption.byColumns):n.ungroup(Excel.GroupOption.byRows),[2]}}))}))},rangeClear:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(t,e)];case 1:return n.sent().clear(Excel.ClearApplyTo.all),[4,t.sync()];case 2:return n.sent(),[2]}}))}))},rangeAdjustIndent:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(t,e)];case 1:return n.sent().format.adjustIndent(parseInt(e.args[0].toString())),[2]}}))}))},addTable:function(t,e){return k(this,void 0,void 0,(function(){var n,r;return O(this,(function(o){switch(o.label){case 0:return n=t.workbook.worksheets.load("items"),[4,t.sync()];case 1:return o.sent(),r=n.items[e.sheet_position].tables.add(e.args[0].toString(),Boolean(e.args[1])),null!==e.args[2]&&(r.style=e.args[2].toString()),null!==e.args[3]&&(r.name=e.args[3].toString()),[2]}}))}))},setTableName:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(t,e)];case 1:return n.sent().name=e.args[1].toString(),[2]}}))}))},resizeTable:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(t,e)];case 1:return n.sent().resize(e.args[1].toString()),[2]}}))}))},showAutofilterTable:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(t,e)];case 1:return n.sent().showFilterButton=Boolean(e.args[1]),[2]}}))}))},showHeadersTable:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(t,e)];case 1:return n.sent().showHeaders=Boolean(e.args[1]),[2]}}))}))},showTotalsTable:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(t,e)];case 1:return n.sent().showTotals=Boolean(e.args[1]),[2]}}))}))},setTableStyle:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(t,e)];case 1:return n.sent().style=e.args[1].toString(),[2]}}))}))},copyRange:function(t,e){return k(this,void 0,void 0,(function(){var n,r,o;return O(this,(function(i){switch(i.label){case 0:return n=t.workbook.worksheets.items[parseInt(e.args[0].toString())].getRange(e.args[1].toString()),o=(r=n).copyFrom,[4,R(t,e)];case 1:return o.apply(r,[i.sent()]),[2]}}))}))},sheetDelete:function(t,e){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return n=t.workbook.worksheets.load("items"),[4,t.sync()];case 1:return r.sent(),n.items[e.sheet_position].delete(),[2]}}))}))},sheetClear:function(t,e){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return n=t.workbook.worksheets.load("items"),[4,t.sync()];case 1:return r.sent(),n.items[e.sheet_position].getRanges().clear(Excel.ClearApplyTo.all),[2]}}))}))},sheetClearFormats:function(t,e){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return n=t.workbook.worksheets.load("items"),[4,t.sync()];case 1:return r.sent(),n.items[e.sheet_position].getRanges().clear(Excel.ClearApplyTo.formats),[2]}}))}))},sheetClearContents:function(t,e){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return n=t.workbook.worksheets.load("items"),[4,t.sync()];case 1:return r.sent(),n.items[e.sheet_position].getRanges().clear(Excel.ClearApplyTo.contents),[2]}}))}))},freezePaneAtRange:function(t,e){return k(this,void 0,void 0,(function(){var n,r;return O(this,(function(o){switch(o.label){case 0:return[4,P(t,e)];case 1:return n=o.sent(),r=n.getRange(e.args[0].toString()),n.freezePanes.freezeAt(r),[2]}}))}))},freezePaneUnfreeze:function(t,e){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,P(t,e)];case 1:return n.sent().freezePanes.unfreeze(),[2]}}))}))}};Object.assign(globalThis.callbacks,D),xlwings=r}(); +var xlwings;!function(){"use strict";var e={6343:function(e,t,n){var r=n(6612);e.exports=r},2416:function(e,t,n){var r=n(3713);e.exports=r},4640:function(e,t,n){var r=n(657);e.exports=r},1015:function(e,t,n){var r=n(8418);e.exports=r},3609:function(e,t,n){n(4423);var r=n(7015);e.exports=r("Array","includes")},9834:function(e,t,n){n(2010)},9510:function(e,t,n){n(5081),e.exports=n(4576)},8473:function(e,t,n){n(9085);var r=n(9167);e.exports=r.Object.assign},9306:function(e,t,n){var r=n(4901),o=n(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},6469:function(e,t,n){var r=n(8227),o=n(2360),i=n(4913).f,s=r("unscopables"),a=Array.prototype;void 0===a[s]&&i(a,s,{configurable:!0,value:o(null)}),e.exports=function(e){a[s][e]=!0}},8551:function(e,t,n){var r=n(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},9617:function(e,t,n){var r=n(5397),o=n(5610),i=n(6198),s=function(e){return function(t,n,s){var a=r(t),c=i(a);if(0===c)return!e&&-1;var u,l=o(s,c);if(e&&n!=n){for(;c>l;)if((u=a[l++])!=u)return!0}else for(;c>l;l++)if((e||l in a)&&a[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},2195:function(e,t,n){var r=n(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},7740:function(e,t,n){var r=n(9297),o=n(5031),i=n(7347),s=n(4913);e.exports=function(e,t,n){for(var a=o(t),c=s.f,u=i.f,l=0;l0&&r[0]<4?1:+(r[0]+r[1])),!o&&s&&(!(r=s.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=s.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},6518:function(e,t,n){var r=n(4576),o=n(7347).f,i=n(6699),s=n(6840),a=n(9433),c=n(7740),u=n(2796);e.exports=function(e,t){var n,l,f,h,p,d=e.target,g=e.global,v=e.stat;if(n=g?r:v?r[d]||a(d,{}):r[d]&&r[d].prototype)for(l in t){if(h=t[l],f=e.dontCallGetSet?(p=o(n,l))&&p.value:n[l],!u(g?l:d+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof h==typeof f)continue;c(h,f)}(e.sham||f&&f.sham)&&i(h,"sham",!0),s(n,l,h,e)}}},9039:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},616:function(e,t,n){var r=n(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9565:function(e,t,n){var r=n(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:function(e,t,n){var r=n(3724),o=n(9297),i=Function.prototype,s=r&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!r||r&&s(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},9504:function(e,t,n){var r=n(616),o=Function.prototype,i=o.call,s=r&&o.bind.bind(i,i);e.exports=r?s:function(e){return function(){return i.apply(e,arguments)}}},7751:function(e,t,n){var r=n(4576),o=n(4901);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},5966:function(e,t,n){var r=n(9306),o=n(4117);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},4576:function(e,t,n){var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(e,t,n){var r=n(9504),o=n(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},421:function(e){e.exports={}},397:function(e,t,n){var r=n(7751);e.exports=r("document","documentElement")},5917:function(e,t,n){var r=n(3724),o=n(9039),i=n(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:function(e,t,n){var r=n(9504),o=n(9039),i=n(2195),s=Object,a=r("".split);e.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?a(e,""):s(e)}:s},3706:function(e,t,n){var r=n(9504),o=n(4901),i=n(7629),s=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),e.exports=i.inspectSource},1181:function(e,t,n){var r,o,i,s=n(8622),a=n(4576),c=n(34),u=n(6699),l=n(9297),f=n(7629),h=n(6119),p=n(421),d="Object already initialized",g=a.TypeError,v=a.WeakMap;if(s||f.state){var b=f.state||(f.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,r=function(e,t){if(b.has(e))throw new g(d);return t.facade=e,b.set(e,t),t},o=function(e){return b.get(e)||{}},i=function(e){return b.has(e)}}else{var y=h("state");p[y]=!0,r=function(e,t){if(l(e,y))throw new g(d);return t.facade=e,u(e,y,t),t},o=function(e){return l(e,y)?e[y]:{}},i=function(e){return l(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return n}}}},4901:function(e){var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},2796:function(e,t,n){var r=n(9039),o=n(4901),i=/#|\.prototype\./,s=function(e,t){var n=c[a(e)];return n===l||n!==u&&(o(t)?r(t):!!t)},a=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";e.exports=s},4117:function(e){e.exports=function(e){return null==e}},34:function(e,t,n){var r=n(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},6395:function(e){e.exports=!1},757:function(e,t,n){var r=n(7751),o=n(4901),i=n(1625),s=n(7040),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,a(e))}},6198:function(e,t,n){var r=n(8014);e.exports=function(e){return r(e.length)}},283:function(e,t,n){var r=n(9504),o=n(9039),i=n(4901),s=n(9297),a=n(3724),c=n(350).CONFIGURABLE,u=n(3706),l=n(1181),f=l.enforce,h=l.get,p=String,d=Object.defineProperty,g=r("".slice),v=r("".replace),b=r([].join),y=a&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),m=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===g(p(t),0,7)&&(t="["+v(p(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?d(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&s(n,"arity")&&e.length!==n.arity&&d(e,"length",{value:n.arity});try{n&&s(n,"constructor")&&n.constructor?a&&d(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=f(e);return s(r,"source")||(r.source=b(m,"string"==typeof t?t:"")),e};Function.prototype.toString=w((function(){return i(this)&&h(this).source||u(this)}),"toString")},741:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},4213:function(e,t,n){var r=n(3724),o=n(9504),i=n(9565),s=n(9039),a=n(1072),c=n(3717),u=n(8773),l=n(8981),f=n(7055),h=Object.assign,p=Object.defineProperty,d=o([].concat);e.exports=!h||s((function(){if(r&&1!==h({b:1},h(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!==h({},e)[n]||a(h({},t)).join("")!==o}))?function(e,t){for(var n=l(e),o=arguments.length,s=1,h=c.f,p=u.f;o>s;)for(var g,v=f(arguments[s++]),b=h?d(a(v),h(v)):a(v),y=b.length,m=0;y>m;)g=b[m++],r&&!i(p,v,g)||(n[g]=v[g]);return n}:h},2360:function(e,t,n){var r,o=n(8551),i=n(6801),s=n(8727),a=n(421),c=n(397),u=n(4055),l=n(6119),f="prototype",h="script",p=l("IE_PROTO"),d=function(){},g=function(e){return"<"+h+">"+e+""},v=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;b="undefined"!=typeof document?document.domain&&r?v(r):(t=u("iframe"),n="java"+h+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F):v(r);for(var o=s.length;o--;)delete b[f][s[o]];return b()};a[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d[f]=o(e),n=new d,d[f]=null,n[p]=e):n=b(),void 0===t?n:i.f(n,t)}},6801:function(e,t,n){var r=n(3724),o=n(8686),i=n(4913),s=n(8551),a=n(5397),c=n(1072);t.f=r&&!o?Object.defineProperties:function(e,t){s(e);for(var n,r=a(t),o=c(t),u=o.length,l=0;u>l;)i.f(e,n=o[l++],r[n]);return e}},4913:function(e,t,n){var r=n(3724),o=n(5917),i=n(8686),s=n(8551),a=n(6969),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",h="configurable",p="writable";t.f=r?i?function(e,t,n){if(s(e),t=a(t),s(n),"function"==typeof e&&"prototype"===t&&"value"in n&&p in n&&!n[p]){var r=l(e,t);r&&r[p]&&(e[t]=n.value,n={configurable:h in n?n[h]:r[h],enumerable:f in n?n[f]:r[f],writable:!1})}return u(e,t,n)}:u:function(e,t,n){if(s(e),t=a(t),s(n),o)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},7347:function(e,t,n){var r=n(3724),o=n(9565),i=n(8773),s=n(6980),a=n(5397),c=n(6969),u=n(9297),l=n(5917),f=Object.getOwnPropertyDescriptor;t.f=r?f:function(e,t){if(e=a(e),t=c(t),l)try{return f(e,t)}catch(e){}if(u(e,t))return s(!o(i.f,e,t),e[t])}},8480:function(e,t,n){var r=n(1828),o=n(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:function(e,t){t.f=Object.getOwnPropertySymbols},1625:function(e,t,n){var r=n(9504);e.exports=r({}.isPrototypeOf)},1828:function(e,t,n){var r=n(9504),o=n(9297),i=n(5397),s=n(9617).indexOf,a=n(421),c=r([].push);e.exports=function(e,t){var n,r=i(e),u=0,l=[];for(n in r)!o(a,n)&&o(r,n)&&c(l,n);for(;t.length>u;)o(r,n=t[u++])&&(~s(l,n)||c(l,n));return l}},1072:function(e,t,n){var r=n(1828),o=n(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:function(e,t){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},4270:function(e,t,n){var r=n(9565),o=n(4901),i=n(34),s=TypeError;e.exports=function(e,t){var n,a;if("string"===t&&o(n=e.toString)&&!i(a=r(n,e)))return a;if(o(n=e.valueOf)&&!i(a=r(n,e)))return a;if("string"!==t&&o(n=e.toString)&&!i(a=r(n,e)))return a;throw new s("Can't convert object to primitive value")}},5031:function(e,t,n){var r=n(7751),o=n(9504),i=n(8480),s=n(3717),a=n(8551),c=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(a(e)),n=s.f;return n?c(t,n(e)):t}},9167:function(e,t,n){var r=n(4576);e.exports=r},7750:function(e,t,n){var r=n(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},6119:function(e,t,n){var r=n(5745),o=n(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:function(e,t,n){var r=n(6395),o=n(4576),i=n(9433),s="__core-js_shared__",a=e.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.38.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(e,t,n){var r=n(7629);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},4495:function(e,t,n){var r=n(9519),o=n(9039),i=n(4576).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},5610:function(e,t,n){var r=n(1291),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5397:function(e,t,n){var r=n(7055),o=n(7750);e.exports=function(e){return r(o(e))}},1291:function(e,t,n){var r=n(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8014:function(e,t,n){var r=n(1291),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},8981:function(e,t,n){var r=n(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:function(e,t,n){var r=n(9565),o=n(34),i=n(757),s=n(5966),a=n(4270),c=n(8227),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,c=s(e,l);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!o(n)||i(n))return n;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},6969:function(e,t,n){var r=n(2777),o=n(757);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},6823:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},3392:function(e,t,n){var r=n(9504),o=0,i=Math.random(),s=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+i,36)}},7040:function(e,t,n){var r=n(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(e,t,n){var r=n(3724),o=n(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8622:function(e,t,n){var r=n(4576),o=n(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},8227:function(e,t,n){var r=n(4576),o=n(5745),i=n(9297),s=n(3392),a=n(4495),c=n(7040),u=r.Symbol,l=o("wks"),f=c?u.for||u:u&&u.withoutSetter||s;e.exports=function(e){return i(l,e)||(l[e]=a&&i(u,e)?u[e]:f("Symbol."+e)),l[e]}},4423:function(e,t,n){var r=n(6518),o=n(9617).includes,i=n(9039),s=n(6469);r({target:"Array",proto:!0,forced:i((function(){return!Array(1).includes()}))},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),s("includes")},2010:function(e,t,n){var r=n(3724),o=n(350).EXISTS,i=n(9504),s=n(2106),a=Function.prototype,c=i(a.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,l=i(u.exec);r&&!o&&s(a,"name",{configurable:!0,get:function(){try{return l(u,c(this))[1]}catch(e){return""}}})},5081:function(e,t,n){var r=n(6518),o=n(4576);r({global:!0,forced:o.globalThis!==o},{globalThis:o})},9085:function(e,t,n){var r=n(6518),o=n(4213);r({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},6612:function(e,t,n){var r=n(3609);e.exports=r},3713:function(e,t,n){var r=n(9834);e.exports=r},657:function(e,t,n){var r=n(9510);e.exports=r},8418:function(e,t,n){var r=n(8473);e.exports=r}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};n.r(r),n.d(r,{getAccessToken:function(){return y},getActiveBookName:function(){return x},init:function(){return T},registerCallback:function(){return I},runPython:function(){return _}}),n(1015),n(6343),n(4640),n(2416);var o,i=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))},s=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]=v-900?g?[3,3]:(g=!0,d=!0,[4,b()]):[3,5];case 2:return e.sent(),d=!1,[3,5];case 3:return d?[4,new Promise((function(e){return setTimeout(e,100)}))]:[3,5];case 4:return e.sent(),[3,3];case 5:return[2,p]}}))}))}var m=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{c(r.next(e))}catch(e){i(e)}}function a(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))},w=function(e,t){var n,r,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&f.length>0)throw"Either use 'include' or 'exclude', but not both!";if(l.length>0&&o.forEach((function(e){l.includes(e.name)||f.push(e.name)})),0===Object.keys(d).length)for(p in s)p.toLowerCase().startsWith("header_")&&(d[p.substring(7)]=s[p]);return!("Authorization"in d)&&a.length>0&&(d.Authorization=a),d["Content-Type"]="application/json",(g={}).client="Office.js",g.version=j,v=r.getActiveWorksheet().load("position"),b=n.getSelectedRange().load("address"),[4,t.sync()];case 5:return M.sent(),g.book={name:n.name,active_sheet_index:v.position,selection:b.address.split("!").pop()},y=[],m=t.workbook.names.load("name, type"),[4,t.sync()];case 6:return M.sent(),m.items.forEach((function(e,t){"Range"===e.type&&y.push({name:e.name,sheet:e.getRange().worksheet.load("position"),range:e.getRange().load("address"),scope_sheet_name:null,scope_sheet_index:null,book_scope:!0})})),[4,t.sync()];case 7:return M.sent(),w=[],y.forEach((function(e,t){w.push({name:e.name,sheet_index:e.sheet.position,address:e.range.address.split("!").pop(),scope_sheet_name:null,scope_sheet_index:null,book_scope:e.book_scope})})),g.names=w,g.sheets=[],x=[],o.forEach((function(e){var t;e.load("name names"),t=f.includes(e.name)?null:void 0!==e.getUsedRange()?e.getUsedRange().getLastCell().load("address"):e.getRange("A1").load("address"),x.push({sheet:e,lastCell:t})})),[4,t.sync()];case 8:return M.sent(),x.forEach((function(e,t){var n;f.includes(e.sheet.name)||(n=e.sheet.getRange("A1:".concat(e.lastCell.address)).load("values, numberFormatCategories"),x[t].range=n,x[t].names=e.sheet.names.load("name, type"))})),[4,t.sync()];case 9:return M.sent(),S=[],x.forEach((function(e){f.includes(e.sheet.name)||e.names.items.forEach((function(e){S.push({name:e.name,sheet:e.getRange().worksheet.load("position"),range:e.getRange().load("address"),scope_sheet:e.worksheet.load("name, position"),book_scope:!1})}))})),[4,t.sync()];case 10:M.sent(),k=[],S.forEach((function(e){k.push({name:e.name,sheet_index:e.sheet.position,address:e.range.address.split("!").pop(),scope_sheet_name:e.scope_sheet.name,scope_sheet_index:e.scope_sheet.position,book_scope:e.book_scope})})),g.names=g.names.concat(k),E=function(e){var n,r,o,i,s,a,c,u,l,h,p,d,v,b;return O(this,(function(y){switch(y.label){case 0:return n=e.sheet,f.includes(e.sheet.name)?r=[[]]:(r=e.range.values,Office.context.requirements.isSetSupported("ExcelApi","1.12")&&(o=e.range.numberFormatCategories,r.forEach((function(e,t){var n=o[t];e.forEach((function(e,o){var i=n[o];"Date"!==i.toString()&&"Time"!==i.toString()||"number"!=typeof e||(r[t][o]=new Date(Math.round(86400*(e-25569)*1e3)).toISOString())}))})))),i=[],f.includes(e.sheet.name)?[3,3]:(n.tables.load(["name","showHeaders","dataBodyRange","showTotals","style","showFilterButton"]),[4,t.sync()]);case 1:for(y.sent(),s=[],a=0,c=n.tables.items;a18&&e.includes("T")&&(n=new Date(Date.parse(e)),"Invalid Date"!==(r=n.toLocaleDateString(Office.context.contentLanguage))&&(n.getHours()+n.getMinutes()+n.getSeconds()+n.getMilliseconds()!==0&&(r+=" "+n.toLocaleTimeString()),t.values[o][i]=r))}))})),[4,R(e,t)];case 1:return o.sent().values=t.values,[4,e.sync()];case 2:return o.sent(),[2]}}))}))},addSheet:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){return(null!==t.args[1]?e.workbook.worksheets.add(t.args[1].toString()):e.workbook.worksheets.add()).position=parseInt(t.args[0].toString()),[2]}))}))},setSheetName:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){return e.workbook.worksheets.load("items").items[t.sheet_position].name=t.args[0].toString(),[2]}))}))},setAutofit:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return"columns"!==t.args[0]?[3,2]:[4,R(e,t)];case 1:return n.sent().format.autofitColumns(),[3,4];case 2:return[4,R(e,t)];case 3:n.sent().format.autofitRows(),n.label=4;case 4:return[2]}}))}))},setRangeColor:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(e,t)];case 1:return n.sent().format.fill.color=t.args[0].toString(),[4,e.sync()];case 2:return n.sent(),[2]}}))}))},activateSheet:function(e,t){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return(n=e.workbook.worksheets).load("items"),[4,e.sync()];case 1:return r.sent(),n.items[parseInt(t.args[0].toString())].activate(),[2]}}))}))},addHyperlink:function(e,t){return k(this,void 0,void 0,(function(){var n,r;return O(this,(function(o){switch(o.label){case 0:return[4,R(e,t)];case 1:return n=o.sent(),r={textToDisplay:t.args[1].toString(),screenTip:t.args[2].toString(),address:t.args[0].toString()},n.hyperlink=r,[4,e.sync()];case 2:return o.sent(),[2]}}))}))},setNumberFormat:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(e,t)];case 1:return n.sent().numberFormat=[[t.args[0].toString()]],[2]}}))}))},setPictureName:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,A(e,t.sheet_position,Number(t.args[0]),Excel.ShapeType.image)];case 1:return n.sent().name=t.args[1].toString(),[2]}}))}))},setPictureWidth:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,A(e,t.sheet_position,Number(t.args[0]),Excel.ShapeType.image)];case 1:return n.sent().width=Number(t.args[1]),[2]}}))}))},setPictureHeight:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,A(e,t.sheet_position,Number(t.args[0]),Excel.ShapeType.image)];case 1:return n.sent().height=Number(t.args[1]),[2]}}))}))},deletePicture:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,A(e,t.sheet_position,Number(t.args[0]),Excel.ShapeType.image)];case 1:return n.sent().delete(),[2]}}))}))},addPicture:function(e,t){return k(this,void 0,void 0,(function(){var n,r,o,i,s,a,c,u;return O(this,(function(l){switch(l.label){case 0:return n=t.args[0].toString(),r=Number(t.args[1]),o=Number(t.args[2]),i=Number(t.args[3]),s=Number(t.args[4]),[4,P(e,t)];case 1:return a=l.sent(),c=a.getRangeByIndexes(o,r,1,1).load("left, top"),[4,e.sync()];case 2:return l.sent(),i=Math.max(i,c.left),s=Math.max(s,c.top),(u=a.shapes.addImage(n)).left=i,u.top=s,[2]}}))}))},updatePicture:function(e,t){return k(this,void 0,void 0,(function(){var n,r,o,i,s,a,c,u,l;return O(this,(function(f){switch(f.label){case 0:return n=t.args[0].toString(),[4,P(e,t)];case 1:return r=f.sent(),[4,A(e,t.sheet_position,Number(t.args[1]),Excel.ShapeType.image)];case 2:return o=(o=f.sent()).load("name, left, top, height, width"),[4,e.sync()];case 3:return f.sent(),i=o.name,s=o.left,a=o.top,c=o.height,u=o.width,o.delete(),(l=r.shapes.addImage(n)).name=i,l.left=s,l.top=a,l.height=c,l.width=u,[2]}}))}))},alert:function(e,t){return k(this,void 0,void 0,(function(){var e,n,r,o,i;return O(this,(function(s){return e=t.args[0].toString(),n=t.args[1].toString(),r=t.args[2].toString(),o=t.args[3].toString(),i=t.args[4].toString(),l(e,n,r,o,i),[2]}))}))},setRangeName:function(e,t){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return[4,R(e,t)];case 1:return n=r.sent(),e.workbook.names.add(t.args[0].toString(),n),[2]}}))}))},namesAdd:function(e,t){return k(this,void 0,void 0,(function(){var n,r,o;return O(this,(function(i){switch(i.label){case 0:return n=t.args[0].toString(),r=t.args[1].toString(),null!==t.sheet_position?[3,1]:(e.workbook.names.add(n,r),[3,3]);case 1:return o=e.workbook.worksheets.load("items"),[4,e.sync()];case 2:i.sent(),o.items[t.sheet_position].names.add(n,r),i.label=3;case 3:return[2]}}))}))},nameDelete:function(e,t){return k(this,void 0,void 0,(function(){var n,r,o,i;return O(this,(function(s){switch(s.label){case 0:return n=t.args[2].toString(),r=Boolean(t.args[4]),o=Number(t.args[5]),!0!==r?[3,1]:(e.workbook.names.getItem(n).delete(),[3,3]);case 1:return i=e.workbook.worksheets.load("items"),[4,e.sync()];case 2:s.sent(),i.items[o].names.getItem(n).delete(),s.label=3;case 3:return[2]}}))}))},runMacro:function(e,t){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return[4,(n=globalThis.callbacks)[t.args[0].toString()].apply(n,E([e],t.args.slice(1),!1))];case 1:return r.sent(),[2]}}))}))},rangeDelete:function(e,t){return k(this,void 0,void 0,(function(){var n,r;return O(this,(function(o){switch(o.label){case 0:return[4,R(e,t)];case 1:return n=o.sent(),"up"===(r=t.args[0].toString())?n.delete(Excel.DeleteShiftDirection.up):"left"===r&&n.delete(Excel.DeleteShiftDirection.left),[2]}}))}))},rangeInsert:function(e,t){return k(this,void 0,void 0,(function(){var n,r;return O(this,(function(o){switch(o.label){case 0:return[4,R(e,t)];case 1:return n=o.sent(),"down"===(r=t.args[0].toString())?n.insert(Excel.InsertShiftDirection.down):"right"===r&&n.insert(Excel.InsertShiftDirection.right),[2]}}))}))},rangeSelect:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(e,t)];case 1:return n.sent().select(),[2]}}))}))},rangeClearContents:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(e,t)];case 1:return n.sent().clear(Excel.ClearApplyTo.contents),[4,e.sync()];case 2:return n.sent(),[2]}}))}))},rangeClearFormats:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(e,t)];case 1:return n.sent().clear(Excel.ClearApplyTo.formats),[4,e.sync()];case 2:return n.sent(),[2]}}))}))},rangeGroup:function(e,t){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return[4,R(e,t)];case 1:return n=r.sent(),"columns"==t.args[0].toString()?n.group(Excel.GroupOption.byColumns):n.group(Excel.GroupOption.byRows),[2]}}))}))},rangeUngroup:function(e,t){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return[4,R(e,t)];case 1:return n=r.sent(),"columns"==t.args[0].toString()?n.ungroup(Excel.GroupOption.byColumns):n.ungroup(Excel.GroupOption.byRows),[2]}}))}))},rangeClear:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(e,t)];case 1:return n.sent().clear(Excel.ClearApplyTo.all),[4,e.sync()];case 2:return n.sent(),[2]}}))}))},rangeAdjustIndent:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,R(e,t)];case 1:return n.sent().format.adjustIndent(parseInt(t.args[0].toString())),[2]}}))}))},addTable:function(e,t){return k(this,void 0,void 0,(function(){var n,r;return O(this,(function(o){switch(o.label){case 0:return n=e.workbook.worksheets.load("items"),[4,e.sync()];case 1:return o.sent(),r=n.items[t.sheet_position].tables.add(t.args[0].toString(),Boolean(t.args[1])),null!==t.args[2]&&(r.style=t.args[2].toString()),null!==t.args[3]&&(r.name=t.args[3].toString()),[2]}}))}))},setTableName:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(e,t)];case 1:return n.sent().name=t.args[1].toString(),[2]}}))}))},resizeTable:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(e,t)];case 1:return n.sent().resize(t.args[1].toString()),[2]}}))}))},showAutofilterTable:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(e,t)];case 1:return n.sent().showFilterButton=Boolean(t.args[1]),[2]}}))}))},showHeadersTable:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(e,t)];case 1:return n.sent().showHeaders=Boolean(t.args[1]),[2]}}))}))},showTotalsTable:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(e,t)];case 1:return n.sent().showTotals=Boolean(t.args[1]),[2]}}))}))},setTableStyle:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,C(e,t)];case 1:return n.sent().style=t.args[1].toString(),[2]}}))}))},copyRange:function(e,t){return k(this,void 0,void 0,(function(){var n,r,o;return O(this,(function(i){switch(i.label){case 0:return n=e.workbook.worksheets.items[parseInt(t.args[0].toString())].getRange(t.args[1].toString()),o=(r=n).copyFrom,[4,R(e,t)];case 1:return o.apply(r,[i.sent()]),[2]}}))}))},sheetDelete:function(e,t){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return n=e.workbook.worksheets.load("items"),[4,e.sync()];case 1:return r.sent(),n.items[t.sheet_position].delete(),[2]}}))}))},sheetClear:function(e,t){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return n=e.workbook.worksheets.load("items"),[4,e.sync()];case 1:return r.sent(),n.items[t.sheet_position].getRanges().clear(Excel.ClearApplyTo.all),[2]}}))}))},sheetClearFormats:function(e,t){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return n=e.workbook.worksheets.load("items"),[4,e.sync()];case 1:return r.sent(),n.items[t.sheet_position].getRanges().clear(Excel.ClearApplyTo.formats),[2]}}))}))},sheetClearContents:function(e,t){return k(this,void 0,void 0,(function(){var n;return O(this,(function(r){switch(r.label){case 0:return n=e.workbook.worksheets.load("items"),[4,e.sync()];case 1:return r.sent(),n.items[t.sheet_position].getRanges().clear(Excel.ClearApplyTo.contents),[2]}}))}))},freezePaneAtRange:function(e,t){return k(this,void 0,void 0,(function(){var n,r;return O(this,(function(o){switch(o.label){case 0:return[4,P(e,t)];case 1:return n=o.sent(),r=n.getRange(t.args[0].toString()),n.freezePanes.freezeAt(r),[2]}}))}))},freezePaneUnfreeze:function(e,t){return k(this,void 0,void 0,(function(){return O(this,(function(n){switch(n.label){case 0:return[4,P(e,t)];case 1:return n.sent().freezePanes.unfreeze(),[2]}}))}))}};Object.assign(globalThis.callbacks,D),xlwings=r}(); //# sourceMappingURL=xlwings.min.js.map \ No newline at end of file diff --git a/app/static/vendor/xlwings/xlwingsjs/dist/xlwings.min.js.map b/app/static/vendor/xlwings/xlwingsjs/dist/xlwings.min.js.map index a36a4b6..bf4348f 100644 --- a/app/static/vendor/xlwings/xlwingsjs/dist/xlwings.min.js.map +++ b/app/static/vendor/xlwings/xlwingsjs/dist/xlwings.min.js.map @@ -1 +1 @@ -{"version":3,"file":"xlwings.min.js","mappings":"iEACA,IAAIA,EAAS,EAAQ,MAErBC,EAAOC,QAAUF,C,uBCFjB,IAAIA,EAAS,EAAQ,MAErBC,EAAOC,QAAUF,C,uBCFjB,IAAIA,EAAS,EAAQ,KAErBC,EAAOC,QAAUF,C,uBCFjB,IAAIA,EAAS,EAAQ,MAErBC,EAAOC,QAAUF,C,uBCFjB,EAAQ,MACR,IAAIG,EAAc,EAAQ,MAE1BF,EAAOC,QAAUC,EAAY,QAAS,W,uBCHtC,EAAQ,K,uBCAR,EAAQ,MAERF,EAAOC,QAAU,EAAjB,K,uBCFA,EAAQ,MACR,IAAIE,EAAO,EAAQ,MAEnBH,EAAOC,QAAUE,EAAKC,OAAOC,M,uBCH7B,IAAIC,EAAa,EAAQ,MACrBC,EAAc,EAAQ,MAEtBC,EAAaC,UAGjBT,EAAOC,QAAU,SAAUS,GACzB,GAAIJ,EAAWI,GAAW,OAAOA,EACjC,MAAM,IAAIF,EAAWD,EAAYG,GAAY,qBAC/C,C,uBCTA,IAAIC,EAAkB,EAAQ,MAC1BC,EAAS,EAAQ,MACjBC,EAAiB,UAEjBC,EAAcH,EAAgB,eAC9BI,EAAiBC,MAAMC,eAISC,IAAhCH,EAAeD,IACjBD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/C,KAAK,EAGD,OAFQtG,EAAGzB,OACLsU,YAAYG,WACX,CAAC,GAEpB,GACJ,GACJ,GAjuBA9oB,OAAOC,OAAOsE,WAAW0R,UAAW+L,G","sources":["webpack://xlwings/./node_modules/core-js/actual/array/includes.js","webpack://xlwings/./node_modules/core-js/actual/function/name.js","webpack://xlwings/./node_modules/core-js/actual/global-this.js","webpack://xlwings/./node_modules/core-js/actual/object/assign.js","webpack://xlwings/./node_modules/core-js/es/array/includes.js","webpack://xlwings/./node_modules/core-js/es/function/name.js","webpack://xlwings/./node_modules/core-js/es/global-this.js","webpack://xlwings/./node_modules/core-js/es/object/assign.js","webpack://xlwings/./node_modules/core-js/internals/a-callable.js","webpack://xlwings/./node_modules/core-js/internals/add-to-unscopables.js","webpack://xlwings/./node_modules/core-js/internals/an-object.js","webpack://xlwings/./node_modules/core-js/internals/array-includes.js","webpack://xlwings/./node_modules/core-js/internals/classof-raw.js","webpack://xlwings/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://xlwings/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://xlwings/./node_modules/core-js/internals/create-property-descriptor.js","webpack://xlwings/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://xlwings/./node_modules/core-js/internals/define-built-in.js","webpack://xlwings/./node_modules/core-js/internals/define-global-property.js","webpack://xlwings/./node_modules/core-js/internals/descriptors.js","webpack://xlwings/./node_modules/core-js/internals/document-create-element.js","webpack://xlwings/./node_modules/core-js/internals/entry-unbind.js","webpack://xlwings/./node_modules/core-js/internals/enum-bug-keys.js","webpack://xlwings/./node_modules/core-js/internals/environment-user-agent.js","webpack://xlwings/./node_modules/core-js/internals/environment-v8-version.js","webpack://xlwings/./node_modules/core-js/internals/export.js","webpack://xlwings/./node_modules/core-js/internals/fails.js","webpack://xlwings/./node_modules/core-js/internals/function-bind-native.js","webpack://xlwings/./node_modules/core-js/internals/function-call.js","webpack://xlwings/./node_modules/core-js/internals/function-name.js","webpack://xlwings/./node_modules/core-js/internals/function-uncurry-this.js","webpack://xlwings/./node_modules/core-js/internals/get-built-in.js","webpack://xlwings/./node_modules/core-js/internals/get-method.js","webpack://xlwings/./node_modules/core-js/internals/global-this.js","webpack://xlwings/./node_modules/core-js/internals/has-own-property.js","webpack://xlwings/./node_modules/core-js/internals/hidden-keys.js","webpack://xlwings/./node_modules/core-js/internals/html.js","webpack://xlwings/./node_modules/core-js/internals/ie8-dom-define.js","webpack://xlwings/./node_modules/core-js/internals/indexed-object.js","webpack://xlwings/./node_modules/core-js/internals/inspect-source.js","webpack://xlwings/./node_modules/core-js/internals/internal-state.js","webpack://xlwings/./node_modules/core-js/internals/is-callable.js","webpack://xlwings/./node_modules/core-js/internals/is-forced.js","webpack://xlwings/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://xlwings/./node_modules/core-js/internals/is-object.js","webpack://xlwings/./node_modules/core-js/internals/is-pure.js","webpack://xlwings/./node_modules/core-js/internals/is-symbol.js","webpack://xlwings/./node_modules/core-js/internals/length-of-array-like.js","webpack://xlwings/./node_modules/core-js/internals/make-built-in.js","webpack://xlwings/./node_modules/core-js/internals/math-trunc.js","webpack://xlwings/./node_modules/core-js/internals/object-assign.js","webpack://xlwings/./node_modules/core-js/internals/object-create.js","webpack://xlwings/./node_modules/core-js/internals/object-define-properties.js","webpack://xlwings/./node_modules/core-js/internals/object-define-property.js","webpack://xlwings/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://xlwings/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://xlwings/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://xlwings/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://xlwings/./node_modules/core-js/internals/object-keys-internal.js","webpack://xlwings/./node_modules/core-js/internals/object-keys.js","webpack://xlwings/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://xlwings/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://xlwings/./node_modules/core-js/internals/own-keys.js","webpack://xlwings/./node_modules/core-js/internals/path.js","webpack://xlwings/./node_modules/core-js/internals/require-object-coercible.js","webpack://xlwings/./node_modules/core-js/internals/shared-key.js","webpack://xlwings/./node_modules/core-js/internals/shared-store.js","webpack://xlwings/./node_modules/core-js/internals/shared.js","webpack://xlwings/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://xlwings/./node_modules/core-js/internals/to-absolute-index.js","webpack://xlwings/./node_modules/core-js/internals/to-indexed-object.js","webpack://xlwings/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://xlwings/./node_modules/core-js/internals/to-length.js","webpack://xlwings/./node_modules/core-js/internals/to-object.js","webpack://xlwings/./node_modules/core-js/internals/to-primitive.js","webpack://xlwings/./node_modules/core-js/internals/to-property-key.js","webpack://xlwings/./node_modules/core-js/internals/try-to-string.js","webpack://xlwings/./node_modules/core-js/internals/uid.js","webpack://xlwings/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://xlwings/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://xlwings/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://xlwings/./node_modules/core-js/internals/well-known-symbol.js","webpack://xlwings/./node_modules/core-js/modules/es.array.includes.js","webpack://xlwings/./node_modules/core-js/modules/es.function.name.js","webpack://xlwings/./node_modules/core-js/modules/es.global-this.js","webpack://xlwings/./node_modules/core-js/modules/es.object.assign.js","webpack://xlwings/./node_modules/core-js/stable/array/includes.js","webpack://xlwings/./node_modules/core-js/stable/function/name.js","webpack://xlwings/./node_modules/core-js/stable/global-this.js","webpack://xlwings/./node_modules/core-js/stable/object/assign.js","webpack://xlwings/webpack/bootstrap","webpack://xlwings/webpack/runtime/define property getters","webpack://xlwings/webpack/runtime/global","webpack://xlwings/webpack/runtime/hasOwnProperty shorthand","webpack://xlwings/webpack/runtime/make namespace object","webpack://xlwings/./src/alert.ts","webpack://xlwings/./src/auth.ts","webpack://xlwings/./src/utils.ts","webpack://xlwings/./src/xlwings.ts"],"sourcesContent":["'use strict';\nvar parent = require('../../stable/array/includes');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../../stable/function/name');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../stable/global-this');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../../stable/object/assign');\n\nmodule.exports = parent;\n","'use strict';\nrequire('../../modules/es.array.includes');\nvar entryUnbind = require('../../internals/entry-unbind');\n\nmodule.exports = entryUnbind('Array', 'includes');\n","'use strict';\nrequire('../../modules/es.function.name');\n","'use strict';\nrequire('../modules/es.global-this');\n\nmodule.exports = require('../internals/global-this');\n","'use strict';\nrequire('../../modules/es.object.assign');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.assign;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n if (length === 0) return !IS_INCLUDES && -1;\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(globalThis, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n globalThis[key] = value;\n } return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\n\nvar document = globalThis.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (CONSTRUCTOR, METHOD) {\n return uncurryThis(globalThis[CONSTRUCTOR].prototype[METHOD]);\n};\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nvar navigator = globalThis.navigator;\nvar userAgent = navigator && navigator.userAgent;\n\nmodule.exports = userAgent ? String(userAgent) : '';\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\n\nvar process = globalThis.process;\nvar Deno = globalThis.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = globalThis;\n } else if (STATIC) {\n target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = globalThis[TARGET] && globalThis[TARGET].prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = globalThis.TypeError;\nvar WeakMap = globalThis.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol('assign detection');\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n // eslint-disable-next-line no-useless-assignment -- avoid memory leak\n activeXDocument = null;\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nmodule.exports = globalThis;\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global-this');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n version: '3.38.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n return store[key] || (store[key] = value || {});\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/environment-v8-version');\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\nvar $String = globalThis.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = globalThis.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = globalThis.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n // eslint-disable-next-line es/no-array-prototype-includes -- detection\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineBuiltInAccessor(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({ global: true, forced: globalThis.globalThis !== globalThis }, {\n globalThis: globalThis\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","'use strict';\nvar parent = require('../../es/array/includes');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../../es/function/name');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../es/global-this');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../../es/object/assign');\n\nmodule.exports = parent;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// https://learn.microsoft.com/en-us/office/dev/add-ins/develop/dialog-api-in-office-add-ins\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar dialog;\nfunction dialogCallback(asyncResult) {\n if (asyncResult.status === Office.AsyncResultStatus.Failed) {\n console.log(\"\".concat(asyncResult.error.message, \" [\").concat(asyncResult.error.code, \"]\"));\n }\n else {\n dialog = asyncResult.value;\n // Handle messages and events\n dialog.addEventHandler(Office.EventType.DialogMessageReceived, processMessage);\n dialog.addEventHandler(Office.EventType.DialogEventReceived, processDialogEvent);\n }\n}\nfunction processMessage(arg) {\n dialog.close();\n var _a = arg.message.split(\"|\"), selection = _a[0], callback = _a[1];\n if (callback !== \"\" && callback in globalThis.callbacks) {\n globalThis.callbacks[callback](selection);\n }\n else {\n if (callback !== \"\" && !(callback in globalThis.callbacks)) {\n throw new Error(\"Didn't find callback '\".concat(callback, \"'! Make sure to run xlwings.registerCallback(\").concat(callback, \") before calling runPython.\"));\n }\n }\n}\nfunction processDialogEvent(arg) {\n switch (arg.error) {\n case 12002:\n console.log(\"The dialog box has been directed to a page that it cannot find or load, or the URL syntax is invalid.\");\n break;\n case 12003:\n console.log(\"HTTPS is required.\");\n break;\n case 12006:\n console.log(\"Dialog closed by user\");\n break;\n default:\n console.log(\"Unknown error in dialog box\");\n break;\n }\n}\nexport function xlAlert(prompt, title, buttons, mode, callback) {\n return __awaiter(this, void 0, void 0, function () {\n var width, height, appPathElement, appPath;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, Office.onReady()];\n case 1:\n _a.sent();\n if (Office.context.platform.toString() === \"OfficeOnline\") {\n width = 28;\n height = 36;\n }\n else if (Office.context.platform.toString() === \"PC\") {\n width = 28; // seems to have a wider min width\n height = 40;\n }\n else {\n width = 32;\n height = 30;\n }\n appPathElement = document.getElementById(\"app-path\");\n appPath = appPathElement\n ? JSON.parse(appPathElement.textContent)\n : null;\n if (dialog) {\n dialog.close();\n console.log(\"Closed perviously open dialog to prevent error 12007.\");\n }\n Office.context.ui.displayDialogAsync(window.location.origin +\n (appPath && appPath.appPath !== \"\" ? \"/\".concat(appPath.appPath) : \"\") +\n \"/xlwings/alert?prompt=\" +\n encodeURIComponent(\"\".concat(prompt)) +\n \"&title=\" +\n encodeURIComponent(\"\".concat(title)) +\n \"&buttons=\".concat(buttons, \"&mode=\").concat(mode, \"&callback=\").concat(callback), { height: height, width: width, displayInIframe: true }, dialogCallback);\n return [2 /*return*/];\n }\n });\n });\n}\n","// Office.auth.getAccessToken claims that it does everything that this module does,\n// only it doesn't: https://github.com/OfficeDev/office-js/issues/3298\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar accessToken = null;\nvar isRenewingToken = false;\nvar tokenLock = false;\nvar tokenExpiry = null;\nfunction hasKeyExpired() {\n if (!tokenExpiry) {\n return true;\n }\n var currentTime = Math.floor(Date.now() / 1000); // Convert to seconds\n // Renew 15 minutes before expiry\n return currentTime >= tokenExpiry - 15 * 60;\n}\nfunction renewAccessToken() {\n return __awaiter(this, void 0, void 0, function () {\n var payload, base64, decodedPayload, error_1, token_error;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n console.log(\"Renewing access token\");\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, 4, 5]);\n return [4 /*yield*/, Office.auth.getAccessToken({\n allowSignInPrompt: true,\n allowConsentPrompt: true,\n })];\n case 2:\n accessToken = _a.sent();\n payload = accessToken.split(\".\")[1];\n base64 = payload.replace(/-/g, \"+\").replace(/_/g, \"/\");\n while (base64.length % 4) {\n base64 += \"=\";\n }\n decodedPayload = JSON.parse(window.atob(base64));\n tokenExpiry = decodedPayload.exp;\n accessToken = \"Bearer \" + accessToken;\n return [3 /*break*/, 5];\n case 3:\n error_1 = _a.sent();\n token_error = \"Error \".concat(error_1.code, \": \").concat(error_1.message);\n console.log(token_error);\n // return token error so it can be logged on backend\n accessToken = token_error;\n return [3 /*break*/, 5];\n case 4:\n tokenLock = false;\n return [7 /*endfinally*/];\n case 5: return [2 /*return*/];\n }\n });\n });\n}\nexport function getAccessToken() {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, Office.onReady()];\n case 1:\n _a.sent();\n if (!(!accessToken || hasKeyExpired())) return [3 /*break*/, 5];\n if (!!tokenLock) return [3 /*break*/, 3];\n tokenLock = true;\n isRenewingToken = true;\n return [4 /*yield*/, renewAccessToken()];\n case 2:\n _a.sent();\n isRenewingToken = false;\n return [3 /*break*/, 5];\n case 3:\n if (!isRenewingToken) return [3 /*break*/, 5];\n return [4 /*yield*/, new Promise(function (resolve) { return setTimeout(resolve, 100); })];\n case 4:\n _a.sent();\n return [3 /*break*/, 3];\n case 5: return [2 /*return*/, accessToken];\n }\n });\n });\n}\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nexport function getActiveBookName() {\n return __awaiter(this, void 0, void 0, function () {\n var error_1;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 3, , 4]);\n return [4 /*yield*/, Office.onReady()];\n case 1:\n _a.sent();\n return [4 /*yield*/, Excel.run(function (context) { return __awaiter(_this, void 0, void 0, function () {\n var workbook;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n workbook = context.workbook;\n workbook.load(\"name\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n return [2 /*return*/, workbook.name];\n }\n });\n }); })];\n case 2: return [2 /*return*/, _a.sent()];\n case 3:\n error_1 = _a.sent();\n console.error(error_1);\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n}\n","var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\n// core-js polyfills for ie11\nimport \"core-js/actual/object/assign\";\nimport \"core-js/actual/array/includes\";\nimport \"core-js/actual/global-this\";\nimport \"core-js/actual/function/name\";\nimport { xlAlert } from \"./alert\";\nimport { getAccessToken } from \"./auth\";\nexport { getAccessToken };\nimport { getActiveBookName } from \"./utils\";\nexport { getActiveBookName };\n// Hook up buttons with the click event upon loading xlwings.js\ndocument.addEventListener(\"DOMContentLoaded\", init);\nexport function init() {\n var _this = this;\n var appPathElement = document.getElementById(\"app-path\");\n var appPath = appPathElement\n ? JSON.parse(appPathElement.textContent)\n : null;\n var elements = document.querySelectorAll(\"[xw-click]\");\n elements.forEach(function (element) {\n element.addEventListener(\"click\", function (event) { return __awaiter(_this, void 0, void 0, function () {\n var token, _a, config;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n if (!(typeof globalThis.getAuth === \"function\")) return [3 /*break*/, 2];\n return [4 /*yield*/, globalThis.getAuth()];\n case 1:\n _a = _b.sent();\n return [3 /*break*/, 3];\n case 2:\n _a = \"\";\n _b.label = 3;\n case 3:\n token = _a;\n config = element.getAttribute(\"xw-config\")\n ? JSON.parse(element.getAttribute(\"xw-config\"))\n : {};\n runPython(window.location.origin +\n (appPath && appPath.appPath !== \"\" ? \"/\".concat(appPath.appPath) : \"\") +\n \"/xlwings/custom-scripts-call/\" +\n element.getAttribute(\"xw-click\"), __assign(__assign({}, config), { auth: token }));\n return [2 /*return*/];\n }\n });\n }); });\n });\n}\nvar version = \"0.33.1\";\nglobalThis.callbacks = {};\nexport function runPython() {\n return __awaiter(this, arguments, void 0, function (url, _a) {\n var error_1;\n var _this = this;\n if (url === void 0) { url = \"\"; }\n var _b = _a === void 0 ? {} : _a, _c = _b.auth, auth = _c === void 0 ? \"\" : _c, _d = _b.include, include = _d === void 0 ? \"\" : _d, _e = _b.exclude, exclude = _e === void 0 ? \"\" : _e, _f = _b.headers, headers = _f === void 0 ? {} : _f;\n return __generator(this, function (_g) {\n switch (_g.label) {\n case 0: return [4 /*yield*/, Office.onReady()];\n case 1:\n _g.sent();\n _g.label = 2;\n case 2:\n _g.trys.push([2, 4, , 6]);\n return [4 /*yield*/, Excel.run(function (context) { return __awaiter(_this, void 0, void 0, function () {\n var workbook, worksheets, sheets, configSheet, config, configRange, configValues, includeArray, excludeArray, property, payload, activeSheet, selection, names, namedItems, names2, sheetsLoader, namesSheetScope, namesSheetsScope2, _loop_1, _i, sheetsLoader_1, item, response, rawData, forceSync, _loop_2, _a, _b, action;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n workbook = context.workbook;\n workbook.load(\"name\");\n worksheets = workbook.worksheets;\n worksheets.load(\"items/name\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _c.sent();\n sheets = worksheets.items;\n configSheet = worksheets.getItemOrNullObject(\"xlwings.conf\");\n return [4 /*yield*/, context.sync()];\n case 2:\n _c.sent();\n config = {};\n if (!!configSheet.isNullObject) return [3 /*break*/, 4];\n configRange = configSheet\n .getRange(\"A1\")\n .getSurroundingRegion()\n .load(\"values\");\n return [4 /*yield*/, context.sync()];\n case 3:\n _c.sent();\n configValues = configRange.values;\n configValues.forEach(function (el) { return (config[el[0].toString()] = el[1].toString()); });\n _c.label = 4;\n case 4:\n if (auth === \"\") {\n auth = config[\"AUTH\"] || \"\";\n }\n if (include === \"\") {\n include = config[\"INCLUDE\"] || \"\";\n }\n includeArray = [];\n if (include !== \"\") {\n includeArray = include.split(\",\").map(function (item) { return item.trim(); });\n }\n if (exclude === \"\") {\n exclude = config[\"EXCLUDE\"] || \"\";\n }\n excludeArray = [];\n if (exclude !== \"\") {\n excludeArray = exclude.split(\",\").map(function (item) { return item.trim(); });\n }\n if (includeArray.length > 0 && excludeArray.length > 0) {\n throw \"Either use 'include' or 'exclude', but not both!\";\n }\n if (includeArray.length > 0) {\n sheets.forEach(function (sheet) {\n if (!includeArray.includes(sheet.name)) {\n excludeArray.push(sheet.name);\n }\n });\n }\n if (Object.keys(headers).length === 0) {\n for (property in config) {\n if (property.toLowerCase().startsWith(\"header_\")) {\n headers[property.substring(7)] = config[property];\n }\n }\n }\n if (!(\"Authorization\" in headers) && auth.length > 0) {\n headers[\"Authorization\"] = auth;\n }\n // Standard headers\n headers[\"Content-Type\"] = \"application/json\";\n payload = {};\n payload[\"client\"] = \"Office.js\";\n payload[\"version\"] = version;\n activeSheet = worksheets.getActiveWorksheet().load(\"position\");\n selection = workbook.getSelectedRange().load(\"address\");\n return [4 /*yield*/, context.sync()];\n case 5:\n _c.sent();\n payload[\"book\"] = {\n name: workbook.name,\n active_sheet_index: activeSheet.position,\n selection: selection.address.split(\"!\").pop(),\n };\n names = [];\n namedItems = context.workbook.names.load(\"name, type\");\n return [4 /*yield*/, context.sync()];\n case 6:\n _c.sent();\n namedItems.items.forEach(function (namedItem, ix) {\n // Currently filtering to named ranges\n if (namedItem.type === \"Range\") {\n names.push({\n name: namedItem.name,\n sheet: namedItem.getRange().worksheet.load(\"position\"),\n range: namedItem.getRange().load(\"address\"),\n scope_sheet_name: null,\n scope_sheet_index: null,\n book_scope: true, // workbook.names contains only workbook scope!\n });\n }\n });\n return [4 /*yield*/, context.sync()];\n case 7:\n _c.sent();\n names2 = [];\n names.forEach(function (namedItem, ix) {\n names2.push({\n name: namedItem.name,\n sheet_index: namedItem.sheet.position,\n address: namedItem.range.address.split(\"!\").pop(),\n scope_sheet_name: null,\n scope_sheet_index: null,\n book_scope: namedItem.book_scope,\n });\n });\n payload[\"names\"] = names2;\n // Sheets\n payload[\"sheets\"] = [];\n sheetsLoader = [];\n sheets.forEach(function (sheet) {\n sheet.load(\"name names\");\n var lastCell;\n if (excludeArray.includes(sheet.name)) {\n lastCell = null;\n }\n else if (sheet.getUsedRange() !== undefined) {\n lastCell = sheet.getUsedRange().getLastCell().load(\"address\");\n }\n else {\n lastCell = sheet.getRange(\"A1\").load(\"address\");\n }\n sheetsLoader.push({\n sheet: sheet,\n lastCell: lastCell,\n });\n });\n return [4 /*yield*/, context.sync()];\n case 8:\n _c.sent();\n sheetsLoader.forEach(function (item, ix) {\n if (!excludeArray.includes(item[\"sheet\"].name)) {\n var range = void 0;\n range = item[\"sheet\"]\n .getRange(\"A1:\".concat(item[\"lastCell\"].address))\n .load(\"values, numberFormatCategories\");\n sheetsLoader[ix][\"range\"] = range;\n // Names (sheet scope)\n sheetsLoader[ix][\"names\"] = item[\"sheet\"].names.load(\"name, type\");\n }\n });\n return [4 /*yield*/, context.sync()];\n case 9:\n _c.sent();\n namesSheetScope = [];\n sheetsLoader.forEach(function (item) {\n if (!excludeArray.includes(item[\"sheet\"].name)) {\n item[\"names\"].items.forEach(function (namedItem) {\n namesSheetScope.push({\n name: namedItem.name,\n sheet: namedItem.getRange().worksheet.load(\"position\"),\n range: namedItem.getRange().load(\"address\"),\n scope_sheet: namedItem.worksheet.load(\"name, position\"),\n book_scope: false,\n });\n });\n }\n });\n return [4 /*yield*/, context.sync()];\n case 10:\n _c.sent();\n namesSheetsScope2 = [];\n namesSheetScope.forEach(function (namedItem) {\n namesSheetsScope2.push({\n name: namedItem.name,\n sheet_index: namedItem.sheet.position,\n address: namedItem.range.address.split(\"!\").pop(),\n scope_sheet_name: namedItem.scope_sheet.name,\n scope_sheet_index: namedItem.scope_sheet.position,\n book_scope: namedItem.book_scope,\n });\n });\n // Add sheet scoped names to book scoped names\n payload[\"names\"] = payload[\"names\"].concat(namesSheetsScope2);\n _loop_1 = function (item) {\n var sheet, values, categories_1, tablesArray, tables, tablesLoader, _d, _e, table, _f, tablesLoader_1, table, picturesArray, shapes, _g, _h, shape;\n return __generator(this, function (_j) {\n switch (_j.label) {\n case 0:\n sheet = item[\"sheet\"];\n if (excludeArray.includes(item[\"sheet\"].name)) {\n values = [[]];\n }\n else {\n values = item[\"range\"].values;\n if (Office.context.requirements.isSetSupported(\"ExcelApi\", \"1.12\")) {\n categories_1 = item[\"range\"].numberFormatCategories;\n // Handle dates\n // https://learn.microsoft.com/en-us/office/dev/scripts/resources/samples/excel-samples#dates\n values.forEach(function (valueRow, rowIndex) {\n var categoryRow = categories_1[rowIndex];\n valueRow.forEach(function (value, colIndex) {\n var category = categoryRow[colIndex];\n if ((category.toString() === \"Date\" ||\n category.toString() === \"Time\") &&\n typeof value === \"number\") {\n values[rowIndex][colIndex] = new Date(Math.round((value - 25569) * 86400 * 1000)).toISOString();\n }\n });\n });\n }\n }\n tablesArray = [];\n if (!!excludeArray.includes(item[\"sheet\"].name)) return [3 /*break*/, 3];\n tables = sheet.tables.load([\n \"name\",\n \"showHeaders\",\n \"dataBodyRange\",\n \"showTotals\",\n \"style\",\n \"showFilterButton\",\n ]);\n return [4 /*yield*/, context.sync()];\n case 1:\n _j.sent();\n tablesLoader = [];\n for (_d = 0, _e = sheet.tables.items; _d < _e.length; _d++) {\n table = _e[_d];\n tablesLoader.push({\n name: table.name,\n showHeaders: table.showHeaders,\n showTotals: table.showTotals,\n style: table.style,\n showFilterButton: table.showFilterButton,\n range: table.getRange().load(\"address\"),\n dataBodyRange: table.getDataBodyRange().load(\"address\"),\n headerRowRange: table.showHeaders\n ? table.getHeaderRowRange().load(\"address\")\n : null,\n totalRowRange: table.showTotals\n ? table.getTotalRowRange().load(\"address\")\n : null,\n });\n }\n return [4 /*yield*/, context.sync()];\n case 2:\n _j.sent();\n for (_f = 0, tablesLoader_1 = tablesLoader; _f < tablesLoader_1.length; _f++) {\n table = tablesLoader_1[_f];\n tablesArray.push({\n name: table.name,\n range_address: table.range.address.split(\"!\").pop(),\n header_row_range_address: table.showHeaders\n ? table.headerRowRange.address.split(\"!\").pop()\n : null,\n data_body_range_address: table.dataBodyRange.address\n .split(\"!\")\n .pop(),\n total_row_range_address: table.showTotals\n ? table.totalRowRange.address.split(\"!\").pop()\n : null,\n show_headers: table.showHeaders,\n show_totals: table.showTotals,\n table_style: table.style,\n show_autofilter: table.showFilterButton,\n });\n }\n _j.label = 3;\n case 3:\n picturesArray = [];\n if (!!excludeArray.includes(item[\"sheet\"].name)) return [3 /*break*/, 5];\n shapes = sheet.shapes.load([\"name\", \"width\", \"height\", \"type\"]);\n return [4 /*yield*/, context.sync()];\n case 4:\n _j.sent();\n for (_g = 0, _h = sheet.shapes.items; _g < _h.length; _g++) {\n shape = _h[_g];\n if (shape.type == Excel.ShapeType.image) {\n picturesArray.push({\n name: shape.name,\n height: shape.height,\n width: shape.width,\n });\n }\n }\n _j.label = 5;\n case 5:\n payload[\"sheets\"].push({\n name: item[\"sheet\"].name,\n values: values,\n pictures: picturesArray,\n tables: tablesArray,\n });\n return [2 /*return*/];\n }\n });\n };\n _i = 0, sheetsLoader_1 = sheetsLoader;\n _c.label = 11;\n case 11:\n if (!(_i < sheetsLoader_1.length)) return [3 /*break*/, 14];\n item = sheetsLoader_1[_i];\n return [5 /*yield**/, _loop_1(item)];\n case 12:\n _c.sent();\n _c.label = 13;\n case 13:\n _i++;\n return [3 /*break*/, 11];\n case 14: return [4 /*yield*/, fetch(url, {\n method: \"POST\",\n headers: headers,\n body: JSON.stringify(payload),\n })];\n case 15:\n response = _c.sent();\n if (!(response.status !== 200)) return [3 /*break*/, 17];\n return [4 /*yield*/, response.text()];\n case 16: throw _c.sent();\n case 17: return [4 /*yield*/, response.json()];\n case 18:\n rawData = _c.sent();\n _c.label = 19;\n case 19:\n if (!(rawData !== null)) return [3 /*break*/, 23];\n forceSync = [\"sheet\"];\n _loop_2 = function (action) {\n return __generator(this, function (_k) {\n switch (_k.label) {\n case 0: return [4 /*yield*/, globalThis.callbacks[action.func](context, action)];\n case 1:\n _k.sent();\n if (!forceSync.some(function (el) { return action.func.toLowerCase().includes(el); })) return [3 /*break*/, 3];\n return [4 /*yield*/, context.sync()];\n case 2:\n _k.sent();\n _k.label = 3;\n case 3: return [2 /*return*/];\n }\n });\n };\n _a = 0, _b = rawData[\"actions\"];\n _c.label = 20;\n case 20:\n if (!(_a < _b.length)) return [3 /*break*/, 23];\n action = _b[_a];\n return [5 /*yield**/, _loop_2(action)];\n case 21:\n _c.sent();\n _c.label = 22;\n case 22:\n _a++;\n return [3 /*break*/, 20];\n case 23: return [2 /*return*/];\n }\n });\n }); })];\n case 3:\n _g.sent();\n return [3 /*break*/, 6];\n case 4:\n error_1 = _g.sent();\n console.error(error_1);\n return [4 /*yield*/, xlAlert(error_1, \"Error\", \"ok\", \"critical\", \"\")];\n case 5:\n _g.sent();\n return [3 /*break*/, 6];\n case 6: return [2 /*return*/];\n }\n });\n });\n}\nfunction getRange(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n sheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n return [2 /*return*/, sheets.items[action[\"sheet_position\"]].getRangeByIndexes(action.start_row, action.start_column, action.row_count, action.column_count)];\n }\n });\n });\n}\nfunction getSheet(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n sheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n return [2 /*return*/, sheets.items[action.sheet_position]];\n }\n });\n });\n}\nfunction getTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheets, tables;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n sheets = context.workbook.worksheets.load(\"items\");\n tables = sheets.items[action.sheet_position].tables.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n return [2 /*return*/, tables.items[parseInt(action.args[0].toString())]];\n }\n });\n });\n}\nfunction getShapeByType(context, sheetPosition, shapeIndex, shapeType) {\n return __awaiter(this, void 0, void 0, function () {\n var sheets, shapes, myshapes;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n sheets = context.workbook.worksheets.load(\"items\");\n shapes = sheets.items[sheetPosition].shapes.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n myshapes = shapes.items.filter(function (shape) { return shape.type === shapeType; });\n return [2 /*return*/, myshapes[shapeIndex]];\n }\n });\n });\n}\nexport function registerCallback(callback) {\n globalThis.callbacks[callback.name] = callback;\n}\n// Functions map\n// Didn't find a way to use registerCallback so that webpack won't strip out these\n// functions when optimizing\nvar funcs = {\n setValues: setValues,\n addSheet: addSheet,\n setSheetName: setSheetName,\n setAutofit: setAutofit,\n setRangeColor: setRangeColor,\n activateSheet: activateSheet,\n addHyperlink: addHyperlink,\n setNumberFormat: setNumberFormat,\n setPictureName: setPictureName,\n setPictureWidth: setPictureWidth,\n setPictureHeight: setPictureHeight,\n deletePicture: deletePicture,\n addPicture: addPicture,\n updatePicture: updatePicture,\n alert: alert,\n setRangeName: setRangeName,\n namesAdd: namesAdd,\n nameDelete: nameDelete,\n runMacro: runMacro,\n rangeDelete: rangeDelete,\n rangeInsert: rangeInsert,\n rangeSelect: rangeSelect,\n rangeClearContents: rangeClearContents,\n rangeClearFormats: rangeClearFormats,\n rangeGroup: rangeGroup,\n rangeUngroup: rangeUngroup,\n rangeClear: rangeClear,\n rangeAdjustIndent: rangeAdjustIndent,\n addTable: addTable,\n setTableName: setTableName,\n resizeTable: resizeTable,\n showAutofilterTable: showAutofilterTable,\n showHeadersTable: showHeadersTable,\n showTotalsTable: showTotalsTable,\n setTableStyle: setTableStyle,\n copyRange: copyRange,\n sheetDelete: sheetDelete,\n sheetClear: sheetClear,\n sheetClearFormats: sheetClearFormats,\n sheetClearContents: sheetClearContents,\n freezePaneAtRange: freezePaneAtRange,\n freezePaneUnfreeze: freezePaneUnfreeze,\n};\nObject.assign(globalThis.callbacks, funcs);\n// Callbacks\nfunction setValues(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var dt, dtString, range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n action.values.forEach(function (valueRow, rowIndex) {\n valueRow.forEach(function (value, colIndex) {\n if (typeof value === \"string\" &&\n value.length > 18 &&\n value.includes(\"T\")) {\n dt = new Date(Date.parse(value));\n // Excel on macOS does use the wrong locale if you set a custom one via\n // macOS Settings > Date & Time > Open Language & Region > Apps\n // as the date format seems to stick to the Region selected under General\n // while toLocaleDateString then respects the specific selected language.\n // Providing Office.context.contentLanguage fixes this but isn't available for\n // Office Scripts\n // https://learn.microsoft.com/en-us/office/dev/add-ins/develop/localization#match-datetime-format-with-client-locale\n dtString = dt.toLocaleDateString(Office.context.contentLanguage);\n // Note that adding the time will format the cell as Custom instead of Date/Time\n // which xlwings currently doesn't translate to datetime when reading\n if (dtString !== \"Invalid Date\") {\n if (dt.getHours() +\n dt.getMinutes() +\n dt.getSeconds() +\n dt.getMilliseconds() !==\n 0) {\n dtString += \" \" + dt.toLocaleTimeString();\n }\n action.values[rowIndex][colIndex] = dtString;\n }\n }\n });\n });\n return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.values = action.values;\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeClearContents(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.clear(Excel.ClearApplyTo.contents);\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeClearFormats(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.clear(Excel.ClearApplyTo.formats);\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeClear(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.clear(Excel.ClearApplyTo.all);\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction addSheet(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheet;\n return __generator(this, function (_a) {\n if (action.args[1] !== null) {\n sheet = context.workbook.worksheets.add(action.args[1].toString());\n }\n else {\n sheet = context.workbook.worksheets.add();\n }\n sheet.position = parseInt(action.args[0].toString());\n return [2 /*return*/];\n });\n });\n}\nfunction setSheetName(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheets;\n return __generator(this, function (_a) {\n sheets = context.workbook.worksheets.load(\"items\");\n sheets.items[action.sheet_position].name = action.args[0].toString();\n return [2 /*return*/];\n });\n });\n}\nfunction setAutofit(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range, range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!(action.args[0] === \"columns\")) return [3 /*break*/, 2];\n return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.format.autofitColumns();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, getRange(context, action)];\n case 3:\n range = _a.sent();\n range.format.autofitRows();\n _a.label = 4;\n case 4: return [2 /*return*/];\n }\n });\n });\n}\nfunction setRangeColor(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.format.fill.color = action.args[0].toString();\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction activateSheet(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets;\n worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n worksheets.items[parseInt(action.args[0].toString())].activate();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction addHyperlink(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range, hyperlink;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n hyperlink = {\n textToDisplay: action.args[1].toString(),\n screenTip: action.args[2].toString(),\n address: action.args[0].toString(),\n };\n range.hyperlink = hyperlink;\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setNumberFormat(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.numberFormat = [[action.args[0].toString()]];\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setPictureName(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myshape;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getShapeByType(context, action.sheet_position, Number(action.args[0]), Excel.ShapeType.image)];\n case 1:\n myshape = _a.sent();\n myshape.name = action.args[1].toString();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setPictureHeight(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myshape;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getShapeByType(context, action.sheet_position, Number(action.args[0]), Excel.ShapeType.image)];\n case 1:\n myshape = _a.sent();\n myshape.height = Number(action.args[1]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setPictureWidth(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myshape;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getShapeByType(context, action.sheet_position, Number(action.args[0]), Excel.ShapeType.image)];\n case 1:\n myshape = _a.sent();\n myshape.width = Number(action.args[1]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction deletePicture(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myshape;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getShapeByType(context, action.sheet_position, Number(action.args[0]), Excel.ShapeType.image)];\n case 1:\n myshape = _a.sent();\n myshape.delete();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction addPicture(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var imageBase64, colIndex, rowIndex, left, top, sheet, anchorCell, image;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n imageBase64 = action[\"args\"][0].toString();\n colIndex = Number(action[\"args\"][1]);\n rowIndex = Number(action[\"args\"][2]);\n left = Number(action[\"args\"][3]);\n top = Number(action[\"args\"][4]);\n return [4 /*yield*/, getSheet(context, action)];\n case 1:\n sheet = _a.sent();\n anchorCell = sheet\n .getRangeByIndexes(rowIndex, colIndex, 1, 1)\n .load(\"left, top\");\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n left = Math.max(left, anchorCell.left);\n top = Math.max(top, anchorCell.top);\n image = sheet.shapes.addImage(imageBase64);\n image.left = left;\n image.top = top;\n return [2 /*return*/];\n }\n });\n });\n}\nfunction updatePicture(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var imageBase64, sheet, image, imgName, imgLeft, imgTop, imgHeight, imgWidth, newImage;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n imageBase64 = action[\"args\"][0].toString();\n return [4 /*yield*/, getSheet(context, action)];\n case 1:\n sheet = _a.sent();\n return [4 /*yield*/, getShapeByType(context, action.sheet_position, Number(action.args[1]), Excel.ShapeType.image)];\n case 2:\n image = _a.sent();\n image = image.load(\"name, left, top, height, width\");\n return [4 /*yield*/, context.sync()];\n case 3:\n _a.sent();\n imgName = image.name;\n imgLeft = image.left;\n imgTop = image.top;\n imgHeight = image.height;\n imgWidth = image.width;\n image.delete();\n newImage = sheet.shapes.addImage(imageBase64);\n newImage.name = imgName;\n newImage.left = imgLeft;\n newImage.top = imgTop;\n newImage.height = imgHeight;\n newImage.width = imgWidth;\n return [2 /*return*/];\n }\n });\n });\n}\nfunction alert(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myPrompt, myTitle, myButtons, myMode, myCallback;\n return __generator(this, function (_a) {\n myPrompt = action.args[0].toString();\n myTitle = action.args[1].toString();\n myButtons = action.args[2].toString();\n myMode = action.args[3].toString();\n myCallback = action.args[4].toString();\n xlAlert(myPrompt, myTitle, myButtons, myMode, myCallback);\n return [2 /*return*/];\n });\n });\n}\nfunction setRangeName(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n context.workbook.names.add(action.args[0].toString(), range);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction namesAdd(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var name, refersTo, sheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n name = action.args[0].toString();\n refersTo = action.args[1].toString();\n if (!(action.sheet_position === null)) return [3 /*break*/, 1];\n context.workbook.names.add(name, refersTo);\n return [3 /*break*/, 3];\n case 1:\n sheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n sheets.items[action.sheet_position].names.add(name, refersTo);\n _a.label = 3;\n case 3: return [2 /*return*/];\n }\n });\n });\n}\nfunction nameDelete(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var name, book_scope, scope_sheet_index, sheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n name = action.args[2].toString();\n book_scope = Boolean(action.args[4]);\n scope_sheet_index = Number(action.args[5]);\n if (!(book_scope === true)) return [3 /*break*/, 1];\n context.workbook.names.getItem(name).delete();\n return [3 /*break*/, 3];\n case 1:\n sheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n sheets.items[scope_sheet_index].names.getItem(name).delete();\n _a.label = 3;\n case 3: return [2 /*return*/];\n }\n });\n });\n}\nfunction runMacro(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0: return [4 /*yield*/, (_a = globalThis.callbacks)[action.args[0].toString()].apply(_a, __spreadArray([context], action.args.slice(1), false))];\n case 1:\n _b.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeDelete(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range, shift;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n shift = action.args[0].toString();\n if (shift === \"up\") {\n range.delete(Excel.DeleteShiftDirection.up);\n }\n else if (shift === \"left\") {\n range.delete(Excel.DeleteShiftDirection.left);\n }\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeInsert(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range, shift;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n shift = action.args[0].toString();\n if (shift === \"down\") {\n range.insert(Excel.InsertShiftDirection.down);\n }\n else if (shift === \"right\") {\n range.insert(Excel.InsertShiftDirection.right);\n }\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeSelect(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.select();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction addTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets, mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n mytable = worksheets.items[action.sheet_position].tables.add(action.args[0].toString(), Boolean(action.args[1]));\n if (action.args[2] !== null) {\n mytable.style = action.args[2].toString();\n }\n if (action.args[3] !== null) {\n mytable.name = action.args[3].toString();\n }\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setTableName(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.name = action.args[1].toString();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction resizeTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.resize(action.args[1].toString());\n return [2 /*return*/];\n }\n });\n });\n}\nfunction showAutofilterTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.showFilterButton = Boolean(action.args[1]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction showHeadersTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.showHeaders = Boolean(action.args[1]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction showTotalsTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.showTotals = Boolean(action.args[1]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setTableStyle(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.style = action.args[1].toString();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction copyRange(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var destination, _a, _b;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n destination = context.workbook.worksheets.items[parseInt(action.args[0].toString())].getRange(action.args[1].toString());\n _b = (_a = destination).copyFrom;\n return [4 /*yield*/, getRange(context, action)];\n case 1:\n _b.apply(_a, [_c.sent()]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction sheetDelete(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n worksheets.items[action.sheet_position].delete();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction sheetClear(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n worksheets.items[action.sheet_position]\n .getRanges()\n .clear(Excel.ClearApplyTo.all);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction sheetClearFormats(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n worksheets.items[action.sheet_position]\n .getRanges()\n .clear(Excel.ClearApplyTo.formats);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction sheetClearContents(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n worksheets.items[action.sheet_position]\n .getRanges()\n .clear(Excel.ClearApplyTo.contents);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeGroup(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myrange;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n myrange = _a.sent();\n if (action.args[0].toString() == \"columns\") {\n myrange.group(Excel.GroupOption.byColumns);\n }\n else {\n myrange.group(Excel.GroupOption.byRows);\n }\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeUngroup(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myrange;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n myrange = _a.sent();\n if (action.args[0].toString() == \"columns\") {\n myrange.ungroup(Excel.GroupOption.byColumns);\n }\n else {\n myrange.ungroup(Excel.GroupOption.byRows);\n }\n return [2 /*return*/];\n }\n });\n });\n}\nfunction freezePaneAtRange(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheet, range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getSheet(context, action)];\n case 1:\n sheet = _a.sent();\n range = sheet.getRange(action.args[0].toString());\n sheet.freezePanes.freezeAt(range);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction freezePaneUnfreeze(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheet;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getSheet(context, action)];\n case 1:\n sheet = _a.sent();\n sheet.freezePanes.unfreeze();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeAdjustIndent(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.format.adjustIndent(parseInt(action.args[0].toString()));\n return [2 /*return*/];\n }\n });\n });\n}\n"],"names":["parent","module","exports","entryUnbind","path","Object","assign","isCallable","tryToString","$TypeError","TypeError","argument","wellKnownSymbol","create","defineProperty","UNSCOPABLES","ArrayPrototype","Array","prototype","undefined","configurable","value","key","isObject","$String","String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","O","length","index","includes","indexOf","uncurryThis","toString","stringSlice","slice","it","hasOwn","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","target","source","exceptions","keys","f","getOwnPropertyDescriptor","i","DESCRIPTORS","createPropertyDescriptor","object","bitmap","enumerable","writable","makeBuiltIn","name","descriptor","get","getter","set","setter","defineGlobalProperty","options","simple","global","unsafe","error","nonConfigurable","nonWritable","globalThis","fails","document","EXISTS","createElement","CONSTRUCTOR","METHOD","navigator","userAgent","match","version","process","Deno","versions","v8","split","createNonEnumerableProperty","defineBuiltIn","copyConstructorProperties","isForced","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","forced","sham","exec","test","bind","hasOwnProperty","NATIVE_BIND","call","Function","apply","arguments","FunctionPrototype","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","fn","namespace","method","aCallable","isNullOrUndefined","V","P","func","check","Math","window","self","g","this","toObject","getBuiltIn","a","classof","$Object","propertyIsEnumerable","store","functionToString","inspectSource","has","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","state","metadata","facade","STATE","enforce","getterFor","TYPE","type","documentAll","all","replacement","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","toLength","obj","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","join","CONFIGURABLE_LENGTH","TEMPLATE","arity","constructor","ceil","floor","trunc","x","n","objectKeys","getOwnPropertySymbolsModule","propertyIsEnumerableModule","IndexedObject","$assign","concat","b","A","B","symbol","Symbol","alphabet","forEach","chr","T","argumentsLength","getOwnPropertySymbols","S","j","activeXDocument","anObject","definePropertiesModule","enumBugKeys","html","documentCreateElement","PROTOTYPE","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","iframeDocument","iframe","JS","domain","style","display","appendChild","src","contentWindow","open","F","Properties","result","V8_PROTOTYPE_DEFINE_BUG","defineProperties","props","IE8_DOM_DEFINE","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","internalObjectKeys","getOwnPropertyNames","push","names","$propertyIsEnumerable","NASHORN_BUG","input","pref","val","valueOf","getOwnPropertyNamesModule","uid","IS_PURE","SHARED","mode","copyright","license","V8_VERSION","toIntegerOrInfinity","max","min","integer","requireObjectCoercible","number","len","isSymbol","getMethod","ordinaryToPrimitive","TO_PRIMITIVE","exoticToPrim","toPrimitive","id","postfix","random","NATIVE_SYMBOL","iterator","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","$","$includes","addToUnscopables","proto","FUNCTION_NAME_EXISTS","defineBuiltInAccessor","nameRE","regExpExec","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","d","definition","o","e","prop","r","toStringTag","dialog","__awaiter","thisArg","_arguments","generator","Promise","resolve","reject","fulfilled","step","next","rejected","done","then","__generator","body","y","t","_","label","sent","trys","ops","Iterator","verb","v","op","pop","dialogCallback","asyncResult","status","Office","AsyncResultStatus","Failed","console","log","message","code","addEventHandler","EventType","DialogMessageReceived","processMessage","DialogEventReceived","processDialogEvent","arg","_a","selection","callback","callbacks","Error","xlAlert","prompt","title","buttons","width","height","appPathElement","appPath","onReady","context","platform","getElementById","JSON","parse","textContent","ui","displayDialogAsync","location","origin","encodeURIComponent","displayInIframe","accessToken","isRenewingToken","tokenLock","tokenExpiry","renewAccessToken","payload","base64","decodedPayload","error_1","token_error","auth","getAccessToken","allowSignInPrompt","allowConsentPrompt","atob","exp","Date","now","setTimeout","getActiveBookName","_this","Excel","run","workbook","load","sync","__assign","s","p","__spreadArray","to","from","pack","ar","l","init","querySelectorAll","element","addEventListener","event","token","config","_b","getAuth","getAttribute","runPython","url","_c","_d","include","_e","exclude","_f","headers","_g","worksheets","sheets","configSheet","configRange","includeArray","excludeArray","property","activeSheet","namedItems","names2","sheetsLoader","namesSheetScope","namesSheetsScope2","_loop_1","_i","sheetsLoader_1","item","response","rawData","forceSync","_loop_2","action","items","getItemOrNullObject","isNullObject","getRange","getSurroundingRegion","values","map","trim","sheet","startsWith","substring","getActiveWorksheet","getSelectedRange","active_sheet_index","position","address","namedItem","ix","worksheet","range","scope_sheet_name","scope_sheet_index","book_scope","sheet_index","lastCell","getUsedRange","getLastCell","scope_sheet","categories_1","tablesArray","tablesLoader","tablesLoader_1","table","picturesArray","_h","shape","_j","requirements","isSetSupported","numberFormatCategories","valueRow","rowIndex","categoryRow","colIndex","category","round","toISOString","tables","showHeaders","showTotals","showFilterButton","dataBodyRange","getDataBodyRange","headerRowRange","getHeaderRowRange","totalRowRange","getTotalRowRange","range_address","header_row_range_address","data_body_range_address","total_row_range_address","show_headers","show_totals","table_style","show_autofilter","shapes","ShapeType","image","pictures","fetch","stringify","text","json","_k","some","getRangeByIndexes","start_row","start_column","row_count","column_count","getSheet","sheet_position","getTable","parseInt","args","getShapeByType","sheetPosition","shapeIndex","shapeType","filter","registerCallback","funcs","setValues","dt","dtString","toLocaleDateString","contentLanguage","getHours","getMinutes","getSeconds","getMilliseconds","toLocaleTimeString","addSheet","add","setSheetName","setAutofit","format","autofitColumns","autofitRows","setRangeColor","fill","color","activateSheet","activate","addHyperlink","hyperlink","textToDisplay","screenTip","setNumberFormat","numberFormat","setPictureName","Number","setPictureWidth","setPictureHeight","deletePicture","delete","addPicture","imageBase64","left","top","anchorCell","addImage","updatePicture","imgName","imgLeft","imgTop","imgHeight","imgWidth","newImage","alert","myPrompt","myTitle","myButtons","myMode","myCallback","setRangeName","namesAdd","refersTo","nameDelete","Boolean","getItem","runMacro","rangeDelete","shift","DeleteShiftDirection","up","rangeInsert","insert","InsertShiftDirection","down","right","rangeSelect","select","rangeClearContents","clear","ClearApplyTo","contents","rangeClearFormats","formats","rangeGroup","myrange","group","GroupOption","byColumns","byRows","rangeUngroup","ungroup","rangeClear","rangeAdjustIndent","adjustIndent","addTable","mytable","setTableName","resizeTable","resize","showAutofilterTable","showHeadersTable","showTotalsTable","setTableStyle","copyRange","destination","copyFrom","sheetDelete","sheetClear","getRanges","sheetClearFormats","sheetClearContents","freezePaneAtRange","freezePanes","freezeAt","freezePaneUnfreeze","unfreeze"],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"xlwings.min.js","mappings":"iEACA,IAAIA,EAAS,EAAQ,MAErBC,EAAOC,QAAUF,C,uBCFjB,IAAIA,EAAS,EAAQ,MAErBC,EAAOC,QAAUF,C,uBCFjB,IAAIA,EAAS,EAAQ,KAErBC,EAAOC,QAAUF,C,uBCFjB,IAAIA,EAAS,EAAQ,MAErBC,EAAOC,QAAUF,C,uBCFjB,EAAQ,MACR,IAAIG,EAAc,EAAQ,MAE1BF,EAAOC,QAAUC,EAAY,QAAS,W,uBCHtC,EAAQ,K,uBCAR,EAAQ,MAERF,EAAOC,QAAU,EAAjB,K,uBCFA,EAAQ,MACR,IAAIE,EAAO,EAAQ,MAEnBH,EAAOC,QAAUE,EAAKC,OAAOC,M,uBCH7B,IAAIC,EAAa,EAAQ,MACrBC,EAAc,EAAQ,MAEtBC,EAAaC,UAGjBT,EAAOC,QAAU,SAAUS,GACzB,GAAIJ,EAAWI,GAAW,OAAOA,EACjC,MAAM,IAAIF,EAAWD,EAAYG,GAAY,qBAC/C,C,uBCTA,IAAIC,EAAkB,EAAQ,MAC1BC,EAAS,EAAQ,MACjBC,EAAiB,UAEjBC,EAAcH,EAAgB,eAC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K,SACvC,CAAC,EAAapC,EAAQqC,QACjC,KAAK,EAKD,OAJAnD,EAAGzB,OACHqH,EAAWsB,MAAMD,EAAOkF,gBACnBgH,YACA9B,MAAMtO,MAAMuO,aAAaC,UACvB,CAAC,GAEpB,GACJ,GACJ,EAjqBI+B,kBAwsBJ,SAA2BxS,EAASmG,GAChC,OAAO,EAAUhV,UAAM,OAAQ,GAAQ,WACnC,IAAIyV,EAAOW,EACX,OAAO,EAAYpW,MAAM,SAAU+N,GAC/B,OAAQA,EAAG1B,OACP,KAAK,EAAG,MAAO,CAAC,EAAa4N,EAASpL,EAASmG,IAC/C,KAAK,EAID,OAHAS,EAAQ1H,EAAGzB,OACX8J,EAAQX,EAAML,SAASJ,EAAOqF,KAAK,GAAGjgB,YACtCqb,EAAM6L,YAAYC,SAASnL,GACpB,CAAC,GAEpB,GACJ,GACJ,EArtBIoL,mBAstBJ,SAA4B3S,EAASmG,GACjC,OAAO,EAAUhV,UAAM,OAAQ,GAAQ,WAEnC,OAAO,EAAYA,MAAM,SAAU+N,GAC/B,OAAQA,EAAG1B,OACP,KAAK,EAAG,MAAO,CAAC,EAAa4N,EAASpL,EAASmG,IAC/C,KAAK,EAGD,OAFQjH,EAAGzB,OACLgV,YAAYG,WACX,CAAC,GAEpB,GACJ,GACJ,GAjuBAxpB,OAAOC,OAAOsE,WAAW0R,UAAW0M,G","sources":["webpack://xlwings/./node_modules/core-js/actual/array/includes.js","webpack://xlwings/./node_modules/core-js/actual/function/name.js","webpack://xlwings/./node_modules/core-js/actual/global-this.js","webpack://xlwings/./node_modules/core-js/actual/object/assign.js","webpack://xlwings/./node_modules/core-js/es/array/includes.js","webpack://xlwings/./node_modules/core-js/es/function/name.js","webpack://xlwings/./node_modules/core-js/es/global-this.js","webpack://xlwings/./node_modules/core-js/es/object/assign.js","webpack://xlwings/./node_modules/core-js/internals/a-callable.js","webpack://xlwings/./node_modules/core-js/internals/add-to-unscopables.js","webpack://xlwings/./node_modules/core-js/internals/an-object.js","webpack://xlwings/./node_modules/core-js/internals/array-includes.js","webpack://xlwings/./node_modules/core-js/internals/classof-raw.js","webpack://xlwings/./node_modules/core-js/internals/copy-constructor-properties.js","webpack://xlwings/./node_modules/core-js/internals/create-non-enumerable-property.js","webpack://xlwings/./node_modules/core-js/internals/create-property-descriptor.js","webpack://xlwings/./node_modules/core-js/internals/define-built-in-accessor.js","webpack://xlwings/./node_modules/core-js/internals/define-built-in.js","webpack://xlwings/./node_modules/core-js/internals/define-global-property.js","webpack://xlwings/./node_modules/core-js/internals/descriptors.js","webpack://xlwings/./node_modules/core-js/internals/document-create-element.js","webpack://xlwings/./node_modules/core-js/internals/entry-unbind.js","webpack://xlwings/./node_modules/core-js/internals/enum-bug-keys.js","webpack://xlwings/./node_modules/core-js/internals/environment-user-agent.js","webpack://xlwings/./node_modules/core-js/internals/environment-v8-version.js","webpack://xlwings/./node_modules/core-js/internals/export.js","webpack://xlwings/./node_modules/core-js/internals/fails.js","webpack://xlwings/./node_modules/core-js/internals/function-bind-native.js","webpack://xlwings/./node_modules/core-js/internals/function-call.js","webpack://xlwings/./node_modules/core-js/internals/function-name.js","webpack://xlwings/./node_modules/core-js/internals/function-uncurry-this.js","webpack://xlwings/./node_modules/core-js/internals/get-built-in.js","webpack://xlwings/./node_modules/core-js/internals/get-method.js","webpack://xlwings/./node_modules/core-js/internals/global-this.js","webpack://xlwings/./node_modules/core-js/internals/has-own-property.js","webpack://xlwings/./node_modules/core-js/internals/hidden-keys.js","webpack://xlwings/./node_modules/core-js/internals/html.js","webpack://xlwings/./node_modules/core-js/internals/ie8-dom-define.js","webpack://xlwings/./node_modules/core-js/internals/indexed-object.js","webpack://xlwings/./node_modules/core-js/internals/inspect-source.js","webpack://xlwings/./node_modules/core-js/internals/internal-state.js","webpack://xlwings/./node_modules/core-js/internals/is-callable.js","webpack://xlwings/./node_modules/core-js/internals/is-forced.js","webpack://xlwings/./node_modules/core-js/internals/is-null-or-undefined.js","webpack://xlwings/./node_modules/core-js/internals/is-object.js","webpack://xlwings/./node_modules/core-js/internals/is-pure.js","webpack://xlwings/./node_modules/core-js/internals/is-symbol.js","webpack://xlwings/./node_modules/core-js/internals/length-of-array-like.js","webpack://xlwings/./node_modules/core-js/internals/make-built-in.js","webpack://xlwings/./node_modules/core-js/internals/math-trunc.js","webpack://xlwings/./node_modules/core-js/internals/object-assign.js","webpack://xlwings/./node_modules/core-js/internals/object-create.js","webpack://xlwings/./node_modules/core-js/internals/object-define-properties.js","webpack://xlwings/./node_modules/core-js/internals/object-define-property.js","webpack://xlwings/./node_modules/core-js/internals/object-get-own-property-descriptor.js","webpack://xlwings/./node_modules/core-js/internals/object-get-own-property-names.js","webpack://xlwings/./node_modules/core-js/internals/object-get-own-property-symbols.js","webpack://xlwings/./node_modules/core-js/internals/object-is-prototype-of.js","webpack://xlwings/./node_modules/core-js/internals/object-keys-internal.js","webpack://xlwings/./node_modules/core-js/internals/object-keys.js","webpack://xlwings/./node_modules/core-js/internals/object-property-is-enumerable.js","webpack://xlwings/./node_modules/core-js/internals/ordinary-to-primitive.js","webpack://xlwings/./node_modules/core-js/internals/own-keys.js","webpack://xlwings/./node_modules/core-js/internals/path.js","webpack://xlwings/./node_modules/core-js/internals/require-object-coercible.js","webpack://xlwings/./node_modules/core-js/internals/shared-key.js","webpack://xlwings/./node_modules/core-js/internals/shared-store.js","webpack://xlwings/./node_modules/core-js/internals/shared.js","webpack://xlwings/./node_modules/core-js/internals/symbol-constructor-detection.js","webpack://xlwings/./node_modules/core-js/internals/to-absolute-index.js","webpack://xlwings/./node_modules/core-js/internals/to-indexed-object.js","webpack://xlwings/./node_modules/core-js/internals/to-integer-or-infinity.js","webpack://xlwings/./node_modules/core-js/internals/to-length.js","webpack://xlwings/./node_modules/core-js/internals/to-object.js","webpack://xlwings/./node_modules/core-js/internals/to-primitive.js","webpack://xlwings/./node_modules/core-js/internals/to-property-key.js","webpack://xlwings/./node_modules/core-js/internals/try-to-string.js","webpack://xlwings/./node_modules/core-js/internals/uid.js","webpack://xlwings/./node_modules/core-js/internals/use-symbol-as-uid.js","webpack://xlwings/./node_modules/core-js/internals/v8-prototype-define-bug.js","webpack://xlwings/./node_modules/core-js/internals/weak-map-basic-detection.js","webpack://xlwings/./node_modules/core-js/internals/well-known-symbol.js","webpack://xlwings/./node_modules/core-js/modules/es.array.includes.js","webpack://xlwings/./node_modules/core-js/modules/es.function.name.js","webpack://xlwings/./node_modules/core-js/modules/es.global-this.js","webpack://xlwings/./node_modules/core-js/modules/es.object.assign.js","webpack://xlwings/./node_modules/core-js/stable/array/includes.js","webpack://xlwings/./node_modules/core-js/stable/function/name.js","webpack://xlwings/./node_modules/core-js/stable/global-this.js","webpack://xlwings/./node_modules/core-js/stable/object/assign.js","webpack://xlwings/webpack/bootstrap","webpack://xlwings/webpack/runtime/define property getters","webpack://xlwings/webpack/runtime/global","webpack://xlwings/webpack/runtime/hasOwnProperty shorthand","webpack://xlwings/webpack/runtime/make namespace object","webpack://xlwings/./src/alert.ts","webpack://xlwings/./src/auth.ts","webpack://xlwings/./src/utils.ts","webpack://xlwings/./src/xlwings.ts"],"sourcesContent":["'use strict';\nvar parent = require('../../stable/array/includes');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../../stable/function/name');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../stable/global-this');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../../stable/object/assign');\n\nmodule.exports = parent;\n","'use strict';\nrequire('../../modules/es.array.includes');\nvar entryUnbind = require('../../internals/entry-unbind');\n\nmodule.exports = entryUnbind('Array', 'includes');\n","'use strict';\nrequire('../../modules/es.function.name');\n","'use strict';\nrequire('../modules/es.global-this');\n\nmodule.exports = require('../internals/global-this');\n","'use strict';\nrequire('../../modules/es.object.assign');\nvar path = require('../../internals/path');\n\nmodule.exports = path.Object.assign;\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar tryToString = require('../internals/try-to-string');\n\nvar $TypeError = TypeError;\n\n// `Assert: IsCallable(argument) is true`\nmodule.exports = function (argument) {\n if (isCallable(argument)) return argument;\n throw new $TypeError(tryToString(argument) + ' is not a function');\n};\n","'use strict';\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar create = require('../internals/object-create');\nvar defineProperty = require('../internals/object-define-property').f;\n\nvar UNSCOPABLES = wellKnownSymbol('unscopables');\nvar ArrayPrototype = Array.prototype;\n\n// Array.prototype[@@unscopables]\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\nif (ArrayPrototype[UNSCOPABLES] === undefined) {\n defineProperty(ArrayPrototype, UNSCOPABLES, {\n configurable: true,\n value: create(null)\n });\n}\n\n// add a key to Array.prototype[@@unscopables]\nmodule.exports = function (key) {\n ArrayPrototype[UNSCOPABLES][key] = true;\n};\n","'use strict';\nvar isObject = require('../internals/is-object');\n\nvar $String = String;\nvar $TypeError = TypeError;\n\n// `Assert: Type(argument) is Object`\nmodule.exports = function (argument) {\n if (isObject(argument)) return argument;\n throw new $TypeError($String(argument) + ' is not an object');\n};\n","'use strict';\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\n// `Array.prototype.{ indexOf, includes }` methods implementation\nvar createMethod = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIndexedObject($this);\n var length = lengthOfArrayLike(O);\n if (length === 0) return !IS_INCLUDES && -1;\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare -- NaN check\n if (IS_INCLUDES && el !== el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare -- NaN check\n if (value !== value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) {\n if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.includes` method\n // https://tc39.es/ecma262/#sec-array.prototype.includes\n includes: createMethod(true),\n // `Array.prototype.indexOf` method\n // https://tc39.es/ecma262/#sec-array.prototype.indexof\n indexOf: createMethod(false)\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar toString = uncurryThis({}.toString);\nvar stringSlice = uncurryThis(''.slice);\n\nmodule.exports = function (it) {\n return stringSlice(toString(it), 8, -1);\n};\n","'use strict';\nvar hasOwn = require('../internals/has-own-property');\nvar ownKeys = require('../internals/own-keys');\nvar getOwnPropertyDescriptorModule = require('../internals/object-get-own-property-descriptor');\nvar definePropertyModule = require('../internals/object-define-property');\n\nmodule.exports = function (target, source, exceptions) {\n var keys = ownKeys(source);\n var defineProperty = definePropertyModule.f;\n var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {\n defineProperty(target, key, getOwnPropertyDescriptor(source, key));\n }\n }\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar definePropertyModule = require('../internals/object-define-property');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\n\nmodule.exports = DESCRIPTORS ? function (object, key, value) {\n return definePropertyModule.f(object, key, createPropertyDescriptor(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n","'use strict';\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n","'use strict';\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineProperty = require('../internals/object-define-property');\n\nmodule.exports = function (target, name, descriptor) {\n if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });\n if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });\n return defineProperty.f(target, name, descriptor);\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\nvar definePropertyModule = require('../internals/object-define-property');\nvar makeBuiltIn = require('../internals/make-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nmodule.exports = function (O, key, value, options) {\n if (!options) options = {};\n var simple = options.enumerable;\n var name = options.name !== undefined ? options.name : key;\n if (isCallable(value)) makeBuiltIn(value, name, options);\n if (options.global) {\n if (simple) O[key] = value;\n else defineGlobalProperty(key, value);\n } else {\n try {\n if (!options.unsafe) delete O[key];\n else if (O[key]) simple = true;\n } catch (error) { /* empty */ }\n if (simple) O[key] = value;\n else definePropertyModule.f(O, key, {\n value: value,\n enumerable: false,\n configurable: !options.nonConfigurable,\n writable: !options.nonWritable\n });\n } return O;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\n\nmodule.exports = function (key, value) {\n try {\n defineProperty(globalThis, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n globalThis[key] = value;\n } return value;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// Detect IE8's incomplete defineProperty implementation\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;\n});\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\n\nvar document = globalThis.document;\n// typeof document.createElement is 'object' in old IE\nvar EXISTS = isObject(document) && isObject(document.createElement);\n\nmodule.exports = function (it) {\n return EXISTS ? document.createElement(it) : {};\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (CONSTRUCTOR, METHOD) {\n return uncurryThis(globalThis[CONSTRUCTOR].prototype[METHOD]);\n};\n","'use strict';\n// IE8- don't enum bug keys\nmodule.exports = [\n 'constructor',\n 'hasOwnProperty',\n 'isPrototypeOf',\n 'propertyIsEnumerable',\n 'toLocaleString',\n 'toString',\n 'valueOf'\n];\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nvar navigator = globalThis.navigator;\nvar userAgent = navigator && navigator.userAgent;\n\nmodule.exports = userAgent ? String(userAgent) : '';\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar userAgent = require('../internals/environment-user-agent');\n\nvar process = globalThis.process;\nvar Deno = globalThis.Deno;\nvar versions = process && process.versions || Deno && Deno.version;\nvar v8 = versions && versions.v8;\nvar match, version;\n\nif (v8) {\n match = v8.split('.');\n // in old Chrome, versions of V8 isn't V8 = Chrome / 10\n // but their correct versions are not interesting for us\n version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);\n}\n\n// BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`\n// so check `userAgent` even if `.v8` exists, but 0\nif (!version && userAgent) {\n match = userAgent.match(/Edge\\/(\\d+)/);\n if (!match || match[1] >= 74) {\n match = userAgent.match(/Chrome\\/(\\d+)/);\n if (match) version = +match[1];\n }\n}\n\nmodule.exports = version;\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar getOwnPropertyDescriptor = require('../internals/object-get-own-property-descriptor').f;\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar defineBuiltIn = require('../internals/define-built-in');\nvar defineGlobalProperty = require('../internals/define-global-property');\nvar copyConstructorProperties = require('../internals/copy-constructor-properties');\nvar isForced = require('../internals/is-forced');\n\n/*\n options.target - name of the target object\n options.global - target is the global object\n options.stat - export as static methods of target\n options.proto - export as prototype methods of target\n options.real - real prototype method for the `pure` version\n options.forced - export even if the native feature is available\n options.bind - bind methods to the target, required for the `pure` version\n options.wrap - wrap constructors to preventing global pollution, required for the `pure` version\n options.unsafe - use the simple assignment of property instead of delete + defineProperty\n options.sham - add a flag to not completely full polyfills\n options.enumerable - export as enumerable property\n options.dontCallGetSet - prevent calling a getter on target\n options.name - the .name of the function if it does not match the key\n*/\nmodule.exports = function (options, source) {\n var TARGET = options.target;\n var GLOBAL = options.global;\n var STATIC = options.stat;\n var FORCED, target, key, targetProperty, sourceProperty, descriptor;\n if (GLOBAL) {\n target = globalThis;\n } else if (STATIC) {\n target = globalThis[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = globalThis[TARGET] && globalThis[TARGET].prototype;\n }\n if (target) for (key in source) {\n sourceProperty = source[key];\n if (options.dontCallGetSet) {\n descriptor = getOwnPropertyDescriptor(target, key);\n targetProperty = descriptor && descriptor.value;\n } else targetProperty = target[key];\n FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);\n // contained in target\n if (!FORCED && targetProperty !== undefined) {\n if (typeof sourceProperty == typeof targetProperty) continue;\n copyConstructorProperties(sourceProperty, targetProperty);\n }\n // add a flag to not completely full polyfills\n if (options.sham || (targetProperty && targetProperty.sham)) {\n createNonEnumerableProperty(sourceProperty, 'sham', true);\n }\n defineBuiltIn(target, key, sourceProperty, options);\n }\n};\n","'use strict';\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (error) {\n return true;\n }\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = !fails(function () {\n // eslint-disable-next-line es/no-function-prototype-bind -- safe\n var test = (function () { /* empty */ }).bind();\n // eslint-disable-next-line no-prototype-builtins -- safe\n return typeof test != 'function' || test.hasOwnProperty('prototype');\n});\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar call = Function.prototype.call;\n\nmodule.exports = NATIVE_BIND ? call.bind(call) : function () {\n return call.apply(call, arguments);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar hasOwn = require('../internals/has-own-property');\n\nvar FunctionPrototype = Function.prototype;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getDescriptor = DESCRIPTORS && Object.getOwnPropertyDescriptor;\n\nvar EXISTS = hasOwn(FunctionPrototype, 'name');\n// additional protection from minified / mangled / dropped function names\nvar PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';\nvar CONFIGURABLE = EXISTS && (!DESCRIPTORS || (DESCRIPTORS && getDescriptor(FunctionPrototype, 'name').configurable));\n\nmodule.exports = {\n EXISTS: EXISTS,\n PROPER: PROPER,\n CONFIGURABLE: CONFIGURABLE\n};\n","'use strict';\nvar NATIVE_BIND = require('../internals/function-bind-native');\n\nvar FunctionPrototype = Function.prototype;\nvar call = FunctionPrototype.call;\nvar uncurryThisWithBind = NATIVE_BIND && FunctionPrototype.bind.bind(call, call);\n\nmodule.exports = NATIVE_BIND ? uncurryThisWithBind : function (fn) {\n return function () {\n return call.apply(fn, arguments);\n };\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar aFunction = function (argument) {\n return isCallable(argument) ? argument : undefined;\n};\n\nmodule.exports = function (namespace, method) {\n return arguments.length < 2 ? aFunction(globalThis[namespace]) : globalThis[namespace] && globalThis[namespace][method];\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\n// `GetMethod` abstract operation\n// https://tc39.es/ecma262/#sec-getmethod\nmodule.exports = function (V, P) {\n var func = V[P];\n return isNullOrUndefined(func) ? undefined : aCallable(func);\n};\n","'use strict';\nvar check = function (it) {\n return it && it.Math === Math && it;\n};\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nmodule.exports =\n // eslint-disable-next-line es/no-global-this -- safe\n check(typeof globalThis == 'object' && globalThis) ||\n check(typeof window == 'object' && window) ||\n // eslint-disable-next-line no-restricted-globals -- safe\n check(typeof self == 'object' && self) ||\n check(typeof global == 'object' && global) ||\n check(typeof this == 'object' && this) ||\n // eslint-disable-next-line no-new-func -- fallback\n (function () { return this; })() || Function('return this')();\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toObject = require('../internals/to-object');\n\nvar hasOwnProperty = uncurryThis({}.hasOwnProperty);\n\n// `HasOwnProperty` abstract operation\n// https://tc39.es/ecma262/#sec-hasownproperty\n// eslint-disable-next-line es/no-object-hasown -- safe\nmodule.exports = Object.hasOwn || function hasOwn(it, key) {\n return hasOwnProperty(toObject(it), key);\n};\n","'use strict';\nmodule.exports = {};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\n\nmodule.exports = getBuiltIn('document', 'documentElement');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\nvar createElement = require('../internals/document-create-element');\n\n// Thanks to IE8 for its funny defineProperty\nmodule.exports = !DESCRIPTORS && !fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(createElement('div'), 'a', {\n get: function () { return 7; }\n }).a !== 7;\n});\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar classof = require('../internals/classof-raw');\n\nvar $Object = Object;\nvar split = uncurryThis(''.split);\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nmodule.exports = fails(function () {\n // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346\n // eslint-disable-next-line no-prototype-builtins -- safe\n return !$Object('z').propertyIsEnumerable(0);\n}) ? function (it) {\n return classof(it) === 'String' ? split(it, '') : $Object(it);\n} : $Object;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar isCallable = require('../internals/is-callable');\nvar store = require('../internals/shared-store');\n\nvar functionToString = uncurryThis(Function.toString);\n\n// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper\nif (!isCallable(store.inspectSource)) {\n store.inspectSource = function (it) {\n return functionToString(it);\n };\n}\n\nmodule.exports = store.inspectSource;\n","'use strict';\nvar NATIVE_WEAK_MAP = require('../internals/weak-map-basic-detection');\nvar globalThis = require('../internals/global-this');\nvar isObject = require('../internals/is-object');\nvar createNonEnumerableProperty = require('../internals/create-non-enumerable-property');\nvar hasOwn = require('../internals/has-own-property');\nvar shared = require('../internals/shared-store');\nvar sharedKey = require('../internals/shared-key');\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar OBJECT_ALREADY_INITIALIZED = 'Object already initialized';\nvar TypeError = globalThis.TypeError;\nvar WeakMap = globalThis.WeakMap;\nvar set, get, has;\n\nvar enforce = function (it) {\n return has(it) ? get(it) : set(it, {});\n};\n\nvar getterFor = function (TYPE) {\n return function (it) {\n var state;\n if (!isObject(it) || (state = get(it)).type !== TYPE) {\n throw new TypeError('Incompatible receiver, ' + TYPE + ' required');\n } return state;\n };\n};\n\nif (NATIVE_WEAK_MAP || shared.state) {\n var store = shared.state || (shared.state = new WeakMap());\n /* eslint-disable no-self-assign -- prototype methods protection */\n store.get = store.get;\n store.has = store.has;\n store.set = store.set;\n /* eslint-enable no-self-assign -- prototype methods protection */\n set = function (it, metadata) {\n if (store.has(it)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n store.set(it, metadata);\n return metadata;\n };\n get = function (it) {\n return store.get(it) || {};\n };\n has = function (it) {\n return store.has(it);\n };\n} else {\n var STATE = sharedKey('state');\n hiddenKeys[STATE] = true;\n set = function (it, metadata) {\n if (hasOwn(it, STATE)) throw new TypeError(OBJECT_ALREADY_INITIALIZED);\n metadata.facade = it;\n createNonEnumerableProperty(it, STATE, metadata);\n return metadata;\n };\n get = function (it) {\n return hasOwn(it, STATE) ? it[STATE] : {};\n };\n has = function (it) {\n return hasOwn(it, STATE);\n };\n}\n\nmodule.exports = {\n set: set,\n get: get,\n has: has,\n enforce: enforce,\n getterFor: getterFor\n};\n","'use strict';\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot\nvar documentAll = typeof document == 'object' && document.all;\n\n// `IsCallable` abstract operation\n// https://tc39.es/ecma262/#sec-iscallable\n// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing\nmodule.exports = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {\n return typeof argument == 'function' || argument === documentAll;\n} : function (argument) {\n return typeof argument == 'function';\n};\n","'use strict';\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\n\nvar replacement = /#|\\.prototype\\./;\n\nvar isForced = function (feature, detection) {\n var value = data[normalize(feature)];\n return value === POLYFILL ? true\n : value === NATIVE ? false\n : isCallable(detection) ? fails(detection)\n : !!detection;\n};\n\nvar normalize = isForced.normalize = function (string) {\n return String(string).replace(replacement, '.').toLowerCase();\n};\n\nvar data = isForced.data = {};\nvar NATIVE = isForced.NATIVE = 'N';\nvar POLYFILL = isForced.POLYFILL = 'P';\n\nmodule.exports = isForced;\n","'use strict';\n// we can't use just `it == null` since of `document.all` special case\n// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec\nmodule.exports = function (it) {\n return it === null || it === undefined;\n};\n","'use strict';\nvar isCallable = require('../internals/is-callable');\n\nmodule.exports = function (it) {\n return typeof it == 'object' ? it !== null : isCallable(it);\n};\n","'use strict';\nmodule.exports = false;\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar isCallable = require('../internals/is-callable');\nvar isPrototypeOf = require('../internals/object-is-prototype-of');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar $Object = Object;\n\nmodule.exports = USE_SYMBOL_AS_UID ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n var $Symbol = getBuiltIn('Symbol');\n return isCallable($Symbol) && isPrototypeOf($Symbol.prototype, $Object(it));\n};\n","'use strict';\nvar toLength = require('../internals/to-length');\n\n// `LengthOfArrayLike` abstract operation\n// https://tc39.es/ecma262/#sec-lengthofarraylike\nmodule.exports = function (obj) {\n return toLength(obj.length);\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar fails = require('../internals/fails');\nvar isCallable = require('../internals/is-callable');\nvar hasOwn = require('../internals/has-own-property');\nvar DESCRIPTORS = require('../internals/descriptors');\nvar CONFIGURABLE_FUNCTION_NAME = require('../internals/function-name').CONFIGURABLE;\nvar inspectSource = require('../internals/inspect-source');\nvar InternalStateModule = require('../internals/internal-state');\n\nvar enforceInternalState = InternalStateModule.enforce;\nvar getInternalState = InternalStateModule.get;\nvar $String = String;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar defineProperty = Object.defineProperty;\nvar stringSlice = uncurryThis(''.slice);\nvar replace = uncurryThis(''.replace);\nvar join = uncurryThis([].join);\n\nvar CONFIGURABLE_LENGTH = DESCRIPTORS && !fails(function () {\n return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;\n});\n\nvar TEMPLATE = String(String).split('String');\n\nvar makeBuiltIn = module.exports = function (value, name, options) {\n if (stringSlice($String(name), 0, 7) === 'Symbol(') {\n name = '[' + replace($String(name), /^Symbol\\(([^)]*)\\).*$/, '$1') + ']';\n }\n if (options && options.getter) name = 'get ' + name;\n if (options && options.setter) name = 'set ' + name;\n if (!hasOwn(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {\n if (DESCRIPTORS) defineProperty(value, 'name', { value: name, configurable: true });\n else value.name = name;\n }\n if (CONFIGURABLE_LENGTH && options && hasOwn(options, 'arity') && value.length !== options.arity) {\n defineProperty(value, 'length', { value: options.arity });\n }\n try {\n if (options && hasOwn(options, 'constructor') && options.constructor) {\n if (DESCRIPTORS) defineProperty(value, 'prototype', { writable: false });\n // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable\n } else if (value.prototype) value.prototype = undefined;\n } catch (error) { /* empty */ }\n var state = enforceInternalState(value);\n if (!hasOwn(state, 'source')) {\n state.source = join(TEMPLATE, typeof name == 'string' ? name : '');\n } return value;\n};\n\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n// eslint-disable-next-line no-extend-native -- required\nFunction.prototype.toString = makeBuiltIn(function toString() {\n return isCallable(this) && getInternalState(this).source || inspectSource(this);\n}, 'toString');\n","'use strict';\nvar ceil = Math.ceil;\nvar floor = Math.floor;\n\n// `Math.trunc` method\n// https://tc39.es/ecma262/#sec-math.trunc\n// eslint-disable-next-line es/no-math-trunc -- safe\nmodule.exports = Math.trunc || function trunc(x) {\n var n = +x;\n return (n > 0 ? floor : ceil)(n);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar call = require('../internals/function-call');\nvar fails = require('../internals/fails');\nvar objectKeys = require('../internals/object-keys');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\n\n// eslint-disable-next-line es/no-object-assign -- safe\nvar $assign = Object.assign;\n// eslint-disable-next-line es/no-object-defineproperty -- required for testing\nvar defineProperty = Object.defineProperty;\nvar concat = uncurryThis([].concat);\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\nmodule.exports = !$assign || fails(function () {\n // should have correct order of operations (Edge bug)\n if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {\n enumerable: true,\n get: function () {\n defineProperty(this, 'b', {\n value: 3,\n enumerable: false\n });\n }\n }), { b: 2 })).b !== 1) return true;\n // should work with symbols and should have deterministic property order (V8 bug)\n var A = {};\n var B = {};\n // eslint-disable-next-line es/no-symbol -- safe\n var symbol = Symbol('assign detection');\n var alphabet = 'abcdefghijklmnopqrst';\n A[symbol] = 7;\n alphabet.split('').forEach(function (chr) { B[chr] = chr; });\n return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`\n var T = toObject(target);\n var argumentsLength = arguments.length;\n var index = 1;\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n var propertyIsEnumerable = propertyIsEnumerableModule.f;\n while (argumentsLength > index) {\n var S = IndexedObject(arguments[index++]);\n var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n while (length > j) {\n key = keys[j++];\n if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];\n }\n } return T;\n} : $assign;\n","'use strict';\n/* global ActiveXObject -- old IE, WSH */\nvar anObject = require('../internals/an-object');\nvar definePropertiesModule = require('../internals/object-define-properties');\nvar enumBugKeys = require('../internals/enum-bug-keys');\nvar hiddenKeys = require('../internals/hidden-keys');\nvar html = require('../internals/html');\nvar documentCreateElement = require('../internals/document-create-element');\nvar sharedKey = require('../internals/shared-key');\n\nvar GT = '>';\nvar LT = '<';\nvar PROTOTYPE = 'prototype';\nvar SCRIPT = 'script';\nvar IE_PROTO = sharedKey('IE_PROTO');\n\nvar EmptyConstructor = function () { /* empty */ };\n\nvar scriptTag = function (content) {\n return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;\n};\n\n// Create object with fake `null` prototype: use ActiveX Object with cleared prototype\nvar NullProtoObjectViaActiveX = function (activeXDocument) {\n activeXDocument.write(scriptTag(''));\n activeXDocument.close();\n var temp = activeXDocument.parentWindow.Object;\n // eslint-disable-next-line no-useless-assignment -- avoid memory leak\n activeXDocument = null;\n return temp;\n};\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar NullProtoObjectViaIFrame = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = documentCreateElement('iframe');\n var JS = 'java' + SCRIPT + ':';\n var iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n // https://github.com/zloirock/core-js/issues/475\n iframe.src = String(JS);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(scriptTag('document.F=Object'));\n iframeDocument.close();\n return iframeDocument.F;\n};\n\n// Check for document.domain and active x support\n// No need to use active x approach when document.domain is not set\n// see https://github.com/es-shims/es5-shim/issues/150\n// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346\n// avoid IE GC bug\nvar activeXDocument;\nvar NullProtoObject = function () {\n try {\n activeXDocument = new ActiveXObject('htmlfile');\n } catch (error) { /* ignore */ }\n NullProtoObject = typeof document != 'undefined'\n ? document.domain && activeXDocument\n ? NullProtoObjectViaActiveX(activeXDocument) // old IE\n : NullProtoObjectViaIFrame()\n : NullProtoObjectViaActiveX(activeXDocument); // WSH\n var length = enumBugKeys.length;\n while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];\n return NullProtoObject();\n};\n\nhiddenKeys[IE_PROTO] = true;\n\n// `Object.create` method\n// https://tc39.es/ecma262/#sec-object.create\n// eslint-disable-next-line es/no-object-create -- safe\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n EmptyConstructor[PROTOTYPE] = anObject(O);\n result = new EmptyConstructor();\n EmptyConstructor[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = NullProtoObject();\n return Properties === undefined ? result : definePropertiesModule.f(result, Properties);\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar definePropertyModule = require('../internals/object-define-property');\nvar anObject = require('../internals/an-object');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar objectKeys = require('../internals/object-keys');\n\n// `Object.defineProperties` method\n// https://tc39.es/ecma262/#sec-object.defineproperties\n// eslint-disable-next-line es/no-object-defineproperties -- safe\nexports.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var props = toIndexedObject(Properties);\n var keys = objectKeys(Properties);\n var length = keys.length;\n var index = 0;\n var key;\n while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\nvar V8_PROTOTYPE_DEFINE_BUG = require('../internals/v8-prototype-define-bug');\nvar anObject = require('../internals/an-object');\nvar toPropertyKey = require('../internals/to-property-key');\n\nvar $TypeError = TypeError;\n// eslint-disable-next-line es/no-object-defineproperty -- safe\nvar $defineProperty = Object.defineProperty;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar ENUMERABLE = 'enumerable';\nvar CONFIGURABLE = 'configurable';\nvar WRITABLE = 'writable';\n\n// `Object.defineProperty` method\n// https://tc39.es/ecma262/#sec-object.defineproperty\nexports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {\n var current = $getOwnPropertyDescriptor(O, P);\n if (current && current[WRITABLE]) {\n O[P] = Attributes.value;\n Attributes = {\n configurable: CONFIGURABLE in Attributes ? Attributes[CONFIGURABLE] : current[CONFIGURABLE],\n enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],\n writable: false\n };\n }\n } return $defineProperty(O, P, Attributes);\n} : $defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPropertyKey(P);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return $defineProperty(O, P, Attributes);\n } catch (error) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw new $TypeError('Accessors not supported');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar call = require('../internals/function-call');\nvar propertyIsEnumerableModule = require('../internals/object-property-is-enumerable');\nvar createPropertyDescriptor = require('../internals/create-property-descriptor');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar toPropertyKey = require('../internals/to-property-key');\nvar hasOwn = require('../internals/has-own-property');\nvar IE8_DOM_DEFINE = require('../internals/ie8-dom-define');\n\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// `Object.getOwnPropertyDescriptor` method\n// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor\nexports.f = DESCRIPTORS ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {\n O = toIndexedObject(O);\n P = toPropertyKey(P);\n if (IE8_DOM_DEFINE) try {\n return $getOwnPropertyDescriptor(O, P);\n } catch (error) { /* empty */ }\n if (hasOwn(O, P)) return createPropertyDescriptor(!call(propertyIsEnumerableModule.f, O, P), O[P]);\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\nvar hiddenKeys = enumBugKeys.concat('length', 'prototype');\n\n// `Object.getOwnPropertyNames` method\n// https://tc39.es/ecma262/#sec-object.getownpropertynames\n// eslint-disable-next-line es/no-object-getownpropertynames -- safe\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return internalObjectKeys(O, hiddenKeys);\n};\n","'use strict';\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe\nexports.f = Object.getOwnPropertySymbols;\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = uncurryThis({}.isPrototypeOf);\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar hasOwn = require('../internals/has-own-property');\nvar toIndexedObject = require('../internals/to-indexed-object');\nvar indexOf = require('../internals/array-includes').indexOf;\nvar hiddenKeys = require('../internals/hidden-keys');\n\nvar push = uncurryThis([].push);\n\nmodule.exports = function (object, names) {\n var O = toIndexedObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) !hasOwn(hiddenKeys, key) && hasOwn(O, key) && push(result, key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (hasOwn(O, key = names[i++])) {\n ~indexOf(result, key) || push(result, key);\n }\n return result;\n};\n","'use strict';\nvar internalObjectKeys = require('../internals/object-keys-internal');\nvar enumBugKeys = require('../internals/enum-bug-keys');\n\n// `Object.keys` method\n// https://tc39.es/ecma262/#sec-object.keys\n// eslint-disable-next-line es/no-object-keys -- safe\nmodule.exports = Object.keys || function keys(O) {\n return internalObjectKeys(O, enumBugKeys);\n};\n","'use strict';\nvar $propertyIsEnumerable = {}.propertyIsEnumerable;\n// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\n// Nashorn ~ JDK8 bug\nvar NASHORN_BUG = getOwnPropertyDescriptor && !$propertyIsEnumerable.call({ 1: 2 }, 1);\n\n// `Object.prototype.propertyIsEnumerable` method implementation\n// https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable\nexports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {\n var descriptor = getOwnPropertyDescriptor(this, V);\n return !!descriptor && descriptor.enumerable;\n} : $propertyIsEnumerable;\n","'use strict';\nvar call = require('../internals/function-call');\nvar isCallable = require('../internals/is-callable');\nvar isObject = require('../internals/is-object');\n\nvar $TypeError = TypeError;\n\n// `OrdinaryToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-ordinarytoprimitive\nmodule.exports = function (input, pref) {\n var fn, val;\n if (pref === 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n if (isCallable(fn = input.valueOf) && !isObject(val = call(fn, input))) return val;\n if (pref !== 'string' && isCallable(fn = input.toString) && !isObject(val = call(fn, input))) return val;\n throw new $TypeError(\"Can't convert object to primitive value\");\n};\n","'use strict';\nvar getBuiltIn = require('../internals/get-built-in');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar getOwnPropertyNamesModule = require('../internals/object-get-own-property-names');\nvar getOwnPropertySymbolsModule = require('../internals/object-get-own-property-symbols');\nvar anObject = require('../internals/an-object');\n\nvar concat = uncurryThis([].concat);\n\n// all object keys, includes non-enumerable and symbols\nmodule.exports = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {\n var keys = getOwnPropertyNamesModule.f(anObject(it));\n var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;\n return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;\n};\n","'use strict';\nvar globalThis = require('../internals/global-this');\n\nmodule.exports = globalThis;\n","'use strict';\nvar isNullOrUndefined = require('../internals/is-null-or-undefined');\n\nvar $TypeError = TypeError;\n\n// `RequireObjectCoercible` abstract operation\n// https://tc39.es/ecma262/#sec-requireobjectcoercible\nmodule.exports = function (it) {\n if (isNullOrUndefined(it)) throw new $TypeError(\"Can't call method on \" + it);\n return it;\n};\n","'use strict';\nvar shared = require('../internals/shared');\nvar uid = require('../internals/uid');\n\nvar keys = shared('keys');\n\nmodule.exports = function (key) {\n return keys[key] || (keys[key] = uid(key));\n};\n","'use strict';\nvar IS_PURE = require('../internals/is-pure');\nvar globalThis = require('../internals/global-this');\nvar defineGlobalProperty = require('../internals/define-global-property');\n\nvar SHARED = '__core-js_shared__';\nvar store = module.exports = globalThis[SHARED] || defineGlobalProperty(SHARED, {});\n\n(store.versions || (store.versions = [])).push({\n version: '3.38.1',\n mode: IS_PURE ? 'pure' : 'global',\n copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',\n license: 'https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE',\n source: 'https://github.com/zloirock/core-js'\n});\n","'use strict';\nvar store = require('../internals/shared-store');\n\nmodule.exports = function (key, value) {\n return store[key] || (store[key] = value || {});\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar V8_VERSION = require('../internals/environment-v8-version');\nvar fails = require('../internals/fails');\nvar globalThis = require('../internals/global-this');\n\nvar $String = globalThis.String;\n\n// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing\nmodule.exports = !!Object.getOwnPropertySymbols && !fails(function () {\n var symbol = Symbol('symbol detection');\n // Chrome 38 Symbol has incorrect toString conversion\n // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances\n // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,\n // of course, fail.\n return !$String(symbol) || !(Object(symbol) instanceof Symbol) ||\n // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances\n !Symbol.sham && V8_VERSION && V8_VERSION < 41;\n});\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar max = Math.max;\nvar min = Math.min;\n\n// Helper for a popular repeating case of the spec:\n// Let integer be ? ToInteger(index).\n// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).\nmodule.exports = function (index, length) {\n var integer = toIntegerOrInfinity(index);\n return integer < 0 ? max(integer + length, 0) : min(integer, length);\n};\n","'use strict';\n// toObject with fallback for non-array-like ES3 strings\nvar IndexedObject = require('../internals/indexed-object');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nmodule.exports = function (it) {\n return IndexedObject(requireObjectCoercible(it));\n};\n","'use strict';\nvar trunc = require('../internals/math-trunc');\n\n// `ToIntegerOrInfinity` abstract operation\n// https://tc39.es/ecma262/#sec-tointegerorinfinity\nmodule.exports = function (argument) {\n var number = +argument;\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number || number === 0 ? 0 : trunc(number);\n};\n","'use strict';\nvar toIntegerOrInfinity = require('../internals/to-integer-or-infinity');\n\nvar min = Math.min;\n\n// `ToLength` abstract operation\n// https://tc39.es/ecma262/#sec-tolength\nmodule.exports = function (argument) {\n var len = toIntegerOrInfinity(argument);\n return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991\n};\n","'use strict';\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar $Object = Object;\n\n// `ToObject` abstract operation\n// https://tc39.es/ecma262/#sec-toobject\nmodule.exports = function (argument) {\n return $Object(requireObjectCoercible(argument));\n};\n","'use strict';\nvar call = require('../internals/function-call');\nvar isObject = require('../internals/is-object');\nvar isSymbol = require('../internals/is-symbol');\nvar getMethod = require('../internals/get-method');\nvar ordinaryToPrimitive = require('../internals/ordinary-to-primitive');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\n\nvar $TypeError = TypeError;\nvar TO_PRIMITIVE = wellKnownSymbol('toPrimitive');\n\n// `ToPrimitive` abstract operation\n// https://tc39.es/ecma262/#sec-toprimitive\nmodule.exports = function (input, pref) {\n if (!isObject(input) || isSymbol(input)) return input;\n var exoticToPrim = getMethod(input, TO_PRIMITIVE);\n var result;\n if (exoticToPrim) {\n if (pref === undefined) pref = 'default';\n result = call(exoticToPrim, input, pref);\n if (!isObject(result) || isSymbol(result)) return result;\n throw new $TypeError(\"Can't convert object to primitive value\");\n }\n if (pref === undefined) pref = 'number';\n return ordinaryToPrimitive(input, pref);\n};\n","'use strict';\nvar toPrimitive = require('../internals/to-primitive');\nvar isSymbol = require('../internals/is-symbol');\n\n// `ToPropertyKey` abstract operation\n// https://tc39.es/ecma262/#sec-topropertykey\nmodule.exports = function (argument) {\n var key = toPrimitive(argument, 'string');\n return isSymbol(key) ? key : key + '';\n};\n","'use strict';\nvar $String = String;\n\nmodule.exports = function (argument) {\n try {\n return $String(argument);\n } catch (error) {\n return 'Object';\n }\n};\n","'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nvar id = 0;\nvar postfix = Math.random();\nvar toString = uncurryThis(1.0.toString);\n\nmodule.exports = function (key) {\n return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);\n};\n","'use strict';\n/* eslint-disable es/no-symbol -- required for testing */\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\n\nmodule.exports = NATIVE_SYMBOL\n && !Symbol.sham\n && typeof Symbol.iterator == 'symbol';\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar fails = require('../internals/fails');\n\n// V8 ~ Chrome 36-\n// https://bugs.chromium.org/p/v8/issues/detail?id=3334\nmodule.exports = DESCRIPTORS && fails(function () {\n // eslint-disable-next-line es/no-object-defineproperty -- required for testing\n return Object.defineProperty(function () { /* empty */ }, 'prototype', {\n value: 42,\n writable: false\n }).prototype !== 42;\n});\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = globalThis.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar globalThis = require('../internals/global-this');\nvar shared = require('../internals/shared');\nvar hasOwn = require('../internals/has-own-property');\nvar uid = require('../internals/uid');\nvar NATIVE_SYMBOL = require('../internals/symbol-constructor-detection');\nvar USE_SYMBOL_AS_UID = require('../internals/use-symbol-as-uid');\n\nvar Symbol = globalThis.Symbol;\nvar WellKnownSymbolsStore = shared('wks');\nvar createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol['for'] || Symbol : Symbol && Symbol.withoutSetter || uid;\n\nmodule.exports = function (name) {\n if (!hasOwn(WellKnownSymbolsStore, name)) {\n WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn(Symbol, name)\n ? Symbol[name]\n : createWellKnownSymbol('Symbol.' + name);\n } return WellKnownSymbolsStore[name];\n};\n","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n // eslint-disable-next-line es/no-array-prototype-includes -- detection\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n","'use strict';\nvar DESCRIPTORS = require('../internals/descriptors');\nvar FUNCTION_NAME_EXISTS = require('../internals/function-name').EXISTS;\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar defineBuiltInAccessor = require('../internals/define-built-in-accessor');\n\nvar FunctionPrototype = Function.prototype;\nvar functionToString = uncurryThis(FunctionPrototype.toString);\nvar nameRE = /function\\b(?:\\s|\\/\\*[\\S\\s]*?\\*\\/|\\/\\/[^\\n\\r]*[\\n\\r]+)*([^\\s(/]*)/;\nvar regExpExec = uncurryThis(nameRE.exec);\nvar NAME = 'name';\n\n// Function instances `.name` property\n// https://tc39.es/ecma262/#sec-function-instances-name\nif (DESCRIPTORS && !FUNCTION_NAME_EXISTS) {\n defineBuiltInAccessor(FunctionPrototype, NAME, {\n configurable: true,\n get: function () {\n try {\n return regExpExec(nameRE, functionToString(this))[1];\n } catch (error) {\n return '';\n }\n }\n });\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar globalThis = require('../internals/global-this');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({ global: true, forced: globalThis.globalThis !== globalThis }, {\n globalThis: globalThis\n});\n","'use strict';\nvar $ = require('../internals/export');\nvar assign = require('../internals/object-assign');\n\n// `Object.assign` method\n// https://tc39.es/ecma262/#sec-object.assign\n// eslint-disable-next-line es/no-object-assign -- required for testing\n$({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {\n assign: assign\n});\n","'use strict';\nvar parent = require('../../es/array/includes');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../../es/function/name');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../es/global-this');\n\nmodule.exports = parent;\n","'use strict';\nvar parent = require('../../es/object/assign');\n\nmodule.exports = parent;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// https://learn.microsoft.com/en-us/office/dev/add-ins/develop/dialog-api-in-office-add-ins\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar dialog;\nfunction dialogCallback(asyncResult) {\n if (asyncResult.status === Office.AsyncResultStatus.Failed) {\n console.log(\"\".concat(asyncResult.error.message, \" [\").concat(asyncResult.error.code, \"]\"));\n }\n else {\n dialog = asyncResult.value;\n // Handle messages and events\n dialog.addEventHandler(Office.EventType.DialogMessageReceived, processMessage);\n dialog.addEventHandler(Office.EventType.DialogEventReceived, processDialogEvent);\n }\n}\nfunction processMessage(arg) {\n dialog.close();\n var _a = arg.message.split(\"|\"), selection = _a[0], callback = _a[1];\n if (callback !== \"\" && callback in globalThis.callbacks) {\n globalThis.callbacks[callback](selection);\n }\n else {\n if (callback !== \"\" && !(callback in globalThis.callbacks)) {\n throw new Error(\"Didn't find callback '\".concat(callback, \"'! Make sure to run xlwings.registerCallback(\").concat(callback, \") before calling runPython.\"));\n }\n }\n}\nfunction processDialogEvent(arg) {\n switch (arg.error) {\n case 12002:\n console.log(\"The dialog box has been directed to a page that it cannot find or load, or the URL syntax is invalid.\");\n break;\n case 12003:\n console.log(\"HTTPS is required.\");\n break;\n case 12006:\n console.log(\"Dialog closed by user\");\n break;\n default:\n console.log(\"Unknown error in dialog box\");\n break;\n }\n}\nexport function xlAlert(prompt, title, buttons, mode, callback) {\n return __awaiter(this, void 0, void 0, function () {\n var width, height, appPathElement, appPath;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, Office.onReady()];\n case 1:\n _a.sent();\n if (Office.context.platform.toString() === \"OfficeOnline\") {\n width = 28;\n height = 36;\n }\n else if (Office.context.platform.toString() === \"PC\") {\n width = 28; // seems to have a wider min width\n height = 40;\n }\n else {\n width = 32;\n height = 30;\n }\n appPathElement = document.getElementById(\"app-path\");\n appPath = appPathElement\n ? JSON.parse(appPathElement.textContent)\n : null;\n if (dialog) {\n dialog.close();\n console.log(\"Closed perviously open dialog to prevent error 12007.\");\n }\n Office.context.ui.displayDialogAsync(window.location.origin +\n (appPath && appPath.appPath !== \"\" ? \"/\".concat(appPath.appPath) : \"\") +\n \"/xlwings/alert?prompt=\" +\n encodeURIComponent(\"\".concat(prompt)) +\n \"&title=\" +\n encodeURIComponent(\"\".concat(title)) +\n \"&buttons=\".concat(buttons, \"&mode=\").concat(mode, \"&callback=\").concat(callback), { height: height, width: width, displayInIframe: true }, dialogCallback);\n return [2 /*return*/];\n }\n });\n });\n}\n","// Office.auth.getAccessToken claims that it does everything that this module does,\n// only it doesn't: https://github.com/OfficeDev/office-js/issues/3298\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar accessToken = null;\nvar isRenewingToken = false;\nvar tokenLock = false;\nvar tokenExpiry = null;\nfunction hasKeyExpired() {\n if (!tokenExpiry) {\n return true;\n }\n var currentTime = Math.floor(Date.now() / 1000); // Convert to seconds\n // Renew 15 minutes before expiry\n return currentTime >= tokenExpiry - 15 * 60;\n}\nfunction renewAccessToken() {\n return __awaiter(this, void 0, void 0, function () {\n var payload, base64, decodedPayload, error_1, token_error;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n console.log(\"Renewing access token\");\n _a.label = 1;\n case 1:\n _a.trys.push([1, 3, 4, 5]);\n return [4 /*yield*/, Office.auth.getAccessToken({\n allowSignInPrompt: true,\n allowConsentPrompt: true,\n })];\n case 2:\n accessToken = _a.sent();\n payload = accessToken.split(\".\")[1];\n base64 = payload.replace(/-/g, \"+\").replace(/_/g, \"/\");\n while (base64.length % 4) {\n base64 += \"=\";\n }\n decodedPayload = JSON.parse(window.atob(base64));\n tokenExpiry = decodedPayload.exp;\n accessToken = \"Bearer \" + accessToken;\n return [3 /*break*/, 5];\n case 3:\n error_1 = _a.sent();\n token_error = \"Error \".concat(error_1.code, \": \").concat(error_1.message);\n console.log(token_error);\n // return token error so it can be logged on backend\n accessToken = token_error;\n return [3 /*break*/, 5];\n case 4:\n tokenLock = false;\n return [7 /*endfinally*/];\n case 5: return [2 /*return*/];\n }\n });\n });\n}\nexport function getAccessToken() {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, Office.onReady()];\n case 1:\n _a.sent();\n if (!(!accessToken || hasKeyExpired())) return [3 /*break*/, 5];\n if (!!tokenLock) return [3 /*break*/, 3];\n tokenLock = true;\n isRenewingToken = true;\n return [4 /*yield*/, renewAccessToken()];\n case 2:\n _a.sent();\n isRenewingToken = false;\n return [3 /*break*/, 5];\n case 3:\n if (!isRenewingToken) return [3 /*break*/, 5];\n return [4 /*yield*/, new Promise(function (resolve) { return setTimeout(resolve, 100); })];\n case 4:\n _a.sent();\n return [3 /*break*/, 3];\n case 5: return [2 /*return*/, accessToken];\n }\n });\n });\n}\n","var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nexport function getActiveBookName() {\n return __awaiter(this, void 0, void 0, function () {\n var error_1;\n var _this = this;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n _a.trys.push([0, 3, , 4]);\n return [4 /*yield*/, Office.onReady()];\n case 1:\n _a.sent();\n return [4 /*yield*/, Excel.run(function (context) { return __awaiter(_this, void 0, void 0, function () {\n var workbook;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n workbook = context.workbook;\n workbook.load(\"name\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n return [2 /*return*/, workbook.name];\n }\n });\n }); })];\n case 2: return [2 /*return*/, _a.sent()];\n case 3:\n error_1 = _a.sent();\n console.error(error_1);\n return [3 /*break*/, 4];\n case 4: return [2 /*return*/];\n }\n });\n });\n}\n","var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\n// core-js polyfills for ie11\nimport \"core-js/actual/object/assign\";\nimport \"core-js/actual/array/includes\";\nimport \"core-js/actual/global-this\";\nimport \"core-js/actual/function/name\";\nimport { xlAlert } from \"./alert\";\nimport { getAccessToken } from \"./auth\";\nexport { getAccessToken };\nimport { getActiveBookName } from \"./utils\";\nexport { getActiveBookName };\n// Hook up buttons with the click event upon loading xlwings.js\ndocument.addEventListener(\"DOMContentLoaded\", init);\nexport function init() {\n var _this = this;\n var appPathElement = document.getElementById(\"app-path\");\n var appPath = appPathElement\n ? JSON.parse(appPathElement.textContent)\n : null;\n var elements = document.querySelectorAll(\"[xw-click]\");\n elements.forEach(function (element) {\n element.addEventListener(\"click\", function (event) { return __awaiter(_this, void 0, void 0, function () {\n var globalErrorAlert, spinner, token, _a, config;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n globalErrorAlert = document.querySelector(\"#global-error-alert\");\n if (globalErrorAlert) {\n globalErrorAlert.classList.add(\"d-none\");\n }\n element.setAttribute(\"disabled\", \"true\");\n spinner = document.createElement(\"span\");\n spinner.className = \"spinner-border spinner-border-sm text-white\";\n spinner.setAttribute(\"role\", \"status\");\n spinner.setAttribute(\"aria-hidden\", \"true\");\n element.appendChild(spinner);\n if (!(typeof globalThis.getAuth === \"function\")) return [3 /*break*/, 2];\n return [4 /*yield*/, globalThis.getAuth()];\n case 1:\n _a = _b.sent();\n return [3 /*break*/, 3];\n case 2:\n _a = \"\";\n _b.label = 3;\n case 3:\n token = _a;\n config = element.getAttribute(\"xw-config\")\n ? JSON.parse(element.getAttribute(\"xw-config\"))\n : {};\n return [4 /*yield*/, runPython(window.location.origin +\n (appPath && appPath.appPath !== \"\" ? \"/\".concat(appPath.appPath) : \"\") +\n \"/xlwings/custom-scripts-call/\" +\n element.getAttribute(\"xw-click\"), __assign(__assign({}, config), { auth: token, errorDisplayMode: \"taskpane\" }))];\n case 4:\n _b.sent();\n element.removeChild(spinner);\n element.removeAttribute(\"disabled\");\n return [2 /*return*/];\n }\n });\n }); });\n });\n}\nvar version = \"0.33.2\";\nglobalThis.callbacks = {};\nexport function runPython() {\n return __awaiter(this, arguments, void 0, function (url, _a) {\n var error_1, globalErrorAlert;\n var _this = this;\n if (url === void 0) { url = \"\"; }\n var _b = _a === void 0 ? {} : _a, _c = _b.auth, auth = _c === void 0 ? \"\" : _c, _d = _b.include, include = _d === void 0 ? \"\" : _d, _e = _b.exclude, exclude = _e === void 0 ? \"\" : _e, _f = _b.headers, headers = _f === void 0 ? {} : _f, _g = _b.errorDisplayMode, errorDisplayMode = _g === void 0 ? \"alert\" : _g;\n return __generator(this, function (_h) {\n switch (_h.label) {\n case 0: return [4 /*yield*/, Office.onReady()];\n case 1:\n _h.sent();\n _h.label = 2;\n case 2:\n _h.trys.push([2, 4, , 8]);\n return [4 /*yield*/, Excel.run(function (context) { return __awaiter(_this, void 0, void 0, function () {\n var workbook, worksheets, sheets, configSheet, config, configRange, configValues, includeArray, excludeArray, property, payload, activeSheet, selection, names, namedItems, names2, sheetsLoader, namesSheetScope, namesSheetsScope2, _loop_1, _i, sheetsLoader_1, item, response, rawData, forceSync, _loop_2, _a, _b, action;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n workbook = context.workbook;\n workbook.load(\"name\");\n worksheets = workbook.worksheets;\n worksheets.load(\"items/name\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _c.sent();\n sheets = worksheets.items;\n configSheet = worksheets.getItemOrNullObject(\"xlwings.conf\");\n return [4 /*yield*/, context.sync()];\n case 2:\n _c.sent();\n config = {};\n if (!!configSheet.isNullObject) return [3 /*break*/, 4];\n configRange = configSheet\n .getRange(\"A1\")\n .getSurroundingRegion()\n .load(\"values\");\n return [4 /*yield*/, context.sync()];\n case 3:\n _c.sent();\n configValues = configRange.values;\n configValues.forEach(function (el) { return (config[el[0].toString()] = el[1].toString()); });\n _c.label = 4;\n case 4:\n if (auth === \"\") {\n auth = config[\"AUTH\"] || \"\";\n }\n if (include === \"\") {\n include = config[\"INCLUDE\"] || \"\";\n }\n includeArray = [];\n if (include !== \"\") {\n includeArray = include.split(\",\").map(function (item) { return item.trim(); });\n }\n if (exclude === \"\") {\n exclude = config[\"EXCLUDE\"] || \"\";\n }\n excludeArray = [];\n if (exclude !== \"\") {\n excludeArray = exclude.split(\",\").map(function (item) { return item.trim(); });\n }\n if (includeArray.length > 0 && excludeArray.length > 0) {\n throw \"Either use 'include' or 'exclude', but not both!\";\n }\n if (includeArray.length > 0) {\n sheets.forEach(function (sheet) {\n if (!includeArray.includes(sheet.name)) {\n excludeArray.push(sheet.name);\n }\n });\n }\n if (Object.keys(headers).length === 0) {\n for (property in config) {\n if (property.toLowerCase().startsWith(\"header_\")) {\n headers[property.substring(7)] = config[property];\n }\n }\n }\n if (!(\"Authorization\" in headers) && auth.length > 0) {\n headers[\"Authorization\"] = auth;\n }\n // Standard headers\n headers[\"Content-Type\"] = \"application/json\";\n payload = {};\n payload[\"client\"] = \"Office.js\";\n payload[\"version\"] = version;\n activeSheet = worksheets.getActiveWorksheet().load(\"position\");\n selection = workbook.getSelectedRange().load(\"address\");\n return [4 /*yield*/, context.sync()];\n case 5:\n _c.sent();\n payload[\"book\"] = {\n name: workbook.name,\n active_sheet_index: activeSheet.position,\n selection: selection.address.split(\"!\").pop(),\n };\n names = [];\n namedItems = context.workbook.names.load(\"name, type\");\n return [4 /*yield*/, context.sync()];\n case 6:\n _c.sent();\n namedItems.items.forEach(function (namedItem, ix) {\n // Currently filtering to named ranges\n if (namedItem.type === \"Range\") {\n names.push({\n name: namedItem.name,\n sheet: namedItem.getRange().worksheet.load(\"position\"),\n range: namedItem.getRange().load(\"address\"),\n scope_sheet_name: null,\n scope_sheet_index: null,\n book_scope: true, // workbook.names contains only workbook scope!\n });\n }\n });\n return [4 /*yield*/, context.sync()];\n case 7:\n _c.sent();\n names2 = [];\n names.forEach(function (namedItem, ix) {\n names2.push({\n name: namedItem.name,\n sheet_index: namedItem.sheet.position,\n address: namedItem.range.address.split(\"!\").pop(),\n scope_sheet_name: null,\n scope_sheet_index: null,\n book_scope: namedItem.book_scope,\n });\n });\n payload[\"names\"] = names2;\n // Sheets\n payload[\"sheets\"] = [];\n sheetsLoader = [];\n sheets.forEach(function (sheet) {\n sheet.load(\"name names\");\n var lastCell;\n if (excludeArray.includes(sheet.name)) {\n lastCell = null;\n }\n else if (sheet.getUsedRange() !== undefined) {\n lastCell = sheet.getUsedRange().getLastCell().load(\"address\");\n }\n else {\n lastCell = sheet.getRange(\"A1\").load(\"address\");\n }\n sheetsLoader.push({\n sheet: sheet,\n lastCell: lastCell,\n });\n });\n return [4 /*yield*/, context.sync()];\n case 8:\n _c.sent();\n sheetsLoader.forEach(function (item, ix) {\n if (!excludeArray.includes(item[\"sheet\"].name)) {\n var range = void 0;\n range = item[\"sheet\"]\n .getRange(\"A1:\".concat(item[\"lastCell\"].address))\n .load(\"values, numberFormatCategories\");\n sheetsLoader[ix][\"range\"] = range;\n // Names (sheet scope)\n sheetsLoader[ix][\"names\"] = item[\"sheet\"].names.load(\"name, type\");\n }\n });\n return [4 /*yield*/, context.sync()];\n case 9:\n _c.sent();\n namesSheetScope = [];\n sheetsLoader.forEach(function (item) {\n if (!excludeArray.includes(item[\"sheet\"].name)) {\n item[\"names\"].items.forEach(function (namedItem) {\n namesSheetScope.push({\n name: namedItem.name,\n sheet: namedItem.getRange().worksheet.load(\"position\"),\n range: namedItem.getRange().load(\"address\"),\n scope_sheet: namedItem.worksheet.load(\"name, position\"),\n book_scope: false,\n });\n });\n }\n });\n return [4 /*yield*/, context.sync()];\n case 10:\n _c.sent();\n namesSheetsScope2 = [];\n namesSheetScope.forEach(function (namedItem) {\n namesSheetsScope2.push({\n name: namedItem.name,\n sheet_index: namedItem.sheet.position,\n address: namedItem.range.address.split(\"!\").pop(),\n scope_sheet_name: namedItem.scope_sheet.name,\n scope_sheet_index: namedItem.scope_sheet.position,\n book_scope: namedItem.book_scope,\n });\n });\n // Add sheet scoped names to book scoped names\n payload[\"names\"] = payload[\"names\"].concat(namesSheetsScope2);\n _loop_1 = function (item) {\n var sheet, values, categories_1, tablesArray, tables, tablesLoader, _d, _e, table, _f, tablesLoader_1, table, picturesArray, shapes, _g, _h, shape;\n return __generator(this, function (_j) {\n switch (_j.label) {\n case 0:\n sheet = item[\"sheet\"];\n if (excludeArray.includes(item[\"sheet\"].name)) {\n values = [[]];\n }\n else {\n values = item[\"range\"].values;\n if (Office.context.requirements.isSetSupported(\"ExcelApi\", \"1.12\")) {\n categories_1 = item[\"range\"].numberFormatCategories;\n // Handle dates\n // https://learn.microsoft.com/en-us/office/dev/scripts/resources/samples/excel-samples#dates\n values.forEach(function (valueRow, rowIndex) {\n var categoryRow = categories_1[rowIndex];\n valueRow.forEach(function (value, colIndex) {\n var category = categoryRow[colIndex];\n if ((category.toString() === \"Date\" ||\n category.toString() === \"Time\") &&\n typeof value === \"number\") {\n values[rowIndex][colIndex] = new Date(Math.round((value - 25569) * 86400 * 1000)).toISOString();\n }\n });\n });\n }\n }\n tablesArray = [];\n if (!!excludeArray.includes(item[\"sheet\"].name)) return [3 /*break*/, 3];\n tables = sheet.tables.load([\n \"name\",\n \"showHeaders\",\n \"dataBodyRange\",\n \"showTotals\",\n \"style\",\n \"showFilterButton\",\n ]);\n return [4 /*yield*/, context.sync()];\n case 1:\n _j.sent();\n tablesLoader = [];\n for (_d = 0, _e = sheet.tables.items; _d < _e.length; _d++) {\n table = _e[_d];\n tablesLoader.push({\n name: table.name,\n showHeaders: table.showHeaders,\n showTotals: table.showTotals,\n style: table.style,\n showFilterButton: table.showFilterButton,\n range: table.getRange().load(\"address\"),\n dataBodyRange: table.getDataBodyRange().load(\"address\"),\n headerRowRange: table.showHeaders\n ? table.getHeaderRowRange().load(\"address\")\n : null,\n totalRowRange: table.showTotals\n ? table.getTotalRowRange().load(\"address\")\n : null,\n });\n }\n return [4 /*yield*/, context.sync()];\n case 2:\n _j.sent();\n for (_f = 0, tablesLoader_1 = tablesLoader; _f < tablesLoader_1.length; _f++) {\n table = tablesLoader_1[_f];\n tablesArray.push({\n name: table.name,\n range_address: table.range.address.split(\"!\").pop(),\n header_row_range_address: table.showHeaders\n ? table.headerRowRange.address.split(\"!\").pop()\n : null,\n data_body_range_address: table.dataBodyRange.address\n .split(\"!\")\n .pop(),\n total_row_range_address: table.showTotals\n ? table.totalRowRange.address.split(\"!\").pop()\n : null,\n show_headers: table.showHeaders,\n show_totals: table.showTotals,\n table_style: table.style,\n show_autofilter: table.showFilterButton,\n });\n }\n _j.label = 3;\n case 3:\n picturesArray = [];\n if (!!excludeArray.includes(item[\"sheet\"].name)) return [3 /*break*/, 5];\n shapes = sheet.shapes.load([\"name\", \"width\", \"height\", \"type\"]);\n return [4 /*yield*/, context.sync()];\n case 4:\n _j.sent();\n for (_g = 0, _h = sheet.shapes.items; _g < _h.length; _g++) {\n shape = _h[_g];\n if (shape.type == Excel.ShapeType.image) {\n picturesArray.push({\n name: shape.name,\n height: shape.height,\n width: shape.width,\n });\n }\n }\n _j.label = 5;\n case 5:\n payload[\"sheets\"].push({\n name: item[\"sheet\"].name,\n values: values,\n pictures: picturesArray,\n tables: tablesArray,\n });\n return [2 /*return*/];\n }\n });\n };\n _i = 0, sheetsLoader_1 = sheetsLoader;\n _c.label = 11;\n case 11:\n if (!(_i < sheetsLoader_1.length)) return [3 /*break*/, 14];\n item = sheetsLoader_1[_i];\n return [5 /*yield**/, _loop_1(item)];\n case 12:\n _c.sent();\n _c.label = 13;\n case 13:\n _i++;\n return [3 /*break*/, 11];\n case 14: return [4 /*yield*/, fetch(url, {\n method: \"POST\",\n headers: headers,\n body: JSON.stringify(payload),\n })];\n case 15:\n response = _c.sent();\n if (!(response.status !== 200)) return [3 /*break*/, 17];\n return [4 /*yield*/, response.text()];\n case 16: throw _c.sent();\n case 17: return [4 /*yield*/, response.json()];\n case 18:\n rawData = _c.sent();\n _c.label = 19;\n case 19:\n if (!(rawData !== null)) return [3 /*break*/, 23];\n forceSync = [\"sheet\"];\n _loop_2 = function (action) {\n return __generator(this, function (_k) {\n switch (_k.label) {\n case 0: return [4 /*yield*/, globalThis.callbacks[action.func](context, action)];\n case 1:\n _k.sent();\n if (!forceSync.some(function (el) { return action.func.toLowerCase().includes(el); })) return [3 /*break*/, 3];\n return [4 /*yield*/, context.sync()];\n case 2:\n _k.sent();\n _k.label = 3;\n case 3: return [2 /*return*/];\n }\n });\n };\n _a = 0, _b = rawData[\"actions\"];\n _c.label = 20;\n case 20:\n if (!(_a < _b.length)) return [3 /*break*/, 23];\n action = _b[_a];\n return [5 /*yield**/, _loop_2(action)];\n case 21:\n _c.sent();\n _c.label = 22;\n case 22:\n _a++;\n return [3 /*break*/, 20];\n case 23: return [2 /*return*/];\n }\n });\n }); })];\n case 3:\n _h.sent();\n return [3 /*break*/, 8];\n case 4:\n error_1 = _h.sent();\n console.error(error_1);\n if (!(errorDisplayMode === \"alert\")) return [3 /*break*/, 6];\n return [4 /*yield*/, xlAlert(error_1, \"Error\", \"ok\", \"critical\", \"\")];\n case 5:\n _h.sent();\n return [3 /*break*/, 7];\n case 6:\n globalErrorAlert = document.querySelector(\"#global-error-alert\");\n if (globalErrorAlert) {\n globalErrorAlert.classList.remove(\"d-none\");\n globalErrorAlert.querySelector(\"span\").textContent = error_1;\n }\n _h.label = 7;\n case 7: return [3 /*break*/, 8];\n case 8: return [2 /*return*/];\n }\n });\n });\n}\nfunction getRange(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n sheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n return [2 /*return*/, sheets.items[action[\"sheet_position\"]].getRangeByIndexes(action.start_row, action.start_column, action.row_count, action.column_count)];\n }\n });\n });\n}\nfunction getSheet(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n sheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n return [2 /*return*/, sheets.items[action.sheet_position]];\n }\n });\n });\n}\nfunction getTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheets, tables;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n sheets = context.workbook.worksheets.load(\"items\");\n tables = sheets.items[action.sheet_position].tables.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n return [2 /*return*/, tables.items[parseInt(action.args[0].toString())]];\n }\n });\n });\n}\nfunction getShapeByType(context, sheetPosition, shapeIndex, shapeType) {\n return __awaiter(this, void 0, void 0, function () {\n var sheets, shapes, myshapes;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n sheets = context.workbook.worksheets.load(\"items\");\n shapes = sheets.items[sheetPosition].shapes.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n myshapes = shapes.items.filter(function (shape) { return shape.type === shapeType; });\n return [2 /*return*/, myshapes[shapeIndex]];\n }\n });\n });\n}\nexport function registerCallback(callback) {\n globalThis.callbacks[callback.name] = callback;\n}\n// Functions map\n// Didn't find a way to use registerCallback so that webpack won't strip out these\n// functions when optimizing\nvar funcs = {\n setValues: setValues,\n addSheet: addSheet,\n setSheetName: setSheetName,\n setAutofit: setAutofit,\n setRangeColor: setRangeColor,\n activateSheet: activateSheet,\n addHyperlink: addHyperlink,\n setNumberFormat: setNumberFormat,\n setPictureName: setPictureName,\n setPictureWidth: setPictureWidth,\n setPictureHeight: setPictureHeight,\n deletePicture: deletePicture,\n addPicture: addPicture,\n updatePicture: updatePicture,\n alert: alert,\n setRangeName: setRangeName,\n namesAdd: namesAdd,\n nameDelete: nameDelete,\n runMacro: runMacro,\n rangeDelete: rangeDelete,\n rangeInsert: rangeInsert,\n rangeSelect: rangeSelect,\n rangeClearContents: rangeClearContents,\n rangeClearFormats: rangeClearFormats,\n rangeGroup: rangeGroup,\n rangeUngroup: rangeUngroup,\n rangeClear: rangeClear,\n rangeAdjustIndent: rangeAdjustIndent,\n addTable: addTable,\n setTableName: setTableName,\n resizeTable: resizeTable,\n showAutofilterTable: showAutofilterTable,\n showHeadersTable: showHeadersTable,\n showTotalsTable: showTotalsTable,\n setTableStyle: setTableStyle,\n copyRange: copyRange,\n sheetDelete: sheetDelete,\n sheetClear: sheetClear,\n sheetClearFormats: sheetClearFormats,\n sheetClearContents: sheetClearContents,\n freezePaneAtRange: freezePaneAtRange,\n freezePaneUnfreeze: freezePaneUnfreeze,\n};\nObject.assign(globalThis.callbacks, funcs);\n// Callbacks\nfunction setValues(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var dt, dtString, range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n action.values.forEach(function (valueRow, rowIndex) {\n valueRow.forEach(function (value, colIndex) {\n if (typeof value === \"string\" &&\n value.length > 18 &&\n value.includes(\"T\")) {\n dt = new Date(Date.parse(value));\n // Excel on macOS does use the wrong locale if you set a custom one via\n // macOS Settings > Date & Time > Open Language & Region > Apps\n // as the date format seems to stick to the Region selected under General\n // while toLocaleDateString then respects the specific selected language.\n // Providing Office.context.contentLanguage fixes this but isn't available for\n // Office Scripts\n // https://learn.microsoft.com/en-us/office/dev/add-ins/develop/localization#match-datetime-format-with-client-locale\n dtString = dt.toLocaleDateString(Office.context.contentLanguage);\n // Note that adding the time will format the cell as Custom instead of Date/Time\n // which xlwings currently doesn't translate to datetime when reading\n if (dtString !== \"Invalid Date\") {\n if (dt.getHours() +\n dt.getMinutes() +\n dt.getSeconds() +\n dt.getMilliseconds() !==\n 0) {\n dtString += \" \" + dt.toLocaleTimeString();\n }\n action.values[rowIndex][colIndex] = dtString;\n }\n }\n });\n });\n return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.values = action.values;\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeClearContents(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.clear(Excel.ClearApplyTo.contents);\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeClearFormats(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.clear(Excel.ClearApplyTo.formats);\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeClear(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.clear(Excel.ClearApplyTo.all);\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction addSheet(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheet;\n return __generator(this, function (_a) {\n if (action.args[1] !== null) {\n sheet = context.workbook.worksheets.add(action.args[1].toString());\n }\n else {\n sheet = context.workbook.worksheets.add();\n }\n sheet.position = parseInt(action.args[0].toString());\n return [2 /*return*/];\n });\n });\n}\nfunction setSheetName(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheets;\n return __generator(this, function (_a) {\n sheets = context.workbook.worksheets.load(\"items\");\n sheets.items[action.sheet_position].name = action.args[0].toString();\n return [2 /*return*/];\n });\n });\n}\nfunction setAutofit(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range, range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (!(action.args[0] === \"columns\")) return [3 /*break*/, 2];\n return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.format.autofitColumns();\n return [3 /*break*/, 4];\n case 2: return [4 /*yield*/, getRange(context, action)];\n case 3:\n range = _a.sent();\n range.format.autofitRows();\n _a.label = 4;\n case 4: return [2 /*return*/];\n }\n });\n });\n}\nfunction setRangeColor(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.format.fill.color = action.args[0].toString();\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction activateSheet(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets;\n worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n worksheets.items[parseInt(action.args[0].toString())].activate();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction addHyperlink(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range, hyperlink;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n hyperlink = {\n textToDisplay: action.args[1].toString(),\n screenTip: action.args[2].toString(),\n address: action.args[0].toString(),\n };\n range.hyperlink = hyperlink;\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setNumberFormat(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.numberFormat = [[action.args[0].toString()]];\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setPictureName(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myshape;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getShapeByType(context, action.sheet_position, Number(action.args[0]), Excel.ShapeType.image)];\n case 1:\n myshape = _a.sent();\n myshape.name = action.args[1].toString();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setPictureHeight(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myshape;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getShapeByType(context, action.sheet_position, Number(action.args[0]), Excel.ShapeType.image)];\n case 1:\n myshape = _a.sent();\n myshape.height = Number(action.args[1]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setPictureWidth(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myshape;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getShapeByType(context, action.sheet_position, Number(action.args[0]), Excel.ShapeType.image)];\n case 1:\n myshape = _a.sent();\n myshape.width = Number(action.args[1]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction deletePicture(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myshape;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getShapeByType(context, action.sheet_position, Number(action.args[0]), Excel.ShapeType.image)];\n case 1:\n myshape = _a.sent();\n myshape.delete();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction addPicture(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var imageBase64, colIndex, rowIndex, left, top, sheet, anchorCell, image;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n imageBase64 = action[\"args\"][0].toString();\n colIndex = Number(action[\"args\"][1]);\n rowIndex = Number(action[\"args\"][2]);\n left = Number(action[\"args\"][3]);\n top = Number(action[\"args\"][4]);\n return [4 /*yield*/, getSheet(context, action)];\n case 1:\n sheet = _a.sent();\n anchorCell = sheet\n .getRangeByIndexes(rowIndex, colIndex, 1, 1)\n .load(\"left, top\");\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n left = Math.max(left, anchorCell.left);\n top = Math.max(top, anchorCell.top);\n image = sheet.shapes.addImage(imageBase64);\n image.left = left;\n image.top = top;\n return [2 /*return*/];\n }\n });\n });\n}\nfunction updatePicture(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var imageBase64, sheet, image, imgName, imgLeft, imgTop, imgHeight, imgWidth, newImage;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n imageBase64 = action[\"args\"][0].toString();\n return [4 /*yield*/, getSheet(context, action)];\n case 1:\n sheet = _a.sent();\n return [4 /*yield*/, getShapeByType(context, action.sheet_position, Number(action.args[1]), Excel.ShapeType.image)];\n case 2:\n image = _a.sent();\n image = image.load(\"name, left, top, height, width\");\n return [4 /*yield*/, context.sync()];\n case 3:\n _a.sent();\n imgName = image.name;\n imgLeft = image.left;\n imgTop = image.top;\n imgHeight = image.height;\n imgWidth = image.width;\n image.delete();\n newImage = sheet.shapes.addImage(imageBase64);\n newImage.name = imgName;\n newImage.left = imgLeft;\n newImage.top = imgTop;\n newImage.height = imgHeight;\n newImage.width = imgWidth;\n return [2 /*return*/];\n }\n });\n });\n}\nfunction alert(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myPrompt, myTitle, myButtons, myMode, myCallback;\n return __generator(this, function (_a) {\n myPrompt = action.args[0].toString();\n myTitle = action.args[1].toString();\n myButtons = action.args[2].toString();\n myMode = action.args[3].toString();\n myCallback = action.args[4].toString();\n xlAlert(myPrompt, myTitle, myButtons, myMode, myCallback);\n return [2 /*return*/];\n });\n });\n}\nfunction setRangeName(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n context.workbook.names.add(action.args[0].toString(), range);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction namesAdd(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var name, refersTo, sheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n name = action.args[0].toString();\n refersTo = action.args[1].toString();\n if (!(action.sheet_position === null)) return [3 /*break*/, 1];\n context.workbook.names.add(name, refersTo);\n return [3 /*break*/, 3];\n case 1:\n sheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n sheets.items[action.sheet_position].names.add(name, refersTo);\n _a.label = 3;\n case 3: return [2 /*return*/];\n }\n });\n });\n}\nfunction nameDelete(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var name, book_scope, scope_sheet_index, sheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n name = action.args[2].toString();\n book_scope = Boolean(action.args[4]);\n scope_sheet_index = Number(action.args[5]);\n if (!(book_scope === true)) return [3 /*break*/, 1];\n context.workbook.names.getItem(name).delete();\n return [3 /*break*/, 3];\n case 1:\n sheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 2:\n _a.sent();\n sheets.items[scope_sheet_index].names.getItem(name).delete();\n _a.label = 3;\n case 3: return [2 /*return*/];\n }\n });\n });\n}\nfunction runMacro(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var _a;\n return __generator(this, function (_b) {\n switch (_b.label) {\n case 0: return [4 /*yield*/, (_a = globalThis.callbacks)[action.args[0].toString()].apply(_a, __spreadArray([context], action.args.slice(1), false))];\n case 1:\n _b.sent();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeDelete(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range, shift;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n shift = action.args[0].toString();\n if (shift === \"up\") {\n range.delete(Excel.DeleteShiftDirection.up);\n }\n else if (shift === \"left\") {\n range.delete(Excel.DeleteShiftDirection.left);\n }\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeInsert(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range, shift;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n shift = action.args[0].toString();\n if (shift === \"down\") {\n range.insert(Excel.InsertShiftDirection.down);\n }\n else if (shift === \"right\") {\n range.insert(Excel.InsertShiftDirection.right);\n }\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeSelect(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.select();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction addTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets, mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n mytable = worksheets.items[action.sheet_position].tables.add(action.args[0].toString(), Boolean(action.args[1]));\n if (action.args[2] !== null) {\n mytable.style = action.args[2].toString();\n }\n if (action.args[3] !== null) {\n mytable.name = action.args[3].toString();\n }\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setTableName(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.name = action.args[1].toString();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction resizeTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.resize(action.args[1].toString());\n return [2 /*return*/];\n }\n });\n });\n}\nfunction showAutofilterTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.showFilterButton = Boolean(action.args[1]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction showHeadersTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.showHeaders = Boolean(action.args[1]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction showTotalsTable(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.showTotals = Boolean(action.args[1]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction setTableStyle(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var mytable;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getTable(context, action)];\n case 1:\n mytable = _a.sent();\n mytable.style = action.args[1].toString();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction copyRange(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var destination, _a, _b;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n destination = context.workbook.worksheets.items[parseInt(action.args[0].toString())].getRange(action.args[1].toString());\n _b = (_a = destination).copyFrom;\n return [4 /*yield*/, getRange(context, action)];\n case 1:\n _b.apply(_a, [_c.sent()]);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction sheetDelete(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n worksheets.items[action.sheet_position].delete();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction sheetClear(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n worksheets.items[action.sheet_position]\n .getRanges()\n .clear(Excel.ClearApplyTo.all);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction sheetClearFormats(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n worksheets.items[action.sheet_position]\n .getRanges()\n .clear(Excel.ClearApplyTo.formats);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction sheetClearContents(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var worksheets;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n worksheets = context.workbook.worksheets.load(\"items\");\n return [4 /*yield*/, context.sync()];\n case 1:\n _a.sent();\n worksheets.items[action.sheet_position]\n .getRanges()\n .clear(Excel.ClearApplyTo.contents);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeGroup(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myrange;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n myrange = _a.sent();\n if (action.args[0].toString() == \"columns\") {\n myrange.group(Excel.GroupOption.byColumns);\n }\n else {\n myrange.group(Excel.GroupOption.byRows);\n }\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeUngroup(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var myrange;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n myrange = _a.sent();\n if (action.args[0].toString() == \"columns\") {\n myrange.ungroup(Excel.GroupOption.byColumns);\n }\n else {\n myrange.ungroup(Excel.GroupOption.byRows);\n }\n return [2 /*return*/];\n }\n });\n });\n}\nfunction freezePaneAtRange(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheet, range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getSheet(context, action)];\n case 1:\n sheet = _a.sent();\n range = sheet.getRange(action.args[0].toString());\n sheet.freezePanes.freezeAt(range);\n return [2 /*return*/];\n }\n });\n });\n}\nfunction freezePaneUnfreeze(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var sheet;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getSheet(context, action)];\n case 1:\n sheet = _a.sent();\n sheet.freezePanes.unfreeze();\n return [2 /*return*/];\n }\n });\n });\n}\nfunction rangeAdjustIndent(context, action) {\n return __awaiter(this, void 0, void 0, function () {\n var range;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0: return [4 /*yield*/, getRange(context, action)];\n case 1:\n range = _a.sent();\n range.format.adjustIndent(parseInt(action.args[0].toString()));\n return [2 /*return*/];\n }\n });\n });\n}\n"],"names":["parent","module","exports","entryUnbind","path","Object","assign","isCallable","tryToString","$TypeError","TypeError","argument","wellKnownSymbol","create","defineProperty","UNSCOPABLES","ArrayPrototype","Array","prototype","undefined","configurable","value","key","isObject","$String","String","toIndexedObject","toAbsoluteIndex","lengthOfArrayLike","createMethod","IS_INCLUDES","$this","el","fromIndex","O","length","index","includes","indexOf","uncurryThis","toString","stringSlice","slice","it","hasOwn","ownKeys","getOwnPropertyDescriptorModule","definePropertyModule","target","source","exceptions","keys","f","getOwnPropertyDescriptor","i","DESCRIPTORS","createPropertyDescriptor","object","bitmap","enumerable","writable","makeBuiltIn","name","descriptor","get","getter","set","setter","defineGlobalProperty","options","simple","global","unsafe","error","nonConfigurable","nonWritable","globalThis","fails","document","EXISTS","createElement","CONSTRUCTOR","METHOD","navigator","userAgent","match","version","process","Deno","versions","v8","split","createNonEnumerableProperty","defineBuiltIn","copyConstructorProperties","isForced","targetProperty","sourceProperty","TARGET","GLOBAL","STATIC","stat","dontCallGetSet","forced","sham","exec","test","bind","hasOwnProperty","NATIVE_BIND","call","Function","apply","arguments","FunctionPrototype","getDescriptor","PROPER","CONFIGURABLE","uncurryThisWithBind","fn","namespace","method","aCallable","isNullOrUndefined","V","P","func","check","Math","window","self","g","this","toObject","getBuiltIn","a","classof","$Object","propertyIsEnumerable","store","functionToString","inspectSource","has","NATIVE_WEAK_MAP","shared","sharedKey","hiddenKeys","OBJECT_ALREADY_INITIALIZED","WeakMap","state","metadata","facade","STATE","enforce","getterFor","TYPE","type","documentAll","all","replacement","feature","detection","data","normalize","POLYFILL","NATIVE","string","replace","toLowerCase","isPrototypeOf","USE_SYMBOL_AS_UID","$Symbol","toLength","obj","CONFIGURABLE_FUNCTION_NAME","InternalStateModule","enforceInternalState","getInternalState","join","CONFIGURABLE_LENGTH","TEMPLATE","arity","constructor","ceil","floor","trunc","x","n","objectKeys","getOwnPropertySymbolsModule","propertyIsEnumerableModule","IndexedObject","$assign","concat","b","A","B","symbol","Symbol","alphabet","forEach","chr","T","argumentsLength","getOwnPropertySymbols","S","j","activeXDocument","anObject","definePropertiesModule","enumBugKeys","html","documentCreateElement","PROTOTYPE","SCRIPT","IE_PROTO","EmptyConstructor","scriptTag","content","LT","NullProtoObjectViaActiveX","write","close","temp","parentWindow","NullProtoObject","ActiveXObject","iframeDocument","iframe","JS","domain","style","display","appendChild","src","contentWindow","open","F","Properties","result","V8_PROTOTYPE_DEFINE_BUG","defineProperties","props","IE8_DOM_DEFINE","toPropertyKey","$defineProperty","$getOwnPropertyDescriptor","ENUMERABLE","WRITABLE","Attributes","current","internalObjectKeys","getOwnPropertyNames","push","names","$propertyIsEnumerable","NASHORN_BUG","input","pref","val","valueOf","getOwnPropertyNamesModule","uid","IS_PURE","SHARED","mode","copyright","license","V8_VERSION","toIntegerOrInfinity","max","min","integer","requireObjectCoercible","number","len","isSymbol","getMethod","ordinaryToPrimitive","TO_PRIMITIVE","exoticToPrim","toPrimitive","id","postfix","random","NATIVE_SYMBOL","iterator","WellKnownSymbolsStore","createWellKnownSymbol","withoutSetter","$","$includes","addToUnscopables","proto","FUNCTION_NAME_EXISTS","defineBuiltInAccessor","nameRE","regExpExec","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","__webpack_modules__","d","definition","o","e","prop","r","toStringTag","dialog","__awaiter","thisArg","_arguments","generator","Promise","resolve","reject","fulfilled","step","next","rejected","done","then","__generator","body","y","t","_","label","sent","trys","ops","Iterator","verb","v","op","pop","dialogCallback","asyncResult","status","Office","AsyncResultStatus","Failed","console","log","message","code","addEventHandler","EventType","DialogMessageReceived","processMessage","DialogEventReceived","processDialogEvent","arg","_a","selection","callback","callbacks","Error","xlAlert","prompt","title","buttons","width","height","appPathElement","appPath","onReady","context","platform","getElementById","JSON","parse","textContent","ui","displayDialogAsync","location","origin","encodeURIComponent","displayInIframe","accessToken","isRenewingToken","tokenLock","tokenExpiry","renewAccessToken","payload","base64","decodedPayload","error_1","token_error","auth","getAccessToken","allowSignInPrompt","allowConsentPrompt","atob","exp","Date","now","setTimeout","getActiveBookName","_this","Excel","run","workbook","load","sync","__assign","s","p","__spreadArray","to","from","pack","ar","l","init","querySelectorAll","element","addEventListener","event","globalErrorAlert","spinner","token","config","_b","querySelector","classList","add","setAttribute","className","getAuth","getAttribute","runPython","errorDisplayMode","removeChild","removeAttribute","url","_c","_d","include","_e","exclude","_f","headers","_g","_h","worksheets","sheets","configSheet","configRange","includeArray","excludeArray","property","activeSheet","namedItems","names2","sheetsLoader","namesSheetScope","namesSheetsScope2","_loop_1","_i","sheetsLoader_1","item","response","rawData","forceSync","_loop_2","action","items","getItemOrNullObject","isNullObject","getRange","getSurroundingRegion","values","map","trim","sheet","startsWith","substring","getActiveWorksheet","getSelectedRange","active_sheet_index","position","address","namedItem","ix","worksheet","range","scope_sheet_name","scope_sheet_index","book_scope","sheet_index","lastCell","getUsedRange","getLastCell","scope_sheet","categories_1","tablesArray","tablesLoader","tablesLoader_1","table","picturesArray","shape","_j","requirements","isSetSupported","numberFormatCategories","valueRow","rowIndex","categoryRow","colIndex","category","round","toISOString","tables","showHeaders","showTotals","showFilterButton","dataBodyRange","getDataBodyRange","headerRowRange","getHeaderRowRange","totalRowRange","getTotalRowRange","range_address","header_row_range_address","data_body_range_address","total_row_range_address","show_headers","show_totals","table_style","show_autofilter","shapes","ShapeType","image","pictures","fetch","stringify","text","json","_k","some","remove","getRangeByIndexes","start_row","start_column","row_count","column_count","getSheet","sheet_position","getTable","parseInt","args","getShapeByType","sheetPosition","shapeIndex","shapeType","filter","registerCallback","funcs","setValues","dt","dtString","toLocaleDateString","contentLanguage","getHours","getMinutes","getSeconds","getMilliseconds","toLocaleTimeString","addSheet","setSheetName","setAutofit","format","autofitColumns","autofitRows","setRangeColor","fill","color","activateSheet","activate","addHyperlink","hyperlink","textToDisplay","screenTip","setNumberFormat","numberFormat","setPictureName","Number","setPictureWidth","setPictureHeight","deletePicture","delete","addPicture","imageBase64","left","top","anchorCell","addImage","updatePicture","imgName","imgLeft","imgTop","imgHeight","imgWidth","newImage","alert","myPrompt","myTitle","myButtons","myMode","myCallback","setRangeName","namesAdd","refersTo","nameDelete","Boolean","getItem","runMacro","rangeDelete","shift","DeleteShiftDirection","up","rangeInsert","insert","InsertShiftDirection","down","right","rangeSelect","select","rangeClearContents","clear","ClearApplyTo","contents","rangeClearFormats","formats","rangeGroup","myrange","group","GroupOption","byColumns","byRows","rangeUngroup","ungroup","rangeClear","rangeAdjustIndent","adjustIndent","addTable","mytable","setTableName","resizeTable","resize","showAutofilterTable","showHeadersTable","showTotalsTable","setTableStyle","copyRange","destination","copyFrom","sheetDelete","sheetClear","getRanges","sheetClearFormats","sheetClearContents","freezePaneAtRange","freezePanes","freezeAt","freezePaneUnfreeze","unfreeze"],"sourceRoot":""} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 3786d9a..a867e09 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,13 +11,13 @@ "bootstrap-xlwings": "github:xlwings/bootstrap-xlwings#5.3.3-1", "htmx-ext-head-support": "2.0.2", "htmx-ext-loading-states": "2.0.0", - "htmx.org": "2.0.2", + "htmx.org": "2.0.3", "socket.io": "4.8.0", - "xlwings": "github:xlwings/xlwings#0.33.1" + "xlwings": "github:xlwings/xlwings#0.33.2" }, "devDependencies": { "@types/alpinejs": "3.13.10", - "@types/office-js": "1.0.432", + "@types/office-js": "1.0.434", "office-addin-lint": "2.3.5", "prettier": "3.3.3", "prettier-plugin-jinja-template": "2.0.0" @@ -211,30 +211,30 @@ } }, "node_modules/@types/node": { - "version": "22.7.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", - "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "dependencies": { "undici-types": "~6.19.2" } }, "node_modules/@types/office-js": { - "version": "1.0.432", - "resolved": "https://registry.npmjs.org/@types/office-js/-/office-js-1.0.432.tgz", - "integrity": "sha512-HjMWbTfcGsoB+498TJ/urYYrCEmIT5yqB9bzUCEud68txRnd40gdrdiNyxEd1vzM5C6S+JaDIXAMwRpya4tjjg==", + "version": "1.0.434", + "resolved": "https://registry.npmjs.org/@types/office-js/-/office-js-1.0.434.tgz", + "integrity": "sha512-6uv/UEaFxkorSbScKIMhXVhpfI0kKrnAejZiCXdQzI0xjdMn2ojkp/FuY8eRPqUu8mZqxijsunEhVY7qar5e4A==", "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.8.0.tgz", - "integrity": "sha512-wORFWjU30B2WJ/aXBfOm1LX9v9nyt9D3jsSOxC3cCaTQGCW5k4jNpmjFv3U7p/7s4yvdjHzwtv2Sd2dOyhjS0A==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.8.1.tgz", + "integrity": "sha512-xfvdgA8AP/vxHgtgU310+WBnLB4uJQ9XdyP17RebG26rLtDrQJV3ZYrcopX91GrHmMoH8bdSwMRh2a//TiJ1jQ==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.8.0", - "@typescript-eslint/type-utils": "8.8.0", - "@typescript-eslint/utils": "8.8.0", - "@typescript-eslint/visitor-keys": "8.8.0", + "@typescript-eslint/scope-manager": "8.8.1", + "@typescript-eslint/type-utils": "8.8.1", + "@typescript-eslint/utils": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", "graphemer": "^1.4.0", "ignore": "^5.3.1", "natural-compare": "^1.4.0", @@ -258,13 +258,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/scope-manager": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.0.tgz", - "integrity": "sha512-EL8eaGC6gx3jDd8GwEFEV091210U97J0jeEHrAYvIYosmEGet4wJ+g0SYmLu+oRiAwbSA5AVrt6DxLHfdd+bUg==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.1.tgz", + "integrity": "sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/visitor-keys": "8.8.0" + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -275,9 +275,9 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/types": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.0.tgz", - "integrity": "sha512-QJwc50hRCgBd/k12sTykOJbESe1RrzmX6COk8Y525C9l7oweZ+1lw9JiU56im7Amm8swlz00DRIlxMYLizr2Vw==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.1.tgz", + "integrity": "sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -288,13 +288,13 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.0.tgz", - "integrity": "sha512-ZaMJwc/0ckLz5DaAZ+pNLmHv8AMVGtfWxZe/x2JVEkD5LnmhWiQMMcYT7IY7gkdJuzJ9P14fRy28lUrlDSWYdw==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.1.tgz", + "integrity": "sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/visitor-keys": "8.8.0", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -316,15 +316,15 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/utils": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.8.0.tgz", - "integrity": "sha512-QE2MgfOTem00qrlPgyByaCHay9yb1+9BjnMFnSFkUKQfu7adBXDTnCAivURnuPPAG/qiB+kzKkZKmKfaMT0zVg==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.8.1.tgz", + "integrity": "sha512-/QkNJDbV0bdL7H7d0/y0qBbV2HTtf0TIyjSDTvvmQEzeVx8jEImEbLuOA4EsvE8gIgqMitns0ifb5uQhMj8d9w==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.8.0", - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/typescript-estree": "8.8.0" + "@typescript-eslint/scope-manager": "8.8.1", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/typescript-estree": "8.8.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -338,12 +338,12 @@ } }, "node_modules/@typescript-eslint/eslint-plugin/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.0.tgz", - "integrity": "sha512-8mq51Lx6Hpmd7HnA2fcHQo3YgfX1qbccxQOgZcb4tvasu//zXRaA1j5ZRFeCw/VRAdFi4mRM9DnZw0Nu0Q2d1g==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.1.tgz", + "integrity": "sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/types": "8.8.1", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -379,15 +379,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.8.0.tgz", - "integrity": "sha512-uEFUsgR+tl8GmzmLjRqz+VrDv4eoaMqMXW7ruXfgThaAShO9JTciKpEsB+TvnfFfbg5IpujgMXVV36gOJRLtZg==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.8.1.tgz", + "integrity": "sha512-hQUVn2Lij2NAxVFEdvIGxT9gP1tq2yM83m+by3whWFsWC+1y8pxxxHUFE1UqDu2VsGi2i6RLcv4QvouM84U+ow==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.8.0", - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/typescript-estree": "8.8.0", - "@typescript-eslint/visitor-keys": "8.8.0", + "@typescript-eslint/scope-manager": "8.8.1", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/typescript-estree": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", "debug": "^4.3.4" }, "engines": { @@ -407,13 +407,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/scope-manager": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.0.tgz", - "integrity": "sha512-EL8eaGC6gx3jDd8GwEFEV091210U97J0jeEHrAYvIYosmEGet4wJ+g0SYmLu+oRiAwbSA5AVrt6DxLHfdd+bUg==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.1.tgz", + "integrity": "sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/visitor-keys": "8.8.0" + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -424,9 +424,9 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/types": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.0.tgz", - "integrity": "sha512-QJwc50hRCgBd/k12sTykOJbESe1RrzmX6COk8Y525C9l7oweZ+1lw9JiU56im7Amm8swlz00DRIlxMYLizr2Vw==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.1.tgz", + "integrity": "sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -437,13 +437,13 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.0.tgz", - "integrity": "sha512-ZaMJwc/0ckLz5DaAZ+pNLmHv8AMVGtfWxZe/x2JVEkD5LnmhWiQMMcYT7IY7gkdJuzJ9P14fRy28lUrlDSWYdw==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.1.tgz", + "integrity": "sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/visitor-keys": "8.8.0", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -465,12 +465,12 @@ } }, "node_modules/@typescript-eslint/parser/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.0.tgz", - "integrity": "sha512-8mq51Lx6Hpmd7HnA2fcHQo3YgfX1qbccxQOgZcb4tvasu//zXRaA1j5ZRFeCw/VRAdFi4mRM9DnZw0Nu0Q2d1g==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.1.tgz", + "integrity": "sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/types": "8.8.1", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -548,13 +548,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.8.0.tgz", - "integrity": "sha512-IKwJSS7bCqyCeG4NVGxnOP6lLT9Okc3Zj8hLO96bpMkJab+10HIfJbMouLrlpyOr3yrQ1cA413YPFiGd1mW9/Q==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.8.1.tgz", + "integrity": "sha512-qSVnpcbLP8CALORf0za+vjLYj1Wp8HSoiI8zYU5tHxRVj30702Z1Yw4cLwfNKhTPWp5+P+k1pjmD5Zd1nhxiZA==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "8.8.0", - "@typescript-eslint/utils": "8.8.0", + "@typescript-eslint/typescript-estree": "8.8.1", + "@typescript-eslint/utils": "8.8.1", "debug": "^4.3.4", "ts-api-utils": "^1.3.0" }, @@ -572,13 +572,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/scope-manager": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.0.tgz", - "integrity": "sha512-EL8eaGC6gx3jDd8GwEFEV091210U97J0jeEHrAYvIYosmEGet4wJ+g0SYmLu+oRiAwbSA5AVrt6DxLHfdd+bUg==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.1.tgz", + "integrity": "sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/visitor-keys": "8.8.0" + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -589,9 +589,9 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/types": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.0.tgz", - "integrity": "sha512-QJwc50hRCgBd/k12sTykOJbESe1RrzmX6COk8Y525C9l7oweZ+1lw9JiU56im7Amm8swlz00DRIlxMYLizr2Vw==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.1.tgz", + "integrity": "sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -602,13 +602,13 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.0.tgz", - "integrity": "sha512-ZaMJwc/0ckLz5DaAZ+pNLmHv8AMVGtfWxZe/x2JVEkD5LnmhWiQMMcYT7IY7gkdJuzJ9P14fRy28lUrlDSWYdw==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.1.tgz", + "integrity": "sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/visitor-keys": "8.8.0", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -630,15 +630,15 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/utils": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.8.0.tgz", - "integrity": "sha512-QE2MgfOTem00qrlPgyByaCHay9yb1+9BjnMFnSFkUKQfu7adBXDTnCAivURnuPPAG/qiB+kzKkZKmKfaMT0zVg==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.8.1.tgz", + "integrity": "sha512-/QkNJDbV0bdL7H7d0/y0qBbV2HTtf0TIyjSDTvvmQEzeVx8jEImEbLuOA4EsvE8gIgqMitns0ifb5uQhMj8d9w==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.8.0", - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/typescript-estree": "8.8.0" + "@typescript-eslint/scope-manager": "8.8.1", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/typescript-estree": "8.8.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -652,12 +652,12 @@ } }, "node_modules/@typescript-eslint/type-utils/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.0.tgz", - "integrity": "sha512-8mq51Lx6Hpmd7HnA2fcHQo3YgfX1qbccxQOgZcb4tvasu//zXRaA1j5ZRFeCw/VRAdFi4mRM9DnZw0Nu0Q2d1g==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.1.tgz", + "integrity": "sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/types": "8.8.1", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -1267,9 +1267,9 @@ } }, "node_modules/cookie": { - "version": "0.4.2", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz", - "integrity": "sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.2.tgz", + "integrity": "sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==", "engines": { "node": ">= 0.6" } @@ -1468,16 +1468,16 @@ } }, "node_modules/engine.io": { - "version": "6.6.1", - "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.1.tgz", - "integrity": "sha512-NEpDCw9hrvBW+hVEOK4T7v0jFJ++KgtPl4jKFwsZVfG1XhS0dCrSb3VMb9gPAd7VAdW52VT1EnaNiU2vM8C0og==", + "version": "6.6.2", + "resolved": "https://registry.npmjs.org/engine.io/-/engine.io-6.6.2.tgz", + "integrity": "sha512-gmNvsYi9C8iErnZdVcJnvCpSKbWTt1E8+JZo8b+daLninywUWi5NQ5STSHZ9rFjFO7imNcvb8Pc5pe/wMR5xEw==", "dependencies": { "@types/cookie": "^0.4.1", "@types/cors": "^2.8.12", "@types/node": ">=10.0.0", "accepts": "~1.3.4", "base64id": "2.0.0", - "cookie": "~0.4.1", + "cookie": "~0.7.2", "cors": "~2.8.5", "debug": "~4.3.1", "engine.io-parser": "~5.2.1", @@ -1577,9 +1577,9 @@ } }, "node_modules/es-iterator-helpers": { - "version": "1.0.19", - "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz", - "integrity": "sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.1.0.tgz", + "integrity": "sha512-/SurEfycdyssORP/E+bj4sEu1CWw4EmLDsHynHwSXQ7utgbrMRWW195pTrCjFgFCddf/UkYm3oqKPRq5i8bJbw==", "dev": true, "dependencies": { "call-bind": "^1.0.7", @@ -1589,12 +1589,12 @@ "es-set-tostringtag": "^2.0.3", "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", - "globalthis": "^1.0.3", + "globalthis": "^1.0.4", "has-property-descriptors": "^1.0.2", "has-proto": "^1.0.3", "has-symbols": "^1.0.3", "internal-slot": "^1.0.7", - "iterator.prototype": "^1.1.2", + "iterator.prototype": "^1.1.3", "safe-array-concat": "^1.1.2" }, "engines": { @@ -1669,6 +1669,7 @@ "version": "8.57.1", "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", @@ -1899,9 +1900,9 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.37.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.0.tgz", - "integrity": "sha512-IHBePmfWH5lKhJnJ7WB1V+v/GolbB0rjS8XYVCSQCZKaQCAUhMoVoOEn1Ef8Z8Wf0a7l8KTJvuZg5/e4qrZ6nA==", + "version": "7.37.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.1.tgz", + "integrity": "sha512-xwTnwDqzbDRA8uJ7BMxPs/EXRB3i8ZfnOIp8BsxEQkT0nHPp+WWceqGgo6rKb9ctNi8GJLDT4Go5HAWELa/WMg==", "dev": true, "dependencies": { "array-includes": "^3.1.8", @@ -2458,9 +2459,9 @@ "integrity": "sha512-IpkYmfl+pzX06dsc4XlL6qozDQSxBCLhWjgBCVV3psRL9xfUPMuz19Dbh5RLdupHnUHWZZzb8IX5oQU5YbVbHQ==" }, "node_modules/htmx.org": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/htmx.org/-/htmx.org-2.0.2.tgz", - "integrity": "sha512-eUPIpQaWKKstX393XNCRCMJTrqPzikh36Y9RceqsUZLTtlFjFaVDgwZLUsrFk8J2uzZxkkfiy0TE359j2eN6hA==" + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/htmx.org/-/htmx.org-2.0.3.tgz", + "integrity": "sha512-AeoJUAjkCVVajbfKX+3sVQBTCt8Ct4lif1T+z/tptTXo8+8yyq3QIMQQe/IT+R8ssfrO1I0DeX4CAronzCL6oA==" }, "node_modules/ignore": { "version": "5.3.2", @@ -2889,9 +2890,9 @@ "dev": true }, "node_modules/iterator.prototype": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz", - "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.3.tgz", + "integrity": "sha512-FW5iMbeQ6rBGm/oKgzq2aW4KvAGpxPzYES8N4g4xNXUKpL1mclMvOe+76AcLDTvD+Ze+sOpVhgdAQEKF4L9iGQ==", "dev": true, "dependencies": { "define-properties": "^1.2.1", @@ -2899,6 +2900,9 @@ "has-symbols": "^1.0.3", "reflect.getprototypeof": "^1.0.4", "set-function-name": "^2.0.1" + }, + "engines": { + "node": ">= 0.4" } }, "node_modules/js-tokens": { @@ -3469,15 +3473,15 @@ } }, "node_modules/regexp.prototype.flags": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", - "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz", + "integrity": "sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.6", + "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-errors": "^1.3.0", - "set-function-name": "^2.0.1" + "set-function-name": "^2.0.2" }, "engines": { "node": ">= 0.4" @@ -3881,9 +3885,9 @@ } }, "node_modules/synckit": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.1.tgz", - "integrity": "sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==", + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.9.2.tgz", + "integrity": "sha512-vrozgXDQwYO72vHjUb/HnFbQx1exDjoKzqx23aXEg2a9VIg2TSFZ8FmeZpTjUCFMYw7mpX4BE2SFu8wI7asYsw==", "dev": true, "dependencies": { "@pkgr/core": "^0.1.0", @@ -4030,9 +4034,9 @@ } }, "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.6.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.3.tgz", + "integrity": "sha512-hjcS1mhfuyi4WW8IWtjP7brDrG2cuDZukyrYrSauoXGNgx0S7zceP07adYkJycEr56BOUTNPzbInooiN3fn1qw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -4043,14 +4047,14 @@ } }, "node_modules/typescript-eslint": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.8.0.tgz", - "integrity": "sha512-BjIT/VwJ8+0rVO01ZQ2ZVnjE1svFBiRczcpr1t1Yxt7sT25VSbPfrJtDsQ8uQTy2pilX5nI9gwxhUyLULNentw==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.8.1.tgz", + "integrity": "sha512-R0dsXFt6t4SAFjUSKFjMh4pXDtq04SsFKCVGDP3ZOzNP7itF0jBcZYU4fMsZr4y7O7V7Nc751dDeESbe4PbQMQ==", "dev": true, "dependencies": { - "@typescript-eslint/eslint-plugin": "8.8.0", - "@typescript-eslint/parser": "8.8.0", - "@typescript-eslint/utils": "8.8.0" + "@typescript-eslint/eslint-plugin": "8.8.1", + "@typescript-eslint/parser": "8.8.1", + "@typescript-eslint/utils": "8.8.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4066,13 +4070,13 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/scope-manager": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.0.tgz", - "integrity": "sha512-EL8eaGC6gx3jDd8GwEFEV091210U97J0jeEHrAYvIYosmEGet4wJ+g0SYmLu+oRiAwbSA5AVrt6DxLHfdd+bUg==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.8.1.tgz", + "integrity": "sha512-X4JdU+66Mazev/J0gfXlcC/dV6JI37h+93W9BRYXrSn0hrE64IoWgVkO9MSJgEzoWkxONgaQpICWg8vAN74wlA==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/visitor-keys": "8.8.0" + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4083,9 +4087,9 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/types": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.0.tgz", - "integrity": "sha512-QJwc50hRCgBd/k12sTykOJbESe1RrzmX6COk8Y525C9l7oweZ+1lw9JiU56im7Amm8swlz00DRIlxMYLizr2Vw==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.8.1.tgz", + "integrity": "sha512-WCcTP4SDXzMd23N27u66zTKMuEevH4uzU8C9jf0RO4E04yVHgQgW+r+TeVTNnO1KIfrL8ebgVVYYMMO3+jC55Q==", "dev": true, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4096,13 +4100,13 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/typescript-estree": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.0.tgz", - "integrity": "sha512-ZaMJwc/0ckLz5DaAZ+pNLmHv8AMVGtfWxZe/x2JVEkD5LnmhWiQMMcYT7IY7gkdJuzJ9P14fRy28lUrlDSWYdw==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.8.1.tgz", + "integrity": "sha512-A5d1R9p+X+1js4JogdNilDuuq+EHZdsH9MjTVxXOdVFfTJXunKJR/v+fNNyO4TnoOn5HqobzfRlc70NC6HTcdg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/visitor-keys": "8.8.0", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/visitor-keys": "8.8.1", "debug": "^4.3.4", "fast-glob": "^3.3.2", "is-glob": "^4.0.3", @@ -4124,15 +4128,15 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/utils": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.8.0.tgz", - "integrity": "sha512-QE2MgfOTem00qrlPgyByaCHay9yb1+9BjnMFnSFkUKQfu7adBXDTnCAivURnuPPAG/qiB+kzKkZKmKfaMT0zVg==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.8.1.tgz", + "integrity": "sha512-/QkNJDbV0bdL7H7d0/y0qBbV2HTtf0TIyjSDTvvmQEzeVx8jEImEbLuOA4EsvE8gIgqMitns0ifb5uQhMj8d9w==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.8.0", - "@typescript-eslint/types": "8.8.0", - "@typescript-eslint/typescript-estree": "8.8.0" + "@typescript-eslint/scope-manager": "8.8.1", + "@typescript-eslint/types": "8.8.1", + "@typescript-eslint/typescript-estree": "8.8.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -4146,12 +4150,12 @@ } }, "node_modules/typescript-eslint/node_modules/@typescript-eslint/visitor-keys": { - "version": "8.8.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.0.tgz", - "integrity": "sha512-8mq51Lx6Hpmd7HnA2fcHQo3YgfX1qbccxQOgZcb4tvasu//zXRaA1j5ZRFeCw/VRAdFi4mRM9DnZw0Nu0Q2d1g==", + "version": "8.8.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.8.1.tgz", + "integrity": "sha512-0/TdC3aeRAsW7MDvYRwEc1Uwm0TIBfzjPFgg60UU2Haj5qsCs9cc3zNgY71edqE3LbWfF/WoZQd3lJoDXFQpag==", "dev": true, "dependencies": { - "@typescript-eslint/types": "8.8.0", + "@typescript-eslint/types": "8.8.1", "eslint-visitor-keys": "^3.4.3" }, "engines": { @@ -4362,8 +4366,8 @@ } }, "node_modules/xlwings": { - "version": "0.33.1", - "resolved": "git+ssh://git@github.com/xlwings/xlwings.git#09a8d61ba83b08978ec1b624d2ab34acafbb9e7c", + "version": "0.33.2", + "resolved": "git+ssh://git@github.com/xlwings/xlwings.git#12b63f2ab75e7458d1076ee55ff7f227ba6ad391", "license": "LICENSE.txt" }, "node_modules/yocto-queue": { diff --git a/package.json b/package.json index ac0ce27..b4c2ec4 100644 --- a/package.json +++ b/package.json @@ -6,13 +6,13 @@ "bootstrap-xlwings": "github:xlwings/bootstrap-xlwings#5.3.3-1", "htmx-ext-head-support": "2.0.2", "htmx-ext-loading-states": "2.0.0", - "htmx.org": "2.0.2", + "htmx.org": "2.0.3", "socket.io": "4.8.0", - "xlwings": "github:xlwings/xlwings#0.33.1" + "xlwings": "github:xlwings/xlwings#0.33.2" }, "devDependencies": { "@types/alpinejs": "3.13.10", - "@types/office-js": "1.0.432", + "@types/office-js": "1.0.434", "office-addin-lint": "2.3.5", "prettier": "3.3.3", "prettier-plugin-jinja-template": "2.0.0" diff --git a/requirements-core.txt b/requirements-core.txt index e145af3..17e62b1 100644 --- a/requirements-core.txt +++ b/requirements-core.txt @@ -35,7 +35,7 @@ h11==0.14.0 # wsproto hiredis==3.0.0 # via -r requirements-core.in -httpcore==1.0.5 +httpcore==1.0.6 # via httpx httptools==0.6.1 # via -r requirements-core.in @@ -55,7 +55,7 @@ joserfc==1.0.0 # via -r requirements-core.in lxml==5.3.0 ; platform_system == 'Darwin' # via appscript -markupsafe==2.1.5 +markupsafe==3.0.1 # via jinja2 packaging==24.1 ; sys_platform != 'win32' # via gunicorn @@ -81,9 +81,9 @@ python-socketio==5.11.4 # via -r requirements-core.in pytz==2024.2 # via croniter -redis==5.1.0 +redis==5.1.1 # via -r requirements-core.in -simple-websocket==1.0.0 +simple-websocket==1.1.0 # via python-engineio six==1.16.0 # via python-dateutil @@ -98,13 +98,13 @@ typing-extensions==4.12.2 # fastapi-slim # pydantic # pydantic-core -uvicorn==0.31.0 +uvicorn==0.31.1 # via -r requirements-core.in uvloop==0.20.0 ; sys_platform != 'win32' # via -r requirements-core.in wsproto==1.2.0 # via simple-websocket -xlwings==0.33.1 +xlwings==0.33.2 # via -r requirements-core.in # The following packages were excluded from the output: diff --git a/requirements-dev.txt b/requirements-dev.txt index 39d16c5..fd0079f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -12,7 +12,7 @@ anyio==4.6.0 # httpx # starlette # watchfiles -azure-functions==1.21.1 ; sys_platform != 'win32' +azure-functions==1.21.3 ; sys_platform != 'win32' # via -r requirements.txt beautifulsoup4==4.12.3 # via -r requirements-dev.in @@ -46,7 +46,7 @@ cryptography==43.0.1 # via # -r requirements.txt # joserfc -distlib==0.3.8 +distlib==0.3.9 # via virtualenv fastapi-slim==0.115.0 # via -r requirements.txt @@ -62,7 +62,7 @@ h11==0.14.0 # wsproto hiredis==3.0.0 # via -r requirements.txt -httpcore==1.0.5 +httpcore==1.0.6 # via # -r requirements.txt # httpx @@ -91,7 +91,7 @@ lxml==5.3.0 ; platform_system == 'Darwin' # via # -r requirements.txt # appscript -markupsafe==2.1.5 +markupsafe==3.0.1 # via # -r requirements.txt # jinja2 @@ -112,7 +112,7 @@ platformdirs==4.3.6 # via virtualenv pluggy==1.5.0 # via pytest -pre-commit==3.8.0 +pre-commit==4.0.1 # via -r requirements-dev.in pycparser==2.22 ; platform_python_implementation != 'PyPy' # via @@ -159,9 +159,9 @@ pytz==2024.2 # pandas pyyaml==6.0.2 # via pre-commit -redis==5.1.0 +redis==5.1.1 # via -r requirements.txt -simple-websocket==1.0.0 +simple-websocket==1.1.0 # via # -r requirements.txt # python-engineio @@ -190,7 +190,7 @@ tzdata==2024.2 # via # -r requirements.txt # pandas -uvicorn==0.31.0 +uvicorn==0.31.1 # via -r requirements.txt uvloop==0.20.0 ; sys_platform != 'win32' # via -r requirements.txt @@ -202,7 +202,7 @@ wsproto==1.2.0 # via # -r requirements.txt # simple-websocket -xlwings==0.33.1 +xlwings==0.33.2 # via -r requirements.txt # The following packages were excluded from the output: diff --git a/requirements.txt b/requirements.txt index c41d26b..1d36a1d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ anyio==4.6.0 # -r requirements-core.txt # httpx # starlette -azure-functions==1.21.1 ; sys_platform != 'win32' +azure-functions==1.21.3 ; sys_platform != 'win32' # via -r requirements.in bidict==0.23.1 # via @@ -52,7 +52,7 @@ h11==0.14.0 # wsproto hiredis==3.0.0 # via -r requirements-core.txt -httpcore==1.0.5 +httpcore==1.0.6 # via # -r requirements-core.txt # httpx @@ -77,7 +77,7 @@ lxml==5.3.0 ; platform_system == 'Darwin' # via # -r requirements-core.txt # appscript -markupsafe==2.1.5 +markupsafe==3.0.1 # via # -r requirements-core.txt # jinja2 @@ -128,9 +128,9 @@ pytz==2024.2 # -r requirements-core.txt # croniter # pandas -redis==5.1.0 +redis==5.1.1 # via -r requirements-core.txt -simple-websocket==1.0.0 +simple-websocket==1.1.0 # via # -r requirements-core.txt # python-engineio @@ -155,7 +155,7 @@ typing-extensions==4.12.2 # pydantic-core tzdata==2024.2 # via pandas -uvicorn==0.31.0 +uvicorn==0.31.1 # via -r requirements-core.txt uvloop==0.20.0 ; sys_platform != 'win32' # via -r requirements-core.txt @@ -163,7 +163,7 @@ wsproto==1.2.0 # via # -r requirements-core.txt # simple-websocket -xlwings==0.33.1 +xlwings==0.33.2 # via -r requirements-core.txt # The following packages were excluded from the output: