From a4ef4358f5b97c26978b7714411ff2f9fc1741d5 Mon Sep 17 00:00:00 2001 From: Felix Zumstein Date: Tue, 20 Aug 2024 17:16:07 +0200 Subject: [PATCH] upgraded js deps --- .../htmx-ext-head-support/head-support.js | 2 +- .../xlwings/xlwingsjs/dist/xlwings.min.js | 2 +- .../xlwings/xlwingsjs/dist/xlwings.min.js.map | 2 +- package-lock.json | 28 +++++++++---------- package.json | 4 +-- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/app/static/vendor/htmx-ext-head-support/head-support.js b/app/static/vendor/htmx-ext-head-support/head-support.js index 67cfc692..d1cfd73c 100644 --- a/app/static/vendor/htmx-ext-head-support/head-support.js +++ b/app/static/vendor/htmx-ext-head-support/head-support.js @@ -1,7 +1,7 @@ //========================================================== // head-support.js // -// An extension to htmx 1.0 to add head tag merging. +// An extension to add head tag merging. //========================================================== (function(){ diff --git a/app/static/vendor/xlwings/xlwingsjs/dist/xlwings.min.js b/app/static/vendor/xlwings/xlwingsjs/dist/xlwings.min.js index 7b1917b2..482e5f9c 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 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(4475)},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)}},4576: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},7015:function(e,t,n){var r=n(4475),o=n(9504);e.exports=function(e,t){return o(r[e].prototype[t])}},8727:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:function(e,t,n){var r=n(4475),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(4475),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)}},4475: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(4576),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(4475),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(4475);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(4475),i=n(9433),s="__core-js_shared__",a=e.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.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(7388),o=n(9039),i=n(4475).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(4475),o=n(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},8227:function(e,t,n){var r=n(4475),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(4475);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 j}}),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,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)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 s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=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,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)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 s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=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(e){l.includes(e.name)||h.push(e.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=_,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=h.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;h.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){h.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,f,p,d,v,b;return O(this,(function(y){switch(y.label){case 0:return n=e.sheet,h.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=[],h.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}(); +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(4475)},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)}},4576: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},7015:function(e,t,n){var r=n(4475),o=n(9504);e.exports=function(e,t){return o(r[e].prototype[t])}},8727:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:function(e,t,n){var r=n(4475),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(4475),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)}},4475: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(4576),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(4475),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(4475);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(4475),i=n(9433),s="__core-js_shared__",a=e.exports=o[s]||i(s,{});(a.versions||(a.versions=[])).push({version:"3.37.1",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.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(7388),o=n(9039),i=n(4475).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(4475),o=n(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},8227:function(e,t,n){var r=n(4475),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(4475);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 j}}),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,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)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 s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=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,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(s=0)),s;)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 s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]0&&o[o.length-1])||6!==a[0]&&2!==a[0])){s=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(e){l.includes(e.name)||h.push(e.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=_,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=h.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;h.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){h.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,f,p,d,v,b;return O(this,(function(y){switch(y.label){case 0:return n=e.sheet,h.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=[],h.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 68bfeddd..451c69fd 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,EAAeE,EAAgBD,EAAa,CAC1CK,cAAc,EACdC,MAAOR,EAAO,QAKlBZ,EAAOC,QAAU,SAAUoB,GACzBN,EAAeD,GAAaO,IAAO,CACrC,C,uBCnBA,IAAIC,EAAW,EA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anE,EAAQmC,SAASgC,WAAW/B,KAAK,SACvC,CAAC,EAAapC,EAAQqC,QACjC,KAAK,EAKD,OAJAnD,EAAGxB,OACHyG,EAAWsB,MAAMD,EAAOkF,gBACnBiH,YACA9B,MAAM5N,MAAM6N,aAAaC,UACvB,CAAC,GAEpB,GACJ,GACJ,EAjqBI+B,kBAwsBJ,SAA2B9R,EAASwF,GAChC,OAAO,EAAUpU,UAAM,OAAQ,GAAQ,WACnC,IAAI6U,EAAOW,EACX,OAAO,EAAYxV,MAAM,SAAU8N,GAC/B,OAAQA,EAAGzB,OACP,KAAK,EAAG,MAAO,CAAC,EAAagN,EAASzK,EAASwF,IAC/C,KAAK,EAID,OAHAS,EAAQ/G,EAAGxB,OACXkJ,EAAQX,EAAML,SAASJ,EAAOqF,KAAK,GAAGrf,YACtCya,EAAM8L,YAAYC,SAASpL,GACpB,CAAC,GAEpB,GACJ,GACJ,EArtBIqL,mBAstBJ,SAA4BjS,EAASwF,GACjC,OAAO,EAAUpU,UAAM,OAAQ,GAAQ,WAEnC,OAAO,EAAYA,MAAM,SAAU8N,GAC/B,OAAQA,EAAGzB,OACP,KAAK,EAAG,MAAO,CAAC,EAAagN,EAASzK,EAASwF,IAC/C,KAAK,EAGD,OAFQtG,EAAGxB,OACLqU,YAAYG,WACX,CAAC,GAEpB,GACJ,GACJ,GAjuBA7oB,OAAOC,OAAO0H,WAAWqO,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/engine-user-agent.js","webpack://xlwings/./node_modules/core-js/internals/engine-v8-version.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/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.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');\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 global = require('../internals/global');\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(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[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 global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.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';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.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 global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (CONSTRUCTOR, METHOD) {\n return uncurryThis(global[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 global = require('../internals/global');\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 = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = global[TARGET] && global[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 global = require('../internals/global');\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(global[namespace]) : global[namespace] && global[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 global = require('../internals/global');\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 = global.TypeError;\nvar WeakMap = global.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 activeXDocument = null; // avoid memory leak\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 global = require('../internals/global');\n\nmodule.exports = global;\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');\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.37.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.37.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/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.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 global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar global = require('../internals/global');\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 = global.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 global = require('../internals/global');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({ global: true, forced: global.globalThis !== global }, {\n globalThis: global\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;\n return g = { next: verb(0), \"throw\": verb(1), \"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;\n return g = { next: verb(0), \"throw\": verb(1), \"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;\n return g = { next: verb(0), \"throw\": verb(1), \"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;\n return g = { next: verb(0), \"throw\": verb(1), \"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.32.0\";\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","fails","document","EXISTS","createElement","navigator","userAgent","match","version","process","Deno","versions","v8","split","CONSTRUCTOR","METHOD","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","globalThis","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","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,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AG,MAAO,CAAC,EAAagN,EAASzK,EAASwF,IAC/C,KAAK,EAGD,OAFQtG,EAAGxB,OACLqU,YAAYG,WACX,CAAC,GAEpB,GACJ,GACJ,GAjuBA7oB,OAAOC,OAAO0H,WAAWqO,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/engine-user-agent.js","webpack://xlwings/./node_modules/core-js/internals/engine-v8-version.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/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.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');\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 global = require('../internals/global');\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(global, key, { value: value, configurable: true, writable: true });\n } catch (error) {\n global[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 global = require('../internals/global');\nvar isObject = require('../internals/is-object');\n\nvar document = global.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';\nmodule.exports = typeof navigator != 'undefined' && String(navigator.userAgent) || '';\n","'use strict';\nvar global = require('../internals/global');\nvar userAgent = require('../internals/engine-user-agent');\n\nvar process = global.process;\nvar Deno = global.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 global = require('../internals/global');\nvar uncurryThis = require('../internals/function-uncurry-this');\n\nmodule.exports = function (CONSTRUCTOR, METHOD) {\n return uncurryThis(global[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 global = require('../internals/global');\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 = global;\n } else if (STATIC) {\n target = global[TARGET] || defineGlobalProperty(TARGET, {});\n } else {\n target = global[TARGET] && global[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 global = require('../internals/global');\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(global[namespace]) : global[namespace] && global[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 global = require('../internals/global');\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 = global.TypeError;\nvar WeakMap = global.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 activeXDocument = null; // avoid memory leak\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 global = require('../internals/global');\n\nmodule.exports = global;\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');\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.37.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.37.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/engine-v8-version');\nvar fails = require('../internals/fails');\nvar global = require('../internals/global');\n\nvar $String = global.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 global = require('../internals/global');\nvar isCallable = require('../internals/is-callable');\n\nvar WeakMap = global.WeakMap;\n\nmodule.exports = isCallable(WeakMap) && /native code/.test(String(WeakMap));\n","'use strict';\nvar global = require('../internals/global');\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 = global.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 global = require('../internals/global');\n\n// `globalThis` object\n// https://tc39.es/ecma262/#sec-globalthis\n$({ global: true, forced: global.globalThis !== global }, {\n globalThis: global\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;\n return g = { next: verb(0), \"throw\": verb(1), \"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;\n return g = { next: verb(0), \"throw\": verb(1), \"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;\n return g = { next: verb(0), \"throw\": verb(1), \"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;\n return g = { next: verb(0), \"throw\": verb(1), \"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.32.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","fails","document","EXISTS","createElement","navigator","userAgent","match","version","process","Deno","versions","v8","split","CONSTRUCTOR","METHOD","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","globalThis","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","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 diff --git a/package-lock.json b/package-lock.json index aa74db49..d21a64b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,11 +9,11 @@ "@microsoft/office-js": "1.1.93", "bootstrap": "5.3.3", "bootstrap-xlwings": "github:xlwings/bootstrap-xlwings#5.3.3-1", - "htmx-ext-head-support": "2.0.0", + "htmx-ext-head-support": "2.0.1", "htmx-ext-loading-states": "2.0.0", "htmx.org": "2.0.2", "socket.io": "4.7.5", - "xlwings": "github:xlwings/xlwings#0.32.0" + "xlwings": "github:xlwings/xlwings#0.32.1" }, "devDependencies": { "@types/alpinejs": "3.13.10", @@ -71,11 +71,11 @@ } }, "node_modules/@types/node": { - "version": "22.2.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.2.0.tgz", - "integrity": "sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ==", + "version": "22.4.1", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.4.1.tgz", + "integrity": "sha512-1tbpb9325+gPnKK0dMm+/LMriX0vKxf6RnB0SZUqfyVkQ4fMgUSySqhxE/y8Jvs4NyF1yHzTfG9KlnkIODxPKg==", "dependencies": { - "undici-types": "~6.13.0" + "undici-types": "~6.19.2" } }, "node_modules/@vue/reactivity": { @@ -202,9 +202,9 @@ } }, "node_modules/htmx-ext-head-support": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/htmx-ext-head-support/-/htmx-ext-head-support-2.0.0.tgz", - "integrity": "sha512-7ik5MHd8gY0QVlPPvKW8oFQFyUDQrU57OT3LGvS0ofYIfd+NKsoIqj/wxCXhFAKefqIUohGMAPYCUJtWCcorLg==" + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/htmx-ext-head-support/-/htmx-ext-head-support-2.0.1.tgz", + "integrity": "sha512-knVdv1o83j64B3qrUnNmVL1wz0sS/woKxSKmTr6rmJ5SOFIAXuxPA4nsBnzGWtcLBI/V9lnmJlZ2HE98u+Iv0A==" }, "node_modules/htmx-ext-loading-states": { "version": "2.0.0", @@ -319,9 +319,9 @@ } }, "node_modules/undici-types": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz", - "integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==" + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" }, "node_modules/vary": { "version": "1.1.2", @@ -352,8 +352,8 @@ } }, "node_modules/xlwings": { - "version": "0.32.0", - "resolved": "git+ssh://git@github.com/xlwings/xlwings.git#f6e791ac841e3e8f39f240e54b5b9f6a888f7f10", + "version": "0.32.1", + "resolved": "git+ssh://git@github.com/xlwings/xlwings.git#47aa6a612aa92861b7f71c047da6875465298af0", "license": "LICENSE.txt" } } diff --git a/package.json b/package.json index fe324165..70e99a99 100644 --- a/package.json +++ b/package.json @@ -4,11 +4,11 @@ "@microsoft/office-js": "1.1.93", "bootstrap": "5.3.3", "bootstrap-xlwings": "github:xlwings/bootstrap-xlwings#5.3.3-1", - "htmx-ext-head-support": "2.0.0", + "htmx-ext-head-support": "2.0.1", "htmx-ext-loading-states": "2.0.0", "htmx.org": "2.0.2", "socket.io": "4.7.5", - "xlwings": "github:xlwings/xlwings#0.32.0" + "xlwings": "github:xlwings/xlwings#0.32.1" }, "devDependencies": { "@types/alpinejs": "3.13.10",